JP6875435B2 - Wireless communication system, wireless slave unit and channel search method - Google Patents

Wireless communication system, wireless slave unit and channel search method Download PDF

Info

Publication number
JP6875435B2
JP6875435B2 JP2019029879A JP2019029879A JP6875435B2 JP 6875435 B2 JP6875435 B2 JP 6875435B2 JP 2019029879 A JP2019029879 A JP 2019029879A JP 2019029879 A JP2019029879 A JP 2019029879A JP 6875435 B2 JP6875435 B2 JP 6875435B2
Authority
JP
Japan
Prior art keywords
wireless
channel
master unit
unit
wireless master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019029879A
Other languages
Japanese (ja)
Other versions
JP2020136968A (en
Inventor
野村 誠
誠 野村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taiyo Yuden Co Ltd
Original Assignee
Taiyo Yuden 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 Taiyo Yuden Co Ltd filed Critical Taiyo Yuden Co Ltd
Priority to JP2019029879A priority Critical patent/JP6875435B2/en
Publication of JP2020136968A publication Critical patent/JP2020136968A/en
Priority to JP2021072694A priority patent/JP7152556B2/en
Application granted granted Critical
Publication of JP6875435B2 publication Critical patent/JP6875435B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明の実施形態は、無線通信システム、無線子機およびチャンネル探索方法に関する。 Embodiments of the present invention relate to wireless communication systems, wireless slave units and channel search methods.

従来、無線親機と無線子機との間で無線通信を行う無線通信システムにおいて、無線親機が電波環境に応じて無線通信に使用するチャンネルを切り替える技術が知られている(例えば、特許文献1参照)。無線親機が無線通信に使用するチャンネルを切り替えた場合、無線子機はそれまで使用していたチャンネルでは無線親機と無線通信を行うことができないため、無線通信に使用するチャンネルを探索する必要がある。 Conventionally, in a wireless communication system that performs wireless communication between a wireless master unit and a wireless slave unit, a technique for switching a channel used by the wireless master unit for wireless communication according to a radio wave environment is known (for example, a patent document). 1). When the wireless master unit switches the channel used for wireless communication, the wireless slave unit cannot perform wireless communication with the wireless master unit on the channel used up to that point, so it is necessary to search for the channel used for wireless communication. There is.

そこで、特許文献1に記載の技術では、無線子機(無線通信装置)が、無線親機(データ収集装置)から先の無線信号を受信してから予め定められた時間が経過しても次の無線信号を受信しない場合にチャンネルを変更し、無線親機を検出するための検出信号を送信する。そして、無線子機は、検出信号を送信してから予め定められた時間内に無線親機から応答信号を受信しない場合は、チャンネルをさらに変更して検出信号の送信を繰り返し、無線親機から応答信号を受信すると、変更したチャンネルを無線通信に使用する無線チャンネルとして確定するようにしている。 Therefore, in the technique described in Patent Document 1, even if a predetermined time elapses after the wireless slave unit (wireless communication device) receives the previous wireless signal from the wireless master unit (data collecting device), the next If the wireless signal of is not received, the channel is changed and the detection signal for detecting the wireless master unit is transmitted. Then, if the wireless slave unit does not receive the response signal from the wireless master unit within a predetermined time after transmitting the detection signal, the wireless slave unit further changes the channel and repeats the transmission of the detection signal from the wireless master unit. When the response signal is received, the changed channel is confirmed as the wireless channel used for wireless communication.

特許第5312612号公報Japanese Patent No. 5312612

しかし、上述の従来技術においては、多数の無線子機が無線親機と無線通信を行う構成の場合、多数の無線子機が無線親機に対して検出信号を送信するタイミングが重複することで混信が生じ、無線子機が無線親機と一致するチャンネルで検出信号を送信しても、この検出信号が無線親機により正しく受信されない懸念がある。この場合、無線子機は、無線親機から応答信号を受信しないためチャンネルをさらに変更することとなり、無線通信に使用するチャンネルを確定できないといった問題が生じる。 However, in the above-mentioned conventional technique, in the case of a configuration in which a large number of wireless slave units perform wireless communication with the wireless master unit, the timing at which the large number of wireless slave units transmit the detection signal to the wireless master unit overlaps. Even if interference occurs and the wireless slave unit transmits a detection signal on a channel that matches the wireless master unit, there is a concern that the detected signal will not be correctly received by the wireless master unit. In this case, since the wireless slave unit does not receive the response signal from the wireless master unit, the channel is further changed, which causes a problem that the channel used for wireless communication cannot be determined.

本発明は、上記に鑑みてなされたものであって、無線親機と無線通信を行う無線子機が、無線通信に使用するチャンネルを適切に探索できるようにすることを目的の1つとする。 The present invention has been made in view of the above, and one of the objects of the present invention is to enable a wireless slave unit that performs wireless communication with a wireless master unit to appropriately search for a channel used for wireless communication.

実施形態の無線通信システムは、無線親機と無線子機との間で無線通信を行う。前記無線子機は、起動時、または、前記無線親機からの信号を所定時間受信しない場合に、前記無線親機に対し、無線通信で使用するチャンネルを探索するためのチャンネルスキャン要求を送信するチャンネル探索処理部を備える。前記チャンネル探索処理部は、前記無線親機からの信号を前記所定時間受信しない場合に最初に現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信し、前記現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信しても前記無線親機からチャンネルスキャン応答を受信しない場合、チャンネルを変更して前記無線親機に対するチャンネルスキャン要求の送信を繰り返し、前記無線親機からチャンネルスキャン応答を受信した場合、前記無線親機からチャンネルスキャン応答を受信したときのチャンネルを、無線通信で使用するチャンネルとして確定する。前記所定回数は、前記無線子機ごとに予め定められている。前記無線子機が前記無線親機に対しチャンネルスキャン要求を送信する間隔は、ランダムに設定される。 The wireless communication system of the embodiment performs wireless communication between the wireless master unit and the wireless slave unit. The wireless slave unit transmits a channel scan request for searching a channel used for wireless communication to the wireless master unit at startup or when the signal from the wireless master unit is not received for a predetermined time. It is provided with a channel search processing unit. When the signal from the wireless master unit is not received for the predetermined time, the channel search processing unit makes a channel scan request to the wireless master unit two or more times in succession on the currently set channel when the signal from the wireless master unit is not received for the predetermined time. If the channel scan response is not received from the wireless master unit even if the channel scan request is transmitted to the wireless master unit two or more times in succession on the currently set channel, the channel is changed. When the channel scan request is repeatedly transmitted to the wireless master unit and the channel scan response is received from the wireless master unit, the channel used when the channel scan response is received from the wireless master unit is used for wireless communication. Confirmed as. The predetermined number of times is predetermined for each wireless slave unit. The interval at which the wireless slave unit transmits a channel scan request to the wireless master unit is randomly set.

図1は、実施形態の無線通信システムの構成例を示す図である。FIG. 1 is a diagram showing a configuration example of the wireless communication system of the embodiment. 図2は、無線親機の機能的な構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the functional configuration of the wireless master unit. 図3は、無線子機の機能的な構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of the functional configuration of the wireless slave unit. 図4は、無線子機のチャンネル探索処理部による処理手順の一例を示すフローチャートである。FIG. 4 is a flowchart showing an example of a processing procedure by the channel search processing unit of the wireless slave unit. 図5は、無線親機の応答処理部による処理手順の一例を示すフローチャートである。FIG. 5 is a flowchart showing an example of a processing procedure by the response processing unit of the wireless master unit. 図6は、無線子機の起動時における無線通信システムの動作の一例を説明するシーケンス図である。FIG. 6 is a sequence diagram illustrating an example of the operation of the wireless communication system when the wireless slave unit is activated. 図7は、無線親機がチャンネルを切り替えた際の無線通信システムの動作の一例を説明するシーケンス図である。FIG. 7 is a sequence diagram illustrating an example of the operation of the wireless communication system when the wireless master unit switches channels. 図8は、無線子機の起動時における無線通信システムの動作の一例を説明するシーケンス図である。FIG. 8 is a sequence diagram illustrating an example of the operation of the wireless communication system when the wireless slave unit is activated. 図9は、無線親機がチャンネルを切り替えた際の無線通信システムの動作の一例を説明するシーケンス図である。FIG. 9 is a sequence diagram illustrating an example of the operation of the wireless communication system when the wireless master unit switches channels.

以下、添付図面を参照しながら、実施形態の無線通信システム、無線子機およびチャンネル探索方法について詳細に説明する。以下で示す実施形態では、所定エリア内に分散配置された複数の計測装置により計測されたデータを、無線通信を利用して収集するシステムへの適用例を想定するが、適用可能なシステムはこれに限らない。本発明は、周辺の電波環境に応じて無線通信に使用するチャンネルの切り替えが行われる無線通信システムに対し、広く適用可能である。 Hereinafter, the wireless communication system, the wireless slave unit, and the channel search method of the embodiment will be described in detail with reference to the accompanying drawings. In the embodiment shown below, an application example to a system in which data measured by a plurality of measuring devices distributed in a predetermined area is collected by using wireless communication is assumed, but the applicable system is this. Not limited to. The present invention is widely applicable to a wireless communication system in which channels used for wireless communication are switched according to the surrounding radio wave environment.

図1は、本実施形態の無線通信システム1の構成例を示す図である。本実施形態の無線通信システム1は、無線親機10と、複数の無線子機20a,20b,20c,20dとを含む。無線子機20a,20bは、無線親機10との間で直接、無線通信を行う。また、無線子機20c,20dは、無線親機10との間で無線子機20aを介して無線通信を行う。つまり、無線子機20aは、無線親機10と無線子機20c,20dとの間の無線通信を中継する機能を持つ。このように、本実施形態の無線通信システム1は、無線親機10を頂点として複数の無線子機20a,20b,20c,20dがツリー状に接続された、いわゆるツリー型のマルチホップ無線ネットワークとして構成されている。 FIG. 1 is a diagram showing a configuration example of the wireless communication system 1 of the present embodiment. The wireless communication system 1 of the present embodiment includes a wireless master unit 10 and a plurality of wireless slave units 20a, 20b, 20c, 20d. The wireless slave units 20a and 20b directly perform wireless communication with the wireless master unit 10. Further, the wireless slave units 20c and 20d perform wireless communication with the wireless master unit 10 via the wireless slave unit 20a. That is, the wireless slave unit 20a has a function of relaying wireless communication between the wireless master unit 10 and the wireless slave units 20c and 20d. As described above, the wireless communication system 1 of the present embodiment is a so-called tree-type multi-hop wireless network in which a plurality of wireless slave units 20a, 20b, 20c, and 20d are connected in a tree shape with the wireless master unit 10 as the apex. It is configured.

無線親機10は、データ収集装置2と接続されている。また、複数の無線子機20a,20b,20c,20d(以下、これらを総称する場合は無線子機20と表記する)は、所定エリア内に分散配置された複数の計測装置3a,3b,3c,3d(以下、これらを総称する場合は計測装置3と表記する)と各々接続されている。複数の計測装置3は、データ収集装置2が分析の対象とする所定のデータを計測する装置である。データ収集装置2は、複数の計測装置3の計測データを収集して分析する情報処理装置である。 The wireless master unit 10 is connected to the data collection device 2. Further, the plurality of wireless slave units 20a, 20b, 20c, 20d (hereinafter, collectively referred to as wireless slave units 20) are a plurality of measuring devices 3a, 3b, 3c distributed and arranged in a predetermined area. , 3d (hereinafter, when these are collectively referred to as measuring device 3), they are connected to each other. The plurality of measuring devices 3 are devices that measure predetermined data to be analyzed by the data collecting device 2. The data collection device 2 is an information processing device that collects and analyzes the measurement data of a plurality of measurement devices 3.

無線親機10および複数の無線子機20は、それぞれ、例えば無線チップやこれを制御するCPUなどのプロセッサ、プロセッサの動作領域として利用されるRAM、プロセッサが実行する動作プログラムや各種データを格納するROM、周辺回路などを基板上に実装した無線モジュールとして構成される。無線モジュールとして構成される無線親機10や無線子機20は、例えばドングルやカードなどの形態でUSBポートなどの汎用ポートあるいは専用ポートを介してデータ収集装置2や計測装置3に接続される。また、無線モジュールとして構成される無線親機10や無線子機20は、データ収集装置2や計測装置3の内部基板上に搭載され、データ収集装置2や計測装置3に内蔵された形態であってもよい。 The wireless master unit 10 and the plurality of wireless slave units 20 store, for example, a processor such as a wireless chip and a CPU that controls the wireless chip, a RAM used as an operating area of the processor, an operation program executed by the processor, and various data. It is configured as a wireless module with a ROM, peripheral circuits, etc. mounted on a board. The wireless master unit 10 and the wireless slave unit 20 configured as a wireless module are connected to the data collecting device 2 and the measuring device 3 via a general-purpose port such as a USB port or a dedicated port in the form of a dongle or a card, for example. Further, the wireless master unit 10 and the wireless slave unit 20 configured as a wireless module are mounted on the internal substrate of the data collection device 2 and the measurement device 3, and are built in the data collection device 2 and the measurement device 3. You may.

