JP2013219715A - Load controller, load control system - Google Patents

Load controller, load control system Download PDF

Info

Publication number
JP2013219715A
JP2013219715A JP2012091001A JP2012091001A JP2013219715A JP 2013219715 A JP2013219715 A JP 2013219715A JP 2012091001 A JP2012091001 A JP 2012091001A JP 2012091001 A JP2012091001 A JP 2012091001A JP 2013219715 A JP2013219715 A JP 2013219715A
Authority
JP
Japan
Prior art keywords
control
load
buffer
group name
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012091001A
Other languages
Japanese (ja)
Other versions
JP5971465B2 (en
Inventor
Ran Li
冉 李
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp filed Critical Panasonic Corp
Priority to JP2012091001A priority Critical patent/JP5971465B2/en
Publication of JP2013219715A publication Critical patent/JP2013219715A/en
Application granted granted Critical
Publication of JP5971465B2 publication Critical patent/JP5971465B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To determine a state for finally instructing a load by eliminating conflict, when a plurality of instructions conflict for the load, while shortening the time required for determining the state for instructing a load.SOLUTION: A control unit 10 acquires control information from a controller via a communication line L4, and stores the control information temporarily in a control buffer 16. The control information stored in the control buffer 16 is read by an analysis unit 17, and developed into a control content in one-and-one correspondence with each load before being stored in a control request buffer 18. A main processing unit 13 generates control data to a load by using the control content written in the control request buffer 18. The analysis unit 17 reads the control information stored in the control buffer 16 by LIFO system, and sets a corresponding flag every time when the control information is developed into a control content and written in the control request buffer 18. When a write flag has been installed already, writing of the control content in the control request buffer 18 is ended.

Description

本発明は、通信技術を用いて負荷に制御データを伝送することにより負荷を制御する負荷制御装置、およびこの負荷制御装置を用いて構成される負荷制御システムに関するものである。   The present invention relates to a load control device that controls a load by transmitting control data to the load using a communication technique, and a load control system configured using the load control device.

従来から、通信技術を用いて負荷に制御データを伝送することにより負荷を制御する負荷制御システムが提案されている。たとえば、特許文献1に記載された照明制御システムは、それぞれ複数台の照明器具へ通信により制御データを送信する制御ユニットを複数台備え、複数台の制御ユニットが上位コントローラと通信する構成が記載されている。上位コントローラは、複数台の制御ユニットを含むシステム全体の制御を行う機能を有している。   Conventionally, there has been proposed a load control system for controlling a load by transmitting control data to the load using a communication technique. For example, the illumination control system described in Patent Literature 1 includes a plurality of control units that transmit control data to a plurality of lighting fixtures by communication, and a configuration in which the plurality of control units communicate with a host controller is described. ing. The host controller has a function of controlling the entire system including a plurality of control units.

特開2012−15076号公報JP 2012-15076 A

ところで、この種の負荷制御システムは、通信技術を用いて負荷を制御するから、複数の負荷に一括して制御データを伝送することが可能になっている。複数の負荷を一括して制御する方法は2種類あり、一括して制御する負荷の範囲と制御データとを指示する場合をグループ制御、一括して制御する負荷ごとに制御データを対応付けて指示する場合をパターン制御と呼んでいる。グループ制御あるいはパターン制御を行う場合、複数の負荷をまとめたグループ名あるいはパターン名が付与されるが、個々の負荷に対しては、個別に制御データが伝送される。つまり、グループ名やパターン名から個々の負荷への制御データに展開し、展開後の制御データが個々の負荷に伝送される。   By the way, since this type of load control system controls a load using a communication technique, it is possible to collectively transmit control data to a plurality of loads. There are two methods for controlling a plurality of loads in a batch. When a range of loads to be controlled and control data are instructed, group control is performed, and control data is associated with each load to be controlled in a batch. This case is called pattern control. When performing group control or pattern control, a group name or pattern name in which a plurality of loads are combined is given, but control data is individually transmitted to each load. In other words, the control data for each load is expanded from the group name or pattern name, and the control data after the expansion is transmitted to each load.

個々の制御ユニットが制御する負荷の台数には制限があるから、オフィスビルや店舗ビルなどであって、制御対象になる負荷の台数が多くなると、複数台の制御ユニットに対して、上位コントローラから一括して指示を与えることが必要になる場合もある。また、制御ユニットの下位側には、スイッチやセンサなどの監視装置が接続されており、制御ユニットは上位コントローラからの指示だけではなく、監視装置からの指示に対しても負荷を制御しなければならない。   Since the number of loads controlled by individual control units is limited, when the number of loads to be controlled increases in office buildings, store buildings, etc., multiple control units are Sometimes it is necessary to give instructions in one go. Also, a monitoring device such as a switch or a sensor is connected to the lower side of the control unit, and the control unit must control the load not only from the instruction from the host controller but also from the monitoring device. Don't be.

そのため、制御ユニットに対して短時間内に複数の指示がなされると、指示内容が競合する可能性があり、また、指示内容の競合を解消するために多大な処理時間を要する場合がある。   For this reason, if a plurality of instructions are given to the control unit within a short time, the contents of the instructions may conflict, and a long processing time may be required to resolve the contention of the instructions.

本発明は、負荷に対して複数の指示が競合する場合に、競合を解消して最終的に負荷に指示する状態を決定することができ、しかも、負荷に指示する状態を決定するまでに要する時間が短く、多数台の負荷に一括して指示を与える場合でも、指示の内容が負荷の動作状態にただちに反映されるようにした負荷制御装置を提供することを目的とし、さらに、この負荷制御装置を用いて構成される負荷制御システムを提供することを目的とする。   According to the present invention, when a plurality of instructions conflict with a load, it is possible to resolve the conflict and finally determine the state instructing the load, and it is necessary to determine the state instructing the load. The purpose of this load control is to provide a load control device in which the contents of the instructions are immediately reflected in the operating state of the load even if the time is short and instructions are given to a large number of loads at once. It aims at providing the load control system comprised using an apparatus.

本発明に係る負荷制御装置は、上記目的を達成するために、通信線を通して1ないし複数の負荷の個々の動作を決める制御データを伝送することにより前記負荷に制御内容を指示する負荷制御装置であって、1ないし複数の負荷に対する制御データをまとめた制御情報を一時的に格納する制御バッファと、前記制御バッファに格納された制御情報を読み出し、制御情報を個々の負荷に一対一に対応する制御内容に展開する解析処理部と、前記解析処理部で展開された制御内容が書き込まれる制御要求バッファと、前記制御要求バッファに書き込まれた制御内容を用いて前記制御データを生成する主処理部とを備え、前記解析処理部は、前記制御バッファに格納された制御情報を先入れ後出しで読み出すことを特徴とする。   In order to achieve the above object, a load control device according to the present invention is a load control device that instructs control content to the load by transmitting control data for determining individual operations of one or more loads through a communication line. A control buffer that temporarily stores control information that summarizes control data for one or more loads, and the control information stored in the control buffer is read, and the control information is associated with each load on a one-to-one basis. An analysis processing unit that develops the control content, a control request buffer in which the control content developed in the analysis processing unit is written, and a main processing unit that generates the control data using the control content written in the control request buffer The analysis processing unit reads control information stored in the control buffer in a first-in last-out manner.

この負荷制御装置において、前記制御要求バッファは、前記負荷に一対一に対応したブロックを有し、前記ブロックは、前記負荷ごとの制御内容が書き込まれる第1のスロットと、前記ブロックごとに前記制御内容が書き込まれたときに書込フラグが設定される第2のスロットとを備え、前記解析処理部は、前記ブロックに制御内容を書き込む際に、当該ブロックの前記第2のスロットに前記書込フラグが設定されているか否かを判定し、前記書込フラグが設定されている場合は、当該ブロックへの前記制御内容を書き込まないことが好ましい。   In this load control apparatus, the control request buffer includes a block corresponding to the load on a one-to-one basis, and the block includes a first slot in which a control content for each load is written, and the control for each block. A second flag in which a write flag is set when the content is written, and the analysis processing unit writes the control content in the second slot of the block when the control content is written in the block. It is preferable to determine whether or not a flag is set, and when the write flag is set, it is preferable not to write the control content to the block.

この負荷制御装置において、前記解析処理部は、前記ブロックのすべてに前記書込フラグが設定されている場合、前記制御要求バッファに前記制御内容を書き込む処理を終了することが好ましい。   In this load control apparatus, it is preferable that the analysis processing unit terminates the process of writing the control contents in the control request buffer when the write flag is set in all of the blocks.

この負荷制御装置において、複数個の前記負荷を一括してグループ名を付与し、前記グループ名を単位として個別の負荷の制御内容を対応付けた関係テーブルをさらに備え、前記関係テーブルは、前記グループ名ごとに参照フラグが設定される領域を備え、前記解析処理部は、前記グループ名を個別の負荷の制御内容に展開すると同時に当該グループ名に前記参照フラグを設定する機能と、前記グループ名を展開する際に、当該グループ名に前記参照フラグが設定されているか否かを判定し、前記参照フラグが設定されている場合は、当該グループ名を展開しないことが好ましい。   The load control apparatus further includes a relation table that collectively assigns a group name to the plurality of loads, and associates control contents of individual loads with the group name as a unit, and the relation table includes the group A region in which a reference flag is set for each name, and the analysis processing unit expands the group name into individual load control contents and simultaneously sets the reference flag in the group name, and the group name When expanding, it is determined whether or not the reference flag is set for the group name. If the reference flag is set, it is preferable not to expand the group name.

この負荷制御装置において、前記解析処理部は、前記関係テーブルに設定された前記グループ名のすべてに前記参照フラグが設定されている場合、前記グループ名を展開する処理を終了することが好ましい。   In this load control apparatus, it is preferable that the analysis processing unit terminates the process of expanding the group name when the reference flag is set for all the group names set in the relationship table.

本発明に係る負荷制御システムは、上記いずれかの負荷制御装置と、第1の通信線を通して前記制御データが伝送され前記制御データに従って動作する前記負荷と、第2の通信線を通して前記制御情報を与えるコントローラとを備えることを特徴とする。   The load control system according to the present invention includes any one of the load control devices described above, the load that transmits the control data through a first communication line and operates according to the control data, and the control information through a second communication line. And a controller for giving.

本発明の構成によれば、負荷に対して複数の指示が競合する場合に、競合を解消して最終的に負荷に指示する状態を決定することができ、しかも、負荷に指示する状態を決定するまでに要する時間が短くなり、多数台の負荷に一括して指示を与える場合でも、指示の内容が負荷の動作状態にただちに反映されるという利点がある。   According to the configuration of the present invention, when a plurality of instructions conflict with the load, it is possible to resolve the conflict and finally determine the state instructing the load, and further determine the state instructing the load. The time required to do so is shortened, and even when instructions are given to a large number of loads at once, there is an advantage that the contents of the instructions are immediately reflected in the operating state of the load.

実施形態を示すブロック図である。It is a block diagram which shows embodiment. 同上を用いた負荷制御システムの全体構成図である。It is the whole load control system lineblock diagram using the same. 同上に用いる制御要求バッファの一例を示す図である。It is a figure which shows an example of the control request buffer used for the same as the above. 同上における重ね合わせ処理の一例を示す動作説明図である。It is operation | movement explanatory drawing which shows an example of the superimposition process in the same as the above. 図4の処理を行った場合の処理時間例を示す図である。It is a figure which shows the example of processing time at the time of performing the process of FIG. 同上に用いる制御要求バッファの他例を示す図である。It is a figure which shows the other example of the control request buffer used for the same as the above. 同上に用いる制御要求バッファの別例を示す図である。It is a figure which shows another example of the control request buffer used for the same as the above. 同上における重ね合わせ処理の他例を示す動作説明図である。It is operation | movement explanatory drawing which shows the other example of the superimposition process in the same as the above. 図8の処理を行った場合の処理時間例を示す図である。It is a figure which shows the example of processing time at the time of performing the process of FIG. 同上の処理時間例を示す図である。It is a figure which shows the example of processing time same as the above.

以下では、図2に示す構成の負荷制御システムを想定して説明する。この負荷制御システムは、オフィスビルで用いることを想定しているが、商業施設、病院、ホテル、集合住宅などの建物において使用することを妨げるものではない。すなわち、多数個の負荷の動作を集中して管理する負荷制御システムであればよく、以下に説明する技術の適用範囲は実施形態の構成および用途に限定されない。   In the following description, the load control system having the configuration shown in FIG. 2 is assumed. This load control system is assumed to be used in an office building, but does not preclude use in a building such as a commercial facility, a hospital, a hotel, or an apartment house. That is, any load control system that centrally manages the operation of a large number of loads may be used, and the scope of application of the technology described below is not limited to the configuration and use of the embodiment.

負荷制御システムは、図2に示すように、制御ユニット10を用いて構築される下位ネットワークと、コントローラ40と管理サーバ50と管理端末60とが含まれる上位ネットワークとを備える。負荷制御システムは、上位ネットワークと下位ネットワークとを備える階層化されたネットワークを構築している。   As shown in FIG. 2, the load control system includes a lower network constructed using the control unit 10 and an upper network including the controller 40, the management server 50, and the management terminal 60. The load control system constructs a hierarchical network including an upper network and a lower network.

制御ユニット10とコントローラ40とは通信線L4を介して互いに通信する。上位ネットワークと下位ネットワークとは、制御ユニット10とコントローラ40とを通して相互に情報の伝送を行う。1台のコントローラ40が通信可能である制御ユニット10の台数には制限があり、1台のコントローラ40は、たとえば最大で8台の制御ユニット10との通信が可能になっている。   The control unit 10 and the controller 40 communicate with each other via a communication line L4. The upper network and the lower network transmit information to each other through the control unit 10 and the controller 40. There is a limit to the number of control units 10 with which one controller 40 can communicate, and one controller 40 can communicate with, for example, up to eight control units 10.

まず、下位ネットワークの構成の概要を説明する。図示例では、負荷が照明器具21である場合を示しているが、管理対象である負荷が多数存在していれば、以下に説明する技術の要部を適用可能である。たとえば、負荷は空調装置や換気扇でもよい。   First, an outline of the configuration of the lower network will be described. In the illustrated example, the case where the load is the lighting fixture 21 is shown, but if there are many loads to be managed, the main part of the technology described below can be applied. For example, the load may be an air conditioner or a ventilation fan.

負荷である照明器具21の点灯状態は、所定の事象を検出する監視装置30での監視情報の変化を契機として変化する。照明器具21の点灯状態は、点灯および消灯のみであってもよいが、調光可能な照明器具21であれば調光レベルを含み、調色可能な照明器具21であれば発光色を含む。   The lighting state of the luminaire 21 that is a load changes in response to a change in monitoring information in the monitoring device 30 that detects a predetermined event. The lighting state of the lighting fixture 21 may be only lighting and extinguishing, but if the lighting fixture 21 is dimmable, the lighting fixture 21 includes a dimming level, and if the lighting fixture 21 is color-tunable, the lighting fixture 21 includes a luminescent color.

監視装置30は、人の操作を検出する壁スイッチ31、照明器具21が照明する空間における人の存否を検出する人感センサ32、照明器具21が照明する空間の明るさを検出する明るさセンサ33を想定する。これらの監視装置30は、通信線L1を介して制御ユニット10と接続され、監視装置30が検出した監視情報を制御ユニット10に伝送するために通信機能を備えている。   The monitoring device 30 includes a wall switch 31 that detects a human operation, a human sensor 32 that detects the presence or absence of a person in the space illuminated by the lighting fixture 21, and a brightness sensor that detects the brightness of the space illuminated by the lighting fixture 21. 33 is assumed. These monitoring devices 30 are connected to the control unit 10 via the communication line L <b> 1 and have a communication function for transmitting monitoring information detected by the monitoring device 30 to the control unit 10.

つまり、壁スイッチ31、人感センサ32、明るさセンサ33は、所定の事象を検出するためのスイッチないしセンサと、検出した事象の内容を制御ユニット10に通知する通信機能を備える。壁スイッチ31は人による操作の有無という事象を検出し、人感センサ32は人の存否という事象を検出し、明るさセンサ33は照度が設定範囲か否かという事象を検出する。これらの事象は、いずれも制御対象である照明器具21の点灯状態を変化させるための契機となる事象である。   That is, the wall switch 31, the human sensor 32, and the brightness sensor 33 have a switch or sensor for detecting a predetermined event and a communication function for notifying the control unit 10 of the content of the detected event. The wall switch 31 detects an event of presence / absence of an operation by a person, the human sensor 32 detects an event of the presence / absence of a person, and the brightness sensor 33 detects an event of whether the illuminance is within a set range. These events are events that serve as a trigger for changing the lighting state of the lighting fixture 21 that is the control target.

監視装置30は、照明器具21の点灯状態を変化させるための契機となる事象を検出する構成であれば、上述した例以外の構成であってもよい。たとえば、煙センサや炎センサのように防災用のセンサ、個人を認証する認証装置、カメラを用いて人の存在位置や人数を計測するセンサなども、監視装置30として用いることが可能である。   The monitoring device 30 may have a configuration other than the above-described example as long as the monitoring device 30 is configured to detect an event that is a trigger for changing the lighting state of the lighting fixture 21. For example, a sensor for disaster prevention such as a smoke sensor or a flame sensor, an authentication device for authenticating an individual, a sensor for measuring a person's presence position or the number of people using a camera, and the like can be used as the monitoring device 30.

負荷である照明器具21は、通信線L3を介して伝送アダプタ20に接続され、伝送アダプタ20は、通信線L2を介して制御ユニット10に接続されている。伝送アダプタ20は、照明器具21との間で当社独自の照明制御規格で通信を行う。ただし、負荷が照明器具21ではない場合、伝送アダプタ20が省略されるか、伝送アダプタ20と負荷との間の通信に他の規格が用いられる。1台の伝送アダプタ20は複数系統(ここでは、最大4系統)の通信線L3が接続可能であり、通信線L3の系統ごとに点灯状態を個別に制御可能な照明器具21が複数台(ここでは、最大16台)ずつ接続可能になっている。ここに、個別に制御可能な照明器具21の台数は、個別に制御可能な照明器具21の回路数を意味する。したがって、1回路に複数台の照明器具21が含まれている場合でも1台の照明器具21という。   The lighting fixture 21 that is a load is connected to the transmission adapter 20 via the communication line L3, and the transmission adapter 20 is connected to the control unit 10 via the communication line L2. The transmission adapter 20 communicates with the lighting fixture 21 according to our original lighting control standard. However, when the load is not the lighting fixture 21, the transmission adapter 20 is omitted, or another standard is used for communication between the transmission adapter 20 and the load. A single transmission adapter 20 can be connected to a plurality of communication lines L3 (here, a maximum of four systems), and a plurality of lighting fixtures 21 that can individually control the lighting state for each communication line L3 system (here. Then, a maximum of 16 units) can be connected. Here, the number of individually controllable lighting fixtures 21 means the number of circuits of the lighting fixtures 21 that can be controlled individually. Therefore, even when a plurality of lighting fixtures 21 are included in one circuit, they are referred to as one lighting fixture 21.

1台の伝送アダプタ20により個別に制御可能な照明器具21の最大回路数は、(1台の伝送アダプタ20に接続可能な通信線L3の最大系統数)×(1系統当たりの照明器具21の最大回路数)になる。たとえば、1台の伝送アダプタ20に最大4系統の通信線L3が接続可能であり、1系統当たり最大16回路の照明器具21の点灯状態を個別に制御可能であるとすれば、1台の伝送アダプタ20により制御可能な回路数の最大値は64回路になる。なお、1台の制御ユニット10は、最大で256回路の照明器具21の点灯状態を個別に制御することが可能である。   The maximum number of circuits of lighting fixtures 21 that can be individually controlled by one transmission adapter 20 is (the maximum number of communication lines L3 that can be connected to one transmission adapter 20) × (the number of lighting fixtures 21 per system). Maximum number of circuits). For example, assuming that a maximum of four communication lines L3 can be connected to one transmission adapter 20, and the lighting states of the lighting fixtures 21 with a maximum of 16 circuits per system can be individually controlled, one transmission The maximum number of circuits that can be controlled by the adapter 20 is 64 circuits. Note that one control unit 10 can individually control the lighting states of the lighting fixtures 21 having a maximum of 256 circuits.

