[go: up one dir, main page]

JP2020068440A - Communication system, lighting control system, wireless device, computer program, and communication method - Google Patents

Communication system, lighting control system, wireless device, computer program, and communication method Download PDF

Info

Publication number
JP2020068440A
JP2020068440A JP2018199478A JP2018199478A JP2020068440A JP 2020068440 A JP2020068440 A JP 2020068440A JP 2018199478 A JP2018199478 A JP 2018199478A JP 2018199478 A JP2018199478 A JP 2018199478A JP 2020068440 A JP2020068440 A JP 2020068440A
Authority
JP
Japan
Prior art keywords
unit
received
slave
flag area
transmission
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
JP2018199478A
Other languages
Japanese (ja)
Other versions
JP6653005B1 (en
Inventor
裕之 植松
Hiroyuki Uematsu
裕之 植松
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.)
Seiwa Electric Mfg Co Ltd
Original Assignee
Seiwa Electric Mfg Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiwa Electric Mfg Co Ltd filed Critical Seiwa Electric Mfg Co Ltd
Priority to JP2018199478A priority Critical patent/JP6653005B1/en
Application granted granted Critical
Publication of JP6653005B1 publication Critical patent/JP6653005B1/en
Publication of JP2020068440A publication Critical patent/JP2020068440A/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)
  • Selective Calling Equipment (AREA)

Abstract

【課題】通信不良の影響を低減することができる通信システム、点灯制御システム、無線機、コンピュータプログラム及び通信方法を提供する。【解決手段】一の子機は、制御情報を受信する都度、受信したフラグエリア、記憶したフラグエリア及び当該一の子機の受信済フラグを、子機毎に論理和演算を行ってフラグエリアを更新する更新部と受信した送信順位及び当該一の子機の送信順位に基づいて、当該一の子機の送信時点を決定する決定部とを備え、当該一の子機の送信部は、更新したフラグエリアを含む制御情報を送信し、親機は、受信したフラグエリア内の子機毎の受信済フラグに基づいて、複数の子機が所定の制御指令を受信したか否かを判定する判定部とを備える。【選択図】図1PROBLEM TO BE SOLVED: To provide a communication system, a lighting control system, a radio, a computer program and a communication method capable of reducing the influence of communication failure. Each time a one slave unit receives control information, the received flag area, the stored flag area, and the received flag of the one slave unit are subjected to a logical sum operation for each slave unit to perform a logical sum operation to perform a flag area. The transmission unit of the one slave unit is provided with an update unit for updating the above, a determination unit for determining the transmission time of the one slave unit based on the received transmission order and the transmission order of the one slave unit. The control information including the updated flag area is transmitted, and the master unit determines whether or not a plurality of slave units have received a predetermined control command based on the received flag for each slave unit in the received flag area. It is provided with a determination unit to be used. [Selection diagram] Fig. 1

Description

本発明は、通信システム、点灯制御システム、無線機、コンピュータプログラム及び通信方法に関する。   The present invention relates to a communication system, a lighting control system, a wireless device, a computer program, and a communication method.

主伝送路と複数の並列の分岐伝送路とを有する伝送路において、主伝送路に設けられた親局(親機)と、それぞれの分岐伝送路に設けられた子局(子機)との間で1:1の通信を行う通信システムが開示されている(特許文献1参照)。   In a transmission line having a main transmission line and a plurality of parallel branch transmission lines, a master station (master unit) provided in the main transmission line and a slave station (slave unit) provided in each branch transmission line A communication system that performs 1: 1 communication between them is disclosed (see Patent Document 1).

特開2008−199291号公報JP, 2008-199291, A

親機と子機との間を無線化することで子機の設置台数、あるいは子機の設置範囲などの制約を少なくすることができ、また伝送路を設置する必要もなくなり、施工が容易になる。しかし、無線通信は有線通信に比べて、環境変化に応じて通信が不安定になり通信不良になる場合がある。   By wirelessly connecting the master and slave units, it is possible to reduce restrictions on the number of slave units to be installed, the range of slave units to be installed, and the need to install a transmission line. Become. However, in wireless communication, communication may become unstable and communication failure may occur depending on environmental changes, as compared with wired communication.

本発明は斯かる事情に鑑みてなされたものであり、通信不良の影響を低減することができる通信システム、点灯制御システム、無線機、コンピュータプログラム及び通信方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a communication system, a lighting control system, a wireless device, a computer program, and a communication method capable of reducing the influence of communication failure.

本発明に係る通信システムは、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムであって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部を備え、一の子機は、前記親機又は他の子機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定する決定部とを備え、前記一の子機の送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を送信し、前記親機は、前記複数の子機が送信する制御情報を受信する受信部と、該受信部で受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定する判定部とを備える。   A communication system according to the present invention includes a plurality of wireless devices including a master device and a plurality of slave devices, and one arbitrary wireless device is a communication system capable of transmitting the same information to all other wireless devices. Each of the wireless devices includes a predetermined control command, a flag area in which an identifier and transmission order of the wireless device and a received flag indicating that the predetermined control command has been received can be recorded for each slave device. The slave unit includes a transmitter that transmits control information, and one slave unit receives the control information transmitted by the master unit or another slave unit, a storage unit that stores a flag area, and a control unit that controls the receiver unit. Each time information is received, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the one slave has received the predetermined control command are logically ORed for each slave. The flag that has been stored and stored in the storage unit An updating unit that updates the rear, and a determining unit that determines a transmission time point of the one slave unit based on a transmission order received by the receiving unit and a preset transmission order of the one slave unit, The transmission unit of the one slave unit includes a control including the predetermined control command, the identifier and transmission order of the one slave unit, and the flag area updated by the updating unit at the transmission time determined by the determination unit. The parent device transmits the information, and the parent device receives the control information transmitted by the plurality of child devices, and the plurality of the child devices based on the received flag of each child device in the flag area received by the receiving unit. And a determination unit that determines whether or not the slave unit has received the predetermined control command.

本発明に係る点灯制御システムは、本発明に係る通信システムを備える。   A lighting control system according to the present invention includes the communication system according to the present invention.

本発明に係る無線機は、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部と、他の無線機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する決定部とを備え、前記送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を送信する。   A radio device according to the present invention includes a predetermined control command, a unique identifier and a transmission order, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each of a plurality of radio devices. A transmitter that transmits control information, a receiver that receives control information transmitted by another radio, a storage unit that stores a flag area, and a flag area that is received each time control information is received by the receiver, A flag area stored in the storage unit and a received flag indicating that the predetermined control command has been received, an updating unit that performs a logical sum operation for each radio to update the flag area stored in the storage unit, A determination unit that determines a transmission time point based on a transmission order received by the reception unit and a preset transmission order, and the transmission unit determines the predetermined control instruction at the transmission time point determined by the determination unit. When, transmits control information including the flag area updated in the identifier and sending order and the update unit.

本発明に係るコンピュータプログラムは、コンピュータに、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を送信する処理と、他の無線機が送信した制御情報を受信する処理と、制御情報を受信する都度、受信したフラグエリア、記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する処理と、受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する処理と、決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに更新したフラグエリアとを含む制御情報を送信する処理とを実行させる。   A computer program according to the present invention is a flag area in which a predetermined control command, a unique identifier and a transmission order, and a received flag indicating that the predetermined control command has been received can be recorded in a computer for each of a plurality of radio devices. And a process of receiving control information transmitted by another wireless device, a flag area received every time the control information is received, a flag area stored in a storage unit, and the predetermined control. Based on the received flag indicating that the command has been received, a process of performing a logical sum operation for each radio to update the flag area stored in the storage unit, and the received transmission order and the preset transmission order. A process for determining a transmission time point, and a control information including the predetermined control command, the identifier, the transmission order, and the updated flag area at the determined transmission time point. To execute a process of transmitting.

本発明に係る通信方法は、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムによる通信方法であって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信部が送信し、一の子機は、前記親機又は他の子機が送信した制御情報を受信部が受信し、フラグエリアを記憶部に記憶し、制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新部が更新し、受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定部が決定し、前記一の子機は、決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を前記送信部が送信し、前記親機は、前記複数の子機が送信する制御情報を受信部が受信し、受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定部が判定する。   A communication method according to the present invention includes a plurality of wireless devices including a master device and a plurality of slave devices, and any one wireless device performs communication by a communication system capable of transmitting the same information to all other wireless devices. In the method, each of the wireless devices is capable of recording a predetermined control command, an identifier and a transmission order of the wireless device, and a received flag indicating that the predetermined control command has been received for each slave device. The transmitting unit transmits the control information including and the one child device receives the control information transmitted by the parent device or another child device by the receiving unit, stores the flag area in the storage unit, and stores the control information. Each time a reception is performed, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the one slave has received the predetermined control command are logically ORed for each slave. Update the flag area stored in the storage unit Is updated, the deciding unit decides the transmission time point of the one child device based on the received transmission order and the transmission order of the one child device set in advance, and the one child device decides the transmission order. At the time point, the transmission unit transmits control information including the predetermined control command, the identifier and transmission order of the one child device, and the flag area updated by the updating unit, and the master device includes the plurality of The receiving unit receives the control information transmitted by the slave unit, and determines whether or not the plurality of slave units have received the predetermined control command, based on the received flag for each slave unit within the received flag area. Department determines.

本発明によれば、通信不良の影響を低減することができる。   According to the present invention, the influence of communication failure can be reduced.

本実施の形態の点灯制御システムの構成の一例を示すブロック図である。It is a block diagram showing an example of composition of a lighting control system of this embodiment. 本実施の形態の親機の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the main | base station of this Embodiment. 本実施の形態の子機の構成の一例を示すブロック図である。It is a block diagram showing an example of composition of a cordless handset of this embodiment. 本実施の形態の通信システムの通信方法の一例を示す模式図である。It is a schematic diagram which shows an example of the communication method of the communication system of this Embodiment. 本実施の形態の通信システムで使用する制御情報のフォーマットの一例を示す説明図である。It is explanatory drawing which shows an example of the format of the control information used with the communication system of this Embodiment. 本実施の形態の通信システムによる制御及び監視の第1例を示す模式図である。It is a schematic diagram which shows the 1st example of control and monitoring by the communication system of this Embodiment. 比較例としての通信システムの通信回数の一例を示す模式図である。It is a schematic diagram which shows an example of the frequency | count of communication of a communication system as a comparative example. 本実施の形態の通信システムの通信回数の一例を示す模式図である。It is a schematic diagram which shows an example of the number of times of communication of the communication system of this Embodiment. 本実施の形態の通信システムによる制御及び監視の第2例を示す模式図である。It is a schematic diagram which shows the 2nd example of control and monitoring by the communication system of this Embodiment. 本実施の形態の通信システムによる制御及び監視の第3例を示す模式図である。It is a schematic diagram which shows the 3rd example of control and monitoring by the communication system of this Embodiment. 本実施の形態の通信システムの通信状態の一例を示す模式図である。It is a schematic diagram which shows an example of the communication state of the communication system of this Embodiment. 比較例としての通信システムの送信順位の設定の一例を示す模式図である。It is a schematic diagram which shows an example of setting of the transmission order of the communication system as a comparative example. 本実施の形態の通信システムの送信順位の設定の一例を示す模式図である。It is a schematic diagram which shows an example of setting of the transmission order of the communication system of this Embodiment. 本実施の形態の子機による処理手順の一例を示すフローチャートである。It is a flow chart which shows an example of the processing procedure by the cordless handset of this embodiment. 本実施の形態の親機による処理手順の一例を示すフローチャートである。It is a flow chart which shows an example of the processing procedure by the parent machine of this embodiment.

以下、本発明の実施の形態を図面に基づいて説明する。図1は本実施の形態の点灯制御システムの構成の一例を示すブロック図である。本実施の形態の点灯制御システムは、点灯制御装置としての点滅灯中継装置110、複数の点滅灯120などを備える。なお、点灯制御システムは、上位装置100を備えることもできる。なお、上位装置100を点灯制御装置と称する場合があるが、本明細書では、点滅灯中継装置110を点灯制御装置として説明する。なお、図1の例では、点滅灯中継装置110を1台(1系統)備える構成であるが、点滅灯中継装置110は複数台(複数系統)設けることもできる。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of the lighting control system of the present embodiment. The lighting control system of the present embodiment includes a blinking light relay device 110 as a lighting control device, a plurality of blinking lights 120, and the like. The lighting control system may also include the higher-level device 100. The host device 100 may be referred to as a lighting control device, but in this specification, the blinking light relay device 110 will be described as a lighting control device. In addition, in the example of FIG. 1, one flashing light relay device 110 is provided (one system), but a plurality of flashing light relay devices 110 (multiple systems) may be provided.

点滅灯中継装置110は、インタフェース部41、親機10などを備える。インタフェース部41は、上位装置100との間のインタフェース機能を有する。上位装置100と点滅灯中継装置110との間は、例えば、光回線を用いることができる。点滅灯中継装置110は、親機10を介して、各点滅灯120の点灯制御を行うべく所定の制御指令を各点滅灯120へ送信する。   The flashing light relay device 110 includes the interface unit 41, the master device 10, and the like. The interface unit 41 has an interface function with the host device 100. An optical line can be used between the host device 100 and the blinking light relay device 110, for example. The flashing light relay device 110 transmits a predetermined control command to each flashing light 120 via the master device 10 to control the lighting of each flashing light 120.

点滅灯120は、子機20、駆動部31、表示部32などを備える。点滅灯120は、例えば、道路に沿って所要の間隔で設置され、所定の表示を行う。点滅灯中継装置110と各点滅灯120との間、及び各点滅灯120の間、すなわち、親機10と各子機20との間、及び各子機20の間は、例えば、920MHz帯の無線通信を行うことができる。なお、無線通信の周波数帯は、920MHzに限定されない。また、親機10及び子機20を無線機とも称する。   The blinking lamp 120 includes the slave device 20, a drive unit 31, a display unit 32, and the like. The flashing lights 120 are installed at required intervals along the road, for example, and perform a predetermined display. Between the flashing light relay device 110 and each flashing light 120, and between each flashing light 120, that is, between the master device 10 and each slave device 20, and between each slave device 20, for example, a 920 MHz band is used. Wireless communication can be performed. The frequency band for wireless communication is not limited to 920 MHz. The master device 10 and the slave device 20 are also referred to as wireless devices.

表示部32は、例えば、3色(赤、緑、青)のLEDを備え、駆動部31が出力する駆動信号に応じて、多種多様な点灯表示をすることができる。表示方式は、例えば、常時点灯、点滅点灯、交互点灯あるいは流れ表示(流れ表示速度は点滅灯の設置間隔によるが、例えば、20km/h〜120km/h程度とすることができる)などを含む。   The display unit 32 includes, for example, LEDs of three colors (red, green, and blue), and can perform various types of lighting display according to the drive signal output from the drive unit 31. The display system includes, for example, constant lighting, blinking lighting, alternate lighting, or flow display (flow display speed may be about 20 km / h to 120 km / h, although it depends on the installation interval of the flashing lights).

駆動部31は、子機20が出力する制御指令に基づいて駆動信号を生成し、生成した駆動信号を表示部32へ出力する。   The drive unit 31 generates a drive signal based on the control command output by the slave device 20, and outputs the generated drive signal to the display unit 32.

