Nothing Special   »   [go: up one dir, main page]

JP2010245746A - Radio communication system, and radio communication method - Google Patents

Radio communication system, and radio communication method Download PDF

Info

Publication number
JP2010245746A
JP2010245746A JP2009091037A JP2009091037A JP2010245746A JP 2010245746 A JP2010245746 A JP 2010245746A JP 2009091037 A JP2009091037 A JP 2009091037A JP 2009091037 A JP2009091037 A JP 2009091037A JP 2010245746 A JP2010245746 A JP 2010245746A
Authority
JP
Japan
Prior art keywords
wireless
communication unit
communication
channel
wireless channel
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.)
Pending
Application number
JP2009091037A
Other languages
Japanese (ja)
Inventor
Murahito Nunokawa
祐人 布川
Kimiyasu Mizuno
公靖 水野
Takehiro Aihara
岳浩 相原
Takayuki Kogane
孝行 小金
Kazushi Ametani
一志 雨谷
Naotaka Uehara
直隆 上原
Sumihito Shinohara
純人 篠原
Tetsuya Handa
哲也 半田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009091037A priority Critical patent/JP2010245746A/en
Publication of JP2010245746A publication Critical patent/JP2010245746A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To accelerate channel switching of a radio terminal device. <P>SOLUTION: This radio communication system includes: a repeater having a first communicating section for performing broadcasting on a reference radio channel, a second communicating section for performing radio communication on a radio channel other than the reference radio channel, and a first control section for selecting a radio channel on the basis of communicating states of a plurality of radio channels, setting the selected radio channel to a radio channel of the second communicating section and transmitting information of the set radio channel by the first communicating section when a communicating state of the radio channel of the second communicating section deteriorates; and a radio terminal device having a third communicating section for performing radio communication with the repeater, and a second control section for setting a radio channel of the third communicating section to the reference radio channel to acquire information of a radio channel transmitted from the repeater if the radio communication is disconnected, and changing the radio channel of the third communicating section on the basis of information of the acquired radio channel. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、無線通信システム及び無線通信方法に関する。   The present invention relates to a wireless communication system and a wireless communication method.

近年、IEEE802.15.4に規定されているスター型ネットワークを構成する無線通信システムは、ネットワークの中心となる中継装置(コーディネータ)と、当該中継装置の周囲に位置する複数の無線端末装置(エンドデバイス)と、を備えている。   In recent years, a wireless communication system constituting a star network defined in IEEE 802.15.4 has a relay device (coordinator) serving as the center of the network and a plurality of wireless terminal devices (ends) located around the relay device. Device).

中継装置は、ネットワークの立ち上げ時に、予め複数のチャンネルに分割されている無線周波数帯域のうち最も妨害波の少ない電波状況の良いチャンネルを選択する。無線端末装置は、チャンネルスキャンを行い、中継装置が使用しているチャンネルを調べ、ネットワークへの参加を試みる。   The relay device selects a channel having the best radio wave condition with the least interference wave among the radio frequency bands that are divided in advance into a plurality of channels when the network is started up. The wireless terminal device performs channel scanning, checks the channel used by the relay device, and tries to join the network.

中継装置が使用するチャンネルは、ネットワークの運用中に変更可能である。例えば、使用中のチャンネルに妨害波が増え通信品質が低下した場合、中継装置は、使用中のチャンネルよりも通信品質の良いチャンネルへ変更することができる。   The channel used by the relay device can be changed during network operation. For example, when the interference wave increases in the channel being used and the communication quality is deteriorated, the relay device can change to a channel having a better communication quality than the channel being used.

しかし、無線端末装置は、中継装置が使用するチャンネルが変更された場合、再度チャンネルスキャンを行い、中継装置が使用する新たなチャンネルを探し出さなければならない。
一般的に、無線端末装置は、省電力化のため、一定間隔でスリープ状態となる間欠動作を行なっている。また、チャンネルスキャンには一定の時間を要する。そのため、ネットワークに接続している全ての無線端末装置を新しいチャンネルに迅速に切り替えることは困難であった。
However, when the channel used by the relay device is changed, the wireless terminal device must perform channel scanning again to find a new channel used by the relay device.
In general, a wireless terminal device performs an intermittent operation that enters a sleep state at regular intervals to save power. Moreover, a certain time is required for the channel scan. For this reason, it has been difficult to quickly switch all wireless terminal devices connected to the network to a new channel.

そこで、親局を頂点とするツリー構造の無線通信ネットワークシステムにおいて、親局は、EDスキャン(Energy Detect Scan)を実施し、LQI(Link Quality Indicator)等の通信品質を示す情報を測定し、当該測定結果に基づいて通信状況の良否を判別する。そして、使用中の周波数チャンネルの通信状況が悪化した場合には、親局は、周波数変更通知をブロードキャストで子局に送信し、ブロードキャスト後に使用する周波数チャンネルを変更する。子局は、周波数変更通知を受信すると、自身の通信の周波数変更を実施する。という技術が開示されている(特許文献1参照)。   Therefore, in a wireless communication network system having a tree structure with the parent station at the top, the parent station performs ED scan (Energy Detect Scan), measures information indicating communication quality such as LQI (Link Quality Indicator), and the like. The quality of the communication status is determined based on the measurement result. When the communication status of the frequency channel being used deteriorates, the master station transmits a frequency change notification to the slave station by broadcasting, and changes the frequency channel to be used after broadcasting. When the slave station receives the frequency change notification, the slave station changes the frequency of its own communication. Is disclosed (see Patent Document 1).

特開2008−187603号公報JP 2008-187603 A

しかしながら、引用文献1では、周波数変更通知をブロードキャストで子局(無線端末装置)に送信する際、通信状況が悪化しているチャンネルを用いているため、当該チャンネルの通信状況によっては、周波数変更通知を無線端末装置が受信することができない恐れがある。周波数変更通知を受信できない無線端末装置は、全てのチャンネルをスキャンして、新たなチャンネルの情報を得る必要が生じる。従って、中継装置が使用するチャンネルの変更があったときは、依然として無線端末装置のチャンネル切り替え処理の迅速化が困難なままである。   However, in Cited Document 1, when a frequency change notification is broadcasted to a slave station (wireless terminal device), a channel whose communication status is deteriorated is used. Therefore, depending on the communication status of the channel, the frequency change notification is used. May not be received by the wireless terminal device. A wireless terminal device that cannot receive a frequency change notification needs to scan all channels to obtain new channel information. Therefore, when the channel used by the relay device is changed, it is still difficult to speed up the channel switching process of the wireless terminal device.

本発明の課題は、上記問題に鑑みて、無線端末装置のチャンネル切り替えの迅速化を図ることである。   In view of the above problems, an object of the present invention is to speed up channel switching of a wireless terminal device.

以上の課題を解決するため、請求項1記載の発明は、複数の無線端末装置と、前記複数の無線端末装置と無線通信を行う中継装置と、を備えた無線通信システムにおいて、前記中継装置は、複数の無線チャンネルのうち予め設定された無線チャンネルで前記複数の無線端末装置にブロードキャストを行なう第1通信部と、前記第1通信部に設定されている無線チャンネルを除く複数の無線チャンネルのうちいずれか一つの無線チャンネルが設定されており、当該設定された無線チャンネルで前記複数の無線端末装置と無線通信を行う第2通信部と、前記第2通信部に設定されている無線チャンネルの通信状況が悪化した場合、前記複数の無線チャンネルの通信状況を前記第2通信部により検出させ、当該検出された複数の通信状況に基づいて前記複数の無線チャンネルのうちいずれか一つの無線チャンネルを選択し、当該選択した無線チャンネルを前記第2通信部の無線チャンネルに設定し、前記第2通信部に設定した無線チャンネルの情報を前記第1通信部により送信させる第1制御部と、を有し、前記無線端末装置は、前記複数の無線チャンネルのうちいずれか一つの無線チャンネルが設定されており、当該設定された無線チャンネルで前記中継装置と無線通信を行う第3通信部と、前記第3通信部と前記中継装置の第2通信部との無線通信が途絶えた場合、前記第3通信部に設定されている無線チャンネルを前記第1通信部に予め設定された無線チャンネルに設定し、前記第2通信部に設定された無線チャンネルの情報を前記第3通信部により取得し、当該取得した無線チャンネルの情報に基づいて前記第3通信部に設定されている無線チャンネルを変更する第2制御部と、を有することを特徴としている。   In order to solve the above problems, the invention according to claim 1 is a wireless communication system including a plurality of wireless terminal devices and a relay device that performs wireless communication with the plurality of wireless terminal devices. A first communication unit that broadcasts to the plurality of wireless terminal devices using a preset wireless channel among the plurality of wireless channels, and a plurality of wireless channels other than the wireless channel set in the first communication unit Any one of the wireless channels is set, a second communication unit that performs wireless communication with the plurality of wireless terminal devices using the set wireless channel, and communication of the wireless channel set in the second communication unit When the situation deteriorates, the communication status of the plurality of wireless channels is detected by the second communication unit, and based on the detected plurality of communication statuses One of the plurality of radio channels is selected, the selected radio channel is set as the radio channel of the second communication unit, and information on the radio channel set in the second communication unit is set in the first communication channel. A first control unit for transmission by one communication unit, wherein the wireless terminal device has any one of the plurality of wireless channels set, and the relay is performed on the set wireless channel. When wireless communication between the third communication unit that performs wireless communication with the device and the third communication unit and the second communication unit of the relay device is interrupted, the wireless channel set in the third communication unit is A wireless channel set in advance in one communication unit is set, information on the wireless channel set in the second communication unit is acquired by the third communication unit, and the acquired wireless channel is acquired. It is characterized by having a second control unit for changing a radio channel set to the third communication unit based on the information of the panel, the.