照明器具21の点灯状態は、伝送アダプタ20を通して制御ユニット10から指示を受けることにより制御される。制御ユニット10は、伝送アダプタ20を中継に用いて、照明器具21の点灯状態を指示する。   The lighting state of the lighting fixture 21 is controlled by receiving an instruction from the control unit 10 through the transmission adapter 20. The control unit 10 instructs the lighting state of the lighting fixture 21 using the transmission adapter 20 for relaying.

制御ユニット10と監視装置30とを接続する通信線L1と、制御ユニット10と伝送アダプタ20とを接続する通信線L2と、伝送アダプタ20と照明器具21とを接続する通信線L3との伝送速度は、通信線L2が最速であり、通信線L3が最遅である。   Transmission speed of a communication line L1 connecting the control unit 10 and the monitoring device 30, a communication line L2 connecting the control unit 10 and the transmission adapter 20, and a communication line L3 connecting the transmission adapter 20 and the lighting fixture 21. The communication line L2 is the fastest and the communication line L3 is the slowest.

制御ユニット10から伝送アダプタ20へは、複数台の照明器具21の点灯状態をまとめて伝送する必要があり、通信線L2を伝送される符号長が比較的長くなるから、伝送速度を大きくすることが必要である。一方、伝送アダプタ20から照明器具21へは、通信線L3が複数の系統に分離されており、1系統当たりの照明器具21の台数(回路数)にも制限があるから、伝送速度は比較的低速でよい。   From the control unit 10 to the transmission adapter 20, it is necessary to transmit the lighting states of the plurality of lighting fixtures 21 together, and the code length transmitted through the communication line L2 becomes relatively long, so the transmission speed is increased. is necessary. On the other hand, from the transmission adapter 20 to the lighting fixture 21, the communication line L3 is separated into a plurality of systems, and the number of lighting fixtures 21 per circuit (the number of circuits) is also limited. Low speed is acceptable.