図2は本実施の形態の親機10の構成の一例を示すブロック図である。親機10は、親機10全体を制御する制御部11、通信部12、記憶部13、演算部14、判定部15などを備える。   FIG. 2 is a block diagram showing an example of the configuration of base unit 10 of the present embodiment. The parent device 10 includes a control unit 11, a communication unit 12, a storage unit 13, a calculation unit 14, a determination unit 15, and the like that control the entire parent device 10.

通信部12は、送信部及び受信部としての機能を有し、各子機20との間の通信を行う。通信部12は、全ての子機20に対して一斉(同時に)に制御情報を送信することができる。また、通信部12は、各子機20が送信した制御情報を受信する。通信部12は、送信バッファ及び受信バッファを備えることができる。制御情報の詳細は後述する。   The communication unit 12 has a function as a transmission unit and a reception unit, and performs communication with each slave device 20. The communication unit 12 can transmit the control information to all the slaves 20 all at once (simultaneously). In addition, the communication unit 12 receives the control information transmitted by each child device 20. The communication unit 12 can include a transmission buffer and a reception buffer. Details of the control information will be described later.

記憶部13は、所定の情報を記憶する。より具体的には、記憶部13は、親機10を識別する識別ID(制御情報を送信する場合の送信局ID)、制御情報の送信順序(通常は、0)、各子機20が制御情報(所定の制御指令)を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリア、所定の制御指令などを記憶する。   The storage unit 13 stores predetermined information. More specifically, the storage unit 13 controls the identification ID for identifying the master device 10 (transmitting station ID when transmitting control information), the transmission order of control information (usually 0), and the control of each slave device 20. A flag area in which a reception completion flag indicating that information (predetermined control command) has been received can be recorded for each child device, a predetermined control command, and the like are stored.

演算部14は、子機20から受信したフラグエリア内の受信済フラグを、子機毎に論理和演算を行う。演算部14による演算処理の詳細は後述する。   The calculation unit 14 performs a logical sum operation on the received flag in the flag area received from the slave 20, for each slave. Details of the arithmetic processing by the arithmetic unit 14 will be described later.

判定部15は、通信部12で受信した制御情報から抽出したフラグエリア内の子機毎の受信済フラグに基づいて、各子機20が所定の制御指令を受信したか否かを判定する。判定部15による判定処理の詳細は後述する。   The determination unit 15 determines whether or not each slave device 20 has received a predetermined control command based on the reception completion flag for each slave device within the flag area extracted from the control information received by the communication unit 12. Details of the determination processing by the determination unit 15 will be described later.

図3は本実施の形態の子機20の構成の一例を示すブロック図である。子機20は、子機20全体を制御する制御部21、通信部22、記憶部23、更新部24、決定部25、設定部26などを備える。   FIG. 3 is a block diagram showing an example of the configuration of the child device 20 of the present embodiment. The child device 20 includes a control unit 21, a communication unit 22, a storage unit 23, an updating unit 24, a determining unit 25, a setting unit 26, and the like that control the entire child device 20.

通信部22は、送信部及び受信部としての機能を有し、親機10及び他の子機20との間の通信を行う。通信部22は、親機10及び他の子機20に対して一斉(同時に)に制御情報を送信することができる。また、通信部22は、親機10及び他の子機20が送信した制御情報を受信する。通信部22は、送信バッファ及び受信バッファを備えることができる。   The communication unit 22 has a function as a transmission unit and a reception unit, and performs communication with the master device 10 and another slave device 20. The communication unit 22 can transmit the control information to the master device 10 and the other slave devices 20 all at once (simultaneously). In addition, the communication unit 22 receives the control information transmitted by the parent device 10 and the other child device 20. The communication unit 22 can include a transmission buffer and a reception buffer.

記憶部23は、子機20(自身)を識別する識別ID(制御情報を送信する場合の送信局ID)、子機20(自身)が制御情報を送信する際の送信順序、各子機20が制御情報(所定の制御指令)を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリア、所定の制御指令などを記憶する。   The storage unit 23 includes an identification ID (transmission station ID when transmitting control information) that identifies the slave 20 (self), a transmission order when the slave 20 (self) transmits control information, each slave 20. Stores a received flag indicating that control information (predetermined control command) has been received by each slave unit, a predetermined control command, and the like.

更新部24は、通信部22で制御情報を受信する都度、受信した制御情報から抽出したフラグエリア、記憶部23に記憶したフラグエリア及び子機20(自身)が所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って記憶部23に記憶したフラグエリアを更新する。更新部24による更新処理の詳細は後述する。   Each time the update unit 24 receives the control information by the communication unit 22, the flag area extracted from the received control information, the flag area stored in the storage unit 23, and the slave unit 20 (self) have received a predetermined control command. The received flag indicating is subjected to a logical sum operation for each child device to update the flag area stored in the storage unit 23. Details of the update processing by the update unit 24 will be described later.

決定部25は、通信部22で受信した制御情報から抽出した送信順位及び子機20(自身)の送信順位に基づいて、子機20(自身)が制御情報を送信する送信時点を決定する。   The determination unit 25 determines the transmission time point at which the slave device 20 (self) transmits the control information, based on the transmission order extracted from the control information received by the communication unit 22 and the transmission order of the slave device 20 (self).

設定部26は、子機20(自身)が制御情報を送信する送信順位を設定する。   The setting unit 26 sets the transmission order in which the slave device 20 (self) transmits the control information.

図4は本実施の形態の通信システムの通信方法の一例を示す模式図である。図4では、便宜上、通信システムが、親機10と3台の子機20a、20b、20cで構成されているとする。子機20a、20b、20cを、子機1、子機2、子機3と称し、子機1、2、3の送信順位を1、2、3とする。なお、親機10は最初に制御情報を送信するので、送信順位を0とする。また、無線機(親機10及び子機20a、20b、20c)の送信間隔をT(例えば、100msなど)とする。なお、子機20の数は3台に限定されるものではなく、1台の点滅灯中継装置(1系統)に対して設置される点滅灯の台数に応じて、例えば、50台、100台などとすることができる。   FIG. 4 is a schematic diagram showing an example of a communication method of the communication system according to the present embodiment. In FIG. 4, for convenience, it is assumed that the communication system is composed of the master device 10 and three slave devices 20a, 20b, 20c. The slave units 20a, 20b, and 20c are referred to as slave unit 1, slave unit 2, and slave unit 3, and the transmission order of the slave units 1, 2, and 3 is 1, 2, and 3. Since the parent device 10 first transmits the control information, the transmission order is set to 0. Further, the transmission interval of the wireless device (the master device 10 and the slave devices 20a, 20b, 20c) is set to T (for example, 100 ms). Note that the number of slave units 20 is not limited to three, and depending on the number of blinking lights installed for one blinking light relay device (one system), for example, 50 or 100 units. And so on.

まず、親機10が、全ての子機に対して一斉に(同時に)制御情報を送信する(符号A)。各子機1〜3は、制御情報を受信する。各子機1〜3は、親機10が送信した制御情報を受信し、受信した制御情報から抽出した送信順位(親機:0)に基づき、自身の送信順位を決定する。図4の例では、子機1が送信順位1(親機の次の順位)であるので、親機10の送信時点から時間Tが経過した時点で、子機1が制御情報を親機10及び他の子機2、3へ送信する(符号B)。以下、同様に、時間Tが経過した時点で、子機2が親機10及び他の子機1、3へ制御情報を送信し(符号C)、さらに時間Tが経過した時点で、子機3が親機10及び他の子機1、2へ制御情報を送信する(符号D)。   First, the master device 10 transmits the control information to all the slave devices simultaneously (simultaneously) (reference A). Each child device 1 to 3 receives the control information. Each of the child devices 1 to 3 receives the control information transmitted by the parent device 10, and determines its own transmission order based on the transmission order (parent device: 0) extracted from the received control information. In the example of FIG. 4, since the handset 1 has the transmission order 1 (the order next to the handset), the handset 1 sends the control information to the handset 10 when the time T elapses from the time when the handset 10 transmits. And other slave units 2 and 3 (reference B). Hereinafter, similarly, when the time T has elapsed, the child device 2 transmits control information to the parent device 10 and the other child devices 1 and 3 (reference numeral C), and when the time T has further elapsed, the child device 3 transmits control information to the master device 10 and the other slave devices 1 and 2 (reference numeral D).

図5は本実施の形態の通信システムで使用する制御情報のフォーマットの一例を示す説明図である。制御情報は、ヘッダ、フラグエリア、制御文の各フィールドで構成されている。便宜上、子機の数を3台とする。ヘッダには、制御情報を送信した送信局ID(親機10又は子機20の識別ID)、制御情報を送信した親機10又は子機20の送信順位などが含まれる。   FIG. 5 is an explanatory diagram showing an example of a format of control information used in the communication system of the present embodiment. The control information is composed of header, flag area, and control statement fields. For convenience, the number of slave units is three. The header includes a transmitting station ID that transmitted the control information (identification ID of the master device 10 or the slave device 20), a transmission order of the master device 10 or the slave device 20 that transmitted the control information, and the like.

フラグエリアは、子機の数をNとすると、例えば、Nビットのデータエリアとすることができ、フラグエリアに記録される受信フラグは、例えば、1(受信済フラグ)又は0(未受信フラグ)とすることができる。図5の例では、子機20が3台なので、子機1、子機2、子機3それぞれ1ビットの領域が割り当てられている。   The flag area can be, for example, an N-bit data area when the number of slave units is N, and the reception flag recorded in the flag area is, for example, 1 (received flag) or 0 (unreceived flag). ) Can be. In the example of FIG. 5, since there are three slave units 20, a 1-bit area is allocated to each of the slave unit 1, the slave unit 2, and the slave unit 3.

制御文には、所定の制御指令が格納される。所定の制御指令は、例えば、点滅灯120を、例えば、常時点灯、点滅点灯、交互点灯あるいは流れ表示させるべく制御するための指令である。   A predetermined control command is stored in the control statement. The predetermined control command is, for example, a command for controlling the blinking lamp 120 so as to be constantly lit, blinking lit, alternate lit, or flow-displayed, for example.

図5に示すように、制御情報には、各点滅灯120を制御するための制御指令、及び各点滅灯120(子機20)が制御指令を受信したか否かを示す受信フラグ(監視)の両方の情報が含まれる。   As shown in FIG. 5, the control information includes a control command for controlling each blinking lamp 120, and a reception flag (monitoring) indicating whether each blinking lamp 120 (slave unit 20) has received the control instruction. Both informations are included.

親機と複数の子機とが、1:1通信を行う場合には、子機の数をNとすると、制御(制御指令の送信)と監視(受信確認)を併せて2×Nの通信回数が必要となる。1回の通信に要する時間をTとすると、全ての子機との通信時間は、2×N×Tとなる。なお、受信不良などの通信不良は考慮していない。   When the master unit and a plurality of slave units perform 1: 1 communication, assuming that the number of slave units is N, communication (control command transmission) and monitoring (reception confirmation) are combined in 2 × N communication. The number of times is required. When the time required for one communication is T, the communication time with all the slaves is 2 × N × T. Note that communication failure such as reception failure is not taken into consideration.

一方、本実施の形態の通信システムでは、図4に示すように、親機10から全ての子機20に対して1回の送信で制御情報が送信されるので、制御に要する時間はTとなる。なお、受信不良などの通信不良は考慮していない。すなわち、全ての子機20が制御指令を取得するまでの時間を大幅に短縮することができる。また、各子機が制御指令を受信したかの確認(監視)に要する時間は、子機の数をNとするとN×Tとなり、全ての子機との通信時間は、(1+N)×Tとなる。すなわち、制御と監視の全体としての通信時間を大幅に短縮することができる。   On the other hand, in the communication system according to the present embodiment, as shown in FIG. 4, since the control information is transmitted from the master device 10 to all the slave devices 20 in one transmission, the time required for control is T. Become. Note that communication failure such as reception failure is not taken into consideration. That is, the time required for all the slaves 20 to acquire the control command can be significantly shortened. Also, the time required to confirm (monitor) whether each slave has received the control command is N × T, where N is the number of slaves, and the communication time with all slaves is (1 + N) × T. Becomes That is, the communication time as a whole of control and monitoring can be significantly shortened.

次に、本実施の形態の通信システムの動作について説明する。   Next, the operation of the communication system of the present embodiment will be described.

図6は本実施の形態の通信システムによる制御及び監視の第1例を示す模式図である。図6の例では、便宜上、子機20は3台とする。また、制御情報の送信順位は、親機0、子機1、子機3、子機2とする。送信電文は、ヘッダ及びフラグエリアを図示している。なお、制御指令は、同じ内容のものが送信されるので省略している。また、本明細書において、制御は、親機10が、制御情報(制御指令)を各子機20へ送信して点滅灯120を制御することを意味し、監視は、親機10が、子機20が制御情報(制御指令)を受信したことを確認することを意味する。   FIG. 6 is a schematic diagram showing a first example of control and monitoring by the communication system of the present embodiment. In the example of FIG. 6, for convenience, the number of slave units 20 is three. Further, the transmission order of the control information is set to the master unit 0, the slave unit 1, the slave unit 3, and the slave unit 2. The transmission message illustrates the header and the flag area. The control command is omitted because it has the same content. Further, in the present specification, control means that the master device 10 transmits control information (control command) to each slave device 20 to control the flashing lamp 120, and monitoring means that the master device 10 controls the slave device 20. It means to confirm that the machine 20 has received the control information (control command).

時点t0において、親機0は送信電文を子機1、2、3へ送信する。子機1〜3は、送信電文を受信する。親機0が送信した送信電文は、親機の送信局ID:0、送信順位:0、フラグエリア[0、0、0](子機1〜3の受信フラグ:0、0、0(初期値))となっている。   At time t0, the master device 0 transmits a transmission message to the slave devices 1, 2, and 3. The cordless handsets 1 to 3 receive the transmission message. The transmission message transmitted by the base unit 0 includes a transmission station ID of the base unit: 0, a transmission order: 0, a flag area [0, 0, 0] (reception flags of the handset units 1 to 3, 0, 0, 0 (initial Value)).

子機1は、送信電文を受信すると、子機1の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機1が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、0]で記憶したフラグエリアを更新する。   When the mobile device 1 receives the transmission message, the update unit 24 of the mobile device 1 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 1 has received a control command, a flag stored in a flag area [1, 0, 0] obtained by performing an OR operation for each handset. Update the area.

子機2は、送信電文を受信すると、子機2の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[0、1、0]で記憶したフラグエリアを更新する。   When the mobile device 2 receives the transmission message, the updating unit 24 of the mobile device 2 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 2 has received a control command, a flag stored in a flag area [0, 1, 0] obtained by performing an OR operation for each handset. Update the area.

子機3は、送信電文を受信すると、子機3の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[0、0、1]で記憶したフラグエリアを更新する。   When the mobile device 3 receives the transmission message, the updating unit 24 of the mobile device 3 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 2 has received the control command, a flag stored in a flag area [0, 0, 1] obtained by performing an OR operation for each handset. Update the area.