本実施形態の無線通信システム1においては、無線親機10と複数の無線子機20との間の無線通信を通じて、データ収集装置2が複数の計測装置3の計測データを収集して分析することができる。ここで、本実施形態の無線通信システム1では、使用可能な複数の無線チャンネルのうちの1つのチャンネルを選択的に使用して、無線親機10と複数の無線子機20との間の無線通信が行われる。なお、図1に示す無線通信システム1の構成は一例であり、無線子機20の数や接続形態などは、適用されるシステムの構成に合せて任意に変更すればよい。 In the wireless communication system 1 of the present embodiment, the data collecting device 2 collects and analyzes the measurement data of the plurality of measuring devices 3 through wireless communication between the wireless master unit 10 and the plurality of wireless slave units 20. Can be done. Here, in the wireless communication system 1 of the present embodiment, one of the plurality of available wireless channels is selectively used to radio between the wireless master unit 10 and the plurality of wireless slave units 20. Communication takes place. The configuration of the wireless communication system 1 shown in FIG. 1 is an example, and the number of wireless slave units 20 and the connection form may be arbitrarily changed according to the configuration of the system to be applied.

図2は、無線親機10の機能的な構成の一例を示すブロック図である。無線親機10は、例えば図2に示すように、送信部11、受信部12、出力部13、チャンネル切り替え部14、応答処理部15および記憶部16を備える。送信部11、受信部12、出力部13、チャンネル切り替え部14および応答処理部15は、例えば、プロセッサがRAMを動作領域として利用し、ROMに格納された動作プログラムに従って無線チップや周辺回路などの動作を制御することで実現される機能部である。記憶部16は、例えばROMなどを用いて実現される機能部であり、子機リスト17を記憶している。 FIG. 2 is a block diagram showing an example of the functional configuration of the wireless master unit 10. As shown in FIG. 2, for example, the wireless master unit 10 includes a transmission unit 11, a reception unit 12, an output unit 13, a channel switching unit 14, a response processing unit 15, and a storage unit 16. In the transmitting unit 11, the receiving unit 12, the output unit 13, the channel switching unit 14, and the response processing unit 15, for example, the processor uses the RAM as an operating area, and the wireless chip, peripheral circuits, and the like are used according to the operating program stored in the ROM. It is a functional part realized by controlling the operation. The storage unit 16 is a functional unit realized by using, for example, a ROM, and stores the slave unit list 17.

子機リスト17は、無線親機10の通信相手となる無線子機20のリストである。子機リスト17には、無線親機10の通信相手となる各無線子機20を識別する識別情報が事前に登録される。本実施形態では、子機リスト17に登録される無線子機20の識別情報として、MAC(Media Access Control)アドレスを想定するが、これに限らない。 The slave unit list 17 is a list of wireless slave units 20 that are communication partners of the wireless master unit 10. In the slave unit list 17, identification information for identifying each wireless slave unit 20 as a communication partner of the wireless master unit 10 is registered in advance. In the present embodiment, a MAC (Media Access Control) address is assumed as the identification information of the wireless slave unit 20 registered in the slave unit list 17, but the present invention is not limited to this.

送信部11は、所定の無線通信プロトコルに従って、無線子機20に対して無線信号を送信する。受信部12は、所定の無線通信プロトコルに従って、無線子機20から送信された無線信号を受信する。送信部11が無線子機20に対して送信する無線信号としては、計測装置3の計測データを無線親機10に要求するデータ要求や、後述の応答処理部15の制御に応じて送信されるチャンネルスキャン応答(応答信号)などがある。受信部12が無線子機20から受信する無線信号としては、データ要求の応答として無線子機20から送信された計測データや、無線通信で使用するチャンネルを探索するために無線子機20から送信されたチャンネルスキャン要求(要求信号)などがある。これらの無線信号の送受信は、上述のように、複数のチャンネルのうちの1つを使用して行われる。 The transmission unit 11 transmits a wireless signal to the wireless slave unit 20 according to a predetermined wireless communication protocol. The receiving unit 12 receives the radio signal transmitted from the wireless slave unit 20 according to a predetermined wireless communication protocol. The wireless signal transmitted by the transmission unit 11 to the wireless slave unit 20 is transmitted in response to a data request for requesting the measurement data of the measuring device 3 to the wireless master unit 10 or a control of the response processing unit 15 described later. There is a channel scan response (response signal). The wireless signal received by the receiving unit 12 from the wireless slave unit 20 includes measurement data transmitted from the wireless slave unit 20 as a response to a data request and transmitted from the wireless slave unit 20 to search for a channel used in wireless communication. There is a channel scan request (request signal) that has been made. Transmission and reception of these radio signals is performed using one of a plurality of channels as described above.

出力部13は、受信部12が無線信号として無線子機20から計測装置3の計測データを受信した場合に、この計測データをデータ収集装置2に出力する。 When the receiving unit 12 receives the measurement data of the measuring device 3 from the wireless slave unit 20 as a wireless signal, the output unit 13 outputs the measurement data to the data collecting device 2.

チャンネル切り替え部14は、無線親機10の周辺の電波環境を監視し、電波環境が悪化した場合に、無線子機20との間の無線通信に使用するチャンネルの切り替えを行う。例えば、チャンネル切り替え部14は、受信部12による受信信号強度(RSSI:Received Signal Strength Indicator)、受信電力のデシベル値または真値、SNR(Signal Noise Rate)などのいずれかもしくは組合せにより無線子機20との間の無線通信の状態を判定し、無線子機20との間の無線通信の状態が所定の基準を満たさない場合に電波環境が悪化したと判断して、無線子機20との間の無線通信に使用するチャンネルの切り替えを行う。なお、チャンネル切り替え部14が電波環境の悪化を判断する方法は、ここで例示する方法に限らない。 The channel switching unit 14 monitors the radio wave environment around the wireless master unit 10, and when the radio wave environment deteriorates, switches the channel used for wireless communication with the wireless slave unit 20. For example, the channel switching unit 14 may use any or a combination of the received signal strength (RSSI: Received Signal Strength Indicator) by the receiving unit 12, the decibel value or true value of the received power, the SNR (Signal Noise Rate), and the like. Judging the state of wireless communication with the wireless slave unit 20, and determining that the radio wave environment has deteriorated when the state of wireless communication with the wireless slave unit 20 does not meet the predetermined criteria, and with the wireless slave unit 20 Switch the channel used for wireless communication. The method by which the channel switching unit 14 determines the deterioration of the radio wave environment is not limited to the method exemplified here.

また、チャンネル切り替え部14は、ユーザ操作に応じて無線子機20との間の無線通信に使用するチャンネルを切り替える構成であってもよい。例えば、無線親機10に対する各種の設定を行うための設定ツールを用いてユーザがチャンネルを変更する操作を行った場合に、チャンネル切り替え部14が、無線子機20との間の無線通信に使用するチャンネルの切り替えを行う。また、チャンネル切り替え部14は、周辺の電波環境に応じて自動的にチャンネルの切り替えを行う機能と、ユーザ操作に応じてチャンネルの切り替えを行う機能との双方を併せ持つ構成であってもよい。 Further, the channel switching unit 14 may be configured to switch the channel used for wireless communication with the wireless slave unit 20 according to the user operation. For example, when the user performs an operation to change the channel using a setting tool for making various settings for the wireless master unit 10, the channel switching unit 14 is used for wireless communication with the wireless slave unit 20. Switch the channel to be used. Further, the channel switching unit 14 may have both a function of automatically switching channels according to the surrounding radio wave environment and a function of switching channels according to user operations.

チャンネル切り替え部14によりチャンネルの切り替えが行われた場合、無線子機20側は無線親機10をロストするため、無線子機20側で後述のチャンネル探索処理が行われ、無線子機20から無線親機10に対してチャンネルスキャン要求が送信される。また、無線子機20の起動時においても、無線子機20側で後述のチャンネル探索処理が行われ、無線子機20から無線親機10に対してチャンネルスキャン要求が送信される。ここで、無線子機20が無線親機10と一致したチャンネル、つまりチャンネル切り替え部14による切り替え後のチャンネルでチャンネルスキャン要求を送信した場合、このチャンネルスキャン要求が受信部12により受信されることとなる。チャンネルスキャン要求には、このチャンネルスキャン要求の送信元となる無線子機20の識別情報(例えばMACアドレス)が含まれている。 When the channel is switched by the channel switching unit 14, the wireless slave unit 20 loses the wireless master unit 10. Therefore, the wireless slave unit 20 performs the channel search process described later, and the wireless slave unit 20 wirelessly performs the channel search process. A channel scan request is transmitted to the master unit 10. Further, even when the wireless slave unit 20 is activated, the wireless slave unit 20 performs the channel search process described later, and the wireless slave unit 20 transmits a channel scan request to the wireless master unit 10. Here, when the wireless slave unit 20 transmits a channel scan request on the channel matching the wireless master unit 10, that is, the channel after switching by the channel switching unit 14, the channel scan request is received by the receiving unit 12. Become. The channel scan request includes identification information (for example, MAC address) of the wireless slave unit 20 that is the source of the channel scan request.

応答処理部15は、受信部12が無線子機20からチャンネルスキャン要求を受信した場合に、このチャンネルスキャン要求に含まれる無線子機20の識別情報(例えばMACアドレス)を、記憶部16が記憶する子機リスト17と照合する。そして、受信部12が受信したチャンネルスキャン要求に含まれる識別情報が、子機リスト17に登録されている識別情報のいずれかと一致する場合に、このチャンネルスキャン要求の送信元である無線子機20に対して、送信部11からチャンネルスキャン応答を送信する。 When the receiving unit 12 receives the channel scan request from the wireless slave unit 20, the response processing unit 15 stores the identification information (for example, MAC address) of the wireless slave unit 20 included in the channel scan request in the storage unit 16. Check with the slave unit list 17. Then, when the identification information included in the channel scan request received by the receiving unit 12 matches any of the identification information registered in the slave unit list 17, the wireless slave unit 20 which is the source of the channel scan request The channel scan response is transmitted from the transmission unit 11.

図3は、無線子機20の機能的な構成の一例を示すブロック図である。無線子機20は、例えば図3に示すように、送信部21、受信部22、取得部23、チャンネル探索処理部24、回数カウンタ25およびタイマ26を備える。送信部21、受信部22、取得部23、チャンネル探索処理部24、回数カウンタ25およびタイマ26は、例えば、プロセッサがRAMを動作領域として利用し、RAMに格納された動作プログラムに従って無線チップや周辺回路などの動作を制御することで実現される機能部である。 FIG. 3 is a block diagram showing an example of the functional configuration of the wireless slave unit 20. As shown in FIG. 3, for example, the wireless slave unit 20 includes a transmission unit 21, a reception unit 22, an acquisition unit 23, a channel search processing unit 24, a number-of-times counter 25, and a timer 26. The transmission unit 21, the reception unit 22, the acquisition unit 23, the channel search processing unit 24, the number-of-times counter 25, and the timer 26 are, for example, a wireless chip and peripherals according to an operation program stored in the RAM when the processor uses the RAM as an operation area. It is a functional unit realized by controlling the operation of circuits and the like.

送信部21は、所定の無線通信プロトコルに従って、無線親機10に対して無線信号を送信する。受信部22は、所定の無線通信プロトコルに従って、無線親機10から送信された無線信号を受信する。送信部21が無線親機10に対して送信する無線信号としては、無線親機10からのデータ要求に応答して送信される計測装置3の計測データや、後述のチャンネル探索処理部24の制御に応じて送信されるチャンネルスキャン要求などがある。受信部22が無線親機10から受信する無線信号としては、上述のデータ要求やチャンネルスキャン応答などがある。これらの無線信号の送受信は、上述のように、複数のチャンネルのうちの1つを使用して行われる。 The transmission unit 21 transmits a wireless signal to the wireless master unit 10 according to a predetermined wireless communication protocol. The receiving unit 22 receives the radio signal transmitted from the wireless master unit 10 according to a predetermined wireless communication protocol. The wireless signal transmitted by the transmission unit 21 to the wireless master unit 10 includes the measurement data of the measuring device 3 transmitted in response to the data request from the wireless master unit 10 and the control of the channel search processing unit 24 described later. There is a channel scan request etc. sent according to. Radio signals received by the receiving unit 22 from the wireless master unit 10 include the above-mentioned data request and channel scan response. Transmission and reception of these radio signals is performed using one of a plurality of channels as described above.