通信線L1における通信は、時分割多重伝送によるポーリング方式を基本にし、監視装置30が所定の事象を検出したときに監視装置30から制御ユニット10に割込信号を送信する構成を採用している。つまり、制御ユニット10は、常時は、個々の監視装置30に循環的にアクセスして監視装置30からの要求を順番に処理するが、いずれかの監視装置30から割込信号を受信すると、当該監視装置30が検出した事象に対する応答を割込処理で優先的に行う。このような処理は、割込ポーリング方式と呼ばれ、単純なポーリング方式と比べて事象の検出に対する応答性が高くなる。   Communication on the communication line L1 is based on a polling method based on time division multiplex transmission, and adopts a configuration in which an interrupt signal is transmitted from the monitoring device 30 to the control unit 10 when the monitoring device 30 detects a predetermined event. . That is, the control unit 10 normally accesses the individual monitoring devices 30 in a cyclic manner and processes the requests from the monitoring devices 30 in order, but when receiving an interrupt signal from any of the monitoring devices 30, A response to the event detected by the monitoring device 30 is preferentially performed by an interrupt process. Such a process is called an interrupt polling system, and has a higher response to event detection than a simple polling system.

制御ユニット10と監視装置30との間の通信線L1は2線式であり、通信線L1を伝送される信号は、極性が交番するベースバンド信号を用いる。監視装置30は、通信線L1を伝送される信号を整流することにより、動作のための電力を得る。また、通信線L1を伝送される信号の1フレームは、各監視装置30を特定するアドレスデータおよび制御データを含む送信帯、監視装置30からの要求を返送する返信帯、フレームの開始位置を示すスタートパルスなどを含む。送信帯に伝送されるアドレスデータ、制御データ、スタートパルスは、通信線L1の線間電圧を変化させる電圧信号が用いられ、返信帯に伝送される信号は、通信線L1の線間のインピーダンスを変化させて電流変化により伝送される電流信号が用いられる。制御データは、照明器具21のオンオフ、調光レベルを含む。   The communication line L1 between the control unit 10 and the monitoring device 30 is a two-wire system, and a signal transmitted through the communication line L1 uses a baseband signal with alternating polarity. The monitoring device 30 obtains power for operation by rectifying a signal transmitted through the communication line L1. One frame of a signal transmitted through the communication line L1 indicates a transmission band including address data and control data for specifying each monitoring device 30, a return band for returning a request from the monitoring device 30, and a frame start position. Includes start pulse. The address data, control data, and start pulse transmitted in the transmission band are voltage signals that change the line voltage of the communication line L1, and the signal transmitted in the return band is the impedance between the communication lines L1. A current signal that is changed and transmitted by a current change is used. The control data includes the on / off state of the lighting fixture 21 and the dimming level.

制御ユニット10と伝送アダプタ20との間の信号伝送に用いる通信線L2は、通信専用であってもよいが、ここでは照明器具21に電力を供給する電力線を通信用に兼用している。通信線L2は、配電線を通信線としても用い、電力線搬送通信の技術を用いて制御ユニット10と伝送アダプタ20との間の通信を行っている。なお、上述した構成からわかるように、図2に示す負荷制御システムにおいて、制御ユニット10は、個々の照明器具21の動作を決める制御データを伝送する負荷制御装置として機能する。   The communication line L2 used for signal transmission between the control unit 10 and the transmission adapter 20 may be dedicated to communication, but here, the power line that supplies power to the lighting fixture 21 is also used for communication. The communication line L2 uses the distribution line as a communication line, and performs communication between the control unit 10 and the transmission adapter 20 using the power line carrier communication technique. As can be seen from the configuration described above, in the load control system shown in FIG. 2, the control unit 10 functions as a load control device that transmits control data for determining the operation of each lighting fixture 21.

上位ネットワークを構築するコントローラ40と管理サーバ50と管理端末60とは通信線L5を介して情報を伝送する。コントローラ40に接続された通信線L4と通信線L5とは、汎用の規格が用いられる。ここでは、通信線L4および通信線L5を用いる通信の規格は、Ethernet(登録商標)を想定している。   The controller 40, the management server 50, and the management terminal 60 that construct the host network transmit information via the communication line L5. General-purpose standards are used for the communication lines L4 and L5 connected to the controller 40. Here, Ethernet (registered trademark) is assumed as a communication standard using the communication line L4 and the communication line L5.

コントローラ40は、制御ユニット10と通信することにより、監視装置30が検出した事象に対応した照明器具21の点灯状態の指示内容を取得する機能を有する。また、コントローラ40は、照明器具21の点灯状態の指示内容を集約した後、制御ユニット10に振り分けて通知する機能も有している。コントローラ40の機能に関する詳細は後述する。   The controller 40 has a function of acquiring the instruction content of the lighting state of the lighting fixture 21 corresponding to the event detected by the monitoring device 30 by communicating with the control unit 10. The controller 40 also has a function of collecting and notifying the control unit 10 after collecting the instruction contents of the lighting state of the lighting fixture 21. Details regarding the function of the controller 40 will be described later.

管理サーバ50は、サーバコンピュータであって、照明器具21の点灯状態をタイムスケジュールに従って変化させるためのスケジュール制御の機能、照明器具21の故障やランプの球切れのような保全監視の機能などを有している。   The management server 50 is a server computer, and has a schedule control function for changing the lighting state of the luminaire 21 according to the time schedule, a maintenance monitoring function such as a failure of the luminaire 21 and a broken lamp bulb. doing.

照明器具21のスケジュール制御を行う場合、制御の対象とする照明器具21、制御の対象である照明器具21の点灯状態、当該制御の開始日時および終了日時の組が、タイムスケジュールとして管理サーバ50に登録される。管理サーバ50は、現在日時を計時する内蔵時計(リアルタイムクロック)を備える。管理サーバ50は、タイムスケジュールとして登録された開始時刻が内蔵時計で計時されている現在日時に一致すると登録された制御を開始し、タイムスケジュールとして登録された終了時刻が現在日時に一致すると制御を終了する。   When performing schedule control of the lighting fixture 21, a set of the lighting fixture 21 to be controlled, the lighting state of the lighting fixture 21 to be controlled, and the start date and time and end date and time of the control are stored in the management server 50 as a time schedule. be registered. The management server 50 includes a built-in clock (real time clock) that measures the current date and time. The management server 50 starts the registered control when the start time registered as the time schedule matches the current date and time counted by the built-in clock, and controls when the end time registered as the time schedule matches the current date and time. finish.

管理端末60は、個々の照明器具21の点灯状態、故障や球切れのような保全監視の情報を表示するモニタ装置61と、モニタ装置61に表示する内容を選択するための操作部62とを備えている。ここでは、管理端末60が適宜のプログラムを実行する汎用のコンピュータで実現されている場合を想定しているが、管理端末60は、いわゆるタブレット端末で実現されていてもよい。管理端末60は、モニタ装置61に表示する内容を管理サーバ50から取得し、管理サーバ50を通して操作部62の操作内容を照明器具21の点灯状態に反映させる。そのため、管理端末60は、管理サーバ50から提供されるサービスを閲覧するブラウザ機能を有する。   The management terminal 60 includes a monitor device 61 that displays information on maintenance monitoring such as the lighting state of each lighting fixture 21, a failure or a ball breakage, and an operation unit 62 for selecting contents to be displayed on the monitor device 61. I have. Here, it is assumed that the management terminal 60 is realized by a general-purpose computer that executes an appropriate program. However, the management terminal 60 may be realized by a so-called tablet terminal. The management terminal 60 acquires the content to be displayed on the monitor device 61 from the management server 50 and reflects the operation content of the operation unit 62 through the management server 50 in the lighting state of the lighting fixture 21. Therefore, the management terminal 60 has a browser function for browsing services provided from the management server 50.

ところで、照明器具21の制御種別には、照明器具21ごとに1台ずつ点灯状態を指定する「個別制御」と、複数台の照明器具21の点灯状態をまとめて指定する「グループ制御」および「パターン制御」とがある。グループ制御は、まとめて制御される複数台の照明器具21について同じ点灯状態を指定する制御であり、パターン制御は、一斉に制御される複数台の照明器具21について個々に点灯状態を指定する制御である。すなわち、グループ制御を行う場合は、1種類の点灯状態と当該点灯状態とする複数台の照明器具21とが指定される。   By the way, the control types of the lighting fixtures 21 include “individual control” for designating the lighting state for each lighting fixture 21, “group control” for designating the lighting status of the plurality of lighting fixtures 21, and “group control”. Pattern control ". The group control is control for designating the same lighting state for a plurality of lighting fixtures 21 controlled together, and the pattern control is control for individually designating the lighting status for a plurality of lighting fixtures 21 controlled simultaneously. It is. That is, when performing group control, one kind of lighting state and a plurality of lighting fixtures 21 to be in the lighting state are designated.

管理サーバ50が管理するタイムスケジュールにおいて、制御の対象とする照明器具21が、グループ制御あるいはパターン制御である場合には、一斉に制御される複数台の照明器具21の集合に対して付与された名称が用いられる。ここでは、グループ制御の対象になる複数台の照明器具21を指定する名称を「グループ名」と呼び、パターン制御の対象になる複数台の照明器具21を指定する名称を「パターン名」と呼ぶ。グループ名で指定される複数台の照明器具21は、別途に点灯状態を指定してタイムスケジュールを登録する必要がある。一方、パターン名で指定される複数台の照明器具21は、点灯状態がすでに指定されているから、タイムスケジュールにはパターン名のみを登録すればよい。   In the time schedule managed by the management server 50, when the lighting fixtures 21 to be controlled are group control or pattern control, they are given to a set of a plurality of lighting fixtures 21 controlled at the same time. A name is used. Here, a name that designates a plurality of lighting fixtures 21 to be subjected to group control is referred to as a “group name”, and a name that designates a plurality of lighting fixtures 21 to be subject to pattern control is referred to as a “pattern name”. . The plurality of lighting fixtures 21 designated by the group name needs to separately register the time schedule by designating the lighting state. On the other hand, since the lighting state of the plurality of lighting fixtures 21 specified by the pattern names has already been specified, only the pattern names need be registered in the time schedule.