請求項2記載の発明は、請求項1に記載の無線通信システムにおいて、前記第1制御部は、前記第2通信部に設定されている無線チャンネルの電界強度が予め設定された閾値以上となった場合、前記第2通信部に設定されている無線チャンネルの通信状況が悪化したと判別すること、を特徴としている。   According to a second aspect of the present invention, in the wireless communication system according to the first aspect, the first control unit has an electric field strength of a wireless channel set in the second communication unit equal to or greater than a preset threshold value. In this case, it is determined that the communication status of the wireless channel set in the second communication unit has deteriorated.

請求項3記載の発明は、請求項1又は2に記載の無線通信システムにおいて、前記第1制御部は、前記第2通信部に設定されている無線チャンネルの通信状況が悪化した場合、前記第2通信部により前記第1通信部に設定されている無線チャンネルを除く複数の無線チャンネルの電界強度を前記通信状況として検出させ、当該検出された複数の電界強度のうち最も小さい電界強度に対応する無線チャンネルを選択すること、を特徴としている。   According to a third aspect of the present invention, in the wireless communication system according to the first or second aspect, when the communication state of a wireless channel set in the second communication unit deteriorates, the first control unit The two communication units detect the electric field strengths of a plurality of radio channels excluding the radio channel set in the first communication unit as the communication status, and correspond to the smallest electric field strength among the detected plurality of electric field strengths. It is characterized by selecting a radio channel.

請求項4記載の発明は、請求項1から3のいずれか一項に記載の無線通信システムにおいて、前記第2制御部は、前記第3通信部により前記中継装置の前記第2通信部から送信されるビーコン信号が受信できない場合、前記無線通信が途絶えたと判別すること、を特徴としている。   Invention of Claim 4 is a radio | wireless communications system as described in any one of Claim 1 to 3. WHEREIN: The said 2nd control part is transmitted from the said 2nd communication part of the said relay apparatus by the said 3rd communication part. When the beacon signal to be received cannot be received, it is determined that the wireless communication is interrupted.

請求項5記載の発明は、複数の無線チャンネルのうち予め設定された無線チャンネルで複数の無線端末装置にブロードキャストを行なう第1通信部と、前記第1通信部に設定されている無線チャンネルを除く複数の無線チャンネルのうちいずれか一つの無線チャンネルが設定されており当該設定された無線チャンネルで前記複数の無線端末装置と無線通信を行う第2通信部と、を有する中継装置と、前記複数の無線チャンネルのうちいずれが一つの無線チャンネルが設定されており当該設定された無線チャンネルで前記中継装置と無線通信を行う第3通信部を有する無線端末装置と、の無線通信方法であって、前記中継装置の前記第2通信部に設定されている無線チャンネルの通信状況が悪化した場合、前記複数の無線チャンネルの通信状況を前記第2通信部により検出させる工程と、当該検出された複数の通信状況に基づいて前記複数の無線チャンネルのうちいずれか一つの無線チャンネルを選択する工程と、前記選択した無線チャンネルを前記第2通信部の無線チャンネルに設定する工程と、前記第2通信部に設定した無線チャンネルの情報を前記第1通信部により送信させる工程と、前記無線端末装置の前記第3通信部と前記中継装置の第2通信部との無線通信が途絶えた場合、前記第3通信部の無線チャンネルを前記予め設定された無線チャンネルに設定する工程と、前記第2通信部に設定された無線チャンネルの情報を前記第3通信部により取得する工程と、前記取得した無線チャンネルの情報に基づいて前記第3通信部に設定されている無線チャンネルを変更する工程と、を含むことを特徴としている。   The invention described in claim 5 excludes a first communication unit that broadcasts to a plurality of wireless terminal devices using a preset wireless channel among a plurality of wireless channels, and a wireless channel set in the first communication unit. A relay device having a second communication unit in which any one of the plurality of wireless channels is set and wirelessly communicates with the plurality of wireless terminal devices on the set wireless channel; One of the wireless channels is a wireless communication method with a wireless terminal device in which one wireless channel is set and has a third communication unit that performs wireless communication with the relay device on the set wireless channel, When the communication status of the wireless channel set in the second communication unit of the relay device deteriorates, the communication status of the plurality of wireless channels A step of detecting by the second communication unit; a step of selecting any one of the plurality of wireless channels based on the detected plurality of communication states; and A step of setting a wireless channel of the communication unit, a step of transmitting information of the wireless channel set in the second communication unit by the first communication unit, a step of transmitting the third communication unit of the wireless terminal device and the relay device When wireless communication with the second communication unit is interrupted, the step of setting the wireless channel of the third communication unit to the preset wireless channel, and the information of the wireless channel set to the second communication unit A step of acquiring by the third communication unit, and a step of changing the wireless channel set in the third communication unit based on the acquired wireless channel information It is characterized in that it comprises a.

本発明によれば、無線端末装置のチャンネル切り替えの迅速化を図ることができる。   According to the present invention, it is possible to speed up channel switching of a wireless terminal device.

無線通信システムの概略構成図である。It is a schematic block diagram of a radio | wireless communications system. 中継装置の概略構成図である。It is a schematic block diagram of a relay apparatus. ビーコンフレームの例を示す図である。It is a figure which shows the example of a beacon frame. 無線端末装置の概略構成図である。It is a schematic block diagram of a radio | wireless terminal apparatus. 無線チャンネル切替処理のフローチャートである。It is a flowchart of a wireless channel switching process. 無線チャンネル変更処理のフローチャートである。It is a flowchart of a wireless channel change process. 中継装置と無線端末装置との動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example with a relay apparatus and a radio | wireless terminal apparatus.

以下、図を参照して本発明の実施の形態を詳細に説明する。なお、この発明にはこの実施の形態に限定されるものではない。また、この発明の実施の形態は、発明の最も好ましい形態を示すものであり、この発明の用語はこれに限定されない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to this embodiment. The embodiment of the present invention shows the most preferable mode of the present invention, and the terminology of the present invention is not limited to this.

まず、構成を説明する。
図1に、本実施の形態における無線通信システムAの概略構成図を示す。
First, the configuration will be described.
FIG. 1 shows a schematic configuration diagram of a wireless communication system A in the present embodiment.

図1に示すように、無線通信システムAは、通信ネットワークNを介して他の中継装置又は外部装置と接続された中継装置1と、中継装置1と無線を介して接続される複数の無線端末装置2と、を備えている。   As shown in FIG. 1, a wireless communication system A includes a relay device 1 connected to another relay device or an external device via a communication network N, and a plurality of wireless terminals connected to the relay device 1 via a radio The apparatus 2 is provided.

本実施の形態における無線通信システムAは、IEEE802.15.4の規格に準拠するものとする。この場合、中継装置1がコーディネータ、無線端末装置2がエンドデバイスに相当する。   The wireless communication system A in the present embodiment is based on the IEEE 802.15.4 standard. In this case, the relay device 1 corresponds to a coordinator, and the wireless terminal device 2 corresponds to an end device.

図2に、中継装置1の概略構成図を示す。
図2に示すように、中継装置1は、制御部10、記憶部11、端末情報用メモリ12、ビーコン送信タイマ13、第1通信部14、第2通信部15、有線I/F(InterFace)部16、バッファ17等を備え、各部が電気的に接続されている。
In FIG. 2, the schematic block diagram of the relay apparatus 1 is shown.
As shown in FIG. 2, the relay device 1 includes a control unit 10, a storage unit 11, a terminal information memory 12, a beacon transmission timer 13, a first communication unit 14, a second communication unit 15, and a wired I / F (InterFace). The unit 16 and the buffer 17 are provided, and each unit is electrically connected.

制御部10は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を備える。制御部10は、記憶部11や端末情報用メモリ12に記憶されている各種プログラム、各種テーブルやデータ等の中から指定されたプログラム、テーブルやデータを読み出し、RAM又は記憶部11のワークエリアに展開し、上記プログラムとの協働によって各種処理を実行し、その処理結果をRAM内又は記憶部11や端末情報用メモリ12の所定の領域に格納するとともに、中継装置1内の各部に指示して、中継装置1の動作全般を統括的に制御する。   The control unit 10 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The control unit 10 reads various programs stored in the storage unit 11 and the terminal information memory 12, programs, tables, and data specified from various tables and data, and stores them in the work area of the RAM or the storage unit 11. Expands and executes various processes in cooperation with the program, stores the processing results in the RAM or a predetermined area of the storage unit 11 or the terminal information memory 12, and instructs each unit in the relay device 1 Thus, the overall operation of the relay device 1 is comprehensively controlled.