取得部23は、受信部22が無線親機10からデータ要求を受信した場合に、このデータ要求に応じて計測装置3から計測データを取得する。取得部23が取得した計測装置3の計測データは、送信部21から無線親機10に送信される。 When the receiving unit 22 receives the data request from the wireless master unit 10, the acquisition unit 23 acquires the measurement data from the measuring device 3 in response to the data request. The measurement data of the measuring device 3 acquired by the acquisition unit 23 is transmitted from the transmitting unit 21 to the wireless master unit 10.

チャンネル探索処理部24は、無線子機20の起動時、または、受信部22が無線親機10からの無線信号を所定時間受信しない場合に、チャンネル探索処理を行う。チャンネル探索処理は、無線親機10との間の無線通信で使用するチャンネルを探索する処理であり、無線通信で使用するチャンネルを変更しながら無線親機10に対してチャンネルスキャン要求を送信し、無線親機10からチャンネルスキャン応答を受信したときのチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定する処理である。なお、受信部22が無線親機10からの無線信号を所定時間受信しない場合の典型例として、無線親機10のチャンネル切り替え部14が、無線通信に使用するチャンネルを切り替えた場合が挙げられる。 The channel search processing unit 24 performs the channel search processing when the wireless slave unit 20 is activated or when the receiving unit 22 does not receive the wireless signal from the wireless master unit 10 for a predetermined time. The channel search process is a process of searching for a channel used in wireless communication with the wireless master unit 10, and transmits a channel scan request to the wireless master unit 10 while changing the channel used in wireless communication. This is a process of determining the channel when the channel scan response is received from the wireless master unit 10 as the channel used for wireless communication with the wireless master unit 10. As a typical example of the case where the receiving unit 22 does not receive the wireless signal from the wireless master unit 10 for a predetermined time, there is a case where the channel switching unit 14 of the wireless master unit 10 switches the channel used for wireless communication.

ここで、本実施形態におけるチャンネル探索処理では、チャンネルスキャン要求の送信を1つのチャンネルで1回のみ行うのではなく、ランダムに設定される送信間隔で所定回数行う。すなわち、チャンネル探索処理部24は、無線子機20の起動時、または、無線親機10からの無線信号を所定時間受信しない場合に、送信部21から無線親機10に対してチャンネルスキャン要求を送信するが、無線親機10からのチャンネルスキャン応答が受信部22により受信されない場合、一定時間経過後にチャンネルを変更してチャンネルスキャン要求を再度送信するのではなく、同じチャンネルで所定回数(例えば3回など)を限度に、チャンネルスキャン要求の送信を繰り返す。このとき、チャンネルスキャン要求の送信間隔は、所定の時間範囲(例えば1.2秒〜2.8秒など)内でランダムに設定される。 Here, in the channel search process in the present embodiment, the channel scan request is not transmitted only once in one channel, but is performed a predetermined number of times at a randomly set transmission interval. That is, the channel search processing unit 24 makes a channel scan request from the transmission unit 21 to the wireless master unit 10 when the wireless slave unit 20 is activated or when the wireless signal from the wireless master unit 10 is not received for a predetermined time. When transmission is performed, but the channel scan response from the wireless master unit 10 is not received by the receiving unit 22, the channel is not changed after a certain period of time and the channel scan request is transmitted again, but a predetermined number of times (for example, 3) is transmitted on the same channel. Repeat sending channel scan requests up to (times, etc.). At this time, the transmission interval of the channel scan request is randomly set within a predetermined time range (for example, 1.2 seconds to 2.8 seconds).

チャンネル探索処理部24は、1つのチャンネルでチャンネルスキャン要求を所定回数送信しても無線親機10からチャンネルスキャン応答を受信できない場合に、チャンネルを変更して所定回数のチャンネルスキャン要求の送信を繰り返す。そして、チャンネル探索処理部24は、チャンネルスキャン要求に対する応答として無線親機10から送信されたチャンネルスキャン応答を受信部22が受信した場合に、そのときのチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定する。 When the channel scan response cannot be received from the wireless master unit 10 even if the channel scan request is transmitted a predetermined number of times on one channel, the channel search processing unit 24 changes the channel and repeats the transmission of the channel scan request a predetermined number of times. .. Then, when the receiving unit 22 receives the channel scan response transmitted from the wireless master unit 10 as a response to the channel scan request, the channel search processing unit 24 transfers the channel at that time to the wireless master unit 10. Confirm as the channel used for wireless communication.

回数カウンタ25は、チャンネルスキャン要求の送信回数をカウントするカウンタである。この回数カウンタ25は、送信部21からチャンネルスキャン要求が送信されるたびに値がインクリメントされ、チャンネルが変更されるとリセットされる。チャンネル探索処理部24は、この回数カウンタ25を参照することで、1つのチャンネルでチャンネルスキャン要求を何回送信したかを判断できる。 The count counter 25 is a counter that counts the number of transmissions of the channel scan request. The value of the number counter 25 is incremented each time a channel scan request is transmitted from the transmission unit 21, and is reset when the channel is changed. By referring to the number-of-times counter 25, the channel search processing unit 24 can determine how many times the channel scan request has been transmitted in one channel.

タイマ26は、無線親機10から無線信号を受信していない時間を計測するタイマである。タイマ26は、無線親機10から何らかの無線信号を受信するとリセットされる。チャンネル探索処理部24は、このタイマ26を参照することで、無線親機10から無線信号を受信していない時間が所定時間に達したかどうかを判断できる。 The timer 26 is a timer that measures the time during which no wireless signal is received from the wireless master unit 10. The timer 26 is reset when it receives some wireless signal from the wireless master unit 10. By referring to the timer 26, the channel search processing unit 24 can determine whether or not the time during which the wireless signal is not received from the wireless master unit 10 has reached a predetermined time.

図4は、無線子機20のチャンネル探索処理部24による処理手順の一例を示すフローチャートである。無線子機20のチャンネル探索処理部24は、無線子機20の起動時、または、無線親機10からの無線信号を所定時間受信しない場合に、例えば図4のフローチャートに示す手順でチャンネル探索処理を行う。 FIG. 4 is a flowchart showing an example of a processing procedure by the channel search processing unit 24 of the wireless slave unit 20. The channel search processing unit 24 of the wireless slave unit 20 performs channel search processing, for example, according to the procedure shown in the flowchart of FIG. 4 when the wireless slave unit 20 is started up or when the wireless signal from the wireless master unit 10 is not received for a predetermined time. I do.

チャンネル探索処理が開始されると、無線子機20のチャンネル探索処理部24は、まず、現在設定されているチャンネルで、送信部21から無線親機10に対し、無線親機10との間の無線通信に使用するチャンネルを探索するためのチャンネルスキャン要求を送信する(ステップS101)。このチャンネルスキャン要求には、送信元を示す情報として無線子機20のMACアドレスが含まれている。 When the channel search process is started, the channel search processing unit 24 of the wireless slave unit 20 first receives the currently set channel from the transmission unit 21 to the wireless master unit 10 and between the wireless master unit 10 and the wireless master unit 10. A channel scan request for searching for a channel used for wireless communication is transmitted (step S101). This channel scan request includes the MAC address of the wireless slave unit 20 as information indicating the source.

次に、チャンネル探索処理部24は、受信部22によって無線親機10からのチャンネルスキャン応答が受信されたか否かを判定する(ステップS102)。そして、受信部22がチャンネルスキャン応答を受信していない場合(ステップS102:No)、チャンネル探索処理部24は、現在設定されているチャンネルで無線親機10に対して送信したチャンネルスキャン要求の送信回数が所定回数に達したか否かを判定する(ステップS103)。 Next, the channel search processing unit 24 determines whether or not the channel scan response from the wireless master unit 10 has been received by the receiving unit 22 (step S102). Then, when the receiving unit 22 has not received the channel scan response (step S102: No), the channel search processing unit 24 transmits the channel scan request transmitted to the wireless master unit 10 on the currently set channel. It is determined whether or not the number of times has reached a predetermined number of times (step S103).

ここで、現在設定されているチャンネルでチャンネルスキャン要求を所定回数送信していない場合(ステップS103:No)、チャンネル探索処理部24は、ステップS101に戻って、無線親機10に対するチャンネルスキャン要求を送信部21から再度送信する。このとき、前回のチャンネルスキャン要求の送信と今回のチャンネルスキャン要求の送信との間の間隔(送信間隔)は、所定の時間範囲内でランダムに設定される。 Here, when the channel scan request has not been transmitted a predetermined number of times on the currently set channel (step S103: No), the channel search processing unit 24 returns to step S101 and makes a channel scan request to the wireless master unit 10. The transmission unit 21 transmits again. At this time, the interval (transmission interval) between the transmission of the previous channel scan request and the transmission of the current channel scan request is randomly set within a predetermined time range.

一方、現在設定されているチャンネルで無線親機10に対して送信したチャンネルスキャン要求の送信回数が所定回数に達した場合(ステップS103:Yes)、チャンネル探索処理部24は、現在設定されているチャンネルを、無線親機10との間の無線通信に使用可能な他のチャンネルに変更する(ステップS104)。そして、チャンネル探索処理部24は、ステップS101に戻って、ステップS104で変更後のチャンネルで、送信部21から無線親機10に対し、チャンネルスキャン要求を再度送信する。 On the other hand, when the number of transmissions of the channel scan request transmitted to the wireless master unit 10 on the currently set channel reaches a predetermined number (step S103: Yes), the channel search processing unit 24 is currently set. The channel is changed to another channel that can be used for wireless communication with the wireless master unit 10 (step S104). Then, the channel search processing unit 24 returns to step S101 and retransmits the channel scan request from the transmission unit 21 to the wireless master unit 10 on the channel changed in step S104.

チャンネル探索処理部24は、受信部22によって無線親機10からのチャンネルスキャン応答が受信されるまで、以上のステップS101からステップS104の処理を繰り返す。そして、受信部22によって無線親機10からのチャンネルスキャン応答が受信されると(ステップS102:Yes)、現在設定されているチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定し(ステップS105)、チャンネル探索処理を終了する。 The channel search processing unit 24 repeats the above steps S101 to S104 until the receiving unit 22 receives the channel scan response from the wireless master unit 10. Then, when the receiving unit 22 receives the channel scan response from the wireless master unit 10 (step S102: Yes), the currently set channel is used as the channel used for wireless communication with the wireless master unit 10. It is confirmed (step S105), and the channel search process is terminated.

以上のチャンネル探索処理により無線親機10との間の無線通信に使用するチャンネルが確定すると、無線子機20は、その後、確定したチャンネルを使用して、受信部22による無線親機10からのデータ要求の受信や、送信部21による無線親機10に対する計測データの送信を行う。 When the channel used for wireless communication with the wireless master unit 10 is determined by the above channel search process, the wireless slave unit 20 then uses the determined channel from the wireless master unit 10 by the receiving unit 22. It receives a data request and transmits measurement data to the wireless master unit 10 by the transmission unit 21.

図5は、無線親機10の応答処理部15による処理手順の一例を示すフローチャートである。無線親機10の応答処理部15は、上述の無線子機20のチャンネル探索処理部24によってチャンネル探索処理が行われる際に、例えば図5のフローチャートで示す手順でチャンネル探索処理に対する応答処理を行う。 FIG. 5 is a flowchart showing an example of a processing procedure by the response processing unit 15 of the wireless master unit 10. When the channel search processing unit 24 of the wireless slave unit 20 described above performs the channel search processing, the response processing unit 15 of the wireless master unit 10 performs the response processing to the channel search processing according to the procedure shown in the flowchart of FIG. 5, for example. ..

すなわち、無線親機10の応答処理部15は、まず、受信部12によって無線子機20からのチャンネルスキャン要求が受信されたか否かを判定する(ステップS201)。このとき、無線親機10と無線子機20との間で使用するチャンネルが一致していれば、無線子機20からのチャンネルスキャン要求が受信部12によって受信されることになる。 That is, the response processing unit 15 of the wireless master unit 10 first determines whether or not the channel scan request from the wireless slave unit 20 has been received by the receiving unit 12 (step S201). At this time, if the channels used between the wireless master unit 10 and the wireless slave unit 20 match, the channel scan request from the wireless slave unit 20 will be received by the receiving unit 12.