ここに、本実施形態は、上位ネットワークと下位ネットワークとを備えているから、グループ制御およびパターン制御の対象である複数台の照明器具21を、1つの下位ネットワークの範囲内で指定する場合と、複数の下位ネットワークに跨る範囲で指定する場合とがある。   Here, since the present embodiment includes an upper network and a lower network, a plurality of lighting fixtures 21 that are targets of group control and pattern control are designated within the range of one lower network, It may be specified in a range that spans multiple lower networks.

前者の場合、グループ名やパターン名に対応付けられる照明器具21は、1台の制御ユニット10の管理下であるから、グループ名やパターン名と一群の照明器具21との対応付けは、制御ユニット10が行う。一方、後者の場合、グループ名やパターン名に対応付けられる照明器具21が複数台の制御ユニット10で管理されるから、グループ名やパターン名と一群の照明器具21との対応付けは、コントローラ40が行う。   In the former case, since the lighting fixture 21 associated with the group name or pattern name is under the control of one control unit 10, the association between the group name or pattern name and the group of lighting fixtures 21 is the control unit. 10 does. On the other hand, in the latter case, since the lighting fixtures 21 associated with the group names and pattern names are managed by the plurality of control units 10, the association between the group names and pattern names and the group of lighting fixtures 21 is performed by the controller 40. Do.

なお、管理サーバ50がグループ名やパターン名を管理する場合に、グループ名やパターン名に個々の照明器具21を対応付けるのではなく、制御ユニット10が管理しているグループ名やパターン名をまとめた1つの名称を対応付けてもよい。この名称を「グローバルグループ名」と呼ぶことにすると、グローバルグループ名に対応付けられる制御の対象は、制御ユニット10で管理されているグループ名とパターン名との少なくとも一方を複数個用いることにより表される。   When the management server 50 manages group names and pattern names, the group names and pattern names managed by the control unit 10 are collected instead of associating individual lighting fixtures 21 with the group names and pattern names. One name may be associated. When this name is referred to as a “global group name”, the control target associated with the global group name is expressed by using a plurality of group names and pattern names managed by the control unit 10. Is done.

いま、グローバルグループ名をGGk、グループ名をGm、パターン名をPnで表すものとする。ただし、k,m,nは自然数である。この符号を用いると、たとえば、GG2=(G1,G3,G4)、GG3=(P1,G2)のように、グループ名やパターン名で表される複数台の照明器具21の組合せを、1つのグローバルグループ名で表すことが可能になる。   Now, the global group name is represented by GGk, the group name is represented by Gm, and the pattern name is represented by Pn. However, k, m, and n are natural numbers. When this code is used, for example, a combination of a plurality of lighting fixtures 21 represented by a group name or pattern name such as GG2 = (G1, G3, G4), GG3 = (P1, G2) It can be expressed by the global group name.

グローバルグループ名とグループ名やパターン名との対応関係は、コントローラ40に登録される。コントローラ40は、グローバルグループ名が通知されると、グローバルグループ名を、グループ名とパターン名との少なくとも一方で表される組合せに展開する。ここに、制御の対象を表すグループ名やパターン名は、制御ユニット10に対応付けられている。   The correspondence between the global group name and the group name or pattern name is registered in the controller 40. When notified of the global group name, the controller 40 expands the global group name into a combination represented by at least one of the group name and the pattern name. Here, a group name and a pattern name representing a control target are associated with the control unit 10.

一方、照明器具21の点灯状態は、管理サーバ50が管理するタイムスケジュールだけではなく、上述のように、監視装置30が検出した監視情報によっても変化する。下位ネットワークの範囲内での照明器具21に対する点灯状態の指示は、実際には、制御ユニット10が行うから、制御ユニット10は個々の照明器具21に対して点灯状態を指示しなければならない。一方、複数台の制御ユニット10に跨る制御を行う場合、個々の制御ユニット10だけでは、他の制御ユニット10と連携して照明器具21を制御することはできない。   On the other hand, the lighting state of the luminaire 21 is changed not only by the time schedule managed by the management server 50 but also by the monitoring information detected by the monitoring device 30 as described above. Since the control unit 10 actually instructs the lighting device 21 in the range of the lower network, the control unit 10 must instruct the lighting device 21 to indicate the lighting state. On the other hand, when performing control over a plurality of control units 10, the lighting fixture 21 cannot be controlled in cooperation with other control units 10 only by the individual control units 10.

コントローラ40は、複数の制御ユニット10に管理されている照明器具21をまとめて取り扱うことと、個々の制御ユニット10が管理下の照明器具21に指示を与えることとを両立させる機能を有している。コントローラ40は、管理サーバ50がタイムスケジュールに従って送出した制御対象の情報を取得する機能と、監視装置30が検出した監視情報に対応する制御対象の情報を取得する機能とを備える。   The controller 40 has a function of simultaneously handling the lighting fixtures 21 managed by the plurality of control units 10 and giving instructions to the managed lighting fixtures 21 by the individual control units 10. Yes. The controller 40 has a function of acquiring control target information transmitted by the management server 50 according to a time schedule, and a function of acquiring control target information corresponding to the monitoring information detected by the monitoring device 30.

管理サーバ50は、上述したように、タイムスケジュールにおける制御の対象を、グループ名やパターン名、あるいはグローバルグループ名として登録している。したがって、コントローラ40は、それぞれの制御ユニット10に通知すべきグループ名やパターン名を取得する。   As described above, the management server 50 registers the control target in the time schedule as a group name, a pattern name, or a global group name. Therefore, the controller 40 acquires the group name and pattern name to be notified to each control unit 10.

上述したように、コントローラ40は、制御ユニット10と管理サーバ50とから取得した情報を用いることにより、すべての制御ユニット10に対して、制御の対象となる照明器具21を含んでいるか否かを知ることができる。そのため、コントローラ40は、制御ユニット10と管理サーバ50とから取得した制御の対象の情報を用いて、制御ユニット10ごとに制御の対象を仕分ける機能を有する。コントローラ40は、制御ユニット10ごとに仕分けた制御の対象を、それぞれの制御ユニット10に送信する。このように、複数の装置から取得した情報を仕分け、送り先である制御ユニット10ごとにまとめて送る処理を、以下では「まとめ送り処理」という。   As described above, the controller 40 uses the information acquired from the control unit 10 and the management server 50 to determine whether or not all the control units 10 include the lighting fixtures 21 to be controlled. I can know. Therefore, the controller 40 has a function of classifying the control target for each control unit 10 using the control target information acquired from the control unit 10 and the management server 50. The controller 40 transmits the control target sorted for each control unit 10 to each control unit 10. In this way, the process of sorting information acquired from a plurality of devices and sending them together for each control unit 10 as a destination is referred to as “collective feed process”.

「まとめ送り処理」の対象となる情報は、実質的に同時とみなされる程度の比較的短い時間である受付時間内にコントローラ40が取得する情報である。たとえば、タイムスケジュールによる照明器具21の制御情報と、監視装置30による照明器具21の制御情報とが受付時間内に入力され、かつ送り先が同じ制御ユニット10である制御情報が含まれている場合、まとめ送り処理がなされる。   The information that is the target of the “collective sending process” is information that is acquired by the controller 40 within a reception time that is a relatively short time that is considered to be substantially simultaneous. For example, when the control information of the lighting fixture 21 by the time schedule and the control information of the lighting fixture 21 by the monitoring device 30 are input within the reception time and the control information is the same control unit 10 as the destination, A batch feed process is performed.

ここで、コントローラ40が受け取った制御情報にグローバルグループ名が含まれている場合、コントローラ40は、グローバルグループ名を個々の制御ユニット10に対応付けられたグループ名あるいはパターン名に展開する。グローバルグループ名を展開した後には、コントローラ40が扱う制御情報は、個別制御、グループ制御、パターン制御のいずれかになるから、コントローラ40は、制御情報を送り先の制御ユニット10ごとにまとめ、制御ユニット10ごとに制御情報をまとめて送信する。コントローラ40から制御ユニット10へは、コントローラ40が制御情報を受け取った時間順で制御情報がシリアル伝送により伝送される。   If the control information received by the controller 40 includes a global group name, the controller 40 expands the global group name into a group name or pattern name associated with each control unit 10. After the global group name is expanded, the control information handled by the controller 40 is any one of individual control, group control, and pattern control. Therefore, the controller 40 collects the control information for each control unit 10 that is the destination, and controls the control unit. Control information is transmitted in batches every ten. Control information is transmitted from the controller 40 to the control unit 10 by serial transmission in the order in which the controller 40 received the control information.

コントローラ40から1個のパケットで制御ユニット10に伝送されるペイロードの容量には制限があるから、まとめ送り処理によって伝送される情報の情報量が多い場合は、複数のパケットに分割して伝送される。この場合、制御ユニット10は、まとめ送り処理によって複数回に分割されて受け取った情報を、一連のまとまった情報として扱うことが必要になる。   Since there is a limit on the capacity of the payload transmitted from the controller 40 to the control unit 10 in one packet, when the information amount of information transmitted by the batch sending process is large, the packet is divided into a plurality of packets and transmitted. The In this case, the control unit 10 needs to handle the information received by being divided into a plurality of times by the batch sending process as a series of pieces of information.

図1に制御ユニット10の主要な構成を示す。制御ユニット10は、通信線L4が接続される上位通信インターフェイス部11と、2種類の通信線L1,L2が接続される下位通信インターフェイス部12とを備える。以下、「上位通信インターフェイス部」を「上位I/F11」といい、「下位通信インターフェイス部」を「下位I/F12」という。制御ユニット10は、下位I/F12を通して通信線L1に信号を送出し、監視装置30からの割込信号を待つ機能と、下位I/F12を通して照明器具21を点灯状態を指示するための信号を送出する機能とを有している。これらの機能は、制御ユニット10に設けられた主処理部13により実現される。   FIG. 1 shows a main configuration of the control unit 10. The control unit 10 includes an upper communication interface unit 11 to which the communication line L4 is connected and a lower communication interface unit 12 to which two types of communication lines L1 and L2 are connected. Hereinafter, the “upper communication interface unit” is referred to as “upper I / F 11”, and the “lower communication interface unit” is referred to as “lower I / F 12”. The control unit 10 sends a signal to the communication line L1 through the lower I / F 12, waits for an interrupt signal from the monitoring device 30, and a signal for instructing the lighting state of the lighting fixture 21 through the lower I / F 12. It has a function to send out. These functions are realized by the main processing unit 13 provided in the control unit 10.

