JP6939175B2 - Lighting control system, lighting control system program and lighting control system control method - Google Patents

Lighting control system, lighting control system program and lighting control system control method Download PDF

Info

Publication number
JP6939175B2
JP6939175B2 JP2017140657A JP2017140657A JP6939175B2 JP 6939175 B2 JP6939175 B2 JP 6939175B2 JP 2017140657 A JP2017140657 A JP 2017140657A JP 2017140657 A JP2017140657 A JP 2017140657A JP 6939175 B2 JP6939175 B2 JP 6939175B2
Authority
JP
Japan
Prior art keywords
unit
lighting control
slave
survival confirmation
slave unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017140657A
Other languages
Japanese (ja)
Other versions
JP2019021565A (en
Inventor
悟 豊福
悟 豊福
国夫 金丸
国夫 金丸
毅 東藤
毅 東藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Iwasaki Denki KK
Original Assignee
Iwasaki Denki KK
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 Iwasaki Denki KK filed Critical Iwasaki Denki KK
Priority to JP2017140657A priority Critical patent/JP6939175B2/en
Publication of JP2019021565A publication Critical patent/JP2019021565A/en
Application granted granted Critical
Publication of JP6939175B2 publication Critical patent/JP6939175B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Selective Calling Equipment (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Description

本発明は、照明制御システム、照明制御システムのプログラム及び照明制御システムの制御方法に関する。 The present invention relates to a lighting control system, a program of the lighting control system, and a control method of the lighting control system.

特許文献1の無線通信装置は、複数の子機と、複数の子機と相互に無線通信可能な親機とを備える。親機は、複数の子機のうちの一部でかつ複数の子機に対する情報を含んだ単一の通信フレームを一斉に送信可能な指示情報送信部と、複数の子機から順次にデータ情報を受信するデータ情報受信部とを備える。 The wireless communication device of Patent Document 1 includes a plurality of slave units and a master unit capable of wirelessly communicating with the plurality of slave units. The master unit is an instruction information transmitter that can simultaneously transmit a single communication frame that is a part of a plurality of slave units and contains information for the plurality of slave units, and data information sequentially from the plurality of slave units. It is provided with a data information receiving unit for receiving the data.

特許文献2の照明制御システムでは、管理装置と通信接続しているマスタ照明灯が、支配下にあるスレーブ照明灯の照明制御を行う。マスタ照明灯は、管理装置から受信した照明制御に関する指示に基づいて、スレーブ照明灯に対して照明制御を行う点灯制御部を備える。また、マスタ照明灯は、他のマスタ照明灯が故障した場合に、他のマスタ照明灯の支配下にあったスレーブ照明灯を、自機の支配下にあるスレーブ照明灯に追加する追加部を備える。 In the lighting control system of Patent Document 2, the master lighting that is communicatively connected to the management device controls the lighting of the slave lighting that is under control. The master lighting includes a lighting control unit that controls lighting for the slave lighting based on an instruction regarding lighting control received from the management device. In addition, the master illuminator adds an additional part that adds a slave illuminator under the control of the other master illuminator to the slave illuminator under the control of the own unit when another master illuminator fails. Be prepared.

特開2015−88763号公報Japanese Unexamined Patent Publication No. 2015-888763 特許6081795号公報Japanese Patent No. 6081795

照明制御システムでは、制御装置から親機に照明制御指令が送信され、照明制御指令に基づいて親機から子機に照明制御データが送信され、照明制御データに基づいて子機から照明器具に照明制御信号が送信される。ここで、起動後に、親機と子機の間で、ネットワーク構築のための処理及び照明制御のための処理とが重複すると通信フレームが輻輳し、照明制御の遅延又は欠落が生じ得る。 In the lighting control system, a lighting control command is transmitted from the control device to the master unit, lighting control data is transmitted from the master unit to the slave unit based on the lighting control command, and the slave unit illuminates the lighting fixture based on the lighting control data. A control signal is transmitted. Here, if the processing for network construction and the processing for lighting control overlap between the master unit and the slave unit after startup, the communication frame is congested, and delay or omission of lighting control may occur.

そこで、本発明は、親機の起動時の動作を適正化することによって照明制御時の通信フレーム数を低減して制御の遅延及び欠落を抑制する照明制御システム、照明制御システムのプログラム及び照明制御システムの制御方法を提供することを課題とする。 Therefore, the present invention provides a lighting control system, a program of a lighting control system, and lighting control that suppresses delays and omissions in control by reducing the number of communication frames during lighting control by optimizing the operation of the master unit at startup. An object is to provide a control method for a system.

本発明の照明制御システムは親機及び少なくとも1つの子機を備え、子機に照明器具が接続される。親機は、子機と無線通信可能な親機無線通信部と、親機の起動時に、親機無線通信部を子機とネットワーク接続可能な状態とするための通信部初期化処理、及び親機無線通信部から子機に生存確認コマンドを送信させ、生存確認コマンドに対して受信された生存確認応答に応じて、子機のうち、親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行する接続処理部と、初回生存確認処理の後に、照明器具についての照明制御データを親機無線通信部から接続子機に送信させる照明制御処理を実行する照明制御部とを備える。 The lighting control system of the present invention includes a master unit and at least one slave unit, and a lighting fixture is connected to the slave unit. The master unit has a master unit wireless communication unit capable of wireless communication with the slave unit, a communication unit initialization process for making the master unit wireless communication unit wirelessly connectable to the slave unit when the master unit is started, and a master unit. The wireless communication unit sends a survival confirmation command to the slave unit, and identifies the connected slave unit that is network-connected to the master unit among the slave units according to the survival confirmation response received in response to the survival confirmation command. A connection processing unit that executes the initial survival confirmation processing, and a lighting control unit that executes the lighting control processing that causes the master unit wireless communication unit to transmit the lighting control data for the lighting equipment to the connecting slave unit after the initial survival confirmation processing. Be prepared.

上記照明制御システムによると、親機の起動時に接続処理部及び親機無線通信部が親機と子機との無線ネットワークを構成するための通信部初期化処理及び初回生存確認処理を実行し、その後に照明制御部及び親機無線通信部が接続子機に対して照明制御処理を実行する。これにより、照明制御処理においてネットワーク構築のためのフレームが通信されることなく、さらに接続子機に対してのみ照明制御データのフレームが通信されるので、照明制御処理における通信フレーム数を低減することができる。したがって、親機の起動時の動作を適正化することによって照明制御時の通信フレーム数を低減して制御の遅延及び欠落を抑制する照明制御システムが実現される。 According to the above lighting control system, when the master unit is started up, the connection processing unit and the master unit wireless communication unit execute the communication unit initialization process and the initial survival confirmation process for configuring the wireless network between the master unit and the slave unit. After that, the lighting control unit and the master unit wireless communication unit execute the lighting control process for the connected slave unit. As a result, the frame for network construction is not communicated in the lighting control processing, and the frame of the lighting control data is communicated only to the connecting slave unit, so that the number of communication frames in the lighting control processing can be reduced. Can be done. Therefore, a lighting control system is realized in which the number of communication frames during lighting control is reduced and control delays and omissions are suppressed by optimizing the operation of the master unit at startup.

ここで、子機は、親機と無線通信可能な子機無線通信部と、子機無線通信部を介して受信された生存確認コマンドに対応する生存確認応答を子機無線通信部から親機に送信させる応答処理部と、子機無線通信部を介して受信された照明制御データに応じた照明制御信号を照明器具に出力する照明出力部とを備える。これにより、簡素な構成の照明制御システムが実現される。 Here, the slave unit sends a survival confirmation response corresponding to the survival confirmation command received via the slave unit wireless communication unit and the slave unit wireless communication unit capable of wireless communication with the master unit from the slave unit wireless communication unit. It is provided with a response processing unit for transmitting to the luminaire and a lighting output unit for outputting a lighting control signal corresponding to the lighting control data received via the slave unit wireless communication unit to the luminaire. As a result, a lighting control system having a simple configuration is realized.

また、子機は、照明制御システムの前回終了時に出力されていた照明制御信号に関する情報である前回照明情報を記憶する不揮発性メモリを備え、応答処理部が、前回照明情報を生存確認応答に含めるように構成され、照明制御部が、前回照明情報に対応する照明制御データを生成するように構成されることが好ましい。これにより、照明制御システムの起動時、特に親機の起動時に、前回システム終了時の動作が速やかに再現され、ユーザにおける使用開始時の制御待ち時間が短縮される。 In addition, the slave unit is equipped with a non-volatile memory that stores the previous lighting information, which is information related to the lighting control signal output at the time of the previous termination of the lighting control system, and the response processing unit includes the previous lighting information in the survival confirmation response. It is preferable that the lighting control unit is configured to generate lighting control data corresponding to the previous lighting information. As a result, when the lighting control system is started, especially when the master unit is started, the operation at the time of the previous system termination is quickly reproduced, and the control waiting time at the start of use by the user is shortened.

ここで、前回照明情報は、照明制御システムの前回終了時の子機の機能設定を示し、機能設定において設定される機能が、照明器具を点灯/消灯するオン/オフ機能及び照明器具を調光する調光機能の少なくとも一方を含み得る。また、前回照明情報は、照明制御システムの前回終了時の照明器具の点灯状態を示すものであってもよい。これにより、照明制御システムの起動時、特に親機の起動時に、前回システム終了時の機能設定又は点灯状態が遅延なく再現され、ユーザにおける使用上の違和感が軽減される。 Here, the previous lighting information indicates the function setting of the slave unit at the time of the previous termination of the lighting control system, and the function set in the function setting is an on / off function for turning on / off the lighting fixture and dimming the lighting fixture. It may include at least one of the dimming functions to be performed. Further, the previous lighting information may indicate the lighting state of the lighting fixture at the time of the previous termination of the lighting control system. As a result, when the lighting control system is started, especially when the master unit is started, the function setting or the lighting state at the time of the previous system termination is reproduced without delay, and the user feels uncomfortable in use.

また、接続処理部が、親機に外部入力される子機設定情報又は子機に外部入力されて親機に送信された子機設定情報を生存確認コマンドに含ませるように構成され、子機が、子機設定情報に基づいて機能設定を決定する機能設定部を含み、機能設定において設定される機能が、照明器具を点灯/消灯するオン/オフ機能及び照明器具を調光する調光機能の少なくとも一方を含むようにしてもよい。これにより、子機に接続される照明器具の仕様(接続数、機能設定など)が変更された場合などに、ユーザが子機の設置場所に出向いたり子機を直接操作したりすることなく機能設定を変更することが可能となり、照明制御システムの使用性が向上する。 In addition, the connection processing unit is configured to include the slave unit setting information externally input to the master unit or the slave unit setting information externally input to the slave unit and transmitted to the master unit in the survival confirmation command. However, the function set in the function setting includes an on / off function for turning on / off the lighting fixture and a dimming function for dimming the lighting fixture, including a function setting unit for determining the function setting based on the slave unit setting information. May include at least one of the above. As a result, when the specifications of the lighting equipment connected to the slave unit (number of connections, function settings, etc.) are changed, the user does not have to go to the installation location of the slave unit or operate the slave unit directly. The settings can be changed, improving the usability of the lighting control system.

また、子機が複数のチャネルを有し、接続処理部が、初回生存確認処理において、生存確認コマンドを親機無線通信部から複数のチャネルに順次送信させ、複数のチャネルのうちの少なくとも1つから生存確認応答が受信されない場合に当該チャネルが属する子機が未接続であると判定するように構成されることが好ましい。これにより、1台の未接続子機に対する初回生存確認処理が短縮され得るので、初回生存確認処理の全体の所要時間が短縮され得る。 Further, the slave unit has a plurality of channels, and the connection processing unit sequentially transmits a survival confirmation command from the master unit wireless communication unit to the plurality of channels in the initial survival confirmation processing, and at least one of the plurality of channels. It is preferable that the slave unit to which the channel belongs is determined to be unconnected when the survival confirmation response is not received from. As a result, the initial survival confirmation process for one unconnected slave unit can be shortened, so that the total time required for the initial survival confirmation process can be shortened.

また、本発明は、コンピュータを、上記いずれかの照明制御システムが備える各部として機能させるためのプログラムも含む。さらに、本発明は、上記いずれかの照明制御システムの各部の処理を実行するステップを備える、照明制御システムの制御方法も含む。 The present invention also includes a program for causing the computer to function as each part of any of the above lighting control systems. Further, the present invention also includes a control method of a lighting control system, comprising a step of executing processing of each part of any of the above lighting control systems.

実施形態による照明制御システムのブロック図である。It is a block diagram of the lighting control system by embodiment. 実施形態による照明制御システムにおける親機の動作を示す全体フローチャートである。It is an overall flowchart which shows the operation of the master unit in the lighting control system by embodiment. 図2の通信部初期化処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the communication part initialization process of FIG. 図2の初回生存確認処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the first survival confirmation processing of FIG. 図2の通常生存確認処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the normal survival confirmation processing of FIG. 図2の照明制御処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the lighting control processing of FIG.

<実施形態>
図1に、本発明の実施形態による照明制御システム1のブロック図を示す。照明制御システム1は、制御機2A、パーソナルコンピュータ(PC)2B、親機3−1〜3−k(例えば、k≦4)、子機4−1〜4−m及び照明器具5−1〜5−nを含む。以降の説明において、親機3−1〜3−kを総称して又はいずれか1つを代表して親機3といい、子機4−1〜4−mを総称して又はいずれか1つを代表して子機4といい、各親機3は実質的に同じ構成を有し、各子機4は実質的に同じ構成を有するものとする。また、照明器具5−1〜5−nを総称して又はいずれか1つを代表して照明器具5というものとする。制御機2A(及び場合によってはPC2B)、親機3、子機4及び照明器具5の各々は、商用電源などの適宜の電力系統から電源給電されるものとする。制御機2A及びPC2Bと親機3とは有線接続され、親機3と各子機4の間は無線接続され、子機4と照明器具5とは有線接続される。親機3と子機4との無線接続は、例えば、特定小電力無線、Wi−SUN、ZigBee(登録商標)、BLEなどの通信規格に準拠していればよい。なお、制御機2A又はPC2Bと親機3とは無線接続されてもよいし、子機4と照明器具5とは無線接続されてもよい。また、子機4と照明器具5とが有線接続又は無線接続される限り、子機4は、照明器具5の内部に設置されてもよいし、照明器具5に付設されてもよい。
<Embodiment>
FIG. 1 shows a block diagram of the lighting control system 1 according to the embodiment of the present invention. The lighting control system 1 includes a controller 2A, a personal computer (PC) 2B, a master unit 3-1 to 3-k (for example, k ≦ 4), a slave unit 4-1 to 4-m, and a lighting fixture 5-1 to 1. Includes 5-n. In the following description, the master unit 3-1 to 3-k will be generically referred to as the master unit 3 or any one of them will be collectively referred to as the master unit 3, and the slave units 4-1 to 4-m will be generically referred to or any one of them. One is referred to as a slave unit 4, and each master unit 3 has substantially the same configuration, and each slave unit 4 has substantially the same configuration. Further, the lighting fixtures 5-1 to 5-n are collectively referred to as the lighting fixture 5 or one of them is represented. Each of the controller 2A (and PC2B in some cases), the master unit 3, the slave unit 4, and the lighting fixture 5 shall be powered by an appropriate power system such as a commercial power supply. The controller 2A and PC2B and the master unit 3 are connected by wire, the master unit 3 and each slave unit 4 are wirelessly connected, and the slave unit 4 and the lighting fixture 5 are connected by wire. The wireless connection between the master unit 3 and the slave unit 4 may conform to communication standards such as specified low power radio, Wi-SUN, ZigBee (registered trademark), and BLE. The controller 2A or PC 2B and the master unit 3 may be wirelessly connected, or the slave unit 4 and the lighting fixture 5 may be wirelessly connected. Further, as long as the slave unit 4 and the lighting fixture 5 are connected by wire or wirelessly, the slave unit 4 may be installed inside the lighting fixture 5 or may be attached to the lighting fixture 5.

制御機2Aは、例えば、岩崎電気株式会社製のITACS制御機からなる制御装置である。パーソナルコンピュータ2Bは、ITACSのソフトウェアがインストールされたノートパソコンなどからなる制御装置である。制御機2A及びPC2Bのいずれか一方が親機3に接続されていればよい。制御機2A及びPC2Bは、処理部21a及び21b、記憶部22a及び22b、入出力インターフェイス(IF)23a及び23b並びに送受信部24a及び24bをそれぞれ備える。記憶部22a及び22bは、プログラム及びデータを記憶するメモリである。入出力IF23a及び23bは、ユーザ操作による入力を受け付けるとともに、制御機2A及びPC2Bの制御設定、制御状態などを表示する。処理部21a及び21bは、それぞれ記憶部22a及び22bに予め記憶されたプログラムに基づいて、又はそれぞれ入出力IF23a及び23bを介して入力されたユーザ操作に基づいて照明制御指令を生成する。送受信部24a及び24bは、それぞれ処理部21a及び21bによって生成された照明制御指令を親機3(送受信部35)に送信する。また、送受信部24a又は24bが、親機3又は子機4の制御設定又は制御状態を示すフィードバック信号を親機3から受信し、処理部21a又は21bがフィードバック信号の情報を入出力IF23a又は23bに表示させるようにしてもよい。 The controller 2A is, for example, a control device including an ITACS controller manufactured by Iwasaki Electric Co., Ltd. The personal computer 2B is a control device including a notebook computer or the like in which ITACS software is installed. Either one of the controller 2A and the PC 2B may be connected to the master unit 3. The controllers 2A and PC2B include processing units 21a and 21b, storage units 22a and 22b, input / output interfaces (IF) 23a and 23b, and transmission / reception units 24a and 24b, respectively. The storage units 22a and 22b are memories for storing programs and data. The input / output IFs 23a and 23b accept input by user operation and display control settings, control status, etc. of the controller 2A and PC2B. The processing units 21a and 21b generate lighting control commands based on programs stored in advance in the storage units 22a and 22b, respectively, or based on user operations input via the input / output IFs 23a and 23b, respectively. The transmission / reception units 24a and 24b transmit the lighting control commands generated by the processing units 21a and 21b to the master unit 3 (transmission / reception unit 35), respectively. Further, the transmission / reception unit 24a or 24b receives a feedback signal indicating the control setting or control state of the master unit 3 or the slave unit 4 from the master unit 3, and the processing unit 21a or 21b receives the feedback signal information as input / output IF23a or 23b. It may be displayed in.

代替例として、照明制御システム1において、制御機2A又はPC2Bなどの制御装置に代えて、人感センサ、照度センサなどの各種センサが設けられてもよい。すなわち、親機3は、各種センサからの入力信号に応じて動作するように構成されてもよい。この場合、親機3において、送受信部35の代わりに各種センサからの検出信号を受信する信号受信部が設けられる。上記各種センサは、親機3に対して遠隔に設置されてもよいし、親機3に直接設置されてもよい。 As an alternative example, in the lighting control system 1, various sensors such as a motion sensor and an illuminance sensor may be provided instead of the control device such as the controller 2A or the PC2B. That is, the master unit 3 may be configured to operate in response to input signals from various sensors. In this case, the master unit 3 is provided with a signal receiving unit that receives detection signals from various sensors instead of the transmitting / receiving unit 35. The various sensors may be installed remotely with respect to the master unit 3 or may be installed directly with the master unit 3.

親機3は、親機無線通信部30、CPU31、メモリ32及び送受信部35を備える。これらの各部は、バスを介して相互に信号及びデータのやり取りが可能な態様で接続される。親機無線通信部30は、各子機4(後述の子機無線通信部40)と無線通信を行う無線モジュールであり、例えば、CPU31、メモリ32及び送受信部35が実装される親基板に搭載される子基板として形成される。CPU31は、接続処理部33及び照明制御部34を含む。CPU31は、そこに含まれる各部の機能とともに、親機無線通信部30の通信制御、接続処理部33及び照明制御部34の統括制御、送受信部35の通信制御など、特に明記しない一般的なCPUとしての機能も実行可能であるものとする。メモリ32は、プログラム及びデータを記憶するRAM、ROMなどの記憶部であり、本実施形態を実行するためのプログラムがすでに書き込まれているものとする。CPU31及びメモリ32は1つのマイクロコンピュータに含まれ得る。送受信部35は、制御機2A及びPC2Bの送受信部24a及び24bと通信可能に接続される。 The master unit 3 includes a master unit wireless communication unit 30, a CPU 31, a memory 32, and a transmission / reception unit 35. Each of these parts is connected via a bus so that signals and data can be exchanged with each other. The master unit wireless communication unit 30 is a wireless module that performs wireless communication with each slave unit 4 (slave unit wireless communication unit 40 described later), and is mounted on, for example, a master board on which a CPU 31, a memory 32, and a transmission / reception unit 35 are mounted. It is formed as a child substrate to be used. The CPU 31 includes a connection processing unit 33 and a lighting control unit 34. The CPU 31 is a general CPU that is not specified in particular, such as communication control of the master unit wireless communication unit 30, integrated control of the connection processing unit 33 and the lighting control unit 34, and communication control of the transmission / reception unit 35, as well as the functions of each unit included therein. It is assumed that the function as is also feasible. The memory 32 is a storage unit such as a RAM or a ROM for storing the program and data, and it is assumed that the program for executing the present embodiment has already been written. The CPU 31 and the memory 32 may be included in one microcomputer. The transmission / reception unit 35 is communicably connected to the transmission / reception units 24a and 24b of the controller 2A and PC2B.

親機3は、その起動時の処理である起動時処理P0及びその後の処理である通常動作処理P1を行う。起動時処理P0は、通信部初期化処理P01及び初回生存確認処理P02を含み、主に接続処理部33によって実行される。通常動作処理P1は、通常生存確認処理P11及び照明制御処理P12を含む。通常生存確認処理P11は主に接続処理部33によって実行され、照明制御処理P12は主に照明制御部34によって実行される。 The master unit 3 performs the start-up process P0, which is the start-up process, and the normal operation process P1 which is the subsequent process. The startup process P0 includes the communication unit initialization process P01 and the initial survival confirmation process P02, and is mainly executed by the connection process unit 33. The normal operation process P1 includes a normal survival confirmation process P11 and a lighting control process P12. The normal survival confirmation process P11 is mainly executed by the connection processing unit 33, and the lighting control process P12 is mainly executed by the lighting control unit 34.

接続処理部33は、各種コマンドを生成及び処理し、子機4との無線ネットワーク接続に関する処理を行う。各種コマンドは、親機3の内部で処理されるコマンドとして、親機無線通信部30の運用を開始するためのコマンド(以下、「運用開始要求コマンド」という)、親機無線通信部30のモジュール状態情報取得のためのコマンド(以下、「状態情報取得コマンド」という)、子機4の経路情報要求のためのコマンド(以下、「経路情報要求コマンド」という)などを含む。また、各種コマンドは、子機4に送信されるコマンドとして、生存確認コマンドなどを含む。 The connection processing unit 33 generates and processes various commands, and performs processing related to the wireless network connection with the slave unit 4. The various commands are commands for starting the operation of the master unit wireless communication unit 30 (hereinafter referred to as "operation start request command") and modules of the master unit wireless communication unit 30 as commands processed inside the master unit 3. It includes a command for acquiring status information (hereinafter referred to as "status information acquisition command"), a command for requesting route information of the slave unit 4 (hereinafter referred to as "route information request command"), and the like. In addition, various commands include a survival confirmation command and the like as commands transmitted to the slave unit 4.

通信部初期化処理P01において、接続処理部33は運用開始要求コマンドを親機無線通信部30に出力し、親機無線通信部30は運用開始応答を返す。その後、接続処理部33は状態情報取得コマンドを親機無線通信部30に出力し、親機無線通信部30は状態情報取得コマンドに対して状態情報応答を返す。接続処理部33は、状態情報応答を制限時間内に受信しかつ状態情報応答が正常な値を示す場合、すなわち、親機無線通信部30から無線ネットワークを構築することができると判断した場合、経路情報要求コマンドを親機無線通信部30に出力する。その後、接続処理部33は、所定のインターバルで経路情報要求コマンドを親機無線通信部30に出力し、親機無線通信部30は経路情報要求コマンドに対して経路情報応答を返す。接続処理部33は、経路情報応答を制限時間内に受信しかつ経路情報応答が必要な情報を含む場合、すなわち、経路情報応答が子機4のショートアドレス、IPアドレスなどを含む場合、初回生存確認処理P02に移行する。また、親機3と子機4とのネットワーク構築のための各種制御フレームは、この通信部初期化処理P01中の少なくとも経路情報応答の出力前に親機3と子機4との間で通信され得る。 In the communication unit initialization process P01, the connection processing unit 33 outputs an operation start request command to the master unit wireless communication unit 30, and the master unit wireless communication unit 30 returns an operation start response. After that, the connection processing unit 33 outputs a state information acquisition command to the master unit wireless communication unit 30, and the master unit wireless communication unit 30 returns a status information response to the status information acquisition command. When the connection processing unit 33 receives the status information response within the time limit and the status information response shows a normal value, that is, when it is determined that the wireless network can be constructed from the master unit wireless communication unit 30. The route information request command is output to the master unit wireless communication unit 30. After that, the connection processing unit 33 outputs a route information request command to the master unit wireless communication unit 30 at predetermined intervals, and the master unit wireless communication unit 30 returns a route information response to the route information request command. The connection processing unit 33 receives the route information response within the time limit and includes information that requires the route information response, that is, when the route information response includes the short address, IP address, etc. of the slave unit 4, the connection processing unit 33 survives for the first time. The process proceeds to confirmation process P02. Further, various control frames for constructing a network between the master unit 3 and the slave unit 4 communicate between the master unit 3 and the slave unit 4 at least before the output of the route information response in the communication unit initialization process P01. Can be done.

初回生存確認処理P02において、接続処理部33は生存確認コマンドを生成し、この生存確認コマンドを親機無線通信部30から、接続され得るすべての子機4(以下、「全子機4」という)のチャネルに順次送信する。送信した各生存確認コマンドに対する生存確認応答が制限時間内に親機無線通信部30を介して受信された場合、接続処理部33は、受信した生存確認応答に含まれる応答情報を、メモリ32に記憶された現状テーブルに書き込む。 In the initial survival confirmation process P02, the connection processing unit 33 generates a survival confirmation command, and this survival confirmation command is transmitted from the master unit wireless communication unit 30 to all the slave units 4 (hereinafter, referred to as "all slave units 4") that can be connected. ) Sequentially transmit to the channel. When the survival confirmation response for each transmitted survival confirmation command is received via the master unit wireless communication unit 30 within the time limit, the connection processing unit 33 transmits the response information included in the received survival confirmation response to the memory 32. Write to the stored status table.

この応答情報は、肯定応答(ACK)だけでなく、例えば、機能設定、点灯状態(子機4の出力状態)などを含む。機能設定は、子機4の各チャネル構成の設定であり、具体的には、照明器具5を点灯/消灯するオン/オフ機能の設定、照明器具5を調光する調光機能の設定などである。点灯状態は、そのチャネルの照明器具5の点灯/消灯の別、点灯している場合の調光率、点灯している場合の発光色、点滅している場合の点滅態様(点滅周期など)などである。 This response information includes not only an acknowledgment (ACK) but also, for example, a function setting, a lighting state (output state of the slave unit 4), and the like. The function setting is the setting of each channel configuration of the slave unit 4, and specifically, the setting of the on / off function for turning on / off the lighting fixture 5, the setting of the dimming function for dimming the lighting fixture 5, and the like. be. The lighting state includes whether the lighting fixture 5 of the channel is turned on or off, the dimming rate when it is lit, the emission color when it is lit, the blinking mode when it is blinking (blinking cycle, etc.), etc. Is.

また、接続処理部33は、ある1台の子機4の複数のチャネルのうちの少なくとも1つから生存確認応答が受信されない場合、当該チャネルが属する子機4が未接続であると判定する。接続処理部33は、全子機4に対して初回生存確認処理P01を実行し、すなわち、全子機4について、親機3にネットワーク接続されている子機4(以下、「接続子機4C」という)及び親機3にネットワーク接続されていない子機4(以下、「未接続子機4N」という)を特定する。接続処理部33は、起動時処理P0(通信部初期化処理P01及び初回生存確認処理P01)の後に、通常動作処理P1(通常生存確認処理P11及び照明制御処理P12)に移行する。 Further, when the survival confirmation response is not received from at least one of the plurality of channels of one slave unit 4, the connection processing unit 33 determines that the slave unit 4 to which the channel belongs is not connected. The connection processing unit 33 executes the initial survival confirmation process P01 for all the slave units 4, that is, for all the slave units 4, the slave unit 4 connected to the master unit 3 via the network (hereinafter, “connected slave unit 4C”). ”) And the slave unit 4 (hereinafter referred to as“ unconnected slave unit 4N ”) that is not connected to the master unit 3 via the network. The connection processing unit 33 shifts to the normal operation processing P1 (normal survival confirmation processing P11 and lighting control processing P12) after the startup processing P0 (communication unit initialization processing P01 and initial survival confirmation processing P01).