次に、時点t1(例えば、時点t0から時間T経過時点)において、送信順位が親機0の次である子機1が、送信電文を親機0及び他の子機2、3へ送信する。親機0、子機2、3は送信電文を受信する。子機1が送信した送信電文は、子機1の送信局ID:1、送信順位:1、フラグエリア[1、0、0]となっている。   Next, at time t1 (for example, when time T has elapsed from time t0), handset 1 having a transmission order next to base unit 0 transmits a transmission message to base unit 0 and other handset units 2 and 3. . The master device 0 and the slave devices 2 and 3 receive the transmission message. The transmission message transmitted by the child device 1 includes the transmitting station ID of the child device 1, the transmission order: 1, and the flag area [1, 0, 0].

子機2は、送信電文を受信すると、子機2の更新部24は、受信したフラグエリア[1、0、0]と、記憶部23に記憶したフラグエリア[0、1、0]と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、1、0]で記憶したフラグエリアを更新する。   When the mobile device 2 receives the transmission message, the updating unit 24 of the mobile device 2 receives the flag area [1, 0, 0] and the flag area [0, 1, 0] stored in the storage unit 23, The flag area [1, 1, 0] obtained by performing the logical sum operation for each slave unit with the received flag [1] indicating that the slave unit 2 has received the control command is updated. .

子機3は、送信電文を受信すると、子機3の更新部24は、受信したフラグエリア[1、0、0]と、記憶部23に記憶したフラグエリア[0、0、1]と、子機3が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、1]で記憶したフラグエリアを更新する。   When the slave 3 receives the transmission message, the updating unit 24 of the slave 3 receives the flag area [1, 0, 0] and the flag area [0, 0, 1] stored in the storage unit 23. The flag area [1, 0, 1] obtained by performing the logical sum operation for each slave unit with the received flag [1] indicating that the slave unit 3 has received the control command is updated. .

次に、時点t2(例えば、時点t1から時間T経過時点)において、送信順位が子機1の次である子機3が、送信電文を親機0及び他の子機1、2へ送信する。親機0、子機1、2は送信電文を受信する。子機3が送信した送信電文は、子機3の送信局ID:3、送信順位:2、フラグエリア[1、0、1]となっている。   Next, at a time point t2 (for example, when a time T has elapsed from the time point t1), the handset 3 whose transmission order is next to the handset 1 transmits a transmission message to the base unit 0 and the other handset 1 and 2. . The base unit 0 and the handset units 1 and 2 receive the transmission message. The transmission message transmitted by the handset 3 has the transmitting station ID of the handset 3, ID: 3, transmission order: 2, and flag area [1, 0, 1].

子機1は、送信電文を受信すると、子機1の更新部24は、受信したフラグエリア[1、0、1]と、記憶部23に記憶したフラグエリア[1、0、0]と、子機1が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、1]で記憶したフラグエリアを更新する。   When the slave 1 receives the transmission message, the updating unit 24 of the slave 1 receives the flag area [1, 0, 1] and the flag area [1, 0, 0] stored in the storage unit 23, The flag area [1, 0, 1] obtained by performing the logical sum operation for each slave unit with the received flag [1] indicating that the slave unit 1 has received the control command is updated. .

子機2は、送信電文を受信すると、子機2の更新部24は、受信したフラグエリア[1、0、1]と、記憶部23に記憶したフラグエリア[1、1、0]と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、1、1]で記憶したフラグエリアを更新する。   When the mobile device 2 receives the transmission message, the updating unit 24 of the mobile device 2 receives the flag area [1, 0, 1] and the flag area [1, 1, 0] stored in the storage unit 23, The flag area [1, 1, 1] obtained by performing a logical sum operation for each slave with the received flag [1] indicating that the slave 2 has received the control command is updated. .

次に、時点t3(例えば、時点t2から時間T経過時点)において、送信順位が子機3の次である子機2が、送信電文を親機0及び他の子機1、3へ送信する。親機0、子機1、3は送信電文を受信する。子機2が送信した送信電文は、子機2の送信局ID:2、送信順位:3、フラグエリア[1、1、1]となっている。   Next, at a time point t3 (for example, when a time T has elapsed from the time point t2), the child device 2 having a transmission order next to the child device 3 transmits a transmission message to the parent device 0 and the other child devices 1 and 3. . The master device 0 and the slave devices 1 and 3 receive the transmission message. The transmission message transmitted by the child device 2 has the transmitting station ID of the child device 2, the transmission order: 3, and the flag area [1, 1, 1].

親機0は、子機2が送信した送信電文を受信する。受信したフラグエリア[1、1、1]となっているので、親機0の判定部15は、全ての子機1〜3が、送信電文(制御指令)を受信したことを判定することができる(監視を行うことができる)。   The master device 0 receives the transmission message transmitted by the slave device 2. Since the received flag area is [1, 1, 1], the determination unit 15 of the master device 0 can determine that all the slave devices 1 to 3 have received the transmission message (control command). Can (can monitor).

上述のように、本実施の形態に通信システムによれば、子機20の数をN(図6の例では、N=3)とすると、各子機20は、制御情報を最大N回受信することができるので、環境変化に応じて通信が不安定になったとしても、制御指令の受信成功率が高くなり通信不良の影響を低減することができる。また、親機10は、所定の制御指令を受信したことを示す受信済フラグが記録されたフラグエリアを各子機20から最大N回受信することができるので、制御指令の受信が成功したことを確実に把握することができる。   As described above, according to the communication system of the present embodiment, assuming that the number of slave units 20 is N (N = 3 in the example of FIG. 6), each slave unit 20 receives control information up to N times. Therefore, even if the communication becomes unstable due to the environmental change, the success rate of receiving the control command is increased and the influence of the communication failure can be reduced. Further, since the master device 10 can receive the flag area in which the received flag indicating that the predetermined control command has been received is recorded from each slave device 20 up to N times, the reception of the control command has succeeded. Can be surely grasped.

図7は比較例としての通信システムの通信回数の一例を示す模式図である。便宜上、通信システムは、親機0と4台の子機1〜4で構成されているとする。図7の通信システムは、1:1通信方式を採用するものである。また、親機0と子機3との間は、子機2又は子機4による中継を要するとする。親機0は、子機1との間で、制御(指令の送信)と監視(受信の確認)の2回の通信を要する。同様に、親機0と、子機2、子機4との間でも制御と監視の2回の通信を要する。また、親機0と子機3との間では、子機2によって中継させるので、親機0と子機3との間では、制御と監視の4回の通信を要する。すなわち、親機0が全ての子機1〜4と通信を行うためには、制御が5回、監視が5回、合計で10回の通信が必要となる。   FIG. 7 is a schematic diagram showing an example of the number of times of communication in a communication system as a comparative example. For convenience, it is assumed that the communication system is composed of the master unit 0 and four slave units 1 to 4. The communication system of FIG. 7 adopts the 1: 1 communication method. Further, it is assumed that the relay by the slave 2 or the slave 4 is required between the master 0 and the slave 3. The master unit 0 needs to communicate with the slave unit 1 twice, that is, control (transmission of a command) and monitoring (confirmation of reception). Similarly, communication between the master unit 0, the slave unit 2, and the slave unit 4 requires two communications, that is, control and monitoring. Further, since the slave unit 2 relays between the master unit 0 and the slave unit 3, communication between the master unit 0 and the slave unit 3 requires four times of control and monitoring. That is, in order for the master device 0 to communicate with all the slave devices 1 to 4, it is necessary to perform communication 5 times for control, 5 times for monitoring, and 10 times in total.

図8は本実施の形態の通信システムの通信回数の一例を示す模式図である。親機0と子機3との間は、子機2又は子機4による中継を要するとする。親機0は、子機1、2、4に対して一斉に(同時に)制御を行うことができる。また、子機3に対しては、子機2の送信時点に伝達されるので、親機0は、全ての子機1〜4に対して、1回の通信によって制御を行うことができる。また、親機0は、各子機1〜4から受信確認をする必要があるので、監視に要する通信は4回となる。すなわち、親機0が全ての子機1〜4と通信を行うためには、制御が1回、監視が4回、合計で5回の通信に低減することができる。   FIG. 8 is a schematic diagram showing an example of the number of times of communication in the communication system according to the present embodiment. It is assumed that a relay by the slave unit 2 or the slave unit 4 is required between the master unit 0 and the slave unit 3. The master unit 0 can control the slave units 1, 2, and 4 simultaneously (simultaneously). Further, since it is transmitted to the child device 3 at the time of transmission of the child device 2, the parent device 0 can control all the child devices 1 to 4 by one communication. Further, since the master device 0 needs to confirm the reception from each of the slave devices 1 to 4, the communication required for monitoring is four times. That is, in order for the master unit 0 to communicate with all the slave units 1 to 4, the control can be reduced to once, the monitoring can be performed four times, and the communication can be reduced to five times in total.

上述のように、本実施の形態の通信システムによれば、全ての子機が制御指令を取得するまでの時間を大幅に短縮すること、監視応答時間(図8の例では、監視が4回)を短縮することが可能となり、全体として全ての子機20(点滅灯120)との間の通信時間を大幅に短縮することができる。   As described above, according to the communication system of the present embodiment, it is possible to significantly reduce the time required for all the slave units to acquire the control command, and the monitoring response time (in the example of FIG. 8, monitoring is performed four times). ) Can be shortened, and the communication time with all the slaves 20 (flashing lights 120) can be significantly shortened as a whole.

図9は本実施の形態の通信システムによる制御及び監視の第2例を示す模式図である。図6に示す第1例との相違点は、環境変化等の影響により、子機1、2、3が送信電文を受信することができない場合を想定している点である。   FIG. 9 is a schematic diagram showing a second example of control and monitoring by the communication system of this embodiment. The difference from the first example shown in FIG. 6 is that it is assumed that the slave units 1, 2, and 3 cannot receive the transmission message due to the influence of environmental changes and the like.

時点t0において、親機0は送信電文を子機1、2、3へ送信する。子機1、2、3は、送信電文を受信する。親機0が送信した送信電文は、親機の送信局ID:0、送信順位:0、フラグエリア[0、0、0](子機1〜3の受信フラグ:0、0、0(初期値))となっている。   At time t0, the master device 0 transmits a transmission message to the slave devices 1, 2, and 3. The cordless handsets 1, 2, and 3 receive the transmission message. The transmission message transmitted by the base unit 0 includes a transmission station ID of the base unit: 0, a transmission order: 0, a flag area [0, 0, 0] (reception flags of the handset units 1 to 3, 0, 0, 0 (initial Value)).

子機1は、送信電文を受信すると、子機1の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機1が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、0]で記憶したフラグエリアを更新する。   When the mobile device 1 receives the transmission message, the update unit 24 of the mobile device 1 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 1 has received a control command, a flag stored in a flag area [1, 0, 0] obtained by performing an OR operation for each handset. Update the area.

子機2は、送信電文を受信すると、子機2の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[0、1、0]で記憶したフラグエリアを更新する。   When the mobile device 2 receives the transmission message, the updating unit 24 of the mobile device 2 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 2 has received a control command, a flag stored in a flag area [0, 1, 0] obtained by performing an OR operation for each handset. Update the area.

子機3は、送信電文を受信すると、子機3の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機3が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[0、0、1]で記憶したフラグエリアを更新する。   When the mobile device 3 receives the transmission message, the updating unit 24 of the mobile device 3 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 3 has received the control command, a flag stored in a flag area [0, 0, 1] obtained by performing an OR operation for each handset. Update the area.

次に、時点t1(例えば、時点t0から時間T経過時点)において、送信順位が親機0の次である子機1が、送信電文を親機0及び他の子機2、3へ送信する。子機2は送信電文を受信するが、親機0、子機3は送信電文を受信することができないとする。子機1が送信した送信電文は、子機1の送信局ID:1、送信順位:1、フラグエリア[1、0、0]となっている。   Next, at time t1 (for example, when time T has elapsed from time t0), handset 1 having a transmission order next to base unit 0 transmits a transmission message to base unit 0 and other handset units 2 and 3. . It is assumed that the slave unit 2 receives the transmission message, but the master unit 0 and the slave unit 3 cannot receive the transmission message. The transmission message transmitted by the child device 1 includes the transmitting station ID of the child device 1, the transmission order: 1, and the flag area [1, 0, 0].

子機2は、送信電文を受信すると、子機2の更新部24は、受信したフラグエリア[1、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、1、0]で記憶したフラグエリアを更新する。   When the mobile device 2 receives the transmission message, the update unit 24 of the mobile device 2 receives the flag area [1, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 2 has received the control command, a flag stored in a flag area [1, 1, 0] obtained by performing an OR operation for each handset. Update the area.

次に、時点t2(例えば、時点t1から時間T経過時点)において、送信順位が親機0から2番目である子機3が、送信電文を親機0及び他の子機1、2へ送信する。親機0は送信電文を受信するが、子機1、2は送信電文を受信することができないとする。子機3が送信した送信電文は、子機3の送信局ID:3、送信順位:2、フラグエリア[0、0、1]となっている。   Next, at time t2 (for example, when time T has elapsed from time t1), the child device 3 having the second transmission order from the parent device 0 transmits the transmission message to the parent device 0 and the other child devices 1 and 2. To do. It is assumed that the master device 0 receives the transmission message but the slave devices 1 and 2 cannot receive the transmission message. The transmission message transmitted by the child device 3 has the transmitting station ID of the child device 3, the transmission order: 2, and the flag area [0, 0, 1].

次に、時点t3(例えば、時点t2から時間T経過時点)において、送信順位が親機0から3番目である子機2が、送信電文を親機0及び他の子機1、3へ送信する。親機0は送信電文を受信するが、子機1、3は送信電文を受信することができないとする。子機2が送信した送信電文は、子機2の送信局ID:2、送信順位:3、フラグエリア[1、1、0]となっている。   Next, at time t3 (for example, when time T has elapsed from time t2), the child device 2 having the third transmission order from the parent device 0 transmits the transmission message to the parent device 0 and the other child devices 1 and 3. To do. It is assumed that the master device 0 receives the transmission message but the slave devices 1 and 3 cannot receive the transmission message. The transmission message transmitted by the handset 2 has the transmission station ID of the handset 2, ID: 2, transmission order: 3, and flag area [1, 1, 0].

親機0は、子機1が送信した送信電文を受信することができていない。しかし、親機0は、全ての子機のうちの一部の子機(図9の例では、子機2、3)が送信した送信電文を受信することができている。   The base unit 0 cannot receive the transmission message transmitted by the handset unit 1. However, the master device 0 can receive the transmission message transmitted by some slave devices (slave devices 2 and 3 in the example of FIG. 9) of all the slave devices.

親機10の演算部14は、複数の子機の一部の子機から受信したフラグエリア内の受信済フラグを、当該一部の子機毎に論理和演算を行う。図9の例では、子機3から受信したフラグエリア[0、0、1]と、子機2から受信したフラグエリア[1、1、0]とを子機毎に論理和演算することにより、フラグエリア[1、1、1]を得ることができる。   The arithmetic unit 14 of the parent device 10 performs a logical sum operation on the received flags in the flag areas received from some of the child devices of the plurality of child devices for each of the some child devices. In the example of FIG. 9, the flag area [0, 0, 1] received from the handset 3 and the flag area [1, 1, 0] received from the handset 2 are ORed for each handset. , Flag area [1, 1, 1] can be obtained.

親機10の判定部15は、演算部14での演算結果により複数の子機それぞれに対応する受信済フラグがある場合、複数の子機が所定の制御指令を受信したと判定する。図9の例では、論理和演算の結果、フラグエリア[1、1、1]を得ることができたので、判定部15は、全ての子機が所定の制御指令を受信したと判定することができる。   The determination unit 15 of the parent device 10 determines that the plurality of child devices have received the predetermined control command when there is a received flag corresponding to each of the plurality of child devices according to the calculation result of the calculation unit 14. In the example of FIG. 9, since the flag area [1, 1, 1] can be obtained as a result of the OR operation, the determination unit 15 determines that all the slave units have received the predetermined control command. You can

上述のように、本実施の形態の通信システムによれば、各子機が制御指令の送信と、他の子機の制御指令の受信の成否を示す受信フラグの送信とを同時に行うので、親機0が、子機1が送信したフラグエリアを受信することができなかった場合でも、子機2、3が送信したフラグエリアに基づいて各子機1〜3の受信確認を収集することができる。   As described above, according to the communication system of the present embodiment, each slave device simultaneously transmits the control command and the reception flag indicating the success or failure of the reception of the control command of the other slave device. Even if the mobile device 0 cannot receive the flag area transmitted by the mobile device 1, the reception confirmation of each of the mobile devices 1 to 3 can be collected based on the flag area transmitted by the mobile devices 2 and 3. it can.

図10は本実施の形態の通信システムによる制御及び監視の第3例を示す模式図である。図6に示す第1例との相違点は、環境変化等の影響により、子機2が送信電文を受信することができない場合を想定している点である。   FIG. 10 is a schematic diagram showing a third example of control and monitoring by the communication system of this embodiment. The difference from the first example shown in FIG. 6 is that it is assumed that the handset 2 cannot receive the transmission message due to the influence of environmental changes and the like.

時点t0において、親機0は送信電文を子機1、2、3へ送信する。子機1、3は、送信電文を受信する。子機2は、送信電文を受信することができていないとする。親機0が送信した送信電文は、親機の送信局ID:0、送信順位:0、フラグエリア[0、0、0](子機1〜3の受信フラグ:0、0、0(初期値))となっている。   At time t0, the master device 0 transmits a transmission message to the slave devices 1, 2, and 3. The cordless handsets 1 and 3 receive the transmission message. It is assumed that the handset 2 is not able to receive the transmission message. The transmission message transmitted by the base unit 0 includes a transmission station ID of the base unit: 0, a transmission order: 0, a flag area [0, 0, 0] (reception flags of the handset units 1 to 3, 0, 0, 0 (initial Value)).

子機1は、送信電文を受信すると、子機1の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機1が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、0]で記憶したフラグエリアを更新する。   When the mobile device 1 receives the transmission message, the update unit 24 of the mobile device 1 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 1 has received a control command, a flag stored in a flag area [1, 0, 0] obtained by performing an OR operation for each handset. Update the area.