また、制御ユニット10は、監視装置30の識別情報に制御対象となる照明器具21の識別情報を対応付けた関係テーブル14を備える。関係テーブル14における監視装置30の識別情報は、制御種別が、個別制御、グループ制御、パターン制御のいずれであるかに応じて異なる。グループ制御の場合はグループ名が用いられ、パターン制御の場合はパターン名が用いられる。グループ名やパターン名が識別情報に用いられる場合、制御対象となる照明器具21の識別情報は複数個になる。個別制御の場合は、監視装置30の識別情報と照明器具21の識別情報とは一対一に対応付けられる。   In addition, the control unit 10 includes a relation table 14 in which the identification information of the monitoring apparatus 30 is associated with the identification information of the lighting fixture 21 to be controlled. The identification information of the monitoring device 30 in the relationship table 14 differs depending on whether the control type is individual control, group control, or pattern control. A group name is used for group control, and a pattern name is used for pattern control. When a group name or a pattern name is used for identification information, there are a plurality of pieces of identification information for the lighting fixture 21 to be controlled. In the case of individual control, the identification information of the monitoring device 30 and the identification information of the lighting fixture 21 are associated one-to-one.

主処理部13は、監視装置30において照明器具21の点灯状態を変化させる契機となる事象が検出されると、関係テーブル14に照会することにより、制御対象である照明器具21の識別情報を抽出する。また、タイムスケジュールにより照明器具21の点灯状態が指示される場合も、照明器具21の識別情報が用いられるのではなく、監視装置30の識別情報と等価な内容の情報が用いられる。なお、タイムスケジュールでは、個別の識別情報、グループ名、パターン名だけではなく、グローバルグループ名を用いる場合があるが、グローバルグループ名は展開されて個別の識別情報、グループ名、パターン名のいずれかとして扱われる。   When the monitoring device 30 detects an event that triggers a change in the lighting state of the lighting fixture 21, the main processing unit 13 refers to the relationship table 14 to extract the identification information of the lighting fixture 21 to be controlled. To do. In addition, when the lighting state of the lighting fixture 21 is instructed by the time schedule, the identification information of the lighting fixture 21 is not used, but the information equivalent to the identification information of the monitoring device 30 is used. In the time schedule, not only individual identification information, group name and pattern name but also global group name may be used, but global group name is expanded and either individual identification information, group name or pattern name is used. Are treated as

制御ユニット10は、上位I/F11を通してコントローラ40から制御情報を取得する取得部15と、取得部15が受け取った制御情報を一時的に格納する制御バッファ16と、制御バッファ16に格納された制御情報を解析する解析処理部17とを備える。制御バッファ16は、コントローラ40から受け取った制御情報を受け取った順に記憶する。コントローラ40は、受付時間内に受け取った制御情報を制御ユニット10に振り分けて順に送信するから、コントローラ40が受け取った制御情報によっては、受付時間内の制御情報において制御対象である照明器具21が重複している場合がある。この場合、制御ユニット10がコントローラ40から受け取った制御情報をそのまま実行すると、制御情報が多数ある場合、最終の制御情報が照明器具21に反映されるのは遅くなる可能性がある。   The control unit 10 includes an acquisition unit 15 that acquires control information from the controller 40 through the host I / F 11, a control buffer 16 that temporarily stores control information received by the acquisition unit 15, and a control stored in the control buffer 16. And an analysis processing unit 17 for analyzing information. The control buffer 16 stores the control information received from the controller 40 in the order received. Since the controller 40 distributes the control information received within the reception time to the control units 10 and transmits the control information in order, depending on the control information received by the controller 40, the lighting fixtures 21 to be controlled are duplicated in the control information within the reception time. May have. In this case, if the control information received from the controller 40 by the control unit 10 is executed as it is, there is a possibility that the final control information is reflected on the lighting fixture 21 when there is a lot of control information.

そこで、制御ユニット10は、コントローラ40から、まとめ送り処理によって受け取った制御情報を用いて、1台の照明器具21に対して一対一に対応する制御内容のみを指示するように整理する機能を有している。この処理を「重ね合わせ処理」と呼び、解析処理部17が制御バッファ16から制御情報を読み出して重ね合わせ処理を行う。制御ユニット10がコントローラ40からまとめ送り処理で受け取った制御情報に対して、重ね合わせ処理が行われるから、1台の照明器具21には1個の制御情報から抽出された制御内容だけが反映される。解析処理部17が整理した制御内容は、制御要求バッファ18に一時的に格納され、主処理部13に引き渡される。   Therefore, the control unit 10 has a function of organizing so as to instruct only one control content corresponding one-to-one with respect to one lighting fixture 21 using the control information received from the controller 40 by the collective feeding process. doing. This process is called “superimposition process”, and the analysis processing unit 17 reads the control information from the control buffer 16 and performs the superimposition process. Since the control unit 10 performs superimposition processing on the control information received from the controller 40 by batch sending processing, only the control content extracted from one piece of control information is reflected on one lighting fixture 21. The The control contents arranged by the analysis processing unit 17 are temporarily stored in the control request buffer 18 and delivered to the main processing unit 13.

制御要求バッファ18は、制御対象である個々の照明器具21ごとに書込領域が対応付けられ、それぞれの書込領域に照明器具21に指示する点灯状態が書き込まれる。以下では、制御要求バッファ18において、個々の照明器具21に割り当てた書込領域を「ブロック」と呼ぶ。主処理部13は、ブロックに書き込まれた制御内容を用いて、個々の照明器具21に伝送する制御データを生成する。   In the control request buffer 18, a writing area is associated with each lighting fixture 21 to be controlled, and a lighting state instructed to the lighting fixture 21 is written in each writing area. Hereinafter, in the control request buffer 18, a writing area allocated to each lighting fixture 21 is referred to as a “block”. The main processing unit 13 generates control data to be transmitted to each lighting fixture 21 using the control content written in the block.

制御要求バッファ18は、図3に示すように、照明器具21の個々の識別情報を割り当てた複数個のブロックBKj(j=1,2,…,n)を備える。各ブロックBKjは、照明器具21の識別情報と、照明器具21のオンオフの情報と、照明器具2の調光レベルの情報とを書き込むための3個のスロット181〜183を備える。スロット181には、オンとオフとの一方が設定される。言い換えると、ブロックBKjに格納される情報は、照明器具21の識別情報ごとに、オンオフの情報と調光レベルの情報とが対応付けられた3つ組(トリプレット)になっている。また、3つ組のうち照明器具21の識別情報は、ブロックBKjごとにあらかじめ固定的に定められている。   As illustrated in FIG. 3, the control request buffer 18 includes a plurality of blocks BKj (j = 1, 2,..., N) to which individual identification information of the lighting fixture 21 is assigned. Each block BKj includes three slots 181 to 183 for writing the identification information of the lighting fixture 21, the on / off information of the lighting fixture 21, and the light control level information of the lighting fixture 2. One of ON and OFF is set in the slot 181. In other words, the information stored in the block BKj is a triplet in which on / off information and dimming level information are associated with each piece of identification information of the lighting fixture 21. Moreover, the identification information of the lighting fixture 21 among the triplets is fixedly determined in advance for each block BKj.

制御ユニット10は、上位I/F11および下位I/F12と、マイコンのようにプログラムに従って動作するデバイスと、内部電源を供給する電源回路とを主たるハードウェア構成としている。すなわち、主処理部13、関係テーブル14、取得部15、制御バッファ16、解析処理部17、制御要求バッファ18は、基本的には、CPUとメモリとをハードウェア構成とし、プログラムによって機能が実現される。   The control unit 10 has a main hardware configuration including a high-order I / F 11 and a low-order I / F 12, a device that operates according to a program such as a microcomputer, and a power supply circuit that supplies internal power. That is, the main processing unit 13, the relation table 14, the acquisition unit 15, the control buffer 16, the analysis processing unit 17, and the control request buffer 18 basically have a hardware configuration of a CPU and a memory, and a function is realized by a program. Is done.

以下では、主として解析処理部17が行う重ね合わせ処理について説明する。なお、以下の説明では、管理サーバ50が管理するスケジュールの最大数を300個、1台の制御ユニット10が扱うグループ名およびパターン名の総数を256個、1台の制御ユニット10に接続可能な照明器具21の台数を256台と仮定する。   In the following, the overlay process performed mainly by the analysis processing unit 17 will be described. In the following description, the maximum number of schedules managed by the management server 50 is 300, the total number of group names and pattern names handled by one control unit 10 is 256, and connection to one control unit 10 is possible. Assume that the number of lighting fixtures 21 is 256.

重ね合わせ処理は、図4に示すように、基本的には、読出処理P1と、展開処理P2と、書込処理P3との3種類の処理の組合せになる。読出処理P1は、コントローラ40から受け取った制御情報を制御バッファ16から読み出す処理である。展開処理P2は、グループ名あるいはパターン名を個別の照明器具21の識別情報に展開する処理である。書込処理P3は、制御対象である個々の照明器具21ごとに制御要求バッファ18に制御内容を格納する処理である。   As shown in FIG. 4, the superimposing process is basically a combination of three types of processes including a reading process P1, a developing process P2, and a writing process P3. The read process P1 is a process for reading the control information received from the controller 40 from the control buffer 16. The expansion process P2 is a process for expanding the group name or pattern name into the identification information of the individual lighting fixtures 21. The writing process P3 is a process of storing the control contents in the control request buffer 18 for each lighting fixture 21 to be controlled.

図4に示す動作をさらに詳しく説明する。重ね合わせ処理では、制御要求バッファ18に制御内容を書き込むから、解析処理部17は、まず制御要求バッファ18を初期化する(S11)。コントローラ40から受け取った制御情報は、制御バッファ16に格納されている。ここで、制御バッファ16に格納された制御情報をFIFO(First In First Out)方式で取り出す場合を想定する。この場合、解析処理部17は制御バッファ16において最初に受け取った制御情報から順に読み出すために、制御情報の先頭ポインタを取得する(S12)。   The operation shown in FIG. 4 will be described in more detail. In the superimposition process, the control content is written in the control request buffer 18, so the analysis processing unit 17 first initializes the control request buffer 18 (S11). Control information received from the controller 40 is stored in the control buffer 16. Here, it is assumed that the control information stored in the control buffer 16 is taken out by a FIFO (First In First Out) method. In this case, the analysis processing unit 17 obtains the head pointer of the control information in order to sequentially read the control information received first in the control buffer 16 (S12).