通常生存確認処理P11において、接続処理部33は生存確認コマンドを生成し、生存確認コマンドを親機無線通信部30から未接続子機4Nに送信する。言い換えると、生存確認コマンドは接続子機4Cには送信されない。送信した生存確認コマンドに対する生存確認応答が制限時間内に親機無線通信部30を介して受信された場合、当該生存確認応答を送信した子機4は、未接続子機4Nから接続子機4Cに変更される。また、接続処理部33は、受信した生存確認応答に含まれる応答情報を、メモリ32に記憶された現状テーブルに書き込む。一方、送信した生存確認コマンドに対する生存確認応答が制限時間内に受信されない場合、接続処理部33は、未接続子機4Nが依然未接続であると判定して現状テーブルを維持する。 In the normal survival confirmation process P11, the connection processing unit 33 generates a survival confirmation command, and transmits the survival confirmation command from the master unit wireless communication unit 30 to the unconnected slave unit 4N. In other words, the survival confirmation command is not transmitted to the connecting slave unit 4C. When the survival confirmation response to the transmitted survival confirmation command is received via the master unit wireless communication unit 30 within the time limit, the slave unit 4 that has transmitted the survival confirmation response is the connected slave unit 4C from the unconnected slave unit 4N. Is changed to. Further, the connection processing unit 33 writes the response information included in the received survival confirmation response into the current status table stored in the memory 32. On the other hand, if the survival confirmation response to the transmitted survival confirmation command is not received within the time limit, the connection processing unit 33 determines that the unconnected slave unit 4N is still unconnected and maintains the current table.