制御部10は、ブロードキャストを行うためのビーコン信号を生成し、生成したビーコン信号を第1通信部14に予め設定した無線チャンネル(基準無線チャンネル)で定期的に送信させる。   The control unit 10 generates a beacon signal for broadcasting, and periodically transmits the generated beacon signal to the first communication unit 14 using a preset wireless channel (reference wireless channel).

基準無線チャンネルとしては、例えば、IEEE802.15.4において、2.4[GHz]帯を16分割したch11〜ch26の全16の無線チャンネルのうち、何れか一つの無線チャンネルであり、妨害波等の影響を最も受けにくい無線チャンネルであることが好ましい。本実施の形態では、予め設定した無線チャンネルの例として、ch26を用いて説明する。   As the reference radio channel, for example, in IEEE 802.15.4, any one of the 16 radio channels of ch11 to ch26 obtained by dividing the 2.4 [GHz] band into 16 is one of the radio channels such as an interference wave. It is preferable that the wireless channel be least susceptible to the influence of the above. In the present embodiment, description will be given using ch 26 as an example of a preset wireless channel.

制御部10は、第2通信部15に設定した無線チャンネルの通信状況に応じて第2通信部15の無線チャンネルを切り替えさせる。また、制御部10は、ビーコン信号及びデータ信号を生成し、生成したビーコン信号を定期的に送信させる。
なお、第2通信部15に設定可能な無線チャンネルは、第1通信部14に設定されている基準無線チャンネルを除く複数の無線チャンネルのうちいずれか一つの無線チャンネルである。
The control unit 10 switches the radio channel of the second communication unit 15 according to the communication status of the radio channel set in the second communication unit 15. Moreover, the control part 10 produces | generates a beacon signal and a data signal, and transmits the produced | generated beacon signal regularly.
The wireless channel that can be set in the second communication unit 15 is any one of a plurality of wireless channels excluding the reference wireless channel set in the first communication unit 14.

ビーコン信号とは、中継装置1から一定間隔で送信されるパケットデータであり、無線通信システムAに接続される無線端末装置2と中継装置1とを同期させるためのものである。   The beacon signal is packet data transmitted from the relay device 1 at regular intervals, and is for synchronizing the wireless terminal device 2 connected to the wireless communication system A and the relay device 1.

図3に、本実施の形態におけるビーコンフレームの例を示す。
図3に示すように、ビーコン信号は、MHR(MAC(Media Access Control)ヘッダ)領域B1と、MACペイロード領域B2と、MFR(MAC Footer)領域B3とを有し、IEEE802.15.4の規格に基づくものである。
FIG. 3 shows an example of a beacon frame in the present embodiment.
As shown in FIG. 3, the beacon signal has an MHR (MAC (Media Access Control) header) area B1, a MAC payload area B2, and an MFR (MAC Footer) area B3, and is based on the IEEE 802.15.4 standard. It is based on.

MHR領域B1には、フレームコントロールB11、アドレス領域B12等が含まれている。MACペイロード領域B2には、SS(Superframe Specification)B21、GTS(Guaranteed Time Slot)フィールドB22、PA(Pending Address)フィールドB23、ビーコンペイロードB24等が含まれている。   The MHR area B1 includes a frame control B11, an address area B12, and the like. The MAC payload area B2 includes an SS (Superframe Specification) B21, a GTS (Guaranteed Time Slot) field B22, a PA (Pending Address) field B23, a beacon payload B24, and the like.

SSB21は、スーパーフレームの詳細情報フィールドであり、ビーコンを受信した際の時間管理を行うためのビーコン送信間隔やビーコンの通信方式が定義されている。GTSフィールドB22には、無線端末装置に保障された通信方式(例えば、GTS)の情報が含まれている。PAフィールドB23には、無線端末装置に送信するデータがある場合、データを送信する無線端末装置を識別する端末識別情報(ノードアドレス)が含まれている。   The SSB 21 is a detailed information field of a superframe, and defines a beacon transmission interval and a beacon communication method for performing time management when a beacon is received. The GTS field B22 includes information on a communication method (for example, GTS) guaranteed by the wireless terminal device. When there is data to be transmitted to the wireless terminal device, the PA field B23 includes terminal identification information (node address) for identifying the wireless terminal device that transmits the data.

ビーコンペイロードB24には、50バイト程度のペイロード領域が含まれている。
ビーコン信号がブロードキャストを行なう際に用いられる場合、このビーコンペイロードB24には、DATE領域B24a、COM_NCH領域B24b、CH領域B24cを含む。DATE領域B24aには、日時情報が格納されている。COM_NCH領域B24bには、次の領域に第2通信部15が現在使用中の無線チャンネルの情報を示すコマンドIDが格納されている。CH領域B24cには、無線チャンネルの情報が格納されている。
The beacon payload B24 includes a payload area of about 50 bytes.
When the beacon signal is used when broadcasting, the beacon payload B24 includes a DATE area B24a, a COM_NCH area B24b, and a CH area B24c. Date / time information is stored in the DATE area B24a. In the COM_NCH area B24b, a command ID indicating information on a radio channel currently used by the second communication unit 15 is stored in the next area. The CH area B24c stores radio channel information.

また、制御部10は、第2通信部15に設定されている無線チャンネルの通信状況が悪化した場合、記憶部11から無線チャンネル切替処理プログラムや各種データを読み出し、無線チャンネル切替処理を実行する第1制御部として機能する。   In addition, when the communication status of the wireless channel set in the second communication unit 15 deteriorates, the control unit 10 reads the wireless channel switching processing program and various data from the storage unit 11 and executes the wireless channel switching processing. 1 functions as a control unit.

無線チャンネル切替処理では、第2通信部15に設定されている無線チャンネルの通信状況が悪化した場合において、第2通信部15が複数の無線チャンネルの通信状況を検出し、当該検出された複数の通信状況に基づいて複数の無線チャンネルのうちいずれか一つの無線チャンネルが選択される。そして、当該選択された無線チャンネルが第2通信部15の無線チャンネルに設定され、第2通信部15に設定された無線チャンネルの情報が第1通信部14によりビーコン信号によりブロードキャストで送信される。   In the wireless channel switching process, when the communication state of the wireless channel set in the second communication unit 15 deteriorates, the second communication unit 15 detects the communication state of a plurality of wireless channels, and the detected plurality of One of the plurality of wireless channels is selected based on the communication status. Then, the selected radio channel is set as the radio channel of the second communication unit 15, and information on the radio channel set in the second communication unit 15 is transmitted by broadcast using the beacon signal by the first communication unit 14.

制御部10は、第2通信部15に現在設定されている無線チャンネルの電界強度を第2通信部15により定期的にスキャンさせている。電界強度に応じてスループットが変化することが知られているため、電界強度をスキャンして得ることにより通信状況が判明する。そこで、制御部10は、当該スキャンによって得られた結果が予め設定された閾値以上となった場合、第2通信部15に設定されている無線チャンネルの通信状況が悪化したと判別する。   The control unit 10 causes the second communication unit 15 to periodically scan the electric field strength of the wireless channel currently set in the second communication unit 15. Since it is known that the throughput changes in accordance with the electric field strength, the communication status can be determined by scanning the electric field strength. Thus, the control unit 10 determines that the communication status of the wireless channel set in the second communication unit 15 has deteriorated when the result obtained by the scan is equal to or greater than a preset threshold value.

制御部10は、第2通信部15に設定されている無線チャンネルの通信状況が悪化した場合に複数の無線チャンネルからいずれか一つの無線チャンネルを選択する際、第2通信部15に、第1通信部14に設定されている無線チャンネルを除く複数の無線チャンネルの電界強度を通信状況として検出させ、当該検出された複数の電界強度のうち最も小さい電界強度に対応する無線チャンネルを選択する。   When the communication state of the wireless channel set in the second communication unit 15 deteriorates, the control unit 10 selects the first communication channel from the plurality of wireless channels, and the first communication unit 15 The field strength of a plurality of wireless channels excluding the wireless channel set in the communication unit 14 is detected as a communication status, and the wireless channel corresponding to the smallest field strength is selected from the detected plurality of field strengths.

記憶部11は、磁気的、光学的記録媒体又は半導体等の電気的に消去及び書き換えが可能な不揮発性メモリで構成されており、中継装置1に固定的に設けられたもの又は着脱自在に装着されるものである。また、記憶部11には、制御部10により実行される無線チャンネル切替プログラム、各種プログラム及びこれらプログラムで使用される各種テーブルやデータ等が予め記憶されている。   The storage unit 11 is composed of a magnetic or optical recording medium or a non-volatile memory that can be electrically erased and rewritten, such as a semiconductor. The storage unit 11 is fixedly attached to the relay device 1 or is detachably mounted. It is what is done. The storage unit 11 stores in advance a wireless channel switching program executed by the control unit 10, various programs, various tables and data used in these programs, and the like.

