JP2019102390A - Illumination control system, program for illumination control system, and control method for illumination control system - Google Patents

Illumination control system, program for illumination control system, and control method for illumination control system Download PDF

Info

Publication number
JP2019102390A
JP2019102390A JP2017235430A JP2017235430A JP2019102390A JP 2019102390 A JP2019102390 A JP 2019102390A JP 2017235430 A JP2017235430 A JP 2017235430A JP 2017235430 A JP2017235430 A JP 2017235430A JP 2019102390 A JP2019102390 A JP 2019102390A
Authority
JP
Japan
Prior art keywords
unit
control
lighting
master
setting file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017235430A
Other languages
Japanese (ja)
Other versions
JP7020091B2 (en
Inventor
悟 豊福
Satoru Toyofuku
悟 豊福
国夫 金丸
Kunio Kanamaru
国夫 金丸
友香 門馬
Yuka Momma
友香 門馬
毅 東藤
Tsuyoshi Todo
毅 東藤
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 JP2017235430A priority Critical patent/JP7020091B2/en
Publication of JP2019102390A publication Critical patent/JP2019102390A/en
Application granted granted Critical
Publication of JP7020091B2 publication Critical patent/JP7020091B2/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

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

Abstract

To provide an illumination control system including an inexpensive and standardized master apparatus for implementing high-level illumination control even when a controller is not connected to the master apparatus to which the controller can be connected.SOLUTION: An illumination control system 1 includes: a master apparatus 2; and a slave apparatus 3 to which an illumination appliance 4 is connected. The master apparatus 2 includes: a wireless communication unit 20 capable of performing wireless communication with the slave apparatus 3; a memory 21 in which a setting file for stipulating operation settings for the master apparatus 2 and master apparatus programs that stipulate master apparatus processing corresponding to a case that the master apparatus 2 is used in a state of being connected to a controller 7 and master apparatus processing corresponding to a case that the master apparatus 2 operates independently of the controller 7, respectively, are stored; a startup processing unit 24 that determines whether or not the master apparatus 2 operates independently of the controller 7 on the basis of the setting file, and executes a master apparatus program corresponding to a result of the determination and, then, initializes the master apparatus 2; and an illumination control unit 25 that generates illumination control data for performing illumination control on the illumination appliance 4 on the basis of the setting file and transmits the illumination control data from the wireless communication unit 20 to the slave apparatus 3.SELECTED DRAWING: Figure 1

Description

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

特許文献1は、調光卓と、調光卓に有線接続された無線親機と、無線親機に無線接続される無線子機とを備える照明システムを開示する。各無線親機は、調光卓から制御信号のブロックを受信し、その制御信号のブロックに制御データを付加して、ブロック毎にパケット化した制御信号を生成してその制御信号を無線子機に無線伝送する。各無線子機は、内蔵された制御手段によって、ブロック毎の制御信号を受信する。   Patent Document 1 discloses a lighting system including a light control desk, a wireless master device wired to the light control desk, and a wireless slave device wirelessly connected to the wireless master device. Each wireless master receives a block of control signal from the light control desk, adds control data to the block of the control signal, generates a control signal packetized for each block, and transmits the control signal to the wireless slave Wireless transmission to Each wireless slave receives a control signal for each block by the built-in control means.

特開2001−217083号公報JP 2001-217083 A

上記特許文献1のような照明制御システムにおいては、親機に接続される調光卓などが必要となり、特に、より高度な照明制御を行うために調光卓などよりも大型の制御装置が適用される場合には、照明制御システム全体が高コスト化してしまう。また、制御装置の機能をそのまま親機に含めようとすると、制御装置が外部接続されて使用される場合の親機と、制御装置の機能が内部に含まれる場合の親機とで、個別の親機の開発が必要となり、親機又は親機を含む照明制御システムの標準化の観点から好ましくない。   In the lighting control system like the above-mentioned patent document 1, the light control desk etc. which are connected to a parent machine are needed, and in order to perform more sophisticated lighting control, a larger control device than the light control desk etc is applied In such a case, the cost of the entire lighting control system is increased. Also, if it is intended to include the functions of the control device in the parent machine as they are, the master machine when the control device is externally connected and used, and the master machine when the function of the control device is internally included It is necessary to develop a parent device, which is not preferable from the viewpoint of standardization of a lighting control system including the parent device or the parent device.

そこで、本発明は、制御装置が接続可能な親機に制御装置が接続されない場合でも高度な照明制御を実現するための低コストかつ標準化された親機を含む照明制御システム、照明制御システムのプログラム及び照明制御システムの制御方法を提供することを課題とする。   Therefore, the present invention provides a lighting control system including a low-cost and standardized master unit for realizing advanced lighting control even when the controller is not connected to the master unit to which the controller can be connected, and a lighting control system program And providing a control method of a lighting control system.

本発明の照明制御システムは、親機及び少なくとも1つの子機を有し、子機の少なくとも1つに照明器具が接続される。親機は、子機と無線通信可能な親機無線通信部と、親機の動作設定を規定する設定ファイル並びに親機が制御装置に接続されて使用される場合及び親機が制御装置から独立して動作する場合に対応する親機処理をそれぞれ規定した親機プログラムが記憶されたメモリと、親機が制御装置から独立して動作するか否かを設定ファイルに基づいて判別し、判別結果に対応する親機プログラムを実行して親機を初期化する起動処理部と、親機が制御装置から独立して動作する場合に、設定ファイル及び親機プログラムに基づいて照明器具を照明制御するための照明制御データを生成してその照明制御データを親機無線通信部から子機に送信させる照明制御部とを備える。   The lighting control system of the present invention comprises a master unit and at least one slave unit, and a lighting fixture is connected to at least one of the slave units. The base unit has a base unit wireless communication unit that can communicate wirelessly with the base unit, a setting file that defines the operation settings of the base unit, and the parent unit is connected to the control device and used. Based on the setting file, it is determined whether the memory stores the parent device program that respectively defines the parent device processing corresponding to the operation and the parent device operates independently from the control device, and the determination result Start-up processing unit that initializes the parent machine by executing the parent machine program corresponding to and the lighting control of the lighting fixture based on the setting file and the parent machine program when the parent machine operates independently from the control device And a lighting control unit that generates lighting control data for the camera and transmits the lighting control data from the master wireless communication unit to the slave.

上記照明制御システムによると、親機のメモリに、親機の動作設定を規定する設定ファイル並びに親機が制御装置に接続されて使用される場合及び親機が制御装置から独立して動作する場合に対応する親機処理を規定した親機プログラムが記憶される。そして、親機の独立動作時においては、起動処理部及び照明制御部が、設定ファイル及び対応の親機プログラムに基づいて制御装置から独立して親機の初期化を実行するとともに制御装置使用時と同等の照明制御を実行する。これにより、制御装置が接続可能な親機に制御装置が接続されない場合でも高度な照明制御を実現するための低コストかつ標準化された親機を含む照明制御システムが実現される。   According to the lighting control system described above, the setting file for defining the operation setting of the parent device and the case where the parent device is connected to the control device and used in the memory of the parent device and the parent device operates independently from the control device A parent device program that defines the parent device processing corresponding to is stored. Then, at the time of the independent operation of the parent device, the activation processing unit and the illumination control unit execute initialization of the parent device independently of the control device based on the setting file and the corresponding parent device program, and at the time of using the control device Perform lighting control equivalent to As a result, a lighting control system including a low-cost and standardized master device for realizing advanced lighting control even when the master device to which the controller can be connected is not connected is realized.

ここで、親機は、親機無線通信部を介して受信された信号に基づく受信情報を制御装置に出力可能な情報出力部と、親機が制御装置から独立して動作する場合に、受信情報の出力処理に応じてダミー通信フレームを生成するフレーム生成部とをさらに備え、情報出力部は、受信情報に対する制御装置からの応答通信フレームの入力又はフレーム生成部によるダミー通信フレームの生成に応じて、受信情報の出力処理を終了するように構成される。これにより、簡素な制御構成で制御装置の非接続時及び接続時の双方に共通する通信処理が可能となる。   Here, the master device receives the information output unit capable of outputting reception information based on the signal received via the master device wireless communication unit to the control device, and the master device operates independently from the control device. The information processing apparatus further comprises a frame generation unit that generates a dummy communication frame according to the information output process, and the information output unit responds to input of a response communication frame from the control device for received information or generation of a dummy communication frame by the frame generation unit. To complete the output process of the received information. As a result, communication processing common to both when the control device is not connected and when connected is possible with a simple control configuration.

また、設定ファイルに、親機の起動時に実行すべき照明器具の状態を示す初期状態データが含まれ、照明制御部が、親機の起動時に、初期状態データに基づく照明制御データを生成するように構成される。これにより、親機停電中の子機の動作仕様にかかわらず、親機によって規定される照明制御が親機の復電時に実行されるので、親機の起動後において意図しない子機及び照明器具の動作が防止される。   In addition, the setting file includes initial state data indicating the state of the lighting fixture to be executed when the parent machine is activated, and the lighting control unit generates illumination control data based on the initial state data when the parent machine is activated. Configured As a result, regardless of the operation specification of the slave during the master power failure, the lighting control defined by the master is executed at the time of power recovery of the master, so unintended slaves and lighting fixtures after activation of the master. Operation is prevented.

さらに、子機の少なくとも1つにセンサが接続され、子機が、親機と無線通信可能な子機無線通信部、及びセンサから入力される検知信号を子機無線通信部から親機に転送する検知転送部を備え、設定ファイルに、親機、子機、照明器具及びセンサの紐付けを示す紐付けデータが含まれ、照明制御部が、紐付けデータに基づいて、検知信号を転送した子機に紐付けされた照明器具を照明制御するための照明制御データを生成するように構成される。これにより、制御装置に接続されていない親機においても、センサを用いた一層高度な照明制御が可能となる。   Furthermore, a sensor is connected to at least one of the slave units, and the slave unit transfers a detection signal input from the slave unit wireless communication unit capable of wireless communication with the master unit and the sensor from the slave unit wireless communication unit to the master unit The setting file includes connection data indicating the connection of the parent device, the child device, the lighting apparatus, and the sensor, and the illumination control unit transfers the detection signal based on the connection data. The control unit is configured to generate lighting control data for controlling lighting of the lighting apparatus associated with the slave unit. As a result, even in the parent device not connected to the control device, higher-level lighting control using the sensor becomes possible.

またさらに、親機は、取外し可能な記憶媒体から設定ファイルを読み出すように構成された設定取得部を備える。これにより、照明制御システムの使用状態に応じて異なり得る設定ファイルを取外し可能な記憶媒体から取得することができるので、親機を設置先に応じて個別に製造する必要がなく、その製造コストの低減が可能となる。また、照明制御システム内の構成変更、仕様変更などに対して柔軟な対応が可能となる。   Furthermore, the parent device includes a setting acquisition unit configured to read out the setting file from the removable storage medium. This makes it possible to obtain from the removable storage medium the setting file that may differ depending on the use state of the lighting control system, so there is no need to separately manufacture the parent machine according to the installation destination, and the manufacturing cost Reduction is possible. In addition, it is possible to flexibly respond to configuration changes and specification changes in the lighting control system.

ここで、設定取得部が、取外し可能な記憶媒体が親機に接続されたことに応じて、取外し可能な記憶媒体から設定ファイルを読み出してメモリに記憶させるように構成されることが望ましい。これにより、取外し可能な記憶媒体を親機に常時装着する必要がなく、親機使用時における記憶媒体の抜取りなどの悪戯、記憶媒体の接続外れ又は接触不良による照明制御の中断などが防止される。   Here, it is desirable that the setting acquisition unit be configured to read the setting file from the removable storage medium and store the file in the memory in response to the removable storage medium being connected to the parent device. As a result, there is no need to always attach a removable storage medium to the parent machine, and mischief such as removal of the storage medium at the time of use of the parent machine, interruption of illumination control due to disconnection of storage medium or poor contact etc. are prevented. .

また、親機が、一時的に接続される制御装置から設定ファイルを読み出してメモリに記憶させる設定入力部をさらに備えていてもよい。これにより、設定ファイルを出荷前に一時的に接続された制御装置から取得することができるので、制御装置を設置場所で使用せずに、制御装置を使用する場合と同等の設定を入力することができ、親機の設置容易性が高まる。   In addition, the master unit may further include a setting input unit that reads the setting file from the control device that is temporarily connected and stores the read setting file in the memory. Thus, the setting file can be obtained from the control device temporarily connected before shipment, so that the same setting as in the case of using the control device can be input without using the control device at the installation location. And increase the ease of installation of the master unit.

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

実施形態による照明制御システムのブロック図である。1 is a block diagram of a lighting control system according to an embodiment. 実施形態による照明制御システムにおける親機の動作を示すフローチャートである。It is a flow chart which shows operation of the main phone in the lighting control system by an embodiment. 実施形態による照明制御システムにおける親機の動作の一部を示すフローチャートである。It is a flow chart which shows a part of operation of the main phone in the lighting control system by an embodiment. 比較例による照明制御システムにおける親機停電前後の動作を説明するためのタイミングチャートである。It is a timing chart for explaining operation before and behind parent machine power failure in a lighting control system by a comparative example. 実施形態による照明制御システムにおける親機停電前後の動作を説明するためのタイミングチャートである。It is a timing chart for explaining the operation before and behind the parent machine power failure in the lighting control system according to the embodiment.

<実施形態>
図1に、本発明の実施形態による照明制御システム1のブロック図を示す。照明制御システム1は、親機2、子機3−1〜3−m、照明器具4−1〜4−n及びセンサ5−1〜5−pを含む。以降の説明において、子機3−1〜3−mを総称して又はいずれか1つを代表して子機3といい、各子機3は実質的に同じ構成を有するものとする。また、照明器具4−1〜4−nを総称して又はいずれか1つを代表して照明器具4といい、センサ5−1〜5−pを総称して又はいずれか1つを代表してセンサ5というものとする。図1においては、子機3−1に照明器具4−1及び4−2並びにセンサ5−1が接続され、子機3−2に照明器具4−3が接続され、子機3−3にセンサ5−2が接続される構成を示すが、子機3には、少なくとも1つの照明器具4又は少なくとも1つのセンサ5又は少なくとも1つの入力機器が接続され得る。
Embodiment
FIG. 1 shows a block diagram of a lighting control system 1 according to an embodiment of the present invention. The lighting control system 1 includes a master unit 2, slave units 3-1 to 3-m, lighting fixtures 4-1 to 4-n, and sensors 5-1 to 5-p. In the following description, handsets 3-1 to 3-m will be collectively referred to or representative of any one, and will be referred to as handset 3. Each handset 3 has substantially the same configuration. In addition, lighting fixtures 4-1 to 4-n are collectively referred to or representative of any one, and lighting fixture 4 is referred to, and sensors 5-1 to 5-p are collectively referred to or representation of any one The sensor 5 is In FIG. 1, the lighting fixtures 4-1 and 4-2 and the sensor 5-1 are connected to the slave unit 3-1, the lighting fixture 4-3 is connected to the slave unit 3-2, and the slave unit 3-3 is Although the configuration in which the sensor 5-2 is connected is shown, at least one lighting fixture 4 or at least one sensor 5 or at least one input device may be connected to the slave 3.

親機2、子機3、照明器具4及びセンサ5の各々は、商用電源などの適宜の電力系統から電源給電されるものとする。親機2と各子機3の間は無線接続され、子機3と照明器具4又はセンサ5とは有線接続又は無線接続される。親機2と子機3との無線接続は、例えば、特定小電力無線、Wi−SUN、ZigBee(登録商標)、BLEなどの通信規格に準拠していればよい。なお、子機3と照明器具4又はセンサ5とが有線接続又は無線接続される限り、子機3は照明器具4の内部に設置されてもよいし、照明器具4又はセンサ5に付設されてもよい。   Each of the master unit 2, the slave unit 3, the lighting fixture 4 and the sensor 5 is assumed to be supplied with power from an appropriate power system such as a commercial power supply. The master unit 2 and each slave unit 3 are wirelessly connected, and the slave unit 3 and the lighting fixture 4 or the sensor 5 are wired or wirelessly connected. The wireless connection between the parent device 2 and the child device 3 may be based on, for example, a communication standard such as specified low power wireless communication, Wi-SUN, ZigBee (registered trademark), or BLE. In addition, as long as the slave unit 3 and the lighting fixture 4 or the sensor 5 are connected by wire or wirelessly, the slave unit 3 may be installed inside the lighting fixture 4 or attached to the lighting fixture 4 or the sensor 5 It is also good.

SDカード6は、取外し可能な記憶媒体の一例である。取外し可能な記憶媒体として、SDカードの代わりに、USBメモリなどが使用されてもよい。制御装置7は、例えば岩崎電気株式会社製のITACS制御機であり、(親機2に接続される場合には)親機2に所定の命令を出力することによって、照明器具4の照明制御を実行することができる。SDカード6又は制御装置7は、親機2の使用開始時よりも前の時点で一時的に親機2に接続される。また、親機2は、必要に応じて点滅器8を介して商用電源などの電源に接続され得る。   The SD card 6 is an example of a removable storage medium. Instead of the SD card, a USB memory or the like may be used as a removable storage medium. The control device 7 is, for example, an ITACS controller manufactured by Iwasaki Electric Co., Ltd., and (when connected to the main unit 2) outputs the predetermined command to the main unit 2 to control the lighting of the luminaire 4 It can be done. The SD card 6 or the control device 7 is temporarily connected to the base unit 2 at a time before the start of use of the base unit 2. Also, the base unit 2 can be connected to a power source such as a commercial power source via the blinker 8 as needed.

親機2は、無線通信部20、メモリ21、CPU22、記憶媒体インターフェース(I/F)28及び制御装置I/F29を備える。これらの各部は、バスを介して相互に信号及びデータのやり取りが可能な態様で接続される。メモリ21及びCPU22は、1つのマイクロコンピュータに含まれ得る。記憶媒体I/F28は、本実施形態ではSDカード6が挿抜されるSDカードスロットであるが、他の取外し可能な記憶媒体(例えばUSBメモリ)が使用される場合には、それに対応した接続部(例えばUSBポート)であればよい。制御装置I/F29は、制御装置7と接続可能な有線通信ポート(LANポート)である。   The base unit 2 includes a wireless communication unit 20, a memory 21, a CPU 22, a storage medium interface (I / F) 28, and a control device I / F 29. These units are connected in such a manner that they can exchange signals and data with one another via a bus. The memory 21 and the CPU 22 can be included in one microcomputer. The storage medium I / F 28 is an SD card slot in which the SD card 6 is inserted and removed in the present embodiment, but when another removable storage medium (for example, a USB memory) is used, a corresponding connection unit (For example, a USB port) may be used. The control device I / F 29 is a wired communication port (LAN port) connectable to the control device 7.

メモリ21は、プログラム、ファイル及びデータを記憶するRAM、ROMなどの記憶部である。メモリ21には、親機制御プログラム、設定ファイル、ダミー通信フレームなどが記憶されている。   The memory 21 is a storage unit such as a RAM, a ROM, or the like that stores programs, files, and data. The memory 21 stores a parent device control program, a setting file, a dummy communication frame, and the like.

親機プログラムは、親機2が制御装置7に接続されて使用される場合及び親機2が制御装置7に接続されずに使用される場合のそれぞれに対応する親機2の処理を規定する。すなわち、親機プログラムは、親機2が制御装置7によって制御される場合及び親機2が制御装置7から独立して動作する場合の親機2の処理を規定する。   The parent device program defines the processing of the parent device 2 corresponding to each of the case where the parent device 2 is used by being connected to the control device 7 and the case where the parent device 2 is used without being connected to the control device 7 . That is, the parent device program defines the processing of the parent device 2 when the parent device 2 is controlled by the control device 7 and when the parent device 2 operates independently from the control device 7.

設定ファイルは、親機2の動作の前提となる動作設定を規定するものであり、csvファイルなどで構成される。具体的には、制御装置7の非使用/使用の別を示すフラグ、制御対象となり得る子機3のアドレス、その子機3における照明器具4又はセンサ5に接続されるチャネル、親機2の起動時に実行すべき照明器具4の制御状態である初期状態などが、設定ファイルにおいて規定される。この設定ファイルは、照明器具4の種類毎(オン/オフ用、調光用など)、後述の入力チャネルの種類毎(グループ入力ターミナルユニット(TU)、強制パターン入力TUなど)に作成される。本開示において、制御装置7の非使用/使用の別を示すフラグを制御装置使用フラグ(0:制御装置非使用/1:制御装置使用)という。また、上記の子機3のアドレス及びチャネルの対応関係、すなわち、親機2に対する子機3及びチャネル(照明器具4及びセンサ5)の紐付けを示すデータを紐付けデータというものとする。また、親機2の起動時に実行すべき照明器具4の制御状態である初期状態のことを初期状態データというものとする。なお、親機2が制御装置7に接続されて使用される場合、設定ファイルと同等の内容の情報が制御装置7から親機2に供給され得る。   The setting file defines an operation setting that is a premise of the operation of the parent device 2, and is configured of a csv file or the like. Specifically, a flag indicating whether the control device 7 is not used / used, an address of the child device 3 that can be controlled, a channel connected to the lighting fixture 4 or the sensor 5 in the child device 3, activation of the parent device 2 An initial state, which is a control state of the lighting apparatus 4 to be executed sometimes, is defined in the setting file. The setting file is created for each type of lighting fixture 4 (for ON / OFF, light control, etc.), and for each type of input channel described later (group input terminal unit (TU), forced pattern input TU, etc.). In the present disclosure, a flag indicating the non-use / use of the control device 7 is referred to as a control device use flag (0: control device non-use / 1: control device use). Further, data indicating the correspondence between the address of the slave 3 and the channel, that is, the linking of the slave 3 and the channel (the lighting device 4 and the sensor 5) to the master 2 is referred to as tying data. Further, the initial state, which is the control state of the lighting device 4 to be executed when the parent device 2 is activated, is referred to as initial state data. When the parent device 2 is connected to the control device 7 and used, information having the same content as the setting file may be supplied from the control device 7 to the parent device 2.

ダミー通信フレームは、親機2に制御装置7が接続される場合に親機2から制御装置7への情報の出力に応じて制御装置7から親機2に出力される応答通信フレームを模擬した疑似フレームである。ダミー通信フレームの処理については後述する。   The dummy communication frame simulates a response communication frame output from the control device 7 to the base device 2 according to the output of information from the base device 2 to the control device 7 when the control device 7 is connected to the base device 2 It is a pseudo frame. The processing of the dummy communication frame will be described later.

CPU22は、設定取得部23a、設定入力部23b、起動処理部24、照明制御部25、情報出力部26及びフレーム生成部27を含む。CPU22は、そこに含まれる各部の機能とともに、無線通信部20の通信制御、設定取得部23a、設定入力部23b、起動処理部24、照明制御部25、情報出力部26及びフレーム生成部27の統括制御など、特に明記しない一般的なCPUとしての機能も実行可能であるものとする。   The CPU 22 includes a setting acquisition unit 23a, a setting input unit 23b, a start processing unit 24, a lighting control unit 25, an information output unit 26, and a frame generation unit 27. The CPU 22 controls the communication control of the wireless communication unit 20, the setting acquisition unit 23a, the setting input unit 23b, the start processing unit 24, the illumination control unit 25, the information output unit 26, and the frame generation unit 27 as well as the functions of the units included therein. It is also possible to execute general CPU functions such as general control, which are not particularly specified.

設定取得部23aは、記憶媒体I/F28に接続されたSDカード6に記憶された設定ファイルを読み出すことができる。また、設定取得部23aは、SDカード6から読み出された設定ファイルをメモリ21に記憶することができる。設定入力部23bは、例えば、親機2の出荷前など、一時的に接続された制御装置7から設定ファイルを読み出し、読み出された設定ファイルをメモリ21に記憶させることができる。なお、メモリ21において、設定ファイルは上書き可能なものとする。   The setting acquisition unit 23 a can read the setting file stored in the SD card 6 connected to the storage medium I / F 28. The setting acquisition unit 23 a can also store the setting file read from the SD card 6 in the memory 21. The setting input unit 23 b can read a setting file from the control device 7 temporarily connected, for example, before shipment of the parent device 2, and store the read setting file in the memory 21. In the memory 21, the setting file is assumed to be overwritable.

ここで、設定取得部23aは、SDカード6が記憶媒体I/F28に接続されたことに応じて、SDカード6に記憶されている設定ファイルを読み出すとともにメモリ21に記憶させることが望ましい。このように、使用開始時又は設定変更時など、SDカード6の接続時に自動的にメモリ21に読み出される構成により、その後のSDカード6の接続が不要となる。すなわち、親機2の使用時には、SDカード6も制御装置7も接続されない。なお、SDカード6が装着された状態でも親機2の使用は可能であるが、SDカード6の管理上の観点から(同じSDカード6が他の親機2に対しても使用され得ること、親機2の設置後にSDカード6が窃盗され得ることなどを考慮して)、親機2の使用中には、SDカード6は取り外されて管理されることが望ましい。   Here, in response to the connection of the SD card 6 to the storage medium I / F 28, it is preferable that the setting acquisition unit 23a reads the setting file stored in the SD card 6 and stores the file in the memory 21. As described above, due to the configuration in which the memory 21 is automatically read when the SD card 6 is connected, such as at the start of use or at the time of setting change, the subsequent connection of the SD card 6 becomes unnecessary. That is, when using the parent device 2, neither the SD card 6 nor the control device 7 is connected. In addition, although the use of the base unit 2 is possible even when the SD card 6 is attached, from the viewpoint of management of the SD card 6 (the same SD card 6 can be used for other base units 2 , In consideration of the possibility that the SD card 6 may be stolen after the installation of the base unit 2), it is desirable that the SD card 6 be removed and managed while the base unit 2 is in use.

起動処理部24は、親機2の起動時に、親機プログラムに従って親機2を初期化する。例えば、起動処理部24は、メモリ21に設定ファイルが存在する場合でかつ設定ファイルにおける制御装置使用フラグが0であることに応じて、親機2が制御装置7に接続されずに使用されること、すなわち親機2が制御装置7から独立して動作することを判別する。また、起動処理部24は、メモリ21に設定ファイルが存在しない場合又はメモリ21に設定ファイルが存在してもその設定ファイルにおける制御装置使用フラグが1である場合、親機2が制御装置7に接続されて使用されることを判別する。この判別結果に応じて、起動処理部24は、制御装置7の非使用時のプログラム又は制御装置7の使用時のプログラムを実行する。   The activation processing unit 24 initializes the base unit 2 according to the base unit program when the base unit 2 is started up. For example, when the setting file exists in the memory 21 and the control device use flag in the setting file is 0, the start processing unit 24 is used without the parent device 2 being connected to the control device 7 That is, it is determined that the master 2 operates independently of the control device 7. In addition, when the setting file does not exist in the memory 21 or the setting file exists in the memory 21 and the control device use flag in the setting file is 1, the start processing unit 24 sends the control device 7 to the control device 7 Determine that it is connected and used. According to the determination result, the activation processing unit 24 executes a program when the control device 7 is not used or a program when the control device 7 is used.

照明制御部25は、初期化後に設定ファイル(紐付けデータ)及び親機制御プログラムに基づいて照明器具4を照明制御するための照明制御データを無線通信部20から子機3(無線通信部30)に送信させる。また、親機2の起動時には、照明制御部25は、上記初期状態データに基づいて照明器具4の各々の初期状態を実行するための照明制御データを生成及び送信する。   The lighting control unit 25 controls the lighting control data for lighting control of the lighting fixture 4 based on the setting file (linking data) and the parent device control program after initialization from the wireless communication unit 20 to the slave 3 (wireless communication unit 30 Send to). Further, at the time of activation of the parent device 2, the illumination control unit 25 generates and transmits illumination control data for executing each initial state of the lighting device 4 based on the above-mentioned initial state data.

情報出力部26は、子機3から無線通信部20を介して受信された子機信号に基づく受信情報を、制御装置I/F29を介して制御装置7に出力することができる。なお、情報出力部26は、制御装置7が非接続の場合でも、受信情報の出力を試行することができる。子機信号及びそれに基づく受信情報は、例えば、ターミナルユニットTUからの入力、センサ5からの入力に関する情報を含む。制御装置7が接続される場合、制御装置7は受信情報に基づいて子機3、照明器具4又はセンサ5に関する構成又は状態を管理することができる。制御装置7は、受信情報の入力を受けると、応答通信フレーム(ACKフレーム)を親機2に返す。   The information output unit 26 can output received information based on a handset signal received from the handset 3 via the wireless communication unit 20 to the control device 7 via the control device I / F 29. The information output unit 26 can try to output the received information even when the control device 7 is not connected. The handset signal and the received information based thereon include, for example, information on the input from the terminal unit TU, the input from the sensor 5. When the control device 7 is connected, the control device 7 can manage the configuration or state of the slave 3, the lighting fixture 4 or the sensor 5 based on the received information. When the control device 7 receives the input of the reception information, it returns the response communication frame (ACK frame) to the parent device 2.

フレーム生成部27は、起動処理部24と同様に、親機2が制御装置7から独立して動作するのか、又は親機が制御装置7に接続されて使用されるのかを判別する。親機2が制御装置7から独立して動作する場合に、情報出力部26による受信情報の出力処理に応じてダミー通信フレームを生成する。なお、ダミー通信フレームとして、受信情報の種類に応じて複数の種類のフレームが用いられてもよい。   Similar to the activation processing unit 24, the frame generation unit 27 determines whether the base unit 2 operates independently from the control device 7 or whether the base unit is connected to the control device 7 and used. When the parent device 2 operates independently from the control device 7, a dummy communication frame is generated according to the output process of the received information by the information output unit 26. As the dummy communication frame, a plurality of types of frames may be used according to the type of received information.

そして、情報出力部26は、受信情報の出力処理に対して、応答通信フレームの入力又はダミー通信フレームの生成に応じて受信情報の出力処理を終了する。すなわち、制御装置7が接続されて使用される場合には、制御装置7からの応答通信フレームの入力によって受信情報の出力処理が終了し、制御装置7が接続されずに使用される場合には、フレーム生成部27によるダミー通信フレームの生成によって受信情報の出力処理が終了する。   Then, the information output unit 26 ends the output process of the reception information in response to the input of the response communication frame or the generation of the dummy communication frame with respect to the output process of the reception information. That is, when the control device 7 is connected and used, the output process of the received information is completed by the input of the response communication frame from the control device 7 and the control device 7 is used without being connected. When the frame generation unit 27 generates a dummy communication frame, the output process of the reception information ends.

子機3は、無線通信部30、メモリ31、CPU32、出力チャネル35及び入力チャネル36を備える。これらの各部は、バスを介して相互に信号及びデータのやり取りが可能な態様で接続される。無線通信部30は、親機2(無線通信部20)と無線通信を行う無線モジュールである。メモリ31は、プログラム及びデータを記憶するRAM、ROMなどの記憶部であり、本実施形態を実行するためのプログラムがすでに書き込まれているものとする。CPU32は、照明出力部33及び検知転送部34を含む。CPU32は、そこに含まれる各部の機能とともに、無線通信部30の通信制御、照明出力部33及び検知転送部34の統括制御など、特に明記しない一般的なCPUとしての機能も実行可能であるものとする。メモリ31及びCPU32は、1つのマイクロコンピュータに含まれ得る。出力チャネル35は照明器具4又はリレースイッチRswに接続され、入力チャネル36はセンサ5、壁スイッチWsw、入力T/U(ターミナルユニット)、調光器(不図示)などの外部構成要素に接続可能に構成される。   The handset 3 includes a wireless communication unit 30, a memory 31, a CPU 32, an output channel 35, and an input channel 36. These units are connected in such a manner that they can exchange signals and data with one another via a bus. The wireless communication unit 30 is a wireless module that performs wireless communication with the parent device 2 (wireless communication unit 20). The memory 31 is a storage unit such as a RAM, a ROM, etc., which stores programs and data, and it is assumed that a program for executing the present embodiment has already been written. The CPU 32 includes a light output unit 33 and a detection transfer unit 34. The CPU 32 can execute not only the general control of the communication control of the wireless communication unit 30, the general control of the light output unit 33 and the detection transfer unit 34 but also a general CPU function as well as the functions of the units included therein. I assume. The memory 31 and the CPU 32 can be included in one microcomputer. The output channel 35 is connected to the luminaire 4 or the relay switch Rsw, and the input channel 36 can be connected to external components such as the sensor 5, the wall switch Wsw, the input T / U (terminal unit), and the dimmer (not shown) Configured

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

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

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

検知転送部34は、センサ5が入力チャネル36に接続される場合、センサ5によって取得された検知信号を無線通信部30を介して親機2(無線通信部20)に転送する。この際、検知信号には、当該検知信号を転送する子機3の識別情報(アドレス)又はセンサ5の識別情報(チャネル)などが付加され得る。   When the sensor 5 is connected to the input channel 36, the detection transfer unit 34 transfers the detection signal acquired by the sensor 5 to the parent device 2 (wireless communication unit 20) via the wireless communication unit 30. At this time, identification information (address) of the slave 3 to which the detection signal is transferred or identification information (channel) of the sensor 5 may be added to the detection signal.

照明器具4は、点灯回路40及び光源41を備える。点灯回路40は、子機3の照明出力部33(対応する出力チャネル35)からの照明制御信号を受信し、その照明制御信号に応じた駆動動作を実行して光源41の点灯状態を制御する。光源41はLED、放電灯などの任意の光源装置であればよく、各光源41に対して適切な点灯回路40が採用されるものとする。   The lighting apparatus 4 includes a lighting circuit 40 and a light source 41. The lighting circuit 40 receives the illumination control signal from the illumination output unit 33 (corresponding output channel 35) of the slave 3 and executes the driving operation according to the illumination control signal to control the illumination state of the light source 41. . The light source 41 should just be arbitrary light source devices, such as LED and a discharge lamp, and the lighting circuit 40 suitable with respect to each light source 41 shall be employ | adopted.

センサ5は、本実施形態では人感センサであり、子機3の入力チャネル36に接続される。センサ5は、検知エリアに人体を検知するとハイレベルの検知信号を子機3(検知転送部34)に出力し、人体を検知しない状態ではローレベルの信号を出力し、又はいずれの信号も出力しない。なお、本開示においては、説明の便宜上、検知信号に関してハイレベル/ローレベルの表現を用いるが、このような論理が実現される限り信号形式は任意であり、例えば、接点信号によって実現可能である。すなわち、接点による信号の有無が、ハイレベル/ローレベル又はローレベル/ハイレベルに対応し得る。なお、本開示において、ハイレベルの検知信号を単に検知信号というものとする。なお、説明の便宜上、検知結果に対する検知信号の論理を上記の通りとするが、この論理は逆であってもよい。すなわち、センサ5は、人体を検知しない状態でハイレベルの検知信号を出力し、人体を検知した状態でローレベルの検知信号を出力してもよく、この場合は、論理を逆にして以降の説明を読み替えることができる。   The sensor 5 is a human sensor in this embodiment, and is connected to the input channel 36 of the handset 3. The sensor 5 outputs a high level detection signal to the slave unit 3 (detection transfer unit 34) when detecting a human body in the detection area, and outputs a low level signal when no human body is detected, or outputs any signal. do not do. In the present disclosure, high level / low level expressions are used for detection signals for convenience of explanation, but the signal format is arbitrary as long as such logic is realized, and can be realized by, for example, contact signals. . That is, the presence or absence of the signal by the contact may correspond to high level / low level or low level / high level. In the present disclosure, the high level detection signal is simply referred to as a detection signal. In addition, although the logic of the detection signal with respect to a detection result is made above as convenience of explanation, this logic may be reversed. That is, the sensor 5 may output a high level detection signal without detecting a human body, and may output a low level detection signal with a human body detected. In this case, the logic is reversed and the subsequent processing is performed. I can read the explanation.

親機2の通常動作時において、いずれのセンサ5も人体を検知しない場合には子機3の検知転送部34は親機2に対して検知信号を出力せず、親機2の照明制御部25は照明制御信号を出力せず、照明器具4は待機状態(例えば、30%調光点灯)を維持する。一方、例えばセンサ5−1が人体と検知すると、センサ5−1が検知信号を子機3−1に出力し、子機3−1の検知転送部34は親機2に対して検知信号を転送する。親機2の照明制御部25は、紐付けデータに基づいて、例えば、センサ5−1に紐付けされた子機3−1(照明器具4−1及び4−2)及び子機3−2(照明器具4−3)を所定の点灯状態(例えば、80%調光点灯)に遷移させるための照明制御データを生成し、それを子機3−1及び3−2に送信する。その後、子機3−1及び3−2は、所定時間(例えば、10秒)経過後に照明器具4−1〜4−3を元の待機状態(30%調光点灯)に戻すように照明制御信号を照明器具4−1〜4−3にそれぞれ出力する(なお、所定時間経過の時点で人体が検知されていれば待機状態に戻ることなく再度所定時間が開始される)。あるいは、各子機3は、センサ5が人体を検知した後に人体を検知しなくなった時点で、又はその時点から所定時間経過後に、各照明器具4を元の待機状態に戻す照明制御信号を各照明器具4に出力するようにしてもよい。   When no sensor 5 detects a human body during normal operation of the parent device 2, the detection transfer unit 34 of the child device 3 does not output a detection signal to the parent device 2, and the illumination control unit of the parent device 2 25 does not output a lighting control signal, and the lighting device 4 maintains a standby state (for example, 30% dimming lighting). On the other hand, for example, when the sensor 5-1 detects a human body, the sensor 5-1 outputs a detection signal to the child device 3-1, and the detection transfer unit 34 of the child device 3-1 sends a detection signal to the parent device 2 Forward. The lighting control unit 25 of the master 2 sets, for example, the slave 3-1 (the lighting fixtures 4-1 and 4-2) and the slave 3-2 that are linked to the sensor 5-1 based on the linking data. Lighting control data for causing (lighting fixture 4-3) to transition to a predetermined lighting state (for example, 80% dimming lighting) is generated, and is transmitted to slaves 3-1 and 3-2. Thereafter, the handsets 3-1 and 3-2 perform illumination control so that the lighting devices 4-1 to 4-3 return to the original standby state (30% dimming control) after a predetermined time (for example, 10 seconds) has elapsed. A signal is respectively output to the lighting fixtures 4-1 to 4-3 (note that if a human body is detected at the time of a predetermined time elapsed, the predetermined time is started again without returning to the standby state). Alternatively, each child device 3 returns a lighting control signal for returning each lighting device 4 to the original standby state when the sensor 5 no longer detects the human body after detecting the human body, or after a predetermined time has elapsed from that point. It may be made to output to the lighting fixture 4.

図2に、親機2の起動前後の動作のフローチャートを示す。親機2は、使用前の設定取得処理P100、起動時の起動処理P200、通常動作時の照明制御処理P300、及びその後の通常運用処理P350を実行する。   FIG. 2 shows a flowchart of the operation before and after activation of the parent device 2. The parent device 2 executes setting acquisition processing P100 before use, activation processing P200 at startup, illumination control processing P300 during normal operation, and subsequent normal operation processing P350.

設定取得処理P100では、親機2の使用前に、設定取得部23a又は設定入力部23bが必要な設定ファイルを取得してそれをメモリ21に記憶する。あるいは、照明制御システム1(親機2、子機3、照明器具4又はセンサ5)の紐付け関係などの構成の変更時又は制御内容などの仕様の変更時(以下、「設定変更時」という)に、設定取得部23aが新たな設定ファイルを取得してそれをメモリ21に上書き及び記憶する。設定取得処理P100は、ステップS105及びS110を含む。   In the setting acquisition process P100, before using the parent device 2, the setting acquisition unit 23a or the setting input unit 23b acquires a necessary setting file and stores it in the memory 21. Alternatively, at the time of changing the configuration of the lighting control system 1 (parent unit 2, handset 3, lighting fixture 4 or sensor 5) such as the correlating relationship, or at the time of changing specifications such as control contents (hereinafter referred to as "setting change time" , The setting acquisition unit 23a acquires a new setting file and overwrites and stores it in the memory 21. The setting acquisition process P100 includes steps S105 and S110.

ステップS105において、SDカード6又は制御装置7が親機2に接続される。SDカード6が親機2に接続されるのは親機2の使用前(例えば、出荷前、設置時など)又は照明制御システム1の設定変更時であり、制御装置7が親機2に接続されるのは親機2の出荷前である。   In step S105, the SD card 6 or the control device 7 is connected to the parent device 2. The SD card 6 is connected to the base unit 2 before use of the base unit 2 (for example, before shipping, installation, etc.) or when changing the setting of the lighting control system 1, and the control device 7 is connected to the base unit 2 It is before shipment of the master 2 that is done.

ステップS110において、設定取得部23aが、接続されたSDカード6から設定ファイルを読み出してそれをメモリ21に記憶する。あるいは、設定入力部23bが、接続された制御装置7から設定ファイルを読み出してそれをメモリ21に記憶する。   In step S110, the setting acquisition unit 23a reads the setting file from the connected SD card 6 and stores the file in the memory 21. Alternatively, the setting input unit 23 b reads the setting file from the connected control device 7 and stores it in the memory 21.

起動処理P200では、親機2の起動時に、起動処理部24が、設定ファイルに基づいて親機2の無線通信の有効化及び親機2の初期化を実行する。起動処理P200は、ステップS205〜S230を含む。   In start-up processing P200, when the base unit 2 is started up, the start-up processing unit 24 executes the wireless communication of the base unit 2 and the initialization of the base unit 2 based on the setting file. The activation process P200 includes steps S205 to S230.

ステップS205において、起動処理部24は、起動処理部24は、親機2が制御装置7に接続されずに使用される場合及び親機2が制御装置7に接続されて使用される場合の双方に共通するシステム用テーブルの初期化を実行する。   In step S205, in the activation processing unit 24, both of the activation processing unit 24 is used when the parent device 2 is used without being connected to the control device 7 and when the parent device 2 is used with being connected to the control device 7. Perform initialization of system tables common to.

ステップS210において、起動処理部24は、メモリ21に記憶された設定ファイル(例えばcsvファイル)の有無を識別する。設定ファイルが存在する場合(ステップS210、Yes)、処理は制御装置7の使用の有無(親機2が独立動作するか否か)をさらに判別するためのステップS215に進む。一方、設定ファイルが存在しない場合(ステップS210、No)、処理は、制御装置7が使用される場合の処理であるステップS230に進む。   In step S210, the activation processing unit 24 identifies the presence or absence of the setting file (for example, csv file) stored in the memory 21. If there is a setting file (Yes at Step S210), the process proceeds to Step S215 to further determine whether the control device 7 is used (whether the base unit 2 operates independently). On the other hand, when the setting file does not exist (step S210, No), the process proceeds to step S230 which is a process when the control device 7 is used.

ステップS215において、起動処理部24は、設定ファイルにおける制御装置使用フラグを参照して、親機2が制御装置7から独立して動作するのか否かをさらに判別する。親機2が制御装置7から独立して動作すると判定された場合、すなわち、制御装置使用フラグが0である場合(ステップS215、Yes)、処理はステップS220に進む。一方、親機2が制御装置7に接続使用されるものと判定された場合、すなわち、制御装置使用フラグが1である場合(ステップS215、No)、処理はステップS230に進む。なお、制御装置7が接続されて使用される場合において設定ファイルがメモリ21に記憶されないこと(すなわち、設定ファイルに相当するファイル又はデータが制御装置7から直接読み出されること)を条件として、ステップS215を省略してもよい。この場合、ステップS210の設定ファイルの有無のみに基づいて制御装置7の使用の有無が判別される。   In step S215, the activation processing unit 24 further determines whether or not the parent device 2 operates independently of the control device 7 with reference to the control device use flag in the setting file. If it is determined that base unit 2 operates independently from control device 7, that is, if the control device use flag is 0 (step S215, Yes), the process proceeds to step S220. On the other hand, if it is determined that master device 2 is to be connected to control device 7, that is, if the control device use flag is 1 (step S215, No), the process proceeds to step S230. When the control device 7 is connected and used, the condition that the setting file is not stored in the memory 21 (that is, the file or data corresponding to the setting file is directly read from the control device 7) is step S215. May be omitted. In this case, the presence or absence of use of the control device 7 is determined based only on the presence or absence of the setting file in step S210.

ステップS220において、起動処理部24は、制御装置7の非使用時、すなわち、親機2の独立動作時のための親機2の初期化処理を行う。
ステップS230において、起動処理部24は、制御装置7の接続使用時のための親機2の初期化処理を行う。
In step S220, the activation processing unit 24 performs an initialization process of the base unit 2 for the independent operation of the base unit 2 when the control device 7 is not used.
In step S230, the activation processing unit 24 performs initialization processing of the parent device 2 for use when the control device 7 is connected.

照明制御処理P300では、照明制御部25が、制御装置7の非使用時又は使用時に対応する親機制御プログラムを実行する。照明制御処理P300は、ステップS305及び通常運用処理P310を含む。   In the illumination control process P300, the illumination control unit 25 executes a parent device control program corresponding to the non-use time or the use time of the control device 7. The illumination control process P300 includes step S305 and a normal operation process P310.

ステップS305において、照明制御部25は、設定ファイルにおける紐付けデータ及び初期状態データを参照して、各照明器具4についての初期状態を実行するための照明制御データを生成し、これを無線通信部20から子機3に送信させる。   In step S305, the lighting control unit 25 generates lighting control data for executing the initial state of each lighting fixture 4 with reference to the association data and the initial state data in the setting file, and transmits this to the wireless communication unit Send 20 to handset 3.

通常運用処理P350では、例えば、照明制御部25が、親機制御プログラムを実行し、設定ファイルに規定される紐付けデータに基づいて照明器具4を照明制御するための照明制御データを子機3に無線送信する。また、検知転送部34によって、センサ5から入力される検知信号が親機2に転送されると、照明制御部25は、検知信号毎に紐付けされた照明器具4を照明制御するための照明制御データを、その照明器具4に紐付けされた子機3に無線送信する。   In the normal operation processing P350, for example, the illumination control unit 25 executes the parent device control program, and the illumination control data for performing illumination control of the illumination fixture 4 based on the association data defined in the setting file Wirelessly to Further, when the detection transfer unit 34 transfers the detection signal input from the sensor 5 to the parent device 2, the illumination control unit 25 performs illumination control for lighting the illumination fixture 4 associated with each detection signal. The control data is wirelessly transmitted to the child device 3 linked to the lighting device 4.

また、図3に示すように、通常運用処理P350において、情報出力部26及びフレーム生成部27は、応答通信フレーム又はダミー通信フレームに関してステップS355〜S380を実行する。   Further, as shown in FIG. 3, in the normal operation processing P350, the information output unit 26 and the frame generation unit 27 execute steps S355 to S380 with respect to the response communication frame or the dummy communication frame.

ステップS355において、情報出力部26は、子機3からの子機信号が受信されるか否かを判別する。子機信号が受信された場合(ステップS355、Yes)、処理はステップS360に進む。
ステップS360(出力処理)において、情報出力部26は、子機信号に基づく受信情報を生成し、制御装置7に対して受信情報の出力を試行する。
In step S355, the information output unit 26 determines whether the handset signal from the handset 3 is received. If the slave signal is received (Yes at step S355), the process proceeds to step S360.
In step S360 (output process), the information output unit 26 generates reception information based on the slave signal and tries to output the reception information to the control device 7.

ステップS365において、フレーム生成部27は、親機2が制御装置7から独立して動作するのか否かを判別する。この判別は、上記ステップS215と同様にして実行され得る。親機2が制御装置7から独立して動作すると判定された場合(ステップS365、Yes)、処理はステップS370に進む。一方、親機2が制御装置7に接続使用されるものと判定された場合(ステップS365、No)、処理はステップS375に進む。   In step S365, the frame generation unit 27 determines whether or not the base unit 2 operates independently of the control device 7. This determination may be performed in the same manner as step S215. If it is determined that base unit 2 operates independently from control device 7 (step S365, Yes), the process proceeds to step S370. On the other hand, when it is determined that master device 2 is to be used in connection with control device 7 (step S365, No), the process proceeds to step S375.

ステップS370(生成処理)において、フレーム生成部27は、情報処理部26による受信情報の出力処理に応じて、ダミー通信フレームを生成する。   In step S370 (generation processing), the frame generation unit 27 generates a dummy communication frame in accordance with the output processing of the received information by the information processing unit 26.

ステップS375において、情報出力部26が、制御装置7からの応答通信フレームの入力又は生成処理(ステップS370)によるダミー通信フレームの生成の有無を判別する。応答通信フレームの入力又はダミー通信フレームの生成があった場合(ステップS375、Yes)、ステップS380において、情報出力部26は受信情報の出力処理を終了する。なお、受信情報の出力の再試行などのステップが適宜設けられてもよい。   In step S 375, the information output unit 26 determines the presence or absence of generation of a dummy communication frame by the process of inputting or generating a response communication frame from the control device 7 (step S 370). When the input of the response communication frame or the generation of the dummy communication frame is generated (Yes in step S375), the information output unit 26 ends the output process of the reception information in step S380. In addition, steps, such as a retry of the output of reception information, may be provided suitably.

ここで、親機停電前後の照明制御処理を比較例及び本実施形態を用いて説明する。なお、説明の便宜上、比較例における親機を親機12という。本実施形態の親機2には上述の初期状態データが記憶されているが、比較例の親機12には初期状態データは記憶されていない。したがって、親機2においては、上述したように、起動直後に照明制御部25が、照明器具4の初期状態(30%調光点灯)を実行する。なお、初期状態とは、センサ5が非アクティブな状態、すなわち検知信号を出力しない状態において照明器具4が実行すべき待機状態と定義されてもよい。一方、親機12は、起動時に、停電直前の最終状態を照明器具4に実行させ、あるいは、親機12は起動時に照明制御データを出力せず、子機3がその最終状態を実行するものとする。   Here, the lighting control process before and after the master power failure will be described using a comparative example and the present embodiment. Note that, for convenience of explanation, the parent device in the comparative example is referred to as a parent device 12. Although the above-described initial state data is stored in the parent device 2 of the present embodiment, the initial state data is not stored in the parent device 12 of the comparative example. Therefore, in the base unit 2, as described above, the lighting control unit 25 executes the initial state (30% dimming control) of the lighting device 4 immediately after activation. The initial state may be defined as a standby state that the lighting device 4 should execute in a state in which the sensor 5 is inactive, that is, in a state in which the detection signal is not output. On the other hand, at the time of start-up, the main unit 12 causes the lighting fixture 4 to execute the final state immediately before a power failure, or the main unit 12 does not output lighting control data at start-up, and the slave 3 executes the final state. I assume.

なお、停電及び復電とは、親機2の主電源のオフ及びオン、親機2が接続される電源設備の遮断及び復帰など、親機2の起動(再起動)を伴う種々の状況を含む概念である。例えば、親機2又は12が、タイマによってオン/オフする点滅器8を介して電源に接続され、点滅器8が所定時刻(例えば朝の所定時刻)にオフとなり、その後の所定時刻(例えば夕方の所定時刻)にオンとなる場合が想定される。すなわち、この照明制御システム1においては、親機2又は12は、昼間には使用されず、夜間に使用される。また逆に、例えば、室内の照明に関して、親機2又は12が、タイマによってオン/オフする点滅器8を介して電源に接続され、点滅器8が所定時刻(例えば22時)にオフとなり、その後の所定時刻(例えば翌8時)にオンとなる場合が想定される。すなわち、この照明制御システム1においては、親機2又は12は、夜間には使用されず、昼間に使用される。いずれの場合であっても、センサ5が検知信号を出力しない場合(検知エリアに人体が存在しない場合)には照明器具4を30%調光点灯に維持し、センサ5が人体を検知すると、検知信号を転送した子機3に紐付けされた照明器具4を80%調光点灯に移行させることが意図されている。   Note that blackouts and power restoration include various situations involving activation (reactivation) of the parent device 2, such as turning off and on of the main power of the parent device 2, and interruption and restoration of the power supply equipment to which the parent device 2 is connected. It is an included concept. For example, the master unit 2 or 12 is connected to the power supply via the blinker 8 which is turned on / off by a timer, and the blinker 8 is turned off at a predetermined time (for example, a predetermined time of morning) It is assumed that it is turned on at a predetermined time of That is, in the lighting control system 1, the master unit 2 or 12 is not used in the daytime, but used in the nighttime. Conversely, for example, with regard to indoor lighting, the master unit 2 or 12 is connected to the power supply via the blinker 8 turned on / off by a timer, and the blinker 8 is turned off at a predetermined time (for example, 22:00), The case where it turns on at predetermined time (for example, 8 o'clock next time) after that is assumed. That is, in the lighting control system 1, the master unit 2 or 12 is not used at night, but used at daytime. In any case, if the sensor 5 does not output a detection signal (if there is no human body in the detection area), the lighting fixture 4 is maintained at 30% dimming control, and the sensor 5 detects a human body, It is intended to shift the lighting fixture 4 linked to the child device 3 to which the detection signal has been transferred to 80% dimming lighting.

図4に、比較例における親機12の停電時における照明制御システム1の動作を示す。図4において、下段から、センサ5から出力される検知信号、照明器具4(子機3)の状態、及び親機12からの照明制御データを示す。なお、親機2、子機3、照明器具4及びセンサ5は相互に紐付けされているものとする。   FIG. 4 shows the operation of the lighting control system 1 at the time of a power failure of the parent device 12 in the comparative example. In FIG. 4, from the lower side, the detection signal output from the sensor 5, the state of the lighting fixture 4 (the slave 3), and the illumination control data from the master 12 are shown. The master unit 2, the slave unit 3, the lighting fixture 4, and the sensor 5 are mutually linked.

時刻t1の前において、検知エリアに人体は不在であり、センサ5は検知信号を出力せず、子機3及び照明器具4は30%調光点灯を維持しているものとする。
時刻t1において、センサ5が人体を検知すると、検知信号がセンサ5→子機3→親機12に転送され、親機12は80%調光の照明制御データを子機3に送信する。これにより、照明器具4は80%調光点灯を実行する。
Before time t1, it is assumed that the human body is absent in the detection area, the sensor 5 does not output a detection signal, and the child device 3 and the lighting apparatus 4 maintain 30% dimming lighting.
When the sensor 5 detects a human body at time t1, a detection signal is transferred to the sensor 5 → the handset 3 → the master 12, and the master 12 transmits illumination control data of 80% dimming to the handset 3. Thereby, the lighting fixture 4 performs the 80% dimming control.

時刻t2において、照明器具4が80%調光点灯を継続した状態で、親機12が停電したものとする。その後、人体が不在となり、センサ5は検知信号を出力しなくなるが、親機12は停電中であるため、30%調光点灯に戻すための照明制御データは子機3に送信されない。そのため、子機3及び照明器具4は、80%調光点灯を維持する。   It is assumed that the master unit 12 loses power in a state where the lighting apparatus 4 continues the 80% dimming control at time t2. After that, the human body is absent, and the sensor 5 does not output the detection signal. However, since the master 12 is in a power failure, the illumination control data for returning to 30% dimming lighting is not transmitted to the slave 3. Therefore, the handset 3 and the lighting apparatus 4 maintain the 80% dimming control.

時刻t3において、復電により親機12が起動する。ここで、親機12は、停電直前の子機3の最終状態である80%調光点灯を実行するように照明制御データを子機3に送信し、あるいは、いずれの照明制御データも送信しない。これにより、センサ5が検知信号を出力しないにもかかわらず(すなわち、人体が不在であるにもかかわらず)、親機12では照明器具4を30%調光点灯に戻すための照明制御データなどの新たな照明制御データを生成する契機がなく、子機3及び照明器具4は80%調光点灯を維持してしまう。したがって、親機12を含む照明制御システム1では、親機12の復電時に人体が不在であったとしても、照明器具4は人体が存在する場合の点灯状態(80%調光点灯)を継続してしまう。   At time t3, the main unit 12 is activated by power recovery. Here, the master unit 12 transmits illumination control data to the slave unit 3 so as to execute 80% dimming lighting which is the final state of the slave unit 3 immediately before the power failure, or does not transmit any illumination control data. . Thereby, although the sensor 5 does not output a detection signal (that is, despite the absence of a human body), the parent device 12 performs illumination control data or the like for returning the lighting fixture 4 to 30% dimming lighting. The child device 3 and the lighting apparatus 4 maintain the 80% dimming control without any opportunity to generate new lighting control data. Therefore, in the lighting control system 1 including the parent device 12, even if the human body is absent at the time of power recovery of the parent device 12, the lighting device 4 continues the lighting state (80% dimming lighting) when the human body is present. Resulting in.

なお、時刻t2において親機2とともに子機3及び照明器具4が停電し、時刻t3において親機2、子機3及び照明器具4が復電する場合であって、子機3が停電直前の最終状態を記憶して復電時にその最終状態を再現するように構成されている場合も、上記と同様である。すなわち、いずれの場合であっても、時刻t3において、人体不在時でも80%調光点灯が実行されるので、センサ5の検知状態と照明器具4の点灯状態との間で不一致が生ずることになる。そのため、時刻t4において、人体の検知によってセンサ5から検知信号が出力されて正常な動作に戻る時点まで、センサ5の検知状態と照明器具4の点灯状態との間に不一致が継続する。   It should be noted that at time t2, the slave unit 3 and the lighting fixture 4 lose power together with the master unit 2, and at time t3, the master unit 2, the slave unit 3 and the lighting fixture 4 recover power, The same applies to the case where the final state is stored and configured to reproduce the final state upon power recovery. That is, in any case, the 80% dimming lighting is performed at time t3 even when there is no human body, so that a mismatch occurs between the detection state of the sensor 5 and the lighting state of the lighting fixture 4 Become. Therefore, at time t4, the mismatch between the detection state of the sensor 5 and the lighting state of the luminaire 4 continues until the time when the detection signal is output from the sensor 5 by detection of the human body and the operation returns to the normal operation.

これに対して、図5に、本実施形態における親機2を含む照明制御システム1の動作を示す。図5において、下段から、センサ5から出力される検知信号、照明器具4(子機3)の状態、及び親機2からの照明制御データを示す。なお、親機2、子機3、照明器具4及びセンサ5は相互に紐付けされているものとし、時刻t2までの動作は図4に示した比較例の場合と実質的に同様である。   On the other hand, FIG. 5 shows the operation of the lighting control system 1 including the parent device 2 in the present embodiment. In FIG. 5, from the bottom, the detection signal output from the sensor 5, the state of the lighting fixture 4 (child unit 3), and the illumination control data from the parent unit 2 are shown. The master unit 2, the slave unit 3, the lighting fixture 4, and the sensor 5 are mutually linked, and the operation up to the time t2 is substantially the same as that of the comparative example shown in FIG.

時刻t1の前において、検知エリアに人体は不在であり、センサ5は検知信号を出力せず、子機3及び照明器具4は30%調光点灯を維持しているものとする。
時刻t1において、センサ5が人体を検知すると、検知信号がセンサ5→子機3→親機2に転送され、親機2は80%調光の照明制御データを子機3に送信する。これにより、照明器具4は80%調光点灯を実行する。
Before time t1, it is assumed that the human body is absent in the detection area, the sensor 5 does not output a detection signal, and the child device 3 and the lighting apparatus 4 maintain 30% dimming lighting.
When the sensor 5 detects a human body at time t1, a detection signal is transferred from the sensor 5 to the handset 3 to the base unit 2, and the base unit 2 transmits illumination control data of 80% dimming to the handset 3. Thereby, the lighting fixture 4 performs the 80% dimming control.

時刻t2において、照明器具4が80%調光点灯を継続した状態で、親機2が停電したものとする。その後、人体が不在となり、センサ5は検知信号を出力しなくなるが、親機2は停電中であるため、30%調光点灯に戻すための照明制御データは子機3に送信されない。そのため、子機3及び照明器具4は、80%調光点灯を維持する。   It is assumed that the master unit 2 loses power in a state where the lighting apparatus 4 continues the 80% dimming control at time t2. Thereafter, the human body is absent, and the sensor 5 does not output the detection signal. However, since the master unit 2 is in a power failure, the illumination control data for returning to 30% dimming lighting is not transmitted to the slave unit 3. Therefore, the handset 3 and the lighting apparatus 4 maintain the 80% dimming control.

時刻t3において、復電により親機2が起動する。ここで、親機2は、メモリ21に記憶されている照明器具4の初期状態(30%調光点灯)を実行するための照明制御データを子機3に送信する。これにより、子機3及び照明器具4は、(人体が不在であることを条件として)30%調光点灯を実行する。仮に人体が存在していたとしても、センサ5からの検知信号が子機3を介して親機2に転送され、これに応じて親機2が80%調光点灯を子機3に実行させることになるので、センサ5の検知状態と照明器具4の点灯状態との間の不一致は生じない。   At time t3, the main unit 2 is activated by power recovery. Here, the master unit 2 transmits, to the slave unit 3, lighting control data for executing the initial state (30% dimming control) of the lighting apparatus 4 stored in the memory 21. As a result, the child device 3 and the lighting device 4 execute 30% dimming control (provided that the human body is not present). Even if a human body is present, a detection signal from the sensor 5 is transferred to the base unit 2 via the handset 3, and the base unit 2 causes the handset 3 to perform 80% dimming control according to this. As a matter of fact, no mismatch occurs between the detection state of the sensor 5 and the lighting state of the luminaire 4.

なお、時刻t2において親機2とともに子機3及び照明器具4が停電し、時刻t3において親機2、子機3及び照明器具4が復電する場合であって、子機3が停電直前の最終状態を記憶して復電時にその最終状態を再現するように構成されている場合も、上記と同様である。すなわち、時刻t3において、親機2が子機3に初期状態(30%調光)を実行させるので、センサ5の検知状態と照明器具4の点灯状態との間の不一致は生じない。その後は、通常動作時と同様に、人体の不在の場合には30%調光点灯が維持され、例えば時刻t4で人体が検知されると、所定期間にわたって80%調光点灯が実行される。   It should be noted that at time t2, the slave unit 3 and the lighting fixture 4 lose power together with the master unit 2, and at time t3, the master unit 2, the slave unit 3 and the lighting fixture 4 recover power, The same applies to the case where the final state is stored and configured to reproduce the final state upon power recovery. That is, at time t3, the master unit 2 causes the slave unit 3 to execute the initial state (30% light control), so that the mismatch between the detection state of the sensor 5 and the lighting state of the lighting fixture 4 does not occur. After that, as in the normal operation, in the absence of a human body, the 30% dimming control is maintained. For example, when the human body is detected at time t4, the 80% dimming control is performed over a predetermined period.

このように、比較例の親機12とは異なり、本実施形態の親機2は、その起動時に照明器具4の初期状態を実行するための処理を行うので、センサ5による検知状態と照明器具4で実行されるべき点灯状態との間の不一致を防止することができる。   As described above, unlike the parent device 12 of the comparative example, the parent device 2 of the present embodiment performs processing for executing the initial state of the lighting device 4 at the time of activation thereof. It is possible to prevent a mismatch between the lighting condition to be performed in step 4 and the lighting condition.

以上のように、本発明の照明制御システム1では、親機2が、子機3と無線通信可能な無線通信部20と、親機2の動作設定を規定する設定ファイル並びに親機2が制御装置7に接続されて使用される場合及び親機2が制御装置7から独立して動作する場合に対応する親機処理をそれぞれ規定した親機プログラムが記憶されたメモリ21と、親機2が制御装置7から独立して動作するか否かを設定ファイルに基づいて判別し、判別結果に対応する親機プログラムを実行して親機2を初期化する起動処理部24と、親機2が制御装置7から独立して動作する場合に、設定ファイル及び親機プログラムに基づいて照明器具4を照明制御するための照明制御データを生成してその照明制御データを無線通信部20から子機3に送信させる照明制御部25とを備える。   As described above, in the lighting control system 1 of the present invention, the master unit 2 controls the wireless communication unit 20 capable of wirelessly communicating with the slave unit 3, the setting file defining the operation setting of the master unit 2, and the master unit 2 A memory 21 storing a parent device program defining the parent device processing respectively corresponding to the case where the device 7 is connected and used and the parent device 2 operates independently from the control device 7, and the parent device 2 The start processing unit 24 determines whether or not to operate independently from the control device 7 based on the setting file, and executes a parent device program corresponding to the determination result to initialize the parent device 2, and the parent device 2 When operating independently from the control device 7, lighting control data for lighting control of the lighting fixture 4 is generated based on the setting file and the master unit program, and the lighting control data is transmitted from the wireless communication unit 20 to the slave unit 3 Control unit to send to And a 5.

上記照明制御システム1によると、親機2のメモリ21に、親機2の動作設定を規定する設定ファイル並びに親機2が制御装置7に接続されて使用される場合及び親機2が制御装置7から独立して動作する場合の親機処理をそれぞれ規定した親機プログラムが記憶される。そして、親機2の独立動作時においては、起動処理部24及び照明制御部25が、設定ファイル及び対応の親機プログラムに基づいて制御装置7から独立して親機2の初期化を実行するとともに制御装置7の使用時と同等の照明制御を実行する。これにより、制御装置7が接続可能な親機2に制御装置7が接続されない場合でも高度な照明制御を実現するための低コストかつ標準化された親機2を含む照明制御システム1が実現される。   According to the lighting control system 1 described above, the setting file defining the operation setting of the parent device 2 and the case where the parent device 2 is used by being connected to the control device 7 in the memory 21 of the parent device 2 A parent device program that defines the parent device processing in the case of operating independently from 7 is stored. Then, at the time of independent operation of base unit 2, activation processing unit 24 and illumination control unit 25 execute initialization of base unit 2 independently from control device 7 based on the setting file and the corresponding base unit program. And the same illumination control as when the control device 7 is used. As a result, the lighting control system 1 including the low-cost and standardized master unit 2 for realizing advanced illumination control even when the controller 7 is not connected to the master unit 2 to which the controller 7 can be connected is realized. .

ここで、親機2は、無線通信部20を介して受信された子機信号に基づく受信情報を制御装置7に出力可能な情報出力部26と、親機2が制御装置7から独立して動作する場合に、受信情報の出力処理に応じてダミー通信フレームを生成するフレーム生成部27とをさらに備え、情報出力部26が、受信情報に対する制御装置7からの応答通信フレームの入力又はフレーム生成部27によるダミー通信フレームの生成に応じて、受信情報の出力処理を終了するように構成される。これにより、簡素な制御構成で制御装置7の非接続時及び接続時の双方に共通する通信処理が可能となる。   Here, base unit 2 is an information output unit 26 capable of outputting received information based on a handset signal received via wireless communication unit 20 to control device 7, and base unit 2 is independent of control device 7. The apparatus further comprises a frame generation unit 27 for generating a dummy communication frame according to output processing of the reception information when operating, and the information output unit 26 receives an input or a frame generation of a response communication frame from the control device 7 for the reception information. In response to the generation of the dummy communication frame by the unit 27, the process of outputting the reception information is ended. As a result, communication processing common to both the non-connection time and the connection time of the control device 7 can be performed with a simple control configuration.

また、設定ファイルに、親機2の起動時に実行すべき照明器具4の状態を示す初期状態データが含まれ、照明制御部25が、親機2の起動時に、初期状態データに基づく照明制御データを生成するように構成される。これにより、親機2の停電中の子機3の動作仕様にかかわらず、親機2によって規定される照明制御が親機2の復電時に実行されるので、親機2の起動後において意図しない子機3及び照明器具4の動作が防止される。   Further, the setting file includes initial state data indicating the state of the lighting fixture 4 to be executed when the parent device 2 is activated, and the illumination control unit 25 controls illumination control data based on the initial state data when the parent device 2 is activated. Configured to generate Thereby, regardless of the operation specification of the slave 3 during the power failure of the master 2, the lighting control defined by the master 2 is executed at the time of the power recovery of the master 2, so that it is intended after the master 2 is activated. The operation of the non-active handset 3 and the lighting fixture 4 is prevented.

さらに、子機3の少なくとも1つにセンサ4が接続され、子機3が、親機2と無線通信可能な無線通信部30及びセンサ5から入力される検知信号を無線通信部30から親機2に転送する検知転送部34を備え、設定ファイルに、親機2、子機3、照明器具4及びセンサ5の紐付けを示す紐付けデータが含まれ、照明制御部25が、紐付けデータに基づいて、検知信号を転送した子機3に紐付けされた照明器具4を照明制御するための照明制御データを生成するように構成される。これにより、制御装置7が接続されない親機2においても、センサ5を用いた一層高度な照明制御が可能となる。   Furthermore, the sensor 4 is connected to at least one of the handsets 3, and the handset 3 receives a detection signal input from the wireless communication unit 30 and the sensor 5 capable of wirelessly communicating with the base unit 2. 2. A detection transfer unit 34 for transferring to 2 is provided, and the setting file includes tying data indicating the tying of the master unit 2, the slave unit 3, the lighting fixture 4 and the sensor 5, and the lighting control unit 25 And lighting control data for controlling lighting of the lighting fixture 4 linked to the child device 3 to which the detection signal has been transferred. As a result, even in the base unit 2 to which the control device 7 is not connected, higher-level illumination control using the sensor 5 becomes possible.

またさらに、親機2は、SDカード6から設定ファイルを読み出すように構成された設定取得部23aを備える。これにより、照明制御システム1の使用状態に応じて異なり得る設定ファイルをSDカード6から取得することができるので、親機2を設置先に応じて個別に製造する必要がなく、その製造コストの低減が可能となる。また、照明制御システム1内の設定変更に対して柔軟な対応が可能となる。   Furthermore, the parent device 2 includes a setting acquisition unit 23 a configured to read a setting file from the SD card 6. Thereby, since the setting file which may differ according to the use condition of the lighting control system 1 can be acquired from the SD card 6, there is no need to separately manufacture the parent device 2 according to the installation destination, and the manufacturing cost Reduction is possible. In addition, it is possible to respond flexibly to setting changes in the lighting control system 1.

ここで、設定取得部23aが、SDカード6が親機2に接続されたことに応じて、SDカード6から設定ファイルを読み出してメモリ21に記憶させるように構成されることが望ましい。これにより、SDカード6を親機2に常時装着する必要がなく、親機2の使用時におけるSDカード6の抜取りなどの悪戯、SDカード6の接続外れ又は接触不良による照明制御の中断などが防止される。   Here, it is desirable that the setting acquisition unit 23 a be configured to read out the setting file from the SD card 6 and store it in the memory 21 in response to the connection of the SD card 6 to the parent device 2. As a result, there is no need to always attach the SD card 6 to the parent device 2, and mischief such as removal of the SD card 6 when using the parent device 2, interruption of illumination control due to disconnection of the SD card 6 or poor contact etc. It is prevented.

また、親機2が、一時的に接続される制御装置7から設定ファイルを読み出してメモリ21に記憶させる設定入力部23bをさらに備えていてもよい。これにより、設定ファイルを出荷前に一時的に接続された制御装置7から取得することができるので、制御装置7を使用する場合と同等の設定を入力するのに制御装置7を設置場所で使用する必要がなく、親機2の設置容易性が高まる。   In addition, the master device 2 may further include a setting input unit 23 b that reads the setting file from the control device 7 temporarily connected and stores the read setting file in the memory 21. Thus, since the setting file can be obtained from the control device 7 temporarily connected before shipment, the control device 7 is used at the installation place to input the same setting as in the case of using the control device 7 It is not necessary to do so, and the ease of installation of the parent device 2 is enhanced.

<プログラム>
なお、上述した各実施形態における照明制御システム1の特に親機2又は子機3(CPU22又は32)を実現する各構成要素及び処理の各ステップは、メモリ21又は31のROMなどに記憶されたプログラムが動作することによって実現される。
<Program>
In addition, each component of the lighting control system 1 in each of the above-described embodiments, in particular, for realizing the parent device 2 or the child device 3 (CPU 22 or 32) and each process step are stored in the ROM of the memory 21 or 31. It is realized by the program operating.

また、上記各実施形態の機能を実現するソフトウェアのプログラム(図2又は図3に示すフローチャートに対応したプログラム)が、照明制御システム1(親機2又は子機3)に直接に、又は遠隔から供給され得る。したがって、本発明の機能処理を実現するために、照明制御システム1(親機2又は子機3)にインストールされるプログラムコード自体も本発明に含まれる。すなわち、本発明には、本発明の機能処理を実現するためのコンピュータプログラムも含まれる。そのプログラムは、親機2、子機3などのコンピュータを、上記の設定取得部23a、設定入力部23b、起動処理部24、照明制御部25、情報出力部26、フレーム生成部27、照明出力部33及び検知転送部34の全部又は一部として機能させることができる。このように、本発明は、上記実施形態に示したような作用効果をソフトウェアの導入によって実現できるので、照明制御システム1(特に、親機2及び子機3)の導入容易性を向上することができる。   Also, a software program (a program corresponding to the flowchart shown in FIG. 2 or FIG. 3) for realizing the functions of the above embodiments directly or remotely to the lighting control system 1 (master unit 2 or handset 3) It can be supplied. Therefore, the program code itself installed in the lighting control system 1 (the master 2 or the slave 3) 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 includes a computer such as the master unit 2 and the slave unit 3, the setting acquisition unit 23a, the setting input unit 23b, the start processing unit 24, the illumination control unit 25, the information output unit 26, the frame generation unit 27, and the illumination output It can function as all or part of the unit 33 and the detection transfer unit 34. As described above, since the present invention can realize the functions and effects as described in the above embodiment by the introduction of software, it is possible to improve the introduction easiness of the lighting control system 1 (particularly, the master 2 and the slave 3). Can.

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

(1)センサ5又は点滅器8に関する変形
上記実施形態ではセンサ5が人感センサである例を示したが、センサ5は、子機3の周囲の環境照度を検出する照度センサ(明るさセンサ)など、他のセンサであってもよい。この場合、検出照度の低/高に応じて対応の照明器具4の出力がオン/オフ又は増/減される。また、上記実施形態では、時間に応じて動作する点滅器8が使用される構成を示したが、環境照度に応じて動作する(例えば、環境照度が高い昼間にオフし、環境照度が低い夜間にオンする)点滅器8が使用されてもよい。
(1) Modification of the sensor 5 or the blinker 8 In the above embodiment, the sensor 5 is an example of a human sensor, but the sensor 5 is an illuminance sensor (brightness sensor for detecting ambient illuminance around the slave 3) It may be other sensors, such as). In this case, the output of the corresponding lighting fixture 4 is turned on / off or increased / decreased in accordance with the low / high of the detection illuminance. Further, in the above embodiment, the configuration in which the blinker 8 that operates according to time is used is shown, but it operates according to the environment illuminance (for example, it turns off during the daytime when the environment illuminance is high, and it is nighttime when the environment illuminance is low) The blinker 8 may be used.

(2)初期状態データに関する変形
上記実施形態では照明器具4の初期状態が調光率(百分率)で規定される構成を示した。一方、初期状態は、オン(全光又は調光)又はオフ(消灯)によって規定されてもよいし、調光率に対応するPWM信号のオンデューティ又はオフデューティで規定されてもよい。
(2) Modification on Initial State Data In the above embodiment, the configuration in which the initial state of the lighting fixture 4 is defined by the dimming ratio (percentage) is shown. On the other hand, the initial state may be defined by on (full light or dimming) or off (extinguishing), or may be defined by on duty or off duty of the PWM signal corresponding to the dimming rate.

1 照明制御システム
2 親機
3、3−1〜3−m 子機
4、4−1〜4−n 照明器具
5、5−1〜5−p センサ
6 SDカード(取外し可能な記憶媒体)
7 制御装置
8 点滅器
20 無線通信部(親機無線通信部)
21 メモリ
22 CPU
23a 設定取得部
23b 設定入力部
24 起動処理部
25 照明制御部
26 情報出力部
27 フレーム生成部
28 記憶媒体I/F
29 制御装置I/F
30 無線通信部(子機無線通信部)
31 メモリ
32 CPU
33 照明出力部
34 検知転送部
35 出力チャネル
36 入力チャネル
1 Lighting Control System 2 Master Unit 3, 3-1 to 3-m Slave Unit 4, 4-1 to 4-n Lighting Fixture 5, 5-1 to 5-p Sensor 6 SD Card (Removable Storage Medium)
7 Control device 8 blinker 20 wireless communication unit (master unit wireless communication unit)
21 Memory 22 CPU
23a setting acquisition unit 23b setting input unit 24 activation processing unit 25 illumination control unit 26 information output unit 27 frame generation unit 28 storage medium I / F
29 Controller I / F
30 wireless communication unit (mobile unit wireless communication unit)
31 Memory 32 CPU
33 illumination output unit 34 detection transfer unit 35 output channel 36 input channel

Claims (15)

親機及び少なくとも1つの子機を有し、該子機の少なくとも1つに照明器具が接続される照明制御システムであって、
前記親機が、
前記子機と無線通信可能な親機無線通信部と、
前記親機の動作設定を規定する設定ファイル並びに前記親機が制御装置に接続されて使用される場合及び前記親機が前記制御装置から独立して動作する場合に対応する親機処理をそれぞれ規定した親機プログラムが記憶されたメモリと、
前記親機が前記制御装置から独立して動作するか否かを前記設定ファイルに基づいて判別し、判別結果に対応する前記親機プログラムを実行して前記親機を初期化する起動処理部と、
前記親機が前記制御装置から独立して動作する場合に、前記設定ファイル及び前記親機プログラムに基づいて前記照明器具を照明制御するための照明制御データを生成して該照明制御データを前記親機無線通信部から前記子機に送信させる照明制御部と
を備える、照明制御システム。
A lighting control system comprising a master unit and at least one slave unit, wherein a lighting fixture is connected to at least one of the slave units,
The parent device
A base unit wireless communication unit capable of wirelessly communicating with the slave unit;
The setting file defining the operation setting of the parent device and the parent device processing corresponding to the case where the parent device is used by being connected to the control device and the case where the parent device operates independently from the control device are respectively defined. A memory in which the base program stored in
A start processing unit that determines whether the base unit operates independently of the control device based on the setting file, and executes the base unit program corresponding to the determination result to initialize the base unit; ,
When the master unit operates independently from the control device, lighting control data for lighting control of the lighting apparatus is generated based on the setting file and the master unit program, and the lighting control data is used as the master And a lighting control unit for causing the handset unit to transmit to the slave unit.
前記親機が、
前記親機無線通信部を介して受信された信号に基づく受信情報を前記制御装置に出力可能な情報出力部と、
前記親機が前記制御装置から独立して動作する場合に、前記受信情報の出力処理に応じてダミー通信フレームを生成するフレーム生成部と
をさらに備え、
前記情報出力部が、前記受信情報に対する前記制御装置からの応答通信フレームの入力又は前記フレーム生成部による前記ダミー通信フレームの生成に応じて、前記受信情報の出力処理を終了するように構成された、請求項1に記載の照明制御システム。
The parent device
An information output unit capable of outputting received information based on a signal received via the base unit wireless communication unit to the control device;
And a frame generation unit that generates a dummy communication frame according to the output process of the received information when the base unit operates independently of the control device.
The information output unit is configured to end output processing of the reception information in response to input of a response communication frame from the control device to the reception information or generation of the dummy communication frame by the frame generation unit. The lighting control system according to claim 1.
前記設定ファイルに、前記親機の起動時に実行すべき前記照明器具の状態を示す初期状態データが含まれ、
前記照明制御部が、前記親機の起動時に、前記初期状態データに基づく前記照明制御データを生成するように構成された、請求項1又は2に記載の照明制御システム。
The setting file includes initial state data indicating a state of the lighting fixture to be executed when the parent machine is started,
The illumination control system according to claim 1, wherein the illumination control unit is configured to generate the illumination control data based on the initial state data when the parent device is activated.
前記子機の少なくとも1つにセンサが接続され、
前記子機が、前記親機と無線通信可能な子機無線通信部、及び前記センサから入力される検知信号を前記子機無線通信部から前記親機に転送する検知転送部を備え、
前記設定ファイルに、前記親機、前記子機、前記照明器具及び前記センサの紐付けを示す紐付けデータが含まれ、
前記照明制御部が、前記紐付けデータに基づいて、前記検知信号を転送した子機に紐付けされた照明器具を照明制御するための照明制御データを生成するように構成された、請求項1から3のいずれか一項に記載の照明制御システム。
A sensor is connected to at least one of the handsets;
The slave unit includes a slave wireless communication unit capable of wirelessly communicating with the master, and a detection transfer unit that transfers a detection signal input from the sensor from the slave wireless communication unit to the master.
The setting file includes tying data indicating tying of the parent device, the child device, the lighting fixture, and the sensor;
The illumination control unit is configured to generate illumination control data for performing illumination control of an illumination fixture associated with a child device that has transferred the detection signal, based on the association data. A lighting control system according to any one of 3.
前記親機が、取外し可能な記憶媒体から前記設定ファイルを読み出すように構成された設定取得部をさらに備える、請求項1から4のいずれか一項に記載の照明制御システム。   The lighting control system according to any one of claims 1 to 4, further comprising a setting acquisition unit configured to read the setting file from a removable storage medium by the parent device. 前記設定取得部が、前記取外し可能な記憶媒体が前記親機に接続されたことに応じて、前記取外し可能な記憶媒体から前記設定ファイルを読み出して前記メモリに記憶させるように構成された、請求項5に記載の照明制御システム。   The setting acquisition unit is configured to read out the setting file from the removable storage medium and store the file in the memory in response to the removable storage medium being connected to the parent device. The lighting control system according to Item 5. 前記親機が、一時的に接続される前記制御装置から前記設定ファイルを読み出して前記メモリに記憶させる設定入力部をさらに備える、請求項1から6のいずれか一項に記載の照明制御システム。   The lighting control system according to any one of claims 1 to 6, further comprising: a setting input unit that reads the setting file from the control device that is temporarily connected and stores the setting file in the memory. コンピュータを、請求項1から7のいずれか一項に記載の照明制御システムが備える各部として機能させるためのプログラム。   The program for functioning a computer as each part with which the lighting control system according to any one of claims 1 to 7 is provided. 親機及び少なくとも1つの子機を有し、該子機の少なくとも1つに照明器具が接続される照明制御システムの制御方法であって、
前記親機のメモリに、前記親機の動作設定を規定する設定ファイル並びに前記親機が制御装置に接続されて使用される場合及び前記親機が前記制御装置から独立して動作する場合に対応する親機処理を規定した親機プログラムが記憶され、
前記親機が、
前記親機が前記制御装置から独立して動作するか否かを前記設定ファイルに基づいて判別し、判別結果に応じて前記親機プログラムを実行して前記親機を初期化する起動処理を実行するステップと、
前記親機が前記制御装置から独立して動作する場合に、前記初期化後に前記設定ファイル及び前記親機プログラムに基づいて前記照明器具を照明制御するための照明制御データを生成して該照明制御データを前記子機に無線送信する照明制御処理を実行するステップと
を備える、制御方法。
A control method of a lighting control system, comprising a master unit and at least one slave unit, wherein a lighting fixture is connected to at least one of the slave units,
A setting file that defines the operation setting of the parent device in the memory of the parent device, and a case where the parent device is used by being connected to a control device and when the parent device operates independently of the control device The master device program that defines the master device processing to be
The parent device
It is determined based on the setting file whether or not the base unit operates independently from the control device, and a boot process is executed to execute the base unit program and initialize the base unit according to the determination result. Step to
When the master unit operates independently from the control device, lighting control data for lighting control of the lighting fixture is generated based on the setting file and the master unit program after the initialization, and the lighting control is performed. Executing a lighting control process of wirelessly transmitting data to the child device.
前記親機において、
前記子機から受信された信号に基づく受信情報を生成し、前記制御装置への前記受信情報の出力を試行する出力処理を実行するステップと、
前記親機が前記制御装置から独立して動作する場合に、前記出力処理に応じてダミー通信フレームを生成する生成処理を実行するステップと、
前記受信情報に対する前記制御装置からの応答通信フレームの入力又は前記生成処理による前記ダミー通信フレームの生成に応じて前記出力処理を終了するステップと
をさらに備える、請求項9に記載の制御方法。
At the parent machine
Executing an output process of generating reception information based on a signal received from the slave unit and attempting to output the reception information to the control device;
Executing a generation process of generating a dummy communication frame according to the output process when the base unit operates independently of the control device;
10. The control method according to claim 9, further comprising the step of terminating the output process in response to an input of a response communication frame from the control device to the received information or generation of the dummy communication frame by the generation process.
前記設定ファイルに、前記親機の起動時に実行すべき前記照明器具の状態を示す初期状態データが含まれ、
前記照明制御処理が、起動時に前記初期状態データに基づいて前記照明制御データを生成するステップを含む、請求項9又は10に記載の制御方法。
The setting file includes initial state data indicating a state of the lighting fixture to be executed when the parent machine is started,
The control method according to claim 9 or 10, wherein the light control process includes the step of generating the light control data based on the initial state data at start-up.
前記子機の少なくとも1つにセンサが接続され、前記設定ファイルに、前記親機、前記子機、前記照明器具及び前記センサの紐付けを示す紐付けデータが含まれ、
前記照明制御処理が、前記紐付けデータに基づいて、前記センサから前記子機を介して転送される検知信号を受信するステップ、及び前記検知信号を転送した子機に紐付けされた照明器具を照明制御するための照明制御データを生成するステップを含む、請求項9から11のいずれか一項に記載の制御方法。
A sensor is connected to at least one of the slaves, and the setting file includes tying data indicating the tying of the master, the slave, the lighting fixture, and the sensor.
A step of the illumination control process receiving a detection signal transferred from the sensor via the slave based on the association data, and a lighting fixture associated with the slave that has transferred the detection signal The control method according to any one of claims 9 to 11, comprising the step of generating illumination control data for illumination control.
前記親機が、取外し可能な記憶媒体から前記設定ファイルを読み出す設定取得処理を実行するステップをさらに備える、請求項9から12のいずれか一項に記載の制御方法。   The control method according to any one of claims 9 to 12, further comprising: executing a setting acquisition process in which the parent device reads the setting file from a removable storage medium. 前記設定取得処理が、前記取外し可能な記憶媒体が前記親機に接続されたことに応じて、前記取外し可能な記憶媒体から前記設定ファイルを読み出して前記メモリに記憶させるステップを含む、請求項13に記載の制御方法。   The setting acquisition process includes the step of reading out the setting file from the removable storage medium and storing the file in the memory in response to the removable storage medium being connected to the parent device. Control method described in. 前記親機が、一時的に接続される前記制御装置から前記設定ファイルを読み出して前記メモリに記憶させる設定取得処理を実行するステップをさらに備える、請求項9から12のいずれか一項に記載の制御方法。

The method according to any one of claims 9 to 12, further comprising the step of the master device performing a setting acquisition process of reading the setting file from the control device to be temporarily connected and storing the file in the memory. Control method.

JP2017235430A 2017-12-07 2017-12-07 Lighting control system, lighting control system program and lighting control system control method Active JP7020091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017235430A JP7020091B2 (en) 2017-12-07 2017-12-07 Lighting control system, lighting control system program and lighting control system control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017235430A JP7020091B2 (en) 2017-12-07 2017-12-07 Lighting control system, lighting control system program and lighting control system control method

Publications (2)

Publication Number Publication Date
JP2019102390A true JP2019102390A (en) 2019-06-24
JP7020091B2 JP7020091B2 (en) 2022-02-16

Family

ID=66977128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017235430A Active JP7020091B2 (en) 2017-12-07 2017-12-07 Lighting control system, lighting control system program and lighting control system control method

Country Status (1)

Country Link
JP (1) JP7020091B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011065826A (en) * 2009-09-16 2011-03-31 Motoko Ishii Lighting Design Inc Led lighting system
JP2013524425A (en) * 2010-03-29 2013-06-17 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ A network of heterogeneous devices including at least one outdoor luminaire node
JP2013219430A (en) * 2012-04-04 2013-10-24 Seiko Epson Corp Radio communication device, radio communication system, method, and computer program
JP2015005459A (en) * 2013-06-21 2015-01-08 株式会社 ライフインターフェイス Method for registering installation position of equipment/sensor
JP2015032445A (en) * 2013-08-02 2015-02-16 Ronkジャパン株式会社 Illumination control system and dimming control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011065826A (en) * 2009-09-16 2011-03-31 Motoko Ishii Lighting Design Inc Led lighting system
JP2013524425A (en) * 2010-03-29 2013-06-17 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ A network of heterogeneous devices including at least one outdoor luminaire node
JP2013219430A (en) * 2012-04-04 2013-10-24 Seiko Epson Corp Radio communication device, radio communication system, method, and computer program
JP2015005459A (en) * 2013-06-21 2015-01-08 株式会社 ライフインターフェイス Method for registering installation position of equipment/sensor
JP2015032445A (en) * 2013-08-02 2015-02-16 Ronkジャパン株式会社 Illumination control system and dimming control device

Also Published As

Publication number Publication date
JP7020091B2 (en) 2022-02-16

Similar Documents

Publication Publication Date Title
US10292244B2 (en) Communication module
JP5596708B2 (en) Lighting control network
JP6479007B2 (en) Commissioning the Zigbee® Light Link network
TW201635253A (en) Remote controlling method for lamp
CN109892010B (en) Dimmable lighting device
CN101444144A (en) Integrated lighting control module and power switch
EP2974353A1 (en) Wireless light pairing, dimming and control
US10575159B2 (en) Commissioning of a wireless-communication enabled device
CN110868784B (en) Stage lighting data bidirectional synchronous communication method and system, storage medium and device
JP2019102390A (en) Illumination control system, program for illumination control system, and control method for illumination control system
JP2017011529A (en) Radio sensor network system
KR20120036952A (en) Network communication system
JP2017084767A (en) Signal conversion device and illumination device including signal conversion device
US7657235B2 (en) Communication network with arrangement for replacing a malfunctioning active master with a new active master
US11397693B2 (en) Peripheral device, system including the peripheral device and method
US11477874B2 (en) Network bridge to communication protocols for lighting systems
CN109392222B (en) Lighting device
CN219322620U (en) Large scene public area lighting system
JP6939176B2 (en) Lighting control system, lighting control system program and lighting control system control method
JP6939175B2 (en) Lighting control system, lighting control system program and lighting control system control method
JP2024090380A (en) Power supplies, luminaires and lighting control systems
JP2021068544A (en) Communication system and communication system controller
JP2012129163A (en) Lighting control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210910

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210924

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220117

R150 Certificate of patent or registration of utility model

Ref document number: 7020091

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