また、通常生存確認処理P11において、接続処理部33は、未接続子機4Nの台数を取得し、その台数が所定値又は所定割合を超えた状態が所定時間以上継続した場合には、自動リセット処理に移行する。例えば、全子機4のうちの80%(例えば、50台中40台)が未接続となる期間が300秒以上継続した場合に、自動リセット処理が適用されるようにしてもよい。この自動リセット処理は、未接続子機4Nが相対的に多い状態が親機3自体の故障又は不具合に起因する場合もあることを考慮して、親機3を実質的に再起動させるものである。したがって、自動リセット処理では、例えば、起動時処理P0(通信部初期化処理P01及び初回生存確認処理P02)が再度実行されるようにすればよい。 Further, in the normal survival confirmation process P11, the connection processing unit 33 acquires the number of unconnected slave units 4N, and automatically resets when the number exceeds a predetermined value or a predetermined ratio for a predetermined time or longer. Move to processing. For example, the automatic reset process may be applied when 80% of all the slave units 4 (for example, 40 out of 50 units) remain unconnected for 300 seconds or longer. This automatic reset process substantially restarts the master unit 3 in consideration of the fact that the state in which the number of unconnected slave units 4N is relatively large may be caused by a failure or malfunction of the master unit 3 itself. be. Therefore, in the automatic reset process, for example, the startup process P0 (communication unit initialization process P01 and initial survival confirmation process P02) may be executed again.

また、初回生存確認処理P02又は通常生存確認処理P11において、接続処理部33が、生存確認コマンドに子機4の子機設定情報を含めてもよい。子機設定情報とは、子機4の各チャネルの機能設定を決定(維持又は変更)するための情報又は指令である。この子機設定情報は、制御機2A又はPC2Bから送受信部35を介して受信されるようにしてもよいし、親機3のCPU31に接続される外部配線などを介してメモリ32に書き込まれるようにしてもよい。これにより、例えば、子機4に接続される照明器具5の仕様(接続数、機能設定など)が変更された場合に、ユーザが子機4の設置場所に出向いたり子機4を直接操作したりすることなく機能設定を変更することが可能となる。 Further, in the initial survival confirmation process P02 or the normal survival confirmation process P11, the connection processing unit 33 may include the slave unit setting information of the slave unit 4 in the survival confirmation command. The slave unit setting information is information or a command for determining (maintaining or changing) the function setting of each channel of the slave unit 4. This slave unit setting information may be received from the controller 2A or PC2B via the transmission / reception unit 35, or may be written to the memory 32 via external wiring or the like connected to the CPU 31 of the master unit 3. You may do it. As a result, for example, when the specifications (number of connections, function settings, etc.) of the lighting fixture 5 connected to the slave unit 4 are changed, the user goes to the installation location of the slave unit 4 or directly operates the slave unit 4. It is possible to change the function settings without doing anything.

照明制御部34は、メモリ32に記憶される要求テーブルと現状テーブルとを比較参照して、照明制御データを生成し、その照明制御データを親機無線通信部30から子機4に送信させる。要求テーブルには、各子機4(各照明器具5)の各チャネルに対して要求される照明制御内容(以下、「要求制御内容」という)が格納される。現状テーブルには、各子機4の各チャネルに対する現状の照明制御内容(以下、「現状制御内容」という)が格納される。なお、照明制御内容とは、照明のオン/オフ、調光率などである。 The lighting control unit 34 compares and refers to the request table stored in the memory 32 and the current state table, generates lighting control data, and causes the master unit wireless communication unit 30 to transmit the lighting control data to the slave unit 4. The request table stores the lighting control contents (hereinafter, referred to as “request control contents”) required for each channel of each slave unit 4 (each lighting fixture 5). The current status table stores the current lighting control contents (hereinafter, referred to as “current status control contents”) for each channel of each slave unit 4. The lighting control content includes lighting on / off, dimming rate, and the like.

最初の現状制御内容は、前述したように、初回生存確認処理P01において受信された応答情報に基づいて書き込まれ、その後、通常生存確認処理P11において受信された応答情報に基づいて書き換えられ得る。要求制御内容は、例えば、親機3の起動時は空白であり、その後、制御機2A又はPC2Bからの照明制御指令に基づいて書き込まれる。例えば、照明制御部34は、接続子機4Cに対して、起動直後には現状制御内容を実行するように照明制御信号を生成及び送信し、要求制御内容が書き込まれた時点で、要求制御内容に基づく照明制御信号を生成及び送信するように構成される。この場合、照明制御部34は、要求制御内容に対して現状制御内容が相違する場合に、その差分についてのみ照明制御データを生成して要求制御内容を実行する。 As described above, the first current state control content can be written based on the response information received in the initial survival confirmation process P01, and then rewritten based on the response information received in the normal survival confirmation process P11. The request control content is, for example, blank when the master unit 3 is started, and is then written based on a lighting control command from the controller 2A or the PC2B. For example, the lighting control unit 34 generates and transmits a lighting control signal to the connecting slave unit 4C so as to execute the current control content immediately after startup, and when the request control content is written, the request control content It is configured to generate and transmit a lighting control signal based on. In this case, when the current control content is different from the request control content, the lighting control unit 34 generates lighting control data only for the difference and executes the request control content.

要求制御内容と現状制御内容の間の相違が生じる原因として、制御機2A又はPC2Bからの照明制御指令の変更(相違の発生)、親機3から子機4への照明制御データの不達又は照明制御データに対する子機4から親機3への肯定応答ACKの不達(相違の維持)などがあり得る。そして、照明制御データ又はそのACKの不達の原因としては、親機3と子機4の間に一時的に障害物が介在する場合(例えば、子機4が街路灯に内蔵され、親機3と子機4の間にトラックなどの大型車両が存在する場合など)があり得る。また、親機3において、照明制御信号に対する子機4からの肯定応答ACKが受信されない場合、接続処理部33は、当該子機4を接続子機4Cから未接続子機4Nに変更する。 The causes of the difference between the required control content and the current control content are the change of the lighting control command from the controller 2A or PC2B (occurrence of the difference), the non-delivery of the lighting control data from the master unit 3 to the slave unit 4, or the non-delivery of the lighting control data from the master unit 3 to the slave unit 4. There may be a non-delivery (maintenance of difference) of the acknowledgment ACK from the slave unit 4 to the master unit 3 with respect to the lighting control data. Then, as a cause of non-delivery of the lighting control data or its ACK, when an obstacle temporarily intervenes between the master unit 3 and the slave unit 4 (for example, the slave unit 4 is built in the street light and the master unit 4 is built in. There may be a large vehicle such as a truck between the 3 and the slave unit 4). Further, when the master unit 3 does not receive the acknowledgment ACK from the slave unit 4 to the lighting control signal, the connection processing unit 33 changes the slave unit 4 from the connected slave unit 4C to the unconnected slave unit 4N.

ここで、CPU31は、通常生存確認処理P11と照明制御処理P12とが重複しないように両処理を統括する。具体的には、CPU31は、メモリ32に記憶されたプログラムに従って、照明制御処理P12に対して周期的に通常生存確認処理P11を割り込ませる。そして、接続処理部33は、1回の通常生存確認処理P11において、所定数の未接続子機4N、又は未接続子機4Nに含まれる所定数のチャネルに対してのみ生存確認コマンドを送信する。これにより、照明制御処理P12の間に生存確認処理が継続して照明制御が遅延する状況が回避される。すなわち、親機3から子機4への照明制御データフレーム及びそれに対する子機4から親機3への制御応答フレーム(ACKなど)と、親機3から子機4への生存確認コマンドフレーム及びそれに対する子機4から親機3への生存確認応答フレームとが輻輳する状況が回避される。そして、親機3から子機4への生存確認コマンドフレーム及びそれに対する子機4から親機3への生存確認応答フレームが通信される1回あたりの期間が制限されるので、親機3から子機4への照明制御データフレーム及びそれに対する子機4から親機3への制御応答フレームの通信が長期間中断されることはない。 Here, the CPU 31 controls both processes so that the normal survival confirmation process P11 and the lighting control process P12 do not overlap. Specifically, the CPU 31 periodically interrupts the lighting control process P12 with the normal survival confirmation process P11 according to the program stored in the memory 32. Then, the connection processing unit 33 transmits a survival confirmation command only to a predetermined number of unconnected slave units 4N or a predetermined number of channels included in the unconnected slave unit 4N in one normal survival confirmation process P11. .. As a result, the situation in which the survival confirmation process continues during the light control process P12 and the light control is delayed is avoided. That is, a lighting control data frame from the master unit 3 to the slave unit 4, a control response frame (ACK, etc.) from the slave unit 4 to the master unit 3 for the lighting control data frame, a survival confirmation command frame from the master unit 3 to the slave unit 4, and a survival confirmation command frame. A situation in which the survival confirmation response frame from the slave unit 4 to the master unit 3 is congested is avoided. Then, since the period during which the survival confirmation command frame from the master unit 3 to the slave unit 4 and the survival confirmation response frame from the slave unit 4 to the master unit 3 are communicated with each other is limited, the period from the master unit 3 to the slave unit 3 is limited. Communication of the lighting control data frame to the slave unit 4 and the control response frame from the slave unit 4 to the master unit 3 with respect to the lighting control data frame is not interrupted for a long period of time.

子機4は、子機無線通信部40、CPU41、メモリ42、出力チャネル46及び入力チャネル47を備える。これらの各部は、バスを介して相互に信号及びデータのやり取りが可能な態様で接続される。子機無線通信部40は、親機3(親機無線通信部30)と無線通信を行う無線モジュールであり、例えば、CPU41、メモリ42、出力チャネル46及び入力チャネル47が実装される親基板に搭載される子基板として形成される。CPU41は、応答処理部43、照明出力部44及び機能設定部45を含む。CPU41は、そこに含まれる各部の機能とともに、子機無線通信部40の通信制御、応答処理部43、照明出力部44及び機能設定部45の統括制御など、特に明記しない一般的なCPUとしての機能も実行可能であるものとする。メモリ42は、プログラム及びデータを記憶するRAM、ROMなどの記憶部であり、本実施形態を実行するためのプログラムがすでに書き込まれているものとする。CPU41及びメモリ42は1つのマイクロコンピュータに含まれ得る。出力チャネル46は照明器具5又はリレースイッチRswに接続され、入力チャネル47は壁スイッチWsw、入力T/U(ターミナルユニット)、調光器(不図示)などの外部入力器に接続される。 The slave unit 4 includes a slave unit wireless communication unit 40, a CPU 41, a memory 42, an output channel 46, and an input channel 47. Each of these parts is connected via a bus so that signals and data can be exchanged with each other. The slave unit wireless communication unit 40 is a wireless module that wirelessly communicates with the master unit 3 (master unit wireless communication unit 30), and is, for example, on a master board on which a CPU 41, a memory 42, an output channel 46, and an input channel 47 are mounted. It is formed as a child substrate to be mounted. The CPU 41 includes a response processing unit 43, a lighting output unit 44, and a function setting unit 45. The CPU 41 is a general CPU that is not specified in particular, such as communication control of the slave unit wireless communication unit 40, response processing unit 43, lighting output unit 44, and integrated control of the function setting unit 45, as well as the functions of each unit included therein. The function shall also be executable. The memory 42 is a storage unit such as a RAM or a ROM for storing a program and data, and it is assumed that a program for executing the present embodiment has already been written. The CPU 41 and the memory 42 may be included in one microcomputer. The output channel 46 is connected to the lighting fixture 5 or the relay switch Rsw, and the input channel 47 is connected to an external input such as a wall switch Wsw, an input T / U (terminal unit), and a dimmer (not shown).

応答処理部43は、生存確認コマンドに対応する生存確認応答を生成し、その生存確認応答を子機無線通信部40から親機無線通信部30に送信させる。この生存確認応答は、応答情報として、上述したように機能設定、点灯状態などを含む。特に、メモリ42の不揮発性メモリの部分に、照明制御システム1の前回終了時に出力されていた照明出力信号に関する情報である前回照明情報が記憶されるようにしてもよく、生存確認応答(応答情報)に前回照明情報が含まれるようにしてもよい。このように、初回生存確認処理P01において、応答情報に機能設定、点灯状態などが含まれることによって、親機3の現状テーブルにおける初期値が書き込まれる。 The response processing unit 43 generates a survival confirmation response corresponding to the survival confirmation command, and causes the slave unit wireless communication unit 40 to transmit the survival confirmation response to the master unit wireless communication unit 30. This survival confirmation response includes the function setting, the lighting state, and the like as the response information as described above. In particular, the non-volatile memory portion of the memory 42 may store the previous lighting information, which is the information related to the lighting output signal output at the time of the previous termination of the lighting control system 1, and the survival confirmation response (response information). ) May include the previous lighting information. In this way, in the initial survival confirmation process P01, the initial value in the current table of the master unit 3 is written by including the function setting, the lighting state, and the like in the response information.