次に、解析処理部17は、コントローラ40から受け取った個数の制御情報のすべてについて処理が終了したか否かを判断し(S13)、未処理の制御情報があれば(S13:No)、当該制御情報を展開する制御要求書込処理に移行する。制御要求書込処理は、サブルーチン化されており、制御情報に含まれるグループ名の個数分だけ(S14)、グループ名が制御対象である個々の照明器具21の識別情報に展開される(S15)。解析処理部17は、グループ名を展開した個々の照明器具21に対応するブロックBKjを制御要求バッファ18から抽出し、展開した個数に達するまで(S16)、抽出したブロックBKjに制御内容を書き込む(S17)。   Next, the analysis processing unit 17 determines whether or not the processing has been completed for all the pieces of control information received from the controller 40 (S13), and if there is unprocessed control information (S13: No), The process proceeds to a control request writing process for expanding control information. The control request writing process is made into a subroutine, and the number of group names included in the control information is expanded (S14), and the group name is expanded into identification information of individual lighting fixtures 21 to be controlled (S15). . The analysis processing unit 17 extracts the block BKj corresponding to each lighting fixture 21 in which the group name is expanded from the control request buffer 18, and writes the control contents in the extracted block BKj until the number of expanded blocks is reached (S16) ( S17).

なお、ステップS11〜S13が読出処理P1に対応し、ステップS14〜S15が展開処理P2に対応し、ステップS16〜S17が書込処理P3に対応する。ステップS17との処理は、グループ名を展開した個別の照明器具21の台数分だけ繰り返され、ステップS15〜S17の処理は、グループ名の個数分だけ繰り返される。   Steps S11 to S13 correspond to the reading process P1, steps S14 to S15 correspond to the expansion process P2, and steps S16 to S17 correspond to the writing process P3. The processing in step S17 is repeated for the number of individual lighting fixtures 21 in which the group names are expanded, and the processing in steps S15 to S17 is repeated for the number of group names.

上述したように、書込処理P3は、展開処理P2で展開された個別の照明器具21の台数分の回数だけ実行され、展開処理P2は、読出処理P1で読み出された制御情報の個数分の回数だけ実行される。さらに、展開処理P2および書込処理P3は、読出処理P1で読み出された制御情報の個数分の回数だけ実行される。したがって、読出処理P1と展開処理P2と書込処理P3との実行回数を、それぞれp,q,rとすれば、制御要求バッファ18への書込回数は、p×q×r回になる。上述した仕様の場合、制御要求バッファ18の書込回数の最大値は、300×256×256=19,660,800回になる。   As described above, the writing process P3 is executed as many times as the number of individual lighting fixtures 21 developed in the developing process P2, and the developing process P2 is performed for the number of control information read in the reading process P1. It is executed for the number of times. Further, the expansion process P2 and the writing process P3 are executed as many times as the number of control information read in the reading process P1. Therefore, if the number of executions of the read process P1, the expansion process P2, and the write process P3 is p, q, and r, respectively, the number of writes to the control request buffer 18 is p × q × r. In the case of the above-described specification, the maximum value of the number of writes in the control request buffer 18 is 300 × 256 × 256 = 19,660,800 times.

タイムスケジュールによって照明器具21の点灯状態を制御する場合について、制御開始から照明器具1の点灯状態に反映されるまでの時間をシミュレーションで求めた結果を図5に示す。   FIG. 5 shows a result obtained by simulating the time from the start of control until the lighting state of the lighting fixture 1 is reflected when the lighting state of the lighting fixture 21 is controlled according to the time schedule.

図5に示した処理時間は、重ね合わせ処理を図4に示す手順で行った場合の例であり、この例では、重ね合わせ処理の処理時間は最大で約3.9sに達している。以下では、重ね合わせ処理に要する時間を短縮する技術について説明する。   The processing time shown in FIG. 5 is an example when the superimposition processing is performed according to the procedure shown in FIG. 4. In this example, the processing time of the superposition processing reaches a maximum of about 3.9 s. Hereinafter, a technique for shortening the time required for the overlay process will be described.

上述したように、重ね合わせ処理は、読出処理P1と展開処理P2と書込処理P3とを含んでいる。したがって、読出処理P1と展開処理P2と書込処理P3との個々について処理時間を短縮する技術が存在し、これらの技術を採用することにより、重ね合わせ処理の処理時間を短縮することが可能である。   As described above, the overlay process includes the reading process P1, the unfolding process P2, and the writing process P3. Therefore, there are techniques for reducing the processing time for each of the reading process P1, the unfolding process P2, and the writing process P3. By adopting these techniques, it is possible to reduce the processing time of the overlay process. is there.

読出処理P1は、制御バッファ16に格納された制御情報を取り出す処理であって、制御バッファ16から制御情報を読み出す順番はFIFO方式が採用されている。また、制御要求バッファ18は、照明器具21ごとに割り当てられたブロックBKjの内容が、制御バッファ16から順に読み出される制御情報によって更新(上書き)される。したがって、制御要求バッファ18に格納される制御内容が決定されるのは、制御バッファ16からすべての制御情報が読み出された後になる。   The read process P1 is a process for extracting the control information stored in the control buffer 16, and the FIFO method is adopted for the order of reading the control information from the control buffer 16. Further, the control request buffer 18 is updated (overwritten) by the control information sequentially read from the control buffer 16 with the contents of the block BKj allocated for each lighting fixture 21. Therefore, the control content stored in the control request buffer 18 is determined after all control information is read from the control buffer 16.

要するに、制御バッファ16から読み出された制御情報のうち、制御要求バッファ18に最終的に残されるのは、同じブロックBKjに格納される制御情報のうち制御バッファ16からの読出順で最後になった制御情報になる。言い換えると、制御バッファ16から読み出された順番が後のほうが、制御要求バッファ18に優先的に残されると言える。   In short, the control information read from the control buffer 16 is finally left in the control request buffer 18 in the order of reading from the control buffer 16 among the control information stored in the same block BKj. Control information. In other words, it can be said that the order read out from the control buffer 16 is preferentially left in the control request buffer 18.

上述した点を勘案すると、制御バッファ16から制御情報を読み出す順序として、FIFO方式ではなく、先入れ後出しであるLIFO(Last In First Out)方式を採用するほうが、制御要求バッファ18に格納する制御内容にアクセスする時間が短縮されると考えられる。   Considering the above-described points, the control information stored in the control request buffer 18 is not the FIFO method but the LIFO (Last In First Out) method, which is a first-in last-out method, is used as the order of reading the control information from the control buffer 16. The time to access the content will be shortened.

ここで、図6に示すように、制御バッファ16に格納された制御情報がCNj(j=1,2,…,n)であり、矢印Sd1で示された順番で格納されていると仮定する。すなわち、制御情報CNjは、制御バッファ16に昇順で格納されている。なお、制御情報CNjは、照明器具21のオンオフの情報を少なくとも含み、照明器具の調光レベルの情報を併せて含んでいてもよい。FIFO方式では、制御情報CNjは格納された順序で読み出されるから、読出の際のポインタは矢印Sd1の向きに移動する。一方、LIFO方式では、読出の際のポインタが移動する向きは逆向きであって、矢印Sd2の向きになる。   Here, as shown in FIG. 6, it is assumed that the control information stored in the control buffer 16 is CNj (j = 1, 2,..., N) and is stored in the order indicated by the arrow Sd1. . That is, the control information CNj is stored in the control buffer 16 in ascending order. Note that the control information CNj includes at least information on the on / off state of the lighting fixture 21, and may also include information on the dimming level of the lighting fixture. In the FIFO method, since the control information CNj is read in the stored order, the pointer at the time of reading moves in the direction of the arrow Sd1. On the other hand, in the LIFO method, the direction in which the pointer moves during reading is the reverse direction, which is the direction of the arrow Sd2.

上述したように、制御バッファ16に対する制御情報CNjの出し入れの操作としてLIFO方式を採用すると、読出の際のポインタが移動する向きSd2は、書込の際のポインタが移動する向きSd1とは逆向きになる。制御バッファ16から制御情報CNjを読み出す処理は解析処理部17が行う。つまり、読出の際のポインタの制御は解析処理部17が行う。   As described above, when the LIFO method is adopted as an operation for putting control information CNj into and out of control buffer 16, the direction Sd2 in which the pointer moves during reading is opposite to the direction Sd1 in which the pointer moves during writing. become. The analysis processing unit 17 performs processing for reading the control information CNj from the control buffer 16. That is, the analysis processing unit 17 controls the pointer at the time of reading.

また、解析処理部17は、制御要求バッファ18のブロックBKjに制御内容がすでに書き込まれているときには、該当するブロックBKjの制御内容を更新しないというルールに従って動作する。言い換えると、解析処理部17は、制御要求バッファ18のすべてのブロックBKjの内容を初期化した後、ブロックBKjごとに1回だけ制御内容の書き込みを行う。   Further, when the control content has already been written in the block BKj of the control request buffer 18, the analysis processing unit 17 operates according to the rule that the control content of the corresponding block BKj is not updated. In other words, the analysis processing unit 17 initializes the contents of all the blocks BKj in the control request buffer 18 and then writes the control contents only once for each block BKj.

以上の動作により、制御バッファ16に格納されたすべての制御情報CNjを読み出すのではなく、一部の制御情報CNjを読み出すだけで、制御要求バッファ18に必要な制御内容が書き込まれる。その結果、制御バッファ16に格納されたすべての制御情報CNjを読み出す場合に比較すると、制御要求バッファ18に書き込まれる制御内容が確定するまでの時間が短縮される可能性が高くなる。この技術を用いても、制御要求バッファ18への書込に要する時間はFIFO方式と同じになる場合が生じるが、制御要求バッファへの書込に要する平均時間は、LIFO方式を採用するほうが短縮される。   With the above operation, the necessary control contents are written in the control request buffer 18 by reading out only a part of the control information CNj instead of reading out all the control information CNj stored in the control buffer 16. As a result, as compared with the case where all the control information CNj stored in the control buffer 16 is read, there is a high possibility that the time until the control content written in the control request buffer 18 is determined will be shortened. Even with this technique, the time required for writing to the control request buffer 18 may be the same as that of the FIFO method, but the average time required for writing to the control request buffer is shorter when the LIFO method is adopted. Is done.

上述の動作は、ブロックBKjごとに制御内容の書き込みを1回に制限する必要がある。そのため、ブロックBKjに制御内容を書き込んだときに設定される書込フラグが用いられる。すなわち、図7に示すように、ブロックBKjごとに書込フラグを格納するためのスロット184が設けられる。書込フラグを用いると、以下に説明する動作によって、書込処理P3の処理回数が低減される。   In the above-described operation, it is necessary to limit the writing of the control contents to one block BKj. Therefore, a write flag that is set when control content is written to the block BKj is used. That is, as shown in FIG. 7, a slot 184 for storing a write flag is provided for each block BKj. When the write flag is used, the number of times of the write process P3 is reduced by the operation described below.

