JP2004179907A - Equipment control system, control unit, branch unit, and addressing device - Google Patents

Equipment control system, control unit, branch unit, and addressing device Download PDF

Info

Publication number
JP2004179907A
JP2004179907A JP2002342850A JP2002342850A JP2004179907A JP 2004179907 A JP2004179907 A JP 2004179907A JP 2002342850 A JP2002342850 A JP 2002342850A JP 2002342850 A JP2002342850 A JP 2002342850A JP 2004179907 A JP2004179907 A JP 2004179907A
Authority
JP
Japan
Prior art keywords
control unit
address
unit
matrix
signal
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.)
Pending
Application number
JP2002342850A
Other languages
Japanese (ja)
Inventor
Kazunari Morita
一成 森田
Masaya Sugino
雅哉 杉野
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2002342850A priority Critical patent/JP2004179907A/en
Publication of JP2004179907A publication Critical patent/JP2004179907A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control unit that has an address in a matrix form and controls an apparatus and a branch unit that branches a transmission line both of which are used for an apparatus control system for controlling a plurality of apparatuses, to provide an addressing device that allocates addresses in a matrix form to those units, and to provide an apparatus control system equipped with them. <P>SOLUTION: In the apparatus control system equipped with a plurality of control units 12 that control the operation states of apparatuses and are connected to the transmission line 29 in a mutually communicable state, each control unit 12 defines a coordinate system consisting of coordinates in mutually independent row and column directions on a plane and represents, in the matrix format, row-direction values and column-direction values of points obtained by projecting the arrangement positions of the control units 12 on a plane and is equipped with a storage part which stores the addresses represented in the matrix form as addresses of the control units 12. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、オフィスビル等のフロアにおける複数の機器を制御する機器制御システムに用いられる、行列形式のアドレスを持ち機器を制御する制御ユニット、行列形式のアドレスを持ち伝送路を分岐する分岐ユニット、これら制御ユニット及び分岐ユニットに行列形式のアドレスを割り振るアドレッシング装置に関する。そして、これらを備える機器制御システムに関する。
【0002】
【従来の技術】
照明器具や空調設備等の機器は、充分な明るさを確保したり、快適な温度を維持したり等のオフィス環境を整える機器であるが、1個の機器が整え得る空間は、限られている。そのため、オフィスビルのフロアのように広い空間においては、空間を複数の区画に分割し、分割した各区画にそれぞれ機器を設けることによって、空間全体のオフィス環境を整えている。また、空間全体に人が居る場合には、複数の機器を一律の運転状態で制御すればよいが、早朝や夕刻等の時間帯によって区画によっては人が居たり居なかったりする等のために、複数の機器を個々に制御する必要が生じる。そこで、従来、オフィスビル等のフロアにおける複数の機器は、機器制御システムによって制御されている。
【0003】
図16は、従来の機器制御システムの構成を示す図である。図16において、従来の機器制御システムは、複数の機器(不図示)と、複数の機器に対応してそれぞれに設けられた機器の運転状態を個別に制御する複数の制御ユニット102−1〜102−20と、機器の運転状態を指示する制御データを当該機器を制御する制御ユニット102に送信することによって複数の機器を統一的に制御する親機100と、親機100と複数の制御ユニット102とを通信可能に分岐接続するための、分岐ユニット101−1〜101−3によって分岐される伝送路104とを備えて構成され、親機100と複数の制御ユニット102−1〜102−20との間の通信は、制御データを送信すべき制御ユニット102を特定するために、通常、制御ユニット102に割り当てられたアドレスを用いて行われる(例えば、特許文献1)。
【0004】
【特許文献1】
特開平6−14366号公報
【0005】
【発明が解決しようとする課題】
ところで、制御ユニット102−1〜102−20に割り振られるアドレスは、図16に示すように1個目の制御ユニット102−1から最後の制御ユニット102−20までa1、a2、a3、・・・、a20のように順番に割り振られたり、全くランダム(不図示)に割り振られたりするのが普通である。
【0006】
このような場合では、機器制御システムの制御プログラムを作成するソフトウェア開発者が隣接する機器を1個のグループに纏めて制御する制御プログラムを開発しようとする場合や、機器制御システムの利用者がパーティションの変更に合わせてソフトウェア開発者の設定したグループを変更したい場合等において、アドレスを参照しただけでは、機器相互間の配置関係を把握することができないため、機器相互間の配置位置とアドレスとを対応付けて記載した施工図面や対応表等を参照しなければならない。このため、施工図面等を取り寄せ、逐一参照しなければならないという煩わしさや、施工図面等を喪失してしまった場合にグループに纏めることが困難になるという問題が生じる。特に、図16に破線で示すように、拡張工事によって制御ユニット102−21〜102−24が増設された場合には、増設された制御ユニット102−21〜102−24のアドレスは、増設される制御ユニット102に隣接する既設の制御ユニット102(例えば、増設される制御ユニット102−21に対する既設の制御ユニット102−16)のアドレスに続けて割り振られないため、上述の事情は、重大な問題となる。
【0007】
そこで、本発明は、上述の問題に鑑みて為された発明であり、機器の配置位置を反映したアドレスを備える機器制御システム、このような機器制御システムに用いられる、制御ユニット、分岐ユニット及びアドレッシング装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
上述の目的を達成するために、請求項1では、相互に通信可能に伝送路によって接続され機器の運転状態を制御する複数の制御ユニットを備える機器制御システムにおいて、前記制御ユニットは、平面上に互いに独立な行方向及び列方向から成る座標系を定義して、制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表し、行列形式で表した行列形式アドレスを制御ユニットのアドレスとして記憶する記憶部を備えて構成される。
【0009】
このような機器制御システムでは、各制御ユニットは、行列形式アドレスを持つので、ソフトウェア開発者や機器制御システムの使用者等は、行列の数学的な性質を利用することによって、行列形式アドレスを参照するだけで各制御ユニットの相互の配置関係、延いては機器の相互の配置関係を把握することができる。このため、ソフトウェア開発者や機器制御システムの使用者等は、施工図面等を参照することなく、グループ化を行うことができる。また、制御ユニットには、行列形式アドレスが割り振られるので、新たに制御ユニットを追加した場合に、接続する既設の制御ユニットに続くように新たな制御ユニットに行列形式アドレスを割り振ることができる。
【0010】
そして、請求項2では、請求項1に記載の機器制御システムにおいて、前記複数の制御ユニットにおける対角にある2個の制御ユニットを指定する指定手段と、指定された2個の制御ユニットの行列形式アドレス(αa、βa)(αb、βb)をそれぞれ認識する認識手段と、認識された行列形式アドレス(αa、βa)(αb、βb)に基づいて、行列形式アドレス(αa、βa)(αb、βb)を対角成分に持つ行列の各成分を計算し、行列形式アドレス(αa、βa)(αb、βb)を対角成分に持つ行列の各成分に対応する行列形式アドレスが割り振られた制御ユニットを1個のグループに纏めるグルーピング手段とを備えるグルーピング装置をさらに備えて構成される。
【0011】
また、請求項3では、請求項1に記載の機器制御システムにおいて、前記複数の制御ユニットのうちの1個の制御ユニットと行方向及び列方向の距離を指定する指定手段と、指定された1個の制御ユニットの行列形式アドレス(αa、βa)を認識する認識手段と、認識された行列形式アドレス(αa、βa)を基準に、指定された行方向の距離及び指定された列方向の距離の範囲内にある制御ユニットの行列形式アドレスを計算し、該範囲内にある制御ユニットを1個のグループに纏めるグルーピング手段とを備えるグルーピング装置をさらに備えて構成される。
【0012】
このような機器制御システムでは、グルーピング装置を備えるので、機器制御システムの利用者等は、グループの変更を行うことができる。そして、グルーピング装置は、制御ユニットが行列形式アドレスを備えるので、対角にある2個の制御ユニットや基準となる1個の制御ユニットと行方向及び列方向の距離とに基づいて、行列の数学的な性質を利用することによりグループに所属する他の制御ユニットを簡単・迅速に算出することができる。そのため、機器制御システムの利用者等は、グループに属する全ての制御ユニットを指定する必要が無く、上述の簡単な入力でグループの変更をすることができる。
【0013】
そして、請求項4では、請求項1に記載の機器制御システムにおいて、前記機器の運転状態は、第1の運転レベルと、該第1の運転レベルより低い運転レベルである第2の運転レベルと、該第2の運転レベルより低い運転レベルである第3の運転レベルとを少なくとも備え、前記制御ユニットは、人を検知する人感センサと、自己が制御する機器の運転状態を制御する制御部とをさらに備え、前記制御部は、前記人感センサから出力があった場合には自己が制御する機器を第1の運転レベルになるように制御すると共に他の制御ユニットに第2の運転レベルで運転するように指示する通信信号を出力し、前記人感センサから出力がなかった場合であって第2の運転レベルで運転するように指示する旨の情報を含む通信信号を受信した場合には受信した通信信号の行列形式アドレスと記憶部に記憶する行列形式アドレスとを比較することによって受信した通信信号が周囲の制御ユニットから受信した場合には第2の運転レベルで運転する。
【0014】
このような機器制御システムでは、各制御ユニットが行列形式アドレスを備えるので、行列の数学的な性質を利用することにより、第2の運転レベルで運転するように指示する旨の情報を含む通信信号を受信した場合にその発信元の制御ユニットが自己の周囲の制御ユニットであるか否かを行列形式アドレスに基づいて簡単に・迅速に算出することができ、機器の運転状態を適切に制御することができる。
【0015】
さらに、請求項5では、請求項1に記載の機器制御システムにおいて、前記機器の運転状態は、第1の運転レベルと、該第1の運転レベルより低い運転レベルである第2の運転レベルと、該第2の運転レベルより低い運転レベルである第3の運転レベルとを少なくとも備え、前記制御ユニットは、人を検知する人感センサと、自己が制御する機器の運転状態を制御する制御部とをさらに備え、前記記憶部は、他の制御ユニットから第2の運転レベルで運転するように指示されたか否かを示すフラグをさらに記憶し、前記制御部は、前記人感センサから出力があった場合には自己が制御する機器を第1の運転レベルになるように制御すると共に、前記記憶部に記憶されている行列形式アドレスに基づいて周囲の制御ユニットの行列形式アドレスを算出して該周囲の制御ユニットに第2の運転レベルで運転するように指示する通信信号を出力し、前記人感センサから出力がなかった場合には前記フラグに基づいて自己が制御する機器を第2の運転レベルになるように制御する。
【0016】
このような機器制御システムでは、各制御ユニットが行列形式アドレスを備えるので、行列の数学的な性質を利用することにより、人感センサに反応があった制御ユニットは、自己の周囲の制御ユニットにおける行列形式アドレスを簡単に・迅速に算出することができ、人感センサに反応があった制御ユニットにおける周囲の制御ユニットが制御する機器の運転状態を制御することができる。
【0017】
また、請求項6では、請求項1に記載の機器制御システムにおいて、前記機器の運転状態は、第1の運転レベルと、該第1の運転レベルより低い運転レベルである第2の運転レベルと、該第2の運転レベルより低い運転レベルである第3の運転レベルとを少なくとも備え、前記制御ユニットは、人を検知する人感センサと、自己が制御する機器の運転状態を制御する制御部とをさらに備え、前記記憶部は、他の制御ユニットから第2の運転レベルで運転するように指示されたか否かを示すフラグをさらに記憶し、前記制御部は、前記人感センサから出力があった場合には自己が制御する機器を第1の運転レベルになるように制御すると共に、前記記憶部に記憶されている行列形式アドレスと第2の運転レベルで運転するように指示する旨の情報とを含む通信信号を出力し、前記人感センサから出力がなかった場合には前記フラグに基づいて自己が制御する機器を第2の運転レベルになるように制御し、第2の運転レベルで運転するように指示する旨の情報とを含む通信信号を受信した場合には受信した通信信号の行列形式アドレスと記憶部に記憶する行列形式アドレスとを比較することによって受信した通信信号が周囲の制御ユニットから受信したか否かを判別して周囲の制御ユニットから受信した場合には前記フラグを第2の運転レベルで運転するように指示されたことを示すように変更する。
【0018】
このような機器制御システムでは、各制御ユニットが行列形式アドレスを備えるので、行列の数学的な性質を利用することにより、第2の運転レベルで制御するように指示する通信信号を受信した制御ユニットは、受信した通信信号が自己の周囲の制御ユニットから送信されたか否かを簡単に・迅速に算出することができ、人感センサに反応があった制御ユニットにおける周囲の制御ユニットが制御する機器の運転状態を制御することができる。
【0019】
そして、請求項7では、平面上に互いに独立な行方向及び列方向から成る座標系を定義して、制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表した行列形式アドレスを記憶するための新アドレス記憶部と、予めアドレスが記憶されている旧アドレス記憶部と、上流と下流との間で通信信号の伝送をオン・オフするスイッチと、前記スイッチのオン・オフを制御する制御部と、外部と通信信号を送受信する送受信部とを備える機器の運転状態を制御する制御ユニットであって、前記制御部は、前記スイッチをオフした状態で上流から行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を受信した場合に、前記旧アドレス記憶部のアドレスを含む旧アドレス信号を上流に返信し、この返信に対応して上流から行列形式アドレスを含む新アドレス信号を受信した場合に、受信した新アドレス信号から行列形式アドレスを取り出して前記新アドレス記憶部に格納し、行列形式アドレスを前記新アドレス記憶部に格納した後に前記スイッチをオンするものである。
【0020】
請求項8では、平面上に互いに独立な行方向及び列方向から成る座標系を定義して、制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表した行列形式アドレスを記憶するため新アドレス記憶部と、予めアドレスが記憶されている旧アドレス記憶部と、上流と第1の下流との間で通信信号の伝送をオン・オフする第1スイッチと、上流と前記第1の下流とは異なる第2の下流との間で通信信号の伝送をオン・オフする第2スイッチと、前記第1及び第2スイッチのオン・オフを制御する制御部と、外部と通信信号を送受信する送受信部とを備える伝送路を分岐する分岐ユニットであって、前記制御部は、前記第1及び第2スイッチをオフした状態で上流から行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を受信した場合に、前記旧アドレス記憶部のアドレスを含む旧アドレス信号を上流に返信し、この返信に対応して上流から行列形式アドレスを含む新アドレス信号を受信した場合に、受信した新アドレス信号から行列形式アドレスを取り出して前記新アドレス記憶部に格納し、行列形式アドレスを前記新アドレス記憶部に格納した後に前記第1及び第2スイッチの何れか一方をオンし、オンした下流に対して行列形式アドレスの割り振りが終了した旨の情報を含むアドレッシング終了信号を受信した場合に、オンしなかった他方のスイッチをオンするものである。
【0021】
請求項9では、伝送路を分岐する分岐ユニットと、分岐された伝送路に接続さる機器の運転状態を制御する制御ユニットとを備える機器制御システムの前記分岐ユニット及び制御ユニットに行列形式アドレスを割り振るアドレッシング装置において、前記分岐ユニットと前記制御ユニットとの配置位置関係を示す施工図面の情報を記憶する施工図面記憶部と、前記分岐ユニットと前記制御ユニットとの配置位置関係に基づいて、前記分岐ユニット及び前記制御ユニットに予め記憶されているアドレスと平面上に互いに独立な行方向及び列方向から成る座標系を定義して制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表した行列形式アドレスとの対応関係を示す新旧アドレス対応表を記憶する新旧アドレス対応表記憶部と、前記分岐ユニット及び制御ユニットに行列形式アドレスを割り振る制御部と、前記分岐ユニット及び制御ユニットと前記伝送路によって通信信号を送受信する送受信部とを備え、前記制御部は、前記分岐ユニットに対して、上流と第1の下流との間の伝送及び上流と該第1の下流とは異なる第2の下流との間の伝送をオフした状態で、行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を送信し、このアドレッシング信号に対応してアドレスを含む旧アドレス信号を受信した場合に、受信した旧アドレス信号から取り出したアドレスと前記配置位置関係に応じて生成した行列形式アドレスとを前記新旧アドレス対応表に格納すると共に生成した行列形式アドレスを含む新アドレス信号を送信し、該新アドレス信号を送信した後に前記第1及び第2の下流の何れか一方への伝送をオンさせる第1分岐ユニットアドレッシング終了信号を送信すると共にオンした下流に接続される全て制御ユニットに対し行列形式アドレスを割り振った場合に、他方への伝送をオンさせる次分岐ユニットアドレッシング信号を送信し、前記制御ユニットに対して、上流と下流との間の伝送をオフした状態で、行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を送信し、このアドレッシング信号に対応してアドレスを含む旧アドレス信号を受信した場合に、受信した旧アドレス信号から取り出したアドレスと前記配置位置関係に応じて生成した行列形式アドレスとを前記新旧アドレス対応表に格納すると共に生成した行列形式アドレスを含む新アドレス信号を送信し、該新アドレス信号を送信した後に前記下流への伝送をオンさせる制御ユニットアドレッシング終了信号を送信するものである。
【0022】
請求項10では、伝送路を分岐する分岐ユニットと、分岐された伝送路に接続さる機器の運転状態を制御する制御ユニットと、前記伝送路に接続され前記分岐ユニット及び制御ユニットに行列形式アドレスを割り振るアドレッシング装置とを備える機器制御システムにおいて、前記制御ユニットは、請求項7に記載の制御ユニットであり、前記分岐ユニットは、請求項8に記載の分岐ユニットであり、前記アドレッシング装置は、請求項9に記載のアドレッシング装置である。
【0023】
このような構成の制御ユニット、分岐ユニット、アドレッシング装置及び機器制御システムでは、上流と下流との伝送を行列形式アドレスが割り振られたか否かに従ってオフ・オンするので、行列形式アドレスを割り振ろうとする対象の制御ユニット及び分岐ユニットにおけるアドレスを指定することなく、通信を確立することができ、行列形式アドレスを割り振ることができる。
【0024】
【発明の実施の形態】
以下、本発明に係る実施形態を図面に基づいて説明する。なお、各図において同一の構成については、同一の符号を付し、その説明を省略する。まず、本実施形態の構成について説明する。
(実施形態の構成)
図1は、機器制御システムの構成を示す図であり、図1(A)は、全体構成図であり、図1(B)は、1個の制御ユニットの制御エリア内の構成を示す。図2は、機器制御システムにおける設定装置の構成を示すブロック図である。図3は、機器制御システムにおける分岐ユニットの構成を示すブロック図である。図4は、機器制御システムにおける制御ユニットの構成を示すブロック図である。
【0025】
図1(A)において、本実施形態に係る機器制御システムは、設定装置10と、複数の分岐ユニット11と、複数の制御ユニット12と複数の機器13と主伝送路28と分岐伝送路29とを備えて構成される。設定装置10と各分岐ユニット11とは、設定装置10から各分岐ユニット11へ主伝送路28で通信可能に順次に接続され、分岐ユニット11と各制御ユニット12とは、分岐ユニット11からこの分岐ユニット11が統括する各制御ユニット12へ分岐伝送路29で通信可能に順次に接続される。よって、設定装置10、分岐ユニット11及び制御ユニット12は、相互に通信可能に伝送路(主伝送路28及び分岐伝送路29)によって接続される。
【0026】
機器13は、建築物に複数個設置される電気機器であり、例えば、照明器具、空調機器、入退室管理装置、防犯装置、防災装置及び動力制御装置等である。制御ユニット12は、設定装置10からの制御データや他の制御ユニット12からの制御データに基づいて自己が管理する機器13を制御する装置であり、その構成・機能の詳細については後述する。分岐ユニット11は、主伝送路28における上流と下流との接続の開閉及び主伝送路28と分岐伝送路29との接続の開閉を行う装置であり、その構成・機能の詳細については後述する。なお、通信信号の伝送方向を示すために、設定装置10側を上流と呼称し、制御ユニット12の末端側を下流と呼称することとする。
【0027】
制御ユニット12の個数は、1個の制御ユニット12が制御可能な機器13の個数、現実に建物に設置される機器13の個数、及び、機器13の管理上の要件等から決定される。例えば、本実施形態の場合には、機器13は、照明器具であり、図1(A)に示すA方向に8個、A方向と線形独立な方向であるB方向に12個の96個がフロアにマトリクス状に配置される。そして、1個の制御ユニット12は、図1(B)に示すように、4個の機器13(13−a〜13−d)を制御可能であるため、制御ユニット12(12−1〜12−24)は、A方向に4個、B方向に6個の24個となる。また、1個の制御ユニット12が制御可能な機器13の範囲(制御エリア)E−1〜E−24を図1(A)、(B)に破線の正方形で示す。
【0028】
また、分岐ユニット11の個数は、複数の制御ユニット12をどのような方向で通信可能に順次に接続するかによって決定され、図1に示すように、制御ユニット12をB方向に纏めて通信可能に順次に接続する場合には、「(A方向における制御ユニット12の個数)−1」個となる。本実施形態の場合には、分岐ユニット11(11−1〜11−3)は、4−1=3個となる。そして、分岐ユニット11−1と各制御ユニット12−1〜12−6とは、分岐伝送路29−1で通信可能に順次に接続され、分岐ユニット11−2と各制御ユニット12−7〜12−12とは、分岐伝送路29−2で通信可能に順次に接続され、分岐ユニット11−3と各制御ユニット12−13〜12−18とは、分岐伝送路29−3で通信可能に順次に接続され、分岐ユニット11−3と各制御ユニット12−19〜12−24とは、主伝送路28の下流の末端で通信可能に順次に接続される。
【0029】
なお、図5は、機器制御システムの構成の他の例を示す図である。図5に示すように、制御ユニット12をA方向に纏めて通信可能に順次に接続する場合には、「(B方向における制御ユニット12の個数)−1」個となる。この実施形態の場合には、分岐ユニット11(11−1〜11−5)は、6−1=5個となる。
【0030】
まず、設定装置10の構成について説明する。設定装置10は、分岐ユニット11及び制御ユニット12に新たにアドレスを設定すると共に、制御ユニット12が制御の対象とする機器13をどのように制御すべきかを指示等する装置である。より詳細に説明すると、図2に示すように、設定装置10は、設定装置制御部21と、入力部22と、表示部23と、アドレッシング情報記憶部24と、機器制御状態情報記憶部25と、信号変換部26と、インターフェース部(I/F)27とを備えて構成される。
【0031】
入力部22は、本システムの起動指示等の各種コマンドや各種データを設定装置10に入力する機器であり、例えば、キーボード、マウス及びライトペン等である。表示部23は、入力部22から入力されたコマンド、分岐ユニット11、制御ユニット12及び制御対象機器13の動作状況等を表示する機器であり、例えばCRTディスプレイ、LCD又は有機ELディスプレイ等である。
【0032】
アドレッシング情報記憶部24は、分岐ユニット11及び制御ユニット12に新たにアドレスを設定するために必要な情報、分岐ユニット11相互間の関係を示す情報、制御ユニット12相互間の関係を示す情報及び制御対象機器13相互間の関係を示す情報、設定装置制御部21が実行するプログラム等を記憶する記憶装置であり、例えば、RAM(Random Access memory)やEEPROM(Electrically Erasable Programmable Read Only Memory)等の書き換え可能なメモリを備えて構成される。アドレッシング情報記憶部24には、より具体的には例えば、施工図面データ241、新旧アドレス対応表データ242、履歴データ243、行番号データ244、列番号データ245、分岐ユニットグループデータ246、制御ユニットグループデータ247及び制御対象機器グループデータ248等が記憶される。
【0033】
施工図面データ241は、建物の平面図と、機器13、制御ユニット12、分岐ユニット11及び設定装置10との配置関係を表示部23の画面に模式的に表示するためのデータである。新旧アドレス対応表データ242は、旧アドレスと新アドレスとの対応関係を示すテーブルである。旧アドレスは、新アドレスが設定される前に分岐ユニット11及び制御ユニット12に予め割り当てられていたアドレスであり、新アドレスは、本発明にかかる設定装置10によって後述の手順で新たに分岐ユニット11及び制御ユニット12に割り当てられたアドレスである。旧アドレスは、分岐ユニット11や制御ユニット12(以下、両ユニットを纏めて指す場合には「ユニット11、12」と記載する。)を通信の際に一意に特定することができればよいので、どのような識別子を用いてもよいが、例えば、一般的にどのようなユニット11、12にも予め記憶されている観点から、ユニット11、12のシリアル番号を用いる。特に、シリアル番号にユニット11、12の機種を示す識別子を含むようにすると、旧アドレスを参照することによって、ユニット11、12の機種を判別することができる。本実施形態では、「01E」が分岐ユニット11を示し「01H」が制御ユニット12を示す識別子を先頭に含むシリアル番号を用いる。
【0034】
履歴データ243は、新アドレスを設定する動作において、アドレッシングの回数(新アドレスの設定回数)を記録したデータである。行番号データ244は、次に新アドレスを設定するユニット11、12の行番号を記録したデータである。列番号データ245は、次に新アドレスを設定するユニット11、12の列番号を記録したデータである。
【0035】
分岐ユニットグループデータ246は、或る制御を行う場合に同等に扱うべき分岐ユニット11の集合を定義するデータである。制御ユニットグループデータ247は、或る制御を行う場合に同等に扱うべき制御ユニット12の集合を定義するデータである。制御対象機器グループデータ248は、或る制御を行う場合に同等に扱うべき機器13の集合を定義するデータである。
【0036】
機器制御状態情報記憶部25は、機器13の制御状態を示す情報を記憶する装置であり、例えば、RAMやEEPROM等の書き換え可能なメモリを備えて構成される。機器制御状態情報記憶部25には、より具体的には例えば、オンオフ状態データ251、制御パターンデータ252及び制御スケジュールデータ253等が記憶される。
【0037】
オンオフ状態データ251は、各機器13におけるオンオフの現状を示すデータであり、制御パターンデータ252は、操作入力に応じて機器13の出力レベルを定義する制御パターンのデータであり、例えば機器13が照明器具である場合には照明器具の点滅順序や調光率等を規定するためのデータである。制御スケジュールデータ253は、機器13のオンオフや制御パターンデータ252で定義された制御パターンの中で何れの制御パターンを行うべきかを、現実の時刻や或る基準時からの経過時間に対応付けたデータである。
【0038】
信号変換部26は、設定装置制御部21からの内部信号を機器制御システム内の通信に適合した信号フォーマットに変換すると共に、I/F27からの外部通信信号を設定装置制御部21が解釈可能な信号フォーマットに変換する。I/F27は、信号変換部26の信号波形を主伝送路28に適する信号波形に形成したり、受信した信号波形を信号変換部26に適する信号波形に形成する回路であり、主伝送路28の結線用接続端子(コネクタ端子)やインピーダンス整合を取るためのインピーダンス値調整回路等も備える。I/F27は、主伝送路28に接続される。
【0039】
設定装置制御部21は、例えばマイクロプロセッサ(MPU)等を備えて構成され、入力部22、表示部23、アドレッシング情報記憶部24、機器制御状態情報記憶部25及び信号変換部26と接続され、これら各部をプログラムに基づいて後述のように制御する。
【0040】
なお、アドレッシング情報記憶部24と機器制御状態情報記憶部25とは、底コスト化や小型化の観点から、個別部品でも1個のメモリに纏めてもよく、更に、設定装置制御部21や信号変換部26と纏めてチップ化しても良い。
【0041】
次に、分岐ユニット11の構成について説明する。図3において、分岐ユニット11は、I/F部31と、信号変換部32と、分岐ユニット制御部33と、分岐ユニット記憶部34と、接点開閉部35−1、35−2と、スイッチ36−1、36−2とを備えて構成される。
【0042】
スイッチ36−1は、主伝送路28と分岐伝送路29との間における接続の開閉を行う装置であり、その開閉は、接点開閉部35−1によって駆動される。接点開閉部35−1は、分岐ユニット制御部33の制御に基づいてスイッチ36−1の開閉を行う。スイッチ36−1を閉じることによって、主伝送路28と分岐伝送路29とが接続され、主伝送路28と分岐伝送路29との間において相互に通信信号が伝送可能となる。
【0043】
スイッチ36−2は、分岐ユニット11に対する上流と下流との間における主伝送路28の接続の開閉を行う装置であり、その開閉は、接点開閉部35−1によって駆動される。接点開閉部35−2は、分岐ユニット制御部33の制御に基づいてスイッチ36−2の開閉を行う。スイッチ36−2を閉じることによって、主伝送路28における分岐ユニット11に対する上流と下流とが接続され、分岐ユニット11に対する上流と下流との間において相互に通信信号が伝送可能となる。スイッチ36は、後述のスイッチ46と同様に、例えば、有接点リレーや無接点リレー(半導体リレー)等によって構成され、特に、停電時にもそれ以前の接続状態を保持することができる観点からラッチングリレーが好適である。なお、本実施形態では、接点開閉部35−1及びスイッチ36−1によって主伝送路28と分岐伝送路29との間における接続の開閉を行い、接点開閉部35−2及びスイッチ36−2によって分岐ユニット11に対する上流と下流との間における主伝送路28の接続の開閉を行うように構成したが、マイクロコンピュータのポートを用い、このポートをアクティブ状態又はスリープ状態とすることによって通信信号を下流に伝送するか否かを行うように構成としてもよい。
【0044】
I/F31は、信号変換部32の信号波形を主伝送路28に適する信号波形に形成したり、受信した信号波形を信号変換部32に適する信号波形に形成する回路である。I/F31は、上流側の主伝送路28に接続される。
【0045】
信号変換部32は、分岐ユニット制御部33からの内部信号を機器制御システム内の通信に適合した信号フォーマットに変換すると共に、I/F31からの外部通信信号を分岐ユニット制御部33が解釈可能な信号フォーマットに変換する。
【0046】
分岐ユニット記憶部34は、旧アドレスデータ341、新アドレスデータ342及び分岐ユニット制御部33が実行するプログラム等を記憶する。旧アドレスデータ341には、分岐ユニット11の旧アドレスが予め記憶される。新アドレスデータ342は、新アドレスを記憶するための記憶領域であり、後述の手順によって新アドレスが割り振られ格納される。分岐ユニット制御部33は、例えばマイクロプロセッサ等を備えて構成され、信号変換部32、分岐ユニット記憶部34及び接点開閉部35−1、35−2と接続され、これら各部をプログラムに基づいて後述のように制御する。
【0047】
次に、制御ユニット12について説明する。図4において、制御ユニット12は、I/F部41と、信号変換部42と、制御ユニット制御部43と、制御ユニット記憶部44と、接点開閉部45と、スイッチ46と、機器制御部47とを備えて構成される。
【0048】
スイッチ46は、制御ユニット12に対する上流と下流との間における伝送路28、29の接続の開閉を行う装置であり、その開閉は、接点開閉部45によって駆動される。ここで、制御ユニット12は、主に分岐伝送路29上に接続されるが、図1(A)に示すように、最下流の分岐ユニット11−3より更に下流側では、制御ユニット12は、分岐伝送路29−3上に接続されるだけでなく、主伝送路28上にも接続される。接点開閉部45は、制御ユニット制御部43の制御に基づいてスイッチ46の開閉を行う。スイッチ46を閉じることによって、分岐伝送路29における制御ユニット12に対する上流と下流とが接続され、制御ユニット12に対する上流と下流との間において相互に通信信号が伝送可能となる。
【0049】
I/F41は、信号変換部42の信号波形を分岐伝送路29に適する信号波形に形成したり、受信した信号波形を信号変換部42に適する信号波形に形成する回路である。I/F41は、上流側の分岐伝送路29に接続される。
【0050】
信号変換部42は、制御ユニット制御部43からの内部信号を機器制御システム内の通信に適合した信号フォーマットに変換すると共に、I/F41からの外部通信信号を制御ユニット制御部43が解釈可能な信号フォーマットに変換する。
【0051】
制御ユニット記憶部44は、旧アドレスデータ441、新アドレスデータ442及び制御ユニット制御部43が実行するプログラム等を記憶する。旧アドレスデータ441には、制御ユニット12の旧アドレスが予め記憶される。新アドレスデータ442は、新アドレスを記憶するための記憶領域であり、後述の手順によって新アドレスが割り振られ格納される。制御ユニット制御部43は、例えばマイクロプロセッサ等を備えて構成され、信号変換部42、分岐ユニット記憶部44、接点開閉部45及び機器制御部47と接続され、これら各部をプログラムに基づいて後述のように制御する。
【0052】
機器制御部47は、例えばマイクロプロセッサ等を備えて構成され、設定装置10から送信された制御信号に収容される制御データに基づいて制御ユニット12が管理する機器13を制御する。制御データは、制御ユニット制御部43によって制御信号から取り出され、機器制御部47に転送される。
【0053】
なお、設定装置10から分岐ユニット11及び制御ユニット12へ電力を供給可能とする観点から、設定装置10に供給電力重畳部を設け、供給電力重畳部は、信号変換部26からI/F27への出力信号と電力とを重畳可能な電力波形を信号変換部26に出力させてもよい。この場合には、これに対応させて、分岐ユニット11及び制御ユニット12に供給電力分離部を設け、供給電力分離部は、I/F27の出力から通信信号と電力とを分離し、通信信号を分岐ユニット制御部33及び制御ユニット制御部43に出力すると共に、電力を必要とする各部に電力を供給するようにする。このように通信信号に電力を重畳することによって、電源供給の困難な場所にも分岐ユニット11や制御ユニット12を配置することができる。
【0054】
次に、本実施形態の動作について説明する。
(アドレッシング)
図6乃至図9は、新アドレスを設定する動作を示すフローチャートである。図10は、アドレッシング情報記憶部における新旧アドレス対応表データを示す図である。図10(A)は、記憶領域を確保した時点の状態を示し、図10(B)は、アドレッシングが完了した時点の状態を示す。
【0055】
まず、ユーザは、入力部22から施工図面を表示部23に表示させる指示を入力する。設定装置10の設定装置制御部21は、アドレッシング情報記憶部24に記憶されている施工図面データ241を読み出し、施工図面を表示部23に表示する。表示部23には、例えば、図1(A)に示すような、建物の平面図と、機器13、制御ユニット12、分岐ユニット11及び設定装置10との配置関係を模式的に表示した画面が表示される。
【0056】
このように表示部23に表示された施工図面は、機器13、制御ユニット12、分岐ユニット11及び設定装置10との配置位置を投影した平面図であり、ユーザは、施工図面上に互いに独立な行方向及び列方向から成る座標系を定義する。本実施形態では、図1(A)に示すように、行方向を一方向に伸びるA方向に、列方向をこの一方向とは異なる他方向に伸びるB方向に設定した。
【0057】
そして、分岐ユニット11と制御ユニット12との配置位置関係に基づいて新旧アドレス対応表を記憶する記憶領域をアドレッシング情報記憶部24に確保する。
【0058】
例えば、本実施形態では、ユーザは、表示部23の施工図面を参照して、分岐ユニット11の個数と、上流側の分岐ユニット11から順に各分岐ユニット11に接続される制御ユニット12の個数と、各分岐ユニット11が同一列番号方向に接続されるか同一行番号方向に接続されるかの別とを入力部22から設定装置10に入力する。
【0059】
例えば、図1(A)に示す施工図面の場合には、ユーザは、分岐ユニット11の個数として「3」を入力し、最も上流である第1番目の分岐ユニット11−1に接続される制御ユニット12の個数として「6」を入力し、次に上流である第2番目の分岐ユニット11−2に接続される制御ユニット12の個数として「6」を入力し、次に上流である第3番目の分岐ユニット11−3に接続される制御ユニット12の個数を入力する。この場合では、分岐ユニット11の個数として「3」が入力されたため、これが最下流の最後の分岐ユニット11であるから、分岐伝送路29−3に接続される制御ユニット12の個数と主伝送路28に接続される制御ユニット12の個数とが入力される。このため、ユーザは、前者の個数として「6」を入力し、後者の個数として「6」を入力する。更に、各分岐ユニット11−1〜11−3は、同一列番号方向に並ぶことを入力部22より入力する。なお、図5に示す施工図面の場合には、各分岐ユニット11−1〜11−5は、同一行番号方向に並ぶことを入力部22より入力する。
【0060】
このように入力されると、設定装置制御部21は、アドレッシング情報記憶部24に新旧アドレス対応表データ242の記憶領域を確保する。即ち、図10(A)に示すように、まず、所定のメモリアドレスaに第1番目の分岐ユニット11−1の旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を確保する。次に、この確保した記憶領域に続けて、第1番目の分岐ユニット11−1の分岐伝送路29−1上に接続される各制御ユニット12−1〜12−6に対し、旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を上流側から順に確保する。次に、この確保した記憶領域に続けて、第2番目の分岐ユニット11−2の旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を確保する。次に、この確保した記憶領域に続けて、第2番目の分岐ユニット11−2の分岐伝送路29−2上に接続される各制御ユニット12−7〜12−12に対し、旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を上流から順に確保する。次に、この確保した記憶領域に続けて、第3番目の分岐ユニット11−3の旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を確保する。次に、この確保した記憶領域に続けて、第3番目の分岐ユニット11−3の分岐伝送路29−3上に接続される各制御ユニット12−13〜12−18に対し、旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を上流から順に確保する。そして、第3番目の分岐ユニット11−3が主伝送路28に接続される最下流の分岐ユニット11であるから、次に、この確保した記憶領域に続けて、第3番目の分岐ユニット11−3の下流であって主伝送路28上に接続される制御ユニット12−19〜12−24に対し、旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を記憶する記憶領域を上流から順に確保する。また、例えば、表示部23に表示された施工図面にアイコンで表示された分岐ユニット11又は制御ユニット12をマウス等で指定することによって、分岐ユニット11と制御ユニット12との配置位置関係に基づいて新旧アドレス対応表を記憶する記憶領域をアドレッシング情報記憶部24に確保するように構成してもよい。
【0061】
このように主伝送路28に接続される分岐ユニット11用の記憶領域の確保と、この分岐ユニット11からの分岐伝送路29に接続される制御ユニット12用の記憶領域の確保とを最下流の分岐ユニット11まで繰り返し、最後に主伝送路28上に接続される制御ユニット12用の記憶領域の確保を行うことによって、設定装置制御部21は、アドレッシング情報記憶部24に新旧アドレス対応表データ242の記憶領域を確保する。
【0062】
そして、各分岐ユニット11の並び方向に従って行番号データ244及び列番号データ245の初期値を設定する。即ち、各分岐ユニット11の並び方向が同一列番号方向である場合には、行番号データ244を「1」(2桁の場合には01と、3桁の場合には001となる。桁数は機器13の個数等によって決まる。)に設定し、列番号データ245を「0」(2桁の場合には00と、3桁の場合には000となる。)に設定する。各分岐ユニット11の並び方向が同一行番号方向である場合には、行番号データ244を「0」に設定し、列番号データ245を「1」に設定する。このように行番号データ244及び列番号データ245の初期値を各分岐ユニット11の並び方向に従って設定することによって、後述するように分岐ユニット11の新アドレスは、列番号及び行番号の何れかが「0」となり、アドレスの使用頻度の高い制御ユニット12に「1」から始まる列番号及び行番号を割り振ることができ、後述するグルーピングが簡易な計算で実行することができる。
【0063】
設定装置制御部21は、新旧アドレス対応表データ242の記憶領域を確保すると、その旨を表示部23に表示する。ユーザは、この表示を参照して、新アドレスを設定する指示を入力部22に入力する。
【0064】
図6乃至図9において、設定装置制御部21は、この指示を受けると分岐ユニット11及び制御ユニット12のアドレス値を初期化する旨の情報を含む通信信号(初期化信号)を主伝送路28に送出する(S11−S)。
【0065】
初期化信号を受信した分岐ユニット11の分岐ユニット制御部33は、下流に初期化信号が送信されたことを確認した後に、スイッチ36−1を開くことによって主伝送路28と分岐伝送路29との通信を遮断すると共に、スイッチ36−2を開くことによって主伝送路28における上流と下流との通信を遮断する。さらに、分岐ユニット制御部33は、分岐ユニット記憶部34の新アドレスデータ342をクリアする(S12−D)。下流に初期化信号が送信されたことの確認は、例えば、スイッチ36−1、36−2の開閉状態を参照することによって行い、スイッチ36−1、36−2が開の場合には、スイッチ36−1、36−2を閉にした後に分岐ユニット制御部33が初期化信号を再生して信号変換部32及びI/F31を介して主伝送路28に送出し、一定時間後にスイッチ36−1、36−2を開にすればよい。
【0066】
一方、初期化信号を受信した制御ユニット12の制御ユニット制御部43は、下流に初期化信号が送信されたことを確認した後に、スイッチ46を開くことによって分岐伝送路29(主伝送路28に接続される制御ユニット12の場合には主伝送路28)における上流と下流との通信を遮断する。さらに、制御ユニット制御部43は、制御ユニット記憶部44の新アドレスデータ442をクリアする(S12−C)。下流に初期化信号が送信されたことの確認は、例えば、スイッチ46の開閉状態を参照することによって行い、スイッチ46が開の場合には、スイッチ46を閉にした後に制御ユニット制御部43が初期化信号を再生して信号変換部42及びI/F41を介して分岐伝送路29(主伝送路28に接続される制御ユニット12の場合には主伝送路28)に送出し、一定時間後にスイッチ46を開にすればよい。
【0067】
なお、施工直後において、分岐ユニット11のスイッチ36−1、36−2及び制御ユニット12のスイッチ46が「開」であって、分岐ユニット記憶部34の新アドレスデータ342及び制御ユニット記憶部44の新アドレスデータ442がクリアであることが確実な場合には、この初期化を省略してもよい。
【0068】
次に、一定時間経過後に、設定装置制御部21は、新アドレスを設定するアドレッシングモードである旨の情報を含む通信信号(アドレッシング信号)を主伝送路28に送信すると共に、履歴データ243を1つインクリメントすることによって、第1回目のアドレッシングであることを履歴データ243に記憶する(S13−S)。
【0069】
初期化することによって、各分岐ユニット11−1〜11−3のスイッチ36−1、36−2及び各制御ユニット12−1〜12−24のスイッチ46は、全て「開」であるので、設定装置10と最上流である第1番目の分岐ユニット11−1との間でのみ通信が可能であるから、この通信信号は、第1番目の分岐ユニット11−1のみに受信される。
【0070】
この通信信号を受信した第1番目の分岐ユニット11−1における分岐ユニット制御部33は、受信した通信信号からアドレッシングモードである旨の情報を解釈することによって、この通信信号がアドレッシング信号であると判断する。アドレッシング信号であると判断すると、分岐ユニット制御部33は、分岐ユニット記憶部34の旧アドレスデータ341を読み出し、旧アドレスの情報を含む通信信号(旧アドレス信号)を主伝送路28に送出する(S14−D)。この場合には、上述したように設定装置10と最上流である第1番目の分岐ユニット11−1との間でのみ通信が可能であるから、旧アドレス信号に送信先のアドレスを指定する必要がないが、後述するように第2番目以降の分岐ユニット11や制御ユニット12をアドレッシングする場合には、設定装置10とアドレッシングの対象となっているユニット11、12との間で確実に通信を確立する観点から、履歴データ(アドレッシングの回数を示すデータ)の情報を各通信信号に含める。
【0071】
なお、アドレッシング信号であると判断した場合には、さらに、自己宛てのアドレッシング信号であるか否かを判断してから、自己宛てのアドレッシング信号である場合に旧アドレス信号を主伝送路28に送出するように構成してもよい。このように構成することによって、主伝送路28や分岐伝送路29のトラフィック量を低減することができ、通信信号の衝突も避けやすくなり、更に、設定装置制御部21の処理量も低減することができる。この自己宛てのアドレッシング信号であるか否かの判断は、例えば、次のように行う。まず、分岐ユニット制御部33は、分岐ユニット記憶部34の新アドレスデータ342に行列形式のアドレスが格納されているか否かを判断する。そして、分岐ユニット制御部33は、行列形式のアドレスが格納されている場合には、受信した通信信号が自己宛てのアドレッシング信号ではないと判断し、この受信信号を破棄する。一方、分岐ユニット制御部33は、行列形式のアドレスが格納されていない場合には、受信した通信信号が自己宛てのアドレッシング信号であると判断する。
【0072】
設定装置制御部21は、この通信信号を受信すると、第1回目のアドレッシング信号に対する旧アドレス信号であると判断して、受信した通信信号から旧アドレスの情報を取り出し、アドレッシング情報記憶部24の新旧アドレス対応表データ242における最初の記憶領域、即ち、メモリアドレスaの記憶領域に旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を格納する(S15−S)。ここで、機種は、上述の場合では、旧アドレスの先頭における識別子より判別する。新アドレスの行番号は、行番号データ244の値を割り振り、新アドレスの列番号は、列番号データ245の値を割り振る。なお、受信した通信信号が旧アドレス信号であるとの判断は、通信信号の受信の順番によって行う。以下も同様に、受信した通信信号の種別は、通信信号の受信の順番によって行う。
【0073】
新アドレスを設定すると、設定装置制御部21は、この新アドレスの情報を含む通信信号(新アドレス信号)を主伝送路28に送出する(S16−S)。
【0074】
分岐ユニット11−1の分岐ユニット制御部33は、この通信信号を受信すると、旧アドレス信号に対する新アドレス信号であると判断して、受信した通信信号から新アドレスの情報を取り出し、分岐ユニット記憶部34の新アドレスデータ342に新アドレスの行番号及び新アドレスの列番号を格納する(S17−D)。ここで、分岐ユニット制御部33が確実に新アドレス信号であることを認識させるために、新アドレス信号に新アドレス信号である旨の情報、例えば、旧アドレスの情報を含むようにしてもよい。
【0075】
次に、分岐ユニット11−1の分岐ユニット制御部33は、新アドレス信号を受信し、新アドレスを新アドレスデータ342に格納した旨の情報、例えば受信した新アドレスを含む通信信号(新アドレス格納信号)を主伝送路28に送出する(S18−D)。
【0076】
設定装置制御部21は、この通信信号を受信すると、新アドレス信号に対する新アドレス格納信号であると判断して、受信した通信信号から新アドレスの情報を取り出し、受信した通信信号からの新アドレスと、アドレッシング情報記憶部24の新旧アドレス対応表データ242に格納した新アドレスとを比較する(S19−S)。
【0077】
比較の結果、設定装置制御部21は、不一致の場合(No)には第1回目の分岐ユニット11−1のアドレッシングに失敗したと判断し、第1回目のアドレッシングを再度行う旨の情報を含む通信信号(再設定モード信号)を主伝送路28に送出する。一方、設定装置制御部21は、一致する場合(Yes)には第1回目の分岐ユニット11−1のアドレッシングに成功したと判断し、分岐ユニット11−1のアドレッシングを終了する旨の情報を含む通信信号(分岐ユニットアドレッシング終了信号)を主伝送路28に送出する(S20−S)。
【0078】
分岐ユニット11−1の分岐ユニット制御部33は、この通信信号を受信すると、分岐ユニットアドレッシング終了信号であるか再設定モード信号であるかを判断する。分岐ユニット11−1の分岐ユニット制御部33は、この通信信号が分岐ユニットアドレッシング終了信号であると判断した場合には、自機に接続される分岐伝送路29−1に接続される制御ユニット12−1〜12−6の新アドレスを設定すべく、スイッチ36−1を「閉」にする。一方、分岐ユニット11−1の分岐ユニット制御部33は、この通信信号が再設定モード信号であると判断した場合には、再度新アドレスの設定を行うべく、処理S14−D乃至処理S19−Sを実行する(S21−D)。
【0079】
なお、処理S18−D乃至処理S21−Dは、新アドレスの設定を確認する動作であるから、これら処理を省略し、処理S17−Dにおいて、更に、分岐ユニット11−1の分岐ユニット制御部33は、自機に接続される分岐伝送路29−1に接続される制御ユニット12−1〜12−6の新アドレスを設定すべく、スイッチ36−1を「閉」にするようにしてもよい。
【0080】
スイッチ36−1を「閉」にすると、分岐ユニット11−1の分岐ユニット制御部33は、主伝送路28と分岐伝送路29−1とを通信可能にした旨の情報を含む通信信号(分岐伝送路通信可能信号)を主伝送路28に送出する(S22−D)。
【0081】
設定装置制御部21は、この通信信号を受信すると、受信した通信信号が分岐伝送路通信可能信号であると判断し、主伝送路28と分岐伝送路29−1とが通信可能に接続され、制御ユニット12のアドレッシングが可能となったと判断する。そして、各分岐ユニット11の並び方向に従って行番号データ244の値又は列番号データ245の値の何れかを1つインクリメントする。即ち、各分岐ユニット11の並び方向が同一列番号方向である場合には、列番号データ245を1つインクリメントし、各分岐ユニット11の並び方向が同一行番号方向である場合には、行番号データ244を1つインクリメントする(S23−S)。
【0082】
このように動作することによって、分岐ユニット11−1に行列形式の新アドレス(0100)が割り振られ、設定装置10のアドレッシング情報記憶部24における新旧アドレス対応表データ242及び分岐ユニット11−1の分岐ユニット記憶部34における新アドレス342に行列形式の新アドレス(0100)が格納される。
【0083】
次に、設定装置制御部21は、第2回目の制御ユニット12−1のアドレッシングを行うべく、履歴データ243を1つインクリメントすることによって、第2回目のアドレッシングであることを履歴データ243に記憶すると共に(S24−S)、新アドレスを設定するアドレッシングモードである旨の情報を含む通信信号(アドレッシング信号)を主伝送路28に送出する(S25−S)。
【0084】
この通信信号を受信した第1番目の制御ユニット12−1における制御ユニット制御部43は、受信した通信信号からアドレッシングモードである旨の情報を解釈することによって、この通信信号がアドレッシング信号であると判断する。アドレッシング信号であると判断すると、制御ユニット制御部43は、制御ユニット記憶部44の旧アドレスデータ441を読み出し、旧アドレスの情報を含む通信信号(旧アドレス信号)を分岐伝送路29に送出する(S26−C)。
【0085】
ここで、上述から分かるように、設定装置10と最上流である第1番目の分岐ユニット11−1及びこれに接続される制御ユニット12−1との間でのみ通信が可能であるから、この通信信号は、第1番目の分岐ユニット11−1及び制御ユニット12−1のみに受信される。この通信信号を受信した第1番目の分岐ユニット11−1における分岐ユニット制御部33は、上述したように自己宛てであるか否かを判断する場合にはこの通信信号を破棄するが、自己宛てであるか否かを判断しない場合には、第1分岐ユニット11−1は、処理S14−Dで説明したように旧アドレス信号を主伝送路28に送出してしまう。しかしながら、設定装置制御部21は、受信した旧アドレス信号に収容されていた旧アドレスが新旧アドレス対応表データ242に格納されているか否かを判断することによって、受信した旧アドレス信号を送信した分岐ユニット11のアドレッシングが終了しているか否かを判断することができる。そして、第3回目以降のアドレッシングを行う場合には、アドレッシングが終了した制御ユニット12に同様の事態が生じるが、制御ユニット12−1の制御ユニット制御部43が自己宛てであるか否かを判断するか、又は、設定装置制御部21が旧アドレスの照会を行うことによって対応可能である。
【0086】
設定装置制御部21は、この通信信号を受信すると、第2回目のアドレッシング信号に対する旧アドレス信号であると判断して、受信した通信信号から旧アドレスの情報を取り出し、アドレッシング情報記憶部24の新旧アドレス対応表データ242における次の記憶領域、即ち、メモリアドレスbの記憶領域に旧アドレス、機種、新アドレスの行番号及び新アドレスの列番号を格納する(S27−S)。ここで、第2回目のアドレッシング信号に対する旧アドレス信号であるか否かの判断は、例えば、受信した通信信号の順番によって行う。また例えば、履歴データの情報を通信信号に含む場合にはこれを参照することによって行う。また例えば、受信した通信信号の旧アドレスの情報と、アドレッシング情報記憶部24の新旧アドレス対応表データ242に格納されている旧アドレスの情報とを比較することによって、両者が一致する旧アドレスの情報がないことを判断することによって行う。
【0087】
新アドレスを設定すると、設定装置制御部21は、この新アドレスの情報を含む通信信号(新アドレス信号)を主伝送路28に送出する(S28−S)。
【0088】
制御ユニット12−1の制御ユニット制御部43は、この通信信号を受信すると、旧アドレス信号に対する新アドレス信号であると判断して、受信した通信信号から新アドレスの情報を取り出し、制御ユニット記憶部44の新アドレスデータ442に新アドレスの行番号及び新アドレスの列番号を格納する(S29−C)。
【0089】
次に、制御ユニット12−1の制御ユニット制御部43は、新アドレス信号を受信し、新アドレスを新アドレスデータ442に格納した旨の情報、例えば受信した新アドレスを含む通信信号(新アドレス格納信号)を分岐主伝送路29−1に送出する(S30−C)。
【0090】
設定装置制御部21は、この通信信号を受信すると、新アドレス信号に対する新アドレス格納信号であると判断して、受信した通信信号から新アドレスの情報を取り出し、受信した通信信号からの新アドレスと、アドレッシング情報記憶部24の新旧アドレス対応表データ242に格納した新アドレスとを比較する(S31−S)。
【0091】
比較の結果、設定装置制御部21は、不一致の場合(No)には第2回目の制御ユニット12−1のアドレッシングに失敗したと判断し、第2回目のアドレッシングを再度行う旨の情報を含む通信信号(再設定モード信号)を主伝送路28に送出する。一方、設定装置制御部21は、一致する場合(Yes)には第2回目の制御ユニット12−1のアドレッシングに成功したと判断し、制御ユニット12−1のアドレッシングを終了する旨の情報を含む通信信号(制御ユニットアドレッシング終了信号)を主伝送路28に送出する(S32−S)。
【0092】
制御ユニット12−1の制御ユニット制御部43は、この通信信号を受信すると、制御ユニットアドレッシング終了信号であるか再設定モード信号であるかを判断する。制御ユニット12−1の制御ユニット制御部43は、この通信信号が制御ユニットアドレッシング終了信号であると判断した場合には、自機の下流に接続される制御ユニット12−2〜12−6の新アドレスを設定すべく、スイッチ46を「閉」にする。一方、分岐ユニット11−1の分岐ユニット制御部33は、この通信信号が再設定モード信号であると判断した場合には、再度新アドレスの設定を行うべく、処理S25−C乃至処理S31−Sを実行する(S33−C)。
【0093】
なお、処理S30−C乃至処理S32−Sは、新アドレスの設定を確認する動作であるから、これら処理を省略し、処理S29−Cにおいて、更に、制御ユニット12−1の制御ユニット制御部43は、自機の下流に接続される制御ユニット12−2〜12−6の新アドレスを設定すべく、スイッチ46を「閉」にするようにしてもよい。
【0094】
スイッチ46を「閉」にすると、制御ユニット12−1の制御ユニット制御部43は、下流に更に制御ユニット12が分岐伝送路29−1に接続されているか否かを判断する(S34−C)。この判断は、例えば、分岐伝送路29−1の下流側のインピーダンス値により判断したり、受信時にリターンを返す旨の情報を含むリターン信号を分岐伝送路29に送出し、下流からのリターン信号の有無によって判断したりする。そして、制御ユニット12−1の制御ユニット制御部43は、分岐伝送路29−1における上流と下流とを通信可能にした旨の情報と、下流に制御ユニット12が接続されていない場合にはこの分岐伝送路29−1の制御ユニット12に対するアドレッシングが終了した旨の情報とを含む通信信号(上下流通信可能信号)を分岐伝送路29−1に送出する(S35−C)。
【0095】
設定装置制御部21は、この通信信号を受信すると、受信した通信信号が上下流通信可能信号であると判断し、上下流通信可能信号に当該分岐伝送路29の制御ユニットに対するアドレッシングが終了した旨の情報が含まれるか否かを判断する(S36−S)。
【0096】
判断の結果、設定装置制御部21は、当該分岐伝送路29の制御ユニットに対するアドレッシングが終了した旨の情報が含まれていない場合(No)には、更に下流の制御ユニット12に対してアドレッシングを行うべく、処理を処理S23−Sに戻す。つまり、設定装置制御部21は、分岐伝送路29における上流と下流とが通信可能に接続され、下流の制御ユニット12のアドレッシングが可能となったと判断する。そして、各分岐ユニット11の並び方向に従って行番号データ244の値又は列番号データ245の値の何れかを1つインクリメントする。即ち、各分岐ユニット11の並び方向が同一列番号方向である場合には、列番号データ245を1つインクリメントし、各分岐ユニット11の並び方向が同一行番号方向である場合には、行番号データ244を1つインクリメントする(S23’−S)
このように動作することによって、制御ユニット12−1に行列形式の新アドレス(0101)が割り振られ、設定装置10のアドレッシング情報記憶部24における新旧アドレス対応表データ242及び制御ユニット12−1の制御ユニット記憶部44における新アドレス442に行列形式の新アドレス(0101)が格納される。そして、当該分岐伝送路29の下流に制御ユニット12が接続されている場合には、処理S23−S乃至処理S35−Cを繰り返すことによって、これら下流の制御ユニット12にも順次に行列形式の新アドレス(0102)、(0103)、・・・、(0106)が割り振られ、設定装置10のアドレッシング情報記憶部24における新旧アドレス対応表データ242及び各制御ユニット12−2〜12−6の各制御ユニット記憶部44における新アドレス442に行列形式の新アドレス(0102)、(0103)、・・・、(0106)がそれぞれ格納される。
【0097】
一方、処理S36−Sにおける判断の結果、設定装置制御部21は、当該分岐伝送路29の制御ユニットに対するアドレッシングが終了した旨の情報が含まれている場合(Yes)には、当該分岐伝送路29に接続される制御ユニット12に対するアドレッシングが終了したと判断し、次の分岐ユニット11及びこの分岐ユニット11の分岐伝送路29に接続される制御ユニット12に対してアドレッシングを行うべく、分岐ユニット12−1にスイッチ36−2を「閉」にさせることを指示する旨の情報を含む通信信号(次分岐ユニットアドレッシング信号)を主伝送路28に送出する(S37−S)。
【0098】
分岐ユニット11−1の分岐ユニット制御部33は、この通信信号を受信すると、受信した通信信号からスイッチ36−2を「閉」にさせることを指示する旨の情報を解釈することによって、この通信信号が次分岐ユニットアドレッシング信号であると判断する。そして、分岐ユニット11−1の分岐ユニット制御部33は、スイッチ36−2を「閉」にする(S38−D)。なお、主伝送路28や分岐伝送路29のトラフィック量を低減したり、通信信号の衝突を避けたり、更に、設定装置制御部21の処理量を低減したりする観点から、分岐ユニット11−1の分岐ユニット制御部33は、スイッチ36−1を「開」にするように構成してもよい。
【0099】
スイッチ36−2を「閉」にすると、分岐ユニット11−1の分岐ユニット制御部33は、主伝送路28における上流と下流とを通信可能にした旨の情報を含む通信信号(主伝送路通信可能信号)を主伝送路28に送出する(S39−D)。
【0100】
設定装置制御部21は、この通信信号を受信すると、受信した通信信号が主伝送路通信可能信号であると判断し、主伝送路28における上流と下流とが通信可能に接続され、次の分岐ユニット11のアドレッシングが可能となったと判断する。
【0101】
そして、設定装置制御部21は、全ての分岐ユニット11のアドレッシングが終了したか否かを判断する(S40−S)。この判断は、例えば、設定装置制御部21が、新旧アドレス対応表データ242における機種のフィールドを参照することによって分岐ユニット11のレコード数を計数し、係数結果が施工図面データ241を参照してユーザが入力した分岐ユニット11の個数と一致した場合であって、最下流の分岐ユニット11におけるレコードに新アドレスが格納されているか否かによって行う。
【0102】
判断の結果、分岐ユニット11のアドレッシングが終了していない場合には、各分岐ユニット11の並び方向に従って行番号データ244の値又は列番号データ245の値の何れか一方を1つインクリメントすると共に他方を「0」に初期化した後に、処理を処理S13−Sに戻す(S41−S)。即ち、各分岐ユニット11の並び方向が同一列番号方向である場合には、行番号データ244を1つインクリメントすると共に列番号データ245を「0」に初期化する。また、各分岐ユニット11の並び方向が同一行番号方向である場合には、列番号データ245を1つインクリメントすると共に行番号データ244を「0」に初期化する。
【0103】
このように動作することによって、処理S13−S乃至処理S22−Dが実行され、次の分岐ユニット11−2に行列形式の新アドレス(0200)が割り振られ、そして、設定装置10のアドレッシング情報記憶部24における新旧アドレス対応表データ242及び分岐ユニット11−2の分岐ユニット記憶部34における新アドレス342に行列形式の新アドレス(0200)が格納される。さらに、処理S23−S乃至処理S36−Sが実行され、分岐ユニット11−2の分岐伝送路29−2に接続する各制御ユニット12−7〜12−12に行列形式の新アドレス(0201)、(0202)、・・・、(0206)が割り振られ、設定装置10のアドレッシング情報記憶部24における新旧アドレス対応表データ242及び各制御ユニット12−7〜12−12の各制御ユニット記憶部44における新アドレス442に行列形式の新アドレス(0201)、(0202)、・・・、(0206)がそれぞれ格納される。
【0104】
一方、判断の結果、分岐ユニット11のアドレッシングが終了している場合には、設定装置制御部21は、全てのユニット11、12のアドレッシングが終了しているか否かを判断する(S42−S)。この判断は、例えば、設定装置制御部21が、新旧アドレス対応表データ242の全てのレコードに新アドレスが格納されているか否かによって行う。また例えば、制御ユニット12からの上下流通信可能信号に制御ユニットアドレッシング終了情報が含まれているか否かによって行う。制御ユニットアドレッシング終了情報の有無によって判断すると、施工ミス等で施工図面データ241の内容と実際の施工との不一致を見つけることができる。
【0105】
判断の結果、全てのユニット11、12のアドレッシングが終了していない場合には、各分岐ユニット11の並び方向に従って行番号データ244の値又は列番号データ245の値の何れか一方を1つインクリメントすると共に他方を「1」に初期化した後に、処理を処理S24−Sに戻す(S43−S)。即ち、各分岐ユニット11の並び方向が同一列番号方向である場合には、行番号データ244を1つインクリメントすると共に列番号データ245を「1」に初期化する。また、各分岐ユニット11の並び方向が同一行番号方向である場合には、列番号データ245を1つインクリメントすると共に行番号データ244を「1」に初期化する。これによって最下流の分岐ユニット12−3の主伝送路28に接続されている各制御ユニット12−19〜12−24に対しアドレッシングが行われる。
【0106】
一方、判断の結果、全てのユニット11、12のアドレッシングが終了している場合には、設定装置制御部21は、アドレッシングが完了した旨の情報を含む通信信号(アドレッシング完了信号)を主伝送路28に送出する(S44−S)。
【0107】
アドレッシング完了信号を受信した分岐ユニット11の分岐ユニット制御部33は、アドレッシング完了信号を受信した旨の情報を含む通信信号(アドレッシング完了了承信号)を主伝送路28に送出する(S45−D)。特に、トラフィック量の考慮等によってスイッチ36−1を「開」にしている場合には、スイッチ36−1を「閉」にすると共に、分岐ユニット制御部33がアドレッシング完了信号を再生して信号変換部32及びI/F31を介して主伝送路28に送出す。そして、分岐ユニット11は、分岐ユニット本来の通常動作に移行する(S46−D)。
【0108】
アドレッシング完了信号を受信した制御ユニット12の制御ユニット制御部43は、アドレッシング完了信号を受信した旨の情報を含む通信信号(アドレッシング完了了承信号)を分岐伝送路29に送出する(S45−C)。そして、制御ユニット12は、制御ユニット本来の通常動作に移行する(S46−C)。
【0109】
各ユニット11、12からアドレッシング完了了承信号を受信すると、設定装置10は、設定装置本来の通常動作に移行する(S46−S)。
【0110】
ここで、各ユニット11、12からのアドレッシング完了了承信号が衝突することを避ける観点から、行列形式の新アドレスを用いて、新アドレス順にタイミングを測ってもよい。なお、新アドレス順とは、例えば、行番号ごとに順に、列番号ごとに順に等様々な順が考えられる。
【0111】
なお、上述の設定装置10、分岐ユニット11及び制御ユニット12の間における通信において、初期化信号、アドレッシング信号、旧アドレス信号、後述の新アドレス信号、新アドレス格納信号等の各通信信号を上述のように受信の順番によって識別しても良いが、各通信信号を識別するために、通信信号の種別を示す情報を各通信信号に含めるようにしてもよい。
【0112】
このように動作することによって、機器制御システムの各ユニット11、12に行列形式の新アドレスが割り振られ、各ユニット11、12の制御ユニット記憶部34、44における新アドレス342、442に行列形式の新アドレスがそれぞれ格納される。そして、設定装置10のアドレッシング情報記憶部24における新旧アドレス対応表データ242にも図10(B)に示すように各ユニット11、12の旧アドレス、機種及び新アドレスがそれぞれ格納される。
【0113】
そして、行列形式の新アドレスは、上述のように自動的に各ユニット11、12に割り振られるので、施工時にマニュアル設定する必要がない。また、各ユニット11、12に行列形式の新アドレスが割り振られるので、各ユニット11、12間の相互位置関係を従来のように施工図面を参照することなく、新アドレスを参照するだけで判断することができる。例えば、行番号が同じユニット11、12は、略行方向に並んで配置されており、列番号が同じユニット11、12は、略列方向に並んで配置されており、行番号と列番号とが同一の各ユニット11、12は、略対角方向に並んで配置されている。即ち、行列の数学的な性質を利用することができる。このため、機器制御システムのソフトウェア設計者や機器制御システムの利用者等は、行列の数学的な性質を考慮して、従来に較べて容易にソフトウェア設計や機器制御システムの利用を図ることができる。
【0114】
次に、このような行列形式のアドレスが備える行列の数学的な性質を利用したアプリケーションについて説明する。
(グルーピング)
グルーピングは、分岐ユニット11や制御ユニット12のグループを形成することであり、グループを形成したユニット11、12は、一つの纏まりとして扱われ、同一の属性が与えられる。例えば、或るグループに所属する制御ユニット12は、同一のスケジュールに従って同一の制御パターンで動作したり、形成したグループに新たな識別子が与えられたりする。このようにユニット11、12をグルーピングすることによって、ソフトウェア中でユニット11、12を個々に扱う必要が無く、一括で扱うことができる。
【0115】
ソフトウェア設計者等は、本発明に係る行列形式のアドレスが各ユニット11、12に割り振られているので、実際の施工図面を参照することなく、グルーピングを行うことができる。例えば、図1(A)のように制御ユニット12が4行6列に並んでおり、これらを4個を1個のグループに形成する場合には、アドレスが行列形式であるので、新アドレスが(0101)、(0102)、(0201)及び(0202)の各制御ユニット12を第1グループとし、新アドレスが(0103)、(0104)、(0203)及び(0204)の各制御ユニット12を第2グループとし、新アドレスが(0105)、(0106)、(0205)及び(0206)の各制御ユニット12を第3グループとし、新アドレスが(0301)、(0302)、(0401)及び(0402)の各制御ユニット12を第4グループとし、新アドレスが(0303)、(0304)、(0403)及び(0404)の各制御ユニット12を第5グループとし、そして、新アドレスが(0305)、(0306)、(0405)及び(0406)の各制御ユニット12を第6グループとして直ちに割り振ることができる。
【0116】
そして、制御ユニット12とグループとの対応関係を制御ユニットグループデータ247に格納しておくことにより、例えば、設定装置制御部21は、ソフトウェア中でグループが指定されると、制御ユニットグループデータ247を参照することにより、この指定されたグループに所属する各制御ユニット12を同一のスケジュールに従って同一の制御パターンで動作させることができる。
【0117】
ところで、オフィスビルでは、組織変更等によりフロアのパーティション(partition、区画)を変更する場合がある。このような場合に、パーティションの変更に合わせて、照明器具のグループや空調設備のグループを変更する必要が生じる。設定装置10は、グルーピング装置として、このような場合に新しいグループ編成を次のようにして決定することができ、設定装置制御部21が行列形式アドレスに基づいて複数の制御ユニットを1個のグループに纏めるグルーピング手段として動作する。
【0118】
図11は、グルーピングの動作を示すフローチャートである。図12は、第1のグルーピング方法を説明するための図である。図13は、第2のグルーピング方法における第1方法を説明するための図である。
【0119】
図11乃至図13において、設定装置制御部21は、入力部22よりグループ編成を行う旨の指示が入力されると、図12及び図13に示すグループ編成用の画面表示を表示部22に表示する(S101)。このグループ編成用の画面表示は、施工図面1と各ユニット11、12の新アドレスと設定装置10及び各ユニット11、12の接続状態とから構成される。そして、新アドレスは、対応する各ユニット11、12に付随するように表示される。このグループ編成用の画面表示は、例えば、設定装置制御部21が、アドレッシング情報記憶部24の施工図面データ241から施工図面を読み出すと共に、新旧アドレス対応表データ242を参照することによって、新アドレスが格納されているメモリアドレスから各ユニット11、12と新アドレスの対応とを把握して、対応する各ユニット11、12に付随するように新アドレスを表示する。
【0120】
そして、機器制御システムの利用者は、グルーピング方法を入力部22から入力する。設定装置制御部21は、入力されたグルーピング方法を判断する(S102)。本実施形態では、グルーピング方法は、第1のグルーピング又は第2グルーピング方法を選択することができる。設定装置制御部21は、第1のグルーピング方法が入力された場合には、処理S111を実行し、第2のグルーピング方法が入力された場合には、処理S121を実行する。
【0121】
第1のグルーピング方法は、同一グループに所属するユニット11、12の範囲をこの範囲に所属する対角上に位置する2個のユニット11、12を指定することによって決定する方法である。
【0122】
図12において、まず、機器制御システムの利用者は、対角上に位置する2個のユニット11、12を入力部22から入力することによって、同一グループに所属させたいユニット11、12の範囲を設定する。この2個のユニット11、12の指定は、例えば、カーソルをマウスによってユニット11、12上に移動させ、クリックすることによって行ったり、ライトペンによってユニット11、12の表示画面上をタッチすることによって行う。図12に示す場合では、新アドレス(0203)及び新アドレス(0405)の制御ユニット12−9、12−23が入力された場合を示している。
【0123】
設定装置制御部21は、入力部22から入力されたユニット11、12の新アドレス(α1、β1)、(α2、β2)を認識する(S111)。この新アドレスを持つユニット11、12を対角成分とする行列Aが同一グループに所属するユニット11、12の新アドレスとなるので、設定装置制御部21は、この行列Aの各成分を(α1、β1)及び(α2、β2)に基づいて行成分をα1からα2まで変化させ列成分をβ1からβ2まで変化させることによってそれぞれ計算する(S112)。例えば、上述の例で新アドレス(0203)及び新アドレス(0405)を対角成分とする場合では、設定装置制御部21は、行成分を02から04まで変化させ、列成分を03から05まで変化させることによって、行列A(この場合では3行3列の行列)の各行列成分(0203)、(0204)、(0205)、(0303)、(0304)、(0305)、(0403)、(0404)及び(0405)を得る。
【0124】
一方、第2のグルーピング方法は、同一グループに所属するユニット11、12の範囲をこの範囲に所属する1個のユニット11、12の位置及び距離を指定し、この指定されたユニット11、12の位置を基準に指定された距離にだけ離れた範囲内とする方法である。この第2のグルーピング方法は、基準位置の取り方によって様々な方法がある。例えば、基準位置をグループの範囲における中心位置と考え、この基準位置の上下左右方向に指定された距離だけ離れた範囲をグループの範囲とする第1方法や、基準位置をグループの範囲における一頂点と考え、この基準位置から2方向に指定された距離だけ離れた範囲をグループの範囲とする第2方法等がある。第2方法は、更に、基準位置がどの頂点であるか、距離を2方向独立に指定することができるか、2方向共に同一であるかによって様々な方法がある。例えば、基準位置を左上の頂点とし距離を右方向及び下方向共に同一とする方法や基準位置を右下の頂点とし距離を左方向と上方向とに個別とする方法等がある。そこで、これら各方法を表示部23に表示させ、ユーザに選択させるとよい。
【0125】
利用者は、第2のグルーピング方法のうち更に上述の方法のうち何れの方法を取るかを入力する。設定装置制御部21は、入力部22から入力された方法を判断する(S121)。ここでは、上述の各方法のうち第1方法を選択した場合について以下に説明する。
【0126】
図13において、まず、利用者は、基準位置となるユニット11、12及び距離を入力部22から入力することによって、同一グループに所属させたいユニット11、12の範囲を設定する。図13に示す場合では、新アドレス(0304)の制御ユニット12−16及び(距離の値)=1が入力された場合を示している。
【0127】
設定装置制御部21は、入力部22から入力されたユニット11、12の新アドレス(α3、β3)及び距離を認識する(S122)。この新アドレスを持つユニット11、12を行列の中心成分とし中心成分に距離の値だけ加減された値を行列成分とする行列Bが同一グループに所属するユニット11、12の新アドレスとなるので、設定装置制御部21は、この行列Bの各成分を(α3、β3)及び距離の値に基づいて行成分を(α3−(距離の値))から(α3+(距離の値))まで変化させ列成分を(β3−(距離の値))から(β3+(距離の値))まで変化させることによってそれぞれ計算する(S123)。例えば、上述の例で新アドレス(0304)及び(距離の値)=1とする場合では、設定装置制御部21は、行成分を03−1=02から03+1=04まで変化させ、列成分を04−1=03から04+1=05まで変化させることによって、行列Bの各行列成分(0203)、(0204)、(0205)、(0303)、(0304)、(0305)、(0403)、(0404)及び(0405)を得る。
【0128】
次に、設定装置制御部21は、算出した新アドレスに基づいて、同一グループに所属する各ユニット11、12の表示を変化させる(S131)。例えば、図12や図13に示すように、同一グループに所属する各ユニットを、一点鎖線の平行四辺形の領域で囲んだり、表示色を変えたり、明滅させたりする。
【0129】
そして、利用者は、このような表示を参照することによって、同一グループに所属する各ユニット11、12を確認し、確定を入力部22から入力する。設定装置制御部21は、確定が入力部22から入力されると、グループ化されたユニット11、12の機種によって、分岐ユニットグループデータ246又は制御ユニットグループデータ247に新グループに所属する各ユニット11、12に関する情報を格納する(S132)。
【0130】
このようにして機器制御システムの利用者は、同一グループに所属する各ユニット11、12に関する情報を全て入力することなく、簡単な少数のデータ入力によって新グループ編成を行うことができる。そして、新アドレスが行列形式で設定されているので、設定装置10は、上述のように少ない入力データから同一グループに所属する各ユニット11、12を簡単に迅速に求めることができ、新グループ編成を行うことができる。また、新アドレスが行列形式で設定されているので、ソフトウェア開発者は、上述のように少ない入力データから同一グループに所属する各ユニット11、12を簡単に迅速に求めるプログラムを容易に作成することができ、デバッグも容易に行うことができる。
【0131】
次に、このような行列形式のアドレスを備える機器制御システムの通常動作の一例を説明する。
(機器制御システムの通常動作例)
この実施形態は、各制御ユニット12に更に人感センサをそれぞれ備え、人感センサが人体を検出した場合に制御ユニット12が制御する機器13を第1のレベルで運転し、当該制御ユニット12に対し周囲の制御ユニット12がそれぞれ制御する機器13を第2のレベルで運転し、そして、これ以外の制御ユニット12が制御する機器13を第3のレベルで運転する機器制御システムである。
【0132】
ここで、人感センサは、例えば、赤外線を検知すると共に検知した赤外線の移動を検出することによって人の有無を識別する赤外線の人感センサや、画像から人の有無を識別する画像識別による人感センサ等を利用することができる。
【0133】
そして、例えば、第1のレベルを機器13の最大出力に設定し、第2のレベルを機器13の最大出力に移行するための予備出力レベルに設定し、第3のレベルを機器13のゼロ出力に設定すると、機器制御システムは、機器13によって、人が居るエリアでは快適な環境を提供し、人が居るエリアの周囲エリアでは快適な環境を迅速に提供等する環境を提供し、人が居るエリアから離れたエリアでは無駄なエネルギーを消費しない環境を提供することができる。
【0134】
より具体的には、機器13が照明器具の場合では、第1のレベルをフル点灯に設定し、第2のレベルをほの明るい点灯レベル(例えば、フル点灯の50%点灯や30%点灯等)に設定し、第3のレベルを消灯に設定する。このように設定することにより、人が居るエリアでは、充分な明るさを確保し、人が居るエリアの周囲エリアでは、人が移動することによって人が居るようになった時に迅速にフル点灯することができると共に人に安心感を与え、人が居るエリアから離れたエリアでは無駄な照明を防止することができる。また例えば、機器13が空調設備の場合では、第1のレベルを強送風に設定し、第2のレベルを弱送風に設定し、第3のレベルを送風無しに設定する。このように設定することにより、人が居るエリアでは、充分な設定温度を確保し、人が居るエリアの周囲エリアでは、人が移動することによって人が居るようになった時に迅速に強送風することができると共に人が居るエリアとの温度差が緩和されるため人にやさしい環境を与え、人が居るエリアから離れたエリアでは無駄な運転を防止することができる。
【0135】
そして、このような通常動作を行うために、制御ユニット12は、図4に破線で示すように、検出出力を制御ユニット制御部43に出力する人感センサ48と、一定時間の経過を制御ユニット制御部43に出力するタイマ49と、他の制御ユニット12からの指示により第2のレベルで運転すべきか否かの情報を格納する第2レベル運転フラグデータ443とを更に備える。
【0136】
なお、制御ユニット12−1〜12−24に行列形式のアドレスがそれぞれ割り振られた後は、例えば、分岐ユニット11の代わりに2本の伝送線を単に接続したり、制御ユニット12−6と制御ユニット12−12とを伝送路で接続し制御ユニット12−7と制御ユニット12−13とを伝送路で接続し制御ユニット12−18と制御ユニット12−24とを伝送路で接続したりすることによって制御ユニット12−1〜12−24が互いに通信可能に伝送路によって接続されていれば、分岐ユニット11−1〜11−3が無くても、通常動作を行うことができる。
【0137】
図14は、機器制御システムの通常動作例の動作を示すフローチャートである。図15は、機器制御システムの通常動作例を説明するための図である。
【0138】
図14及び図15において、制御ユニット12の制御ユニット制御部43は、人感センサ48から検出出力の有無を判断する(S151)。
【0139】
判断の結果、検出出力がある場合(Yes)には、制御ユニット制御部43は、機器制御部47に自己が管理する機器13を第1のレベルで運転する制御データを生成して機器制御部47に出力し、機器制御部47は、機器13に第1のレベルで運転するように制御信号を出力する(S152)。さらに、制御ユニット制御部43は、制御ユニット記憶部44の新アドレスデータ442から自己の新アドレスを読み出し、自己の新アドレスの情報及び第2のレベルで機器13を制御する旨の情報を含む通信信号(第2レベル運転信号)を信号変換部42及びI/F41を介して、ブロードキャストする。そして、処理を処理S151に戻す(S153)。
【0140】
一方、判断の結果、検出出力が無い場合(No)には、制御ユニット制御部43は、制御ユニット記憶部44の第2レベル運転フラグデータ443に第2のレベルで運転する情報が格納されているか否かを判断する(S154)。判断の結果、第2のレベルで運転する情報が格納されている場合には、制御ユニット制御部43は、機器制御部47に自己が管理する機器13を第2のレベルで運転する制御データを生成して機器制御部47に出力し、機器制御部47は、機器13に第2のレベルで運転するように制御信号を出力する。そして、処理S157を実行する(S155)。一方、判断の結果、第2のレベルで運転する情報が格納されていない場合には、制御ユニット制御部43は、機器制御部47に自己が管理する機器13を第3のレベルで運転する制御データを生成して機器制御部47に出力し、機器制御部47は、機器13に第3のレベルで運転するように制御信号を出力する。そして、処理S157を実行する(S156)。
【0141】
処理S157において、制御ユニット制御部43は、I/F41及び信号変換部42を介して、第2レベル運転信号を受信したか否かを判断する。
【0142】
判断の結果、第2レベル運転信号を受信していない場合(No)には、制御ユニット制御部43は、処理を処理S151に戻す。
【0143】
一方、判断の結果、第2レベル運転信号を受信している場合(Yes)には、制御ユニット制御部43は、第2レベル運転信号に収容されている新アドレス(α4、β4)と自己の新アドレスデータ442に格納されている新アドレス(α5、β5)とを比較することによって、第2レベル運転信号が自己に対し周囲の制御ユニット12から発信された通信信号であるか否かを判断する(S158)。この判断は、新アドレスが行列形式であることを利用して式1を満たすか否かによって判断され、式1を満たす場合には自己に対し周囲の制御ユニット12から発信された通信信号であると判断する。
−1≦α5−α4≦+1かつ−1≦β5−β4≦+1 ・・・ (1)
判断の結果、第2レベル運転信号が自己に対し周囲の制御ユニット12から発信された通信信号である場合(Yes)には、第2レベル運転フラグデータ443に第2のレベルで運転する情報を格納すると共にタイマ49をリセットする。そして、処理S151を実行する(S159)。一方、第2レベル運転信号が自己に対し周囲の制御ユニット12から発信された通信信号でない場合(No)には、第2レベル運転信号を廃棄する。そして、処理S151を実行する(S160)。
【0144】
一方、制御ユニット制御部43は、タイマ49の出力があった場合に割り込み処理により、第2レベル運転フラグデータ443をクリアする。これによって、自己が制御する機器13を第2の運転レベルで制御した場合に、最後の第2レベル運転信号を受信してから所定時間経過後に第3の運転レベルに機器13を切り替えることができる。
【0145】
このように動作することによって、例えば、図15において、エリアE−9に人が居る場合には、制御ユニット12−9の制御ユニット制御部43−9は、処理S151(Yes)、処理S152及び処理S153と動作することによって、機機13−9を第1のレベルで運転すると共に、新アドレス(0203)を含む第2レベル運転信号をブロードキャストする。そして、各制御ユニット12−1〜12−24の制御ユニット制御部43−1〜43−24は、処理S151、処理S154、処理S156、処理S157及び処理S158を実行する。そして、制御ユニット12−2、12−3、12−4、12−8、12−10、12−14、12−15及び12−16は、周囲の制御ユニットから発信された第2レベル運転信号であると判断し、処理S159、処理S161、処理S151、処理154及び処理155を実行し、機機13−2、13−3、13−4、13−8、13−10、13−14、13−15及び13−16を第2のレベルでそれぞれ運転する。一方、制御ユニット12−1、12−5〜12−7、12−11〜12−13及び12−17〜12−24は、周囲の制御ユニットから発信された第2レベル運転信号ではないと判断し、処理S160、処理S161、(処理S162)、処理S151、処理S154及び処理S156を実行し、機器13−1、13−5〜13−7、13−11〜13−13及び13−17〜12−24を第3のレベルで運転する。
【0146】
そして、この実施形態では、割り込み処理により、第2レベル運転信号を受信してからタイマ49に設定された所定の時間が経過すると、第2レベル運転フラグデータ443がクリアされ、機器13は、第3のレベルに運転される。
【0147】
このように動作することにより、機器制御システムは、人感センサが人体を検出した場合に制御ユニット12が制御する機器13を第1のレベルで運転し、当該制御ユニット12に対し周囲の制御ユニット12がそれぞれ制御する機器13を第2のレベルで運転し、そして、これ以外の制御ユニット12が制御する機器13を第3のレベルで運転する。そして、各制御ユニット12が行列形式のアドレスを備えるので、行列の数学的な性質を利用することにより、人感センサに反応があった制御ユニット12は、自己の周囲の制御ユニット12における行列形式アドレスを簡単に・迅速に算出することができる。
【0148】
なお、上述の実施形態では、第2レベル運転信号に自己の新アドレス(α6、β6)を収容してブロードキャストしたが、第2レベル運転信号を発信する制御ユニット制御部43が、行成分を(α6−1)から(α6+1)まで変化させ列成分を(β6−1)から(β6+1))まで変化させることによって、周囲の制御ユニット43の各新アドレスを演算し、第2レベル運転信号をマルチキャストするように構成してもよい。このように構成することにより、主伝送路28及び分岐伝送路29のトラフィックを減少させることができ、他の制御ユニット制御部43が処理S158及び処理S160を行う必要がなくなるので、負荷を軽減することができる。
【0149】
また、上述の実施形態において、制御ユニット制御部43は、処理S157、処理S158、処理S159及び処理S160を割り込みによって処理するように構成してもよく、そして、処理S161及び処理S162を割り込みによって処理するように構成してもよい。
【0150】
さらに、上述の実施形態において、通信信号の波形劣化を再生する機能を分岐ユニット11や制御ユニット12にさらに備えるように構成してもよい。このような機能を付加することにより、伝送距離を延長することができ、信号の誤りを抑制することができる。
【0151】
【発明の効果】
以上説明したように、請求項1に記載の機器制御システムでは、各制御ユニットは、行列形式アドレスを持つので、ソフトウェア開発者や機器制御システムの使用者等は、行列の数学的な性質を利用することによって、行列形式アドレスを参照するだけで各制御ユニットの相互の配置関係、延いては機器の相互の配置関係を把握することができる。このため、ソフトウェア開発者や機器制御システムの使用者等は、施工図面等を参照することなく、グループ化を行うことができる。また、制御ユニットには、行列形式アドレスが割り振られるので、新たに制御ユニットを追加した場合に、接続する既設の制御ユニットに続くように新たな制御ユニットに行列形式アドレスを割り振ることができる。
【0152】
請求項2及び請求項3に記載の機器制御システムでは、請求項1に記載の効果に加えて、グルーピング装置を備えるので、機器制御システムの利用者等は、グループの変更を行うことができる。そして、グルーピング装置は、制御ユニットが行列形式アドレスを備えるので、対角にある2個の制御ユニットや基準となる1個の制御ユニットと行方向及び列方向の距離とに基づいて、行列の数学的な性質を利用することによりグループに所属する他の制御ユニットを簡単・迅速に算出することができる。そのため、機器制御システムの利用者等は、グループに属する全ての制御ユニットを指定する必要が無く、上述の簡単な入力でグループの変更をすることができる。
【0153】
請求項4に記載の機器制御システムでは、請求項1に記載の効果に加えて、各制御ユニットが行列形式アドレスを備えるので、行列の数学的な性質を利用することにより、第2の運転レベルで運転するように指示する旨の情報を含む通信信号を受信した場合にその発信元の制御ユニットが自己の周囲の制御ユニットであるか否かを行列形式アドレスに基づいて簡単に・迅速に算出することができ、機器の運転状態を適切に制御することができる。
【0154】
請求項5に記載の機器制御システムでは、請求項1に記載の効果に加えて、各制御ユニットが行列形式アドレスを備えるので、行列の数学的な性質を利用することにより、人感センサに反応があった制御ユニットは、自己の周囲の制御ユニットにおける行列形式アドレスを簡単に・迅速に算出することができ、人感センサに反応があった制御ユニットにおける周囲の制御ユニットが制御する機器の運転状態を制御することができる。
【0155】
請求項6に記載の機器制御システムでは、請求項1に記載の効果に加えて、各制御ユニットが行列形式アドレスを備えるので、行列の数学的な性質を利用することにより、第2の運転レベルで制御するように指示する通信信号を受信した制御ユニットは、受信した通信信号が自己の周囲の制御ユニットから送信されたか否かを簡単に・迅速に算出することができ、人感センサに反応があった制御ユニットにおける周囲の制御ユニットが制御する機器の運転状態を制御することができる。
【0156】
請求項7の制御ユニット、請求項8の分岐ユニット、請求項9のアドレッシング装置及び請求項10の機器制御システムでは、上流と下流との伝送を行列形式アドレスが割り振られたか否かに従ってオフ・オンするので、行列形式アドレスを割り振ろうとする対象の制御ユニット及び分岐ユニットにおけるアドレスを指定することなく、通信を確立することができ、行列形式アドレスを割り振ることができる。
【図面の簡単な説明】
【図1】機器制御システムの構成を示す図である。
【図2】機器制御システムにおける設定装置の構成を示すブロック図である。
【図3】機器制御システムにおける分岐ユニットの構成を示すブロック図である。
【図4】機器制御システムにおける制御ユニットの構成を示すブロック図である。
【図5】機器制御システムの構成の他の例を示す図である。
【図6】新アドレスを設定する動作を示すフローチャート(その1)である。
【図7】新アドレスを設定する動作を示すフローチャート(その2)である。
【図8】新アドレスを設定する動作を示すフローチャート(その3)である。
【図9】新アドレスを設定する動作を示すフローチャート(その4)である。
【図10】アドレッシング情報記憶部における新旧アドレス対応表データを示す図である。
【図11】グルーピングの動作を示すフローチャートである。
【図12】第1のグルーピング方法を説明するための図である。
【図13】第2のグルーピング方法における第1方法を説明するための図である。
【図14】機器制御システムの通常動作例の動作を示すフローチャートである。
【図15】機器制御システムの通常動作例を説明するための図である。
【図16】従来の機器制御システムの構成を示す図である。
【符号の説明】
10 設定装置、11 分岐ユニット、12 制御ユニット、13 機器、21設定装置制御部、22 入力部、23 表示部、24 アドレッシング情報記憶部、241 施工図面データ、242 新旧アドレス対応表データ、243 履歴データ、244 行番号データ、245 列番号データ、246 分岐ユニットグループデータ、247 制御ユニットグループデータ、248 制御対象機器グループデータ、25 機器制御状態情報記憶部、251 オンオフ状態データ、252 制御パターンデータ、253 制御スケジュールデータ、26、32、42 信号変換部、27、31、41 インターフェース部、28 主伝送路、29 分岐伝送路、33 分岐ユニット制御部、34 分岐ユニット記憶部、341、441 旧アドレスデータ、342、442 新アドレスデータ、35、45 接点開閉部、36、46 スイッチ、43 制御ユニット制御部、44 制御ユニット記憶部、443 第2レベル運転フラグデータ、47 機器制御部、48 人感センサ、49 タイマ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention is used in a device control system for controlling a plurality of devices on a floor of an office building or the like, a control unit having a matrix-type address and controlling the device, a branch unit having a matrix-type address and branching a transmission path, The present invention relates to an addressing device for allocating a matrix address to these control units and branch units. Further, the present invention relates to a device control system including these.
[0002]
[Prior art]
Equipment such as lighting equipment and air conditioning equipment is equipment that prepares the office environment, such as securing sufficient brightness and maintaining a comfortable temperature, but the space in which one device can be prepared is limited. I have. Therefore, in a large space such as the floor of an office building, the space is divided into a plurality of sections, and equipment is provided in each of the divided sections to prepare an office environment of the entire space. In addition, when there is a person in the entire space, it is only necessary to control a plurality of devices in a uniform driving state, but depending on the time zone such as early morning or evening, depending on the division, there may be people or not, and so on. Therefore, it is necessary to individually control a plurality of devices. Therefore, conventionally, a plurality of devices on a floor such as an office building are controlled by a device control system.
[0003]
FIG. 16 is a diagram illustrating a configuration of a conventional device control system. In FIG. 16, a conventional device control system includes a plurality of devices (not shown) and a plurality of control units 102-1 to 102-102 that individually control the operating states of the devices provided for the plurality of devices. -20, a master unit 100 for integrally controlling a plurality of devices by transmitting control data indicating an operation state of the device to a control unit 102 for controlling the device, and a master device 100 and a plurality of control units 102. And a transmission line 104 branched by branch units 101-1 to 101-3 for communicably connecting the master unit 100 and the plurality of control units 102-1 to 102-20. Is usually performed using an address assigned to the control unit 102 in order to specify the control unit 102 to which control data is to be transmitted ( Example, Patent Document 1).
[0004]
[Patent Document 1]
JP-A-6-14366
[0005]
[Problems to be solved by the invention]
By the way, the addresses allocated to the control units 102-1 to 102-20 are a1, a2, a3,... From the first control unit 102-1 to the last control unit 102-20 as shown in FIG. , A20, etc., or in a completely random manner (not shown).
[0006]
In such a case, when a software developer who creates a control program for the device control system attempts to develop a control program for controlling adjacent devices in one group, or when a user of the device control system For example, when it is desired to change the group set by the software developer in accordance with the change of the address, it is not possible to grasp the arrangement relationship between devices simply by referring to the address. It is necessary to refer to the construction drawings and correspondence tables described in association with each other. For this reason, there arises a problem that it is troublesome that the construction drawings and the like must be obtained and referenced one by one, and that it becomes difficult to group the construction drawings and the like when the construction drawings and the like are lost. In particular, as shown by the broken line in FIG. 16, when the control units 102-21 to 102-24 are added by the extension work, the addresses of the added control units 102-21 to 102-24 are added. The above situation is a serious problem because the address is not continuously assigned to the existing control unit 102 adjacent to the control unit 102 (for example, the existing control unit 102-16 for the added control unit 102-21). Become.
[0007]
Therefore, the present invention has been made in view of the above-described problems, and has a device control system including an address reflecting an arrangement position of a device, a control unit, a branch unit, and addressing used in such a device control system. It is intended to provide a device.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, according to claim 1, in a device control system including a plurality of control units that are connected by a transmission path so as to be able to communicate with each other and control an operation state of the device, the control unit is arranged on a plane. A coordinate system composed of mutually independent row and column directions is defined, and values in the row direction and column direction at points where the positions of the control units are projected on the plane are represented in matrix form, and are represented in matrix form. And a storage unit for storing the obtained matrix format address as the address of the control unit.
[0009]
In such a device control system, each control unit has a matrix format address, so that software developers and users of the device control system can refer to the matrix format address by utilizing the mathematical properties of the matrix. By simply doing so, the mutual arrangement of the control units, and hence the mutual arrangement of the devices, can be grasped. Therefore, a software developer, a user of the device control system, and the like can perform grouping without referring to the construction drawings and the like. Further, since a matrix-type address is allocated to the control unit, when a new control unit is added, a matrix-type address can be allocated to the new control unit so as to follow the existing control unit to be connected.
[0010]
According to a second aspect of the present invention, in the device control system according to the first aspect, a designation unit that designates two diagonal control units of the plurality of control units, and a matrix of the two designated control units Based on the recognition means for recognizing the format addresses (αa, βa) (αb, βb) and the recognized matrix format addresses (αa, βa) (αb, βb), the matrix format addresses (αa, βa) (αb , Βb) are calculated as diagonal components, and matrix-format addresses corresponding to the matrix-format addresses (αa, βa) (αb, βb) are assigned. The apparatus further includes a grouping device including grouping means for grouping the control units into one group.
[0011]
According to a third aspect of the present invention, in the device control system according to the first aspect, a designation unit that designates a distance in a row direction and a column direction from one of the plurality of control units in the row direction and the column direction. Recognition means for recognizing the matrix-format addresses (αa, βa) of the control units, and the specified distance in the row direction and the specified distance in the column direction based on the recognized matrix-format addresses (αa, βa) And a grouping device including grouping means for calculating a matrix-type address of the control units within the range and grouping the control units within the range into one group.
[0012]
Since such a device control system includes a grouping device, a user or the like of the device control system can change a group. Since the control unit is provided with a matrix-type address, the grouping device calculates a matrix based on the distance between two diagonal control units and one reference control unit in the row and column directions. By using the characteristic, other control units belonging to the group can be calculated easily and quickly. Therefore, the user of the device control system does not need to specify all the control units belonging to the group, and can change the group by the simple input described above.
[0013]
According to a fourth aspect, in the equipment control system according to the first aspect, the operating states of the equipment include a first operating level and a second operating level that is an operating level lower than the first operating level. At least a third operation level which is lower than the second operation level, wherein the control unit controls the operation state of a device which is controlled by a human sensor for detecting a person. The control unit controls the device to be controlled by itself when the human sensor detects an output so as to be at the first operation level, and controls the other control unit to operate at the second operation level. Output a communication signal instructing to drive in the case of receiving no communication signal including information indicating an instruction to drive in the second driving level when there is no output from the human sensor; Is When the communication signal received by comparing a matrix format address stored in the storage unit matrix form address signals and communication signals are received from the surrounding control unit is operated in the second operating level.
[0014]
In such a device control system, since each control unit is provided with a matrix-type address, a communication signal including information indicating an instruction to operate at the second operation level is made by using the mathematical property of the matrix. Can be easily and quickly calculated based on the matrix format address as to whether or not the source control unit is a control unit around itself, and appropriately control the operation state of the device. be able to.
[0015]
Further, according to claim 5, in the equipment control system according to claim 1, the operation state of the equipment includes a first operation level and a second operation level that is lower than the first operation level. At least a third operation level which is lower than the second operation level, wherein the control unit controls the operation state of a device which is controlled by a human sensor for detecting a person. The storage unit further stores a flag indicating whether or not an instruction has been given from another control unit to operate at the second operation level, and the control unit has an output from the human sensor. If there is, the device controlled by itself is controlled to be at the first operation level, and the matrix format address of the surrounding control unit is determined based on the matrix format address stored in the storage unit. Calculate and output a communication signal instructing the surrounding control unit to operate at the second operation level, and when there is no output from the motion sensor, control the device controlled by itself based on the flag. Control is performed so as to reach the second operation level.
[0016]
In such a device control system, since each control unit has a matrix-type address, by utilizing the mathematical property of the matrix, the control unit that has responded to the motion sensor can control the control unit in the vicinity of itself. It is possible to easily and quickly calculate the matrix format address, and to control the operating state of the devices controlled by the surrounding control units in the control unit that has responded to the motion sensor.
[0017]
According to a sixth aspect, in the equipment control system according to the first aspect, the operating states of the equipment include a first operating level and a second operating level that is lower than the first operating level. At least a third operation level which is lower than the second operation level, wherein the control unit controls the operation state of a device which is controlled by a human sensor for detecting a person. The storage unit further stores a flag indicating whether or not an instruction has been given from another control unit to operate at the second operation level, and the control unit has an output from the human sensor. If there is, control is performed so that the device controlled by itself is at the first operation level, and an instruction to operate at the matrix operation address stored in the storage unit and the second operation level. Affection And outputs a communication signal including the following. When there is no output from the human sensor, the device controlled by itself is controlled to a second operation level based on the flag. When a communication signal including information indicating an instruction to drive is received, the received communication signal is compared with a matrix-format address of the received communication signal and a matrix-format address stored in the storage unit. It is determined whether or not it has been received from a control unit, and if it has been received from a surrounding control unit, the flag is changed to indicate that it has been instructed to operate at the second operation level.
[0018]
In such a device control system, since each control unit has a matrix-type address, the control unit receiving a communication signal instructing to control at the second operation level by utilizing the mathematical property of the matrix. Is a device that can easily and quickly calculate whether or not a received communication signal has been transmitted from a control unit around the device, and that is controlled by the surrounding control unit in the control unit that has responded to the motion sensor. Can be controlled.
[0019]
According to the present invention, a coordinate system composed of mutually independent row directions and column directions is defined on a plane, and the values of the row direction and the column direction at a point where the arrangement position of the control unit is projected on the plane are defined. New address storage unit for storing a matrix format address in a matrix format, an old address storage unit in which addresses are stored in advance, and a switch for turning on and off transmission of communication signals between upstream and downstream And a control unit for controlling the on / off of the switch, and a control unit for controlling an operation state of a device including a transmitting and receiving unit for transmitting and receiving a communication signal to and from the outside, wherein the control unit turns off the switch. When an addressing signal including information indicating that allocation of a matrix format address is to be started is received from the upstream in the state, the old address signal including the address of the old address storage unit is upstream. When a new address signal including a matrix address is received from the upstream in response to the reply, the matrix address is extracted from the received new address signal, stored in the new address storage unit, and the matrix address is stored. The switch is turned on after storing in the new address storage unit.
[0020]
According to claim 8, a coordinate system composed of mutually independent row and column directions is defined on a plane, and values of the row direction and column direction at a point where the arrangement position of the control unit is projected on the plane are defined as a matrix. A new address storage unit for storing a matrix format address expressed in a format, an old address storage unit in which addresses are stored in advance, and a second address for turning on / off transmission of a communication signal between an upstream and a first downstream. A first switch, a second switch for turning on / off a transmission of a communication signal between an upstream and a second downstream different from the first downstream, and controlling on / off of the first and second switches. A branch unit for branching a transmission path including a control unit and a transmission / reception unit that transmits and receives a communication signal to and from the outside, wherein the control unit is configured to turn off the first and second switches and to transmit a matrix format address from an upstream. Start allocation When receiving the addressing signal including the information indicating that the address information is received, the old address signal including the address of the old address storage unit is returned to the upstream, and the new address signal including the matrix format address is received from the upstream in response to the reply. In this case, a matrix format address is taken out from the received new address signal and stored in the new address storage unit, and after storing the matrix format address in the new address storage unit, one of the first and second switches is turned off. When the addressing end signal including the information indicating that the allocation of the matrix format address to the turned-on downstream has been completed is received, the other switch that has not been turned on is turned on.
[0021]
In the ninth aspect, a matrix-type address is allocated to the branch unit and the control unit of the device control system including the branch unit that branches the transmission line and the control unit that controls the operation state of the device connected to the branched transmission line. In the addressing device, a construction drawing storage unit that stores construction drawing information indicating an arrangement positional relationship between the branch unit and the control unit, and the branch unit based on an arrangement positional relationship between the branch unit and the control unit. And a value in the row direction at a point where the arrangement position of the control unit is projected on the plane by defining a coordinate system composed of row directions and column directions independent of each other on the plane and the addresses pre-stored in the control unit. Stores a new and old address correspondence table indicating the correspondence relationship with the matrix format address in which the values in the column direction are represented in a matrix format. A new / old address correspondence table storage unit, a control unit that allocates a matrix format address to the branch unit and the control unit, and a transmission / reception unit that transmits and receives a communication signal through the branch unit and the control unit and the transmission path, and the control unit Allocating a matrix address to the branching unit with transmission between an upstream and a first downstream and transmission between an upstream and a second downstream different from the first downstream turned off. An addressing signal including information indicating the start of the addressing is transmitted, and when an old address signal including an address corresponding to the addressing signal is received, an address extracted from the received old address signal and the arrangement positional relationship are used. A new address signal including the generated matrix format address and the generated matrix format address stored in the new / old address correspondence table. And transmitting a first branch unit addressing end signal for turning on transmission to any one of the first and second downstreams after transmitting the new address signal and transmitting all the control units connected to the downstream turned on. When a matrix address is allocated to the control unit, a next branch unit addressing signal for turning on the transmission to the other is transmitted, and the transmission between the upstream and the downstream is turned off to the control unit. When an addressing signal including information to start address allocation is transmitted, and an old address signal including an address is received in response to the addressing signal, an address extracted from the received old address signal and the arrangement positional relationship are received. The matrix format address generated according to the above is stored in the new / old address correspondence table and the matrix format generated A new address signal including a formula address is transmitted, and after transmitting the new address signal, a control unit addressing end signal for turning on the downstream transmission is transmitted.
[0022]
According to claim 10, a branch unit for branching a transmission line, a control unit for controlling an operation state of a device connected to the branched transmission line, and a matrix format address for the branch unit and the control unit connected to the transmission line. In an equipment control system including an addressing device to be allocated, the control unit is the control unit according to claim 7, the branch unit is the branch unit according to claim 8, and the addressing device is a control unit according to claim 8. 9. The addressing device according to item 9.
[0023]
In the control unit, the branching unit, the addressing device, and the device control system having such a configuration, the transmission between the upstream and the downstream is turned on / off according to whether or not a matrix address is allocated, and therefore, an attempt is made to allocate a matrix address. Communication can be established without specifying addresses in the target control unit and branch unit, and a matrix format address can be allocated.
[0024]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In each drawing, the same components are denoted by the same reference numerals, and description thereof will be omitted. First, the configuration of the present embodiment will be described.
(Configuration of the embodiment)
FIG. 1 is a diagram showing a configuration of a device control system, FIG. 1 (A) is an overall configuration diagram, and FIG. 1 (B) shows a configuration in a control area of one control unit. FIG. 2 is a block diagram illustrating a configuration of a setting device in the device control system. FIG. 3 is a block diagram illustrating a configuration of a branch unit in the device control system. FIG. 4 is a block diagram illustrating a configuration of a control unit in the device control system.
[0025]
In FIG. 1A, the device control system according to the present embodiment includes a setting device 10, a plurality of branch units 11, a plurality of control units 12, a plurality of devices 13, a main transmission line 28, a branch transmission line 29, It comprises. The setting device 10 and each branch unit 11 are sequentially connected so as to be able to communicate from the setting device 10 to each branch unit 11 via the main transmission path 28, and the branch unit 11 and each control unit 12 are connected from the branch unit 11 to this branch. Each of the control units 12 controlled by the unit 11 is sequentially connected so as to be communicable via a branch transmission line 29. Therefore, the setting device 10, the branching unit 11, and the control unit 12 are communicably connected to each other by the transmission line (the main transmission line 28 and the branch transmission line 29).
[0026]
The devices 13 are electrical devices installed in a building, such as a lighting fixture, an air conditioner, an entry / exit management device, a security device, a disaster prevention device, and a power control device. The control unit 12 is a device that controls the device 13 managed by itself based on control data from the setting device 10 and control data from another control unit 12, and details of its configuration and functions will be described later. The branching unit 11 is a device that opens and closes the connection between the upstream and downstream in the main transmission line 28 and opens and closes the connection between the main transmission line 28 and the branch transmission line 29. The details of the configuration and functions will be described later. Note that, in order to indicate the transmission direction of the communication signal, the setting device 10 side is referred to as upstream, and the terminal side of the control unit 12 is referred to as downstream.
[0027]
The number of control units 12 is determined based on the number of devices 13 that can be controlled by one control unit 12, the number of devices 13 that are actually installed in a building, management requirements for the devices 13, and the like. For example, in the case of the present embodiment, the devices 13 are lighting fixtures, and eight pieces are provided in the direction A shown in FIG. 1A, and ninety pieces are provided in the direction B which is linearly independent of the direction A. They are arranged in a matrix on the floor. Since one control unit 12 can control four devices 13 (13-a to 13-d) as shown in FIG. 1B, the control units 12 (12-1 to 12-12) can be controlled. −24) is 24 in the direction A and six in the direction B. The ranges (control areas) E-1 to E-24 of the devices 13 that can be controlled by one control unit 12 are indicated by broken-line squares in FIGS.
[0028]
The number of branch units 11 is determined by the direction in which the plurality of control units 12 are communicable and sequentially connected, and as shown in FIG. 1, the control units 12 can be collectively communicated in the B direction. , The number is “(number of control units 12 in direction A) −1”. In the case of the present embodiment, the number of branch units 11 (11-1 to 11-3) is 4-1 = 3. The branch unit 11-1 and each of the control units 12-1 to 12-6 are sequentially connected so as to be communicable via a branch transmission line 29-1, and the branch unit 11-2 and each of the control units 12-7 to 12-6 are connected. -12 is sequentially connected so as to be communicable with the branch transmission line 29-2, and the branch unit 11-3 and each of the control units 12-13 to 12-18 are sequentially connected so as to be communicable with the branch transmission line 29-3. The branch unit 11-3 and each of the control units 12-19 to 12-24 are sequentially connected communicably at a downstream end of the main transmission path 28.
[0029]
FIG. 5 is a diagram illustrating another example of the configuration of the device control system. As shown in FIG. 5, when the control units 12 are collectively connected in the direction A and sequentially connected so as to be communicable, the number is “(the number of control units 12 in the direction B) −1”. In the case of this embodiment, the number of branch units 11 (11-1 to 11-5) is 6-1 = 5.
[0030]
First, the configuration of the setting device 10 will be described. The setting device 10 is a device that newly sets an address in the branch unit 11 and the control unit 12, and instructs how the control unit 12 should control the device 13 to be controlled. More specifically, as shown in FIG. 2, the setting device 10 includes a setting device control unit 21, an input unit 22, a display unit 23, an addressing information storage unit 24, and a device control state information storage unit 25. , A signal conversion unit 26, and an interface unit (I / F) 27.
[0031]
The input unit 22 is a device that inputs various commands and various data such as a start instruction of the present system to the setting device 10, and is, for example, a keyboard, a mouse, and a light pen. The display unit 23 is a device that displays a command input from the input unit 22, the operation status of the branch unit 11, the control unit 12, and the control target device 13, and is, for example, a CRT display, an LCD, an organic EL display, or the like.
[0032]
The addressing information storage unit 24 stores information necessary for setting a new address in the branch unit 11 and the control unit 12, information indicating the relationship between the branch units 11, information indicating the relationship between the control units 12, and control. A storage device that stores information indicating the relationship between the target devices 13 and a program executed by the setting device control unit 21. For example, rewriting of RAM (Random Access Memory) or EEPROM (Electrically Erasable Programmable Read Only Memory) is performed. It is configured with a possible memory. More specifically, the addressing information storage unit 24 stores, for example, construction drawing data 241, new and old address correspondence table data 242, history data 243, row number data 244, column number data 245, branch unit group data 246, and control unit group. Data 247 and control target device group data 248 are stored.
[0033]
The construction drawing data 241 is data for schematically displaying, on a screen of the display unit 23, a plan view of the building and a positional relationship among the equipment 13, the control unit 12, the branching unit 11, and the setting device 10. The new / old address correspondence table data 242 is a table indicating the correspondence between the old address and the new address. The old address is an address previously assigned to the branch unit 11 and the control unit 12 before the new address is set, and the new address is newly set by the setting device 10 according to the present invention in a procedure described later. And the address assigned to the control unit 12. The old address only needs to be able to uniquely specify the branch unit 11 and the control unit 12 (hereinafter referred to as “units 11 and 12” when both units are collectively referred to) at the time of communication. Although such an identifier may be used, for example, the serial numbers of the units 11 and 12 are generally used from the viewpoint of being stored in advance in any of the units 11 and 12. In particular, if the serial number includes an identifier indicating the model of the unit 11 or 12, the model of the unit 11 or 12 can be determined by referring to the old address. In the present embodiment, a serial number including an identifier “01E” indicating the branch unit 11 and an identifier indicating “01H” indicating the control unit 12 is used.
[0034]
The history data 243 is data that records the number of times of addressing (the number of times of setting a new address) in the operation of setting a new address. The line number data 244 is data in which the line numbers of the units 11 and 12 for setting a new address next are recorded. The column number data 245 is data in which the column numbers of the units 11 and 12 for setting a new address next are recorded.
[0035]
The branch unit group data 246 is data defining a set of branch units 11 to be treated equally when performing a certain control. The control unit group data 247 is data defining a set of control units 12 to be treated equally when performing a certain control. The control target device group data 248 is data defining a set of devices 13 to be treated equally when performing a certain control.
[0036]
The device control state information storage unit 25 is a device that stores information indicating a control state of the device 13, and includes, for example, a rewritable memory such as a RAM and an EEPROM. More specifically, the device control state information storage unit 25 stores, for example, on / off state data 251, control pattern data 252, control schedule data 253, and the like.
[0037]
The ON / OFF state data 251 is data indicating the current ON / OFF state of each device 13, and the control pattern data 252 is data of a control pattern that defines the output level of the device 13 in response to an operation input. In the case of a fixture, it is data for defining a blinking order, a dimming rate, and the like of the lighting fixture. The control schedule data 253 associates on / off of the device 13 and which control pattern is to be performed among the control patterns defined in the control pattern data 252 with an actual time or an elapsed time from a certain reference time. Data.
[0038]
The signal conversion unit 26 converts the internal signal from the setting device control unit 21 into a signal format suitable for communication in the device control system, and can interpret the external communication signal from the I / F 27 by the setting device control unit 21. Convert to signal format. The I / F 27 is a circuit that forms a signal waveform of the signal conversion unit 26 into a signal waveform suitable for the main transmission path 28 or forms a received signal waveform into a signal waveform suitable for the signal conversion unit 26. The connection terminal (connector terminal) for impedance connection and an impedance value adjustment circuit for impedance matching are also provided. The I / F 27 is connected to the main transmission path 28.
[0039]
The setting device control unit 21 includes, for example, a microprocessor (MPU), and is connected to the input unit 22, the display unit 23, the addressing information storage unit 24, the device control state information storage unit 25, and the signal conversion unit 26, These units are controlled based on a program as described later.
[0040]
Note that the addressing information storage unit 24 and the device control state information storage unit 25 may be individual components or may be integrated into one memory from the viewpoint of bottom cost and miniaturization. The conversion unit 26 may be integrated into a chip.
[0041]
Next, the configuration of the branch unit 11 will be described. 3, the branch unit 11 includes an I / F unit 31, a signal conversion unit 32, a branch unit control unit 33, a branch unit storage unit 34, contact opening / closing units 35-1, 35-2, and a switch 36. -1, 36-2.
[0042]
The switch 36-1 is a device that opens and closes a connection between the main transmission line 28 and the branch transmission line 29, and is opened and closed by a contact opening / closing unit 35-1. The contact opening / closing unit 35-1 opens and closes the switch 36-1 based on the control of the branch unit control unit 33. By closing the switch 36-1, the main transmission line 28 and the branch transmission line 29 are connected, and the communication signal can be transmitted between the main transmission line 28 and the branch transmission line 29.
[0043]
The switch 36-2 is a device for opening and closing the connection of the main transmission path 28 between the upstream and the downstream with respect to the branch unit 11, and the opening and closing are driven by a contact opening / closing unit 35-1. The contact opening / closing unit 35-2 opens and closes the switch 36-2 based on the control of the branch unit control unit 33. By closing the switch 36-2, the upstream and downstream of the main transmission path 28 with respect to the branch unit 11 are connected, and a communication signal can be transmitted between the upstream and downstream of the branch unit 11 mutually. The switch 36 is, for example, a contact relay, a non-contact relay (semiconductor relay), or the like, similar to the switch 46 described later. In particular, a latching relay is used from the viewpoint of maintaining the previous connection state even when a power failure occurs. Is preferred. In the present embodiment, the connection between the main transmission line 28 and the branch transmission line 29 is opened and closed by the contact switching unit 35-1 and the switch 36-1, and the contact switching unit 35-2 and the switch 36-2. Although the connection of the main transmission path 28 between the upstream and the downstream with respect to the branch unit 11 is configured to be opened and closed, the communication signal is transmitted downstream by using a port of the microcomputer and setting this port to an active state or a sleep state. It may be configured to determine whether or not to transmit.
[0044]
The I / F 31 is a circuit that forms a signal waveform of the signal conversion unit 32 into a signal waveform suitable for the main transmission path 28 or a received signal waveform into a signal waveform suitable for the signal conversion unit 32. The I / F 31 is connected to the main transmission path 28 on the upstream side.
[0045]
The signal conversion unit 32 converts the internal signal from the branch unit control unit 33 into a signal format suitable for communication in the device control system, and can interpret the external communication signal from the I / F 31 by the branch unit control unit 33. Convert to signal format.
[0046]
The branch unit storage unit 34 stores an old address data 341, a new address data 342, a program executed by the branch unit control unit 33, and the like. The old address of the branch unit 11 is stored in the old address data 341 in advance. The new address data 342 is a storage area for storing a new address, and a new address is allocated and stored according to a procedure described later. The branch unit control unit 33 includes, for example, a microprocessor, and is connected to the signal conversion unit 32, the branch unit storage unit 34, and the contact opening / closing units 35-1, 35-2. Control as follows.
[0047]
Next, the control unit 12 will be described. 4, the control unit 12 includes an I / F unit 41, a signal conversion unit 42, a control unit control unit 43, a control unit storage unit 44, a contact switching unit 45, a switch 46, and a device control unit 47. And is provided.
[0048]
The switch 46 is a device that opens and closes the connection of the transmission paths 28 and 29 between the upstream and the downstream with respect to the control unit 12. Here, the control unit 12 is mainly connected on the branch transmission line 29. However, as shown in FIG. 1A, on the further downstream side of the most downstream branch unit 11-3, the control unit 12 It is connected not only on the branch transmission line 29-3 but also on the main transmission line 28. The contact opening / closing section 45 opens and closes the switch 46 based on the control of the control unit control section 43. By closing the switch 46, the upstream and downstream of the branch transmission line 29 with respect to the control unit 12 are connected, and a communication signal can be transmitted between the upstream and downstream of the control unit 12.
[0049]
The I / F 41 is a circuit that forms a signal waveform of the signal conversion unit 42 into a signal waveform suitable for the branch transmission line 29 or a received signal waveform into a signal waveform suitable for the signal conversion unit 42. The I / F 41 is connected to the upstream branch transmission line 29.
[0050]
The signal conversion unit 42 converts the internal signal from the control unit control unit 43 into a signal format suitable for communication in the device control system, and can interpret the external communication signal from the I / F 41 by the control unit control unit 43. Convert to signal format.
[0051]
The control unit storage unit 44 stores old address data 441, new address data 442, programs executed by the control unit control unit 43, and the like. The old address of the control unit 12 is stored in the old address data 441 in advance. The new address data 442 is a storage area for storing a new address, and a new address is allocated and stored according to a procedure described later. The control unit control unit 43 includes, for example, a microprocessor and the like, and is connected to the signal conversion unit 42, the branch unit storage unit 44, the contact opening / closing unit 45, and the device control unit 47. Control.
[0052]
The device control unit 47 includes, for example, a microprocessor, and controls the device 13 managed by the control unit 12 based on control data contained in a control signal transmitted from the setting device 10. The control data is extracted from the control signal by the control unit controller 43 and transferred to the device controller 47.
[0053]
In addition, from the viewpoint that power can be supplied from the setting device 10 to the branching unit 11 and the control unit 12, the setting device 10 is provided with a supply power superimposing unit. The power converter 26 may output a power waveform capable of superimposing the output signal and the power. In this case, a supply power separation unit is provided in the branch unit 11 and the control unit 12 corresponding to this, and the supply power separation unit separates the communication signal and the power from the output of the I / F 27 and outputs the communication signal. The power is output to the branch unit control unit 33 and the control unit control unit 43, and power is supplied to each unit that requires power. By superposing the power on the communication signal in this way, the branch unit 11 and the control unit 12 can be arranged even in a place where power supply is difficult.
[0054]
Next, the operation of the present embodiment will be described.
(addressing)
6 to 9 are flowcharts showing the operation for setting a new address. FIG. 10 is a diagram showing new and old address correspondence table data in the addressing information storage unit. FIG. 10A shows a state at the time when the storage area is secured, and FIG. 10B shows a state at the time when the addressing is completed.
[0055]
First, the user inputs an instruction to display a construction drawing on the display unit 23 from the input unit 22. The setting device control unit 21 of the setting device 10 reads out the construction drawing data 241 stored in the addressing information storage unit 24 and displays the construction drawing on the display unit 23. On the display unit 23, for example, as shown in FIG. 1A, a plan view of a building and a screen that schematically displays the arrangement relationship among the equipment 13, the control unit 12, the branch unit 11, and the setting device 10 are displayed. Is displayed.
[0056]
The construction drawing displayed on the display unit 23 in this manner is a plan view in which the arrangement positions of the device 13, the control unit 12, the branching unit 11, and the setting device 10 are projected, and the user is independent of the construction drawing on the construction drawing. Define a coordinate system consisting of row and column directions. In the present embodiment, as shown in FIG. 1A, the row direction is set to an A direction extending in one direction, and the column direction is set to a B direction extending in another direction different from the one direction.
[0057]
Then, based on the arrangement positional relationship between the branch unit 11 and the control unit 12, a storage area for storing the new / old address correspondence table is secured in the addressing information storage unit 24.
[0058]
For example, in the present embodiment, the user refers to the construction drawing of the display unit 23, and determines the number of branch units 11 and the number of control units 12 connected to each branch unit 11 in order from the upstream branch unit 11. Whether the branch units 11 are connected in the same column number direction or in the same row number direction is input from the input unit 22 to the setting device 10.
[0059]
For example, in the case of the construction drawing shown in FIG. 1A, the user inputs “3” as the number of branch units 11 and controls the first branch unit 11-1 that is the most upstream. "6" is input as the number of units 12, and "6" is input as the number of control units 12 connected to the second upstream branch unit 11-2. The number of control units 12 connected to the second branch unit 11-3 is input. In this case, since "3" is input as the number of branch units 11, since this is the last and most downstream branch unit 11, the number of control units 12 connected to the branch transmission line 29-3 and the main transmission line 28 and the number of control units 12 connected thereto. For this reason, the user inputs “6” as the former number and “6” as the latter number. Further, each of the branch units 11-1 to 11-3 inputs from the input unit 22 that they are arranged in the same column number direction. In the case of the construction drawing shown in FIG. 5, each of the branch units 11-1 to 11-5 inputs from the input unit 22 that they are arranged in the same row number direction.
[0060]
When input as described above, the setting device control unit 21 secures a storage area for the new / old address correspondence table data 242 in the addressing information storage unit 24. In other words, as shown in FIG. 10A, first, the old address, the model, the row number of the new address, and the column number of the new address of the first branch unit 11-1 are stored in the predetermined memory address a. Allocate space. Next, following the secured storage area, the old address and model are sent to the control units 12-1 to 12-6 connected on the branch transmission line 29-1 of the first branch unit 11-1. , A storage area for storing the row number of the new address and the column number of the new address is secured in order from the upstream side. Next, following the secured storage area, a storage area for storing the old address, model, new address line number, and new address column number of the second branch unit 11-2 is secured. Next, following the secured storage area, the old address and model are sent to the control units 12-7 to 12-12 connected on the branch transmission line 29-2 of the second branch unit 11-2. , A storage area for storing the row number of the new address and the column number of the new address is secured in order from the upstream. Next, following the secured storage area, a storage area for storing the old address, model, new address row number, and new address column number of the third branch unit 11-3 is secured. Next, following the secured storage area, the old address and model are sent to the control units 12-13 to 12-18 connected on the branch transmission line 29-3 of the third branch unit 11-3. , A storage area for storing the row number of the new address and the column number of the new address is secured in order from the upstream. Then, since the third branch unit 11-3 is the most downstream branch unit 11 connected to the main transmission line 28, next, following the secured storage area, the third branch unit 11-3 is connected. For the control units 12-19 to 12-24 connected to the main transmission line 28 downstream of the storage unit 3, the storage area for storing the old address, the model, the row number of the new address, and the column number of the new address is upstream. Secure in order. Further, for example, by specifying the branch unit 11 or the control unit 12 indicated by an icon on the construction drawing displayed on the display unit 23 with a mouse or the like, based on the arrangement positional relationship between the branch unit 11 and the control unit 12. The storage area for storing the new / old address correspondence table may be secured in the addressing information storage unit 24.
[0061]
As described above, the securing of the storage area for the branch unit 11 connected to the main transmission path 28 and the securing of the storage area for the control unit 12 connected to the branch transmission path 29 from the branch unit 11 are performed at the most downstream side. By repeating the process up to the branch unit 11 and finally securing a storage area for the control unit 12 connected to the main transmission path 28, the setting device control unit 21 stores the old and new address correspondence table data 242 in the addressing information storage unit 24. Secure storage area.
[0062]
Then, the initial values of the row number data 244 and the column number data 245 are set according to the arrangement direction of each branch unit 11. That is, when the arrangement direction of the branch units 11 is the same column number direction, the row number data 244 is set to “1” (01 for two digits, and 001 for three digits. Is determined by the number of devices 13 and the like.), And the column number data 245 is set to “0” (00 for two digits, and 000 for three digits). When the arrangement direction of the branch units 11 is the same row number direction, the row number data 244 is set to “0” and the column number data 245 is set to “1”. By setting the initial values of the row number data 244 and the column number data 245 in accordance with the arrangement direction of each branch unit 11 as described above, the new address of the branch unit 11 is changed to one of the column number and the row number as described later. It becomes "0", and a column number and a row number starting from "1" can be assigned to the control unit 12, which frequently uses the address, and grouping described later can be executed by a simple calculation.
[0063]
When the setting device control unit 21 secures the storage area for the new / old address correspondence table data 242, the setting unit control unit 21 displays this on the display unit 23. The user refers to this display and inputs an instruction to set a new address into the input unit 22.
[0064]
6 to 9, when receiving this instruction, the setting device control unit 21 transmits a communication signal (initialization signal) including information indicating that the address values of the branch unit 11 and the control unit 12 are to be initialized to the main transmission path 28. (S11-S).
[0065]
After confirming that the initialization signal has been transmitted downstream, the branch unit control unit 33 of the branch unit 11 that has received the initialization signal opens the switch 36-1 to open the main transmission line 28 and the branch transmission line 29. The communication between the upstream and downstream in the main transmission path 28 is cut off by opening the switch 36-2. Further, the branch unit control unit 33 clears the new address data 342 in the branch unit storage unit 34 (S12-D). The confirmation that the initialization signal has been transmitted downstream is performed by, for example, referring to the open / closed state of the switches 36-1 and 36-2, and when the switches 36-1 and 36-2 are open, the switches 36-1 and 36-2 are opened. After closing 36-1 and 36-2, the branch unit control unit 33 reproduces the initialization signal and sends it out to the main transmission line 28 via the signal conversion unit 32 and the I / F 31, and after a predetermined time, the switch 36-36. 1, 36-2 may be opened.
[0066]
On the other hand, the control unit control unit 43 of the control unit 12 that has received the initialization signal confirms that the initialization signal has been transmitted downstream, and then opens the switch 46 to open the branch transmission line 29 (to the main transmission line 28). In the case of the connected control unit 12, the communication between the upstream and the downstream in the main transmission path 28) is cut off. Further, the control unit control unit 43 clears the new address data 442 in the control unit storage unit 44 (S12-C). The confirmation that the initialization signal has been transmitted downstream is performed, for example, by referring to the open / closed state of the switch 46. When the switch 46 is open, the control unit control unit 43 closes the switch 46 and then The initialization signal is reproduced and sent to the branch transmission line 29 (the main transmission line 28 in the case of the control unit 12 connected to the main transmission line 28) via the signal conversion unit 42 and the I / F 41, and after a predetermined time, The switch 46 may be opened.
[0067]
Immediately after the construction, the switches 36-1 and 36-2 of the branch unit 11 and the switch 46 of the control unit 12 are “open”, and the new address data 342 of the branch unit storage unit 34 and the control unit storage unit 44 When it is certain that the new address data 442 is clear, this initialization may be omitted.
[0068]
Next, after a lapse of a predetermined time, the setting device control unit 21 transmits a communication signal (addressing signal) including information indicating the addressing mode for setting a new address to the main transmission path 28, and also stores the history data 243 in one. By incrementing by one, the fact that the addressing is the first time is stored in the history data 243 (S13-S).
[0069]
By initialization, the switches 36-1 and 36-2 of the branch units 11-1 to 11-3 and the switches 46 of the control units 12-1 to 12-24 are all "open". Since communication is possible only between the apparatus 10 and the first branch unit 11-1 which is the most upstream, this communication signal is received only by the first branch unit 11-1.
[0070]
The branch unit control unit 33 of the first branch unit 11-1 that has received the communication signal interprets the information indicating that the communication mode is the addressing mode from the received communication signal, and determines that the communication signal is the addressing signal. to decide. When determining that the signal is an addressing signal, the branch unit control unit 33 reads the old address data 341 from the branch unit storage unit 34 and sends out a communication signal (old address signal) including information of the old address to the main transmission path 28 ( S14-D). In this case, since communication is possible only between the setting device 10 and the first branch unit 11-1 which is the most upstream, as described above, it is necessary to specify the destination address in the old address signal. However, when the second and subsequent branch units 11 and control units 12 are addressed as will be described later, communication between the setting device 10 and the units 11 and 12 to be addressed is ensured. From the viewpoint of establishment, information of history data (data indicating the number of times of addressing) is included in each communication signal.
[0071]
If it is determined that the signal is an addressing signal, it is further determined whether the signal is an addressing signal addressed to itself. If the addressing signal is addressed to itself, the old address signal is transmitted to the main transmission path 28. May be configured. With this configuration, it is possible to reduce the traffic volume of the main transmission path 28 and the branch transmission path 29, to easily avoid collision of communication signals, and to further reduce the processing amount of the setting device control unit 21. Can be. The determination as to whether or not the addressing signal is addressed to itself is performed, for example, as follows. First, the branch unit control unit 33 determines whether or not the new address data 342 of the branch unit storage unit 34 stores an address in a matrix format. When the address in the matrix format is stored, the branch unit control unit 33 determines that the received communication signal is not the addressing signal addressed to itself, and discards the received signal. On the other hand, when the address in the matrix format is not stored, the branch unit control unit 33 determines that the received communication signal is the addressing signal addressed to itself.
[0072]
Upon receiving this communication signal, the setting device control unit 21 determines that the signal is the old address signal for the first addressing signal, extracts the old address information from the received communication signal, and stores the old and new information in the addressing information storage unit 24. The old address, the model, the row number of the new address, and the column number of the new address are stored in the first storage area in the address correspondence table data 242, that is, the storage area of the memory address a (S15-S). Here, in the above case, the model is determined from the identifier at the head of the old address. The row number of the new address is assigned the value of the row number data 244, and the column number of the new address is assigned the value of the column number data 245. The determination that the received communication signal is the old address signal is made based on the order of receiving the communication signals. Hereinafter, similarly, the type of the received communication signal is determined by the order in which the communication signals are received.
[0073]
When the new address is set, the setting device controller 21 sends a communication signal (new address signal) including the information of the new address to the main transmission path 28 (S16-S).
[0074]
Upon receiving this communication signal, the branch unit control unit 33 of the branch unit 11-1 determines that the signal is a new address signal for the old address signal, extracts information on the new address from the received communication signal, and stores the information in the branch unit storage unit. The new address data 342 stores the row number of the new address and the column number of the new address (S17-D). Here, in order to ensure that the branch unit control unit 33 recognizes the new address signal, the new address signal may include information indicating the new address signal, for example, information on the old address.
[0075]
Next, the branch unit control unit 33 of the branch unit 11-1 receives the new address signal and stores information indicating that the new address is stored in the new address data 342, for example, a communication signal including the received new address (new address storage). (S18-D) to the main transmission path 28 (S18-D).
[0076]
Upon receiving the communication signal, the setting device control unit 21 determines that the signal is a new address storage signal for the new address signal, extracts information on the new address from the received communication signal, and replaces the new address information with the new address from the received communication signal. The new address is compared with the new address stored in the new / old address correspondence table data 242 of the addressing information storage unit 24 (S19-S).
[0077]
As a result of the comparison, in the case of a mismatch (No), the setting device control unit 21 determines that the first addressing of the branch unit 11-1 has failed, and includes information indicating that the first addressing is performed again. A communication signal (reset mode signal) is transmitted to the main transmission path 28. On the other hand, if they match (Yes), the setting device control unit 21 determines that the first addressing of the branch unit 11-1 has succeeded, and includes information indicating that the addressing of the branch unit 11-1 is ended. A communication signal (branch unit addressing end signal) is transmitted to the main transmission path 28 (S20-S).
[0078]
Upon receiving this communication signal, the branch unit control unit 33 of the branch unit 11-1 determines whether the signal is a branch unit addressing end signal or a reset mode signal. When the branch unit control unit 33 of the branch unit 11-1 determines that the communication signal is the branch unit addressing end signal, the branch unit control unit 33 connected to the branch transmission line 29-1 connected to the own unit. The switch 36-1 is set to "close" to set a new address of -1 to 12-6. On the other hand, when the branch unit control unit 33 of the branch unit 11-1 determines that the communication signal is the reset mode signal, the branch unit control unit 33 performs the processes S14-D to S19-S in order to set a new address again. Is executed (S21-D).
[0079]
Steps S18-D to S21-D are operations for confirming the setting of the new address, so these steps are omitted, and in step S17-D, the branch unit control unit 33 of the branch unit 11-1 is further processed. May set the switch 36-1 to "close" in order to set new addresses of the control units 12-1 to 12-6 connected to the branch transmission line 29-1 connected to the own device. .
[0080]
When the switch 36-1 is closed, the branch unit control unit 33 of the branch unit 11-1 transmits a communication signal (branch) including information indicating that the main transmission path 28 and the branch transmission path 29-1 can communicate with each other. A transmission line communication enable signal) is transmitted to the main transmission line 28 (S22-D).
[0081]
Upon receiving the communication signal, the setting device control unit 21 determines that the received communication signal is a branch transmission path communicable signal, and the main transmission path 28 and the branch transmission path 29-1 are communicably connected. It is determined that addressing of the control unit 12 has become possible. Then, either the value of the row number data 244 or the value of the column number data 245 is incremented by one according to the arrangement direction of each branch unit 11. That is, if the arrangement direction of each branch unit 11 is the same column number direction, the column number data 245 is incremented by one, and if the arrangement direction of each branch unit 11 is the same line number direction, the row number The data 244 is incremented by one (S23-S).
[0082]
With this operation, the new address (0100) in the form of a matrix is allocated to the branch unit 11-1, and the new / old address correspondence table data 242 and the branch of the branch unit 11-1 in the addressing information storage unit 24 of the setting device 10 are allocated. A new address (0100) in a matrix format is stored in the new address 342 in the unit storage unit 34.
[0083]
Next, the setting device control unit 21 increments the history data 243 by one in order to perform the second addressing of the control unit 12-1 and stores the second addressing in the history data 243. At the same time (S24-S), a communication signal (addressing signal) including information indicating the addressing mode for setting a new address is transmitted to the main transmission path 28 (S25-S).
[0084]
The control unit control unit 43 in the first control unit 12-1 that has received the communication signal interprets the information indicating that the communication mode is the addressing mode from the received communication signal, and determines that the communication signal is the addressing signal. to decide. When determining that the signal is an addressing signal, the control unit control unit 43 reads the old address data 441 from the control unit storage unit 44 and sends out a communication signal (old address signal) including information on the old address to the branch transmission line 29 ( S26-C).
[0085]
Here, as can be seen from the above, communication is possible only between the setting device 10 and the first branch unit 11-1 which is the most upstream and the control unit 12-1 connected thereto. The communication signal is received only by the first branch unit 11-1 and the control unit 12-1. The branch unit control unit 33 of the first branch unit 11-1 that has received the communication signal discards the communication signal when determining whether the communication signal is addressed to itself as described above. If the first branch unit 11-1 does not determine whether or not the old address signal is transmitted to the main transmission path 28 as described in the processing S14-D. However, the setting device control unit 21 determines whether or not the old address contained in the received old address signal is stored in the new / old address correspondence table data 242 to determine whether the received old address signal was transmitted. It can be determined whether or not the addressing of the unit 11 has been completed. When the third and subsequent addressing operations are performed, a similar situation occurs in the control unit 12 that has completed the addressing operation. However, the control unit control unit 43 of the control unit 12-1 determines whether the address is addressed to itself. Or the setting device control unit 21 inquires about the old address.
[0086]
When receiving the communication signal, the setting device control unit 21 determines that the received address is the old address signal for the second addressing signal, extracts the old address information from the received communication signal, and stores the old and new information in the addressing information storage unit 24. The old address, the model, the row number of the new address, and the column number of the new address are stored in the next storage area in the address correspondence table data 242, that is, the storage area of the memory address b (S27-S). Here, whether or not the second addressing signal is the old address signal is determined, for example, based on the order of the received communication signals. Further, for example, when the information of the history data is included in the communication signal, this is performed by referring to this. Further, for example, by comparing the information of the old address of the received communication signal with the information of the old address stored in the new / old address correspondence table data 242 of the addressing information storage unit 24, the information of the old address in which both match is obtained. It does this by determining that there is no
[0087]
When the new address is set, the setting device controller 21 sends a communication signal (new address signal) including the information of the new address to the main transmission path 28 (S28-S).
[0088]
When receiving the communication signal, the control unit control unit 43 of the control unit 12-1 determines that the new address signal corresponds to the old address signal, extracts the new address information from the received communication signal, and stores the new address information in the control unit storage unit. The row number of the new address and the column number of the new address are stored in the new address data 442 of S44 (S29-C).
[0089]
Next, the control unit control unit 43 of the control unit 12-1 receives the new address signal and stores information indicating that the new address is stored in the new address data 442, for example, a communication signal including the received new address (new address storage). ) To the branch main transmission path 29-1 (S30-C).
[0090]
Upon receiving the communication signal, the setting device control unit 21 determines that the signal is a new address storage signal for the new address signal, extracts information on the new address from the received communication signal, and replaces the new address information with the new address from the received communication signal. And the new address stored in the new / old address correspondence table data 242 of the addressing information storage unit 24 (S31-S).
[0091]
As a result of the comparison, in the case of a mismatch (No), the setting device control unit 21 determines that the second addressing of the control unit 12-1 has failed, and includes information indicating that the second addressing is to be performed again. A communication signal (reset mode signal) is transmitted to the main transmission path 28. On the other hand, if they match (Yes), the setting device control unit 21 determines that the second addressing of the control unit 12-1 has succeeded, and includes information indicating that the addressing of the control unit 12-1 ends. A communication signal (control unit addressing end signal) is transmitted to the main transmission path 28 (S32-S).
[0092]
Upon receiving this communication signal, the control unit control unit 43 of the control unit 12-1 determines whether it is a control unit addressing end signal or a reset mode signal. When the control unit control unit 43 of the control unit 12-1 determines that the communication signal is the control unit addressing end signal, the control unit control unit 43 renews the control units 12-2 to 12-6 connected downstream of the own unit. The switch 46 is turned "closed" to set the address. On the other hand, if the branch unit control unit 33 of the branch unit 11-1 determines that the communication signal is the reset mode signal, the branch unit control unit 33 performs steps S25-C to S31-S in order to set a new address again. Is executed (S33-C).
[0093]
Steps S30-C through S32-S are operations for confirming the setting of the new address, so these steps are omitted, and in step S29-C, the control unit control unit 43 of the control unit 12-1 is further executed. May set the switch 46 to "close" in order to set a new address of the control units 12-2 to 12-6 connected downstream of the own device.
[0094]
When the switch 46 is closed, the control unit control unit 43 of the control unit 12-1 determines whether the control unit 12 is further connected to the branch transmission line 29-1 downstream (S34-C). . This determination is made based on, for example, an impedance value on the downstream side of the branch transmission line 29-1 or a return signal including information indicating that a return is returned at the time of reception to the branch transmission line 29. It is determined by the presence or absence. Then, the control unit control unit 43 of the control unit 12-1 transmits the information indicating that the upstream and downstream in the branch transmission path 29-1 can communicate with each other, and when the control unit 12 is not connected downstream, A communication signal (upstream / downstream communication enable signal) including information indicating that the addressing of the branch transmission path 29-1 to the control unit 12 has been completed is transmitted to the branch transmission path 29-1 (S35-C).
[0095]
Upon receiving this communication signal, the setting device control unit 21 determines that the received communication signal is an upstream / downstream communicable signal, and informs the upstream / downstream communicable signal that the addressing of the control unit of the branch transmission line 29 has been completed. Is determined (S36-S).
[0096]
As a result of the determination, if the setting device control unit 21 does not include information indicating that the addressing for the control unit of the branch transmission line 29 has been completed (No), the setting device control unit 21 performs the addressing for the control unit 12 further downstream. In order to perform the process, the process returns to the process S23-S. That is, the setting device control unit 21 determines that the upstream and downstream of the branch transmission line 29 are communicably connected, and that the downstream control unit 12 can be addressed. Then, either the value of the row number data 244 or the value of the column number data 245 is incremented by one according to the arrangement direction of each branch unit 11. That is, if the arrangement direction of each branch unit 11 is the same column number direction, the column number data 245 is incremented by one, and if the arrangement direction of each branch unit 11 is the same line number direction, the row number Increment the data 244 by one (S23'-S)
With this operation, a new address (0101) in the form of a matrix is allocated to the control unit 12-1, and the new and old address correspondence table data 242 in the addressing information storage unit 24 of the setting device 10 and the control of the control unit 12-1 are controlled. The new address (0101) in the form of a matrix is stored in the new address 442 in the unit storage unit 44. When the control unit 12 is connected downstream of the branch transmission line 29, the processes S23-S to S35-C are repeated, so that these downstream control units 12 are also sequentially updated in a matrix format. Addresses (0102), (0103),..., (0106) are allocated, and the new and old address correspondence table data 242 in the addressing information storage unit 24 of the setting device 10 and each control of each of the control units 12-2 to 12-6. The new addresses (0102), (0103),..., (0106) in the form of a matrix are stored in the new address 442 in the unit storage unit 44, respectively.
[0097]
On the other hand, as a result of the determination in step S36-S, if the setting device control unit 21 includes information indicating that the addressing of the control unit of the branch transmission line 29 has been completed (Yes), the setting device control unit 21 determines that the branch transmission line It is determined that the addressing of the control unit 12 connected to the branch unit 29 has been completed, and the branch unit 12 is controlled to address the next branch unit 11 and the control unit 12 connected to the branch transmission line 29 of the branch unit 11. -1 is transmitted to the main transmission path 28 including a communication signal (next branch unit addressing signal) including information instructing the switch 36-2 to be "closed" (S37-S).
[0098]
Upon receiving this communication signal, the branch unit control unit 33 of the branch unit 11-1 interprets the communication signal by interpreting information indicating that the switch 36-2 is to be closed, from the received communication signal. It is determined that the signal is the next branch unit addressing signal. Then, the branch unit control unit 33 of the branch unit 11-1 closes the switch 36-2 (S38-D). In addition, from the viewpoint of reducing the traffic amount of the main transmission line 28 and the branch transmission line 29, avoiding collision of communication signals, and further reducing the processing amount of the setting device control unit 21, the branch unit 11-1 is used. May be configured to open the switch 36-1.
[0099]
When the switch 36-2 is closed, the branch unit control unit 33 of the branch unit 11-1 transmits a communication signal including information indicating that upstream and downstream of the main transmission path 28 can be communicated (main transmission path communication). Is transmitted to the main transmission path 28 (S39-D).
[0100]
When receiving the communication signal, the setting device control unit 21 determines that the received communication signal is the main transmission path communicable signal, and the upstream and downstream of the main transmission path 28 are communicably connected to each other, and the next branch It is determined that the addressing of the unit 11 has become possible.
[0101]
Then, the setting device control unit 21 determines whether the addressing of all the branch units 11 has been completed (S40-S). For this determination, for example, the setting device control unit 21 counts the number of records of the branch unit 11 by referring to the model field in the new / old address correspondence table data 242, and the coefficient result refers to the construction drawing data 241 and Is the same as the number of input branch units 11, and the determination is made based on whether or not the record in the most downstream branch unit 11 stores a new address.
[0102]
As a result of the determination, if the addressing of the branch unit 11 has not been completed, either one of the value of the row number data 244 or the value of the column number data 245 is incremented by one according to the arrangement direction of each branch unit 11, and the other is incremented. Is initialized to "0", and the process returns to step S13-S (S41-S). That is, when the arrangement direction of the branch units 11 is the same column number direction, the row number data 244 is incremented by one and the column number data 245 is initialized to “0”. When the arrangement direction of the branch units 11 is the same row number direction, the column number data 245 is incremented by one and the row number data 244 is initialized to “0”.
[0103]
By performing the above operation, the processes S13-S to S22-D are executed, a new address (0200) in a matrix format is allocated to the next branch unit 11-2, and the addressing information storage of the setting device 10 is performed. The new address (0200) in a matrix format is stored in the new / old address correspondence table data 242 in the unit 24 and the new address 342 in the branch unit storage unit 34 of the branch unit 11-2. Further, steps S23-S to S36-S are executed, and a new address (0201) in a matrix format is provided to each of the control units 12-7 to 12-12 connected to the branch transmission line 29-2 of the branch unit 11-2. (0202),..., (0206) are allocated, and the new and old address correspondence table data 242 in the addressing information storage unit 24 of the setting device 10 and the control unit storage unit 44 of each of the control units 12-7 to 12-12 are allocated. The new addresses (0201), (0202),..., (0206) in the form of a matrix are stored in the new address 442, respectively.
[0104]
On the other hand, as a result of the determination, when the addressing of the branch unit 11 has been completed, the setting device control unit 21 determines whether the addressing of all the units 11 and 12 has been completed (S42-S). . This determination is made by, for example, whether the setting device control unit 21 stores the new address in all the records of the new / old address correspondence table data 242. Further, for example, the determination is made based on whether or not the upstream / downstream communication enable signal from the control unit 12 includes control unit addressing end information. Judging from the presence or absence of the control unit addressing end information, it is possible to find a mismatch between the contents of the construction drawing data 241 and the actual construction due to a construction error or the like.
[0105]
As a result of the determination, if the addressing of all the units 11 and 12 has not been completed, one of the value of the row number data 244 and the value of the column number data 245 is incremented by one according to the arrangement direction of each branch unit 11. Then, after the other is initialized to "1", the process returns to the process S24-S (S43-S). That is, when the arrangement direction of the branch units 11 is the same column number direction, the row number data 244 is incremented by one and the column number data 245 is initialized to “1”. If the arrangement direction of the branch units 11 is the same row number direction, the column number data 245 is incremented by one and the row number data 244 is initialized to “1”. As a result, addressing is performed on each of the control units 12-19 to 12-24 connected to the main transmission path 28 of the most downstream branch unit 12-3.
[0106]
On the other hand, as a result of the determination, when the addressing of all the units 11 and 12 has been completed, the setting device control unit 21 sends a communication signal (addressing completion signal) including information indicating that the addressing has been completed to the main transmission path. 28 (S44-S).
[0107]
The branch unit control unit 33 of the branch unit 11 that has received the addressing completion signal sends a communication signal (addressing completion acknowledgment signal) including information indicating that the addressing completion signal has been received to the main transmission path 28 (S45-D). In particular, when the switch 36-1 is turned "open" due to traffic volume considerations, the switch 36-1 is turned "closed", and the branching unit control unit 33 reproduces the addressing completion signal to convert the signal. The data is transmitted to the main transmission path 28 via the section 32 and the I / F 31. Then, the branch unit 11 shifts to the normal operation of the branch unit (S46-D).
[0108]
The control unit control unit 43 of the control unit 12 that has received the addressing completion signal sends a communication signal (addressing completion acknowledgment signal) including information indicating that the addressing completion signal has been received to the branch transmission line 29 (S45-C). Then, the control unit 12 shifts to the normal operation of the control unit (S46-C).
[0109]
Upon receiving the addressing completion acknowledgment signal from each of the units 11 and 12, the setting device 10 shifts to the normal operation of the setting device (S46-S).
[0110]
Here, from the viewpoint of avoiding collision of the addressing completion acknowledgment signals from the units 11 and 12, the timing may be measured in the order of the new address using a new address in a matrix format. Note that the new address order may be various orders such as, for example, for each row number and for each column number.
[0111]
In the communication between the setting device 10, the branching unit 11, and the control unit 12, the communication signals such as an initialization signal, an addressing signal, an old address signal, a new address signal, and a new address storage signal described later are used as described above. As described above, the identification may be performed according to the order of reception. However, in order to identify each communication signal, information indicating the type of the communication signal may be included in each communication signal.
[0112]
With this operation, a new address in a matrix format is allocated to each unit 11 and 12 of the device control system, and new addresses 342 and 442 in the control unit storage units 34 and 44 of the units 11 and 12 are allocated in a matrix format. Each new address is stored. The old address, model, and new address of each of the units 11 and 12 are also stored in the new / old address correspondence table data 242 in the addressing information storage unit 24 of the setting device 10 as shown in FIG.
[0113]
The new addresses in the matrix format are automatically allocated to the units 11 and 12 as described above, so that there is no need to manually set them at the time of construction. Further, since a new address in the form of a matrix is allocated to each of the units 11 and 12, the mutual positional relationship between the units 11 and 12 is determined only by referring to the new address without referring to the construction drawing as in the conventional case. be able to. For example, units 11 and 12 having the same row number are arranged substantially in the row direction, and units 11 and 12 having the same column number are arranged substantially in the column direction. However, the same units 11 and 12 are arranged in a substantially diagonal direction. That is, the mathematical properties of the matrix can be used. For this reason, the software designer of the device control system, the user of the device control system, and the like can easily design the software and use the device control system as compared with the related art in consideration of the mathematical properties of the matrix. .
[0114]
Next, an application utilizing the mathematical property of a matrix provided in such a matrix format address will be described.
(grouping)
The grouping is to form a group of the branch unit 11 and the control unit 12, and the units 11 and 12 that have formed the group are treated as one group and given the same attribute. For example, the control units 12 belonging to a certain group operate with the same control pattern according to the same schedule, or a new identifier is given to the formed group. By grouping the units 11 and 12 in this way, it is not necessary to handle the units 11 and 12 individually in software, and the units 11 and 12 can be handled collectively.
[0115]
Since the addresses in the form of a matrix according to the present invention are allocated to the units 11 and 12, the software designer can perform grouping without referring to actual construction drawings. For example, as shown in FIG. 1A, when the control units 12 are arranged in 4 rows and 6 columns, and four of them are formed in one group, the addresses are in a matrix format, and thus the new address is Each control unit 12 of (0101), (0102), (0201) and (0202) is a first group, and each control unit 12 of (0103), (0104), (0203) and (0204) having a new address is The control unit 12 having a new address of (0105), (0106), (0205) and (0206) is a third group, and the new addresses are (0301), (0302), (0401) and ( 0402) as a fourth group, and each control unit 12 having a new address of (0303), (0304), (0403) and (0404). And 5 groups, and the new address (0305), (0306), can be allocated immediately the control unit 12 of (0405) and (0406) as a sixth group.
[0116]
By storing the correspondence between the control unit 12 and the group in the control unit group data 247, for example, when the group is specified in the software, the setting device control unit 21 stores the control unit group data 247 in the software. By referring, each control unit 12 belonging to the specified group can be operated with the same control pattern according to the same schedule.
[0117]
In an office building, a partition of a floor may be changed due to an organization change or the like. In such a case, it is necessary to change the group of the lighting equipment and the group of the air conditioning equipment according to the change of the partition. The setting device 10 can determine a new group organization in such a case as a grouping device as follows, and the setting device control unit 21 divides a plurality of control units into one group based on the matrix format address. It operates as a grouping means for putting together.
[0118]
FIG. 11 is a flowchart showing the grouping operation. FIG. 12 is a diagram for explaining the first grouping method. FIG. 13 is a diagram for explaining a first method in the second grouping method.
[0119]
11 to 13, when an instruction to perform group formation is input from the input unit 22, the setting device control unit 21 displays a screen display for group formation shown in FIGS. 12 and 13 on the display unit 22. (S101). The screen display for group formation includes the construction drawing 1, the new addresses of the units 11 and 12, the setting device 10, and the connection states of the units 11 and 12. Then, the new address is displayed so as to accompany each of the corresponding units 11 and 12. For example, the setting device control unit 21 reads the construction drawing from the construction drawing data 241 in the addressing information storage unit 24 and refers to the new / old address correspondence table data 242 to display the new address. The correspondence between each unit 11 and 12 and the new address is grasped from the stored memory address, and the new address is displayed so as to accompany the corresponding unit 11 and 12.
[0120]
Then, the user of the device control system inputs the grouping method from the input unit 22. The setting device control unit 21 determines the input grouping method (S102). In the present embodiment, as the grouping method, the first grouping method or the second grouping method can be selected. When the first grouping method is input, the setting device control unit 21 executes the process S111, and when the second grouping method is input, the setting device control unit 21 executes the process S121.
[0121]
The first grouping method is a method of determining the range of units 11 and 12 belonging to the same group by designating two diagonally located units 11 and 12 belonging to this range.
[0122]
In FIG. 12, first, the user of the device control system inputs two units 11 and 12 located diagonally from the input unit 22 so that the range of the units 11 and 12 that the user wants to belong to the same group is set. Set. The designation of the two units 11 and 12 is performed, for example, by moving the cursor over the units 11 and 12 with a mouse and clicking, or by touching the display screens of the units 11 and 12 with a light pen. Do. FIG. 12 shows a case where the control units 12-9 and 12-23 of the new address (0203) and the new address (0405) are input.
[0123]
The setting device control unit 21 recognizes the new addresses (α1, β1) and (α2, β2) of the units 11 and 12 input from the input unit 22 (S111). Since the matrix A having the units 11 and 12 having the new address as diagonal components is the new address of the units 11 and 12 belonging to the same group, the setting device control unit 21 sets each component of the matrix A to (α1 , Β1) and (α2, β2), respectively, by changing the row component from α1 to α2 and changing the column component from β1 to β2 (S112). For example, when the new address (0203) and the new address (0405) are the diagonal components in the above example, the setting device control unit 21 changes the row components from 02 to 04 and the column components from 03 to 05. By changing, each matrix component (0203), (0204), (0205), (0303), (0304), (0305), (0403) of each matrix component of the matrix A (in this case, a matrix of 3 rows and 3 columns) (0404) and (0405) are obtained.
[0124]
On the other hand, in the second grouping method, the range of the units 11 and 12 belonging to the same group is designated by specifying the position and the distance of one unit 11 and 12 belonging to this range. This is a method in which the position is within a range separated only by a specified distance based on the position. As the second grouping method, there are various methods depending on how to obtain a reference position. For example, a first method in which a reference position is considered as a center position in a range of a group and a range separated by a specified distance in the vertical and horizontal directions of the reference position is a range of the group, There is a second method or the like in which a range separated from the reference position by a specified distance in two directions is set as a group range. The second method further includes various methods depending on which vertex is the reference position, whether the distance can be specified independently in two directions, or whether the two directions are the same. For example, there is a method in which the reference position is the upper left vertex and the distance is the same in the right direction and the lower direction, and a method in which the reference position is the lower right vertex and the distance is separately set in the left direction and the upward direction. Therefore, these methods may be displayed on the display unit 23 and the user may select them.
[0125]
The user further inputs which of the above-described methods is to be used among the second grouping methods. The setting device control unit 21 determines the method input from the input unit 22 (S121). Here, the case where the first method is selected from the above-described methods will be described below.
[0126]
In FIG. 13, first, the user sets the range of the units 11 and 12 that the user wants to belong to the same group by inputting the units 11 and 12 serving as reference positions and the distance from the input unit 22. FIG. 13 shows a case where the control unit 12-16 of the new address (0304) and (distance value) = 1 are input.
[0127]
The setting device control unit 21 recognizes new addresses (α3, β3) and distances of the units 11 and 12 input from the input unit 22 (S122). The matrix B having the units 11 and 12 having the new address as the central components of the matrix and the matrix component having a value obtained by adding and subtracting the central component by the distance value is the new address of the units 11 and 12 belonging to the same group. The setting device control unit 21 changes each component of the matrix B from (α3− (distance value)) to (α3 + (distance value)) based on (α3, β3) and the distance value. The calculation is performed by changing the column components from (β3- (distance value)) to (β3 + (distance value)) (S123). For example, when the new address (0304) and (distance value) = 1 in the above example, the setting device control unit 21 changes the row component from 03-1 = 02 to 03 + 1 = 04 and changes the column component. By changing from 04-1 = 03 to 04 + 1 = 05, each matrix component of matrix B (0203), (0204), (0205), (0303), (0304), (0305), (0403), (0403) 0404) and (0405).
[0128]
Next, the setting device control unit 21 changes the display of each of the units 11 and 12 belonging to the same group based on the calculated new address (S131). For example, as shown in FIGS. 12 and 13, each unit belonging to the same group is surrounded by a dashed-dotted parallelogram area, or the display color is changed or blinks.
[0129]
Then, the user refers to such a display to confirm each of the units 11 and 12 belonging to the same group, and inputs a determination from the input unit 22. When the determination is input from the input unit 22, the setting device control unit 21 stores, in the branch unit group data 246 or the control unit group data 247, each unit 11 belonging to the new group, depending on the model of the grouped units 11 and 12. , 12 are stored (S132).
[0130]
In this way, the user of the device control system can form a new group by simply inputting a small number of data without inputting all information on the units 11 and 12 belonging to the same group. Since the new address is set in the form of a matrix, the setting device 10 can easily and quickly obtain the units 11 and 12 belonging to the same group from a small amount of input data as described above. It can be performed. In addition, since the new addresses are set in a matrix format, the software developer can easily create a program for easily and quickly obtaining the units 11 and 12 belonging to the same group from a small amount of input data as described above. And debugging can be easily performed.
[0131]
Next, an example of a normal operation of the device control system having such a matrix-type address will be described.
(Normal operation example of device control system)
In this embodiment, each control unit 12 further includes a human sensor, and when the human sensor detects a human body, the device 13 controlled by the control unit 12 is operated at the first level, and the control unit 12 On the other hand, this is a device control system in which the devices 13 controlled by the surrounding control units 12 are operated at the second level, and the devices 13 controlled by the other control units 12 are operated at the third level.
[0132]
Here, the human sensor may be, for example, an infrared human sensor that detects the presence or absence of a person by detecting infrared light and detecting the movement of the detected infrared light, or a human sensor by image identification that identifies the presence or absence of a person from an image. A sensor or the like can be used.
[0133]
Then, for example, the first level is set to the maximum output of the device 13, the second level is set to the preliminary output level for shifting to the maximum output of the device 13, and the third level is set to the zero output of the device 13. When set to, the device control system provides an environment in which the device 13 provides a comfortable environment in an area where people are present, provides an environment in which a comfortable environment is quickly provided in an area around the area where people are present, and provides an environment in which a person is present. In an area far from the area, an environment that does not consume wasteful energy can be provided.
[0134]
More specifically, when the device 13 is a lighting device, the first level is set to full lighting, and the second level is set to a very bright lighting level (for example, 50% lighting or 30% lighting of full lighting, etc.). ), And the third level is set to off. By setting in this way, sufficient brightness is ensured in the area where people are present, and in the area around the area where people are present, full lighting is quickly turned on when people move and people are present. It is possible to provide a sense of security to the person and prevent unnecessary lighting in an area away from the area where the person is. Further, for example, when the device 13 is an air conditioner, the first level is set to strong air blowing, the second level is set to low air blowing, and the third level is set to no air blowing. By setting in this way, a sufficient set temperature is ensured in the area where people are present, and in the area around the area where people are present, strong blast is quickly blown when a person becomes present due to the movement of the person. As a result, the temperature difference from the area where the person is present is reduced, so that a friendly environment is provided to the person, and useless driving can be prevented in an area far from the area where the person is present.
[0135]
In order to perform such a normal operation, the control unit 12 includes a human sensor 48 that outputs a detection output to the control unit control unit 43 and a control unit that monitors the elapse of a certain period of time, as indicated by a broken line in FIG. It further includes a timer 49 to be output to the control unit 43, and second level operation flag data 443 for storing information on whether to operate at the second level according to an instruction from another control unit 12.
[0136]
After the addresses in the form of a matrix have been allocated to the control units 12-1 to 12-24, for example, two transmission lines are simply connected instead of the branch unit 11, or the control unit 12-6 is connected to the control unit 12-6. Unit 12-12 is connected by a transmission line, control unit 12-7 and control unit 12-13 are connected by a transmission line, and control unit 12-18 and control unit 12-24 are connected by a transmission line. As a result, if the control units 12-1 to 12-24 are connected to each other via a transmission path so that they can communicate with each other, normal operations can be performed without the branch units 11-1 to 11-3.
[0137]
FIG. 14 is a flowchart illustrating an operation of a normal operation example of the device control system. FIG. 15 is a diagram for explaining a normal operation example of the device control system.
[0138]
14 and 15, the control unit control unit 43 of the control unit 12 determines whether or not there is a detection output from the human sensor 48 (S151).
[0139]
As a result of the determination, when there is a detection output (Yes), the control unit control unit 43 generates control data for operating the device 13 managed by itself at the first level by the device control unit 47, and 47, and the device control unit 47 outputs a control signal to the device 13 so as to operate at the first level (S152). Further, the control unit control unit 43 reads out its own new address from the new address data 442 of the control unit storage unit 44, and performs communication including information on its own new address and information to control the device 13 at the second level. The signal (second level operation signal) is broadcast via the signal converter 42 and the I / F 41. Then, the process returns to the process S151 (S153).
[0140]
On the other hand, as a result of the determination, when there is no detection output (No), the control unit control unit 43 stores the information for driving at the second level in the second level operation flag data 443 of the control unit storage unit 44. It is determined whether or not there is (S154). As a result of the determination, when the information for operating at the second level is stored, the control unit control unit 43 transmits the control data for operating the device 13 managed by itself to the device control unit 47 at the second level. The device control unit 47 generates and outputs the control signal to the device control unit 47, and the device control unit 47 outputs a control signal to the device 13 so as to operate at the second level. Then, the process S157 is executed (S155). On the other hand, as a result of the determination, if the information for driving at the second level is not stored, the control unit control unit 43 causes the device control unit 47 to perform control for driving the device 13 managed by itself at the third level. The data is generated and output to the device control unit 47, and the device control unit 47 outputs a control signal to the device 13 to operate at the third level. Then, the process S157 is executed (S156).
[0141]
In step S157, the control unit control unit 43 determines whether or not the second level operation signal has been received via the I / F 41 and the signal conversion unit 42.
[0142]
As a result of the determination, when the second level operation signal has not been received (No), the control unit control unit 43 returns the processing to the processing S151.
[0143]
On the other hand, if the result of the determination is that the second level operation signal has been received (Yes), the control unit control section 43 determines the new address (α4, β4) contained in the second level operation signal and the own address. By comparing with the new address (α5, β5) stored in the new address data 442, it is determined whether or not the second level operation signal is a communication signal transmitted from the surrounding control unit 12 to itself. (S158). This determination is made based on whether the new address is in the form of a matrix and whether or not Expression 1 is satisfied. If Expression 1 is satisfied, it is a communication signal transmitted from the surrounding control unit 12 to itself. Is determined.
-1 ≦ α5-α4 ≦ + 1 and −1 ≦ β5-β4 ≦ + 1 (1)
As a result of the determination, when the second level operation signal is a communication signal transmitted to the self from the surrounding control unit 12 (Yes), the information for driving at the second level is included in the second level operation flag data 443. At the same time, the timer 49 is reset. Then, the process S151 is executed (S159). On the other hand, if the second level operation signal is not a communication signal transmitted from the surrounding control unit 12 to itself (No), the second level operation signal is discarded. Then, the process S151 is executed (S160).
[0144]
On the other hand, when there is an output from the timer 49, the control unit control unit 43 clears the second level operation flag data 443 by an interrupt process. Thereby, when the device 13 controlled by itself is controlled at the second operation level, the device 13 can be switched to the third operation level after a lapse of a predetermined time after receiving the last second level operation signal. .
[0145]
By operating in this manner, for example, in FIG. 15, when there is a person in the area E-9, the control unit control unit 43-9 of the control unit 12-9 performs the processes S151 (Yes), S152, and S152. By operating in step S153, the machine 13-9 is operated at the first level, and the second level operation signal including the new address (0203) is broadcast. Then, the control unit control units 43-1 to 43-24 of the control units 12-1 to 12-24 execute processing S151, processing S154, processing S156, processing S157, and processing S158. Then, the control units 12-2, 12-3, 12-4, 12-8, 12-10, 12-14, 12-15, and 12-16 generate the second level operation signals transmitted from the surrounding control units. Are determined, the processing S159, the processing S161, the processing S151, the processing 154, and the processing 155 are executed, and the devices 13-2, 13-3, 13-4, 13-8, 13-10, 13-14, Run 13-15 and 13-16 at the second level, respectively. On the other hand, the control units 12-1, 12-5 to 12-7, 12-11 to 12-13 and 12-17 to 12-24 determine that they are not the second level operation signals transmitted from the surrounding control units. Then, processing S160, processing S161, (processing S162), processing S151, processing S154, and processing S156 are executed, and the devices 13-1, 13-5 to 13-7, 13-11 to 13-13, and 13-17 to 13-17 are executed. Driving 12-24 at the third level.
[0146]
Then, in this embodiment, when a predetermined time set in the timer 49 elapses after receiving the second level operation signal by the interrupt processing, the second level operation flag data 443 is cleared, and the device 13 Drive to level 3.
[0147]
By operating in this manner, the device control system operates the device 13 controlled by the control unit 12 at the first level when the human sensor detects a human body, and causes the control unit 12 to control the surrounding control units. Each of the devices 13 controlled by the control unit 12 operates at the second level, and the other devices 13 controlled by the control unit 12 operate at the third level. Since each control unit 12 has an address in the form of a matrix, the control unit 12 that has responded to the motion sensor can use the mathematical properties of the matrix to make the control unit 12 that has responded to the human sensor use the matrix format. Addresses can be calculated easily and quickly.
[0148]
In the above-described embodiment, the second level operation signal accommodates its own new address (α6, β6) and broadcasts it. However, the control unit control unit 43 that transmits the second level operation signal converts the row component to ( By changing from α6-1) to (α6 + 1) and the column components from (β6-1) to (β6 + 1)), each new address of the surrounding control unit 43 is calculated, and the second level operation signal is multicast. May be configured. With this configuration, the traffic on the main transmission line 28 and the branch transmission line 29 can be reduced, and the other control unit control unit 43 does not need to perform the processing S158 and the processing S160, so that the load is reduced. be able to.
[0149]
Further, in the above-described embodiment, the control unit control unit 43 may be configured to perform the processing S157, the processing S158, the processing S159, and the processing S160 by interruption, and perform the processing S161 and the processing S162 by interruption. May be configured.
[0150]
Further, in the above-described embodiment, the branch unit 11 and the control unit 12 may be further provided with a function of reproducing the waveform deterioration of the communication signal. By adding such a function, the transmission distance can be extended, and signal errors can be suppressed.
[0151]
【The invention's effect】
As described above, in the device control system according to the first aspect, since each control unit has a matrix-type address, a software developer, a user of the device control system, or the like can use the mathematical property of the matrix. By doing so, it is possible to grasp the mutual arrangement relationship of the control units, and furthermore, the mutual arrangement relationship of the devices, simply by referring to the matrix format address. Therefore, a software developer, a user of the device control system, and the like can perform grouping without referring to the construction drawings and the like. Further, since a matrix-type address is allocated to the control unit, when a new control unit is added, a matrix-type address can be allocated to the new control unit so as to follow the existing control unit to be connected.
[0152]
In the device control systems according to the second and third aspects, in addition to the effects described in the first aspect, since a grouping device is provided, a user or the like of the device control system can change the group. Since the control unit is provided with a matrix-type address, the grouping device calculates a matrix based on the distance between two diagonal control units and one reference control unit in the row and column directions. By using the characteristic, other control units belonging to the group can be calculated easily and quickly. Therefore, the user of the device control system does not need to specify all the control units belonging to the group, and can change the group by the simple input described above.
[0153]
In the device control system according to the fourth aspect, in addition to the effect according to the first aspect, since each control unit has a matrix-type address, the second operation level is obtained by utilizing the mathematical property of the matrix. When a communication signal containing information to instruct to drive is received, whether or not the source control unit is a control unit around itself is calculated easily and quickly based on the matrix format address. And the operating state of the device can be appropriately controlled.
[0154]
In the device control system according to the fifth aspect, in addition to the effect described in the first aspect, since each control unit has a matrix-type address, the control unit responds to the motion sensor by utilizing the mathematical property of the matrix. The control unit that was able to easily and quickly calculate the matrix-type address in the control unit around itself, and operated the devices controlled by the surrounding control unit in the control unit that responded to the motion sensor The state can be controlled.
[0155]
In the device control system according to the sixth aspect, in addition to the effect according to the first aspect, since each control unit is provided with a matrix-type address, the second operation level is obtained by utilizing the mathematical property of the matrix. The control unit that has received the communication signal instructing to perform control by using the control unit can easily and quickly calculate whether the received communication signal has been transmitted from the control unit around the control unit, and respond to the motion sensor. It is possible to control the operating state of the device controlled by the surrounding control unit in the control unit having the problem.
[0156]
In the control unit according to claim 7, the branch unit according to claim 8, the addressing device according to claim 9, and the device control system according to claim 10, the transmission between upstream and downstream is turned on / off according to whether a matrix address is allocated. Therefore, communication can be established without specifying addresses in the control unit and the branch unit to which a matrix address is to be allocated, and a matrix address can be allocated.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a device control system.
FIG. 2 is a block diagram illustrating a configuration of a setting device in the device control system.
FIG. 3 is a block diagram illustrating a configuration of a branch unit in the device control system.
FIG. 4 is a block diagram illustrating a configuration of a control unit in the device control system.
FIG. 5 is a diagram illustrating another example of the configuration of the device control system.
FIG. 6 is a flowchart (part 1) illustrating an operation of setting a new address.
FIG. 7 is a flowchart (part 2) illustrating an operation of setting a new address.
FIG. 8 is a flowchart (part 3) illustrating an operation of setting a new address.
FIG. 9 is a flowchart (part 4) illustrating an operation of setting a new address.
FIG. 10 is a diagram showing new and old address correspondence table data in an addressing information storage unit.
FIG. 11 is a flowchart illustrating a grouping operation.
FIG. 12 is a diagram for explaining a first grouping method.
FIG. 13 is a diagram for explaining a first method in a second grouping method.
FIG. 14 is a flowchart illustrating an operation of a normal operation example of the device control system.
FIG. 15 is a diagram for describing a normal operation example of the device control system.
FIG. 16 is a diagram showing a configuration of a conventional device control system.
[Explanation of symbols]
10 setting device, 11 branch unit, 12 control unit, 13 equipment, 21 setting device control unit, 22 input unit, 23 display unit, 24 addressing information storage unit, 241 construction drawing data, 242 new / old address correspondence table data, 243 history data , 244 row number data, 245 column number data, 246 branch unit group data, 247 control unit group data, 248 controlled device group data, 25 device control status information storage unit, 251 on / off status data, 252 control pattern data, 253 control Schedule data, 26, 32, 42 signal conversion unit, 27, 31, 41 interface unit, 28 main transmission line, 29 branch transmission line, 33 branch unit control unit, 34 branch unit storage unit, 341, 441 old address data, 342 , 442 new Dress data, 35 and 45 contact switching unit, 36 and 46 switches, 43 control unit control unit, 44 control unit storage unit, 443 second-level operation flag data, 47 device control unit, 48 people motion sensor, 49 timer