照明出力部44は、照明制御データに応じた照明制御信号を対応の出力チャネル46を介して照明器具5に出力する。なお、1台の子機4に対する出力チャネル46の設定には種々の態様が存在し得る。例えば、図1に示すように、出力チャネル46としてCH1〜4を有する1台の子機4に対して照明器具5−1及び5−2が接続され、CH1及び3が照明器具5−1及び5−2のそれぞれのオン/オフ(点灯/消灯)のためのチャネルとして設定され、CH2及び4が照明器具5−1及び5−2のそれぞれの調光のためのチャネルとして設定され得る。 The lighting output unit 44 outputs a lighting control signal corresponding to the lighting control data to the lighting fixture 5 via the corresponding output channel 46. There may be various modes in setting the output channel 46 for one slave unit 4. For example, as shown in FIG. 1, the lighting fixtures 5-1 and 5-2 are connected to one slave unit 4 having CH1 to CH4 as the output channel 46, and CH1 and 3 are connected to the lighting fixtures 5-1 and CH2 and 4 may be set as channels for dimming of the luminaires 5-1 and 5-2, respectively, and CH2 and 4 may be set as channels for turning on / off (lighting / turning off) each of 5-2.

あるいは、出力チャネル46としてCH1〜4を有する1台の子機4に対して4台の照明器具5が接続され、CH1〜4が4台の照明器具5のそれぞれのオン/オフのためのチャネルとして設定されてもよい。あるいは、出力チャネル46としてCH1〜4を有する1台の子機4に対して4台の照明器具5が接続され、CH1〜4が4台の照明器具5のそれぞれの調光(0〜100%)のためのチャネルとして設定されてもよい。なお、1台の子機4に接続される出力チャネル数は4に限定されない。また、1台の子機4に接続される照明器具5の台数は2又は4に限定されず、台数が0、すなわち、照明器具5が接続されない子機4が存在してもよい。この場合、子機4は、入力チャネル47を介した入力用の子機となる。また、子機4は、親機3と他の子機4の間又は他の子機4と他の子機4の間の中継器としても使用され得る。 Alternatively, four lighting fixtures 5 are connected to one slave unit 4 having CH1 to 4 as an output channel 46, and CH1 to 4 are channels for turning on / off each of the four lighting fixtures 5. May be set as. Alternatively, four lighting fixtures 5 are connected to one slave unit 4 having CH1 to 4 as the output channel 46, and dimming (0 to 100%) of each of the four lighting fixtures 5 with CH1 to 4 is performed. ) May be set as a channel for. The number of output channels connected to one slave unit 4 is not limited to four. Further, the number of lighting fixtures 5 connected to one slave unit 4 is not limited to 2 or 4, and there may be a slave unit 4 in which the number is 0, that is, the lighting fixture 5 is not connected. In this case, the slave unit 4 becomes a slave unit for input via the input channel 47. The slave unit 4 can also be used as a repeater between the master unit 3 and the other slave unit 4 or between the other slave unit 4 and the other slave unit 4.

照明出力部44は、照明器具5のオン/オフのための出力チャネル46を介して、交流電源から照明器具5への電力線をオン/オフするためのリレースイッチRswを制御するための照明制御信号を出力することができる。また、照明出力部44は、照明器具5の駆動の動作/停止を制御するための照明制御信号を照明器具5に直接出力するようにしてもよい。また、照明出力部44は、照明器具5の調光のための出力チャネル46を介して、PWM調光信号を照明制御信号として出力する。ただし、照明制御信号は、照明制御システム1の仕様に応じて、所定の照明制御用の通信規格に準拠した信号、例えばDALI信号、DMX512信号などであってもよい。 The lighting output unit 44 is a lighting control signal for controlling a relay switch Rsw for turning on / off a power line from an AC power source to the lighting fixture 5 via an output channel 46 for turning on / off the lighting fixture 5. Can be output. Further, the lighting output unit 44 may directly output a lighting control signal for controlling the operation / stop of driving of the lighting fixture 5 to the lighting fixture 5. Further, the illumination output unit 44 outputs the PWM dimming signal as the illumination control signal via the output channel 46 for dimming the lighting fixture 5. However, the lighting control signal may be a signal conforming to a predetermined communication standard for lighting control, for example, a DALI signal, a DMX512 signal, or the like, depending on the specifications of the lighting control system 1.

機能設定部45は、生存確認コマンドに上述の子機設定情報が含まれる場合に、その子機設定情報に基づいて当該子機4の機能設定を決定する。機能設定は、上述したように出力チャネル46のチャネル構成の設定であり、具体的には、照明器具5を点灯/消灯するオン/オフ機能の設定、照明器具5を調光する調光機能の設定などである。また、上記の子機設定情報は、例えば壁スイッチWsw又は入力T/Uに接続された入力チャネル47を介した入力に基づくものであってもよい。この場合、CPU41及び子機無線通信部40が入力チャネル47からの外部入力信号を親機3(親機無線通信部30)に送信し、CPU31がメモリ32を参照してその外部入力信号に紐付されている制御対象の子機4又は照明器具5を特定する。これにより、入力チャネル47からの外部入力信号に対応する子機設定情報が制御対象の子機4への生存確認コマンドに含まれる。 When the survival confirmation command includes the above-mentioned slave unit setting information, the function setting unit 45 determines the function setting of the slave unit 4 based on the slave unit setting information. The function setting is the setting of the channel configuration of the output channel 46 as described above. Specifically, the setting of the on / off function for turning on / off the lighting fixture 5 and the setting of the dimming function for dimming the lighting fixture 5. Settings etc. Further, the slave unit setting information may be based on the input via the wall switch Wsw or the input channel 47 connected to the input T / U, for example. In this case, the CPU 41 and the slave unit wireless communication unit 40 transmit an external input signal from the input channel 47 to the master unit 3 (master unit wireless communication unit 30), and the CPU 31 refers to the memory 32 and associates with the external input signal. The slave unit 4 or the lighting fixture 5 to be controlled is specified. As a result, the slave unit setting information corresponding to the external input signal from the input channel 47 is included in the survival confirmation command for the slave unit 4 to be controlled.

また、CPU41及び子機無線通信部40は入力チャネル47からの外部入力信号を親機3(親機無線通信部30)に送信し、CPU31は親機無線通信部30を介して受信された外部入力信号を送受信部35から制御機2A又はPC2Bに送信する。制御機2A又はPC2Bは、その外部入力信号に紐付されている制御対象の子機4(親パターン、親グループなど)を特定し、制御対象の子機4と照明制御内容とを関連付けた照明制御指令を親機3に送信する。これにより、入力チャネル47からの外部入力信号に対応する照明制御データが制御対象の子機4に送信される。 Further, the CPU 41 and the slave unit wireless communication unit 40 transmit an external input signal from the input channel 47 to the master unit 3 (master unit wireless communication unit 30), and the CPU 31 receives the external input signal via the master unit wireless communication unit 30. The input signal is transmitted from the transmission / reception unit 35 to the controller 2A or PC2B. The controller 2A or PC2B identifies the control target slave unit 4 (parent pattern, parent group, etc.) associated with the external input signal, and performs lighting control in which the control target slave unit 4 and the lighting control content are associated with each other. The command is transmitted to the master unit 3. As a result, the lighting control data corresponding to the external input signal from the input channel 47 is transmitted to the slave unit 4 to be controlled.

また、CPU41及び子機無線通信部40が入力チャネル47からの外部入力信号を親機3(親機無線通信部30)に送信し、CPU31がメモリ32を参照してその外部入力信号に紐付されている制御対象の子機4(パターン、グループなど)を特定するようにしてもよい。これにより、入力チャネル47からの外部入力信号に対応する照明制御データが制御対象の子機4に送信される。 Further, the CPU 41 and the slave unit wireless communication unit 40 transmit an external input signal from the input channel 47 to the master unit 3 (master unit wireless communication unit 30), and the CPU 31 refers to the memory 32 and is associated with the external input signal. The slave unit 4 (pattern, group, etc.) to be controlled may be specified. As a result, the lighting control data corresponding to the external input signal from the input channel 47 is transmitted to the slave unit 4 to be controlled.

照明器具5は、点灯回路50及び光源51を備える。点灯回路50は、子機4の照明出力部44(対応する出力チャネル46)からの照明制御信号を受信し、その照明制御信号に応じた駆動動作を実行して光源51の点灯状態を制御する。光源51はLED、放電灯などの任意の光源装置であればよく、各光源51に対して適切な点灯回路50が採用されるものとする。 The luminaire 5 includes a lighting circuit 50 and a light source 51. The lighting circuit 50 receives a lighting control signal from the lighting output unit 44 (corresponding output channel 46) of the slave unit 4 and executes a drive operation according to the lighting control signal to control the lighting state of the light source 51. .. The light source 51 may be any light source device such as an LED or a discharge lamp, and an appropriate lighting circuit 50 is adopted for each light source 51.

図2に、照明制御システム1における親機3の動作の全体フローチャートを示す。なお、図2以降のフローチャートにおいて、特に断りがない限り、「チャネル」とは出力チャネル46又は入力チャネル47のことをいうものとする。 FIG. 2 shows an overall flowchart of the operation of the master unit 3 in the lighting control system 1. In the flowcharts of FIGS. 2 and 2 and thereafter, unless otherwise specified, the “channel” refers to the output channel 46 or the input channel 47.

親機3が起動されると、ステップS100において、CPU31(接続処理部33)と親機無線通信部30の間で通信部初期化処理P01が実行される。
ステップS200において、CPU31(接続処理部33)及び親機無線通信部30によって初回生存確認処理P02が実行される。
When the master unit 3 is activated, in step S100, the communication unit initialization process P01 is executed between the CPU 31 (connection processing unit 33) and the master unit wireless communication unit 30.
In step S200, the first survival confirmation process P02 is executed by the CPU 31 (connection processing unit 33) and the master unit wireless communication unit 30.

ステップS250において、CPU31(接続処理部33)は、チャネルポインタ(CP)を最初の未接続子機4Nの最初のチャネルにセットする。
ステップS260において、CPU31(接続処理部33又は照明制御部34)は、生存確認インターバルタイマIT0をタイムアウト状態とする。
In step S250, the CPU 31 (connection processing unit 33) sets the channel pointer (CP) to the first channel of the first unconnected slave unit 4N.
In step S260, the CPU 31 (connection processing unit 33 or lighting control unit 34) sets the survival confirmation interval timer IT0 to the timeout state.

ステップS270において、CPU31(接続処理部33)は、未接続子機4Nの有無を判別する。未接続子機4Nがない場合(S270、No)、処理はステップS400の照明制御処理P12に進む。未接続子機4Nがある場合(S270、Yes)、処理はステップS275に進む。 In step S270, the CPU 31 (connection processing unit 33) determines the presence or absence of the unconnected slave unit 4N. When there is no unconnected slave unit 4N (S270, No), the process proceeds to the lighting control process P12 in step S400. If there is an unconnected slave unit 4N (S270, Yes), the process proceeds to step S275.

ステップS275において、CPU31(接続処理部33)は、未接続子機4Nの台数が所定閾値以上である状態が所定設定時間以上にわたって継続する未接続過多状態が存在するか否かを判別する。未接続過多状態が存在する場合(S275、Yes)、処理はステップS280の自動リセット処理に移行する。この自動リセット処理は、例えば、ステップS100〜S275までの再試行であればよい。未接続過多状態が存在しない場合(S275、No)、処理はステップS290に進む。 In step S275, the CPU 31 (connection processing unit 33) determines whether or not there is an unconnected excess state in which the number of unconnected slave units 4N is equal to or greater than a predetermined threshold value and continues for a predetermined set time or longer. If there is an excessively unconnected state (S275, Yes), the process proceeds to the automatic reset process in step S280. This automatic reset process may be, for example, a retry of steps S100 to S275. If there is no unconnected excess state (S275, No), the process proceeds to step S290.

ステップS290において、生存確認インターバルタイマIT0がタイムアウトした場合(S290、Yes)、処理はステップS300の通常生存確認処理P11に進む。すなわち、初回のフローでは、処理はステップS300に進むことになる。生存確認インターバルタイマIT0がタイムアウトしていない場合(S290、No)、ステップS295において、生存確認インターバルタイマIT0が減分され、処理はステップS400の照明制御処理12に移行する。 If the survival confirmation interval timer IT0 times out in step S290 (S290, Yes), the process proceeds to the normal survival confirmation process P11 in step S300. That is, in the first flow, the process proceeds to step S300. If the survival confirmation interval timer IT0 has not timed out (S290, No), the survival confirmation interval timer IT0 is decremented in step S295, and the process shifts to the lighting control process 12 in step S400.

ステップS300において、CPU31(接続処理部33)及び親機無線通信部30が、通常生存確認処理P11を実行する。
ステップS350において、CPU31(接続処理部33又は照明制御部34)は、生存確認インターバルタイマIT0をセットする。生存確認インターバルタイマIT0は、数秒〜数分、好ましくは数十秒程度のタイマである。
In step S300, the CPU 31 (connection processing unit 33) and the master unit wireless communication unit 30 execute the normal survival confirmation process P11.
In step S350, the CPU 31 (connection processing unit 33 or lighting control unit 34) sets the survival confirmation interval timer IT0. The survival confirmation interval timer IT0 is a timer of several seconds to several minutes, preferably several tens of seconds.

なお、ステップS270〜S295及びS350を、ステップS300の通常生存確認処理P11の外部の処理として記載したが、ステップS270〜S295及びS350の全部又は一部を通常生存確認処理P11の一部とみなしてもよい。 Although steps S270 to S295 and S350 are described as external processes of the normal survival confirmation process P11 in step S300, all or a part of steps S270 to S295 and S350 are regarded as a part of the normal survival confirmation process P11. May be good.