端末情報用メモリ12は、電気的に消去及び書き換えが可能なメモリで構成されている。端末情報用メモリ12には、中継装置1自身の通信可能な領域内に存在する無線端末装置2のノードアドレス等の情報が格納されている。   The terminal information memory 12 is composed of a memory that can be electrically erased and rewritten. The terminal information memory 12 stores information such as the node address of the wireless terminal device 2 existing within the communicable area of the relay device 1 itself.

ビーコン送信タイマ13は、ビーコンの送信間隔を計時するタイマであり、計時時間が送信間隔に達した旨を示すビーコン送信タイミング信号を制御部10に出力する。   The beacon transmission timer 13 is a timer that times the beacon transmission interval, and outputs a beacon transmission timing signal indicating that the time has reached the transmission interval to the control unit 10.

第1通信部14は、変調回路、復調回路、RF(Radio Frequency)回路、アンテナ14a等を備え、基準無線チャンネルでブロードキャストを行なう。   The first communication unit 14 includes a modulation circuit, a demodulation circuit, an RF (Radio Frequency) circuit, an antenna 14a, and the like, and broadcasts on a reference wireless channel.

第1通信部14は、パケットの送信電力の調整を行うと共に、制御部10からの指示に応じて送信するデータの符号化を行なってパケットを構成し、構成したパケットの変調を行い、アンテナ14aを介して無線端末装置2へパケットの送信を行う。また、第1通信部14は、パケットの受信感度の調整を行うと共に、アンテナ14aを介して受信したパケットの復調を行い、復調したパケットの解析を行って得られたデータを制御部10に出力する。   The first communication unit 14 adjusts the transmission power of the packet, encodes data to be transmitted in accordance with an instruction from the control unit 10, forms a packet, modulates the formed packet, and performs antenna 14a. The packet is transmitted to the wireless terminal device 2 via The first communication unit 14 adjusts the reception sensitivity of the packet, demodulates the packet received via the antenna 14a, and outputs data obtained by analyzing the demodulated packet to the control unit 10. To do.

第2通信部15は、変調回路、復調回路、RF(Radio Frequency)回路、アンテナ15a等を備え、基準無線チャンネルを除く複数の無線チャンネルのうち何れか一つの無線チャンネルで無線通信を行う。   The second communication unit 15 includes a modulation circuit, a demodulation circuit, an RF (Radio Frequency) circuit, an antenna 15a, and the like, and performs wireless communication using any one of a plurality of wireless channels excluding the reference wireless channel.

第2通信部15も第1通信部14と同様に、パケットの送信電力、受信感度の調整を行う。また第2通信部15は、制御部10からの指示に応じて送信するデータの符号化を行なってパケットを構成し、構成したパケットの変調を行い、アンテナ14aを介して無線端末装置2へパケットの送信を行い、アンテナ14aを介して受信したパケットの復調を行い、復調したパケットの解析を行って得られたデータを制御部10に出力する。   Similar to the first communication unit 14, the second communication unit 15 also adjusts the transmission power and reception sensitivity of the packet. The second communication unit 15 encodes data to be transmitted according to an instruction from the control unit 10 to form a packet, modulates the formed packet, and transmits the packet to the wireless terminal device 2 via the antenna 14a. Is transmitted, the packet received via the antenna 14a is demodulated, and the data obtained by analyzing the demodulated packet is output to the control unit 10.

また、第2通信部15は、複数の無線チャンネル(例えば、全16チャンネル)の電界強度をスキャンし、スキャンによって得られた結果を記憶部11に出力する。   In addition, the second communication unit 15 scans the electric field strength of a plurality of radio channels (for example, all 16 channels), and outputs the result obtained by the scan to the storage unit 11.

有線I/F16は、所定の通信方式により通信ネットワークNを介して接続されている他の中継装置1又は外部装置と通信を行うための通信制御を行う。   The wired I / F 16 performs communication control for communicating with another relay device 1 or an external device connected via the communication network N by a predetermined communication method.

バッファ17は、有線I/F16を介して受信したデータを一時的に記憶する。   The buffer 17 temporarily stores data received via the wired I / F 16.

図4に、無線端末装置2の概略構成図を示す。
図4に示すように、無線端末装置2は、制御部20、記憶部21、アドレス用メモリ22、起動用タイマ23、電源制御部24、表示制御部25a、表示部25b、第3通信部26等を備え、各部が電気的に接続されている。また、無線端末装置2は、バッテリBを備え、電源制御部24からの制御信号に応じてバッテリBから各部へ電力が供給される。
FIG. 4 shows a schematic configuration diagram of the wireless terminal device 2.
As shown in FIG. 4, the wireless terminal device 2 includes a control unit 20, a storage unit 21, an address memory 22, an activation timer 23, a power supply control unit 24, a display control unit 25 a, a display unit 25 b, and a third communication unit 26. Etc., and each part is electrically connected. The wireless terminal device 2 includes a battery B, and power is supplied from the battery B to each unit in response to a control signal from the power supply control unit 24.

制御部20は、CPU、ROM、RAM等を備え、記憶部21に記憶されている各種プログラム、各種テーブルやデータの中から指定されたプログラム、テーブルやデータを読み出し、RAM内又は記憶部21内のワークエリアに展開し、上記プログラムとの協働によって各種処理を実行し、その処理結果をRAM又は記憶部21の所定の領域に格納するとともに、無線端末装置2内の各部に指示して、無線端末装置2の動作全般を統括的に制御する。   The control unit 20 includes a CPU, a ROM, a RAM, and the like, reads out various programs stored in the storage unit 21, various programs and tables and data specified from various tables and data, and stores them in the RAM or the storage unit 21. In the work area, execute various processes in cooperation with the above program, store the processing results in a predetermined area of the RAM or storage unit 21, and instruct each unit in the wireless terminal device 2, The overall operation of the wireless terminal device 2 is comprehensively controlled.

制御部20は、中継装置との無線通信が途絶えた場合、記憶部21から無線チャンネル変更処理プログラムや各種データを読み出し、無線チャンネル変更処理を実行する第2制御部として機能する。   When the wireless communication with the relay device is interrupted, the control unit 20 functions as a second control unit that reads out the wireless channel change processing program and various data from the storage unit 21 and executes the wireless channel change processing.

無線チャンネル変更処理では、中継装置との無線通信が途絶えた場合において、基準無線チャンネルが第3通信部26の無線チャンネルとして設定される。そして、中継装置1の第1通信部14からブロードキャストで送信される第2通信部15に設定された無線チャンネルの情報が第3通信部26により取得され、当該取得された第2通信部15に設定された無線チャンネルの情報に基づいて、第3通信部の無線チャンネルが変更される。   In the wireless channel change process, the reference wireless channel is set as the wireless channel of the third communication unit 26 when wireless communication with the relay device is interrupted. And the information of the wireless channel set in the 2nd communication part 15 transmitted by broadcast from the 1st communication part 14 of the relay apparatus 1 is acquired by the 3rd communication part 26, The said 2nd communication part 15 is acquired. The wireless channel of the third communication unit is changed based on the set wireless channel information.

記憶部21は、磁気的、光学的記録媒体又は半導体等の電気的に消去及び書き換えが可能な不揮発性メモリで構成されており、無線端末装置2に固定的に設けられたもの又は着脱自在に装着されるものである。また、記憶部21には、制御部20により実行される各種プログラム及びこれらプログラムで使用される各種テーブルやデータ等が予め記憶されている。   The storage unit 21 is composed of a non-volatile memory that can be electrically erased and rewritten, such as a magnetic or optical recording medium or a semiconductor, and is provided in the wireless terminal device 2 or is detachable. It is to be attached. The storage unit 21 stores in advance various programs executed by the control unit 20 and various tables and data used in these programs.

アドレス用メモリ22は、電気的に消去及び書き換えが可能な不揮発性メモリで構成されている。アドレス用メモリ22には、無線端末装置2の自己を識別する端末識別情報(ノードアドレス)が記憶されている。   The address memory 22 is composed of a nonvolatile memory that can be electrically erased and rewritten. The address memory 22 stores terminal identification information (node address) for identifying the wireless terminal device 2 itself.

起動用タイマ23は、制御部20により算出された第3通信部26の起動タイミング(起動時刻)を計時するタイマであり、起動タイミングに達した旨を示す起動タイミング信号を制御部20に出力する。   The activation timer 23 is a timer for timing the activation timing (activation time) of the third communication unit 26 calculated by the control unit 20, and outputs an activation timing signal indicating that the activation timing has been reached to the control unit 20. .

電源制御部24は、制御部20からの指示に従い、無線端末装置2全体の電源を制御し、無線端末装置2内の各部にバッテリBからの電力を供給する。   The power control unit 24 controls the power supply of the entire wireless terminal device 2 in accordance with an instruction from the control unit 20, and supplies power from the battery B to each unit in the wireless terminal device 2.