子機3は、送信電文を受信すると、子機3の更新部24は、受信したフラグエリア[0、0、0]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機3が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[0、0、1]で記憶したフラグエリアを更新する。   When the mobile device 3 receives the transmission message, the updating unit 24 of the mobile device 3 receives the flag area [0, 0, 0] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 3 has received the control command, a flag stored in a flag area [0, 0, 1] obtained by performing an OR operation for each handset. Update the area.

次に、時点t1(例えば、時点t0から時間T経過時点)において、送信順位が親機0の次である子機1が、送信電文を親機0及び他の子機2、3へ送信する。親機0、子機3は送信電文を受信する。子機2は送信電文を受信することができていないとする。子機1が送信した送信電文は、子機1の送信局ID:1、送信順位:1、フラグエリア[1、0、0]となっている。   Next, at time t1 (for example, when time T has elapsed from time t0), handset 1 having a transmission order next to base unit 0 transmits a transmission message to base unit 0 and other handset units 2 and 3. . The base unit 0 and the handset unit 3 receive the transmission message. It is assumed that the handset 2 is not able to receive the transmission message. The transmission message transmitted by the child device 1 includes the transmitting station ID of the child device 1, the transmission order: 1, and the flag area [1, 0, 0].

子機3は、送信電文を受信すると、子機3の更新部24は、受信したフラグエリア[1、0、0]と、記憶部23に記憶したフラグエリア[0、0、1]と、子機3が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、1]で記憶したフラグエリアを更新する。   When the slave 3 receives the transmission message, the updating unit 24 of the slave 3 receives the flag area [1, 0, 0] and the flag area [0, 0, 1] stored in the storage unit 23. The flag area [1, 0, 1] obtained by performing the logical sum operation for each slave unit with the received flag [1] indicating that the slave unit 3 has received the control command is updated. .

次に、時点t2(例えば、時点t1から時間T経過時点)において、送信順位が子機1の次である子機3が、送信電文を親機0及び他の子機1、2へ送信する。親機0、子機1は送信電文を受信する。子機2は送信電文を受信することができていないとする。子機3が送信した送信電文は、子機3の送信局ID:3、送信順位:2、フラグエリア[1、0、1]となっている。   Next, at a time point t2 (for example, when a time T has elapsed from the time point t1), the handset 3 whose transmission order is next to the handset 1 transmits a transmission message to the base unit 0 and the other handset 1 and 2. . The master unit 0 and the slave unit 1 receive the transmission message. It is assumed that the handset 2 is not able to receive the transmission message. The transmission message transmitted by the handset 3 has the transmitting station ID of the handset 3, ID: 3, transmission order: 2, and flag area [1, 0, 1].

子機1は、送信電文を受信すると、子機1の更新部24は、受信したフラグエリア[1、0、1]と、記憶部23に記憶したフラグエリア[1、0、0]と、子機1が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、0、1]で記憶したフラグエリアを更新する。   When the slave 1 receives the transmission message, the updating unit 24 of the slave 1 receives the flag area [1, 0, 1] and the flag area [1, 0, 0] stored in the storage unit 23, The flag area [1, 0, 1] obtained by performing the logical sum operation for each slave unit with the received flag [1] indicating that the slave unit 1 has received the control command is updated. .

次に、時点t3(例えば、時点t2から時間T経過時点)において、送信順位が子機3の次である子機2が、送信電文を送信する順番であるが、子機2は、時点t0〜t2において送信電文を受信していないので、送信電文を送信することができない。   Next, at time t3 (for example, when time T has elapsed from time t2), it is the order in which the mobile device 2 having the transmission order next to the mobile device 3 transmits the transmission message, but at the time t0. Since the transmission message has not been received at t2, the transmission message cannot be transmitted.

親機0の判定部15は、複数の子機の送信時点が経過した後に、複数の子機が所定の制御指令を受信したか否かを判定する。例えば、無線機の送信間隔をTとし、子機の数をNとすると、複数の子機の送信時点は、親機が送信した時点からN×Tだけ経過した時点とすることができる。図10の例では、子機の数が4台なので、時点t0から4×Tだけ経過した時点で、親機0の判定部15は、全ての子機が所定の制御指令を受信したか否かを判定する。   The determination unit 15 of the parent device 0 determines whether or not the plurality of child devices have received a predetermined control command after the transmission time points of the plurality of child devices have passed. For example, assuming that the transmission interval of the wireless device is T and the number of slave devices is N, the transmission time of the plurality of slave devices can be the time when N × T has elapsed from the time when the master device transmitted. In the example of FIG. 10, since the number of slave units is four, the determination unit 15 of the master unit 0 determines whether all the slave units have received the predetermined control command when 4 × T has elapsed from the time t0. To determine.

各子機は、制御指令の送信と同時に、他の子機の制御指令の受信の成否を示す受信フラグも送信するので、例えば、1:1通信の場合に比べて、複数の子機の受信確認を短縮することができる。   Since each slave unit transmits a control command at the same time as transmitting a reception flag indicating success or failure of reception of control commands of other slave units, for example, as compared with the case of 1: 1 communication, reception of a plurality of slave units is performed. Confirmation can be shortened.

親機0は、受信したフラグエリア[1、0、1]となっているので、親機0の判定部15は、全ての子機1〜3のうち、子機2が、送信電文(制御指令)を受信することができていないと判定することができる。   Since the master unit 0 has the received flag area [1, 0, 1], the determination unit 15 of the master unit 0 determines that the slave unit 2 of all the slave units 1 to 3 transmits the transmission message (control message). It is possible to determine that the (command) has not been received.

図10に示すように、時点t5において、親機0は、送信電文を子機1、2、3へ送信する。子機1〜3は、送信電文を受信する。この場合、子機2は送信電文を受信することができるとする。親機0が送信した送信電文は、親機の送信局ID:0、送信順位:0、フラグエリア[1、0、1](時点t3までに受信したフラグの論理和)となっている。   As shown in FIG. 10, at the time point t5, the master device 0 transmits the transmission message to the slave devices 1, 2, and 3. The cordless handsets 1 to 3 receive the transmission message. In this case, the handset 2 can receive the transmission message. The transmission message transmitted by the master unit 0 has a transmission station ID of the master unit: 0, a transmission order: 0, and a flag area [1, 0, 1] (logical sum of flags received by time t3).

子機2は、送信電文を受信すると、子機2の更新部24は、受信したフラグエリア[1、0、1]と、記憶部23に記憶したフラグエリア[0、0、0](初期値)と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、1、1]で記憶したフラグエリアを更新する。   When the mobile device 2 receives the transmission message, the updating unit 24 of the mobile device 2 receives the flag area [1, 0, 1] and the flag area [0, 0, 0] stored in the storage unit 23 (initial Value) and a received flag [1] indicating that the handset 2 has received the control command, a flag stored in a flag area [1, 1, 1] obtained by performing an OR operation for each handset. Update the area.

図10に示すように、子機2は、時点t6において子機1が送信した送信電文を受信することができていない。また、子機2は、時点t7において子機3が送信した送信電文を受信することができていない。しかし、子機2は、時点t5において送信電文を受信することができているので(一度でも送信電文を受信することができているので)、子機2は、自身の送信時点を決定することができる。   As illustrated in FIG. 10, the handset 2 cannot receive the transmission message transmitted by the handset 1 at time t6. Moreover, the handset 2 cannot receive the transmission message transmitted by the handset 3 at time t7. However, since the handset 2 can receive the transmission message at the time t5 (because it can receive the transmission message even once), the handset 2 determines its own transmission time. You can

子機20の決定部25は、送信時点を、例えば、以下のようにすることができる。無線機の送信間隔をTとする。一の子機の送信順位が2である場合に、受信した送信順位が1であるときは、送信順位の差が1なので、当該子機の送信時点は、送信順位を受信した時点からTだけ経過した時点とすることができる。また、一の子機の送信順位が3である場合に、受信した送信順位が1であるときは、送信順位の差が2なので、当該子機の送信時点は、送信順位を受信した時点から2×Tだけ経過した時点とすることができる。   The determination unit 25 of the child device 20 can set the transmission time point as follows, for example. Let T be the transmission interval of the wireless device. When the transmission order of one child device is 2, and the received transmission order is 1, the difference in transmission order is 1. Therefore, the transmission time of the child device is T from the time when the transmission order is received. It can be the time when it has elapsed. In addition, when the transmission order of one child device is 3, when the received transmission order is 1, the difference in transmission order is 2. Therefore, the transmission time of the child machine is from the time when the transmission order is received. It can be the time when 2 × T has elapsed.

図10の例では、子機2が時点t5において受信した送信電文の送信順位は0である。一方、子機2の送信順位は3である。従って、子機2の送信時点は、時点t5から3×Tだけ経過した時点である時点t8であると決定することができる。このように、子機は一度でも送信電文(制御情報)を受信することができれば、自身の送信時点を決定することができ、送信電文(制御情報)を正しいタイミングで送信することができる。   In the example of FIG. 10, the transmission order of the transmission message received by the mobile device 2 at time t5 is 0. On the other hand, the transmission order of the handset 2 is 3. Therefore, it is possible to determine that the transmission time point of the handset 2 is the time point t8, which is the time point when 3 × T has elapsed from the time point t5. As described above, if the slave can receive the transmission message (control information) even once, it can determine the transmission time of itself and can transmit the transmission message (control information) at the correct timing.

時点t8において、子機2は、送信電文を親機0及び他の子機1、3へ送信する。子機2が送信した送信電文は、子機2の送信局ID:2、送信順位:3、フラグエリア[1、1、1]となっている。   At time t8, the slave 2 transmits the transmission message to the master 0 and the other slaves 1 and 3. The transmission message transmitted by the child device 2 has the transmitting station ID of the child device 2, the transmission order: 3, and the flag area [1, 1, 1].

親機0は、子機2が送信した送信電文を受信する。受信したフラグエリア[1、1、1]となっているので、親機0の判定部15は、全ての子機1〜3が、送信電文(制御指令)を受信したことを判定することができる(監視を行うことができる)。   The master device 0 receives the transmission message transmitted by the slave device 2. Since the received flag area is [1, 1, 1], the determination unit 15 of the master device 0 can determine that all the slave devices 1 to 3 have received the transmission message (control command). Can (can monitor).

図11は本実施の形態の通信システムの通信状態の一例を示す模式図である。便宜上、子機の数を6台とする。点滅灯120それぞれに組み込まれた子機1〜6が、所定の間隔で設置されているとする。点滅灯中継装置110に組み込まれた親機0が、子機3、4に近い地点に設置されているとする。   FIG. 11 is a schematic diagram showing an example of the communication state of the communication system of this embodiment. For convenience, the number of slave units is set to six. It is assumed that the child devices 1 to 6 incorporated in the blinking lights 120 are installed at predetermined intervals. It is assumed that the master device 0 incorporated in the blinking light relay device 110 is installed at a position near the slave devices 3 and 4.

時点t0において、親機0が一斉に制御情報を送信する。環境変化等に起因する電波状況によって、子機1、3は制御情報を受信することができず、子機2、4〜6は制御情報を受信することができたとする。便宜上、制御情報を受信することができた子機を破線で囲む。   At time point t0, master device 0 simultaneously transmits the control information. It is assumed that the cordless handsets 1 and 3 cannot receive the control information and the cordless handsets 2 and 4 to 6 can receive the control information due to radio wave conditions caused by environmental changes and the like. For convenience, the child device that has been able to receive the control information is surrounded by a broken line.

親機0の次の送信順位である子機1は、制御情報を受信することができないので、制御情報を送信することができない。   Since the slave device 1 having the next transmission order of the master device 0 cannot receive the control information, it cannot transmit the control information.

時点t1(時点t0から2×T時間経過した時点とする)において、送信順位である子機2は、制御情報を送信する。子機5、6は制御情報を受信することができず、子機1、3、4は制御情報を受信することができたとする。   At time t1 (assuming that 2 × T time has elapsed from time t0), the mobile device 2, which is the transmission order, transmits the control information. It is assumed that the slaves 5 and 6 cannot receive the control information, and the slaves 1, 3 and 4 can receive the control information.