ステップS400において、CPU31(照明制御部34)及び親機無線通信部30が、照明制御処理P12を実行する。そして、処理はステップS270に戻る。すなわち、通常生存確認処理P11が、生存確認インターバルタイマIT0の周期で照明制御処理P12に割り込むことになる。 In step S400, the CPU 31 (lighting control unit 34) and the master unit wireless communication unit 30 execute the lighting control process P12. Then, the process returns to step S270. That is, the normal survival confirmation process P11 interrupts the lighting control process P12 at the cycle of the survival confirmation interval timer IT0.

図3に、ステップS100の通信部初期化処理P01の詳細を示す。
ステップS101において、接続処理部33は、タイマT1、タイマT2、インターバルタイマIT3、タイマT4及び再送限度数C1を初期化してリセットする。タイマT1は、運用開始要求コマンドに対する運用開始応答の待ち時間の制限時間、及び状態情報取得コマンドに対する状態情報応答の待ち時間の制限時間に対応する。タイマT2は、経路情報要求コマンドに対する経路情報応答の待ち時間の制限時間に対応する。インターバルタイマIT3は、経路情報要求コマンドを出力する間隔に対応する。タイマT4は、生存確認コマンドに対する子機からの生存確認応答の待ち時間の制限時間に対応する。再送限度数C1は、生存確認コマンドの再送限度回数に対応する。なお、タイマT4及び再送限度数C1は、初回生存確認処理P02で使用される。
ステップS102において、接続処理部33は、親機無線通信部30をリセット信号によってリセットする。
FIG. 3 shows the details of the communication unit initialization process P01 in step S100.
In step S101, the connection processing unit 33 initializes and resets the timer T1, the timer T2, the interval timer IT3, the timer T4, and the retransmission limit number C1. The timer T1 corresponds to the time limit of the waiting time of the operation start response for the operation start request command and the time limit of the waiting time of the status information response for the status information acquisition command. The timer T2 corresponds to the time limit of the waiting time for the route information response to the route information request command. The interval timer IT3 corresponds to an interval for outputting a route information request command. The timer T4 corresponds to the time limit of the waiting time for the survival confirmation response from the slave unit to the survival confirmation command. The retransmission limit number C1 corresponds to the retransmission limit number of the survival confirmation command. The timer T4 and the retransmission limit number C1 are used in the initial survival confirmation process P02.
In step S102, the connection processing unit 33 resets the master unit wireless communication unit 30 by the reset signal.

ステップS110において、接続処理部33が、タイマT1をスタートさせる。
ステップS111において、接続処理部33が、運用開始要求コマンドを親機無線通信部30に出力する。
ステップS112において、タイマT1がタイムアウトしていない場合(S112、No)、処理はステップS113に進み、タイマT1がタイムアウトした場合(S112、Yes)、処理はステップS140に進む。
ステップS113において、運用開始要求コマンドに対する運用開始応答が受信されない場合(S113、No)、処理はステップS112に戻り、運用開始応答が受信された場合(S113、Yes)、処理はステップS120に進む。
In step S110, the connection processing unit 33 starts the timer T1.
In step S111, the connection processing unit 33 outputs an operation start request command to the master unit wireless communication unit 30.
In step S112, if the timer T1 has not timed out (S112, No), the process proceeds to step S113, and if the timer T1 has timed out (S112, Yes), the process proceeds to step S140.
In step S113, if the operation start response to the operation start request command is not received (S113, No), the process returns to step S112, and if the operation start response is received (S113, Yes), the process proceeds to step S120.

ステップS120において、接続処理部33が、タイマT1をリセット及びスタートさせる。
ステップS121において、接続処理部33が、状態情報取得コマンドを親機無線通信部30に出力する。
ステップS122において、タイマT1がタイムアウトしていない場合(S122、No)、処理はステップS123に進み、タイマT1がタイムアウトした場合(S122、Yes)、処理はステップS140に進む。
ステップS123において、状態情報取得コマンドに対する状態情報応答が受信されない場合(S123、No)、処理はステップS122に戻り、状態情報応答が受信された場合(S123、Yes)、処理はステップS124に進む。
ステップS124において、接続処理部33は、受信された状態情報応答に含まれる所定の戻り値が正常か否か、すなわち子機4とのネットワーク接続が構成可能か否かを判断する。所定の戻り値が正常でない場合(S124、No)、処理はステップS121に戻り、所定の戻り値が正常である場合(S124、Yes)、処理はステップS130に進む。
In step S120, the connection processing unit 33 resets and starts the timer T1.
In step S121, the connection processing unit 33 outputs a state information acquisition command to the master unit wireless communication unit 30.
In step S122, if the timer T1 has not timed out (S122, No), the process proceeds to step S123, and if the timer T1 has timed out (S122, Yes), the process proceeds to step S140.
In step S123, if the state information response to the state information acquisition command is not received (S123, No), the process returns to step S122, and if the state information response is received (S123, Yes), the process proceeds to step S124.
In step S124, the connection processing unit 33 determines whether or not the predetermined return value included in the received status information response is normal, that is, whether or not the network connection with the slave unit 4 can be configured. If the predetermined return value is not normal (S124, No), the process returns to step S121, and if the predetermined return value is normal (S124, Yes), the process proceeds to step S130.

ステップS130において、接続処理部33が、タイマT2をスタートさせる。
ステップS131において、接続処理部33が、経路情報要求コマンドを親機無線通信部30に出力する。
ステップS132において、接続処理部33が、インターバルタイマIT3をリセット及びスタートさせる。
In step S130, the connection processing unit 33 starts the timer T2.
In step S131, the connection processing unit 33 outputs the route information request command to the master unit wireless communication unit 30.
In step S132, the connection processing unit 33 resets and starts the interval timer IT3.

ステップS133において、接続処理部33が、経路情報応答の受信を試行する。
ステップS134において、接続処理部33が、受信された経路情報応答に全子機4のショートアドレス(又はIPアドレス)が含まれているか否かを判定する。受信された経路情報応答に全子機4のショートアドレス(又はIPアドレス)が含まれている場合(S134、Yes)、処理は通信部初期化処理P01(S100)を終了して、初回生存確認処理P02(図2のステップS200)に進む。それ以外の場合(S134、No)、処理はステップS135に進む。
ステップS135において、タイマT2がタイムアウトしていない場合(S135、No)、処理はステップS136に進み、タイマT2がタイムアウトした場合(S135、Yes)、親機3における処理が終了する。
In step S133, the connection processing unit 33 attempts to receive the route information response.
In step S134, the connection processing unit 33 determines whether or not the received route information response includes the short address (or IP address) of all the slave units 4. When the received route information response includes the short address (or IP address) of all the slave units 4 (S134, Yes), the process ends the communication unit initialization process P01 (S100) and confirms the initial survival. The process proceeds to process P02 (step S200 in FIG. 2). In other cases (S134, No), the process proceeds to step S135.
In step S135, if the timer T2 has not timed out (S135, No), the process proceeds to step S136, and if the timer T2 times out (S135, Yes), the process in the master unit 3 ends.

ステップS136において、インターバルタイマIT3がタイムアウトしていない場合(S136、No)、処理はステップS133に戻り、インターバルタイマIT3がタイムアウトした場合(S136、Yes)、処理はステップS131に戻る。すなわち、インターバルタイマIT3の間隔で経路情報要求コマンドの出力が行われる。 In step S136, if the interval timer IT3 has not timed out (S136, No), the process returns to step S133, and if the interval timer IT3 has timed out (S136, Yes), the process returns to step S131. That is, the route information request command is output at the interval of the interval timer IT3.

ステップS140において、接続処理部33は、エラーメッセージをメモリ32に記録し、親機3の表示部(不図示)にエラーメッセージを表示する。この表示部は、LEDランプ、液晶表示部などであればよい。また、必要に応じて、接続処理部33は、送受信部35から制御機2A又はPC2Bにエラーメッセージを送信して制御機2A又はPC2Bの入出力IF20a又は20bにエラーメッセージを出力させてもよい。
ステップS141において、親機3における処理が終了する。
In step S140, the connection processing unit 33 records the error message in the memory 32, and displays the error message on the display unit (not shown) of the master unit 3. The display unit may be an LED lamp, a liquid crystal display unit, or the like. Further, if necessary, the connection processing unit 33 may transmit an error message from the transmission / reception unit 35 to the controller 2A or PC2B to output the error message to the input / output IF 20a or 20b of the controller 2A or PC2B.
In step S141, the process in the master unit 3 ends.

図4に、ステップS200の初回生存確認処理P02の詳細を示す。
ステップS201において、接続処理部33が、チャネルポインタを最初の子機4−1の最初のチャネルにセットし、同一チャネルへの初回生存確認コマンドの送信回数Ctを0にクリアする。
ステップS202において、接続処理部33が、タイマT4をリセット及びスタートさせる。
FIG. 4 shows the details of the initial survival confirmation process P02 in step S200.
In step S201, the connection processing unit 33 sets the channel pointer to the first channel of the first slave unit 4-1 and clears the number of transmissions Ct of the first survival confirmation command to the same channel to 0.
In step S202, the connection processing unit 33 resets and starts the timer T4.

ステップS210において、接続処理部33が、同一チャネルへの初回生存確認コマンドの送信回数Ctが再送限度数Clmtを超えたか否かを判別する。送信回数Ctが再送限度数Clmtを超えていない場合(S210、No、Ct≦Clmt)、処理はステップS220に進む。一方、送信回数Ctが再送限度数C1を超えた場合(S210、Yes、Ct>Clmt)、処理はステップS240に進む。 In step S210, the connection processing unit 33 determines whether or not the number of transmissions Ct of the initial survival confirmation command to the same channel exceeds the retransmission limit number Clmt. If the number of transmissions Ct does not exceed the retransmission limit number Clmt (S210, No, Ct ≦ Clmt), the process proceeds to step S220. On the other hand, when the number of transmissions Ct exceeds the retransmission limit number C1 (S210, Yes, Ct> Clmt), the process proceeds to step S240.

ステップS220において、接続処理部33及び親機無線通信部30が、チャネルポインタがセットされた子機4−iの所定のチャネルに生存確認コマンドを送信し、送信回数Ctを増分する。
ステップS221において、接続処理部33及び親機無線通信部30が、子機4−iからの生存確認応答の受信を試行する。
ステップS222において、タイマT4がタイムアウトしていない場合(S222、No)、処理はステップS223に進み、生存確認応答の受信の有無が判定される。タイマT4がタイムアウトした場合(S222、Yes)、処理はステップS230に進む。
In step S220, the connection processing unit 33 and the master unit wireless communication unit 30 transmit a survival confirmation command to a predetermined channel of the slave unit 4-i in which the channel pointer is set, and increment the transmission number Ct.
In step S221, the connection processing unit 33 and the master unit wireless communication unit 30 try to receive the survival confirmation response from the slave unit 4-i.
In step S222, if the timer T4 has not timed out (S222, No), the process proceeds to step S223, and it is determined whether or not a survival confirmation response has been received. When the timer T4 times out (S222, Yes), the process proceeds to step S230.

ステップS223において、生存確認応答が受信されない場合(S223、No)、処理はステップS210に戻る。生存確認応答が受信された場合(S223、Yes)、処理はステップS224に進む。
ステップS224において、接続処理部33は受信した生存確認応答に含まれる応答情報を現状テーブルに書き込み、処理はステップS202に戻る。
If the survival confirmation response is not received in step S223 (S223, No), the process returns to step S210. If a survival confirmation response is received (S223, Yes), the process proceeds to step S224.
In step S224, the connection processing unit 33 writes the response information included in the received survival confirmation response to the current status table, and the process returns to step S202.

ステップS230において、接続処理部33は、現在チャネルポインタがセットされているチャネルが属する子機4−iの全チャネルを未接続として現状テーブルを更新し、処理はステップS202に戻る。すなわち、子機4−iのチャネルのうちの1つでも未接続と判定された場合には、当該子機4−iが未接続子機4Nと判定される。 In step S230, the connection processing unit 33 updates the current status table with all channels of the slave unit 4-i to which the channel to which the channel pointer is currently set belongs as unconnected, and the process returns to step S202. That is, when it is determined that even one of the channels of the slave unit 4-i is not connected, the slave unit 4-i is determined to be the unconnected slave unit 4N.

ステップS240において、接続処理部33は、チャネルポインタを次のチャネルにセットする。なお、次のチャネルがない場合には、接続処理部33は、チャネルポインタを次の子機4−i+1の最初のチャネルにセットする。
ステップS241において、次の子機4−i+1が存在する場合、すなわち、i≦m−1の場合(S241、Yes)、処理はステップS220に進む。
ステップS241において、次の子機4−i+1が存在しない場合、すなわち、i=mの場合(S241、No)、処理は初回生存確認処理P02(S200)を終了して、図2のステップS250に進む。
In step S240, the connection processing unit 33 sets the channel pointer to the next channel. If there is no next channel, the connection processing unit 33 sets the channel pointer to the first channel of the next slave unit 4-i + 1.
In step S241, if the next slave unit 4-i + 1 exists, that is, if i ≦ m-1 (S241, Yes), the process proceeds to step S220.
In step S241, when the next slave unit 4-i + 1 does not exist, that is, when i = m (S241, No), the process ends the initial survival confirmation process P02 (S200) and proceeds to step S250 in FIG. move on.

図5に、ステップS300の通常生存確認処理P11の詳細を示す。
ステップS301において、今回の通常生存確認処理P11において確認対象とした(すなわち、生存確認コマンドを送信した)子機数Cxを1にセットする。
ステップS302において、接続処理部33が、チャネルポインタがセットされた子機4−iのチャネルに生存確認コマンドを送信する。
ステップS303において、接続処理部33が、タイマT4をリセット及びスタートする。
FIG. 5 shows the details of the normal survival confirmation process P11 in step S300.
In step S301, the number of slave units Cx to be confirmed (that is, the survival confirmation command is transmitted) in the normal survival confirmation process P11 this time is set to 1.
In step S302, the connection processing unit 33 transmits a survival confirmation command to the channel of the slave unit 4-i in which the channel pointer is set.
In step S303, the connection processing unit 33 resets and starts the timer T4.