バッテリBは、例えば、アルカリ乾電池やマンガン乾電池等の一次電池や、ニッケルカドミウム電池やニッケル水素電池、リチウムイオン電池等の二次電池等である。   The battery B is, for example, a primary battery such as an alkaline battery or a manganese battery, or a secondary battery such as a nickel cadmium battery, a nickel hydrogen battery, or a lithium ion battery.

表示制御部25aは、制御部20から入力される表示指示に従って、各種情報を表示部25bに表示させる。   The display control unit 25a displays various information on the display unit 25b in accordance with the display instruction input from the control unit 20.

表示部25bは、LCD(Liquid Crystal Display)やEL(Electro Luminescence)ディスプレイ等によって構成され、表示制御部25aから入力される信号に応じて各種画面をディスプレイ上に表示する。   The display unit 25b is configured by an LCD (Liquid Crystal Display), an EL (Electro Luminescence) display, or the like, and displays various screens on the display according to a signal input from the display control unit 25a.

第3通信部26は、無線送信部26a、無線受信部26b、SW(切替部)26c、アンテナ26d等を備え、中継装置1と無線通信を行う。   The third communication unit 26 includes a wireless transmission unit 26a, a wireless reception unit 26b, a SW (switching unit) 26c, an antenna 26d, and the like, and performs wireless communication with the relay device 1.

無線送信部26aは、変調回路やRF(Radio Frequency)回路等を備えており、パケットの送信電力の調整を行うと共に、制御部20からの指示に応じて送信するデータの符号化を行なってパケットを構成し、構成したパケットの変調を行い、アンテナ26dを介して中継装置1へパケットの送信を行う。   The wireless transmission unit 26a includes a modulation circuit, an RF (Radio Frequency) circuit, and the like, adjusts the transmission power of the packet, encodes the data to be transmitted according to an instruction from the control unit 20, and transmits the packet. The packet is modulated, and the packet is transmitted to the relay apparatus 1 via the antenna 26d.

無線受信部26bは、復調回路やRF回路等を備えており、パケットの受信感度の調整を行うと共に、アンテナ26dを介して受信したパケットの復調を行い、復調したパケットの解析を行って得られたデータを制御部20に出力する。   The radio reception unit 26b includes a demodulation circuit, an RF circuit, and the like, and is obtained by adjusting the reception sensitivity of the packet, demodulating the packet received via the antenna 26d, and analyzing the demodulated packet. The data is output to the control unit 20.

SW26cは、アンテナ26dと無線送信部26a又は無線受信部26bとの間に設けられており、制御部20からの指示に従って、無線送信部26aからのパケットの送信又はアンテナ26dからのパケットの受信を切替える。   The SW 26c is provided between the antenna 26d and the wireless transmission unit 26a or the wireless reception unit 26b. According to an instruction from the control unit 20, the SW 26c transmits a packet from the wireless transmission unit 26a or receives a packet from the antenna 26d. Switch.

アンテナ26dは、設定された送信電力に応じてパケットの送信、又は設定された受信感度に応じてパケットの受信を行なう。   The antenna 26d transmits a packet according to the set transmission power or receives a packet according to the set reception sensitivity.

次に、本実施の形態の動作を説明する。
図5に、中継装置1において実行される無線チャンネル切替処理のフローチャートを示す。なお、図5に示す処理は、中継装置1内の制御部10と各部との協働により実行されるものであり、中継装置1に電力が供給されている間に実行されるものである。
Next, the operation of the present embodiment will be described.
FIG. 5 shows a flowchart of the radio channel switching process executed in the relay apparatus 1. Note that the processing shown in FIG. 5 is executed in cooperation with the control unit 10 and each unit in the relay apparatus 1 and is executed while power is being supplied to the relay apparatus 1.

制御部10は、第2通信部15に設定されている無線チャンネルの通信状況を検出する(ステップS1)。ステップS1では、制御部10からの指示に従って、例えば、第2通信部15が自身に現在設定されている無線チャンネルの単位時間あたりの電界強度を検出する。即ち、通信状況として電界強度が検出される。検出結果は記憶部11に記憶される。   The control unit 10 detects the communication status of the wireless channel set in the second communication unit 15 (step S1). In step S1, according to the instruction from the control unit 10, for example, the second communication unit 15 detects the electric field strength per unit time of the wireless channel currently set in itself. That is, the electric field strength is detected as the communication status. The detection result is stored in the storage unit 11.

制御部10は、ステップS1にて検出した通信状況が悪化したか否かを判別する(ステップS2)。ステップS2では、ステップS1にて検出した電界強度が、予め設定された閾値以上か否かが判別され、検出した電界強度が閾値以上の場合には、通信状況が悪化したと判別される。   The control unit 10 determines whether or not the communication status detected in step S1 has deteriorated (step S2). In step S2, it is determined whether or not the electric field strength detected in step S1 is greater than or equal to a preset threshold value. If the detected electric field strength is greater than or equal to the threshold value, it is determined that the communication status has deteriorated.

通信状況が悪化していない場合(ステップS2;NO)、制御部10は、ステップS1の処理に戻る。通信状況が悪化した場合(ステップS2;YES)、制御部10は、第2通信部での無線帯域スキャンを実行させる(ステップS3)。   If the communication status has not deteriorated (step S2; NO), the control unit 10 returns to the process of step S1. When the communication state deteriorates (step S2; YES), the control unit 10 causes the second communication unit to perform a radio band scan (step S3).

制御部10は、ステップS3の無線帯域スキャンの結果に基づいて、第2通信部15の無線チャンネルの設定変更を行なう(ステップS4)。   The control unit 10 changes the setting of the radio channel of the second communication unit 15 based on the result of the radio band scan in step S3 (step S4).

ステップS3、4の例としては、無線帯域の全ての無線チャンネル毎の電界強度が検出され、各無線チャンネルの電界強度が記憶部11に記憶される(ステップS3)。そして、ステップS4において、記憶部11に記憶された各無線チャンネルの電界強度のうち、最も電界強度が小さい無線チャンネルが第2通信部15の無線チャンネルとして設定される(ステップS4)。としてもよい。   As an example of steps S3 and S4, the electric field strength for every wireless channel in the wireless band is detected, and the electric field strength of each wireless channel is stored in the storage unit 11 (step S3). In step S4, the wireless channel with the lowest electric field strength among the electric field strengths stored in the storage unit 11 is set as the wireless channel of the second communication unit 15 (step S4). It is good.

ステップS3、4の他の例としては、無線帯域の全ての無線チャンネル毎の電界強度が予め設定された周期で複数回連続して第2通信部15により検出され、無線チャンネル毎に各周期の電界強度が時系列に記憶部11に記憶される(ステップS3)。そして、複数の周期の電界強度のうち最新の電界強度の移動平均値が無線チャンネル毎に算出され、算出された各無線チャンネルの移動平均値のうち、最も小さい移動平均値に対応する無線チャンネルが第2通信部15の無線チャンネルとして設定される(ステップS4)。としてもよい。なお、移動平均値に替えて、複数の周期の電界強度の平均値を算出してもよい。   As another example of steps S3 and S4, the electric field strength for every radio channel in the radio band is detected by the second communication unit 15 a plurality of times continuously in a preset cycle, and each cycle for each radio channel is detected. The electric field strength is stored in the storage unit 11 in time series (step S3). Then, the moving average value of the latest electric field strength among the electric field strengths of a plurality of periods is calculated for each wireless channel, and the wireless channel corresponding to the smallest moving average value among the calculated moving average values of each wireless channel is It is set as the radio channel of the second communication unit 15 (step S4). It is good. Instead of the moving average value, an average value of the electric field strengths of a plurality of periods may be calculated.

制御部10は、第1通信部14にステップS4で設定された第2通信部15の無線チャンネルの情報を通知する(ステップS5)。   The control unit 10 notifies the first communication unit 14 of the wireless channel information of the second communication unit 15 set in step S4 (step S5).

制御部10は、第1通信部14に、第1通信部14からブロードキャストされるビーコン信号のビーコンペイロードに通知した第2通信部15の無線チャンネルの情報を更新させ、第1通信部14から更新したビーコン信号をブロードキャスト送信させ(ステップS6)、ステップS1の処理に戻る。   The control unit 10 causes the first communication unit 14 to update the information on the radio channel of the second communication unit 15 notified to the beacon payload of the beacon signal broadcast from the first communication unit 14, and updates the information from the first communication unit 14. The transmitted beacon signal is broadcasted (step S6), and the process returns to step S1.

図6に、無線端末装置2において実行される無線チャンネル変更処理のフローチャートを示す。なお、図6に示す処理は、無線端末装置2内の制御部20と各部との協働により実行されるものであり、無線端末装置2に電力が供給されている間に実行されるものである。   FIG. 6 shows a flowchart of the wireless channel change process executed in the wireless terminal device 2. The process shown in FIG. 6 is executed by the cooperation of the control unit 20 and each unit in the wireless terminal device 2 and is executed while power is supplied to the wireless terminal device 2. is there.