Claims (10)

相互に通信可能に伝送路によって接続され機器の運転状態を制御する複数の制御ユニットを備える機器制御システムにおいて、
前記制御ユニットは、平面上に互いに独立な行方向及び列方向から成る座標系を定義して、制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表し、行列形式で表した行列形式アドレスを制御ユニットのアドレスとして記憶する記憶部を備えること
を特徴とする機器制御システム。
In a device control system including a plurality of control units that are connected by a transmission path to be able to communicate with each other and control an operation state of the device,
The control unit defines a coordinate system including a row direction and a column direction that are independent of each other on a plane, and a matrix of values of the row direction and the column direction at a point where the arrangement position of the control unit is projected on the plane. A device control system comprising: a storage unit that stores a matrix format address represented in a matrix format and a matrix format as an address of a control unit.
前記複数の制御ユニットにおける対角にある2個の制御ユニットを指定する指定手段と、指定された2個の制御ユニットの行列形式アドレス(αa、βa)(αb、βb)をそれぞれ認識する認識手段と、認識された行列形式アドレス(αa、βa)(αb、βb)に基づいて、行列形式アドレス(αa、βa)(αb、βb)を対角成分に持つ行列の各成分を計算し、行列形式アドレス(αa、βa)(αb、βb)を対角成分に持つ行列の各成分に対応する行列形式アドレスが割り振られた制御ユニットを1個のグループに纏めるグルーピング手段とを備えるグルーピング装置をさらに備えること
を特徴とする請求項1に記載の機器制御システム。
Specifying means for specifying two diagonal control units of the plurality of control units, and recognizing means for recognizing matrix-format addresses (αa, βa) (αb, βb) of the specified two control units, respectively Based on the recognized matrix format address (αa, βa) (αb, βb), each component of the matrix having the matrix format address (αa, βa) (αb, βb) as a diagonal component is calculated, A grouping device further comprising grouping means for grouping control units to which matrix-format addresses corresponding to respective components of a matrix having format addresses (αa, βa) (αb, βb) as diagonal components into one group. The device control system according to claim 1, further comprising:
前記複数の制御ユニットのうちの1個の制御ユニットと行方向及び列方向の距離を指定する指定手段と、指定された1個の制御ユニットの行列形式アドレス(αa、βa)を認識する認識手段と、認識された行列形式アドレス(αa、βa)を基準に、指定された行方向の距離及び指定された列方向の距離の範囲内にある制御ユニットの行列形式アドレスを計算し、該範囲内にある制御ユニットを1個のグループに纏めるグルーピング手段とを備えるグルーピング装置をさらに備えること
を特徴とする請求項1に記載の機器制御システム。
Designating means for designating a distance in a row direction and a column direction from one of the plurality of control units, and recognizing means for recognizing a matrix format address (αa, βa) of the designated one control unit Based on the recognized matrix format address (αa, βa), the matrix format address of the control unit within the range of the specified distance in the row direction and the specified distance in the column direction is calculated. The apparatus control system according to claim 1, further comprising a grouping device including: a grouping unit that groups the control units according to (1) into one group.
前記機器の運転状態は、第1の運転レベルと、該第1の運転レベルより低い運転レベルである第2の運転レベルと、該第2の運転レベルより低い運転レベルである第3の運転レベルとを少なくとも備え、
前記制御ユニットは、人を検知する人感センサと、自己が制御する機器の運転状態を制御する制御部とをさらに備え、前記制御部は、前記人感センサから出力があった場合には自己が制御する機器を第1の運転レベルになるように制御すると共に他の制御ユニットに第2の運転レベルで運転するように指示する通信信号を出力し、前記人感センサから出力がなかった場合であって第2の運転レベルで運転するように指示する旨の情報を含む通信信号を受信した場合には受信した通信信号の行列形式アドレスと記憶部に記憶する行列形式アドレスとを比較することによって受信した通信信号が周囲の制御ユニットから受信した場合には第2の運転レベルで運転すること
を特徴とする請求項1に記載の機器制御システム。
The operation state of the device is a first operation level, a second operation level that is lower than the first operation level, and a third operation level that is lower than the second operation level. And at least,
The control unit further includes a motion sensor for detecting a person, and a control unit for controlling an operation state of a device controlled by the motion sensor. Outputs a communication signal instructing another control unit to operate at the second operation level while controlling the device to be controlled to the first operation level, and there is no output from the human sensor. And when receiving a communication signal including information indicating an instruction to operate at the second operation level, comparing the matrix format address of the received communication signal with the matrix format address stored in the storage unit. 2. The device control system according to claim 1, wherein when the communication signal received from the control unit is received from a surrounding control unit, the device is operated at the second operation level. 3.
前記機器の運転状態は、第1の運転レベルと、該第1の運転レベルより低い運転レベルである第2の運転レベルと、該第2の運転レベルより低い運転レベルである第3の運転レベルとを少なくとも備え、
前記制御ユニットは、人を検知する人感センサと、自己が制御する機器の運転状態を制御する制御部とをさらに備え、前記記憶部は、他の制御ユニットから第2の運転レベルで運転するように指示されたか否かを示すフラグをさらに記憶し、前記制御部は、前記人感センサから出力があった場合には自己が制御する機器を第1の運転レベルになるように制御すると共に、前記記憶部に記憶されている行列形式アドレスに基づいて周囲の制御ユニットの行列形式アドレスを算出して該周囲の制御ユニットに第2の運転レベルで運転するように指示する通信信号を出力し、前記人感センサから出力がなかった場合には前記フラグに基づいて自己が制御する機器を第2の運転レベルになるように制御すること
を特徴とする請求項1に記載の機器制御システム。
The operation state of the device is a first operation level, a second operation level that is lower than the first operation level, and a third operation level that is lower than the second operation level. And at least,
The control unit further includes a motion sensor for detecting a person, and a control unit for controlling an operation state of a device controlled by the control unit, and the storage unit operates at a second operation level from another control unit. The control unit further controls a device to be controlled by the control unit to be at a first operation level when there is an output from the motion sensor. Calculating a matrix format address of a surrounding control unit based on the matrix format address stored in the storage unit, and outputting a communication signal instructing the surrounding control unit to operate at a second operation level. 2. The device control according to claim 1, wherein when no output is received from the human sensor, the device controlled by itself is controlled to a second operation level based on the flag. Stem.
前記機器の運転状態は、第1の運転レベルと、該第1の運転レベルより低い運転レベルである第2の運転レベルと、該第2の運転レベルより低い運転レベルである第3の運転レベルとを少なくとも備え、
前記制御ユニットは、人を検知する人感センサと、自己が制御する機器の運転状態を制御する制御部とをさらに備え、前記記憶部は、他の制御ユニットから第2の運転レベルで運転するように指示されたか否かを示すフラグをさらに記憶し、前記制御部は、前記人感センサから出力があった場合には自己が制御する機器を第1の運転レベルになるように制御すると共に、前記記憶部に記憶されている行列形式アドレスと第2の運転レベルで運転するように指示する旨の情報とを含む通信信号を出力し、前記人感センサから出力がなかった場合には前記フラグに基づいて自己が制御する機器を第2の運転レベルになるように制御し、第2の運転レベルで運転するように指示する旨の情報とを含む通信信号を受信した場合には受信した通信信号の行列形式アドレスと記憶部に記憶する行列形式アドレスとを比較することによって受信した通信信号が周囲の制御ユニットから受信したか否かを判別して周囲の制御ユニットから受信した場合には前記フラグを第2の運転レベルで運転するように指示されたことを示すように変更すること
を特徴とする請求項1に記載の機器制御システム。
The operation state of the device is a first operation level, a second operation level that is lower than the first operation level, and a third operation level that is lower than the second operation level. And at least,
The control unit further includes a motion sensor for detecting a person, and a control unit for controlling an operation state of a device controlled by the control unit, and the storage unit operates at a second operation level from another control unit. The control unit further controls a device to be controlled by the control unit to be at a first operation level when there is an output from the motion sensor. And outputting a communication signal including a matrix format address stored in the storage unit and information indicating an instruction to operate at a second operation level, and when there is no output from the human sensor, the communication signal is output. When a communication signal including information indicating that the device to be controlled by itself is controlled to the second operation level based on the flag and instructing to operate at the second operation level is received, the communication signal is received. Communication signal By comparing the column format address with the matrix format address stored in the storage unit, it is determined whether or not the received communication signal is received from the surrounding control unit. The device control system according to claim 1, wherein the change is made to indicate that an instruction to operate at the second operation level has been issued.
平面上に互いに独立な行方向及び列方向から成る座標系を定義して、制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表した行列形式アドレスを記憶するための新アドレス記憶部と、予めアドレスが記憶されている旧アドレス記憶部と、上流と下流との間で通信信号の伝送をオン・オフするスイッチと、前記スイッチのオン・オフを制御する制御部と、外部と通信信号を送受信する送受信部とを備え、
前記制御部は、前記スイッチをオフした状態で上流から行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を受信した場合に、前記旧アドレス記憶部のアドレスを含む旧アドレス信号を上流に返信し、この返信に対応して上流から行列形式アドレスを含む新アドレス信号を受信した場合に、受信した新アドレス信号から行列形式アドレスを取り出して前記新アドレス記憶部に格納し、行列形式アドレスを前記新アドレス記憶部に格納した後に前記スイッチをオンするものであること
を特徴とする機器の運転状態を制御する制御ユニット。
A matrix in which a coordinate system consisting of independent row and column directions is defined on a plane, and values in the row direction and column direction at points where the arrangement positions of the control units are projected on the plane are expressed in a matrix format. A new address storage unit for storing a format address, an old address storage unit in which an address is stored in advance, a switch for turning on / off a communication signal between upstream and downstream, and a switch for turning on / off the switch. A control unit that controls the turning off, a transmitting and receiving unit that transmits and receives a communication signal to and from the outside,
The control unit, when receiving an addressing signal including information indicating that allocation of a matrix format address is to be started from the upstream with the switch turned off, when the old address signal including the address of the old address storage unit is upstream. When a new address signal including a matrix address is received from the upstream in response to the reply, the matrix address is extracted from the received new address signal, stored in the new address storage unit, and the matrix address is stored. A control unit for controlling an operation state of a device, wherein the switch is turned on after the switch is stored in the new address storage unit.
平面上に互いに独立な行方向及び列方向から成る座標系を定義して、制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表した行列形式アドレスを記憶するため新アドレス記憶部と、予めアドレスが記憶されている旧アドレス記憶部と、上流と第1の下流との間で通信信号の伝送をオン・オフする第1スイッチと、上流と前記第1の下流とは異なる第2の下流との間で通信信号の伝送をオン・オフする第2スイッチと、前記第1及び第2スイッチのオン・オフを制御する制御部と、外部と通信信号を送受信する送受信部とを備え、
前記制御部は、前記第1及び第2スイッチをオフした状態で上流から行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を受信した場合に、前記旧アドレス記憶部のアドレスを含む旧アドレス信号を上流に返信し、この返信に対応して上流から行列形式アドレスを含む新アドレス信号を受信した場合に、受信した新アドレス信号から行列形式アドレスを取り出して前記新アドレス記憶部に格納し、行列形式アドレスを前記新アドレス記憶部に格納した後に前記第1及び第2スイッチの何れか一方をオンし、オンした下流に対して行列形式アドレスの割り振りが終了した旨の情報を含むアドレッシング終了信号を受信した場合に、オンしなかった他方のスイッチをオンするものであること
を特徴とする伝送路を分岐する分岐ユニット。
A matrix in which a coordinate system composed of mutually independent row and column directions is defined on a plane, and a row direction value and a column direction value at a point where an arrangement position of the control unit is projected on the plane are expressed in a matrix format. A new address storage unit for storing a format address, an old address storage unit in which an address is stored in advance, a first switch for turning on / off transmission of a communication signal between an upstream and a first downstream, A second switch for turning on / off the transmission of a communication signal between the first and the second downstream and a second downstream that is different from the first downstream; a control unit for controlling on / off of the first and second switches; And a transmitting and receiving unit for transmitting and receiving a communication signal,
The control unit, when receiving an addressing signal including information indicating that allocation of a matrix address is to be started from the upstream with the first and second switches turned off, when the old address including the address of the old address storage unit is received. When the address signal is returned to the upstream and a new address signal including the matrix address is received from the upstream in response to the reply, the matrix address is extracted from the received new address signal and stored in the new address storage unit. After storing the matrix format address in the new address storage unit, one of the first and second switches is turned on, and the addressing end including the information indicating that the allocation of the matrix format address has been completed to the downstream that has been turned on. When a signal is received, the other switch that has not been turned on is turned on, and the transmission path is branched. Toki unit.
伝送路を分岐する分岐ユニットと、分岐された伝送路に接続さる機器の運転状態を制御する制御ユニットとを備える機器制御システムの前記分岐ユニット及び制御ユニットに行列形式アドレスを割り振るアドレッシング装置において、
前記分岐ユニットと前記制御ユニットとの配置位置関係を示す施工図面の情報を記憶する施工図面記憶部と、前記分岐ユニットと前記制御ユニットとの配置位置関係に基づいて、前記分岐ユニット及び前記制御ユニットに予め記憶されているアドレスと平面上に互いに独立な行方向及び列方向から成る座標系を定義して制御ユニットの配置位置を前記平面上に投影した点における行方向の値及び列方向の値を行列形式で表した行列形式アドレスとの対応関係を示す新旧アドレス対応表を記憶する新旧アドレス対応表記憶部と、前記分岐ユニット及び制御ユニットに行列形式アドレスを割り振る制御部と、前記分岐ユニット及び制御ユニットと前記伝送路によって通信信号を送受信する送受信部とを備え、
前記制御部は、前記分岐ユニットに対して、上流と第1の下流との間の伝送及び上流と該第1の下流とは異なる第2の下流との間の伝送をオフした状態で、行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を送信し、このアドレッシング信号に対応してアドレスを含む旧アドレス信号を受信した場合に、受信した旧アドレス信号から取り出したアドレスと前記配置位置関係に応じて生成した行列形式アドレスとを前記新旧アドレス対応表に格納すると共に生成した行列形式アドレスを含む新アドレス信号を送信し、該新アドレス信号を送信した後に前記第1及び第2の下流の何れか一方への伝送をオンさせる第1分岐ユニットアドレッシング終了信号を送信すると共にオンした下流に接続される全て制御ユニットに対し行列形式アドレスを割り振った場合に、他方への伝送をオンさせる次分岐ユニットアドレッシング信号を送信し、
前記制御ユニットに対して、上流と下流との間の伝送をオフした状態で、行列形式アドレスの割り振りを開始する旨の情報を含むアドレッシング信号を送信し、このアドレッシング信号に対応してアドレスを含む旧アドレス信号を受信した場合に、受信した旧アドレス信号から取り出したアドレスと前記配置位置関係に応じて生成した行列形式アドレスとを前記新旧アドレス対応表に格納すると共に生成した行列形式アドレスを含む新アドレス信号を送信し、該新アドレス信号を送信した後に前記下流への伝送をオンさせる制御ユニットアドレッシング終了信号を送信するものであること
を特徴とするアドレッシング装置。
A branching unit for branching a transmission line, and an addressing device that allocates a matrix format address to the branching unit and the control unit of the device control system including a control unit that controls an operation state of a device connected to the branched transmission line,
A construction drawing storage unit that stores information of construction drawings indicating an arrangement positional relationship between the branch unit and the control unit, and the branch unit and the control unit based on an arrangement positional relationship between the branch unit and the control unit. A row direction value and a column direction value at a point where an arrangement position of the control unit is projected on the plane by defining a coordinate system composed of an address and a row direction and a column direction independent of each other on the plane stored in advance in the plane A new and old address correspondence table storage unit that stores a new and old address correspondence table indicating a correspondence relationship with a matrix format address represented in a matrix format, a control unit that allocates a matrix format address to the branch unit and the control unit, A control unit and a transmitting and receiving unit that transmits and receives a communication signal by the transmission path,
The control unit, for the branch unit, in a state in which the transmission between the upstream and the first downstream and the transmission between the upstream and the second downstream different from the first downstream is turned off, When transmitting an addressing signal including information indicating that format address allocation is to be started and receiving an old address signal including an address corresponding to the addressing signal, an address extracted from the received old address signal and the arrangement position A matrix address generated in accordance with the relationship is stored in the new / old address correspondence table, a new address signal including the generated matrix address is transmitted, and after transmitting the new address signal, the first and second downstream addresses are transmitted. And sends a first branch unit addressing end signal to turn on transmission to any one of the control units. When allocating a matrix format address, and transmits the next branching unit addressing signal for turning on the transmission to the other,
To the control unit, with the transmission between the upstream and the downstream turned off, transmit an addressing signal including information indicating that allocation of a matrix address is started, and include an address corresponding to the addressing signal. When an old address signal is received, an address extracted from the received old address signal and a matrix address generated in accordance with the arrangement positional relationship are stored in the new / old address correspondence table, and a new address including the generated matrix address is stored. An addressing device for transmitting an address signal, and transmitting a control unit addressing end signal for turning on the downstream transmission after transmitting the new address signal.
伝送路を分岐する分岐ユニットと、分岐された伝送路に接続さる機器の運転状態を制御する制御ユニットと、前記伝送路に接続され前記分岐ユニット及び制御ユニットに行列形式アドレスを割り振るアドレッシング装置とを備える機器制御システムにおいて、
前記制御ユニットは、請求項7に記載の制御ユニットであり、前記分岐ユニットは、請求項8に記載の分岐ユニットであり、前記アドレッシング装置は、請求項9に記載のアドレッシング装置であること
を特徴とする機器制御システム。
A branch unit for branching the transmission line, a control unit for controlling the operation state of a device connected to the branched transmission line, and an addressing device connected to the transmission line and allocating a matrix format address to the branch unit and the control unit. Equipment control system,
The control unit is the control unit according to claim 7, the branch unit is the branch unit according to claim 8, and the addressing device is the addressing device according to claim 9. Equipment control system.
JP2002342850A 2002-11-26 2002-11-26 Equipment control system, control unit, branch unit, and addressing device Pending JP2004179907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002342850A JP2004179907A (en) 2002-11-26 2002-11-26 Equipment control system, control unit, branch unit, and addressing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002342850A JP2004179907A (en) 2002-11-26 2002-11-26 Equipment control system, control unit, branch unit, and addressing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008212438A Division JP4265691B2 (en) 2008-08-21 2008-08-21 Equipment control system