応答処理部15は、受信部12によって無線子機20からのチャンネルスキャン要求が受信された場合(ステップS201:Yes)、次に、このチャンネルスキャン要求に含まれる無線子機20のMACアドレスを記憶部16が記憶する子機リスト17と照合し、チャンネルスキャン要求に含まれる無線子機20のMACアドレスが子機リスト17に登録されたいずれかのMACアドレスと一致するか否かを判定する(ステップS202)。そして、応答処理部15は、チャンネルスキャン要求に含まれる無線子機20のMACアドレスが子機リスト17に登録されたいずれかのMACアドレスと一致する場合(ステップS202:Yes)、このチャンネルスキャン要求の送信元の無線子機20を宛先としてチャンネルスキャン応答を送信し(ステップS203)、応答処理を終了する。 When the response processing unit 15 receives the channel scan request from the wireless slave unit 20 by the receiving unit 12 (step S201: Yes), the response processing unit 15 then stores the MAC address of the wireless slave unit 20 included in the channel scan request. By collating with the slave unit list 17 stored in the unit 16, it is determined whether or not the MAC address of the wireless slave unit 20 included in the channel scan request matches any MAC address registered in the slave unit list 17 ( Step S202). Then, when the MAC address of the wireless slave unit 20 included in the channel scan request matches any MAC address registered in the slave unit list 17, the response processing unit 15 requests this channel scan request (step S202: Yes). A channel scan response is transmitted to the wireless slave unit 20 that is the transmission source of the above (step S203), and the response process is completed.

一方、チャンネルスキャン要求に含まれる無線子機20のMACアドレスが子機リスト17に登録されたいずれのMACアドレスとも一致しない場合(ステップS202:No)、応答処理部15は、チャンネルスキャン要求の送信元が無線親機10の通信相手ではないと判断し、チャンネルスキャン応答を送信することなく応答処理を終了する。 On the other hand, when the MAC address of the wireless slave unit 20 included in the channel scan request does not match any of the MAC addresses registered in the slave unit list 17 (step S202: No), the response processing unit 15 transmits the channel scan request. It is determined that the original is not the communication partner of the wireless master unit 10, and the response process is terminated without transmitting the channel scan response.

ここで、図1の構成例における無線親機10と無線子機20aとの間の無線通信に注目し、本実施形態の無線通信システム1の具体的な動作の一例について、図6および図7を参照して説明する。図6は、無線子機20aの起動時における無線通信システム1の動作の一例を説明するシーケンス図であり、図7は、無線親機10がチャンネルを切り替えた際の無線通信システム1の動作の一例を説明するシーケンス図である。なお、ここでは無線子機20aが1つのチャンネルで送信するチャンネルスキャン要求の回数が3回までと定められているものとする。 Here, paying attention to the wireless communication between the wireless master unit 10 and the wireless slave unit 20a in the configuration example of FIG. 1, an example of a specific operation of the wireless communication system 1 of the present embodiment will be described in FIGS. 6 and 7. Will be described with reference to. FIG. 6 is a sequence diagram illustrating an example of the operation of the wireless communication system 1 when the wireless slave unit 20a is started, and FIG. 7 is a sequence diagram of the operation of the wireless communication system 1 when the wireless master unit 10 switches channels. It is a sequence diagram explaining an example. Here, it is assumed that the number of channel scan requests transmitted by the wireless slave unit 20a on one channel is limited to three times.

まず、図6を参照して、無線子機20aの起動時における動作例を説明する。無線子機20aは、起動時に、現在設定されているチャンネルで無線親機10に対しチャンネルスキャン要求を送信する(ステップS301)。このとき、無線子機20aに設定されているチャンネルは、無線親機10に設定されているチャンネルと一致しないものとする。このため、無線子機20aが送信したチャンネルスキャン要求は無線親機10に受信されず、無線親機10から無線子機20aに対してチャンネルスキャン応答が送信されることはない。 First, with reference to FIG. 6, an operation example at the time of starting the wireless slave unit 20a will be described. At startup, the wireless slave unit 20a transmits a channel scan request to the wireless master unit 10 on the currently set channel (step S301). At this time, it is assumed that the channel set in the wireless slave unit 20a does not match the channel set in the wireless master unit 10. Therefore, the channel scan request transmitted by the wireless slave unit 20a is not received by the wireless master unit 10, and the channel scan response is not transmitted from the wireless master unit 10 to the wireless slave unit 20a.

無線子機20aは、無線親機10からチャンネルスキャン応答を受信できないため、現在設定されているチャンネルで無線親機10に対するチャンネルスキャン要求の送信を繰り返す(ステップS302、ステップS303)。このとき、チャンネルスキャン要求の送信間隔、つまり、ステップS301でチャンネルスキャン要求を送信してからステップS302でチャンネルスキャン要求を送信するまでの間隔と、ステップS302でチャンネルスキャン要求を送信してからステップS303でチャンネルスキャン要求を送信するまでの間隔は、それぞれ所定の時間範囲(例えば1.2秒〜2.8秒など)内でランダムに設定される。 Since the wireless slave unit 20a cannot receive the channel scan response from the wireless master unit 10, it repeats transmission of the channel scan request to the wireless master unit 10 on the currently set channel (steps S302 and S303). At this time, the transmission interval of the channel scan request, that is, the interval from the transmission of the channel scan request in step S301 to the transmission of the channel scan request in step S302, and the interval from the transmission of the channel scan request in step S302 to step S303. The interval until the channel scan request is transmitted is randomly set within a predetermined time range (for example, 1.2 seconds to 2.8 seconds).

無線子機20aは、現在設定されているチャンネルで無線親機10に対して合計3回(所定回数の一例)チャンネルスキャン要求を送信しても無線親機10からのチャンネルスキャン応答を受信できないため、現在設定されているチャンネルを、無線通信に使用可能な他のチャンネルに変更する(ステップS304)。そして、無線子機20aは、ステップS304で変更した後のチャンネルで、無線親機10に対してチャンネルスキャン要求を送信する(ステップS305)。このとき、ステップS304で変更した後のチャンネルは、無線親機10に設定されているチャンネルと一致しているとする。このため、無線子機20aが送信したチャンネルスキャン要求は、無線親機10によって受信される。 This is because the wireless slave unit 20a cannot receive the channel scan response from the wireless master unit 10 even if it transmits a channel scan request to the wireless master unit 10 a total of three times (an example of a predetermined number of times) on the currently set channel. , The currently set channel is changed to another channel that can be used for wireless communication (step S304). Then, the wireless slave unit 20a transmits a channel scan request to the wireless master unit 10 on the channel changed in step S304 (step S305). At this time, it is assumed that the channel changed in step S304 matches the channel set in the wireless master unit 10. Therefore, the channel scan request transmitted by the wireless slave unit 20a is received by the wireless master unit 10.

無線親機10は、無線子機20aからチャンネルスキャン要求を受信すると、このチャンネルスキャン要求に含まれる送信元のMACアドレスを、記憶部16が記憶する子機リスト17と照合する(ステップS306)。ここでは、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致しているものとする。無線親機10は、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致していることを確認すると、このMACアドレスを宛先として(つまり、チャンネルスキャン要求の送信元の無線子機20aを宛先として)、チャンネルスキャン応答を送信する(ステップS307)。 When the wireless master unit 10 receives the channel scan request from the wireless slave unit 20a, the wireless master unit 10 collates the MAC address of the transmission source included in the channel scan request with the slave unit list 17 stored in the storage unit 16 (step S306). Here, it is assumed that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17. When the wireless master unit 10 confirms that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17, the wireless master unit 10 addresses this MAC address. (That is, to the wireless slave unit 20a that is the source of the channel scan request), the channel scan response is transmitted (step S307).

このとき、無線子機20aは無線親機10と共通のチャンネルを使用しているため、無線親機10から送信されたチャンネルスキャン応答は、無線子機20aによって受信される。無線子機20aは、無線親機10からのチャンネルスキャン応答を受信すると、現在設定されているチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定する(ステップS308)。 At this time, since the wireless slave unit 20a uses the same channel as the wireless master unit 10, the channel scan response transmitted from the wireless master unit 10 is received by the wireless slave unit 20a. When the wireless slave unit 20a receives the channel scan response from the wireless master unit 10, the wireless slave unit 20a determines the currently set channel as the channel used for wireless communication with the wireless master unit 10 (step S308).

なお、図6に示す例では、ステップS305で無線子機20aが送信したチャンネルスキャン要求が無線親機10により受信されるものとしているが、無線子機20aが無線親機10と一致するチャンネルでチャンネルスキャン要求を送信しても、例えば無線信号の混信などの影響によりこのチャンネルスキャン要求が無線親機10に受信されないこともある。しかし、本実施形態では、無線子機20aが1つのチャンネルで無線親機10に対するチャンネルスキャン要求の送信を所定回数(例えば3回)を限度に繰り返すので、無線子機20aが無線親機10と一致するチャンネルでチャンネルスキャン要求を送信すれば、このチャンネルスキャン要求が無線親機10により受信される可能性は極めて高い。 In the example shown in FIG. 6, it is assumed that the channel scan request transmitted by the wireless slave unit 20a in step S305 is received by the wireless master unit 10, but the wireless slave unit 20a has a channel that matches the wireless master unit 10. Even if the channel scan request is transmitted, the channel scan request may not be received by the wireless master unit 10 due to the influence of, for example, radio signal interference. However, in the present embodiment, since the wireless slave unit 20a repeats the transmission of the channel scan request to the wireless master unit 10 on one channel up to a predetermined number of times (for example, three times), the wireless slave unit 20a becomes the wireless master unit 10. If the channel scan request is transmitted on the matching channel, the possibility that the channel scan request is received by the wireless master unit 10 is extremely high.

ステップS308で無線子機20aがチャンネルを確定した後、無線親機10が無線子機20aに対してデータ要求を送信すると(ステップS309)、このデータ要求が無線子機20aによって受信される。無線子機20aは、無線親機10からのデータ要求を受信すると、計測装置3aの計測データを取得し、データ要求に対する応答として、取得した計測データを無線親機10に対して送信する(ステップS310)。この計測データは無線親機10により受信され、データ収集装置2に出力される。以降、無線親機10においてチャンネルの切り替えが行われるまでの間は、無線親機10と無線子機20aとの間で、共通のチャンネルを使用してデータ要求と計測データの送受信が行われる。 When the wireless master unit 10 transmits a data request to the wireless slave unit 20a after the wireless slave unit 20a determines the channel in step S308 (step S309), the data request is received by the wireless slave unit 20a. When the wireless slave unit 20a receives the data request from the wireless master unit 10, it acquires the measurement data of the measuring device 3a and transmits the acquired measurement data to the wireless master unit 10 as a response to the data request (step). S310). This measurement data is received by the wireless master unit 10 and output to the data collection device 2. After that, until the channel is switched in the wireless master unit 10, data request and measurement data are transmitted / received between the wireless master unit 10 and the wireless slave unit 20a using a common channel.

次に、図7を参照して、無線親機10がチャンネルを切り替えた際の動作例について説明する。無線親機10がチャンネルを切り替える前は、無線親機10と無線子機20aが共通のチャンネルを使用して無線通信を行うため、無線親機10が無線子機20aに対してデータ要求を送信すると(ステップS401)、このデータ要求が無線子機20aにより受信される。そして、このデータ要求に対する応答として、無線子機20aから無線親機10に対し計測装置3aの計測データが送信され(ステップS402)、この計測データが無線親機10により受信され、データ収集装置2に出力される。 Next, an operation example when the wireless master unit 10 switches channels will be described with reference to FIG. 7. Before the wireless master unit 10 switches channels, the wireless master unit 10 and the wireless slave unit 20a perform wireless communication using a common channel, so that the wireless master unit 10 transmits a data request to the wireless slave unit 20a. Then (step S401), this data request is received by the wireless slave unit 20a. Then, as a response to this data request, the wireless slave unit 20a transmits the measurement data of the measuring device 3a to the wireless master unit 10 (step S402), the measurement data is received by the wireless master unit 10, and the data collecting device 2 Is output to.