時点t2(時点t1からT時間経過した時点とする)において、送信順位である子機3は、制御情報を送信する。子機1は制御情報を受信することができず、子機2、4〜6は制御情報を受信することができたとする。   At a time point t2 (a time point after a lapse of T time from the time point t1), the child device 3, which has the transmission order, transmits the control information. It is assumed that the slave unit 1 cannot receive the control information and the slave units 2, 4 to 6 can receive the control information.

時点t3(時点t2からT時間経過した時点とする)において、送信順位である子機4は、制御情報を送信する。子機2は制御情報を受信することができず、子機1、3、5、6は制御情報を受信することができたとする。   At time t3 (assuming that T time has elapsed from time t2), the child device 4, which is the transmission order, transmits the control information. It is assumed that the child device 2 cannot receive the control information and the child devices 1, 3, 5, and 6 can receive the control information.

時点t4(時点t3からT時間経過した時点とする)において、送信順位である子機5は、制御情報を送信する。子機1、3は制御情報を受信することができず、子機2、4、6は制御情報を受信することができたとする。   At time point t4 (assuming that a time T has elapsed from time point t3), the mobile device 5, which is the transmission order, transmits the control information. It is assumed that the slaves 1 and 3 cannot receive the control information, and the slaves 2, 4 and 6 can receive the control information.

時点t5(時点t4からT時間経過した時点とする)において、送信順位である子機6は、制御情報を送信する。子機1、2は制御情報を受信することができず、子機3〜5は制御情報を受信することができたとする。   At time point t5 (assuming that a time T has elapsed from time point t4), the mobile device 6, which is the transmission order, transmits the control information. It is assumed that the slaves 1 and 2 cannot receive the control information, and the slaves 3 to 5 can receive the control information.

この場合、子機1〜6の制御情報の受信回数は、順番に、2回、3回、3回、5回、4回、4回となる。   In this case, the number of times the slave units 1 to 6 receive the control information is 2 times, 3 times, 3 times, 5 times, 4 times and 4 times in order.

上述のように、本実施の形態の通信システムによれば、各子機は、何度も制御情報を受信する機会が与えられるので、環境変化によって電波が届かない状況が発生しても、制御情報を確実に受信することができる。   As described above, according to the communication system of the present embodiment, each slave is given the opportunity to receive the control information many times, so that even if the radio wave does not reach due to the environmental change, the control is controlled. Information can be reliably received.

次に、送信順位の設定について説明する。   Next, the setting of the transmission order will be described.

図12は比較例としての通信システムの送信順位の設定の一例を示す模式図である。便宜上、子機の数を6台とする。点滅灯120それぞれに組み込まれた子機1〜6が、所定の間隔Lで設置されているとする。点滅灯中継装置110に組み込まれた親機0が、子機1に近い地点(子機1からの距離をLとする)に設置されているとする。親機0からの距離は、子機1、2、3、4、5、6の順で長くなるとする。また、送信順位は、子機1、2、3、4、5、6の順で設定されているとする。また、無線機が送信する電波が確実に届く距離を、便宜上、3×Lとする。なお、実際には電波が届く距離はもっと長い。   FIG. 12 is a schematic diagram showing an example of setting the transmission order of a communication system as a comparative example. For convenience, the number of slave units is set to six. It is assumed that the child devices 1 to 6 incorporated in the blinking lights 120 are installed at a predetermined interval L. It is assumed that the master unit 0 incorporated in the blinking light relay device 110 is installed at a point near the slave unit 1 (the distance from the slave unit 1 is L). It is assumed that the distance from the master unit 0 becomes longer in the order of the slave units 1, 2, 3, 4, 5, and 6. It is also assumed that the transmission order is set in the order of the slave units 1, 2, 3, 4, 5, and 6. In addition, the distance over which the radio wave transmitted by the wireless device reliably reaches is set to 3 × L for convenience. In addition, the distance that radio waves can actually reach is longer.

1回目に親機0が制御情報を送信すると、子機1、2、3は確実に制御情報を受信することができるとする。2回目に子機1が制御情報を送信すると、子機2、3、4は確実に制御情報を受信することができる。3回目に子機2が制御情報を送信すると、子機3、4、5は確実に制御情報を受信することができる。4回目に子機3が制御情報を送信すると、子機4、5、6は確実に制御情報を受信することができる。   It is assumed that when the master device 0 transmits the control information for the first time, the slave devices 1, 2, and 3 can surely receive the control information. When the slave 1 transmits the control information for the second time, the slaves 2, 3, and 4 can surely receive the control information. When the slave unit 2 transmits the control information for the third time, the slave units 3, 4, and 5 can reliably receive the control information. When the slave unit 3 transmits the control information for the fourth time, the slave units 4, 5, and 6 can reliably receive the control information.

すなわち、親機0から最も離れた距離に設置された子機6が、確実に制御情報を受信するまでには、4回の通信回数を要する。   That is, four times of communication is required for the child device 6 installed at the farthest distance from the parent device 0 to reliably receive the control information.

図13は本実施の形態の通信システムの送信順位の設定の一例を示す模式図である。図12に示す第1例では、子機の設置順序に合わせて送信順位が設定される構成であったが、第2例では、所要数の子機を間引いて送信順位を設定する。すなわち、図13に示すように、子機1の送信順位が1であり、子機2、3を間引いて子機4が送信順位2となっている。同様に、子機5を間引いて子機6が送信順位3となっている。次に、親機0に近づく方向では、子機5を間引いて子機3が送信順位4となっている。次に、親機0から離れる方向では、子機5の送信順位が5となり、さらに親機0に近づく方向では、子機2が送信順位6となっている。   FIG. 13 is a schematic diagram showing an example of setting the transmission order of the communication system according to the present embodiment. In the first example shown in FIG. 12, the transmission order is set according to the installation order of the slaves, but in the second example, the transmission order is set by thinning out the required number of slaves. That is, as shown in FIG. 13, the transmission order of the handset 1 is 1, the handset 2 and 3 are thinned out, and the handset 4 has the transmission order 2. Similarly, the handset 5 is thinned out, and the handset 6 has the transmission rank 3. Next, in the direction of approaching the master unit 0, the slave unit 5 is thinned out and the slave unit 3 has the transmission rank 4. Next, in the direction away from the master unit 0, the transmission order of the slave unit 5 is 5, and in the direction further approaching the master unit 0, the slave unit 2 has the transmission order 6.

なお、距離が遠いか、あるいは近いかの判断は、例えば、親機0からの電波が確実に届く距離を境として行うことができる。   The determination as to whether the distance is long or short can be made, for example, on the basis of the distance at which the radio wave from the base unit 0 reliably reaches.

図13に示すように、1回目に親機0が制御情報を送信すると、子機1、2、3は確実に制御情報を受信することができるとする。2回目に子機1が制御情報を送信すると、子機2、3、4は確実に制御情報を受信することができる。3回目に子機4が制御情報を送信すると、子機5、6は確実に制御情報を受信することができる。   As shown in FIG. 13, when the master device 0 transmits the control information for the first time, the slave devices 1, 2, and 3 can reliably receive the control information. When the slave 1 transmits the control information for the second time, the slaves 2, 3, and 4 can surely receive the control information. When the slave unit 4 transmits the control information for the third time, the slave units 5 and 6 can reliably receive the control information.

すなわち、親機0から最も離れた距離に設置された子機6が、確実に制御情報を受信するまでには、3回の通信回数で足りる。図12の場合に比べて、通信回数が少なくなることがわかる。   That is, the number of times of communication of three times is sufficient for the child device 6 installed at the farthest distance from the parent device 0 to reliably receive the control information. It can be seen that the number of communications is smaller than that in the case of FIG.

親機10と子機20との間の距離が長くなると、環境変化に応じて通信不良となる可能性が高くなる。そこで、各子機20が設定部26を備えることにより、環境変化が生じる場合でも、子機20を設置した状態で最適な送信順位を設定することができる。   If the distance between the parent device 10 and the child device 20 becomes long, there is a high possibility that communication failure will occur due to environmental changes. Therefore, by providing each slave unit 20 with the setting unit 26, it is possible to set the optimum transmission order with the slave unit 20 installed even when the environment changes.

図14は本実施の形態の子機20による処理手順の一例を示すフローチャートである。以下では、便宜上、処理の主体を制御部21として説明する。制御部21は、制御情報の送信タイミングであるか否かを判定し(S11)、送信タイミングである場合(S11でYES)、自身の送信局ID、送信順位、更新したフラグエリア及び制御指令を、例えば、送信バッファに格納し(S12)、制御情報の送信処理を行う(S13)。送信タイミングでない場合(S11でNO)、制御部21は、後述のステップS14の処理を行う。   FIG. 14 is a flowchart showing an example of a processing procedure by the handset 20 of the present embodiment. Hereinafter, for convenience, the main body of processing will be described as the control unit 21. The control unit 21 determines whether or not it is the transmission timing of the control information (S11), and when it is the transmission timing (YES in S11), the transmission station ID, the transmission order, the updated flag area, and the control command are set. For example, the control information is stored in the transmission buffer (S12) and the control information is transmitted (S13). When it is not the transmission timing (NO in S11), the control unit 21 performs the process of step S14 described below.

制御部21は、制御情報を受信したか否かを判定し(S14)、制御情報を受信していない場合(S14でNO)、ステップS11の処理を続ける。   The control unit 21 determines whether the control information is received (S14), and when the control information is not received (NO in S14), the process of step S11 is continued.

制御情報を受信した場合(S14でYES)、制御部21は、受信した制御情報から制御指令を抽出し(S15)、フラグエリアを抽出する(S16)。制御部21は、親機の制御指令であるか否かを判定する(S17)。親機の制御指令でない場合(S17でNO)、制御部21は、抽出したフラグエリア、記憶部23に記憶したフラグエリア及び自身の受信フラグ(制御指令を受信したことを示す受信済フラグ)を論理和演算して、記憶部23に記憶したフラグエリアを更新し(S18)、後述のステップS20の処理を行う。   When the control information is received (YES in S14), the control unit 21 extracts the control command from the received control information (S15) and the flag area (S16). The control unit 21 determines whether or not it is a control command for the master unit (S17). When it is not the control command of the master unit (NO in S17), the control unit 21 sets the extracted flag area, the flag area stored in the storage unit 23, and its own reception flag (reception completion flag indicating that the control command has been received). An OR operation is performed to update the flag area stored in the storage unit 23 (S18), and the process of step S20 described below is performed.

親機の制御指令である場合(S17でYES)、制御部21は、抽出したフラグエリア及び自身の受信フラグ(制御指令を受信したことを示す受信済フラグ)を論理和演算して、記憶部23に記憶したフラグエリアを更新する(S19)。   When it is the control command of the master unit (YES in S17), the control unit 21 performs an OR operation on the extracted flag area and its own reception flag (reception completed flag indicating that the control command has been received), and the storage unit The flag area stored in 23 is updated (S19).

制御部21は、受信した制御情報から送信順位を抽出し(S20)、抽出した送信順位及び自身の送信順位に基づいて制御情報の送信時点を決定する(S21)。制御部21は、処理を終了するか否かを判定する(S22)。処理を終了するか否かは、例えば、子機20の電源がオフされたか否かに応じて判定することができる。処理を終了しない場合(S22でNO)、制御部21は、ステップS11以降の処理を続ける。処理を終了する場合(S22でYES)、制御部21は処理を終了する。   The control unit 21 extracts the transmission order from the received control information (S20), and determines the transmission time point of the control information based on the extracted transmission order and its own transmission order (S21). The control unit 21 determines whether to end the process (S22). Whether to end the process can be determined, for example, according to whether or not the power of the slave device 20 is turned off. When the processing is not to be ended (NO in S22), the control unit 21 continues the processing from step S11. When ending the process (YES in S22), the control unit 21 ends the process.

図15は本実施の形態の親機10による処理手順の一例を示すフローチャートである。以下では、便宜上、処理の主体を制御部11として説明する。制御部11は、制御情報を全ての子機20へ送信する(S31)。制御部11は、制御情報を受信したか否かを判定し(S32)、制御情報を受信していない場合(S32でNO)、ステップS32の処理を続ける。   FIG. 15 is a flowchart showing an example of a processing procedure performed by the parent device 10 according to the present embodiment. Hereinafter, for convenience, the main body of processing will be described as the control unit 11. The control unit 11 transmits the control information to all the slaves 20 (S31). The control unit 11 determines whether or not the control information is received (S32), and when the control information is not received (NO in S32), the process of step S32 is continued.

制御情報を受信した場合(S32でYES)、制御部11は、受信した制御情報からフラグエリアを抽出する(S33)。制御部11は、抽出したフラグエリア及び記憶部23に記憶したフラグエリアを論理和演算して、記憶部23に記憶したフラグエリアを更新する(S34)。   When the control information is received (YES in S32), the control unit 11 extracts the flag area from the received control information (S33). The control unit 11 performs an OR operation on the extracted flag area and the flag area stored in the storage unit 23 to update the flag area stored in the storage unit 23 (S34).

制御部11は、所定時間経過したか否かを判定する(S35)。所定時間経過した時点は、例えば、子機の数をN、無線機の送信間隔をTとすると、親機10が制御情報を送信した時点から、N×Tだけ経過した時点とすることができる。   The control unit 11 determines whether or not a predetermined time has passed (S35). For example, when the number of slaves is N and the transmission interval of the wireless device is T, the time when the predetermined time has elapsed can be a time when N × T has elapsed from the time when the master device 10 transmitted the control information. .

所定時間経過していない場合(S35でNO)、制御部11は、ステップS32以降の処理を続ける。所定時間経過した場合(S35でYES)、制御部11は、処理を終了する。   When the predetermined time has not elapsed (NO in S35), the control unit 11 continues the processing from step S32. When the predetermined time has elapsed (YES in S35), the control unit 11 ends the process.

本実施の形態の点灯制御システムは、親機10を備える点滅灯中継装置110と、子機20を備える複数の点滅灯120とを備え、点滅灯中継装置110は、所定の制御指令に基づいて、複数の点滅灯120を制御する。これにより、制御指令の受信成功率が非常に高くなり通信不良の影響を低減することができる点灯制御システムを実現することができる。   The lighting control system of the present embodiment includes a flashing light relay device 110 including the master device 10 and a plurality of flashing lights 120 including the slave device 20, and the flashing light relay device 110 is based on a predetermined control command. , Control a plurality of blinking lights 120. As a result, it is possible to realize a lighting control system in which the success rate of receiving the control command becomes extremely high and the influence of communication failure can be reduced.

本実施の形態に係る通信システムは、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムであって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部を備え、一の子機は、前記親機又は他の子機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定する決定部とを備え、前記一の子機の送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を送信し、前記親機は、前記複数の子機が送信する制御情報を受信する受信部と、該受信部で受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定する判定部とを備える。   The communication system according to the present embodiment includes a plurality of wireless devices including a master device and a plurality of slave devices, and any one wireless device can transmit the same information to all other wireless devices. In each of the wireless devices, a predetermined control command, an identifier and a transmission order of the wireless device, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each slave device. And a receiver that receives the control information transmitted by the master or another slave, a storage that stores a flag area, and the receiver. Each time the control information is received at, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the one slave has received the predetermined control command are logically ORed for each slave. Calculated and stored in the storage unit An updating unit that updates the lag area, and a determining unit that determines a transmission time point of the one child device based on a transmission order received by the receiving unit and a preset transmission order of the one child device, The transmission unit of the one slave unit includes a control including the predetermined control command, the identifier and transmission order of the one slave unit, and the flag area updated by the updating unit at the transmission time determined by the determination unit. The parent device transmits the information, and the parent device receives the control information transmitted by the plurality of child devices, and the plurality of the child devices based on the received flag of each child device in the flag area received by the receiving unit. And a determination unit that determines whether or not the slave unit has received the predetermined control command.