Publications (1)

Publication Number Publication Date
JP2004179907A true JP2004179907A (en) 2004-06-24

Family

ID=32704787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002342850A Pending JP2004179907A (en) 2002-11-26 2002-11-26 Equipment control system, control unit, branch unit, and addressing device

Country Status (1)

Country Link
JP (1) JP2004179907A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006125727A (en) * 2004-10-28 2006-05-18 Shin Nippon Air Technol Co Ltd Control method for air conditioning/lighting, and system ceiling module therefor
JP2006217390A (en) * 2005-02-04 2006-08-17 Mitsubishi Electric Corp Device management apparatus and method
JP2007224606A (en) * 2006-02-23 2007-09-06 Matsushita Electric Works Ltd Vibration isolating operation authentication apparatus of base isolation building
JP2009033465A (en) * 2007-07-26 2009-02-12 Panasonic Electric Works Co Ltd Equipment control system
JP2009033466A (en) * 2007-07-26 2009-02-12 Panasonic Electric Works Co Ltd Equipment control system
JPWO2009034720A1 (en) * 2007-09-14 2010-12-24 三菱電機株式会社 Positioning system, air conditioning system, lighting system
JP2012053775A (en) * 2010-09-02 2012-03-15 Toshiba Corp Building monitoring control system and building monitoring control method
JP2014514885A (en) * 2011-05-11 2014-06-19 マイテク インジェニエリア アプリカーダ,エセ.エレ Central and terminal instrumentation nodes and self-configuring and safe building automation systems
JP2016532400A (en) * 2013-09-09 2016-10-13 エルジー・ケム・リミテッド Communication identifier assignment system and method for multi-BMS

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006125727A (en) * 2004-10-28 2006-05-18 Shin Nippon Air Technol Co Ltd Control method for air conditioning/lighting, and system ceiling module therefor
JP2006217390A (en) * 2005-02-04 2006-08-17 Mitsubishi Electric Corp Device management apparatus and method
JP4598552B2 (en) * 2005-02-04 2010-12-15 三菱電機株式会社 Device management apparatus and device management method
JP2007224606A (en) * 2006-02-23 2007-09-06 Matsushita Electric Works Ltd Vibration isolating operation authentication apparatus of base isolation building
JP2009033465A (en) * 2007-07-26 2009-02-12 Panasonic Electric Works Co Ltd Equipment control system
JP2009033466A (en) * 2007-07-26 2009-02-12 Panasonic Electric Works Co Ltd Equipment control system
JPWO2009034720A1 (en) * 2007-09-14 2010-12-24 三菱電機株式会社 Positioning system, air conditioning system, lighting system
JP2012053775A (en) * 2010-09-02 2012-03-15 Toshiba Corp Building monitoring control system and building monitoring control method
JP2014514885A (en) * 2011-05-11 2014-06-19 マイテク インジェニエリア アプリカーダ,エセ.エレ Central and terminal instrumentation nodes and self-configuring and safe building automation systems
JP2016532400A (en) * 2013-09-09 2016-10-13 エルジー・ケム・リミテッド Communication identifier assignment system and method for multi-BMS