ステップS310において、接続処理部33及び親機無線通信部30が、子機4−iからの生存確認応答の受信を試行する。
ステップS311において、タイマT4がタイムアウトしている場合(S311、Yes)、処理はステップS312に進む。タイマT4がタイムアウトしていない場合(S311、No)、処理はステップS313に進む。
ステップS312において、接続処理部33は、現在チャネルポインタがセットされているチャネルが属する子機4−iの全チャネルを未接続と判定する。すなわち、子機4−iが未接続子機4Nであるという判定結果が維持される。そして、処理はステップS330に移行する。
In step S310, the connection processing unit 33 and the master unit wireless communication unit 30 try to receive the survival confirmation response from the slave unit 4-i.
If the timer T4 has timed out in step S311 (S311, Yes), the process proceeds to step S312. If the timer T4 has not timed out (S311, No), the process proceeds to step S313.
In step S312, the connection processing unit 33 determines that all channels of the slave unit 4-i to which the channel to which the channel pointer is currently set belongs are not connected. That is, the determination result that the slave unit 4-i is the unconnected slave unit 4N is maintained. Then, the process proceeds to step S330.

ステップS313において、子機4−iからの生存確認応答が受信されない場合(S313、No)、処理はステップS310に戻る。子機4−iからの生存確認応答が受信された場合(S313、Yes)、処理はステップS314に進む。
ステップS314において、接続処理部33は、受信した生存確認応答に含まれる応答情報をメモリ32の現状テーブルに書き込む。
If the survival confirmation response from the slave unit 4-i is not received in step S313 (S313, No), the process returns to step S310. When the survival confirmation response from the slave unit 4-i is received (S313, Yes), the process proceeds to step S314.
In step S314, the connection processing unit 33 writes the response information included in the received survival confirmation response to the current status table of the memory 32.

ステップS320において、現在チャネルポインタがセットされたチャネルが子機4−iの最後のチャネルである場合(S320、Yes)、処理はステップS330に進み、現在チャネルポインタがセットされたチャネルの次のチャネルがある場合(S320、No)、処理はステップS321に進む。
ステップS321において、接続処理部33はチャネルポインタを現在の子機4−iの次のチャネルにセットし、処理はステップS302に戻る。
In step S320, if the channel to which the current channel pointer is set is the last channel of the slave unit 4-i (S320, Yes), the process proceeds to step S330, and the channel next to the channel to which the current channel pointer is set is set. If there is (S320, No), the process proceeds to step S321.
In step S321, the connection processing unit 33 sets the channel pointer to the next channel of the current slave unit 4-i, and the process returns to step S302.

ステップS330において、今回の通常生存確認処理P11において確認対象とした子機数Cxが所定の連続生存確認数Cc以下である場合(S330、No、Cx≦Cc)、処理はステップS331に進む。子機数Cxが連続生存確認数Ccを超える場合(S330、Yes、Cx>Cc)、処理は通常生存確認処理P11を終了して図2のステップS350に進む。なお、連続生存確認数Ccは任意に設定可能であり、例えば、Cc=1であってもよい。また、今回の通常生存確認処理P11において確認対象とした子機数Cxの代わりに、今回の通常生存確認処理P11において確認対象としたチャネル数が採用されてもよい。 In step S330, when the number of slave units Cx to be confirmed in the normal survival confirmation process P11 this time is equal to or less than the predetermined number of continuous survival confirmations Cc (S330, No, Cx ≦ Cc), the process proceeds to step S331. When the number of slave units Cx exceeds the number of continuous survival confirmations Cc (S330, Yes, Cx> Cc), the process ends the normal survival confirmation process P11 and proceeds to step S350 in FIG. The number of continuous survival confirmations Cc can be arbitrarily set, and for example, Cc = 1 may be set. Further, instead of the number of slave units Cx to be confirmed in the normal survival confirmation process P11 this time, the number of channels to be confirmed in the normal survival confirmation process P11 may be adopted.

ステップS331において、接続処理部33はチャネルポインタを次の未接続子機4−i+1の最初のチャネルにセットする。なお、子機4−i+1が存在しない場合、すなわちi=mの場合、接続処理部33はチャネルポインタを最初の子機4−1の最初のチャネルにセットするものとする。
ステップS332において、上記子機数Cxを増分して、処理はステップS302に戻る。
In step S331, the connection processing unit 33 sets the channel pointer to the first channel of the next unconnected slave unit 4-i + 1. When the slave unit 4-i + 1 does not exist, that is, when i = m, the connection processing unit 33 sets the channel pointer to the first channel of the first slave unit 4-1.
In step S332, the number of slave units Cx is incremented, and the process returns to step S302.

図6に、ステップS400の照明制御処理P12の詳細を示す。
ステップS401において、親機3の起動後に照明制御処理P12が初めて行われる場合(S401、Yes)、処理はステップS402に進み、それ以外の場合(S401、No)、処理はステップS410に進む。
ステップS402において、照明制御部34は、現状テーブルに書き込まれている照明制御の内容を接続子機4Cに対して実行するための照明制御データ(フレーム)を生成し、親機無線通信部30を介してその照明制御データを各接続子機4Cに送信する。これにより、前回のシステム終了時の照明状態を速やかに再現できる。
ステップS403において、接続処理部33又は照明制御部34は、現状テーブルの内容を要求テーブルに書き込む。
FIG. 6 shows the details of the illumination control process P12 in step S400.
In step S401, if the lighting control process P12 is performed for the first time after the master unit 3 is started (S401, Yes), the process proceeds to step S402, and in other cases (S401, No), the process proceeds to step S410.
In step S402, the lighting control unit 34 generates lighting control data (frames) for executing the lighting control contents written in the current table for the connecting slave unit 4C, and causes the master unit wireless communication unit 30 to perform the lighting control data (frame). The lighting control data is transmitted to each connecting slave unit 4C via the device. As a result, the lighting state at the time of the previous system termination can be quickly reproduced.
In step S403, the connection processing unit 33 or the lighting control unit 34 writes the contents of the current table in the request table.

あるいは、代替例として、初回生存確認処理P02のステップS224において、接続処理部33が、受信した生存確認応答に含まれる応答情報を要求テーブルに書き込み、ステップS402において、照明制御部34が、要求テーブルに書き込まれている照明制御の内容を接続子機4Cに対して実行させるように構成されてもよい。この場合、ステップS403は省略され、例えば、前述の通常生存確認処理P11におけるステップS307において現状テーブルが更新される。 Alternatively, as an alternative example, in step S224 of the initial survival confirmation process P02, the connection processing unit 33 writes the response information included in the received survival confirmation response to the request table, and in step S402, the lighting control unit 34 receives the request table. The content of the lighting control written in may be configured to be executed by the connecting slave unit 4C. In this case, step S403 is omitted, and for example, the current status table is updated in step S307 in the above-mentioned normal survival confirmation process P11.

ステップS410において、照明制御部34が制御機2A又はPC2Bからの照明制御指令を受信した場合(S410、Yes)、処理はステップS411に進み、それ以外の場合(S410、No)、処理はステップS420に進む。
ステップS411において、照明制御部34は、照明制御指令に基づいて要求テーブルを書き換える。
In step S410, when the lighting control unit 34 receives the lighting control command from the controller 2A or PC2B (S410, Yes), the process proceeds to step S411, and in other cases (S410, No), the process proceeds to step S420. Proceed to.
In step S411, the lighting control unit 34 rewrites the request table based on the lighting control command.

ステップS420において、照明制御部34は、要求テーブルのデータに対して現状テーブルのデータが相違するか否かを判定する。要求テーブルのデータに対して現状テーブルのデータが相違する場合(S420、Yes)、処理はステップS421に進み、それ以外の場合(S420、No)、処理は照明制御処理P12(S400)を終了して図2のステップS270に戻る。なお、ステップS410において要求テーブルが書き換えられなくても、通常生存確認処理P11におけるステップS307において現状テーブルが書き換えられた場合には、要求テーブルと現状テーブルとの間に相違が生じる。
ステップS421において、照明制御部34は、要求テーブルのデータに対する現状テーブルのデータの差分に対応する照明制御データを生成し、親機無線通信部30を介してその照明制御データを接続子機4Cに送信する。これにより、その差分に対応する要求制御内容が実行される。
In step S420, the lighting control unit 34 determines whether or not the data in the current table differs from the data in the request table. If the data in the current table is different from the data in the request table (S420, Yes), the process proceeds to step S421, and in other cases (S420, No), the process ends the lighting control process P12 (S400). The process returns to step S270 in FIG. Even if the request table is not rewritten in step S410, if the current table is rewritten in step S307 in the normal survival confirmation process P11, a difference occurs between the request table and the current table.
In step S421, the lighting control unit 34 generates lighting control data corresponding to the difference between the data in the current table and the data in the request table, and transfers the lighting control data to the connecting slave unit 4C via the master unit wireless communication unit 30. Send. As a result, the request control content corresponding to the difference is executed.

ステップS422において、照明制御データに対する肯定応答(ACK)が受信されたか否かが判定される。ACKが受信された場合(S422、Yes)、処理は照明制御処理P12(S400)を終了して図2のステップS270に戻る。照明制御データに対するACKが受信されない場合(S422、No)、処理はステップS425に進む。 In step S422, it is determined whether or not an acknowledgment (ACK) for the lighting control data has been received. When ACK is received (S422, Yes), the process ends the lighting control process P12 (S400) and returns to step S270 in FIG. If no ACK for the lighting control data is received (S422, No), the process proceeds to step S425.

ステップS425において、相違分の照明制御データの再送回数が所定値を超えたか否かが判定される。再送回数が所定値以下である場合(S425、No)、処理はステップS426に進む。再送回数が所定値を超えた場合(S425、Yes)、処理はステップS430に進む。
ステップS426において、照明制御部34は、相違分の照明制御データを親機無線通信部30から接続子機4Cに再送し、処理はステップS422に戻る。
In step S425, it is determined whether or not the number of retransmissions of the difference lighting control data exceeds a predetermined value. When the number of retransmissions is equal to or less than a predetermined value (S425, No), the process proceeds to step S426. If the number of retransmissions exceeds a predetermined value (S425, Yes), the process proceeds to step S430.
In step S426, the lighting control unit 34 retransmits the difference lighting control data from the master unit wireless communication unit 30 to the connecting slave unit 4C, and the process returns to step S422.

ステップS430において、接続処理部33又は照明制御部34は、期待されるACKが受信されない子機4の設定を接続子機4Cから未接続子機4Nに変更する。そして、処理は照明制御処理P12(S400)を終了して、図2のステップS270に戻る。 In step S430, the connection processing unit 33 or the lighting control unit 34 changes the setting of the slave unit 4 for which the expected ACK is not received from the connected slave unit 4C to the unconnected slave unit 4N. Then, the process ends the lighting control process P12 (S400) and returns to step S270 in FIG.

以上のように、本実施形態の照明制御システム1では、親機3が、子機4−1〜4−mと無線通信可能な親機無線通信部30と、親機3の起動時に、親機無線通信部30を子機4とネットワーク接続可能な状態とするための通信部初期化処理P01、及び親機無線通信部30から各子機4に生存確認コマンドを送信させ、生存確認コマンドに対して受信された生存確認応答に応じて、子機4のうち、親機3とネットワーク接続されている接続子機4Cを特定する初回生存確認処理P02を実行する接続処理部33と、初回生存確認処理P02の後に、照明器具5についての照明制御データを親機無線通信部30から接続子機4Cに送信させる照明制御処理P12を実行する照明制御部34とを備える。 As described above, in the lighting control system 1 of the present embodiment, the master unit 3 has the master unit wireless communication unit 30 capable of wirelessly communicating with the slave units 4-1 to 4-m, and the master unit 3 when the master unit 3 is activated. The communication unit initialization process P01 for making the unit wireless communication unit 30 connectable to the slave unit 4 via the network, and the master unit wireless communication unit 30 transmit a survival confirmation command to each slave unit 4 to be used as a survival confirmation command. Among the slave units 4, the connection processing unit 33 that executes the initial survival confirmation process P02 that identifies the connected slave unit 4C that is connected to the network with the master unit 3 according to the survival confirmation response received, and the initial survival After the confirmation process P02, a lighting control unit 34 that executes the lighting control process P12 for transmitting the lighting control data for the lighting fixture 5 from the master unit wireless communication unit 30 to the connecting slave unit 4C is provided.

このように、親機3の起動時に接続処理部33及び親機無線通信部30が親機3と子機4との無線ネットワークを構成するための通信部初期化処理P01及び初回生存確認処理P02を実行し、その後に照明制御部34及び親機無線通信部30が接続子機4Cに対して照明制御処P12を実行する。これにより、照明制御処理P12においてネットワーク構築のためのフレームが通信されることなく、さらに接続子機4Cに対してのみ照明制御データのフレームが通信されるので、照明制御処理P12における通信フレーム数を低減することができる。したがって、親機3の起動時の動作を適正化することによって照明制御時の通信フレーム数を低減して制御の遅延及び欠落を抑制する照明制御システム1及びその制御方法が実現される。 In this way, the communication unit initialization process P01 and the initial survival confirmation process P02 for the connection processing unit 33 and the master unit wireless communication unit 30 to form a wireless network between the master unit 3 and the slave unit 4 when the master unit 3 is started. After that, the lighting control unit 34 and the master unit wireless communication unit 30 execute the lighting control processing P12 for the connecting slave unit 4C. As a result, the frame for network construction is not communicated in the lighting control process P12, and the frame of the lighting control data is communicated only to the connecting slave unit 4C. Therefore, the number of communication frames in the lighting control process P12 can be increased. Can be reduced. Therefore, the lighting control system 1 and its control method are realized in which the number of communication frames during lighting control is reduced and control delays and omissions are suppressed by optimizing the operation of the master unit 3 at startup.

また、子機4は、親機3と無線通信可能な子機無線通信部40と、子機無線通信部40を介して受信された生存確認コマンドに対応する生存確認応答を子機無線通信部40から親機3に送信させる応答処理部43と、子機無線通信部40を介して受信された照明制御データに応じた照明制御信号を照明器具5に出力する照明出力部44とを備える。これにより、簡素な構成の照明制御システム1が実現される。 Further, the slave unit 4 sends a survival confirmation response corresponding to the survival confirmation command received via the slave unit wireless communication unit 40 capable of wireless communication with the master unit 3 and the slave unit wireless communication unit 40. It includes a response processing unit 43 for transmitting from 40 to the master unit 3, and a lighting output unit 44 for outputting a lighting control signal corresponding to the lighting control data received via the slave unit wireless communication unit 40 to the lighting fixture 5. As a result, the lighting control system 1 having a simple configuration is realized.