ここで、無線親機10の周辺の電波環境が悪化したとする。この場合、無線親機10は、電波環境の悪化を検知して(あるいはユーザ操作に応じて)無線通信に使用するチャンネルの切り替えを行う(ステップS403)。無線親機10が無線通信に使用するチャンネルの切り替えを行うと、無線親機10と無線子機20aとの間で無線通信に使用するチャンネルが一致しなくなる。このため、無線親機10が無線子機20aに対してデータ要求を送信しても(ステップS404)、このデータ要求は無線子機20aに受信されない。 Here, it is assumed that the radio wave environment around the wireless master unit 10 has deteriorated. In this case, the wireless master unit 10 detects the deterioration of the radio wave environment (or responds to the user's operation) and switches the channel used for wireless communication (step S403). When the channel used for wireless communication is switched by the wireless master unit 10, the channels used for wireless communication do not match between the wireless master unit 10 and the wireless slave unit 20a. Therefore, even if the wireless master unit 10 transmits a data request to the wireless slave unit 20a (step S404), the data request is not received by the wireless slave unit 20a.

無線子機20aは、無線親機10から無線信号を受信しない時間(例えばステップS401で無線親機10から送信されたデータ要求を受信してからの経過時間)が所定時間Txに達すると、現在設定されているチャンネルで無線親機10に対しチャンネルスキャン要求を送信する(ステップS405)。このとき、無線子機20aに設定されているチャンネルは、無線親機10に設定されているチャンネル(つまり、ステップS403で切り替えた後のチャンネル)と一致しないため、無線子機20aが送信したチャンネルスキャン要求は無線親機10に受信されず、無線親機10から無線子機20aに対してチャンネルスキャン応答が送信されることはない。 When the time during which the wireless slave unit 20a does not receive the wireless signal from the wireless master unit 10 (for example, the elapsed time after receiving the data request transmitted from the wireless master unit 10 in step S401) reaches a predetermined time Tx, the wireless slave unit 20a is currently present. A channel scan request is transmitted to the wireless master unit 10 on the set channel (step S405). At this time, since the channel set in the wireless slave unit 20a does not match the channel set in the wireless master unit 10 (that is, the channel after switching in step S403), the channel transmitted by the wireless slave unit 20a The scan request is not received by the wireless master unit 10, and the channel scan response is not transmitted from the wireless master unit 10 to the wireless slave unit 20a.

無線子機20aは、無線親機10からチャンネルスキャン応答を受信できないため、現在設定されているチャンネルで無線親機10に対するチャンネルスキャン要求の送信を繰り返す(ステップS406、ステップS407)。このとき、チャンネルスキャン要求の送信間隔、つまり、ステップS405でチャンネルスキャン要求を送信してからステップS406でチャンネルスキャン要求を送信するまでの間隔と、ステップS406でチャンネルスキャン要求を送信してからステップS407でチャンネルスキャン要求を送信するまでの間隔は、それぞれ所定の時間範囲内でランダムに設定される。 Since the wireless slave unit 20a cannot receive the channel scan response from the wireless master unit 10, it repeats transmission of the channel scan request to the wireless master unit 10 on the currently set channel (step S406, step S407). At this time, the transmission interval of the channel scan request, that is, the interval from the transmission of the channel scan request in step S405 to the transmission of the channel scan request in step S406, and the interval from the transmission of the channel scan request in step S406 to step S407. The interval until the channel scan request is transmitted is randomly set within a predetermined time range.

無線子機20aは、現在設定されているチャンネルで無線親機10に対し合計3回チャンネルスキャン要求を送信しても無線親機10からのチャンネルスキャン応答を受信できないため、現在設定されているチャンネルを、無線通信に使用可能な他のチャンネルに変更する(ステップS408)。そして、無線子機20aは、ステップS408で変更した後のチャンネルで、無線親機10に対してチャンネルスキャン要求を送信する(ステップS409)。このとき、ステップS408で変更した後のチャンネルは、無線親機10に設定されているチャンネル(ステップS403で切り替えた後のチャンネル)と一致しないものとする。このため、無線子機20aが送信したチャンネルスキャン要求は無線親機10に受信されず、無線親機10から無線子機20aに対してチャンネルスキャン応答が送信されることはない。 Since the wireless slave unit 20a cannot receive the channel scan response from the wireless master unit 10 even if the channel scan request is transmitted to the wireless master unit 10 three times in total on the currently set channel, the currently set channel To another channel that can be used for wireless communication (step S408). Then, the wireless slave unit 20a transmits a channel scan request to the wireless master unit 10 on the channel changed in step S408 (step S409). At this time, it is assumed that the channel changed in step S408 does not match the channel set in the wireless master unit 10 (the channel after switching in step S403). Therefore, the channel scan request transmitted by the wireless slave unit 20a is not received by the wireless master unit 10, and the channel scan response is not transmitted from the wireless master unit 10 to the wireless slave unit 20a.

無線子機20aは、無線親機10からチャンネルスキャン応答を受信できないため、ステップS408で変更した後のチャンネルで無線親機10に対するチャンネルスキャン要求の送信を繰り返す(ステップS410、ステップS411)。このときのチャンネルスキャン要求の送信間隔も、それぞれ所定の時間範囲内でランダムに設定される。 Since the wireless slave unit 20a cannot receive the channel scan response from the wireless master unit 10, the transmission of the channel scan request to the wireless master unit 10 is repeated on the channel changed in step S408 (step S410, step S411). The transmission interval of the channel scan request at this time is also randomly set within a predetermined time range.

無線子機20aは、ステップS408で変更した後のチャンネルで無線親機10に対し合計3回チャンネルスキャン要求を送信しても無線親機10からのチャンネルスキャン応答を受信できないため、ステップS408で変更したチャンネルを、さらに別のチャンネルに変更する(ステップS412)。そして、無線子機20aは、ステップS412で変更した後のチャンネルで、無線親機10に対してチャンネルスキャン要求を送信する(ステップS413)。このとき、ステップS412で変更した後のチャンネルは、無線親機10に設定されているチャンネル(ステップS403で切り替えた後のチャンネル)と一致しているとする。このため、無線子機20aが送信したチャンネルスキャン要求は、無線親機10によって受信される。 The wireless slave unit 20a is changed in step S408 because the channel scan response from the wireless master unit 10 cannot be received even if the channel scan request is transmitted to the wireless master unit 10 three times in total on the channel changed in step S408. The channel is changed to another channel (step S412). Then, the wireless slave unit 20a transmits a channel scan request to the wireless master unit 10 on the channel changed in step S412 (step S413). At this time, it is assumed that the channel changed in step S412 matches the channel set in the wireless master unit 10 (the channel after switching in step S403). Therefore, the channel scan request transmitted by the wireless slave unit 20a is received by the wireless master unit 10.

無線親機10は、無線子機20aからチャンネルスキャン要求を受信すると、このチャンネルスキャン要求に含まれる送信元のMACアドレスを、記憶部16が記憶する子機リスト17と照合する(ステップS414)。ここでは、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致しているものとする。無線親機10は、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致していることを確認すると、このMACアドレスを宛先として(つまり、チャンネルスキャン要求の送信元の無線子機20aを宛先として)、チャンネルスキャン応答を送信する(ステップS415)。 When the wireless master unit 10 receives the channel scan request from the wireless slave unit 20a, the wireless master unit 10 collates the MAC address of the transmission source included in the channel scan request with the slave unit list 17 stored in the storage unit 16 (step S414). Here, it is assumed that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17. When the wireless master unit 10 confirms that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17, the wireless master unit 10 addresses this MAC address. (That is, to the wireless slave unit 20a that is the source of the channel scan request), the channel scan response is transmitted (step S415).

このとき、無線子機20aは無線親機10と共通のチャンネルを使用しているため、無線親機10から送信されたチャンネルスキャン応答は、無線子機20aによって受信される。無線子機20aは、無線親機10からのチャンネルスキャン応答を受信すると、現在設定されているチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定する(ステップS416)。 At this time, since the wireless slave unit 20a uses the same channel as the wireless master unit 10, the channel scan response transmitted from the wireless master unit 10 is received by the wireless slave unit 20a. When the wireless slave unit 20a receives the channel scan response from the wireless master unit 10, the wireless slave unit 20a determines the currently set channel as the channel used for wireless communication with the wireless master unit 10 (step S416).

なお、図7に示す例では、ステップS413で無線子機20aが送信したチャンネルスキャン要求が無線親機10により受信されるものとしているが、無線子機20aが無線親機10と一致するチャンネルでチャンネルスキャン要求を送信しても、例えば無線信号の混信などの影響によりこのチャンネルスキャン要求が無線親機10に受信されないこともある。しかし、本実施形態では、無線子機20aが1つのチャンネルで無線親機10に対するチャンネルスキャン要求の送信を所定回数(例えば3回)を限度に繰り返すので、無線子機20aが無線親機10と一致するチャンネルでチャンネルスキャン要求を送信すれば、このチャンネルスキャン要求が無線親機10により受信される可能性は極めて高い。 In the example shown in FIG. 7, it is assumed that the channel scan request transmitted by the wireless slave unit 20a in step S413 is received by the wireless master unit 10, but the wireless slave unit 20a has a channel that matches the wireless master unit 10. Even if the channel scan request is transmitted, the channel scan request may not be received by the wireless master unit 10 due to the influence of, for example, radio signal interference. However, in the present embodiment, since the wireless slave unit 20a repeats the transmission of the channel scan request to the wireless master unit 10 on one channel up to a predetermined number of times (for example, three times), the wireless slave unit 20a becomes the wireless master unit 10. If the channel scan request is transmitted on the matching channel, the possibility that the channel scan request is received by the wireless master unit 10 is extremely high.

さらに、本実施形態では、無線子機20aが無線親機10に対しチャンネルスキャン要求を送信する間隔がランダムに設定されるので、無線信号の混信のリスクを低減できる。すなわち、無線親機10が無線通信に使用するチャンネルの切り替えを行った場合、複数の無線子機20のそれぞれが無線親機10をロストするため、複数の無線子機20のそれぞれが無線親機10に対して一斉にチャンネルスキャン要求を送信することが想定される。しかし、本実施形態では、複数の無線子機20のそれぞれがランダムに設定される送信間隔で無線親機10に対しチャンネルスキャン要求を所定回数送信するので、チャンネルスキャン要求の送信タイミングが分散されることとなり、チャンネルスキャン要求の送信タイミングが集中することで混信が生じるリスクを低減できる。これにより、無線親機10と一致するチャンネルで無線子機20が送信したチャンネルスキャン要求が無線親機10により受信される可能性をさらに高めることができる。 Further, in the present embodiment, since the interval at which the wireless slave unit 20a transmits the channel scan request to the wireless master unit 10 is randomly set, the risk of radio signal interference can be reduced. That is, when the wireless master unit 10 switches the channel used for wireless communication, each of the plurality of wireless slave units 20 loses the wireless master unit 10, so that each of the plurality of wireless slave units 20 is a wireless master unit. It is assumed that channel scan requests are transmitted to 10 all at once. However, in the present embodiment, since each of the plurality of wireless slave units 20 transmits the channel scan request to the wireless master unit 10 a predetermined number of times at the transmission interval set at random, the transmission timing of the channel scan request is dispersed. Therefore, the risk of interference can be reduced by concentrating the transmission timings of channel scan requests. Thereby, the possibility that the channel scan request transmitted by the wireless slave unit 20 on the channel matching the wireless master unit 10 is received by the wireless master unit 10 can be further increased.

ステップS416で無線子機20aがチャンネルを確定した後、無線親機10が無線子機20aに対してデータ要求を送信すると(ステップS417)、このデータ要求が無線子機20aによって受信される。そして、このデータ要求に対する応答として、無線子機20aから無線親機10に対し計測装置3aの計測データが送信され(ステップS418)、この計測データが無線親機10により受信されてデータ収集装置2に出力される。以降、無線親機10がさらにチャンネルの切り替えを行うまでの間は、無線親機10と無線子機20aとの間で、共通のチャンネルを使用してデータ要求と計測データの送受信が行われる。 When the wireless master unit 10 transmits a data request to the wireless slave unit 20a after the wireless slave unit 20a determines the channel in step S416 (step S417), the data request is received by the wireless slave unit 20a. Then, as a response to this data request, the measurement data of the measuring device 3a is transmitted from the wireless slave unit 20a to the wireless master unit 10 (step S418), and this measurement data is received by the wireless master unit 10 and the data collecting device 2 Is output to. After that, until the wireless master unit 10 further switches channels, data request and measurement data are transmitted and received between the wireless master unit 10 and the wireless slave unit 20a using a common channel.

次に、図1の構成例における無線親機10と無線子機20cとの間の無線通信に注目し、本実施形態の無線通信システム1の具体的な動作の一例について、図8および図9を参照して説明する。無線子機20cの基本的な動作は上述の無線子機20aと同様であるが、無線親機10との間の無線通信が無線子機20aを介して行われる。図8は、無線子機20cの起動時における無線通信システム1の動作の一例を説明するシーケンス図であり、図9は、無線親機10がチャンネルを切り替えた際の無線通信システム1の動作の一例を説明するシーケンス図である。なお、ここでは無線子機20cが1つのチャンネルで送信するチャンネルスキャン要求の回数が無線子機20cと同様に3回までと定められているものとするが、1つのチャンネルで送信するチャンネルスキャン要求の回数(所定回数)は無線子機20ごとに定められていてもよい。 Next, paying attention to the wireless communication between the wireless master unit 10 and the wireless slave unit 20c in the configuration example of FIG. 1, an example of a specific operation of the wireless communication system 1 of the present embodiment is shown in FIGS. 8 and 9. Will be described with reference to. The basic operation of the wireless slave unit 20c is the same as that of the wireless slave unit 20a described above, but wireless communication with the wireless master unit 10 is performed via the wireless slave unit 20a. FIG. 8 is a sequence diagram illustrating an example of the operation of the wireless communication system 1 when the wireless slave unit 20c is started, and FIG. 9 is a sequence diagram showing the operation of the wireless communication system 1 when the wireless master unit 10 switches channels. It is a sequence diagram explaining an example. Here, it is assumed that the number of channel scan requests transmitted by the wireless slave unit 20c on one channel is limited to three times as in the case of the wireless slave unit 20c, but the channel scan request transmitted on one channel is defined. The number of times (predetermined number of times) may be set for each wireless slave unit 20.

まず、図8を参照して、無線子機20cの起動時における動作例を説明する。無線子機20cは、起動時に、現在設定されているチャンネルで無線親機10に対しチャンネルスキャン要求を送信する(ステップS501)。このとき、無線親機10と無線子機20aは共通のチャンネルが設定されているが、無線子機20cに設定されているチャンネルは、無線親機10や無線子機20aに設定されているチャンネルと一致しないものとする。このため、無線子機20cが送信したチャンネルスキャン要求は無線子機20aに受信されず、無線子機20aから無線親機10に転送されないため、無線親機10から無線子機20cに対してチャンネルスキャン応答が送信されることはない。 First, with reference to FIG. 8, an operation example at the time of starting the wireless slave unit 20c will be described. At startup, the wireless slave unit 20c transmits a channel scan request to the wireless master unit 10 on the currently set channel (step S501). At this time, a common channel is set for the wireless master unit 10 and the wireless slave unit 20a, but the channel set for the wireless slave unit 20c is a channel set for the wireless master unit 10 and the wireless slave unit 20a. Does not match. Therefore, the channel scan request transmitted by the wireless slave unit 20c is not received by the wireless slave unit 20a and is not transferred from the wireless slave unit 20a to the wireless master unit 10, so that the channel from the wireless master unit 10 to the wireless slave unit 20c is not received. No scan response is sent.

無線子機20cは、無線親機10からチャンネルスキャン応答を受信できないため、現在設定されているチャンネルで無線親機10に対するチャンネルスキャン要求の送信を繰り返す(ステップS502、ステップS503)。このとき、無線子機20cが送信するチャンネルスキャン要求の送信間隔は、所定の時間範囲内でランダムに設定される。 Since the wireless slave unit 20c cannot receive the channel scan response from the wireless master unit 10, the transmission of the channel scan request to the wireless master unit 10 is repeated on the currently set channel (step S502, step S503). At this time, the transmission interval of the channel scan request transmitted by the wireless slave unit 20c is randomly set within a predetermined time range.

無線子機20cは、現在設定されているチャンネルで無線親機10に対して合計3回(所定回数の一例)チャンネルスキャン要求を送信しても無線親機10からのチャンネルスキャン応答を受信できないため、現在設定されているチャンネルを、無線通信に使用可能な他のチャンネルに変更する(ステップS504)。そして、無線子機20cは、ステップS504で変更した後のチャンネルで、無線親機10に対してチャンネルスキャン要求を送信する(ステップS505)。このとき、ステップS504で変更した後のチャンネルは、無線親機10や無線子機20aに設定されているチャンネルと一致しているとする。このため、無線子機20aが送信したチャンネルスキャン要求は、無線子機20aによって無線親機10に転送され、無線親機10により受信される。 This is because the wireless slave unit 20c cannot receive the channel scan response from the wireless master unit 10 even if it transmits a channel scan request to the wireless master unit 10 a total of three times (an example of a predetermined number of times) on the currently set channel. , The currently set channel is changed to another channel that can be used for wireless communication (step S504). Then, the wireless slave unit 20c transmits a channel scan request to the wireless master unit 10 on the channel changed in step S504 (step S505). At this time, it is assumed that the channel changed in step S504 matches the channel set in the wireless master unit 10 and the wireless slave unit 20a. Therefore, the channel scan request transmitted by the wireless slave unit 20a is transferred to the wireless master unit 10 by the wireless slave unit 20a and received by the wireless master unit 10.

無線親機10は、無線子機20cからチャンネルスキャン要求を受信すると、このチャンネルスキャン要求に含まれる送信元のMACアドレスを、記憶部16が記憶する子機リスト17と照合する(ステップS506)。ここでは、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致しているものとする。無線親機10は、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致していることを確認すると、このMACアドレスを宛先として(つまり、チャンネルスキャン要求の送信元の無線子機20cを宛先として)、チャンネルスキャン応答を送信する(ステップS507)。 When the wireless master unit 10 receives the channel scan request from the wireless slave unit 20c, the wireless master unit 10 collates the MAC address of the transmission source included in the channel scan request with the slave unit list 17 stored in the storage unit 16 (step S506). Here, it is assumed that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17. When the wireless master unit 10 confirms that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17, the wireless master unit 10 addresses this MAC address. (That is, to the wireless slave unit 20c that is the source of the channel scan request), the channel scan response is transmitted (step S507).

このとき、無線子機20aと無線子機20cは無線親機10と共通のチャンネルを使用しているため、無線親機10から送信されたチャンネルスキャン応答は、無線子機20aによって無線子機20cに転送され、無線子機20cにより受信される。無線子機20cは、無線親機10からのチャンネルスキャン応答を受信すると、現在設定されているチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定する(ステップS508)。 At this time, since the wireless slave unit 20a and the wireless slave unit 20c use the same channel as the wireless master unit 10, the channel scan response transmitted from the wireless master unit 10 is received by the wireless slave unit 20a by the wireless slave unit 20c. Is transferred to and received by the wireless slave unit 20c. When the wireless slave unit 20c receives the channel scan response from the wireless master unit 10, the wireless slave unit 20c determines the currently set channel as the channel used for wireless communication with the wireless master unit 10 (step S508).

ステップS508で無線子機20cがチャンネルを確定した後、無線親機10が無線子機20cに対してデータ要求を送信すると(ステップS509)、このデータ要求が無線子機20aによって無線子機20cに転送され、無線子機20cにより受信される。そして、このデータ要求に対する応答として、無線子機20cから無線子機20aを介して無線親機10に対し計測装置3aの計測データが送信され(ステップS510)、この計測データが無線親機10によって受信され、データ収集装置2に出力される。以降、無線親機10がチャンネルの切り替えを行うまでの間は、無線親機10と無線子機20cとの間で、共通のチャンネルを使用して、データ要求と計測データの送受信が無線子機20aを介して行われる。 After the wireless slave unit 20c determines the channel in step S508, when the wireless master unit 10 transmits a data request to the wireless slave unit 20c (step S509), this data request is sent to the wireless slave unit 20c by the wireless slave unit 20a. It is transferred and received by the wireless slave unit 20c. Then, as a response to this data request, the measurement data of the measuring device 3a is transmitted from the wireless slave unit 20c to the wireless master unit 10 via the wireless slave unit 20a (step S510), and this measurement data is transmitted by the wireless master unit 10. Received and output to the data collection device 2. After that, until the wireless master unit 10 switches channels, data requests and measurement data can be transmitted and received between the wireless master unit 10 and the wireless slave unit 20c using a common channel. It is done via 20a.

次に、図9を参照して、無線親機10がチャンネルを切り替えた際の動作例について説明する。無線親機10がチャンネルを切り替える前は、無線親機10と無線子機20aと無線子機20cとが共通のチャンネルを使用して無線通信を行うため、無線親機10が無線子機20aに対してデータ要求を送信すると(ステップS601)、このデータ要求が無線子機20aによって無線子機20cに転送され、無線子機20cにより受信される。そして、このデータ要求に対する応答として、無線子機20cから無線子機20aを介して無線親機10に対し、計測装置3aの計測データが送信され(ステップS602)、この計測データが無線親機10により受信されてデータ収集装置2に出力される。 Next, with reference to FIG. 9, an operation example when the wireless master unit 10 switches channels will be described. Before the wireless master unit 10 switches channels, the wireless master unit 10 becomes the wireless slave unit 20a because the wireless master unit 10, the wireless slave unit 20a, and the wireless slave unit 20c perform wireless communication using a common channel. When a data request is transmitted (step S601), the data request is transferred to the wireless slave unit 20c by the wireless slave unit 20a and received by the wireless slave unit 20c. Then, as a response to this data request, the measurement data of the measuring device 3a is transmitted from the wireless slave unit 20c to the wireless master unit 10 via the wireless slave unit 20a (step S602), and this measurement data is transmitted to the wireless master unit 10. Is received and output to the data collection device 2.

ここで、無線親機10の周辺の電波環境が悪化したとする。この場合、無線親機10は、電波環境の悪化を検知して(あるいはユーザ操作に応じて)無線通信に使用するチャンネルの切り替えを行う(ステップS603)。無線親機10が無線通信に使用するチャンネルの切り替えを行うと、無線親機10と無線子機20aおよび無線子機20cとの間で無線通信に使用するチャンネルが一致しなくなる。このため、無線親機10が無線子機20cに対してデータ要求を送信しても(ステップS604)、このデータ要求は無線子機20aに受信されず、無線子機20aから無線子機20cに転送されないため、無線子機20cに受信されない。 Here, it is assumed that the radio wave environment around the wireless master unit 10 has deteriorated. In this case, the wireless master unit 10 detects the deterioration of the radio wave environment (or responds to the user's operation) and switches the channel used for wireless communication (step S603). When the wireless master unit 10 switches the channel used for wireless communication, the channels used for wireless communication do not match between the wireless master unit 10 and the wireless slave unit 20a and the wireless slave unit 20c. Therefore, even if the wireless master unit 10 transmits a data request to the wireless slave unit 20c (step S604), the data request is not received by the wireless slave unit 20a and is transmitted from the wireless slave unit 20a to the wireless slave unit 20c. Since it is not transferred, it is not received by the wireless slave unit 20c.

無線子機20cは、無線親機10から無線信号を受信しない時間(例えばステップS601で無線親機10から無線子機20aを介して送信されたデータ要求を受信してからの経過時間)が所定時間Txに達すると、現在設定されているチャンネルで無線親機10に対しチャンネルスキャン要求を送信する(ステップS605)。このとき、無線子機20cに設定されているチャンネルは、無線子機20aに設定されているチャンネルとは一致するが、無線親機10に設定されているチャンネル(つまり、ステップS603で切り替えた後のチャンネル)と一致しない。このため、無線子機20cが送信したチャンネルスキャン要求は無線子機20aに受信されるが、この無線子機20aが転送するチャンネルスキャン要求は無線親機10に受信されず、無線親機10から無線子機20cに対してチャンネルスキャン応答が送信されることはない。 The wireless slave unit 20c has a predetermined time during which no wireless signal is received from the wireless master unit 10 (for example, the elapsed time after receiving the data request transmitted from the wireless master unit 10 via the wireless slave unit 20a in step S601). When the time Tx is reached, a channel scan request is transmitted to the wireless master unit 10 on the currently set channel (step S605). At this time, the channel set in the wireless slave unit 20c matches the channel set in the wireless slave unit 20a, but after switching to the channel set in the wireless master unit 10 (that is, after switching in step S603). Does not match the channel). Therefore, the channel scan request transmitted by the wireless slave unit 20c is received by the wireless slave unit 20a, but the channel scan request transferred by the wireless slave unit 20a is not received by the wireless master unit 10 and is not received by the wireless master unit 10. The channel scan response is not transmitted to the wireless slave unit 20c.

無線子機20cは、無線親機10からチャンネルスキャン応答を受信できないため、現在設定されているチャンネルで無線親機10に対するチャンネルスキャン要求の送信を繰り返す(ステップS606、ステップS607)。このとき、無線子機20cが送信するチャンネルスキャン要求の送信間隔は、所定の時間範囲内でランダムに設定される。 Since the wireless slave unit 20c cannot receive the channel scan response from the wireless master unit 10, the transmission of the channel scan request to the wireless master unit 10 is repeated on the currently set channel (step S606, step S607). At this time, the transmission interval of the channel scan request transmitted by the wireless slave unit 20c is randomly set within a predetermined time range.

無線子機20cは、現在設定されているチャンネルで無線親機10に対し合計3回チャンネルスキャン要求を送信しても無線親機10からのチャンネルスキャン応答を受信できないため、現在設定されているチャンネルを、無線通信に使用可能な他のチャンネルに変更する(ステップS608)。そして、無線子機20cは、ステップS608で変更した後のチャンネルで、無線親機10に対してチャンネルスキャン要求を送信する(ステップS609)。 Since the wireless slave unit 20c cannot receive the channel scan response from the wireless master unit 10 even if the channel scan request is transmitted to the wireless master unit 10 three times in total on the currently set channel, the currently set channel To another channel that can be used for wireless communication (step S608). Then, the wireless slave unit 20c transmits a channel scan request to the wireless master unit 10 on the channel changed in step S608 (step S609).

なお、ステップS603で無線親機10が無線通信に使用するチャンネルを切り替えると、無線子機20cとは独立して、無線子機20aにおいてもチャンネル探索処理が行われる。本例では、無線子機20cがステップS607でチャンネルスキャン要求を送信してからステップS609でチャンネルスキャン要求を送信するまでの間に、無線子機20aのチャンネル探索処理により無線子機20aが無線通信に使用するチャンネルが、無線親機10に設定されているチャンネル(ステップS603で切り替えた後のチャンネル)と一致したものとする。また、無線子機20cがステップS608で変更した後のチャンネルは、無線親機10と無線子機20aが使用するチャンネルと一致しないものとする。このため、無線子機20aがステップS609で送信したチャンネルスキャン要求は無線子機20aに受信されず、無線子機20aから無線親機10に転送されないため、無線親機10から無線子機20cに対してチャンネルスキャン応答が送信されることはない。 When the channel used by the wireless master unit 10 for wireless communication is switched in step S603, the channel search process is also performed on the wireless slave unit 20a independently of the wireless slave unit 20c. In this example, between the time when the wireless slave unit 20c transmits the channel scan request in step S607 and the time when the wireless slave unit 20c transmits the channel scan request in step S609, the wireless slave unit 20a wirelessly communicates by the channel search process of the wireless slave unit 20a. It is assumed that the channel used for is the same as the channel set in the wireless master unit 10 (the channel after switching in step S603). Further, it is assumed that the channel after the wireless slave unit 20c is changed in step S608 does not match the channel used by the wireless master unit 10 and the wireless slave unit 20a. Therefore, the channel scan request transmitted by the wireless slave unit 20a in step S609 is not received by the wireless slave unit 20a and is not transferred from the wireless slave unit 20a to the wireless master unit 10, so that the wireless master unit 10 is transferred to the wireless slave unit 20c. No channel scan response is sent to it.

無線子機20cは、無線親機10からチャンネルスキャン応答を受信できないため、ステップS608で変更した後のチャンネルで無線親機10に対するチャンネルスキャン要求の送信を繰り返す(ステップS610、ステップS611)。このときのチャンネルスキャン要求の送信間隔も、それぞれ所定の時間範囲内でランダムに設定される。 Since the wireless slave unit 20c cannot receive the channel scan response from the wireless master unit 10, the transmission of the channel scan request to the wireless master unit 10 is repeated on the channel changed in step S608 (step S610, step S611). The transmission interval of the channel scan request at this time is also randomly set within a predetermined time range.

無線子機20cは、ステップS608で変更した後のチャンネルで無線親機10に対し合計3回チャンネルスキャン要求を送信しても無線親機10からのチャンネルスキャン応答を受信できないため、ステップS608で変更したチャンネルを、さらに別のチャンネルに変更する(ステップS612)。そして、無線子機20aは、ステップS612で変更した後のチャンネルで、無線親機10に対してチャンネルスキャン要求を送信する(ステップS613)。このとき、ステップS612で変更した後のチャンネルは、無線親機10と無線子機20aが使用するチャンネルと一致しているとする。このため、無線子機20aが送信したチャンネルスキャン要求は、無線子機20aによって無線親機10に転送され、無線親機10により受信される。 The wireless slave unit 20c is changed in step S608 because the channel scan response from the wireless master unit 10 cannot be received even if the channel scan request is transmitted to the wireless master unit 10 three times in total on the channel after the change in step S608. The channel is changed to another channel (step S612). Then, the wireless slave unit 20a transmits a channel scan request to the wireless master unit 10 on the channel changed in step S612 (step S613). At this time, it is assumed that the channel changed in step S612 matches the channel used by the wireless master unit 10 and the wireless slave unit 20a. Therefore, the channel scan request transmitted by the wireless slave unit 20a is transferred to the wireless master unit 10 by the wireless slave unit 20a and received by the wireless master unit 10.

無線親機10は、無線子機20cからチャンネルスキャン要求を受信すると、このチャンネルスキャン要求に含まれる送信元のMACアドレスを、記憶部16が記憶する子機リスト17と照合する(ステップS614)。ここでは、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致しているものとする。無線親機10は、受信したチャンネルスキャン要求に含まれる送信元のMACアドレスが、子機リスト17に登録されたMACアドレスのうちの1つと一致していることを確認すると、このMACアドレスを宛先として(つまり、チャンネルスキャン要求の送信元の無線子機20cを宛先として)、チャンネルスキャン応答を送信する(ステップS615)。 When the wireless master unit 10 receives the channel scan request from the wireless slave unit 20c, the wireless master unit 10 collates the MAC address of the transmission source included in the channel scan request with the slave unit list 17 stored in the storage unit 16 (step S614). Here, it is assumed that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17. When the wireless master unit 10 confirms that the MAC address of the source included in the received channel scan request matches one of the MAC addresses registered in the slave unit list 17, the wireless master unit 10 addresses this MAC address. (That is, to the wireless slave unit 20c that is the source of the channel scan request), the channel scan response is transmitted (step S615).

このとき、無線子機20aと無線子機20cは無線親機10と共通のチャンネルを使用しているため、無線親機10から送信されたチャンネルスキャン応答は、無線子機20aによって無線子機20cに転送され、無線子機20cにより受信される。無線子機20cは、無線親機10からのチャンネルスキャン応答を受信すると、現在設定されているチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定する(ステップS616)。 At this time, since the wireless slave unit 20a and the wireless slave unit 20c use the same channel as the wireless master unit 10, the channel scan response transmitted from the wireless master unit 10 is received by the wireless slave unit 20a by the wireless slave unit 20c. Is transferred to and received by the wireless slave unit 20c. When the wireless slave unit 20c receives the channel scan response from the wireless master unit 10, the wireless slave unit 20c determines the currently set channel as the channel used for wireless communication with the wireless master unit 10 (step S616).

ステップS616で無線子機20cがチャンネルを確定した後、無線親機10が無線子機20cに対してデータ要求を送信すると(ステップS617)、このデータ要求が無線子機20aによって無線子機20cに転送され、無線子機20cにより受信される。そして、このデータ要求に対する応答として、無線子機20cから無線子機20aを介して無線親機10に対し計測装置3aの計測データが送信され(ステップS618)、この計測データが無線親機10によって受信され、データ収集装置2に出力される。以降、無線親機10がさらにチャンネルの切り替えを行うまでの間は、無線親機10と無線子機20cとの間で、共通のチャンネルを使用して、データ要求と計測データの送受信が無線子機20aを介して行われる。 After the wireless slave unit 20c determines the channel in step S616, when the wireless master unit 10 transmits a data request to the wireless slave unit 20c (step S617), this data request is sent to the wireless slave unit 20c by the wireless slave unit 20a. It is transferred and received by the wireless slave unit 20c. Then, as a response to this data request, the measurement data of the measuring device 3a is transmitted from the wireless slave unit 20c to the wireless master unit 10 via the wireless slave unit 20a (step S618), and this measurement data is transmitted by the wireless master unit 10. Received and output to the data collection device 2. After that, until the wireless master unit 10 further switches channels, the wireless master unit 10 and the wireless slave unit 20c use a common channel to send and receive data requests and measurement data. This is done via the machine 20a.

以上、具体的な例を挙げながら詳細に説明したように、本実施形態の無線通信システム1では、無線親機10との間で無線通信を行う無線子機20が、起動時、または、無線親機10からの信号を所定時間受信しない場合に、チャンネル探索処理を行う。特に本実施形態では、このチャンネル探索処理において、無線子機20がチャンネルスキャン要求の送信を1つのチャンネルで1回のみ行うのではなく、ランダムに設定される送信間隔で所定回数行う。すなわち、無線子機20は、同じチャンネルで所定回数を限度に、ランダムに設定される送信間隔でチャンネルスキャン要求の送信を繰り返す。そして、無線子機20は、チャンネルスキャン要求を所定回数送信しても無線親機10からチャンネルスキャン応答を受信しない場合は、チャンネルを変更して、ランダムに設定される送信間隔で無線親機10に対するチャンネルスキャン要求の送信を繰り返し、無線親機10からチャンネルスキャン応答を受信した場合に、そのときのチャンネルを無線親機10との間の無線通信に使用するチャンネルとして確定するようにしている。 As described in detail above with reference to specific examples, in the wireless communication system 1 of the present embodiment, the wireless slave unit 20 that performs wireless communication with the wireless master unit 10 is activated or wirelessly. When the signal from the master unit 10 is not received for a predetermined time, the channel search process is performed. In particular, in the present embodiment, in this channel search process, the wireless slave unit 20 does not transmit the channel scan request only once in one channel, but performs it a predetermined number of times at a randomly set transmission interval. That is, the wireless slave unit 20 repeats transmission of the channel scan request at randomly set transmission intervals up to a predetermined number of times on the same channel. If the wireless slave unit 20 does not receive the channel scan response from the wireless master unit 10 even after transmitting the channel scan request a predetermined number of times, the wireless slave unit 20 changes the channel and the wireless master unit 10 at randomly set transmission intervals. When the channel scan response is received from the wireless master unit 10 by repeating the transmission of the channel scan request to the wireless master unit 10, the channel at that time is determined as the channel used for wireless communication with the wireless master unit 10.

したがって、本実施形態の無線通信システム1によれば、複数の無線子機20が無線親機10に対してチャンネルスキャン要求を送信するタイミングが集中することで無線信号の混信が生じるリスクを低減できるとともに、たとえ混信が生じたとしても、無線子機20が無線親機10と一致するチャンネルで送信したチャンネルスキャン要求を、無線親機10に適切に受信させることができる。これにより、無線子機20は、無線親機10との間の無線通信に使用するチャンネルを適切に探索することができ、無線親機10に設定されているチャンネルと一致するチャンネルを、無線親機10との間の無線通信に使用するチャンネルとして確定することができる。 Therefore, according to the wireless communication system 1 of the present embodiment, it is possible to reduce the risk of radio signal interference due to the concentration of timings at which the plurality of wireless slave units 20 transmit channel scan requests to the wireless master unit 10. At the same time, even if interference occurs, the wireless master unit 10 can appropriately receive the channel scan request transmitted by the wireless slave unit 20 on the channel matching the wireless master unit 10. As a result, the wireless slave unit 20 can appropriately search for a channel used for wireless communication with the wireless master unit 10, and can select a channel that matches the channel set in the wireless master unit 10 as the wireless parent. It can be determined as a channel used for wireless communication with the machine 10.

また、本実施形態の無線通信システム1では、無線親機10が無線子機20から送信されたチャンネルスキャン要求を受信した場合に、このチャンネルスキャン要求に含まれる送信元の無線子機20の識別情報(例えばMACアドレス)を、無線親機10の通信相手となる無線子機20の識別情報が事前に登録された子機リスト17と照合する。そして、無線親機10は、受信したチャンネルスキャン要求に含まれる識別情報が、子機リスト17に登録された識別情報のいずれかと一致する場合に、チャンネルスキャン要求の送信元の無線子機20に対し、チャンネルスキャン応答を送信するようにしている。 Further, in the wireless communication system 1 of the present embodiment, when the wireless master unit 10 receives the channel scan request transmitted from the wireless slave unit 20, the wireless slave unit 20 of the transmission source included in the channel scan request is identified. The information (for example, the MAC address) is collated with the slave unit list 17 in which the identification information of the wireless slave unit 20 that is the communication partner of the wireless master unit 10 is registered in advance. Then, when the identification information included in the received channel scan request matches any of the identification information registered in the slave unit list 17, the wireless master unit 10 sends the wireless slave unit 20 that is the source of the channel scan request. On the other hand, the channel scan response is sent.

したがって、本実施形態の無線通信システム1によれば、無線親機10や無線子機20が配置される所定エリア内に他の無線通信システムが混在し、無線親機10が他の無線通信システムに含まれる無線子機から送信されたチャンネルスキャン要求を受信した場合であっても、無線親機10からこの無線子機に対してチャンネルスキャン応答が送信されることがない。これにより、他の無線通信システムに含まれる無線子機、つまり、無線親機10の通信相手ではない無線子機が、無線親機10と一致するチャンネルを無線通信に使用するチャンネルとして確定してしまう不都合を有効に防止することができる。 Therefore, according to the wireless communication system 1 of the present embodiment, other wireless communication systems are mixed in a predetermined area where the wireless master unit 10 and the wireless slave unit 20 are arranged, and the wireless master unit 10 is another wireless communication system. Even when the channel scan request transmitted from the wireless slave unit included in the above is received, the channel scan response is not transmitted from the wireless master unit 10 to the wireless slave unit. As a result, the wireless slave unit included in the other wireless communication system, that is, the wireless slave unit that is not the communication partner of the wireless master unit 10, determines the channel that matches the wireless master unit 10 as the channel used for wireless communication. It is possible to effectively prevent such inconvenience.

以上、本発明の具体的な実施形態について説明したが、上述した実施形態は本発明の一適用例を示したものである。本発明は、上述した実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で、種々の省略、置き換え、変更を加えて具体化することができる。これらの実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although the specific embodiment of the present invention has been described above, the above-described embodiment shows an application example of the present invention. The present invention is not limited to the above-described embodiment as it is, and can be embodied by making various omissions, replacements, and changes within a range that does not deviate from the gist at the implementation stage. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.

1 無線通信システム
2 データ収集装置
3(3a,3b,3c,3d) 計測装置
10 無線親機
11 送信部
12 受信部
13 出力部
14 チャンネル切り替え部
15 応答処理部
16 記憶部
17 子機リスト
20(20a,20b,20c,20d) 無線子機
21 送信部
22 受信部
23 取得部
24 チャンネル探索処理部
25 回数カウンタ
26 タイマ
1 Wireless communication system 2 Data acquisition device 3 (3a, 3b, 3c, 3d) Measuring device 10 Wireless master unit 11 Transmitter 12 Receiver 13 Output 14 Channel switching 15 Response processing 16 Storage 17 Slave list 20 ( 20a, 20b, 20c, 20d) Radio slave unit 21 Transmitter 22 Receiver 23 Acquisition unit 24 Channel search processing unit 25 Number counter 26 Timer

Claims (4)

無線親機と無線子機との間で無線通信を行う無線通信システムであって、
前記無線子機は、起動時、または、前記無線親機からの信号を所定時間受信しない場合に、前記無線親機に対し、無線通信で使用するチャンネルを探索するためのチャンネルスキャン要求を送信するチャンネル探索処理部を備え、
前記チャンネル探索処理部は、前記無線親機からの信号を前記所定時間受信しない場合に最初に現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信し、前記現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信しても前記無線親機からチャンネルスキャン応答を受信しない場合、チャンネルを変更して前記無線親機に対するチャンネルスキャン要求の送信を繰り返し、前記無線親機からチャンネルスキャン応答を受信した場合、前記無線親機からチャンネルスキャン応答を受信したときのチャンネルを、無線通信で使用するチャンネルとして確定し、
前記所定回数は、前記無線子機ごとに予め定められており、
前記無線子機が前記無線親機に対しチャンネルスキャン要求を送信する間隔は、ランダムに設定されることを特徴とする無線通信システム。
A wireless communication system that performs wireless communication between a wireless master unit and a wireless slave unit.
The wireless slave unit transmits a channel scan request for searching a channel used for wireless communication to the wireless master unit at startup or when the signal from the wireless master unit is not received for a predetermined time. Equipped with a channel search processing unit
When the signal from the wireless master unit is not received for the predetermined time, the channel search processing unit makes a channel scan request to the wireless master unit two or more times in succession on the channel currently set first when the signal is not received for the predetermined time. If the channel scan response is not received from the wireless master unit even if the channel scan request is transmitted to the wireless master unit two or more times in succession on the currently set channel, the channel is changed. When the channel scan request is repeatedly transmitted to the wireless master unit and the channel scan response is received from the wireless master unit, the channel used when the channel scan response is received from the wireless master unit is used for wireless communication. Confirmed as
The predetermined number of times is predetermined for each wireless handset.
A wireless communication system characterized in that the interval at which the wireless slave unit transmits a channel scan request to the wireless master unit is randomly set.
前記無線子機が前記無線親機に対し送信するチャンネルスキャン要求は、送信元の前記無線子機を識別する識別情報を含み、
前記無線親機は、前記無線子機からチャンネルスキャン要求を受信し、かつ、受信したチャンネルスキャン要求に含まれる識別情報が事前に登録されたいずれかの識別情報と一致する場合に、受信したチャンネルスキャン要求の送信元である前記無線子機に対しチャンネルスキャン応答を送信することを特徴とする請求項1に記載の無線通信システム。
The channel scan request transmitted by the wireless slave unit to the wireless master unit includes identification information that identifies the wireless slave unit that is the source.
The wireless master unit receives a channel scan request from the wireless slave unit, and receives the channel when the identification information included in the received channel scan request matches any of the pre-registered identification information. The wireless communication system according to claim 1, wherein a channel scan response is transmitted to the wireless slave unit that is a source of the scan request.
無線親機との間で無線通信を行う無線子機であって、
起動時、または、前記無線親機からの信号を所定時間受信しない場合に、前記無線親機に対し、無線通信で使用するチャンネルを探索するためのチャンネルスキャン要求を送信するチャンネル探索処理部を備え、
前記チャンネル探索処理部は、前記無線親機からの信号を前記所定時間受信しない場合に最初に現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信し、前記現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信しても前記無線親機からチャンネルスキャン応答を受信しない場合、チャンネルを変更して前記無線親機に対するチャンネルスキャン要求の送信を繰り返し、前記無線親機からチャンネルスキャン応答を受信した場合、前記無線親機からチャンネルスキャン応答を受信したときのチャンネルを、無線通信で使用するチャンネルとして確定し、
前記所定回数は、前記無線子機ごとに予め定められており、
前記無線親機に対しチャンネルスキャン要求を送信する間隔は、ランダムに設定されることを特徴とする無線子機。
It is a wireless slave unit that performs wireless communication with the wireless master unit.
A channel search processing unit for transmitting a channel scan request for searching a channel used for wireless communication to the wireless master unit at startup or when a signal from the wireless master unit is not received for a predetermined time is provided. ,
When the signal from the wireless master unit is not received for the predetermined time, the channel search processing unit makes a channel scan request to the wireless master unit two or more times in succession on the channel currently set first when the signal is not received for the predetermined time. If the channel scan response is not received from the wireless master unit even if the channel scan request is transmitted to the wireless master unit two or more times in succession on the currently set channel, the channel is changed. When the channel scan request is repeatedly transmitted to the wireless master unit and the channel scan response is received from the wireless master unit, the channel used when the channel scan response is received from the wireless master unit is used for wireless communication. Confirmed as
The predetermined number of times is predetermined for each wireless handset.
A wireless slave unit characterized in that the interval at which a channel scan request is transmitted to the wireless master unit is randomly set.
無線親機との間で無線通信を行う無線子機により実行されるチャンネル探索方法であって、
起動時、または、前記無線親機からの信号を所定時間受信しない場合に、前記無線親機に対し、無線通信で使用するチャンネルを探索するためのチャンネルスキャン要求を送信し、
前記無線親機からの信号を前記所定時間受信しない場合に最初に現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信し、前記現在設定されているチャンネルで前記無線親機に対しチャンネルスキャン要求を2回以上の所定回数連続して送信しても前記無線親機からチャンネルスキャン応答を受信しない場合、チャンネルを変更して前記無線親機に対するチャンネルスキャン要求の送信を繰り返し、
前記無線親機からチャンネルスキャン応答を受信した場合、前記無線親機からチャンネルスキャン応答を受信したときのチャンネルを、無線通信で使用するチャンネルとして確定し、
前記所定回数は、前記無線子機ごとに予め定められており、
前記無線親機に対しチャンネルスキャン要求を送信する間隔は、ランダムに設定されることを特徴とするチャンネル探索方法。
It is a channel search method executed by a wireless slave unit that performs wireless communication with a wireless master unit.
At startup, or when the signal from the wireless master unit is not received for a predetermined time, a channel scan request for searching for a channel used for wireless communication is transmitted to the wireless master unit.
When the signal from the wireless master unit is not received for the predetermined time, the channel scan request is continuously transmitted to the wireless master unit two or more times in succession on the currently set channel, and the currently set channel is set. If the channel scan response is not received from the wireless master unit even if the channel scan request is continuously transmitted to the wireless master unit two or more times in succession on the channel, the channel is changed to the wireless master unit. Repeatedly sending channel scan requests,
When the channel scan response is received from the wireless master unit, the channel when the channel scan response is received from the wireless master unit is determined as the channel used for wireless communication.
The predetermined number of times is predetermined for each wireless handset.
A channel search method characterized in that an interval for transmitting a channel scan request to the wireless master unit is randomly set.
JP2019029879A 2019-02-21 2019-02-21 Wireless communication system, wireless slave unit and channel search method Active JP6875435B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019029879A JP6875435B2 (en) 2019-02-21 2019-02-21 Wireless communication system, wireless slave unit and channel search method
JP2021072694A JP7152556B2 (en) 2019-02-21 2021-04-22 Wireless communication system, wireless slave unit and channel search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019029879A JP6875435B2 (en) 2019-02-21 2019-02-21 Wireless communication system, wireless slave unit and channel search method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021072694A Division JP7152556B2 (en) 2019-02-21 2021-04-22 Wireless communication system, wireless slave unit and channel search method

Publications (2)

Publication Number Publication Date
JP2020136968A JP2020136968A (en) 2020-08-31
JP6875435B2 true JP6875435B2 (en) 2021-05-26

Family

ID=72279267

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019029879A Active JP6875435B2 (en) 2019-02-21 2019-02-21 Wireless communication system, wireless slave unit and channel search method
JP2021072694A Active JP7152556B2 (en) 2019-02-21 2021-04-22 Wireless communication system, wireless slave unit and channel search method

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2021072694A Active JP7152556B2 (en) 2019-02-21 2021-04-22 Wireless communication system, wireless slave unit and channel search method

Country Status (1)

Country Link
JP (2) JP6875435B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104432A (en) * 2005-10-05 2007-04-19 Matsushita Electric Ind Co Ltd Mobile communication apparatus
JP4956281B2 (en) * 2007-05-29 2012-06-20 キヤノン株式会社 Wireless communication apparatus and control method thereof
US8576759B2 (en) * 2008-07-11 2013-11-05 Marvell World Trade Ltd. Partial power save mode for access points during device discovery
JP5589819B2 (en) * 2010-12-17 2014-09-17 株式会社リコー Communication apparatus and communication method
JP2016034051A (en) * 2012-12-28 2016-03-10 パナソニック株式会社 Communication control device
JP6265929B2 (en) * 2015-02-23 2018-01-24 三菱電機株式会社 SEARCH WIRELESS COMMUNICATION DEVICE AND SEARCHED WIRELESS COMMUNICATION DEVICE

Also Published As

Publication number Publication date
JP7152556B2 (en) 2022-10-12
JP2021108493A (en) 2021-07-29
JP2020136968A (en) 2020-08-31

Similar Documents

Publication Publication Date Title
US8055197B2 (en) Apparatus and method for bluetooth connection in portable terminal
CN109257725B (en) System and method for adaptive scanning and/or broadcasting
EP1873982B1 (en) Apparatus and method for acquiring remote name in a bluetooth system
CN114666829B (en) Method, device, equipment and medium for wireless sensing measurement among multiple equipment
US8892038B2 (en) Method for searching and connecting Bluetooth devices and apparatus using the same
US20090077187A1 (en) Method and apparatus for communications
RU2008123791A (en) DISTRIBUTION OF TIME INTERVALS FOR CELLULAR NETWORKS
RU2012110177A (en) DATA TRANSMISSION SYSTEM, METHOD, BASE STATION AND DATA TRANSMISSION DEVICE
WO2010067777A1 (en) Method for detecting unused band frequency for cognitive wireless system, and wireless communication device
KR20100083040A (en) Method and system for controlling wireless communication channel
JP6495844B2 (en) Communication terminal, communication system, and communication method
US20190069166A1 (en) Information processing apparatus and non-transitory computer-readable medium recording information processing program
JP2008072577A (en) Station device and wireless lan communication system
EP3016351B1 (en) Method for operating a sensor arrangement with multiple sensor devices, sensor device, sensor arrangement and sensor system
JP6875435B2 (en) Wireless communication system, wireless slave unit and channel search method
CN101953190B (en) Communication apparatus, and communication method therefor
EP3018969A1 (en) Communication terminal, communication method, and program
US20080316953A1 (en) Audience response system and method with multiple base unit capability
JP4284513B2 (en) Wireless transmitter, data collection system, and data communication method
CN112312406A (en) Deployment method and deployment evaluation tool of terminal equipment of Internet of things
CN112312329A (en) Communication method and system based on Bluetooth broadcast, and master device and slave device thereof
KR100873905B1 (en) Communication system using Zigbee and its control method
KR100559360B1 (en) Mobile communication system, mobile station and radio controller
KR101659351B1 (en) Apparatus and method for discerning wireless charging standard
CN112399391B (en) Bluetooth broadcast communication method and system, master device and slave device thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201013

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210301

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210422

R150 Certificate of patent or registration of utility model

Ref document number: 6875435

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE

Ref document number: 6875435

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250