解析処理部17は、制御要求バッファ18の初期化後に、ブロックBKjのスロット182,183に制御内容を書き込んだ場合に、該当するブロックBKjのスロット184に書込フラグを設定する。また、解析処理部17は、制御内容をブロックBKjに書き込む際に、当該ブロックBKjのスロット184に、先に書込フラグが設定されている場合、当該ブロックBKjへの制御内容の上書きを禁止する。   When the control processing buffer 18 is written in the slots 182 and 183 of the block BKj after the initialization of the control request buffer 18, the analysis processing unit 17 sets a write flag in the slot 184 of the corresponding block BKj. Further, when writing the control content to the block BKj, the analysis processing unit 17 prohibits overwriting of the control content to the block BKj if the write flag is set in the slot 184 of the block BKj. .

なお、制御要求バッファ18の初期化は、たとえば、スロット184に格納された値を「0」にすることとし、ブロックBKjに書込フラグを設定することは、スロット184に格納される値を「1」にすることとすればよい。   For example, the control request buffer 18 is initialized by setting the value stored in the slot 184 to “0”, and setting the write flag in the block BKj sets the value stored in the slot 184 to “ It may be set to “1”.

上述した動作によって、制御要求バッファ18のすべてのブロックBKjは、書込回数が1回に制限され、ブロックBKjに制御内容が一旦格納された後は、ブロックBKjの内容変更が禁止される。つまり、すべてのブロックBKjは、制御内容の書込が1回だけ許可されることになる。   As a result of the above-described operation, the number of times of writing to all the blocks BKj in the control request buffer 18 is limited to one, and after the control contents are once stored in the block BKj, the contents change of the block BKj is prohibited. That is, all the blocks BKj are permitted to write the control contents only once.

図8に上述した動作の要部を記載する。図8に示すステップS21〜S26は、図4に示したステップS11〜S16と同処理になる。すなわち、解析処理部17が、コントローラ40から受け取った制御情報を個々の照明器具21の制御内容に展開する処理は図4に示した動作と同処理になる。   FIG. 8 shows a main part of the above-described operation. Steps S21 to S26 shown in FIG. 8 are the same as steps S11 to S16 shown in FIG. That is, the process in which the analysis processing unit 17 develops the control information received from the controller 40 into the control content of each lighting fixture 21 is the same as the operation shown in FIG.

図8に示す処理では、グループ名を個別の照明器具21の識別情報に展開し、展開した制御内容を書き込むブロックBKjを制御要求バッファ18から抽出した後(S27)、当該ブロックBKjについて、スロット184の内容を確認する(S28)。すなわち、スロット184に書込フラグが設定されているか否かを判定する。書込フラグが設定されていなければ(S28:No)、解析処理部17は、抽出したブロックBKjに制御内容を書き込むと同時に、書込フラグを設定する(S29)。また、ステップS28において、スロット184に書込フラグが設定されていれば(S28:Yes)、制御要求バッファ18に対して何も行わずにステップS26に戻る。   In the process shown in FIG. 8, after expanding the group name into the identification information of the individual lighting fixtures 21 and extracting the block BKj in which the expanded control content is written from the control request buffer 18 (S27), the slot 184 for the block BKj is extracted. Is confirmed (S28). That is, it is determined whether or not the write flag is set in the slot 184. If the write flag is not set (S28: No), the analysis processing unit 17 sets the write flag at the same time as writing the control contents in the extracted block BKj (S29). In step S28, if the write flag is set in the slot 184 (S28: Yes), nothing is performed on the control request buffer 18 and the process returns to step S26.

図8に示す処理は、制御要求バッファ18の各ブロックBKjには1回ずつ制御内容が書き込まれるだけであり、図4に示した処理と比較すると、制御要求バッファ18に制御内容を書き込む回数が大幅に低減される。つまり、図4に示した動作では、制御要求バッファ18に制御内容を書き込む回数が、最大で19,660,800回であったのに対して、図8に示す動作では、制御要求バッファ18に制御内容を書き込む回数は、最大で256回になる。   In the process shown in FIG. 8, the control content is written once in each block BKj of the control request buffer 18, and the number of times of writing the control content in the control request buffer 18 is smaller than that shown in FIG. It is greatly reduced. That is, in the operation shown in FIG. 4, the maximum number of times of writing control contents in the control request buffer 18 is 19,660,800, whereas in the operation shown in FIG. The maximum number of times control content is written is 256 times.

図8に示す処理を採用して照明器具21の点灯状態を制御する場合について、制御開始から照明器具1の点灯状態に反映されるまでの時間をシミュレーションで求めた結果を図9に示す。   FIG. 9 shows a result obtained by simulating the time from the start of control until the lighting state of the lighting fixture 1 is reflected in the case of controlling the lighting state of the lighting fixture 21 by adopting the process shown in FIG.

図9に示した処理時間は、重ね合わせ処理を図8に示す手順で行った場合の例であり、この例では、重ね合わせ処理の処理時間は最大で約3.5sまで短縮される。   The processing time shown in FIG. 9 is an example when the overlaying process is performed according to the procedure shown in FIG. 8. In this example, the processing time of the overlaying process is shortened to about 3.5 s at the maximum.

上述したように、書込フラグを用いると、制御要求バッファ18に制御内容を書き込む書込処理P3の実行回数が大幅に低減される。ただし、コントローラ40から受け取った制御情報をすべて展開しているから、依然として、展開処理P2の処理回数は減少していない。以下に説明する動作は、展開処理P2の処理回数を低減させる動作であり、書込処理P3の低減と同様に、書込フラグを活用する。書込処理P3の回数を低減させるためには、書込フラグが設定されているか否かにより、ブロックBKjに制御内容を書き込むか否かを判断している。これに対し、グループ名あるいはパターン名の展開を行うか否かを判断するためにも書込フラグを用い、展開処理P2の処理回数を低減させる技術について以下に説明する。   As described above, when the write flag is used, the number of executions of the write process P3 for writing the control contents in the control request buffer 18 is greatly reduced. However, since all the control information received from the controller 40 is expanded, the number of processings of the expansion processing P2 has not decreased. The operation described below is an operation for reducing the number of times of the expansion process P2, and uses the write flag similarly to the reduction of the write process P3. In order to reduce the number of times of the writing process P3, it is determined whether or not to write the control contents in the block BKj depending on whether or not the writing flag is set. On the other hand, a technique for reducing the number of times of the expansion process P2 using the write flag to determine whether or not to expand the group name or pattern name will be described below.

すなわち、解析処理部17は、制御要求バッファ18のブロックBKjに書込フラグが設定されているか否かを判断し、すべてのブロックBKjに書込フラグが設定されると、展開処理P2を終了する。この動作では、すべての照明器具21の制御内容が決まった時点で展開処理P2が終了するから、展開処理P2の処理回数と書込処理P3の処理回数とが一致する。要するに、制御バッファ16の制御情報をLIFO方式で読み出し、すべての照明器具21の制御内容が制御要求バッファ18に設定された時点で、展開処理P2が終了するから、重ね合わせ処理の処理時間を大幅に短縮されることになる。   That is, the analysis processing unit 17 determines whether or not the write flag is set in the block BKj of the control request buffer 18, and when the write flag is set in all the blocks BKj, the expansion process P2 is terminated. . In this operation, since the expansion process P2 ends when the control contents of all the lighting fixtures 21 are determined, the number of processes of the expansion process P2 matches the number of processes of the writing process P3. In short, when the control information of the control buffer 16 is read out by the LIFO method and the control contents of all the luminaires 21 are set in the control request buffer 18, the unfolding process P2 ends, so the processing time of the overlay process is greatly increased. Will be shortened.

展開処理P2および書込処理P3とを合わせた最大の処理回数は256回になり、制御バッファ16からの読出処理P1の最大の処理回数は300回であるから、重ね合わせ処理に要する処理回数の最大値は、300×256=76,800回になる。   The maximum number of processes including the expansion process P2 and the writing process P3 is 256, and the maximum number of processes of the reading process P1 from the control buffer 16 is 300. The maximum value is 300 × 256 = 76,800 times.

ここまでは、展開処理P2および書込処理P3について処理回数を低減させる技術について説明したが、読出処理P1についても処理回数を低減させることが可能である。制御ユニット10がコントローラ40から受け取る制御情報は、多くの場合グループ制御を含んでいる。したがって、制御バッファ16に一時的に格納される情報は、グループ名を単位とする情報が含まれる。   Up to this point, the technology for reducing the number of processes for the unfolding process P2 and the writing process P3 has been described, but the number of processes for the reading process P1 can also be reduced. The control information received from the controller 40 by the control unit 10 often includes group control. Therefore, information temporarily stored in the control buffer 16 includes information in units of group names.

読出処理P1の処理回数を低減させるには、制御要求バッファ18に格納する情報と同様に、グループ名に対応付けた参照フラグを設定し、参照フラグが設定されているか否かを評価する。グループ制御の内容は関係テーブル14に格納されているから、参照フラグの書込領域は関係テーブル14に設けられ、グループ名に対応付けられる。関係テーブル14におけるグループ名と参照フラグとの関係は、制御要求バッファ18における照明器具21と書込フラグとの関係と同様である。   In order to reduce the number of times of the reading process P1, similarly to the information stored in the control request buffer 18, a reference flag associated with the group name is set, and it is evaluated whether or not the reference flag is set. Since the contents of the group control are stored in the relation table 14, a reference flag writing area is provided in the relation table 14 and is associated with the group name. The relationship between the group name and the reference flag in the relationship table 14 is the same as the relationship between the lighting fixture 21 and the writing flag in the control request buffer 18.

解析処理部17は、コントローラ40から制御情報を受け取る前に、関係テーブル14の参照フラグを初期化する。その後、解析処理部17は、制御バッファ16から1組の制御情報を読み出すたびに、関係テーブル14において、該当するグループ名に対応する参照フラグを設定する。解析処理部17は、関係テーブル14において参照フラグがすでに設定されているグループ名には参照フラグを設定する処理を行わない。また、解析処理部17は、関係テーブル14のすべてのグループ名について参照フラグが設定されると、制御バッファ16からの制御情報の読み出しを終了する。   The analysis processing unit 17 initializes the reference flag of the relation table 14 before receiving control information from the controller 40. Thereafter, each time the analysis processing unit 17 reads a set of control information from the control buffer 16, the analysis processing unit 17 sets a reference flag corresponding to the corresponding group name in the relationship table 14. The analysis processing unit 17 does not perform processing for setting a reference flag for a group name for which a reference flag has already been set in the relationship table 14. In addition, when the reference flag is set for all the group names in the relation table 14, the analysis processing unit 17 ends the reading of the control information from the control buffer 16.