本実施の形態に係る点灯制御システムは、本実施の形態に係る通信システムを備える。   The lighting control system according to the present embodiment includes the communication system according to the present embodiment.

本実施の形態に係る無線機は、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部と、他の無線機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する決定部とを備え、前記送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を送信する。   The wireless device according to the present embodiment has a predetermined control command, a unique identifier, a transmission order, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each of a plurality of wireless devices. And a receiving unit that receives the control information transmitted by another radio, a storage unit that stores a flag area, and a flag that is received each time the receiving unit receives the control information. An area, a flag area stored in the storage section, and an update section for updating the flag area stored in the storage section by performing a logical sum operation for each radio with respect to a received flag indicating that the predetermined control command has been received. And a determination unit that determines a transmission time point based on the transmission order received by the reception unit and a preset transmission order, and the transmission unit determines the predetermined time point at the transmission time point determined by the determination unit. And your command, the control information including a flag area updated in the identifier and sending order and the update unit transmits.

本実施の形態に係るコンピュータプログラムは、コンピュータに、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を送信する処理と、他の無線機が送信した制御情報を受信する処理と、制御情報を受信する都度、受信したフラグエリア、記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する処理と、受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する処理と、決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに更新したフラグエリアとを含む制御情報を送信する処理とを実行させる。   The computer program according to the present embodiment can record a predetermined control command, a unique identifier, a transmission order, and a reception completion flag indicating that the predetermined control command has been received in each computer for each of a plurality of radio devices. A process of transmitting control information including a flag area, a process of receiving control information transmitted by another radio, a flag area received each time control information is received, a flag area stored in a storage unit, and the predetermined value. The received flag indicating that the control command has been received is processed to perform a logical sum operation for each radio to update the flag area stored in the storage unit, and to the received transmission order and the preset transmission order. Based on the above, a process of determining a transmission time point, the predetermined control command at the determined transmission time point, the identifier, the transmission order, and the updated flag area are included. To execute a process of transmitting control information.

本実施の形態に係る通信方法は、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムによる通信方法であって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信部が送信し、一の子機は、前記親機又は他の子機が送信した制御情報を受信部が受信し、フラグエリアを記憶部に記憶し、制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新部が更新し、受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定部が決定し、前記一の子機は、決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を前記送信部が送信し、前記親機は、前記複数の子機が送信する制御情報を受信部が受信し、受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定部が判定する。   A communication method according to the present embodiment includes a plurality of wireless devices including a master device and a plurality of slave devices, and any one wireless device can transmit the same information to all other wireless devices. Each of the wireless devices can record a predetermined control command, an identifier and a transmission order of the wireless device, and a received flag indicating that the predetermined control command has been received, for each slave device. The transmitting unit transmits control information including a flag area, the one slave unit receives the control information transmitted by the master unit or another slave unit, and the storing unit stores the flag area in the storage unit. Each time information is received, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the one slave has received the predetermined control command are logically ORed for each slave. Flag area that has been stored in the storage unit The determining unit determines the transmission time point of the one child device based on the transmission order received by the updating unit and the preset transmission order of the one child device, and the one child device determines At the time of transmission, the transmission unit transmits control information including the predetermined control command, the identifier and transmission order of the one child device, and the flag area updated by the updating unit, and the parent device, Whether or not the plurality of slave units have received the predetermined control command based on the received flag of each slave unit within the received flag area when the receiving unit receives the control information transmitted by the plurality of slave units. Is determined by the determination unit.

無線機(親機及び複数の子機)それぞれは、所定の制御指令と、無線機の識別子及び送信順位並びに所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部を備える。一の無線機は、他の全ての無線機に対して制御情報を送信する。すなわち、無線機は、タイムシェアリングで順次他の無線機に対して一斉送信する。   Each of the wireless devices (the master device and the plurality of slave devices) can record a predetermined control command, an identifier and transmission order of the wireless device, and a received flag indicating that the predetermined control command has been received for each slave device. And a transmission unit for transmitting control information including the area. One radio transmits control information to all other radios. That is, the wireless device sequentially broadcasts to other wireless devices by time sharing.

子機の数をNとすると、フラグエリアは、例えば、Nビットのデータエリアとすることができ、フラグエリアに記録される受信フラグは、例えば、1(受信済フラグ)又は0(未受信フラグ)とすることができる。   If the number of slave units is N, the flag area can be, for example, an N-bit data area, and the reception flag recorded in the flag area can be, for example, 1 (received flag) or 0 (unreceived flag). ) Can be.

複数の子機のうちの任意の一の子機は、親機又は他の子機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、受信部で制御情報を受信する都度、受信したフラグエリア、記憶部に記憶したフラグエリア及び当該一の子機が所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って記憶部に記憶したフラグエリアを更新する更新部と、受信部で受信した送信順位及び予め設定された当該一の子機の送信順位に基づいて、当該一の子機の送信時点を決定する決定部とを備える。   Any one of the plurality of slaves receives a control information transmitted by the master or another slave, a storage unit storing a flag area, and the control unit receiving the control information. Each time, the received flag area, the flag area stored in the storage unit and the received flag indicating that the one slave unit has received a predetermined control command are stored in the storage unit by performing an OR operation for each slave unit. An updating unit that updates the stored flag area and a determining unit that determines the transmission time point of the one slave unit based on the transmission order received by the receiving unit and the transmission order of the one slave unit set in advance. Prepare

子機の数を、例えば、子機1、子機2、子機3の三つとする。フラグエリアを3ビットとし、先頭から子機1、子機2、子機3の順番で割り当てられているとする。子機1が送信したフラグエリア(例えば、[1、0、0])を子機2が受信した場合、子機2に記憶したフラグエリアを[0、0、0]とすると、更新部は、受信したフラグエリア[1、0、0]と、記憶したフラグエリア[0、0、0]と、子機2が制御指令を受信したことを示す受信済フラグ[1]とを子機毎に論理和演算を行って得られたフラグエリア[1、1、0]で記憶したフラグエリアを更新する。更新部による更新は、フラグエリアを受信する都度行われる。   The number of slave units is, for example, three units, slave unit 1, slave unit 2, and slave unit 3. It is assumed that the flag area has 3 bits and the slave unit 1, the slave unit 2, and the slave unit 3 are allocated in this order from the beginning. When the handset 2 receives the flag area transmitted by the handset 1 (for example, [1, 0, 0]), if the flag area stored in the handset 2 is [0, 0, 0], the updating unit , The received flag area [1, 0, 0], the stored flag area [0, 0, 0], and the received flag [1] indicating that the slave unit 2 has received the control command, for each slave unit. The flag area stored in the flag area [1, 1, 0] obtained by performing the logical sum operation is updated. The updating by the updating unit is performed every time the flag area is received.

送信時点の決定は、例えば、以下のようにすることができる。無線機の送信間隔をTとする。一の子機の送信順位が2である場合に、受信した送信順位が1であるときは、送信順位の差が1なので、子機の送信時点は、送信順位を受信した時点からTだけ経過した時点とすることができる。また、一の子機の送信順位が3である場合に、受信した送信順位が1であるときは、送信順位の差が2なので、子機の送信時点は、送信順位を受信した時点から2×Tだけ経過した時点とすることができる。   The transmission time can be determined as follows, for example. Let T be the transmission interval of the wireless device. When the transmission order of one child device is 2, and the received transmission order is 1, the difference in the transmission orders is 1. Therefore, the transmission time of the child device is T after the time when the transmission order is received. It can be the point of time. Further, when the transmission order of one child device is 3, when the received transmission order is 1, the difference in transmission order is 2. Therefore, the transmission time of the child device is 2 from the time when the transmission order is received. It can be set to a time when only xT has elapsed.

当該一の子機の送信部は、決定部で決定した送信時点で、所定の制御指令と、当該一の子機の識別子及び送信順位並びに更新部で更新したフラグエリアとを含む制御情報を送信する。   The transmission unit of the one child device transmits control information including a predetermined control command, the identifier and transmission order of the one child device, and the flag area updated by the updating unit at the time of transmission determined by the determination unit. To do.

親機は、複数の子機が送信する制御情報を受信する受信部と、受信部で受信したフラグエリア内の子機毎の受信済フラグに基づいて、複数の子機が所定の制御指令を受信したか否かを判定する判定部とを備える。子機の数を、例えば、子機1、子機2、子機3の三つとする。フラグエリアを3ビットとし、先頭から子機1、子機2、子機3の順番で割り当てられているとする。受信したフラグエリアが、例えば、[1、1、1]である場合、複数の子機が所定の制御指令を受信したと判定することができる。   The master unit receives a control information transmitted by a plurality of slave units, and a plurality of slave units issue a predetermined control command based on the reception flag of each slave unit within the flag area received by the receiver. And a determination unit that determines whether or not the data has been received. The number of slave units is, for example, three units, slave unit 1, slave unit 2, and slave unit 3. It is assumed that the flag area has 3 bits and the slave unit 1, the slave unit 2, and the slave unit 3 are allocated in this order from the beginning. If the received flag area is, for example, [1, 1, 1], it can be determined that the plurality of slave units have received the predetermined control command.

子機の数をNとすると、各子機は、制御情報を最大N回受信することができるので、環境変化に応じて通信が不安定になったとしても、制御指令の受信成功率が高くなり通信不良を防止することができる。また、親機は、所定の制御指令を受信したことを示す受信済フラグが記録されたフラグエリアを各子機から最大N回受信することができるので、制御指令の受信が成功したことを確実に把握することができる。   Assuming that the number of slave units is N, each slave unit can receive the control information up to N times. Therefore, even if the communication becomes unstable due to the environmental change, the success rate of receiving the control command is high. It is possible to prevent communication failure. Further, since the master unit can receive the flag area in which the received flag indicating that the predetermined control command has been received is recorded from each slave unit up to N times, it is ensured that the control command has been successfully received. Can be grasped.

本実施の形態に係る通信システムは、前記親機は、前記複数の子機の一部の子機から受信したフラグエリア内の受信済フラグを、前記一部の子機毎に論理和演算を行う演算部を備え、前記判定部は、前記演算部での演算結果により前記複数の子機それぞれに対応する受信済フラグがある場合、前記複数の子機が前記所定の制御指令を受信したと判定する。   In the communication system according to the present embodiment, the master unit performs a logical sum operation on the received flags in the flag areas received from some slave units of the plurality of slave units for each of the slave units. The determining unit includes a performing unit, and the determining unit determines that the plurality of slave units have received the predetermined control command when there is a received flag corresponding to each of the plurality of slave units according to the calculation result of the calculating unit. judge.

親機は、複数の子機の一部の子機から受信したフラグエリア内の受信済フラグを、当該一部の子機毎に論理和演算を行う演算部を備える。子機の数を、例えば、子機1、子機2、子機3の三つとする。フラグエリアを3ビットとし、先頭から子機1、子機2、子機3の順番で割り当てられているとする。子機1から受信したフラグエリアが、例えば、[1、0、0]であり、子機3から受信したフラグエリアが、例えば、[1、0、1]である場合、受信したフラグエリアを子機毎に論理和演算して得られたフラグエリアは[1、0、1]となる。   The master unit includes a calculation unit that performs a logical sum operation on the received flags in the flag areas received from some slave units of the plurality of slave units for each of the slave units. The number of slave units is, for example, three units, slave unit 1, slave unit 2, and slave unit 3. It is assumed that the flag area has 3 bits and the slave unit 1, the slave unit 2, and the slave unit 3 are allocated in this order from the beginning. For example, when the flag area received from the child device 1 is [1, 0, 0] and the flag area received from the child device 3 is [1, 0, 1], the received flag area is The flag area obtained by the logical sum operation for each child device is [1, 0, 1].

判定部は、演算部での演算結果により複数の子機それぞれに対応する受信済フラグがある場合、複数の子機が所定の制御指令を受信したと判定する。例えば、子機の数を、例えば、子機1、子機2、子機3の三つとする。フラグエリアを3ビットとし、先頭から子機1、子機2、子機3の順番で割り当てられているとする。子機3から受信したフラグエリアが、例えば、[0、0、1]であり、子機2から受信したフラグエリアが、例えば、[1、1、0]である場合、受信したフラグエリアを子機毎に論理和演算して得られたフラグエリアは[1、1、1]となる。   The determination unit determines that the plurality of slave units have received the predetermined control command when there is a received flag corresponding to each of the plurality of slave units according to the calculation result of the calculation unit. For example, the number of slave units is, for example, slave unit 1, slave unit 2, and slave unit 3. It is assumed that the flag area has 3 bits and the slave unit 1, the slave unit 2, and the slave unit 3 are allocated in this order from the beginning. For example, when the flag area received from the handset 3 is [0, 0, 1] and the flag area received from the handset 2 is [1, 1, 0], the received flag area is The flag area obtained by performing the logical sum operation for each child device is [1, 1, 1].

上述の構成により、各子機が制御指令の送信と、他の子機の制御指令の受信の成否を示す受信フラグの送信とを同時に行うことができるので、親機が、子機1が送信したフラグエリアを受信することができなかった場合でも、子機2、3が送信したフラグエリアに基づいて各子機の受信確認を収集することができる。   With the above-described configuration, since each slave unit can simultaneously transmit the control command and the reception flag indicating the success or failure of the reception of the control command of the other slave unit, the master unit transmits the slave unit 1 Even when the flag area cannot be received, it is possible to collect the reception confirmation of each slave unit based on the flag areas transmitted by the slave units 2 and 3.

本実施の形態に係る通信システムは、前記判定部は、前記演算部での演算結果により前記複数の子機のうちの少なくとも一つの子機に対応する受信済フラグがない場合、該子機が前記所定の制御指令を受信していないと判定する。   In the communication system according to the present embodiment, the determination unit determines that if the reception unit corresponding to at least one slave unit among the plurality of slave units does not have a received flag according to the calculation result of the calculation unit, the slave unit It is determined that the predetermined control command has not been received.

判定部は、演算部での演算結果により複数の子機のうちの少なくとも一つの子機に対応する受信済フラグがない場合、当該子機が所定の制御指令を受信していないと判定する。前述の例では、論理和演算して得られたフラグエリアは[1、0、1]となり、子機2の受信フラグが[0]であるので、子機2は制御指令を受信できていないと判定することができる。   The determination unit determines that the slave unit has not received the predetermined control command when there is no received flag corresponding to at least one slave unit among the plurality of slave units according to the calculation result of the calculation unit. In the above example, the flag area obtained by the logical sum operation is [1, 0, 1], and the reception flag of the handset 2 is [0], so the handset 2 cannot receive the control command. Can be determined.