また、子機4は、照明制御システム1の前回終了時に出力されていた照明制御信号に関する情報である前回照明情報を記憶する不揮発性のメモリ42を備え、応答処理部43は、前回照明情報を生存確認応答に含めるように構成され、照明制御部34が、前回照明情報に対応する照明制御データを生成するように構成される。これにより、照明制御システム1の起動時、特に親機3の起動時に、前回システム終了時の動作が速やかに再現され、ユーザにおける使用開始時の制御待ち時間が短縮される。 Further, the slave unit 4 includes a non-volatile memory 42 that stores the previous lighting information, which is information related to the lighting control signal output at the time of the previous termination of the lighting control system 1, and the response processing unit 43 stores the previous lighting information. It is configured to be included in the survival confirmation response, and the lighting control unit 34 is configured to generate lighting control data corresponding to the previous lighting information. As a result, when the lighting control system 1 is started, particularly when the master unit 3 is started, the operation at the time of the previous system termination is quickly reproduced, and the control waiting time at the start of use by the user is shortened.

ここで、前回照明情報は、照明制御システム1の前回終了時の子機4の機能設定を示し、機能設定において設定される機能が、照明器具5を点灯/消灯するオン/オフ機能及び照明器具5を調光する調光機能の少なくとも一方を含む。また、前回照明情報は、照明制御システム1の前回終了時の照明器具5の点灯状態を示す。これにより、照明制御システム1の起動時、特に親機3の起動時に、前回システム終了時の機能設定又は点灯状態が遅延なく再現され、ユーザにおける使用上の違和感が軽減される。 Here, the previous lighting information indicates the function setting of the slave unit 4 at the time of the previous termination of the lighting control system 1, and the function set in the function setting is an on / off function for turning on / off the lighting fixture 5 and a lighting fixture. Includes at least one of the dimming functions for dimming 5. Further, the previous lighting information indicates the lighting state of the lighting fixture 5 at the time of the previous termination of the lighting control system 1. As a result, when the lighting control system 1 is started, particularly when the master unit 3 is started, the function setting or the lighting state at the time of the previous system termination is reproduced without delay, and the user feels uncomfortable in use.

また、接続処理部33が、親機3に外部入力される子機設定情報又は子機4に外部入力されて親機3に送信された子機設定情報を生存確認コマンドに含ませるように構成され、子機4が、子機設定情報に基づいて機能設定を決定する機能設定部45を含むようにしてもよい。これにより、子機4に接続される照明器具5の仕様(接続数、機能設定など)が変更された場合などに、ユーザが子機4の設置場所に出向いたり子機4を直接操作したりすることなく機能設定を変更することが可能となり、照明制御システム1の使用性が向上する。 Further, the connection processing unit 33 is configured to include the slave unit setting information externally input to the master unit 3 or the slave unit setting information externally input to the slave unit 4 and transmitted to the master unit 3 in the survival confirmation command. The slave unit 4 may include a function setting unit 45 that determines the function setting based on the slave unit setting information. As a result, when the specifications (number of connections, function settings, etc.) of the lighting fixture 5 connected to the slave unit 4 are changed, the user can go to the installation location of the slave unit 4 or directly operate the slave unit 4. It becomes possible to change the function setting without doing so, and the usability of the lighting control system 1 is improved.

また、子機4が複数のチャネル(出力チャネル46又は入力チャネル47)を有し、接続処理部33が、初回生存確認処理P02において、生存確認コマンドを親機無線通信部30から複数のチャネルに順次送信させ、複数のチャネルのうちの少なくとも1つから生存確認応答が受信されない場合に当該チャネルが属する子機4が未接続であると判定するように構成される。これにより、1台の未接続子機4Nに対する初回生存確認処理P02が短縮され得るので、初回生存確認処理P02全体の所要時間が短縮され得る。 Further, the slave unit 4 has a plurality of channels (output channel 46 or input channel 47), and the connection processing unit 33 sends a survival confirmation command from the master unit wireless communication unit 30 to the plurality of channels in the initial survival confirmation processing P02. It is configured to sequentially transmit, and when a survival confirmation response is not received from at least one of the plurality of channels, it is determined that the slave unit 4 to which the channel belongs is not connected. As a result, the initial survival confirmation process P02 for one unconnected slave unit 4N can be shortened, so that the time required for the entire initial survival confirmation process P02 can be shortened.

<プログラム>
なお、上述した各実施形態における照明制御システム1の特に親機3又は子機4(CPU31又は41)を実現する各構成要素及び処理の各ステップは、メモリ32又は42のRAM又はROMなどに記憶されたプログラムが動作することによって実現される。
<Program>
It should be noted that each component and each step of processing that realizes the master unit 3 or the slave unit 4 (CPU 31 or 41) of the lighting control system 1 in each of the above-described embodiments is stored in the RAM or ROM of the memory 32 or 42. It is realized by the operation of the program.

また、上記各実施形態の機能を実現するソフトウェアのプログラム(図2〜図6のいずれかに示すフローチャートに対応したプログラム)が、照明制御システム1(親機3又は子機4)に直接に、又は遠隔から供給され得る。したがって、本発明の機能処理を実現するために、照明制御システム1(親機3又は子機4)にインストールされるプログラムコード自体も本発明に含まれる。すなわち、本発明には、本発明の機能処理を実現するためのコンピュータプログラムも含まれる。そのプログラムは、親機3、子機4などのコンピュータを、上記の接続処理33、照明制御部34、応答処理部43、照明出力部44及び機能設定部45の全部又は一部として機能させることができる。このように、本発明は、上記実施形態に示したような作用効果をソフトウェアの導入によって実現できるので、照明制御システム1(特に、親機3及び子機4)の導入容易性を向上することができる。 Further, a software program (a program corresponding to the flowchart shown in any of FIGS. 2 to 6) that realizes the functions of each of the above embodiments is directly connected to the lighting control system 1 (master unit 3 or slave unit 4). Or it can be supplied remotely. Therefore, the program code itself installed in the lighting control system 1 (master unit 3 or slave unit 4) in order to realize the functional processing of the present invention is also included in the present invention. That is, the present invention also includes a computer program for realizing the functional processing of the present invention. The program causes computers such as the master unit 3 and the slave unit 4 to function as all or a part of the connection processing 33, the lighting control unit 34, the response processing unit 43, the lighting output unit 44, and the function setting unit 45. Can be done. As described above, since the operation and effect as shown in the above-described embodiment can be realized by introducing the software, the present invention improves the ease of introduction of the lighting control system 1 (particularly, the master unit 3 and the slave unit 4). Can be done.

<変形例>
以上に本発明の好適な実施形態を示したが、本発明は、例えば以下に示すように種々の態様に変形可能である。
<Modification example>
Although the preferred embodiments of the present invention have been shown above, the present invention can be transformed into various aspects as shown below, for example.

(1)生存確認コマンドのフレームに関する変形
上記実施形態では、1フレーム内に1チャネル分の生存確認コマンドが含まれる構成を示したが、初回生存確認処理P02又は通常生存確認処理P11において、1フレーム内に複数チャネル分の生存確認コマンドが含まれるようにしてもよい。これにより、各生存確認処理の所要時間を短縮することが可能となる。
(1) Modification of Survival Confirmation Command Frames In the above embodiment, a configuration is shown in which a survival confirmation command for one channel is included in one frame, but one frame is included in the initial survival confirmation process P02 or the normal survival confirmation process P11. The survival confirmation command for a plurality of channels may be included in the inside. This makes it possible to shorten the time required for each survival confirmation process.

(2)通常動作処理P1に関する変形
上記実施形態では、通常動作処理P1において、通常生存確認処理P11が所定の周期で照明制御処理P12に割り込む構成を示したが、照明制御処理P12が発生しない期間に通常生存確認処理P11が所定の頻度で(例えば常時)実行されるようにしてもよい。言い換えると、通常生存確認処理P11が実行されている状態で、要求テーブルと現状テーブルとの間に相違が生じた場合に照明制御処理P12が優先的に実行されるようにしてもよい。
(2) Modification of Normal Operation Process P1 In the above embodiment, in the normal operation process P1, the normal survival confirmation process P11 interrupts the lighting control process P12 at a predetermined cycle, but the period during which the lighting control process P12 does not occur. In addition, the normal survival confirmation process P11 may be executed at a predetermined frequency (for example, always). In other words, the lighting control process P12 may be preferentially executed when there is a difference between the request table and the current table while the normal survival confirmation process P11 is being executed.

(3)応答情報に関する変形
上記実施形態では、生存確認応答に含まれる応答情報に、機能設定又は点灯状態(子機4の出力状態)が含まれる構成を示した。一方、子機4が入力チャネル47又は入出力チャネル(不図示)を有し、これらのチャネルを介して照明制御信号に対する照明器具5からの応答信号を受信できる場合には、その応答信号に基づく動作実行情報が含まれるようにしてもよい。動作実行情報は、照明制御信号に対する肯定応答ACK、制御値の応答などであればよい。
(3) Modification of Response Information In the above embodiment, the response information included in the survival confirmation response includes a function setting or a lighting state (output state of the slave unit 4). On the other hand, when the slave unit 4 has an input channel 47 or an input / output channel (not shown) and can receive a response signal from the lighting fixture 5 to the lighting control signal via these channels, it is based on the response signal. The operation execution information may be included. The operation execution information may be an acknowledgment ACK to the lighting control signal, a response of the control value, or the like.

(4)自動リセット処理に関する変形
上記実施形態では、自動リセット処理(ステップS280)が初回生存確認処理P02と通常生存確認処理P11の間に(又は通常生存確認処理P11の一部として)実行される構成を示したが、自動リセット処理は初回生存確認処理P02において実行されてもよい。
(4) Modification of Automatic Reset Process In the above embodiment, the automatic reset process (step S280) is executed between the initial survival confirmation process P02 and the normal survival confirmation process P11 (or as a part of the normal survival confirmation process P11). Although the configuration is shown, the automatic reset process may be executed in the initial survival confirmation process P02.

1 照明制御システム
3、3−1〜3−k 親機
4、4−1〜4−m 子機
5、5−1〜5−n 照明器具
30 親機無線通信部
31 CPU
32 メモリ
33 接続処理部
34 照明制御部
40 子機無線通信部
41 CPU
42 メモリ
43 応答処理部
44 照明出力部
45 機能設定部
46 出力チャネル
47 入力チャネル
1 Lighting control system 3, 3-1 to 3-k master unit 4, 4-1 to 4-m slave unit 5, 5-1 to 5-n Lighting equipment 30 Master unit wireless communication unit 31 CPU
32 Memory 33 Connection processing unit 34 Lighting control unit 40 Slave unit wireless communication unit 41 CPU
42 Memory 43 Response processing unit 44 Lighting output unit 45 Function setting unit 46 Output channel 47 Input channel

Claims (11)