上述した処理により、制御要求バッファ18に個々の照明器具21の制御内容を書き込む際と同様に、制御バッファ16から制御情報を読み出す処理の処理回数が大幅に低減される。すなわち、1台の制御ユニット10において、同じグループ名に対する処理が重複することがないから、読出処理P1と展開処理P2とを合わせた最大の処理回数は256回になる。そのため、上述したすべての処理を組み合わせることによって、読出処理P1と展開処理P2と書込処理P3とを合わせた最大の処理回数は256回になる。   By the process described above, the number of processes for reading the control information from the control buffer 16 is greatly reduced as in the case of writing the control contents of the individual lighting fixtures 21 in the control request buffer 18. That is, since the processing for the same group name does not overlap in one control unit 10, the maximum number of processings including the reading processing P1 and the expansion processing P2 is 256 times. Therefore, by combining all the processes described above, the maximum number of processes including the reading process P1, the unfolding process P2, and the writing process P3 is 256.

タイムスケジュールによって照明器具21の点灯状態を制御する場合について、制御開始から照明器具1の点灯状態に反映されるまでの時間をシミュレーションで求めた結果を図10に示す。   FIG. 10 shows a result obtained by simulating the time from the start of control until the lighting state of the lighting fixture 1 is reflected when the lighting state of the lighting fixture 21 is controlled according to the time schedule.

図10に示した処理時間は、重ね合わせ処理において読出処理P1と展開処理P2と書込処理P3とのすべてにおいて処理回数を低減させた場合の例であり、この例では、重ね合わせ処理の処理時間は最大で85ms程度になった。   The processing time shown in FIG. 10 is an example in the case where the number of processes is reduced in all of the reading process P1, the developing process P2, and the writing process P3 in the superimposing process. The maximum time was about 85 ms.

なお、関係テーブル14の参照フラグに影響を与えるのは、制御バッファ16から読み出された制御情報がグループ制御に対応する場合のみであり、個別制御やパターン制御の場合は、関係テーブル14の参照フラグには影響しない。   Note that the reference flag of the relation table 14 is affected only when the control information read from the control buffer 16 corresponds to group control. In the case of individual control or pattern control, the reference of the relation table 14 is referred to. The flag is not affected.

10 制御ユニット(負荷制御装置)
13 主処理部
14 関係テーブル
16 制御バッファ
17 解析処理部
18 制御要求バッファ
21 照明器具(負荷)
181 スロット(第1のスロット)
182 スロット(第1のスロット)
183 スロット(第1のスロット)
184 スロット(第2のスロット)
40 コントローラ
BK1,BK2,… ブロック
L1 通信線
L2 通信線
L3 通信線
L4 通信線
10 Control unit (load control device)
13 Main Processing Unit 14 Relationship Table 16 Control Buffer 17 Analysis Processing Unit 18 Control Request Buffer 21 Lighting Equipment (Load)
181 slot (first slot)
182 slots (first slot)
183 slot (first slot)
184 slot (second slot)
40 Controller BK1, BK2, ... Block L1 Communication line L2 Communication line L3 Communication line L4 Communication line

Claims (6)

通信線を通して1ないし複数の負荷の個々の動作を決める制御データを伝送することにより前記負荷に制御内容を指示する負荷制御装置であって、
1ないし複数の負荷に対する制御データをまとめた制御情報を一時的に格納する制御バッファと、
前記制御バッファに格納された制御情報を読み出し、制御情報を個々の負荷に一対一に対応する制御内容に展開する解析処理部と、
前記解析処理部で展開された制御内容が書き込まれる制御要求バッファと、
前記制御要求バッファに書き込まれた制御内容を用いて前記制御データを生成する主処理部とを備え、
前記解析処理部は、前記制御バッファに格納された制御情報を先入れ後出しで読み出す
ことを特徴とする負荷制御装置。
A load control device for instructing the load of control content by transmitting control data for determining individual operations of one or more loads through a communication line;
A control buffer that temporarily stores control information that summarizes control data for one or more loads;
An analysis processing unit that reads out the control information stored in the control buffer and expands the control information into control contents corresponding to each load on a one-to-one basis;
A control request buffer in which the control contents developed by the analysis processing unit are written;
A main processing unit that generates the control data using the control content written in the control request buffer;
The load control device, wherein the analysis processing unit reads the control information stored in the control buffer in a first-in last-out manner.
前記制御要求バッファは、前記負荷に一対一に対応したブロックを有し、
前記ブロックは、前記負荷ごとの制御内容が書き込まれる第1のスロットと、前記ブロックごとに前記制御内容が書き込まれたときに書込フラグが設定される第2のスロットとを備え、
前記解析処理部は、前記ブロックに制御内容を書き込む際に、当該ブロックの前記第2のスロットに前記書込フラグが設定されているか否かを判定し、前記書込フラグが設定されている場合は、当該ブロックへの前記制御内容を書き込まない
ことを特徴とする請求項1記載の負荷制御装置。
The control request buffer has a one-to-one block corresponding to the load,
The block includes a first slot in which control content for each load is written, and a second slot in which a write flag is set when the control content is written for each block,
When the analysis processing unit writes control content in the block, it determines whether the write flag is set in the second slot of the block, and the write flag is set The load control device according to claim 1, wherein the control content is not written to the block.
前記解析処理部は、前記ブロックのすべてに前記書込フラグが設定されている場合、前記制御要求バッファに前記制御内容を書き込む処理を終了する
ことを特徴とする請求項2記載の負荷制御装置。
The load control device according to claim 2, wherein the analysis processing unit ends the process of writing the control content in the control request buffer when the write flag is set in all of the blocks.
複数個の前記負荷を一括してグループ名を付与し、前記グループ名を単位として個別の負荷の制御内容を対応付けた関係テーブルをさらに備え、
前記関係テーブルは、前記グループ名ごとに参照フラグが設定される領域を備え、
前記解析処理部は、前記グループ名を個別の負荷の制御内容に展開すると同時に当該グループ名に前記参照フラグを設定する機能と、前記グループ名を展開する際に、当該グループ名に前記参照フラグが設定されているか否かを判定し、前記参照フラグが設定されている場合は、当該グループ名を展開しない
ことを特徴とする請求項1〜3のいずれか1項に記載の負荷制御装置。
A plurality of the loads are collectively assigned a group name, and further includes a relation table in which individual load control contents are associated with the group name as a unit.
The relationship table includes an area in which a reference flag is set for each group name,
The analysis processing unit expands the group name into individual load control contents and simultaneously sets the reference flag in the group name, and when expanding the group name, the reference flag is included in the group name. The load control device according to any one of claims 1 to 3, wherein it is determined whether or not the group name is set, and the group name is not expanded when the reference flag is set.
前記解析処理部は、前記関係テーブルに設定された前記グループ名のすべてに前記参照フラグが設定されている場合、前記グループ名を展開する処理を終了する
ことを特徴とする請求項4記載の負荷制御装置。
The load according to claim 4, wherein the analysis processing unit ends the process of expanding the group name when the reference flag is set for all the group names set in the relation table. Control device.
請求項1〜5のいずれか1項に記載の負荷制御装置と、
第1の通信線を通して前記制御データが伝送され前記制御データに従って動作する前記負荷と、
第2の通信線を通して前記制御情報を与えるコントローラとを備える
ことを特徴とする負荷制御システム。
The load control device according to any one of claims 1 to 5,
The load transmitted through the first communication line and operating according to the control data;
A load control system comprising: a controller that provides the control information through a second communication line.
JP2012091001A 2012-04-12 2012-04-12 Load control device, load control system Active JP5971465B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012091001A JP5971465B2 (en) 2012-04-12 2012-04-12 Load control device, load control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012091001A JP5971465B2 (en) 2012-04-12 2012-04-12 Load control device, load control system

Publications (2)

Publication Number Publication Date
JP2013219715A true JP2013219715A (en) 2013-10-24
JP5971465B2 JP5971465B2 (en) 2016-08-17

Family

ID=49591316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012091001A Active JP5971465B2 (en) 2012-04-12 2012-04-12 Load control device, load control system

Country Status (1)

Country Link
JP (1) JP5971465B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04364533A (en) * 1991-06-11 1992-12-16 Oki Electric Ind Co Ltd Stack controller
JPH05300578A (en) * 1992-04-23 1993-11-12 Matsushita Electric Works Ltd Remote monitor control system
JPH08154279A (en) * 1994-11-25 1996-06-11 Matsushita Electric Works Ltd Multiplex transmission remote control system
JPH1051868A (en) * 1996-07-31 1998-02-20 Matsushita Electric Works Ltd Load control monitor system
JP2012015972A (en) * 2010-07-05 2012-01-19 Panasonic Electric Works Co Ltd Apparatus control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04364533A (en) * 1991-06-11 1992-12-16 Oki Electric Ind Co Ltd Stack controller
JPH05300578A (en) * 1992-04-23 1993-11-12 Matsushita Electric Works Ltd Remote monitor control system
JPH08154279A (en) * 1994-11-25 1996-06-11 Matsushita Electric Works Ltd Multiplex transmission remote control system
JPH1051868A (en) * 1996-07-31 1998-02-20 Matsushita Electric Works Ltd Load control monitor system
JP2012015972A (en) * 2010-07-05 2012-01-19 Panasonic Electric Works Co Ltd Apparatus control device

Also Published As

Publication number Publication date
JP5971465B2 (en) 2016-08-17

Similar Documents

Publication Publication Date Title
JP6135023B2 (en) Lighting control system
CN105101530A (en) Regulating system and regulating method based on synchronization with AC power supply frequency
JP2011076875A (en) Lighting control system
JP6460317B2 (en) Lighting control system and lighting control method capable of associating logical ID and physical position of lighting control device on site
JPH10162969A (en) Lighting system
JP7077815B2 (en) Lighting control system
JP5971465B2 (en) Load control device, load control system
TWI783165B (en) Group setting method for illumination fixture, and illumination system
JP2017016874A (en) Control device and control system
JP2016225183A (en) Illumination baton and illumination system
JP2002075663A (en) Illumination equipment
KR101895696B1 (en) HYBRID TECHNOLOGY OF LIGHT-FIDELITY AND RADIO FREQUENCY(WiFi/ZigBee/Bluetooth)
JP5903627B2 (en) Load control system, control unit
JP2022088481A (en) Communication device, communication system, device control system, communication control method, and program
JP7033722B2 (en) Lighting fixtures, terminals, lighting systems, information terminals, lighting fixture pairing methods and programs
JP7057300B2 (en) Control system
TWI710282B (en) Terminal, lighting equipment, information terminal, pairing method and recording medium
JP2021114475A (en) Illumination system
JP2019133784A (en) Data creation apparatus, program, data creation method, and lighting control system
JPH10191466A (en) Remote controller and dimmer system
JP7122610B2 (en) Allocation methods, lighting systems and allocation method programs
JP2002299075A (en) Lighting control system
WO2021106550A1 (en) Equipment information transmission device and remote information collection system
US9253858B2 (en) Lighting network control apparatus and method
JP2022102417A (en) Control device, lighting device, and lighting control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150203

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20150312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160628

R151 Written notification of patent or utility model registration

Ref document number: 5971465

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151