本実施の形態に係る通信システムは、前記判定部は、前記親機の送信時点の後であって、前記複数の子機の送信時点が経過した後に、前記複数の子機が前記所定の制御指令を受信したか否かを判定する。   In the communication system according to the present embodiment, the determination unit causes the plurality of slave units to perform the predetermined control after the transmission time of the master unit and after the transmission time of the plurality of slave units has elapsed. It is determined whether a command has been received.

判定部は、親機の一度の制御指令の送信時点の後であって、複数の子機の送信時点が経過した後に、複数の子機が所定の制御指令を受信したか否かを判定する。例えば、無線機の送信間隔をTとし、子機の数をNとすると、複数の子機の送信時点は、親機が送信した時点からN×Tだけ経過した時点とすることができる。各子機は、制御指令の送信と同時に、他の子機の制御指令の受信の成否を示す受信フラグも送信するので、例えば、1:1通信の場合に比べて、複数の子機の受信確認を短縮することができる。   The determination unit determines whether or not the plurality of slave units have received a predetermined control command after the transmission time of one control command of the master unit and after the transmission time of the plurality of slave units has elapsed. . For example, assuming that the transmission interval of the wireless device is T and the number of slave devices is N, the transmission time of the plurality of slave devices can be the time when N × T has elapsed from the time when the master device transmitted. Since each slave unit transmits a control command at the same time as transmitting a reception flag indicating success or failure of reception of control commands of other slave units, for example, as compared with the case of 1: 1 communication, reception of a plurality of slave units is performed. Confirmation can be shortened.

本実施の形態に係る通信システムは、前記複数の子機それぞれは、送信順位を設定する設定部を備える。   In the communication system according to the present embodiment, each of the plurality of slave units includes a setting unit that sets the transmission order.

複数の子機それぞれは、送信順位を設定する設定部を備える。親機と子機との間の距離が長くなると、環境変化に応じて通信不良となる可能性が高くなる。そこで、設定部を備えることにより、環境変化が生じる場合でも、子機を設置した状態で最適な送信順位を設定することができる。   Each of the plurality of slave units includes a setting unit that sets the transmission order. The longer the distance between the master unit and the slave unit, the higher the possibility of communication failure depending on the environmental change. Therefore, by providing the setting unit, it is possible to set the optimum transmission order in a state in which the child device is installed even when the environment changes.

本実施の形態に係る点灯制御システムは、前記親機を備える点灯制御装置と、前記子機を備える複数の点滅灯とを備え、前記点灯制御装置は、前記所定の制御指令に基づいて、前記複数の点滅灯を制御する。   The lighting control system according to the present embodiment includes a lighting control device including the master unit, and a plurality of blinking lights including the slave unit, and the lighting control device, based on the predetermined control command, the Control multiple flashing lights.

親機を備える点灯制御装置と、子機を備える複数の点滅灯とを備え、点灯制御装置は、所定の制御指令に基づいて、複数の点滅灯を制御する。これにより、制御指令の受信成功率が非常に高くなり通信不良の影響を低減することができる点灯制御システムを実現することができる。   The lighting control device includes a master unit and a plurality of blinking lights including a slave unit, and the lighting control unit controls the plurality of blinking lights based on a predetermined control command. As a result, it is possible to realize a lighting control system in which the success rate of receiving the control command becomes extremely high and the influence of communication failure can be reduced.

10 親機
11 制御部
12 通信部
13 記憶部
14 演算部
15 判定部
20 子機
21 制御部
22 通信部
23 記憶部
24 更新部
25 決定部
26 設定部
31 駆動部
32 表示部
41 インタフェース部
100 上位装置
110 点滅灯中継装置
120 点滅灯
10 parent unit 11 control unit 12 communication unit 13 storage unit 14 arithmetic unit 15 determination unit 20 slave unit 21 control unit 22 communication unit 23 storage unit 24 update unit 25 determination unit 26 setting unit 31 drive unit 32 display unit 41 interface unit 100 upper level Device 110 flashing light Relay device 120 flashing light

本発明に係る通信システムは、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムであって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく前記無線機以外の他の全ての無線機へ送信する送信部を備え、一の子機は、前記親機又は他の子機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定する決定部とを備え、前記一の子機の送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を、中継機を経由することなく前記一の子機以外の他の全ての子機及び前記親機へ送信し、前記親機は、前記複数の子機が送信する制御情報を受信する受信部と、該受信部で受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定する判定部とを備える。 A communication system according to the present invention includes a plurality of wireless devices including a master device and a plurality of slave devices, and one arbitrary wireless device is a communication system capable of transmitting the same information to all other wireless devices. Each of the wireless devices includes a predetermined control command, a flag area in which an identifier and transmission order of the wireless device and a received flag indicating that the predetermined control command has been received can be recorded for each slave device. A control unit is provided with a transmission unit that transmits the control information to all wireless devices other than the wireless device without passing through a relay device , and one slave device controls the control information transmitted by the master device or another slave device. A receiving unit that receives, a storage unit that stores a flag area, and a received flag area, a flag area that is stored in the storage unit, and the one slave as the predetermined control each time control information is received by the receiving unit. Received message indicating that a command has been received An update unit that performs a logical sum operation for each slave unit to update the flag area stored in the storage unit, a transmission order received by the reception unit, and a preset transmission order of the one slave unit. Based on the transmission time of the one slave, the transmission unit of the one slave, at the transmission time determined by the determination unit, the predetermined control command, the one of the Control information including the identifier and transmission order of the slave unit and the flag area updated by the updating unit is transmitted to all the slave units other than the one slave unit and the master unit without passing through the relay unit. , The master unit receives the control information transmitted by the plurality of slave units, and the plurality of slave units based on the reception completion flag of each slave unit in the flag area received by the reception unit. And a determination unit that determines whether or not the predetermined control command is received.

本発明に係る無線機は、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する送信部と、他の無線機が送信した制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する決定部とを備え、前記送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する。 A radio device according to the present invention includes a predetermined control command, a unique identifier and a transmission order, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each of a plurality of radio devices. Stores a transmitter that sends control information to all other wireless devices other than the wireless device itself without passing through a repeater , a receiver that receives control information sent by another wireless device, and a flag area. Each time a storage unit and the reception unit receives control information, a received flag area, a flag area stored in the storage unit, and a received flag indicating that the predetermined control command has been received are logically set for each radio device. An update unit that performs a sum operation to update the flag area stored in the storage unit, and a determination unit that determines a transmission time point based on the transmission order received by the reception unit and a preset transmission order, The above Shin unit is a transmission time determined by the determining unit, wherein the predetermined control command, the control information including a flag area updated in the identifier and sending order and the update unit, the self without going through the repeater Send to all radios other than the radio .

本発明に係るコンピュータプログラムは、コンピュータに、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する処理と、他の無線機が送信した制御情報を受信する処理と、制御情報を受信する都度、受信したフラグエリア、記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する処理と、受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する処理と、決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに更新したフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する処理とを実行させる。 A computer program according to the present invention is a flag area in which a predetermined control command, a unique identifier and a transmission order, and a received flag indicating that the predetermined control command has been received can be recorded in a computer for each of a plurality of radio devices. Process for transmitting control information including and to all other wireless devices other than the own wireless device without passing through a relay device, process for receiving control information transmitted by another wireless device, and receiving control information Each time, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the predetermined control command has been received are ORed for each radio device and stored in the storage unit. And a process of determining a transmission time point based on the received transmission order and a preset transmission order, the predetermined control command at the determined transmission time point, and Control information including a Besshi and transmission order and updated flag area, to execute a process of transmitting to all other radios except without its own radio going through the repeater.

本発明に係る通信方法は、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムによる通信方法であって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく前記無線機以外の他の全ての無線機へ送信部が送信し、一の子機は、前記親機又は他の子機が送信した制御情報を受信部が受信し、フラグエリアを記憶部に記憶し、制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新部が更新し、受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定部が決定し、前記一の子機は、決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を、中継機を経由することなく前記一の子機以外の他の全ての子機及び前記親機へ前記送信部が送信し、前記親機は、前記複数の子機が送信する制御情報を受信部が受信し、受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定部が判定する。 A communication method according to the present invention includes a plurality of wireless devices including a master device and a plurality of slave devices, and any one wireless device performs communication by a communication system capable of transmitting the same information to all other wireless devices. In the method, each of the wireless devices is capable of recording a predetermined control command, an identifier and a transmission order of the wireless device, and a received flag indicating that the predetermined control command has been received for each slave device. The control unit including the control information transmitted to all other wireless devices other than the wireless device without passing through the relay device , and one slave device is a control device transmitted by the master device or another slave device. Each time the receiving unit receives the information, stores the flag area in the storage unit, and receives the control information, the received flag area, the flag area stored in the storage unit, and the one child device send the predetermined control command. The received flag indicating that it has been received The update unit updates the flag area stored in the storage unit by performing a logical sum operation on the received transmission order and the transmission order of the one handset based on the preset transmission order of the one handset. The deciding unit decides the time point, and the one slave unit includes the predetermined control command, the identifier and the transmission order of the one slave unit, and the flag area updated by the updating unit at the determined transmission time point. The control unit transmits the control information to all the slaves other than the one slave and the master without passing through a relay, and the master controls the slaves to transmit. The receiving unit receives the information, and the determining unit determines whether or not the plurality of slave units have received the predetermined control command based on the received flag of each slave unit within the received flag area.

本発明に係る通信システムは、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムであって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく前記無線機以外の他の全ての無線機へ送信する送信部を備え、一の子機は、前記親機又は他の子機が送信した、前記フラグエリアを含む制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記記憶部に記憶したフラグエリアに記録された受信済フラグ、前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグ及び受信したフラグエリアに含まれる、前記他の子機が前記所定の制御指令を受信したことを示す受信済フラグそれぞれの、子機毎に行われる論理和演算を、前記受信部で制御情報を受信する都度、繰り返し行うことにより得られた累積された演算結果に基づいて前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定する決定部とを備え、前記一の子機の送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を、中継機を経由することなく前記一の子機以外の他の全ての子機及び前記親機へ送信し、前記親機は、前記複数の子機が制御情報を送信する都度、送信された制御情報を受信する受信部と、該受信部で受信したフラグエリア内の子機毎に、前記複数の子機によって制御情報が受信される都度行われた受信済フラグの論理和演算の累積された演算結果に基づく受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定する判定部とを備える。 A communication system according to the present invention includes a plurality of wireless devices including a master device and a plurality of slave devices, and one arbitrary wireless device is a communication system capable of transmitting the same information to all other wireless devices. Each of the wireless devices includes a predetermined control command, a flag area in which an identifier and transmission order of the wireless device and a received flag indicating that the predetermined control command has been received can be recorded for each slave device. A transmitter is provided for transmitting control information to all other wireless devices other than the wireless device without passing through a relay device, and one slave device is the flag transmitted by the master device or another slave device. a receiver for receiving control information including area, a storage unit for storing a flag area, before Symbol received flag recorded in the flag area stored in the storage unit, the one handset is a predetermined control command received flag and receive indicating that the received In the flag area, the reception unit receives the control information of the logical sum operation performed for each slave unit of the received flags indicating that the other slave unit has received the predetermined control command. An updating unit that updates the flag area stored in the storage unit based on a cumulative calculation result obtained by repeating each time, a transmission order received by the receiving unit, and the one preset slave unit Based on the transmission order of, the determination unit for determining the transmission time of the one slave, the transmission unit of the one slave, at the transmission time determined by the determination unit, with the predetermined control command. , The control information including the identifier and transmission order of the one child device and the flag area updated by the updating unit, all the other child devices other than the one child device and the parent without passing through a relay device. The master unit, Each time the serial plurality of slave unit transmits the control information, a receiver for receiving the control information transmitted for each slave unit flag area received by the receiving unit, the control information is received by the plurality of handset A determination unit that determines whether or not the plurality of slave units have received the predetermined control command, based on the received flag based on the accumulated operation result of the logical sum operation of the received flag performed each time With.

本発明に係る無線機は、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する送信部と、他の無線機が送信した、前記フラグエリアを含む制御情報を受信する受信部と、フラグエリアを記憶する記憶部と、前記記憶部に記憶したフラグエリアに記録された受信済フラグ、前記所定の制御指令を受信したことを示す受信済フラグ及び受信したフラグエリアに含まれる、前記他の無線機が前記所定の制御指令を受信したことを示す受信済フラグそれぞれの無線機毎に行われる論理和演算を、前記受信部で制御情報を受信する都度、繰り返し行うことにより得られた累積された演算結果に基づいて前記記憶部に記憶したフラグエリアを更新する更新部と、前記受信部で受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する決定部とを備え、前記送信部は、前記決定部で決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する。 A radio device according to the present invention includes a predetermined control command, a unique identifier and a transmission order, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each of a plurality of radio devices. A transmitting unit that transmits control information to all other wireless devices other than the own wireless device without passing through a relay device, and a receiving unit that receives control information including the flag area, which is transmitted by another wireless device. a storage unit for storing a flag area, before Symbol received flag recorded in the flag area stored in the storage unit, included in the received flag and the flag area that has received indicating reception of the predetermined control command, By repeatedly performing the logical sum operation performed for each wireless device of each received flag indicating that the other wireless device has received the predetermined control command, each time the receiving unit receives the control information. An update unit for updating the flag area stored in the storage unit based on the obtained accumulated calculation results, based on the transmission order and preset sending order received by the receiving unit, determines a transmission time A determining unit, and the transmitting unit relays control information including the predetermined control command, the identifier and the transmission order, and the flag area updated by the updating unit at the transmission time determined by the determining unit. Transmit to all other radios other than the local radio without going through the radio.

本発明に係るコンピュータプログラムは、コンピュータに、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する処理と、他の無線機が送信した、前記フラグエリアを含む制御情報を受信する処理と、記憶部に記憶したフラグエリアに記録された受信済フラグ、前記所定の制御指令を受信したことを示す受信済フラグ及び受信したフラグエリアに含まれる、前記他の無線機が前記所定の制御指令を受信したことを示す受信済フラグそれぞれの無線機毎に行われる論理和演算を、制御情報を受信する都度、繰り返し行うことにより得られた累積された演算結果に基づいて前記記憶部に記憶したフラグエリアを更新する処理と、受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する処理と、決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに更新したフラグエリアとを含む制御情報を、中継機を経由することなく自無線機以外の他の全ての無線機へ送信する処理とを実行させる。 A computer program according to the present invention is a flag area in which a predetermined control command, a unique identifier and a transmission order, and a received flag indicating that the predetermined control command has been received can be recorded in a computer for each of a plurality of radio devices. And a process of transmitting control information including the above to all other radio devices other than the own radio device without passing through a relay device, and a process of receiving control information including the flag area transmitted by the other radio device. If, serial received flag recorded in the flag area stored in 憶部, the included in a predetermined flag area received flag and receive indicating that it has received the control command, the other radios in the predetermined Received flag indicating that a control command has been received The logical sum operation performed for each radio device is repeated each time control information is received. A process of updating the flag area stored in the storage unit based on calculation results, based on the transmission order and preset sending order received, the processing for determining the transmission time, at the determined transmission time, the predetermined And the control information including the identifier, the transmission order, and the updated flag area are transmitted to all the wireless devices other than the own wireless device without passing through the relay device.