無線端末装置2は、中継装置1との通信確立後、中継装置1から一定間隔で送信されるビーコン信号に従って間欠動作をしている。無線端末装置2は、通信の必要がない状態では、自身の電源をオフにして消費電力を極力減らす動作を行なっているが、ビーコン信号を受信するためにウェイクアップし、ビーコン信号に自身へのデータ送受信要求がある場合には、当該要求に従った動作を行なう。   After establishing communication with the relay device 1, the wireless terminal device 2 performs an intermittent operation according to a beacon signal transmitted from the relay device 1 at regular intervals. The wireless terminal device 2 performs an operation of reducing power consumption as much as possible by turning off its own power supply when communication is not necessary. However, the wireless terminal device 2 wakes up to receive a beacon signal, and sends a beacon signal to itself. When there is a data transmission / reception request, an operation according to the request is performed.

制御部20は、第3通信部26に現在設定されている無線チャンネルにおいて、中継装置1からビーコン信号を受信できたか否かを判別する(ステップS11)。   The control unit 20 determines whether or not the beacon signal has been received from the relay device 1 in the wireless channel currently set in the third communication unit 26 (step S11).

ステップS11では、例えば、IEEE802.15.4のMAC層には、「BEACON LOST」というエラーを通信する機能があり、この機能を利用して判別される。「BEACON LOST」は、一定期間、ビーコン信号を受信できなかったときに発生するため、制御部20は、「BEACON LOST」が第3通信部26から通信されたか否かを判別するものである。なお、「一定期間」は、ビーコンの発信間隔とビーコンに受信に失敗した回数の積で表される期間としてIEEE802.15.4に規定されている。   In step S11, for example, the IEEE 802.15.4 MAC layer has a function of communicating an error “BEACON LOST”, and is determined using this function. Since “BEACON LOST” occurs when a beacon signal cannot be received for a certain period, the control unit 20 determines whether or not “BEACON LOST” is communicated from the third communication unit 26. The “certain period” is defined in IEEE 802.15.4 as a period represented by the product of the beacon transmission interval and the number of times the beacon has failed to be received.

ビーコン信号が受信できた場合(ステップS11;YES)、制御部20は、ビーコン受信処理を実行し(ステップS12)、ステップS11の処理に戻る。   When the beacon signal can be received (step S11; YES), the control unit 20 executes a beacon reception process (step S12) and returns to the process of step S11.

ビーコン信号が受信できない場合(ステップS11;NO)、第3通信部26に設定されている無線チャンネルを基準無線チャンネルに変更し(ステップS13)、基準無線チャンネルで中継装置1からビーコン信号を受信できたか否かを判別する(ステップS14)。なお、ステップS14でも、ステップS11と同様に「BEACON LOST」を用いて判別される。   When the beacon signal cannot be received (step S11; NO), the wireless channel set in the third communication unit 26 is changed to the reference wireless channel (step S13), and the beacon signal can be received from the relay device 1 on the reference wireless channel. It is determined whether or not (step S14). In step S14, the determination is made using “BEACON LOST” as in step S11.

ビーコン信号が受信できた場合(ステップS14;YES)、制御部20は、受信したビーコン信号のビーコンペイロードに含まれている無線チャンネルの情報を取得する(ステップS15)。制御部20は、取得した無線チャンネルの情報に基づいて第3通信部26の無線チャンネルを変更し(ステップS16)、ステップS11の処理に戻る。   When the beacon signal can be received (step S14; YES), the control unit 20 acquires information on the wireless channel included in the beacon payload of the received beacon signal (step S15). The control unit 20 changes the wireless channel of the third communication unit 26 based on the acquired wireless channel information (step S16), and returns to the process of step S11.

ビーコン信号が受信できない場合(ステップS14;NO)、制御部20は、第3通信部26により全ての無線チャンネルのスキャンを行なわせ。中継装置1と接続可能な無線チャンネルを探す(ステップS17)。そして、制御部20は、第3通信部26の無線チャンネルをステップS17で探し出した無線チャンネルに変更し(ステップS18)、ステップS11の処理に戻る。   When the beacon signal cannot be received (step S14; NO), the control unit 20 causes the third communication unit 26 to scan all wireless channels. A wireless channel connectable to the relay device 1 is searched (step S17). Then, the control unit 20 changes the radio channel of the third communication unit 26 to the radio channel found in step S17 (step S18), and returns to the process of step S11.

図7に、本実施の形態における中継装置1と無線端末装置2との動作例を示すシーケンス図を示す。
なお、中継装置1の第1通信部には基準無線チャンネルとしてch26が設定されており、第2通信部には当初はch11が設定されているものとする。無線端末装置2は、ch11で中継装置1の第2通信部と無線通信を行っているものとする。
また、第1通信部は、定期的にビーコン信号をブロードキャスト送信しており、第2通信部は、定期的にビーコン信号を送信している。
FIG. 7 shows a sequence diagram showing an operation example of relay apparatus 1 and wireless terminal apparatus 2 in the present embodiment.
It is assumed that ch26 is set as the reference radio channel in the first communication unit of the relay apparatus 1, and ch11 is initially set in the second communication unit. It is assumed that the wireless terminal device 2 is performing wireless communication with the second communication unit of the relay device 1 at ch11.
In addition, the first communication unit periodically transmits a beacon signal, and the second communication unit periodically transmits a beacon signal.

無線端末装置2は、ch11において送信されるビーコン信号を受信すると、ビーコン受信処理を実行する。
ここでのビーコン受信処理としては、無線端末装置2の第3通信部からデータリクエスト信号が中継装置1の第2通信部に送信される。そして、第3通信部が中継装置1の第2通信部から送信されるACK信号を受信し、データ信号を受信する。そして、第3通信部から中継装置1の第2通信部へACK信号が送信されるものである(ステップS21)。
When receiving the beacon signal transmitted in ch11, the wireless terminal device 2 executes a beacon reception process.
As the beacon reception processing here, a data request signal is transmitted from the third communication unit of the wireless terminal device 2 to the second communication unit of the relay device 1. And a 3rd communication part receives the ACK signal transmitted from the 2nd communication part of the relay apparatus 1, and receives a data signal. Then, an ACK signal is transmitted from the third communication unit to the second communication unit of the relay device 1 (step S21).

中継装置1は、第2通信部の無線チャンネルの通信情報が悪化したと判別すると、無線帯域スキャンを行なって第2通信部の無線チャンネルの設定変更を行なう。ここでは、第2通信部の無線チャンネルがch11からch13に変更されたものとする(ステップS22)。また、第1通信部から送信されるビーコン信号の更新が行なわれ、当該ビーコン信号に含まれる第2通信部の無線チャンネルの情報が書き替えられる(ステップS23)。第1通信部からは、更新されたビーコン信号がブロードキャスト送信される。   When the relay device 1 determines that the communication information of the radio channel of the second communication unit has deteriorated, the relay device 1 performs a radio band scan to change the setting of the radio channel of the second communication unit. Here, it is assumed that the radio channel of the second communication unit is changed from ch11 to ch13 (step S22). Also, the beacon signal transmitted from the first communication unit is updated, and the information on the radio channel of the second communication unit included in the beacon signal is rewritten (step S23). The updated beacon signal is broadcast from the first communication unit.

中継装置1の第2通信部の無線チャンネルが変更されてしまったため、無線端末装置2はch11でビーコン信号を受信できなくなる(ステップS24)。そのため、無線端末装置2は、第3通信部の無線チャンネルをch11からch26に変更設定し(ステップS25)、ch26での中継装置1から送信されるビーコン信号の受信を待機する。   Since the wireless channel of the second communication unit of the relay device 1 has been changed, the wireless terminal device 2 cannot receive the beacon signal at ch11 (step S24). Therefore, the wireless terminal device 2 changes and sets the wireless channel of the third communication unit from ch11 to ch26 (step S25), and waits for reception of a beacon signal transmitted from the relay device 1 at ch26.

無線端末装置2は、ch26で中継装置1からビーコン信号を受信すると、受信したビーコン信号に含まれる無線チャンネルの情報(ここでは、ch13を示す情報)を取得し(ステップS26)、取得した無線チャンネルの情報に応じて第3通信部の無線チャンネルを変更する。ここでは、第3通信部の無線チャンネルがch26からch13に変更される(ステップS27)。   When the wireless terminal device 2 receives the beacon signal from the relay device 1 in ch26, the wireless terminal device 2 acquires information on the wireless channel (in this case, information indicating ch13) included in the received beacon signal (step S26), and the acquired wireless channel The wireless channel of the third communication unit is changed according to the information. Here, the radio channel of the third communication unit is changed from ch26 to ch13 (step S27).

その後、無線端末装置2は、ch13において中継装置1から送信されるビーコン信号を受信すると、ビーコン受信処理を実行する(ステップS28)。   After that, when receiving the beacon signal transmitted from the relay device 1 at ch13, the wireless terminal device 2 executes a beacon reception process (step S28).