親機及び少なくとも1つの子機を備え、該子機に照明器具が接続される照明制御システムであって、
前記親機が、
前記子機と無線通信可能な親機無線通信部と、
前記親機の起動時に、前記親機無線通信部を前記子機とネットワーク接続可能な状態とするための通信部初期化処理、及び前記親機無線通信部から前記子機に生存確認コマンドを送信させ、該生存確認コマンドに対して受信された生存確認応答に応じて、前記子機のうち、前記親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行する接続処理部と、
前記初回生存確認処理の後に、前記照明器具についての照明制御データを前記親機無線通信部から前記接続子機に送信させる照明制御処理を実行する照明制御部と
を備え、
前記子機が、
前記親機と無線通信可能な子機無線通信部と、
前記子機無線通信部を介して受信された前記生存確認コマンドに対応する前記生存確認応答を前記子機無線通信部から前記親機に送信させる応答処理部と、
前記子機無線通信部を介して受信された前記照明制御データに応じた照明制御信号を前記照明器具に出力する照明出力部と
を備え、
前記子機が、前記照明制御システムの前回終了時に出力されていた前記照明制御信号に関する情報である前回照明情報を記憶する不揮発性メモリを備え、
前記応答処理部が、前記前回照明情報を前記生存確認応答に含めるように構成され、
前記照明制御部が、前記前回照明情報に対応する前記照明制御データを生成するように構成された、照明制御システム。
A lighting control system that includes a master unit and at least one slave unit, and a lighting fixture is connected to the slave unit.
The master unit
A master unit wireless communication unit capable of wireless communication with the slave unit,
When the master unit starts up, the communication unit initialization process for making the master unit wireless communication unit network connectable to the slave unit, and the master unit wireless communication unit transmits a survival confirmation command to the slave unit. Then, in response to the survival confirmation response received in response to the survival confirmation command, the connection processing unit that executes the initial survival confirmation process for identifying the connected slave unit that is network-connected to the master unit among the slave units. When,
After the initial survival confirmation process, a lighting control unit that executes a lighting control process for transmitting lighting control data for the lighting fixture from the master unit wireless communication unit to the connecting slave unit.
With
The slave unit
A slave unit wireless communication unit capable of wireless communication with the master unit, and
A response processing unit that causes the slave unit wireless communication unit to transmit the survival confirmation response corresponding to the survival confirmation command received via the slave unit wireless communication unit to the master unit.
With a lighting output unit that outputs a lighting control signal corresponding to the lighting control data received via the slave unit wireless communication unit to the lighting fixture.
With
The slave unit includes a non-volatile memory that stores the previous lighting information, which is information related to the lighting control signal that was output at the time of the previous termination of the lighting control system.
The response processing unit is configured to include the previous lighting information in the survival confirmation response.
The lighting control unit, configured to generate the lighting control data corresponding to the last illumination information, lighting control system.
前記前回照明情報が、前記照明制御システムの前回終了時の前記子機の機能設定を示し、該機能設定において設定される機能が、前記照明器具を点灯/消灯するオン/オフ機能及び前記照明器具を調光する調光機能の少なくとも一方を含む、請求項1に記載の照明制御システム。 The previous lighting information indicates the function setting of the slave unit at the time of the previous termination of the lighting control system, and the functions set in the function setting are an on / off function for turning on / off the lighting fixture and the lighting fixture. The lighting control system according to claim 1, further comprising at least one of the dimming functions for dimming the light. 前記前回照明情報が、前記照明制御システムの前回終了時の前記照明器具の点灯状態を示す、請求項1又は2に記載の照明制御システム。 The lighting control system according to claim 1 or 2, wherein the previous lighting information indicates a lighting state of the lighting fixture at the time of the previous termination of the lighting control system. 親機及び少なくとも1つの子機を備え、該子機に照明器具が接続される照明制御システムであって、
前記親機が、
前記子機と無線通信可能な親機無線通信部と、
前記親機の起動時に、前記親機無線通信部を前記子機とネットワーク接続可能な状態とするための通信部初期化処理、及び前記親機無線通信部から前記子機に生存確認コマンドを送信させ、該生存確認コマンドに対して受信された生存確認応答に応じて、前記子機のうち、前記親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行する接続処理部と、
前記初回生存確認処理の後に、前記照明器具についての照明制御データを前記親機無線通信部から前記接続子機に送信させる照明制御処理を実行する照明制御部と
を備え、
前記接続処理部が、前記親機に外部入力される子機設定情報又は前記子機に外部入力されて前記親機に送信された子機設定情報を前記生存確認コマンドに含ませるように構成され、
前記子機が、前記子機設定情報に基づいて機能設定を決定する機能設定部を含み、前記機能設定において設定される機能が、前記照明器具を点灯/消灯するオン/オフ機能及び前記照明器具を調光する調光機能の少なくとも一方を含む、照明制御システム。
A lighting control system that includes a master unit and at least one slave unit, and a lighting fixture is connected to the slave unit.
The master unit
A master unit wireless communication unit capable of wireless communication with the slave unit,
When the master unit starts up, the communication unit initialization process for making the master unit wireless communication unit network connectable to the slave unit, and the master unit wireless communication unit transmits a survival confirmation command to the slave unit. Then, in response to the survival confirmation response received in response to the survival confirmation command, the connection processing unit that executes the initial survival confirmation process for identifying the connected slave unit that is network-connected to the master unit among the slave units. When,
After the initial survival confirmation process, a lighting control unit that executes a lighting control process for transmitting lighting control data for the lighting fixture from the master unit wireless communication unit to the connecting slave unit.
With
The connection processing unit is configured to include the slave unit setting information externally input to the master unit or the slave unit setting information externally input to the slave unit and transmitted to the master unit in the survival confirmation command. ,
The slave unit includes a function setting unit that determines a function setting based on the slave unit setting information, and the functions set in the function setting include an on / off function for turning on / off the lighting fixture and the lighting fixture. At least one of including, lighting control system of the dimming to dimming.
親機及び少なくとも1つの子機を備え、該子機に照明器具が接続される照明制御システムであって、
前記親機が、
前記子機と無線通信可能な親機無線通信部と、
前記親機の起動時に、前記親機無線通信部を前記子機とネットワーク接続可能な状態とするための通信部初期化処理、及び前記親機無線通信部から前記子機に生存確認コマンドを送信させ、該生存確認コマンドに対して受信された生存確認応答に応じて、前記子機のうち、前記親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行する接続処理部と、
前記初回生存確認処理の後に、前記照明器具についての照明制御データを前記親機無線通信部から前記接続子機に送信させる照明制御処理を実行する照明制御部と
を備え、
前記子機が複数のチャネルを有し、
前記接続処理部が、前記初回生存確認処理において、前記生存確認コマンドを前記親機無線通信部から前記複数のチャネルに順次送信させ、前記複数のチャネルのうちの少なくとも1つから前記生存確認応答が受信されない場合に当該チャネルが属する子機が未接続であると判定するように構成された、照明制御システム。
A lighting control system that includes a master unit and at least one slave unit, and a lighting fixture is connected to the slave unit.
The master unit
A master unit wireless communication unit capable of wireless communication with the slave unit,
When the master unit starts up, the communication unit initialization process for making the master unit wireless communication unit network connectable to the slave unit, and the master unit wireless communication unit transmits a survival confirmation command to the slave unit. Then, in response to the survival confirmation response received in response to the survival confirmation command, the connection processing unit that executes the initial survival confirmation process for identifying the connected slave unit that is network-connected to the master unit among the slave units. When,
After the initial survival confirmation process, a lighting control unit that executes a lighting control process for transmitting lighting control data for the lighting fixture from the master unit wireless communication unit to the connecting slave unit.
With
The slave unit has a plurality of channels and has a plurality of channels.
In the initial survival confirmation process, the connection processing unit sequentially transmits the survival confirmation command from the master unit wireless communication unit to the plurality of channels, and the survival confirmation response is sent from at least one of the plurality of channels. handset to which the channel belongs is configured to determine that is not connected to the case where the received not, lighting control system.
コンピュータを、請求項1から5のいずれか一項に記載の照明制御システムが備える各部として機能させるためのプログラム。 A program for a computer to function as each unit of the lighting control system according to any one of claims 1, 4, and 5. 親機及び該親機と無線通信可能な少なくとも1つの子機を備える照明制御システムの制御方法であって、
前記親機が、該親機の起動時に、前記子機と無線通信可能な親機無線通信部を前記子機とネットワーク接続可能な状態とするための通信部初期化処理を実行するステップと、
前記親機が、前記子機に生存確認コマンドを送信し、該生存確認コマンドに対して受信された生存確認応答に応じて、前記子機のうち、前記親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行するステップと、
前記親機が、前記初回生存確認処理の後に、照明制御データを前記接続子機に送信する照明制御処理を実行するステップと、
前記子機が、前記生存確認コマンドに対応する前記生存確認応答を前記親機に送信するステップと、
前記子機が、前記照明制御データに応じた照明制御信号を照明器具に出力するステップと
を備え、さらに、
前記子機が、前記照明制御システムの前回終了時に出力されていた前記照明制御信号に関する情報である前回照明情報を記憶するステップと、
前記子機が、前記前回照明情報を前記生存確認応答に含めるステップと、
前記親機が、前記前回照明情報に対応する前記照明制御データを生成するステップと
を備える、制御方法。
A control method for a lighting control system including a master unit and at least one slave unit capable of wireless communication with the master unit.
A step in which the master unit executes a communication unit initialization process for making a master unit wireless communication unit capable of wireless communication with the slave unit network-connectable to the slave unit when the master unit is started.
The master unit sends a survival confirmation command to the slave unit, and in response to the survival confirmation response received in response to the survival confirmation command, a connector among the slave units that is network-connected to the master unit. Steps to perform the initial survival confirmation process to identify the machine,
A step in which the master unit executes a lighting control process for transmitting lighting control data to the connecting slave unit after the initial survival confirmation process.
A step in which the slave unit transmits the survival confirmation response corresponding to the survival confirmation command to the master unit.
A step in which the slave unit outputs a lighting control signal corresponding to the lighting control data to the luminaire.
And, in addition
A step in which the slave unit stores the previous lighting information, which is information related to the lighting control signal that was output at the time of the previous termination of the lighting control system.
The step that the slave unit includes the previous lighting information in the survival confirmation response,
It said parent machine, Ru and a step of generating the illumination control data corresponding to the last illumination information, the control method.
前記前回照明情報が、前記照明制御システムの前回終了時の前記子機の機能設定を示し、該機能設定において設定される機能が、前記照明器具を点灯/消灯するオン/オフ機能及び前記照明器具を調光する調光機能の少なくとも一方を含む、請求項7に記載の制御方法。 The previous lighting information indicates the function setting of the slave unit at the time of the previous termination of the lighting control system, and the functions set in the function setting are an on / off function for turning on / off the lighting fixture and the lighting fixture. The control method according to claim 7, further comprising at least one of the dimming functions for dimming the light. 前記前回照明情報が、前記照明制御システムの前回終了時の前記照明器具の点灯状態を示す、請求項7又は8に記載の制御方法。 The control method according to claim 7 or 8, wherein the previous lighting information indicates a lighting state of the lighting fixture at the time of the previous termination of the lighting control system. 親機及び該親機と無線通信可能な少なくとも1つの子機を備える照明制御システムの制御方法であって、
前記親機が、該親機の起動時に、前記子機と無線通信可能な親機無線通信部を前記子機とネットワーク接続可能な状態とするための通信部初期化処理を実行するステップと、
前記親機が、前記子機に生存確認コマンドを送信し、該生存確認コマンドに対して受信された生存確認応答に応じて、前記子機のうち、前記親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行するステップと、
前記親機が、前記初回生存確認処理の後に、照明制御データを前記接続子機に送信する照明制御処理を実行するステップと
を備え、
前記親機が、前記親機に外部入力される子機設定情報又は前記子機に外部入力されて前記親機に送信された子機設定情報を前記生存確認コマンドに含ませるステップと、
前記子機が、前記子機設定情報に基づいて機能設定を決定するステップと
をさらに含み、前記機能設定において設定される機能が、前記子機に接続された照明器具を点灯/消灯するオン/オフ機能及び前記子機に接続された照明器具を調光する調光機能の少なくとも一方を含む、制御方法。
A control method for a lighting control system including a master unit and at least one slave unit capable of wireless communication with the master unit.
A step in which the master unit executes a communication unit initialization process for making a master unit wireless communication unit capable of wireless communication with the slave unit network-connectable to the slave unit when the master unit is started.
The master unit sends a survival confirmation command to the slave unit, and in response to the survival confirmation response received in response to the survival confirmation command, a connector among the slave units that is network-connected to the master unit. Steps to perform the initial survival confirmation process to identify the machine,
A step in which the master unit executes a lighting control process for transmitting lighting control data to the connecting slave unit after the initial survival confirmation process.
With
A step in which the master unit includes the slave unit setting information externally input to the master unit or the slave unit setting information externally input to the slave unit and transmitted to the master unit in the survival confirmation command.
On the handset further comprises a step of determining a feature set based on the slave machine setting information, the functions set in the function setting is to turn on / off the connected luminaire before Noriko machine / at least one of the including off function and before Noriko machine connected luminaire dimming to dimming, cONTROL mETHOD.
親機及び該親機と無線通信可能な少なくとも1つの子機を備える照明制御システムの制御方法であって、
前記親機が、該親機の起動時に、前記子機と無線通信可能な親機無線通信部を前記子機とネットワーク接続可能な状態とするための通信部初期化処理を実行するステップと、
前記親機が、前記子機に生存確認コマンドを送信し、該生存確認コマンドに対して受信された生存確認応答に応じて、前記子機のうち、前記親機とネットワーク接続されている接続子機を特定する初回生存確認処理を実行するステップと、
前記親機が、前記初回生存確認処理の後に、照明制御データを前記接続子機に送信する照明制御処理を実行するステップと
を備え、
前記子機が複数のチャネルを有し、
前記初回生存確認処理が、前記生存確認コマンドを前記複数のチャネルに順次送信し、前記複数のチャネルのうちの少なくとも1つから前記生存確認応答が受信されない場合に当該チャネルが属する子機が未接続であると判定するステップを含む、制御方法。
A control method for a lighting control system including a master unit and at least one slave unit capable of wireless communication with the master unit.
A step in which the master unit executes a communication unit initialization process for making a master unit wireless communication unit capable of wireless communication with the slave unit network-connectable to the slave unit when the master unit is started.
The master unit sends a survival confirmation command to the slave unit, and in response to the survival confirmation response received in response to the survival confirmation command, a connector among the slave units that is network-connected to the master unit. Steps to perform the initial survival confirmation process to identify the machine,
A step in which the master unit executes a lighting control process for transmitting lighting control data to the connecting slave unit after the initial survival confirmation process.
With
The slave unit has a plurality of channels and has a plurality of channels.
When the initial survival confirmation process sequentially transmits the survival confirmation command to the plurality of channels and the survival confirmation response is not received from at least one of the plurality of channels, the slave unit to which the channel belongs is not connected. steps including, control method determines that it is.
JP2017140657A 2017-07-20 2017-07-20 Lighting control system, lighting control system program and lighting control system control method Active JP6939175B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017140657A JP6939175B2 (en) 2017-07-20 2017-07-20 Lighting control system, lighting control system program and lighting control system control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017140657A JP6939175B2 (en) 2017-07-20 2017-07-20 Lighting control system, lighting control system program and lighting control system control method

Publications (2)

Publication Number Publication Date
JP2019021565A JP2019021565A (en) 2019-02-07
JP6939175B2 true JP6939175B2 (en) 2021-09-22

Family

ID=65355754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017140657A Active JP6939175B2 (en) 2017-07-20 2017-07-20 Lighting control system, lighting control system program and lighting control system control method

Country Status (1)

Country Link
JP (1) JP6939175B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014090256A (en) * 2012-10-29 2014-05-15 Panasonic Corp Master unit of equipment management system and equipment management system
JP2017022058A (en) * 2015-07-14 2017-01-26 ローム株式会社 Led illumination system

Also Published As

Publication number Publication date
JP2019021565A (en) 2019-02-07

Similar Documents

Publication Publication Date Title
CA2528995C (en) System bridge and timeclock for rf controlled lighting systems
EP2848095B1 (en) A lighting system for illuminating an environment and a method of starting an installation of a program on a programmable controller
EP0513443B1 (en) Building management system
EP2399364B1 (en) Lighting control network
US20150084547A1 (en) DALI commissioning tools and methods for implementing
US11617250B2 (en) Illumination control system and method, and illumination device
JP2017505562A (en) Commissioning the Zigbee® Light Link network
JP2002260871A (en) Illumination control system
JP2014179783A (en) Electric apparatus and communication device
CN114557135A (en) Transceiver for input device of analog lighting system
CN216134629U (en) Illumination power supply controller based on bluetooth mesh
JP6939175B2 (en) Lighting control system, lighting control system program and lighting control system control method
JP6939176B2 (en) Lighting control system, lighting control system program and lighting control system control method
JP5616438B2 (en) Network communication system
KR20140098570A (en) Lighting apparatus and method of controlling thereof
CN110679183A (en) Determining a duty schedule for groups of lighting devices providing similar lighting services
JP2009158280A (en) Lighting control system
JP2005135640A (en) Communication system for lighting
KR20060069742A (en) Remote control apparatus for lamp in network system
JP2012009265A (en) Lighting control system
CN101287316B (en) System bridge and timeclock for RF controlled lighting systems
JP2001273980A (en) Lighting control system
JP2000260575A (en) Lighting control system
JP2023148045A (en) Lighting system, operating device, and lighting device
JP2019102390A (en) Illumination control system, program for illumination control system, and control method for illumination control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210326

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210413

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210521

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210816

R150 Certificate of patent or registration of utility model

Ref document number: 6939175

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350