Similar Documents

Publication Publication Date Title
CN101479995B (en) Autonomous limited network realization and commissioning
JP4265691B2 (en) Equipment control system
JP4481079B2 (en) Bluetooth master selection method, Bluetooth master selection program, and Bluetooth device
JP2004179907A (en) Equipment control system, control unit, branch unit, and addressing device
US8841865B2 (en) Lighting system and method for controlling the same
JP7016055B2 (en) Pairing method and pairing device
CN101107579B (en) System and method of configuring a control system for a plurality of devices
CN102307422B (en) System and method for replacing ballast in a lighting control system
US7135982B2 (en) Home network system and control method for the same
RU2466454C2 (en) Detection of location of support units for positioning
JP2007502529A (en) System bridge and time clock for RF controlled lighting system
JP6418710B2 (en) LIGHTING SYSTEM, SETTING DEVICE, LIGHTING CONTROL METHOD, AND LIGHTING CONTROL PROGRAM
JPWO2011145381A1 (en) Controller, light control method, and network system
US20200137860A1 (en) Method and apparatus for controlling lighting
WO2021196608A1 (en) Display scene switching method, intelligent display screen and readable storage medium
JP2011523494A (en) Area-based lighting control system, including local lighting device control
US20110296055A1 (en) Id setting system, id setting method and display unit using the same
CN106730819A (en) A kind of data processing method and mobile terminal based on mobile terminal
JP2016072125A (en) Lighting device, control circuit for controlling the same, integrated circuit, illumination system and method of operating lighting device
JPH10160229A (en) Centralized control device for air conditioner
CN109315053B (en) Presence emulation system and method
JPWO2018127993A1 (en) Wireless communication system
JP2017123047A (en) Information processor, electronic apparatus, method and program
CN106933421A (en) Electronic equipment and its touch control method
JP2009033466A (en) Equipment control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050819

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070911

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080624