中継装置1が無線端末装置2と無線通信を行う第2通信部15とは別に、第2通信部15の無線チャンネルの情報を専用にブロードキャスト送信するための第1通信部14を備え、中継装置1の第2通信部15と無線端末装置2の第3通信部26とが無線通信を行っている際に当該無線通信を行っている無線チャンネルの通信状況が悪化して通信が途絶えた場合、無線端末装置2は、第3通信部26に設定されている無線チャンネルを中継装置1の第1通信部14に設定されている無線チャンネル(基準無線チャンネル)に切り替えて設定し、第1通信部14から送信されるビーコン信号から第2通信部15に新たに設定された無線チャンネルの情報を取得して、第3通信部26の無線チャンネルを取得した無線チャンネルに変更することができる。   In addition to the second communication unit 15 in which the relay device 1 performs wireless communication with the wireless terminal device 2, the relay device 1 includes a first communication unit 14 dedicated to broadcast transmission of information on the wireless channel of the second communication unit 15. When the communication status of the wireless channel performing the wireless communication deteriorates and the communication is interrupted when the first second communication unit 15 and the third communication unit 26 of the wireless terminal device 2 perform the wireless communication, The wireless terminal device 2 switches the wireless channel set in the third communication unit 26 to the wireless channel (reference wireless channel) set in the first communication unit 14 of the relay device 1 and sets the first communication unit. 14 acquires the information of the wireless channel newly set in the second communication unit 15 from the beacon signal transmitted from 14, and changes the wireless channel of the third communication unit 26 to the acquired wireless channel. Kill.

そのため、中継装置1は使用している無線チャンネルの通信状況が悪化した場合には、無線端末装置2との接続の有無に関わらず即座に無線チャンネルを変更でき、無線端末装置2は、中継装置1との無線通信が途絶えた場合には、全てのチャンネルをスキャンすることなく、中継装置1の新たな無線チャンネルの情報を取得できる。従って、無線端末装置2のチャンネル切り替えの迅速化を図ることができる。   Therefore, when the communication status of the wireless channel being used deteriorates, the relay device 1 can immediately change the wireless channel regardless of whether or not the wireless terminal device 2 is connected. When the wireless communication with 1 is interrupted, the information on the new wireless channel of the relay device 1 can be acquired without scanning all the channels. Accordingly, it is possible to speed up channel switching of the wireless terminal device 2.

また、中継装置1は、第2通信部15の通信状況の判別として、第2通信部15に設定されている無線チャンネルの電界強度が予め設定された閾値以上となった場合、通信状況が悪化したと判別できる。   Moreover, the relay apparatus 1 deteriorates the communication status when the electric field strength of the wireless channel set in the second communication unit 15 is equal to or higher than a preset threshold value as the determination of the communication status of the second communication unit 15. Can be determined.

中継装置1は、第2通信部15の無線チャンネルの通信状況が悪化した場合、第1通信部14に設定されている無線チャンネルを除く複数の無線チャンネルの電界強度のうち最も小さい電界強度に対応する無線チャンネルを、第2通信部15の新たな無線チャンネルとして選択することができ、最も通信状況(スループット)の良い無線チャンネルを選択することができる。   When the communication status of the radio channel of the second communication unit 15 deteriorates, the relay device 1 supports the smallest electric field strength among the electric field strengths of a plurality of radio channels excluding the radio channel set in the first communication unit 14 The wireless channel to be selected can be selected as a new wireless channel of the second communication unit 15, and the wireless channel with the best communication status (throughput) can be selected.

また、無線端末装置2は、第3通信部26によって中継装置1の第2通信部15から送信されるビーコン信号が受信できない場合(「BEACON LOST」が第3通信部26から通信された場合)、無線通信が途絶えたと判別することができる。   Further, the wireless terminal device 2 cannot receive the beacon signal transmitted from the second communication unit 15 of the relay device 1 by the third communication unit 26 (when “BEACON LOST” is communicated from the third communication unit 26). It can be determined that the wireless communication has been interrupted.

1 中継装置
2 無線端末装置
10 制御部
11 記憶部
12 端末情報用メモリ
13 ビーコン送信タイマ
14 第1通信部
14a アンテナ
15 第2通信部
15a アンテナ
16 有線I/F
17 バッファ
20 制御部
21 記憶部
22 アドレス用メモリ
23 起動用タイマ
24 電源制御部
25a 表示制御部
25b 表示部
26 第3通信部
26a 無線送信部
26b 無線受信部
26c SW
26d アンテナ
A 無線通信システム
B1 MHR領域
B2 MACペイロード領域
B3 MFR領域
B11 フレームコントロール
B12 アドレス領域
B21 SS
B22 GTSフィールド
B23 PAフィールド
B24 ビーコンペイロード
B24a DATE領域
B24b COM_NCH領域
B24c CH領域
N 通信ネットワーク
DESCRIPTION OF SYMBOLS 1 Relay apparatus 2 Radio | wireless terminal apparatus 10 Control part 11 Memory | storage part 12 Terminal information memory 13 Beacon transmission timer 14 1st communication part 14a Antenna 15 2nd communication part 15a Antenna 16 Wired I / F
17 Buffer 20 Control unit 21 Storage unit 22 Address memory 23 Startup timer 24 Power supply control unit 25a Display control unit 25b Display unit 26 Third communication unit 26a Wireless transmission unit 26b Wireless reception unit 26c SW
26d Antenna A Wireless communication system B1 MHR area B2 MAC payload area B3 MFR area B11 Frame control B12 Address area B21 SS
B22 GTS field B23 PA field B24 Beacon payload B24a DATE area B24b COM_NCH area B24c CH area N Communication network

Claims (5)