本発明に係る通信方法は、親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムによる通信方法であって、前記無線機それぞれは、所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を、中継機を経由することなく前記無線機以外の他の全ての無線機へ送信部が送信し、一の子機は、前記親機又は他の子機が送信した、前記フラグエリアを含む制御情報を受信部が受信し、フラグエリアを記憶部に記憶し、前記記憶部に記憶したフラグエリアに記録された受信済フラグ、前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグ及び受信したフラグエリアに含まれる、前記他の子機が前記所定の制御指令を受信したことを示す受信済フラグそれぞれの、子機毎に行われる論理和演算を、制御情報を受信する都度、繰り返し行うことにより得られた累積された演算結果に基づいて前記記憶部に記憶したフラグエリアを更新部が更新し、受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定部が決定し、前記一の子機は、決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を、中継機を経由することなく前記一の子機以外の他の全ての子機及び前記親機へ前記送信部が送信し、前記親機は、前記複数の子機が制御情報を送信する都度、送信された制御情報を受信部が受信し、受信したフラグエリア内の子機毎に、前記複数の子機によって制御情報が受信される都度行われた受信済フラグの論理和演算の累積された演算結果に基づく受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定部が判定する。 A communication method according to the present invention includes a plurality of wireless devices including a master device and a plurality of slave devices, and any one wireless device performs communication by a communication system capable of transmitting the same information to all other wireless devices. In the method, each of the wireless devices is capable of recording a predetermined control command, an identifier and a transmission order of the wireless device, and a received flag indicating that the predetermined control command has been received for each slave device. Control information including a, the transmission unit is transmitted to all other wireless devices other than the wireless device without passing through a relay device, one slave device is transmitted by the master device or another slave device , the received receiver control information includes a flag area, and stores a flag area in the storage unit, before Symbol received flag recorded in the flag area stored in the storage unit, the control the one of the slave unit is the predetermined received flag and receive indicating that it has received the command Each of the received flags indicating that the other slave unit has received the predetermined control command included in the flag area, the logical sum operation performed for each slave unit is repeated every time the control information is received. The updating unit updates the flag area stored in the storage unit based on the accumulated calculation result obtained by the above , based on the received transmission order and the preset transmission order of the one child device, The deciding unit decides the transmission time point of the one child device, and the one child device updates the predetermined control command, the identifier and the transmission order of the one child device, and the updating unit at the decided transmission time point. The control information including the flag area, the transmission unit transmits to all the other slaves other than the one slave and the master without passing through the relay, and the master is the plurality of slaves. each time the child machine to send control information, transmission Is received by the receiving unit to control information for each slave unit the received flag area, the accumulated operation of the logical OR operation of the received flag made each time the control information is received by the plurality of handset The determination unit determines whether or not the plurality of slave units have received the predetermined control command based on the received flag based on the result .

Claims (10)

親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムであって、
前記無線機それぞれは、
所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部を備え、
一の子機は、
前記親機又は他の子機が送信した制御情報を受信する受信部と、
フラグエリアを記憶する記憶部と、
前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、
前記受信部で受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定する決定部と
を備え、
前記一の子機の送信部は、
前記決定部で決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を送信し、
前記親機は、
前記複数の子機が送信する制御情報を受信する受信部と、
該受信部で受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定する判定部と
を備える通信システム。
A communication system including a plurality of wireless devices including a master device and a plurality of slave devices, wherein any one wireless device is a communication system capable of transmitting the same information to all other wireless devices,
Each of the radios
A transmitting unit for transmitting control information including a predetermined control command, an identifier and a transmission order of the wireless device, and a flag area capable of recording a reception completion flag indicating that the predetermined control command has been received for each slave device. Prepare,
One child machine
A receiving unit that receives the control information transmitted by the parent device or another child device,
A storage unit that stores a flag area,
Each time the receiving unit receives the control information, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the one slave has received the predetermined control command are set for each slave. An updating unit that performs a logical sum operation on the storage unit to update the flag area stored in the storage unit;
A determining unit that determines a transmission time point of the one child device based on a transmission order received by the receiving unit and a preset transmission order of the one child device,
The transmitter of the one slave is
At the time of transmission determined by the determination unit, the control information including the predetermined control command, the identifier and transmission order of the one child device, and the flag area updated by the update unit is transmitted.
The main unit is
A receiver for receiving control information transmitted by the plurality of slaves,
A communication unit, comprising: a determination unit that determines whether or not the plurality of slave units have received the predetermined control command, based on a received flag for each slave unit within the flag area received by the reception unit.
前記親機は、
前記複数の子機の一部の子機から受信したフラグエリア内の受信済フラグを、前記一部の子機毎に論理和演算を行う演算部を備え、
前記判定部は、
前記演算部での演算結果により前記複数の子機それぞれに対応する受信済フラグがある場合、前記複数の子機が前記所定の制御指令を受信したと判定する請求項1に記載の通信システム。
The main unit is
The reception flag in the flag area received from a part of the plurality of slave units, an arithmetic unit for performing an OR operation for each of the slave units,
The determination unit,
The communication system according to claim 1, wherein it is determined that the plurality of slave units have received the predetermined control command when there is a received flag corresponding to each of the plurality of slave units according to the calculation result of the calculation unit.
前記判定部は、
前記演算部での演算結果により前記複数の子機のうちの少なくとも一つの子機に対応する受信済フラグがない場合、該子機が前記所定の制御指令を受信していないと判定する請求項2に記載の通信システム。
The determination unit,
When there is no received flag corresponding to at least one of the plurality of slaves according to the calculation result of the calculation unit, it is determined that the slave does not receive the predetermined control command. The communication system according to 2.
前記判定部は、
前記親機の送信時点の後であって、前記複数の子機の送信時点が経過した後に、前記複数の子機が前記所定の制御指令を受信したか否かを判定する請求項1から請求項3のいずれか一項に記載の通信システム。
The determination unit,
The method according to claim 1, wherein it is determined whether or not the plurality of slave units have received the predetermined control command after the transmission time of the master unit and after the transmission time of the plurality of slave units has passed. Item 5. The communication system according to any one of items 3.
前記複数の子機それぞれは、
送信順位を設定する設定部を備える請求項1から請求項4のいずれか一項に記載の通信システム。
Each of the plurality of slaves,
The communication system according to any one of claims 1 to 4, further comprising a setting unit that sets a transmission order.
請求項1から請求項5のいずれか一項に記載の通信システムを備える点灯制御システム。   A lighting control system comprising the communication system according to claim 1. 前記親機を備える点灯制御装置と、前記子機を備える複数の点滅灯とを備え、
前記点灯制御装置は、
前記所定の制御指令に基づいて、前記複数の点滅灯を制御する請求項6に記載の点灯制御システム。
A lighting control device including the master unit, and a plurality of blinking lights including the slave unit,
The lighting control device,
The lighting control system according to claim 6, wherein the plurality of blinking lights are controlled based on the predetermined control command.
所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を送信する送信部と、
他の無線機が送信した制御情報を受信する受信部と、
フラグエリアを記憶する記憶部と、
前記受信部で制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する更新部と、
前記受信部で受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する決定部と
を備え、
前記送信部は、
前記決定部で決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を送信する無線機。
A transmission unit for transmitting control information including a predetermined control command, a unique identifier, a transmission order, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each of a plurality of wireless devices. ,
A receiver for receiving control information transmitted by another radio,
A storage unit that stores a flag area,
Each time the receiving unit receives the control information, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the predetermined control command has been received are logically ORed for each radio device. And an updating unit for updating the flag area stored in the storage unit,
A determining unit that determines a transmission time point based on a transmission order received by the receiving unit and a preset transmission order,
The transmitter is
A wireless device that transmits control information including the predetermined control command, the identifier, the transmission order, and the flag area updated by the updating unit at the time of transmission determined by the determining unit.
コンピュータに、所定の制御指令と、固有の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを複数の無線機毎に記録可能なフラグエリアとを含む制御情報を送信する処理と、
他の無線機が送信した制御情報を受信する処理と、
制御情報を受信する都度、受信したフラグエリア、記憶部に記憶したフラグエリア及び前記所定の制御指令を受信したことを示す受信済フラグを、無線機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新する処理と、
受信した送信順位及び予め設定された送信順位に基づいて、送信時点を決定する処理と、
決定した送信時点で、前記所定の制御指令と、前記識別子及び送信順位並びに更新したフラグエリアとを含む制御情報を送信する処理と
を実行させるコンピュータプログラム。
Control information including a predetermined control command, a unique identifier and transmission order, and a flag area in which a received flag indicating that the predetermined control command has been received can be recorded for each of a plurality of wireless devices is transmitted. Processing and
A process of receiving control information transmitted by another radio,
Each time control information is received, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the predetermined control command has been received are logically ORed for each radio device and stored in the storage unit. A process of updating the stored flag area,
Based on the received transmission order and the preset transmission order, a process of determining the transmission time point,
A computer program that causes a process of transmitting control information including the predetermined control command and the identifier, the transmission order, and the updated flag area at the determined transmission time point.
親機と複数の子機と含む複数の無線機を備え、任意の一の無線機は他の全無線機に対して同一の情報を送信可能な通信システムによる通信方法であって、
前記無線機それぞれは、
所定の制御指令と、前記無線機の識別子及び送信順位並びに前記所定の制御指令を受信したことを示す受信済フラグを子機毎に記録可能なフラグエリアとを含む制御情報を送信部が送信し、
一の子機は、
前記親機又は他の子機が送信した制御情報を受信部が受信し、
フラグエリアを記憶部に記憶し、
制御情報を受信する都度、受信したフラグエリア、前記記憶部に記憶したフラグエリア及び前記一の子機が前記所定の制御指令を受信したことを示す受信済フラグを、子機毎に論理和演算を行って前記記憶部に記憶したフラグエリアを更新部が更新し、
受信した送信順位及び予め設定された前記一の子機の送信順位に基づいて、前記一の子機の送信時点を決定部が決定し、
前記一の子機は、
決定した送信時点で、前記所定の制御指令と、前記一の子機の識別子及び送信順位並びに前記更新部で更新したフラグエリアとを含む制御情報を前記送信部が送信し、
前記親機は、
前記複数の子機が送信する制御情報を受信部が受信し、
受信したフラグエリア内の子機毎の受信済フラグに基づいて、前記複数の子機が前記所定の制御指令を受信したか否かを判定部が判定する通信方法。
A plurality of wireless devices including a master device and a plurality of slave devices, any one wireless device is a communication method by a communication system capable of transmitting the same information to all other wireless devices,
Each of the radios
The transmitting unit transmits control information including a predetermined control command, an identifier and a transmission order of the wireless device, and a flag area in which a reception completion flag indicating that the predetermined control command has been received can be recorded for each slave device. ,
One child machine
The receiving unit receives the control information transmitted by the parent device or another child device,
The flag area is stored in the storage unit,
Each time the control information is received, the received flag area, the flag area stored in the storage unit, and the received flag indicating that the one slave has received the predetermined control command are logically ORed for each slave. And the updating unit updates the flag area stored in the storage unit,
Based on the received transmission order and the transmission order of the one slave set in advance, the determining unit determines the transmission time of the one slave,
The one slave is
At the determined transmission time point, the transmission unit transmits control information including the predetermined control command, the identifier and transmission order of the one child device, and the flag area updated by the update unit,
The main unit is
The receiving unit receives the control information transmitted by the plurality of slaves,
A communication method in which the determination unit determines whether or not the plurality of slave units have received the predetermined control command based on the received flag of each slave unit within the received flag area.
JP2018199478A 2018-10-23 2018-10-23 Communication system, lighting control system, wireless device, computer program, and communication method Active JP6653005B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018199478A JP6653005B1 (en) 2018-10-23 2018-10-23 Communication system, lighting control system, wireless device, computer program, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018199478A JP6653005B1 (en) 2018-10-23 2018-10-23 Communication system, lighting control system, wireless device, computer program, and communication method

Publications (2)

Publication Number Publication Date
JP6653005B1 JP6653005B1 (en) 2020-02-26
JP2020068440A true JP2020068440A (en) 2020-04-30

Family

ID=69624491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018199478A Active JP6653005B1 (en) 2018-10-23 2018-10-23 Communication system, lighting control system, wireless device, computer program, and communication method

Country Status (1)

Country Link
JP (1) JP6653005B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011058925A1 (en) * 2009-11-12 2011-05-19 株式会社日立製作所 Wireless communication status acquiring method and radio station
JP2012010296A (en) * 2010-06-28 2012-01-12 Toshiba Corp Radio communication system and relay device
US20180254976A1 (en) * 2015-09-02 2018-09-06 Telefonaktiebolaget Lm Ericsson (Publ) Handling of acknowledgement in wireless radio ad-hoc networks
JP2018160782A (en) * 2017-03-22 2018-10-11 株式会社東芝 Wireless communication apparatus and wireless communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011058925A1 (en) * 2009-11-12 2011-05-19 株式会社日立製作所 Wireless communication status acquiring method and radio station
JP2012010296A (en) * 2010-06-28 2012-01-12 Toshiba Corp Radio communication system and relay device
US20180254976A1 (en) * 2015-09-02 2018-09-06 Telefonaktiebolaget Lm Ericsson (Publ) Handling of acknowledgement in wireless radio ad-hoc networks
JP2018160782A (en) * 2017-03-22 2018-10-11 株式会社東芝 Wireless communication apparatus and wireless communication method

Also Published As

Publication number Publication date
JP6653005B1 (en) 2020-02-26

Similar Documents

Publication Publication Date Title
US8035533B2 (en) Method and apparatus reporting a vehicular sensor waveform in a wireless vehicular sensor network
US7996534B2 (en) File distribution in wireless networks
US11012308B2 (en) Method for configuring a wireless fire detection system
KR20210157131A (en) Audio output apparatus receiving data wirelessly from electronic device and operation method of the same
JP6653005B1 (en) Communication system, lighting control system, wireless device, computer program, and communication method
CN106781388A (en) Control system, remote controller, air conditioner remote controller and control method
KR101201736B1 (en) System for providing traffic signal and method thereof
WO2011033572A1 (en) Relay device
JP2009140110A (en) Communications system
US20240292195A1 (en) Method and Apparatus for Defining Connection Parameters of Vehicle Communications Connections
EP1467520A1 (en) Device capable of performing radio communication
CN106658661A (en) Master device, slave device and method for rebuilding connection
JP3908545B2 (en) Communication device between different radio systems
KR101699868B1 (en) remote management system for lots of smart streetlights and method at the same
US10368425B2 (en) Lighting system, method for transmitting schedule information in lighting system, and operation terminal
KR102039780B1 (en) Visible light communication system having pass lose verification function
US12245053B1 (en) Systems and methods for adding nodes to a wireless network
JP5482031B2 (en) Wireless communication device
US11800583B1 (en) Communication system and device
JP3797324B2 (en) Communication device
KR100793928B1 (en) Leap Communication System Radio System
JP2020115437A (en) Lighting system, terminal device, and program
KR102545526B1 (en) Apparatus for communicating between vehicles and method for communicating thereof
JP2009232048A (en) Radio equipment and radio reception method
JP7063608B2 (en) Wireless communication equipment and wireless communication systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190924

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20191023

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191211

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20191211

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20191220

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20191224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200124

R150 Certificate of patent or registration of utility model

Ref document number: 6653005

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250