複数の無線端末装置と、前記複数の無線端末装置と無線通信を行う中継装置と、を備えた無線通信システムにおいて、
前記中継装置は、
複数の無線チャンネルのうち予め設定された無線チャンネルで前記複数の無線端末装置にブロードキャストを行なう第1通信部と、
前記第1通信部に設定されている無線チャンネルを除く複数の無線チャンネルのうちいずれか一つの無線チャンネルが設定されており、当該設定された無線チャンネルで前記複数の無線端末装置と無線通信を行う第2通信部と、
前記第2通信部に設定されている無線チャンネルの通信状況が悪化した場合、前記複数の無線チャンネルの通信状況を前記第2通信部により検出させ、当該検出された複数の通信状況に基づいて前記複数の無線チャンネルのうちいずれか一つの無線チャンネルを選択し、当該選択した無線チャンネルを前記第2通信部の無線チャンネルに設定し、前記第2通信部に設定した無線チャンネルの情報を前記第1通信部により送信させる第1制御部と、
を有し、
前記無線端末装置は、
前記複数の無線チャンネルのうちいずれか一つの無線チャンネルが設定されており、当該設定された無線チャンネルで前記中継装置と無線通信を行う第3通信部と、
前記第3通信部と前記中継装置の第2通信部との無線通信が途絶えた場合、前記第3通信部に設定されている無線チャンネルを前記第1通信部に予め設定された無線チャンネルに設定し、前記第2通信部に設定された無線チャンネルの情報を前記第3通信部により取得し、当該取得した無線チャンネルの情報に基づいて前記第3通信部に設定されている無線チャンネルを変更する第2制御部と、
を有すること、
を特徴とする無線通信システム。
In a wireless communication system comprising a plurality of wireless terminal devices and a relay device that performs wireless communication with the plurality of wireless terminal devices,
The relay device is
A first communication unit that broadcasts to the plurality of wireless terminal devices on a preset wireless channel among the plurality of wireless channels;
One of the plurality of wireless channels excluding the wireless channel set in the first communication unit is set, and wireless communication is performed with the plurality of wireless terminal devices using the set wireless channel. A second communication unit;
When the communication status of the radio channel set in the second communication unit is deteriorated, the communication status of the plurality of radio channels is detected by the second communication unit, and based on the detected plurality of communication statuses One of the plurality of radio channels is selected, the selected radio channel is set as the radio channel of the second communication unit, and information on the radio channel set in the second communication unit is set in the first channel. A first control unit to be transmitted by the communication unit;
Have
The wireless terminal device
Any one of the plurality of wireless channels is set, and a third communication unit that performs wireless communication with the relay device using the set wireless channel;
When wireless communication between the third communication unit and the second communication unit of the relay device is interrupted, a wireless channel set in the third communication unit is set to a wireless channel preset in the first communication unit Then, the wireless channel information set in the second communication unit is acquired by the third communication unit, and the wireless channel set in the third communication unit is changed based on the acquired wireless channel information. A second control unit;
Having
A wireless communication system.
前記第1制御部は、
前記第2通信部に設定されている無線チャンネルの電界強度が予め設定された閾値以上となった場合、前記第2通信部に設定されている無線チャンネルの通信状況が悪化したと判別すること、
を特徴とする請求項1に記載の無線通信システム。
The first controller is
When the electric field strength of the wireless channel set in the second communication unit is equal to or greater than a preset threshold, it is determined that the communication status of the wireless channel set in the second communication unit has deteriorated;
The wireless communication system according to claim 1.
前記第1制御部は、
前記第2通信部に設定されている無線チャンネルの通信状況が悪化した場合、前記第2通信部により前記第1通信部に設定されている無線チャンネルを除く複数の無線チャンネルの電界強度を前記通信状況として検出させ、当該検出された複数の電界強度のうち最も小さい電界強度に対応する無線チャンネルを選択すること、
を特徴とする請求項1又は2に記載の無線通信システム。
The first controller is
When the communication status of the radio channel set in the second communication unit deteriorates, the electric field strengths of a plurality of radio channels excluding the radio channel set in the first communication unit by the second communication unit are Detecting a situation and selecting a radio channel corresponding to the smallest electric field strength among the detected electric field strengths;
The wireless communication system according to claim 1, wherein
前記第2制御部は、
前記第3通信部により前記中継装置の前記第2通信部から送信されるビーコン信号が受信できない場合、前記無線通信が途絶えたと判別すること、
を特徴とする請求項1から3のいずれか一項に記載の無線通信システム。
The second controller is
When the third communication unit cannot receive a beacon signal transmitted from the second communication unit of the relay device, it is determined that the wireless communication has been interrupted;
The wireless communication system according to any one of claims 1 to 3, wherein:
複数の無線チャンネルのうち予め設定された無線チャンネルで複数の無線端末装置にブロードキャストを行なう第1通信部と、前記第1通信部に設定されている無線チャンネルを除く複数の無線チャンネルのうちいずれか一つの無線チャンネルが設定されており当該設定された無線チャンネルで前記複数の無線端末装置と無線通信を行う第2通信部と、を有する中継装置と、前記複数の無線チャンネルのうちいずれが一つの無線チャンネルが設定されており当該設定された無線チャンネルで前記中継装置と無線通信を行う第3通信部を有する無線端末装置と、の無線通信方法であって、
前記中継装置の前記第2通信部に設定されている無線チャンネルの通信状況が悪化した場合、前記複数の無線チャンネルの通信状況を前記第2通信部により検出させる工程と、
当該検出された複数の通信状況に基づいて前記複数の無線チャンネルのうちいずれか一つの無線チャンネルを選択する工程と、
前記選択した無線チャンネルを前記第2通信部の無線チャンネルに設定する工程と、
前記第2通信部に設定した無線チャンネルの情報を前記第1通信部により送信させる工程と、
前記無線端末装置の前記第3通信部と前記中継装置の第2通信部との無線通信が途絶えた場合、前記第3通信部の無線チャンネルを前記予め設定された無線チャンネルに設定する工程と、
前記第2通信部に設定された無線チャンネルの情報を前記第3通信部により取得する工程と、
前記取得した無線チャンネルの情報に基づいて前記第3通信部に設定されている無線チャンネルを変更する工程と、
を含むこと、
を特徴とする無線通信方法。
Any one of a first communication unit that broadcasts to a plurality of wireless terminal devices using a preset wireless channel among a plurality of wireless channels, and a plurality of wireless channels excluding the wireless channel set in the first communication unit A relay device having a second communication unit configured to wirelessly communicate with the plurality of wireless terminal devices through the set wireless channel, and one of the plurality of wireless channels is one A wireless communication method with a wireless terminal device having a third communication unit in which a wireless channel is set and wireless communication is performed with the relay device using the set wireless channel,
A step of causing the second communication unit to detect a communication state of the plurality of wireless channels when a communication state of the wireless channel set in the second communication unit of the relay device deteriorates;
Selecting any one of the plurality of wireless channels based on the detected plurality of communication conditions;
Setting the selected wireless channel as the wireless channel of the second communication unit;
Transmitting the information of the wireless channel set in the second communication unit by the first communication unit;
When wireless communication between the third communication unit of the wireless terminal device and the second communication unit of the relay device is interrupted, setting a wireless channel of the third communication unit to the preset wireless channel;
Acquiring the information of the wireless channel set in the second communication unit by the third communication unit;
Changing the wireless channel set in the third communication unit based on the acquired wireless channel information;
Including,
A wireless communication method characterized by the above.
JP2009091037A 2009-04-03 2009-04-03 Radio communication system, and radio communication method Pending JP2010245746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009091037A JP2010245746A (en) 2009-04-03 2009-04-03 Radio communication system, and radio communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009091037A JP2010245746A (en) 2009-04-03 2009-04-03 Radio communication system, and radio communication method

Publications (1)

Publication Number Publication Date
JP2010245746A true JP2010245746A (en) 2010-10-28

Family

ID=43098301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009091037A Pending JP2010245746A (en) 2009-04-03 2009-04-03 Radio communication system, and radio communication method

Country Status (1)

Country Link
JP (1) JP2010245746A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013176041A1 (en) * 2012-05-21 2013-11-28 シャープ株式会社 Radio communication device and radio communication system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003143651A (en) * 2001-10-31 2003-05-16 Toshiba Corp Broad band mobile access system, wireless base station and wireless terminal
JP2003289579A (en) * 2002-03-28 2003-10-10 Sony Corp Base station wireless communication apparatus
JP2004147015A (en) * 2002-10-23 2004-05-20 Canon Inc Radio communication equipment
JP2005136984A (en) * 2003-10-28 2005-05-26 Samsung Electronics Co Ltd Broadcast method in wireless network, and communication system using the same
JP2006352660A (en) * 2005-06-17 2006-12-28 Nec Infrontia Corp Wireless lan system, communication status detection method and communication status detection program thereof
JP2007135173A (en) * 2005-11-11 2007-05-31 Shijin Kogyo Sakushinkai Wireless system reconnectable during electromagnetic interference, reconnect method and computer readable medium thereof
JP2009027569A (en) * 2007-07-23 2009-02-05 Hitachi Ltd Radiofrequency selection method, wireless communication equipment and wireless communications system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003143651A (en) * 2001-10-31 2003-05-16 Toshiba Corp Broad band mobile access system, wireless base station and wireless terminal
JP2003289579A (en) * 2002-03-28 2003-10-10 Sony Corp Base station wireless communication apparatus
JP2004147015A (en) * 2002-10-23 2004-05-20 Canon Inc Radio communication equipment
JP2005136984A (en) * 2003-10-28 2005-05-26 Samsung Electronics Co Ltd Broadcast method in wireless network, and communication system using the same
JP2006352660A (en) * 2005-06-17 2006-12-28 Nec Infrontia Corp Wireless lan system, communication status detection method and communication status detection program thereof
JP2007135173A (en) * 2005-11-11 2007-05-31 Shijin Kogyo Sakushinkai Wireless system reconnectable during electromagnetic interference, reconnect method and computer readable medium thereof
JP2009027569A (en) * 2007-07-23 2009-02-05 Hitachi Ltd Radiofrequency selection method, wireless communication equipment and wireless communications system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013176041A1 (en) * 2012-05-21 2013-11-28 シャープ株式会社 Radio communication device and radio communication system
JP2013243549A (en) * 2012-05-21 2013-12-05 Sharp Corp Radio communication apparatus and radio communication system

Similar Documents

Publication Publication Date Title
JP4835723B2 (en) Wireless communication apparatus and program
US10028308B2 (en) Mobile communication system, user terminal, processor, and base station
KR20180012269A (en) Low energy wireless network applications
CN108781373B (en) Processing method for radio link failure detection and user equipment
US8363561B2 (en) Control device, terminal device, and communication system
KR20160131999A (en) Methods and apparatus for synchronization in device-to-device communication networks
US10715993B2 (en) Electronic apparatus, information processing device and information processing method
JP2012248939A (en) Radio communication device, radio communication system, radio communication control method and program
WO2012157080A1 (en) Wireless mobile communication system, wireless base station device, mobile terminal device, and wireless communication method in wireless mobile communication system
WO2022027407A1 (en) Methods, apparatus and systems for scheduling and transmission of system information in wireless communication
EP2790334B1 (en) Wireless communication system
CN109842914B (en) Method and device for switching covering beam
JP2021534647A (en) Methods, devices, and systems for discovering wireless communication nodes
JP2011004070A (en) Wireless communication apparatus, wireless communication method, and program
JP2010245746A (en) Radio communication system, and radio communication method
WO2017086046A1 (en) Communication terminal
EP2790335B1 (en) Wireless communication system
CA3012140A1 (en) Systems and methods of a portable device roaming between a plurality of access point devices with which the portable device is enrolled
JP5168192B2 (en) Wireless communication system and wireless communication method
JP6691731B6 (en) Wireless device and program executed therein
JP2011160486A (en) Radio terminal device and program
JP2008172584A (en) Mobile communication system, and radio base station selecting method in the same
JP2007150532A (en) Synchronous timing selecting circuit
JPWO2014136270A1 (en) Communication apparatus and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120314

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130412

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130716