JP2017212590A - Wireless device - Google Patents

Wireless device Download PDF

Info

Publication number
JP2017212590A
JP2017212590A JP2016104367A JP2016104367A JP2017212590A JP 2017212590 A JP2017212590 A JP 2017212590A JP 2016104367 A JP2016104367 A JP 2016104367A JP 2016104367 A JP2016104367 A JP 2016104367A JP 2017212590 A JP2017212590 A JP 2017212590A
Authority
JP
Japan
Prior art keywords
communication
channel
packet
wireless device
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016104367A
Other languages
Japanese (ja)
Other versions
JP6637381B2 (en
Inventor
優大 今
Yudai Kon
優大 今
功 吉野
Isao Yoshino
功 吉野
宏司 中川
Koji Nakagawa
宏司 中川
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.)
Oi Electric Co Ltd
Original Assignee
Oi Electric 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 Oi Electric Co Ltd filed Critical Oi Electric Co Ltd
Priority to JP2016104367A priority Critical patent/JP6637381B2/en
Publication of JP2017212590A publication Critical patent/JP2017212590A/en
Application granted granted Critical
Publication of JP6637381B2 publication Critical patent/JP6637381B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To change communication conditions, such as frequency channel or communication rate, quickly and appropriately.SOLUTION: A first wireless device 10 and a second wireless device 12 perform redundant communication using A channel and B channel. When communication state of one of these channels is not good, the first wireless device 10 and second wireless device 12 perform control communication by stopping data communication by the other channel of good communication state, and changes one channel of not good communication state to other channel in the same frequency band. Each wireless device performing control communication selects the channel to change based on the priority of each channel determined by priority determination processing. The priority determination processing is processing for obtaining the priority of each channel, based on the communication qualities of each channel in the communication direction from the first wireless device 10 toward second wireless device 12, and in the reverse communication direction.SELECTED DRAWING: Figure 3

Description

本発明は、無線装置に関し、通信条件を決定する処理に関する。   The present invention relates to a wireless device and relates to processing for determining communication conditions.

データ通信や音声通信において特定小電力無線機が広く用いられている。特定小電力無線機は、送信電力、使用周波数帯、送信時間等についての規定に従うことで免許を申請することなく使用でき、産業界の広い分野で普及している。   Specific low-power radios are widely used in data communication and voice communication. The specific low-power radio can be used without applying for a license by following the rules for transmission power, frequency band used, transmission time, etc., and is widely used in a wide range of industries.

特定小電力無線機を用いた通信システムとしては、例えば、コンピュータと公衆通信網との間の通信を特定小電力無線機によって行うものがある。特許文献1および2には特定小電力無線機を用いた警報器が記載されている。これらの特許文献には火災発生等の緊急時に、緊急用の信号を複数の周波数帯域で送受信し、通信の信頼性を向上させることが記載されている。   As a communication system using a specific low-power radio, for example, there is one that performs communication between a computer and a public communication network using a specific low-power radio. Patent Documents 1 and 2 describe an alarm device using a specific low-power radio. These patent documents describe that in an emergency such as the occurrence of a fire, an emergency signal is transmitted and received in a plurality of frequency bands to improve communication reliability.

また、特許文献3にはコグニティブ無線システムが記載されている。この文献に記載されているシステムでは、制御チャネルとして利用する周波数帯が低周波数帯の中から決定され、制御チャネルを利用することで周波数情報やアプリケーションの要求品質等の情報が送受信ノード間で交換される。その上で、データチャネルとして利用される周波数帯が決定され、通信が開始される。特許文献3に記載されているシステムでは、制御チャネルまたはデータチャネルとして利用する複数の周波数帯のそれぞれについて、送受信ノードの一方から他方の送受信ノードに接続要求が送信される。そして、他方の送受信ノードから一方の送受信ノードに確認応答が送信された場合に、その周波数帯が制御チャネルまたはデータチャネルとして用いられる。   Patent Document 3 describes a cognitive radio system. In the system described in this document, the frequency band to be used as the control channel is determined from the low frequency band, and information such as frequency information and required quality of application is exchanged between the transmitting and receiving nodes by using the control channel. Is done. Then, a frequency band used as a data channel is determined, and communication is started. In the system described in Patent Document 3, a connection request is transmitted from one transmission / reception node to the other transmission / reception node for each of a plurality of frequency bands used as a control channel or a data channel. When an acknowledgment is transmitted from the other transmission / reception node to one transmission / reception node, the frequency band is used as a control channel or a data channel.

特開2015−14986号公報JP2015-14986A 特開2015−1914号公報Japanese Patent Laying-Open No. 2015-1914 特開2010−136291号公報JP 2010-136291 A

特定小電力無線機が使用する周波数帯では、複数の周波数チャネルが定められている。特定小電力無線機には、送信対象のデータを送受信するためのデータ通信用チャネルとは別に、制御用チャネルが定められ、制御用チャネル用いてデータ通信用のチャネルの変更が行われるものがある。また、制御用チャネルを用いてデータ通信用チャネルの通信レートを変更するものもある。しかし、変更先の周波数チャネルや通信レートでの通信状況が良好でない場合がある。また、引用文献3に記載されているようなシステムでは、送受信ノード間で通信が可能か否かを確認するための双方向の通信が複数の周波数帯について行われた上で、制御チャネルまたはデータチャネルとして利用される周波数帯が決定される。そのため、制御チャネルまたはデータチャネルとして利用される周波数帯を決定する処理に長時間が要されることがある。   A plurality of frequency channels are defined in the frequency band used by the specific low-power radio. Some specific low-power radios have a control channel defined separately from a data communication channel for transmitting and receiving data to be transmitted, and the data communication channel is changed using the control channel. . Some control channels use a control channel to change the communication rate of the data communication channel. However, there are cases where the communication status at the frequency channel or communication rate of the change destination is not good. Further, in a system such as that described in Cited Document 3, bidirectional communication for confirming whether or not communication is possible between transmission and reception nodes is performed for a plurality of frequency bands, and then a control channel or data A frequency band used as a channel is determined. Therefore, it may take a long time to determine a frequency band used as a control channel or a data channel.

本発明は、周波数チャネルや通信レート等の通信条件を迅速かつ適切に変更することを目的とする。   An object of the present invention is to quickly and appropriately change communication conditions such as a frequency channel and a communication rate.

本発明は、パケットを送受信する無線部と、前記無線部にデータ通信用パケットを送受信させてデータ通信を行う通信処理部と、前記通信処理部における複数種の通信条件について通信品質を測定する通信品質測定部と、を備え、前記通信品質測定部は、複数の異なる通信条件のそれぞれについて前記無線部で受信された各テストパケットを取得するテスト処理と、異なる通信条件について取得された複数の前記テストパケットのそれぞれの受信状況に基づいて前記通信品質を測定する測定処理と、を実行し、前記通信処理部は、前記通信品質に基づいてデータ通信条件を決定することを特徴とする。   The present invention relates to a wireless unit that transmits and receives packets, a communication processing unit that performs data communication by causing the wireless unit to transmit and receive data communication packets, and communication that measures communication quality for a plurality of types of communication conditions in the communication processing unit. A quality measurement unit, wherein the communication quality measurement unit is configured to perform a test process for acquiring each test packet received by the wireless unit for each of a plurality of different communication conditions, and a plurality of the plurality of the communication conditions acquired for the different communication conditions. And a measurement process for measuring the communication quality based on each reception state of the test packet, wherein the communication processing unit determines a data communication condition based on the communication quality.

望ましくは、前記通信処理部は、複数の周波数帯で前記無線部にデータ通信用パケットを送受信させて、当該複数の周波数帯で同一のデータ通信を行う冗長通信と、前記複数の周波数帯のうち、1つの周波数帯を用いたデータ通信の状況が所定条件を満たさなくなった場合に、他の周波数帯を用いたデータ通信を停止し、当該他の周波数帯で前記無線部に制御用パケットを送受信させて制御通信を行い、当該1つの周波数帯についての前記データ通信条件を変更する変更処理と、前記変更処理を実行した後に、前記冗長通信を再開する再開処理と、を実行し、前記変更処理は、前記通信品質に基づいて、前記データ通信条件を変更する処理を含む。   Preferably, the communication processing unit causes the radio unit to transmit and receive data communication packets in a plurality of frequency bands, and performs the same data communication in the plurality of frequency bands, and among the plurality of frequency bands When the status of data communication using one frequency band does not satisfy a predetermined condition, data communication using another frequency band is stopped, and control packets are transmitted to and received from the radio unit in the other frequency band Performing the control communication, changing the data communication condition for the one frequency band, executing the changing process, and restarting the redundant communication after executing the changing process, the changing process Includes a process of changing the data communication condition based on the communication quality.

また、本発明は、パケットを無線送信する送信部と、パケットの送信先であるパケット通信装置に通信条件を設定させる設定パケットを生成し、その設定パケットを前記送信部に送信させる設定処理、および、前記パケット通信装置に受信状況を測定させるためのテストパケットを生成し、前記設定パケットが定める通信条件でそのテストパケットを前記送信部に送信させるテスト送信処理、を実行するテスト実行部と、を備え、前記テスト実行部は、複数の異なる通信条件のそれぞれについて前記設定処理および前記テスト送信処理を実行することを特徴とする。   The present invention also includes a transmission unit that wirelessly transmits a packet, a setting packet that causes a packet communication device that is a packet transmission destination to set communication conditions, and a setting process that causes the transmission unit to transmit the setting packet; A test execution unit for generating a test packet for causing the packet communication device to measure a reception state, and performing a test transmission process for causing the transmission unit to transmit the test packet under communication conditions determined by the setting packet; And the test execution unit executes the setting process and the test transmission process for each of a plurality of different communication conditions.

前記パケット通信装置は、前記設定パケットを受信したときに前記設定パケットによって定められる通信条件でパケットを受信する状態となり、異なる通信条件で受信した複数の前記テストパケットのそれぞれの受信状況に基づいてデータ通信条件を決定し、望ましくは、本発明に係る無線装置は、パケットを無線受信する受信部と、前記パケット通信装置と共に決定した前記データ通信条件に従って前記送信部および前記受信部にデータ通信用パケットを送受信させて、前記パケット通信装置との間でデータ通信を行う通信処理部と、を備える。   The packet communication device is in a state of receiving a packet under communication conditions determined by the setting packet when the setting packet is received, and data based on a reception status of each of the plurality of test packets received under different communication conditions. Preferably, the wireless device according to the present invention determines a communication condition, and includes a reception unit that wirelessly receives a packet, and a data communication packet to the transmission unit and the reception unit according to the data communication condition determined together with the packet communication device. And a communication processing unit that performs data communication with the packet communication device.

望ましくは、前記テスト実行部は、前記通信処理部がデータ通信を行っていない間に、前記設定処理および前記テスト送信処理を実行することを特徴とする。   Preferably, the test execution unit executes the setting process and the test transmission process while the communication processing unit is not performing data communication.

望ましくは、前記データ通信条件は、周波数チャネルまたは通信レートに関する条件を含む。   Preferably, the data communication condition includes a condition regarding a frequency channel or a communication rate.

本発明によれば、通信条件を迅速かつ適切に変更することができる。   According to the present invention, communication conditions can be changed quickly and appropriately.

本発明の実施形態に係る通信システムを示す図である。It is a figure which shows the communication system which concerns on embodiment of this invention. データ通信の例を示す図である。It is a figure which shows the example of data communication. 優先度決定処理の例を示す図である。It is a figure which shows the example of a priority determination process. データ通信および制御通信と共に優先度決定処理を実行する場合のタイミングを示す図である。It is a figure which shows the timing in the case of performing a priority determination process with data communication and control communication. 通信条件変更処理の例を示す図である。It is a figure which shows the example of a communication condition change process. 無線装置のハードウエアを示す図である。It is a figure which shows the hardware of a radio | wireless apparatus.

(1)通信システムの構成
図1には、本発明の実施形態に係る通信システムが示されている。通信システムは、パケット通信を行う第1無線装置10および第2無線装置12を備える。各無線装置は、例えば、特定小電力無線機の規格に従って、使用周波数帯、送受信電力等が設計される。パケット通信にはデータ通信と制御通信がある。データ通信では、音声データ、画像データ、テキストデータ等の通信対象データを含むデータパケットが、一方の無線装置から他方の無線装置に送信される。制御通信では、データ通信を行う際の周波数チャネルまたは通信レートを設定するための制御パケットが第1無線装置10および第2無線装置12の間で送受信される。
(1) Configuration of Communication System FIG. 1 shows a communication system according to an embodiment of the present invention. The communication system includes a first wireless device 10 and a second wireless device 12 that perform packet communication. Each radio apparatus is designed with a use frequency band, transmission / reception power, and the like in accordance with, for example, a specific low power radio standard. Packet communication includes data communication and control communication. In data communication, a data packet including communication target data such as voice data, image data, and text data is transmitted from one wireless device to the other wireless device. In the control communication, a control packet for setting a frequency channel or a communication rate when performing data communication is transmitted and received between the first wireless device 10 and the second wireless device 12.

第1無線装置10および第2無線装置12の間のデータ通信は、A周波数帯に含まれるAチャネルと、B周波数帯に含まれるBチャネルの両者を用いた冗長通信によって行われる。すなわち、一方の無線装置は、同一の通信対象データを含むデータパケットをAチャネルの無線信号およびBチャネルの無線信号で送信する。他方の無線装置は、AチャネルおよびBチャネルのうち、先にデータパケットが受信された方のデータパケットから通信対象データを取得し、後に受信されるデータパケットを用いない。   Data communication between the first radio apparatus 10 and the second radio apparatus 12 is performed by redundant communication using both the A channel included in the A frequency band and the B channel included in the B frequency band. That is, one wireless device transmits a data packet including the same communication target data using an A channel radio signal and a B channel radio signal. The other wireless device acquires communication target data from the data packet in which the data packet is first received out of the A channel and the B channel, and does not use the data packet received later.

各無線装置が特定小電力無線機の規格に従って設計されている場合、例えば、A周波数帯およびB周波数帯は、400MHz帯、920MHz帯、1.2GHz帯、2.4GHz帯等の特定小電力無線機に対して定められている複数の周波数帯から選ばれる。また、後述のように、各無線装置が3つ以上の複数の周波数帯を用いる場合には、これら複数の周波数帯は、特定小電力無線機に対して定められている複数の周波数帯から選ばれる。   When each wireless device is designed in accordance with a specific low-power radio standard, for example, the A frequency band and the B frequency band include a specific low-power radio such as a 400 MHz band, a 920 MHz band, a 1.2 GHz band, and a 2.4 GHz band. It is selected from a plurality of frequency bands defined for the machine. As will be described later, when each wireless device uses three or more frequency bands, the plurality of frequency bands are selected from a plurality of frequency bands defined for the specific low-power radio. It is.

(2)冗長通信
図2には、データ通信の例がシーケンスチャートによって示されている。この図では、Aチャネルでのパケットの送信が実線で示され、Bチャネルでのパケットの送信が破線で示されている。
(2) Redundant communication FIG. 2 shows an example of data communication by a sequence chart. In this figure, transmission of packets on the A channel is indicated by a solid line, and transmission of packets on the B channel is indicated by a broken line.

第1無線装置10は、Aチャネルでデータパケットを送信すると共に(S101)、Bチャネルでデータパケットを送信する(S102)。第2無線装置12では、Aチャネルでデータパケットが先に受信されるため、第2無線装置12はそのデータパケットから通信対象データを取得する(S103)。Aチャネルでデータパケットが受信されてから時間taが経過した時に、第2無線装置12はBチャネルでデータパケットを受信する。第2無線装置12は、そのデータパケットに含まれている通信対象データが、先に受信したデータパケットに含まれていた通信対象データと同一であることを認識すると、Bチャネルで受信されたデータパケットを破棄する(S104)。ここで、データパケットの破棄は、データパケットを消去することの他、データパケットに関する処理を実行しないことを含む。第2無線装置12は、Aチャネルでデータパケットを受信したことに応答して、Aチャネルでアクノリッジパケットを送信する(S105)。また、第2無線装置12は、Bチャネルでデータパケットを受信したことに応答して、Bチャネルでアクノリッジパケットを送信する(S106)。第1無線装置10は各アクノリッジパケットを受信し、AチャネルおよびBチャネルのそれぞれで送信されたデータパケットが第2無線装置12で受信されたことを認識する。   The first radio apparatus 10 transmits a data packet on the A channel (S101) and transmits a data packet on the B channel (S102). In the second radio apparatus 12, since the data packet is received first on the A channel, the second radio apparatus 12 acquires the communication target data from the data packet (S103). When the time ta elapses after the data packet is received on the A channel, the second radio apparatus 12 receives the data packet on the B channel. When the second wireless device 12 recognizes that the communication target data included in the data packet is the same as the communication target data included in the previously received data packet, the data received on the B channel The packet is discarded (S104). Here, discarding the data packet includes not only erasing the data packet but also executing no processing relating to the data packet. In response to receiving the data packet on the A channel, the second radio apparatus 12 transmits an acknowledge packet on the A channel (S105). Further, in response to receiving the data packet on the B channel, the second radio apparatus 12 transmits an acknowledge packet on the B channel (S106). The first radio apparatus 10 receives each acknowledge packet, and recognizes that the data packet transmitted through each of the A channel and the B channel is received by the second radio apparatus 12.

また、ステップS107およびS108に示されているように、第1無線装置10がAチャネルでデータパケットを送信すると共に(S107)、Bチャネルでデータパケットを送信した場合において(S108)、Aチャネルで送信したデータパケットが、通信状況の不良により第2無線装置12で受信されなかったものとする。この場合、第2無線装置12は、Bチャネルで受信されたデータパケットから通信対象データを取得する(S109)。第2無線装置12は、Bチャネルでデータパケットを受信したことに応答して、Bチャネルでアクノリッジパケットを送信する(S110)。第1無線装置10はアクノリッジパケットを受信し、Bチャネルで送信されたデータパケットが第2無線装置12で受信されたことを認識する。   Further, as shown in steps S107 and S108, when the first radio apparatus 10 transmits a data packet on the A channel (S107) and transmits a data packet on the B channel (S108), It is assumed that the transmitted data packet has not been received by the second radio apparatus 12 due to poor communication status. In this case, the second radio apparatus 12 acquires communication target data from the data packet received through the B channel (S109). In response to receiving the data packet on the B channel, the second radio apparatus 12 transmits an acknowledge packet on the B channel (S110). The first radio apparatus 10 receives the acknowledge packet and recognizes that the data packet transmitted on the B channel has been received by the second radio apparatus 12.

ステップS111およびS112において、第1無線装置10は、Bチャネルでデータパケットを送信すると共に(S111)、Aチャネルでデータパケットを送信する(S112)。第2無線装置12では、Bチャネルでデータパケットが先に受信されるため、第2無線装置12はそのデータパケットから通信対象データを取得する(S113)。Bチャネルでデータパケットが受信されてから時間tbが経過した時に、第2無線装置12は、Aチャネルでデータパケットを受信する。第2無線装置12は、そのデータパケットに含まれている通信対象データが、先に受信したデータパケットに含まれていた通信対象データと同一であることを認識すると、Aチャネルで受信されたデータパケットを破棄する(S114)。第2無線装置12は、Bチャネルでデータパケットを受信したことに応答して、Bチャネルでアクノリッジパケットを送信する(S115)。また、第2無線装置12は、Aチャネルでデータパケットを受信したことに応答して、Aチャネルでアクノリッジパケットを送信する(S116)。第1無線装置10は各アクノリッジパケットを受信し、BチャネルおよびAチャネルのそれぞれで送信されたデータパケットが第2無線装置12で受信されたことを認識する。   In steps S111 and S112, the first radio apparatus 10 transmits a data packet on the B channel (S111) and transmits a data packet on the A channel (S112). Since the second wireless device 12 receives the data packet first on the B channel, the second wireless device 12 acquires the communication target data from the data packet (S113). When the time tb elapses after the data packet is received on the B channel, the second radio apparatus 12 receives the data packet on the A channel. When the second wireless device 12 recognizes that the communication target data included in the data packet is the same as the communication target data included in the previously received data packet, the data received on the A channel The packet is discarded (S114). In response to receiving the data packet on the B channel, the second radio apparatus 12 transmits an acknowledge packet on the B channel (S115). The second radio apparatus 12 transmits an acknowledge packet on the A channel in response to receiving the data packet on the A channel (S116). The first radio apparatus 10 receives each acknowledge packet, and recognizes that the data packet transmitted through each of the B channel and the A channel is received by the second radio apparatus 12.

ここでは、第1無線装置10から第2無線装置12にデータパケットを送信する処理について説明したが、第2無線装置12から第1無線装置10にデータパケットを送信する処理も同様にして行われる。また、音声データ、画像データ、テキストデータ等は、複数のデータパケットに分けて送信される。そのため、送信側の無線装置から受信側の送信装置には、複数のデータパケットが所定時間間隔で順次送信される。   Here, the process of transmitting the data packet from the first radio apparatus 10 to the second radio apparatus 12 has been described, but the process of transmitting the data packet from the second radio apparatus 12 to the first radio apparatus 10 is performed in the same manner. . Audio data, image data, text data, and the like are transmitted in a plurality of data packets. Therefore, a plurality of data packets are sequentially transmitted from the transmitting wireless device to the receiving transmitting device at predetermined time intervals.

このような冗長通信によれば、同一の通信対象データを含むデータパケットが、AチャネルおよびBチャネルの両方で一方の無線装置から送信される。他方の無線装置は、先に受信されたデータパケットから通信対象データを取得する。これによって、一方のチャネルの通信状況が良好でない場合には、他方のチャネルによって一方の無線装置から他方の無線装置に通信対象データが送信されるため、データ通信の信頼性が向上する。   According to such redundant communication, a data packet including the same communication target data is transmitted from one wireless device in both the A channel and the B channel. The other wireless device acquires communication target data from the previously received data packet. As a result, when the communication status of one channel is not good, the communication target data is transmitted from one wireless device to the other wireless device through the other channel, thereby improving the reliability of data communication.

(3)通信条件変更処理の概要
第1無線装置10および第2無線装置12は、AチャネルおよびBチャネルのうち一方のチャネルの通信状況が良好でない場合、通信条件変更処理を実行する。すなわち、通信状況が良好である他方のチャネルによるデータ通信を停止して代わりに制御通信を行い、その制御通信によって、通信状況が良好でない一方のチャネルを同一周波数帯内の別のチャネルに変更する。
(3) Overview of Communication Condition Change Process The first radio apparatus 10 and the second radio apparatus 12 execute a communication condition change process when the communication status of one of the A channel and the B channel is not good. That is, the data communication by the other channel with the good communication status is stopped and the control communication is performed instead, and one channel with the poor communication status is changed to another channel within the same frequency band by the control communication. .

例えば、Aチャネルa1による通信の状況が良好でない場合、Bチャネルb1によるデータ通信を停止してBチャネルb1による制御通信を行い、Aチャネルa1をA周波数帯内の別のAチャネルa2に変更する。Aチャネルa2での通信状況が良好でない場合、Aチャネルa2をA周波数帯内の別のAチャネルa3に変更する。このようにして通信状況が良好になるまでA周波数帯内のAチャネルを変更する。   For example, if the communication status by the A channel a1 is not good, the data communication by the B channel b1 is stopped, the control communication by the B channel b1 is performed, and the A channel a1 is changed to another A channel a2 in the A frequency band. . If the communication status on the A channel a2 is not good, the A channel a2 is changed to another A channel a3 in the A frequency band. In this way, the A channel in the A frequency band is changed until the communication status becomes good.

変更先のチャネルの選択は、後述の優先度決定処理によって求められた優先度に基づいて行われる。すなわち、第1無線装置10および第2無線装置12は制御通信を実行し、A周波数帯内の複数のチャネルのうち現時点で用いているチャネルを除いて優先度が最も大きいものを選択し、その選択したチャネルにAチャネルを変更する。そのチャネルでの通信状況が良好でない場合には、次に優先度が大きいチャネルを選択し、その選択したチャネルにAチャネルを変更する。Aチャネルを変更した後、通信状況が良好になった場合に、第1無線装置10および第2無線装置12は、Bチャネルb1によるデータ通信を再開し、冗長通信を再開する。なお、A周波数帯内のチャネルに優先度が同一のものがある場合には、例えば、チャネルの番号が小さいものが優先的に選択される。あるいは、優先度が同一の複数のチャネルから無作為に1つが選択されてもよい。   The channel to be changed is selected based on the priority obtained by the priority determination process described later. That is, the first radio apparatus 10 and the second radio apparatus 12 execute control communication, select a channel having the highest priority from the plurality of channels in the A frequency band except for the channel currently used, Change the A channel to the selected channel. If the communication status on the channel is not good, the channel having the next highest priority is selected, and the A channel is changed to the selected channel. When the communication status becomes good after changing the A channel, the first radio apparatus 10 and the second radio apparatus 12 resume data communication using the B channel b1 and resume redundant communication. If there are channels with the same priority among the channels in the A frequency band, for example, a channel with a smaller channel number is preferentially selected. Alternatively, one may be selected at random from a plurality of channels having the same priority.

同様に、Bチャネルb1による通信の状況が良好でない場合、第1無線装置10および第2無線装置12は、Aチャネルa1によるデータ通信を停止してAチャネルa1による制御通信を行い、Bチャネルb1をB周波数帯内の別のBチャネルb2に変更する。Bチャネルb2での通信状況が良好でない場合、Bチャネルb2をB周波数帯内の別のBチャネルb3に変更する。このようにして通信状況が良好になるまでBチャネル周波数帯内のBチャネルを変更する。   Similarly, when the communication status using the B channel b1 is not good, the first radio device 10 and the second radio device 12 stop the data communication using the A channel a1, perform control communication using the A channel a1, and perform the control communication using the B channel b1. To another B channel b2 in the B frequency band. If the communication status in the B channel b2 is not good, the B channel b2 is changed to another B channel b3 in the B frequency band. In this way, the B channel in the B channel frequency band is changed until the communication status becomes good.

Aチャネルを変更する場合と同様、変更先のチャネルの選択は、後述の優先度決定処理によって求められた優先度に基づいて行われる。すなわち、第1無線装置10および第2無線装置12は制御通信を実行し、B周波数帯内の複数のチャネルのうち現時点で用いている周波数を除いて優先度が最も大きいものを選択し、その選択したチャネルにBチャネルを変更する。そのチャネルでの通信状況が良好でない場合には、次に優先度が大きいチャネルを選択し、その選択されたチャネルにBチャネルを変更する。Bチャネルを変更した後、通信状況が良好になった場合に、第1無線装置10および第2無線装置12は、Aチャネルa1によるデータ通信を再開し、冗長通信を再開する。B周波数帯内のチャネルに優先度が同一のものがある場合には、例えば、チャネルの番号が小さいものが優先的に選択される。あるいは、優先度が同一の複数のチャネルから無作為に1つが選択されてもよい。   As in the case of changing the A channel, the channel to be changed is selected based on the priority obtained by the priority determination process described later. That is, the first wireless device 10 and the second wireless device 12 execute control communication, select a channel having the highest priority from the plurality of channels in the B frequency band, excluding the currently used frequency, Change the B channel to the selected channel. If the communication status on the channel is not good, the channel having the next highest priority is selected, and the B channel is changed to the selected channel. When the communication status becomes good after changing the B channel, the first radio apparatus 10 and the second radio apparatus 12 resume data communication using the A channel a1 and resume redundant communication. In the case where channels in the B frequency band have the same priority, for example, a channel with a smaller channel number is preferentially selected. Alternatively, one may be selected at random from a plurality of channels having the same priority.

データ通信における通信状況が良好であるか否かの判定は、アクノリッジパケットが受信された頻度や、受信信号の大きさ等に基づいて行われる。例えば、通信状況の測定値としての判定パラメータに対し、通信失敗の度に規定値を加算し、通信成功の度に規定値を減算する。具体的な例として、データパケットを送信する側の無線装置は、データパケットの送信に対し、アクノリッジパケットが受信されなかった場合には判定パラメータに規定値を加算する。そして、データパケットに対するアクノリッジパケットが受信された場合には、通信状況の判定パラメータから規定値を減算する。判定パラメータは、データパケットを所定回数だけ送信するごとに初期値にリセットしてもよい。このようにして求められた判定パラメータが所定の閾値以上となった場合に、通信状況が良好でないとの判定をする。   Whether or not the communication status in data communication is good is determined based on the frequency at which the acknowledge packet is received, the magnitude of the received signal, and the like. For example, with respect to the determination parameter as a measured value of the communication status, a specified value is added every time communication fails, and the specified value is subtracted every time communication succeeds. As a specific example, the wireless device on the data packet transmission side adds a specified value to the determination parameter when no acknowledge packet is received for the transmission of the data packet. When the acknowledge packet for the data packet is received, the specified value is subtracted from the communication status determination parameter. The determination parameter may be reset to an initial value every time a data packet is transmitted a predetermined number of times. When the determination parameter obtained in this way becomes a predetermined threshold value or more, it is determined that the communication status is not good.

(4)優先度決定処理
(4−1)基本的な処理
優先度決定処理について図3を参照して説明する。この図では、第1無線装置10および第2無線装置12のそれぞれに対し、下方向に伸びる時間軸が示されている。各時間軸上には、チャネルを表す符号が長方形の枠内に示されている。第1無線装置10は、Aチャネル無線部14(Ach無線部14)、Bチャネル無線部16(Bch無線部16)、および測定用受信部18を備える。同様に、第2無線装置12は、Aチャネル無線部20、Bチャネル無線部22、および測定用受信部24を備える。第1無線装置10および第2無線装置12のそれぞれが備えるAチャネル無線部は、A周波数帯でパケットの送受信を行う。第1無線装置10および第2無線装置12のそれぞれが備えるBチャネル無線部は、B周波数帯でパケットの送受信を行う。第1無線装置10および第2無線装置12のそれぞれが備える測定用受信部は、A周波数帯およびB周波数帯の両方の周波数帯でパケットを受信する。A周波数帯のチャネルには、Aチャネルα1〜αNが定められており、B周波数帯のチャネルには、Bチャネルβ1〜βMが定められている。ただし、NおよびMは、2以上の整数である。
(4) Priority Determination Processing (4-1) Basic Processing The priority determination processing will be described with reference to FIG. In this figure, a time axis extending downward is shown for each of the first radio apparatus 10 and the second radio apparatus 12. On each time axis, a symbol representing a channel is shown in a rectangular frame. The first radio apparatus 10 includes an A channel radio unit 14 (Ach radio unit 14), a B channel radio unit 16 (Bch radio unit 16), and a measurement receiving unit 18. Similarly, the second radio apparatus 12 includes an A channel radio unit 20, a B channel radio unit 22, and a measurement receiving unit 24. The A channel radio unit included in each of the first radio apparatus 10 and the second radio apparatus 12 transmits and receives packets in the A frequency band. The B channel radio unit included in each of the first radio apparatus 10 and the second radio apparatus 12 transmits and receives packets in the B frequency band. The measurement receivers included in each of the first radio apparatus 10 and the second radio apparatus 12 receive packets in both the A frequency band and the B frequency band. A channels α1 to αN are defined for channels in the A frequency band, and B channels β1 to βM are defined for channels in the B frequency band. However, N and M are integers of 2 or more.

第1無線装置10および第2無線装置12のそれぞれにおけるAチャネル無線部およびBチャネル無線部は、データ通信および制御通信のいずれも行っていない時間帯に優先度決定処理を実行する。   The A channel radio unit and the B channel radio unit in each of the first radio apparatus 10 and the second radio apparatus 12 execute the priority determination process in a time zone during which neither data communication nor control communication is performed.

優先度決定処理では、第2無線装置12の測定用受信部24は、第1無線装置10のAチャネル無線部14またはBチャネル無線部16から送信されたテストパケットを受信し、第2無線装置12は、テストパケットの受信状況に基づいて通信品質を測定する。また、第1無線装置10の測定用受信部18は、第2無線装置12のAチャネル無線部20またはBチャネル無線部22から送信されたテストパケットを受信し、第1無線装置10は、テストパケットの受信状況に基づいて通信品質を測定する。通信品質は数値で表されるものとし、例えば、受信信号レベルが採用される。   In the priority determination process, the measurement receiving unit 24 of the second wireless device 12 receives the test packet transmitted from the A channel wireless unit 14 or the B channel wireless unit 16 of the first wireless device 10, and receives the second wireless device. 12 measures the communication quality based on the reception status of the test packet. The measurement receiving unit 18 of the first wireless device 10 receives the test packet transmitted from the A channel wireless unit 20 or the B channel wireless unit 22 of the second wireless device 12, and the first wireless device 10 Measure communication quality based on packet reception status. The communication quality is assumed to be represented by a numerical value, for example, a received signal level is adopted.

図3のステップS201〜S212には、第2無線装置12の測定用受信部24が、第1無線装置10のBチャネル無線部16から送信されたテストパケットを受信し、第2無線装置12がテストパケットの受信状況に基づいてB周波数帯の各チャネルの通信品質を測定する処理が示されている。また、ステップS213〜S216には、第2無線装置12の測定用受信部24が、第1無線装置10のAチャネル無線部14から送信されたテストパケットを受信し、第2無線装置12がテストパケットの受信状況に基づいてA周波数帯の各チャネルの通信品質を測定する処理が示されている。   In steps S201 to S212 of FIG. 3, the measurement receiving unit 24 of the second wireless device 12 receives the test packet transmitted from the B channel wireless unit 16 of the first wireless device 10, and the second wireless device 12 A process for measuring the communication quality of each channel in the B frequency band based on the reception status of the test packet is shown. In steps S213 to S216, the measurement receiving unit 24 of the second radio apparatus 12 receives the test packet transmitted from the A channel radio unit 14 of the first radio apparatus 10, and the second radio apparatus 12 performs the test. A process for measuring the communication quality of each channel in the A frequency band based on the packet reception status is shown.

初めに、第1無線装置10のBチャネル無線部16および第2無線装置12のBチャネル無線部22のチャネルは、Bチャネルβ10に設定されている。また、第2無線装置12の測定用受信部24のチャネルは、AチャネルαNに設定されている。   First, the channels of the B channel radio unit 16 of the first radio apparatus 10 and the B channel radio unit 22 of the second radio apparatus 12 are set to the B channel β10. In addition, the channel of the measurement receiving unit 24 of the second radio apparatus 12 is set to the A channel αN.

第1無線装置10のBチャネル無線部16は、Bチャネルβ10で設定パケットを送信する(S201)。この設定パケットは、第2無線装置12の測定用受信部24のチャネルをBチャネルβ1に設定する指令情報を含む。第2無線装置12のBチャネル無線部22は設定パケットを受信する。第2無線装置12は、受信された設定パケットに含まれる指令情報に基づいて、測定用受信部24のチャネルをBチャネルβ1に設定する(S202)。これによって、測定用受信部24のチャネルはAチャネルαNからBチャネルβ1に変更される。   The B channel radio unit 16 of the first radio apparatus 10 transmits a setting packet through the B channel β10 (S201). This setting packet includes command information for setting the channel of the measurement receiving unit 24 of the second radio apparatus 12 to the B channel β1. The B channel radio unit 22 of the second radio apparatus 12 receives the setting packet. The second radio apparatus 12 sets the channel of the measurement receiving unit 24 to the B channel β1 based on the command information included in the received setting packet (S202). As a result, the channel of the measurement receiver 24 is changed from the A channel αN to the B channel β1.

第1無線装置10のBチャネル無線部16は、ステップS201で送信した設定パケットによって特定されるBチャネルβ1にチャネルを設定し、テストパケットを送信する(S203)。第2無線装置12の測定用受信部24はテストパケットを受信する。第2無線装置12は、テストパケットを受信したときの受信信号に基づいて受信品質を測定し記憶する(S204)。第1無線装置10は、Bチャネル無線部16がテストパケットを送信した後、Bチャネル無線部16のチャネルをBチャネルβ1からβ10に戻す。   The B channel radio unit 16 of the first radio apparatus 10 sets a channel to the B channel β1 specified by the setting packet transmitted in step S201, and transmits a test packet (S203). The measurement receiving unit 24 of the second radio apparatus 12 receives the test packet. The second radio apparatus 12 measures and stores the reception quality based on the received signal when the test packet is received (S204). The first radio apparatus 10 returns the channel of the B channel radio unit 16 from the B channel β1 to β10 after the B channel radio unit 16 transmits the test packet.

次に、第1無線装置10のBチャネル無線部16は、Bチャネルβ10で設定パケットを送信する(S205)。この設定パケットは、第2無線装置12の測定用受信部24のチャネルをBチャネルβ2に設定する指令情報を含む。第2無線装置12のBチャネル無線部22は設定パケットを受信する。第2無線装置12は、受信された設定パケットに含まれる指令情報に基づいて、測定用受信部24のチャネルをBチャネルβ2に設定する(S206)。これによって、測定用受信部24のチャネルはBチャネルβ1からBチャネルβ2に変更される。ステップS203およびS204と同様の処理によって、第1無線装置10は第2無線装置12にテストパケットを送信し(S207)、第2無線装置12は、テストパケットを受信したときの受信信号に基づいて受信品質を測定し記憶する(S208)。第1無線装置10は、Bチャネル無線部16がテストパケットを送信した後、Bチャネル無線部16のチャネルをBチャネルβ2からβ10に戻す。また、ステップS201〜S204およびステップS205〜S208と同様の処理によって、第2無線装置12はBチャネルβ3についての受信品質を測定し記憶する(S209〜S212)。   Next, the B channel radio unit 16 of the first radio apparatus 10 transmits a setting packet through the B channel β10 (S205). This setting packet includes command information for setting the channel of the measurement receiving unit 24 of the second radio apparatus 12 to the B channel β2. The B channel radio unit 22 of the second radio apparatus 12 receives the setting packet. The second radio apparatus 12 sets the channel of the measurement receiving unit 24 to the B channel β2 based on the command information included in the received setting packet (S206). As a result, the channel of the measurement receiving unit 24 is changed from the B channel β1 to the B channel β2. By the same processing as steps S203 and S204, the first radio apparatus 10 transmits a test packet to the second radio apparatus 12 (S207), and the second radio apparatus 12 is based on the received signal when the test packet is received. The reception quality is measured and stored (S208). The first radio apparatus 10 returns the channel of the B channel radio unit 16 from the B channel β2 to β10 after the B channel radio unit 16 transmits the test packet. Further, the second wireless device 12 measures and stores the reception quality for the B channel β3 by the same processing as steps S201 to S204 and steps S205 to S208 (S209 to S212).

第1無線装置10のBチャネル無線部16、第2無線装置12のBチャネル無線部22、および測定用受信部24は、テストパケット送信用のBチャネルをβ1,β2,・・・βMの順に変更しながらこのような受信品質測定処理を繰り返す。これによって、第2無線装置12は各Bチャネルについて受信品質を測定する。なお、Bチャネルを変更する順序は、β1,β2,・・・βMの順序に限られず任意である。   The B channel wireless unit 16 of the first wireless device 10, the B channel wireless unit 22 of the second wireless device 12, and the measurement receiving unit 24 set the B channels for test packet transmission in the order of β1, β2,. Such reception quality measurement processing is repeated while changing. Thereby, the second radio apparatus 12 measures the reception quality for each B channel. The order of changing the B channel is not limited to the order of β1, β2,.

次に、Aチャネルについて受信品質を測定する処理について説明する。以下の説明では、第2無線装置12が各Bチャネルについて受信品質を測定した後、第1無線装置10のAチャネル無線部14および第2無線装置12のAチャネル無線部20のチャネルは、Aチャネルα5に設定されているものとする。また、第2無線装置12の測定用受信部24のチャネルは、AチャネルβMに設定されているものとする。   Next, processing for measuring reception quality for the A channel will be described. In the following description, after the second wireless device 12 measures the reception quality for each B channel, the channels of the A channel wireless unit 14 of the first wireless device 10 and the A channel wireless unit 20 of the second wireless device 12 are A It is assumed that channel α5 is set. Further, it is assumed that the channel of the measurement receiving unit 24 of the second radio apparatus 12 is set to the A channel βM.

第1無線装置10および第2無線装置12は、各Bチャネルについて受信品質を測定する処理と同様の処理によって、各Aチャネルについても受信品質を測定する。第1無線装置10のAチャネル無線部14は、Aチャネルα5で設定パケットを送信する(S213)。この設定パケットは、第2無線装置12の測定用受信部24のチャネルをAチャネルα1に設定する指令情報を含む。第2無線装置12のAチャネル無線部20は設定パケットを受信する。第2無線装置12は、受信された設定パケットに含まれる指令情報に基づいて、測定用受信部24のチャネルをAチャネルα1に設定する(S214)。これによって、測定用受信部24のチャネルはBチャネルβMからAチャネルα1に変更される。   The first radio apparatus 10 and the second radio apparatus 12 measure the reception quality for each A channel by the same process as the process for measuring the reception quality for each B channel. The A channel radio unit 14 of the first radio apparatus 10 transmits a setting packet through the A channel α5 (S213). This setting packet includes command information for setting the channel of the measurement receiving unit 24 of the second radio apparatus 12 to the A channel α1. The A channel radio unit 20 of the second radio apparatus 12 receives the setting packet. The second radio apparatus 12 sets the channel of the measurement receiving unit 24 to the A channel α1 based on the command information included in the received setting packet (S214). As a result, the channel of the measurement receiver 24 is changed from the B channel βM to the A channel α1.

第1無線装置10のAチャネル無線部14は、ステップS213で送信した設定パケットによって特定されるAチャネルα1にチャネルを設定し、テストパケットを送信する(S215)。第2無線装置12の測定用受信部24はテストパケットを受信する。第2無線装置12は、テストパケットを受信したときの受信信号に基づいて受信品質を測定し記憶する(S216)。第1無線装置10は、Aチャネル無線部14がテストパケットを送信した後、Aチャネル無線部14のチャネルをAチャネルα1からα5に戻す。   The A channel radio unit 14 of the first radio apparatus 10 sets a channel to the A channel α1 specified by the setting packet transmitted in step S213, and transmits a test packet (S215). The measurement receiving unit 24 of the second radio apparatus 12 receives the test packet. The second radio apparatus 12 measures and stores the reception quality based on the received signal when the test packet is received (S216). The first wireless device 10 returns the channel of the A channel wireless unit 14 from the A channel α1 to α5 after the A channel wireless unit 14 transmits the test packet.

第1無線装置10のAチャネル無線部14、第2無線装置12のAチャネル無線部20、および測定用受信部24は、Aチャネルをα1,α2,・・・αNの順に変更しながらこのような処理を繰り返す。これによって、第2無線装置12は各Aチャネルについて受信品質を測定する。なお、Aチャネルを変更する順序は、α1,α2,・・・αNの順序に限られず任意である。   The A channel wireless unit 14 of the first wireless device 10, the A channel wireless unit 20 of the second wireless device 12, and the measurement receiving unit 24 change the A channel in the order of α1, α2,. Repeat the process. As a result, the second radio apparatus 12 measures the reception quality for each A channel. The order of changing the A channel is not limited to the order of α1, α2,.

ここでは、第1無線装置10から第2無線装置12にテストパケットを送信し、第2無線装置12が各Aチャネルおよび各Bチャネルについて受信品質を決定する処理(以下、1・2方向測定処理という。)について説明した。この1・2方向測定処理に加えて、テストパケットの送信側と受信側とを逆にして、第2無線装置12から第1無線装置10にテストパケットを送信し、第1無線装置10が各Aチャネルおよび各Bチャネルについて受信品質を測定する処理(以下、2・1方向測定処理という。)も同様にして行われる。この場合、図3において第1無線装置10が実行するとされている処理を第2無線装置12が実行し、第2無線装置12が実行するとされている処理を第2無線装置12が実行すればよい。   Here, a process in which a test packet is transmitted from the first radio apparatus 10 to the second radio apparatus 12 and the second radio apparatus 12 determines the reception quality for each A channel and each B channel (hereinafter, a 1, 2 direction measurement process) Explained). In addition to the 1 and 2 direction measurement processing, the test packet is transmitted from the second radio apparatus 12 to the first radio apparatus 10 by reversing the transmission side and the reception side of the test packet. Processing for measuring the reception quality for the A channel and each B channel (hereinafter referred to as 2 · 1 direction measurement processing) is performed in the same manner. In this case, if the second wireless device 12 executes the process that is supposed to be executed by the first wireless device 10 in FIG. 3, and the second wireless device 12 executes the process that is supposed to be executed by the second wireless device 12 in FIG. Good.

第1無線装置10および第2無線装置12が1・2方向測定処理を1回実行することによって、第2無線装置12は、各チャネルについて第1無線装置10から第2無線装置12に向かう1・2通信方向についての通信品質を測定し記憶する。第2無線装置12は、1・2通信方向についての通信品質に基づいて、各チャネルの優先度を決定し記憶する。優先度は、通信品質が良好である程、大きい値とする。通信品質が受信信号レベルによって表される場合には、受信信号レベルが大きい程、優先度が大きい値となる。   When the first wireless device 10 and the second wireless device 12 execute the one-direction measurement process once, the second wireless device 12 goes from the first wireless device 10 to the second wireless device 12 for each channel. -Measure and store communication quality for two communication directions. The second radio apparatus 12 determines and stores the priority of each channel based on the communication quality in the 1.2 communication direction. The priority is set to a larger value as the communication quality is better. When the communication quality is represented by the received signal level, the priority is higher as the received signal level is higher.

また、第1無線装置10および第2無線装置12が2・1方向測定処理を1回実行することによって、第1無線装置10は、各チャネルについて第2無線装置12から第1無線装置10に向かう2・1通信方向への通信品質を測定し記憶する。第1無線装置10および第2無線装置12が2・1方向測定処理を実行することによって、第1無線装置10は、各チャネルについて第2無線装置12から第1無線装置10に向かう2・1通信方向についての通信品質を測定し記憶する。第1無線装置10は、2・1通信方向についての通信品質に基づいて、各チャネルの優先度を決定し記憶する。   In addition, the first wireless device 10 and the second wireless device 12 execute the 2 · 1 direction measurement process once, so that the first wireless device 10 changes from the second wireless device 12 to the first wireless device 10 for each channel. Measure and store the communication quality in the 2.1 direction of communication. When the first radio apparatus 10 and the second radio apparatus 12 execute the 2.1 direction measurement process, the first radio apparatus 10 moves from the second radio apparatus 12 to the first radio apparatus 10 for each channel 2 · 1. Measure and store the communication quality for the communication direction. The first radio apparatus 10 determines and stores the priority of each channel based on the communication quality in the 2 · 1 communication direction.

このようにして第2無線装置12が決定する優先度は、1・2通信方向についての通信品質に基づくものであり、第1無線装置10が決定する優先度は、2・1通信方向についての通信品質に基づくものである。第1無線装置10および第2無線装置12は、次のような処理によって、1・2通信方向および2・1通信方向の双方向についての通信品質に基づいて優先度を決定してもよい。   The priority determined in this way by the second wireless device 12 is based on the communication quality for the 1.2 communication direction, and the priority determined by the first wireless device 10 is for the 2.1 communication direction. It is based on communication quality. The first wireless device 10 and the second wireless device 12 may determine the priority based on the communication quality in the 1-2 communication direction and the bidirectional communication in the 2/1 communication direction by the following process.

(4−2)双方向についての通信品質に基づく優先度
1・2方向測定処理では1・2通信方向のみにデータパケットが送信される。そのため、1・2方向測定処理のみでは、第2無線装置12は2・1通信方向についての通信品質を取得することはできない。同様に、2・1方向測定処理のみでは、第1無線装置10は1・2通信方向についての通信品質を取得することはできない。
(4-2) Priority based on communication quality in both directions In the 1/2 direction measurement process, a data packet is transmitted only in the 1/2 communication direction. For this reason, the second wireless device 12 cannot acquire the communication quality in the 2.1 communication direction only by the 1.2 direction measurement process. Similarly, the first wireless device 10 cannot acquire the communication quality for the 1.2 communication direction only by the 2/1 direction measurement process.

そこで、1・2通信方向および2・1通信方向の双方向についての通信品質を第1無線装置10および第2無線装置12のそれぞれが取得するため、第1無線装置10および第2無線装置12は、1・2方向測定処理および2・1方向測定処理の両者を繰り返し実行する。   Therefore, the first radio apparatus 10 and the second radio apparatus 12 acquire the communication qualities in the 1 · 2 communication direction and the 2 · 1 communication direction in both directions. Repeatedly executes both the 1 · 2 direction measurement process and the 2 · 1 direction measurement process.

第1無線装置10は、繰り返し実行される2・1方向測定処理の過程において最後に測定した各チャネルの通信品質を、実際に用いられる通信品質として記憶してもよい。また、第1無線装置10は、過去に遡って所定回数に亘って測定した通信品質の平均値をチャネルごとに求めて、実際に用いられる通信品質として記憶してもよい。過去の測定回数が所定回数に満たない場合は、例えば、その測定回数に亘って測定された通信品質の平均値をチャネルごとに求めて、実際に用いられる通信品質として記憶する。   The first radio apparatus 10 may store the communication quality of each channel measured last in the course of the repeatedly executed 2 · 1 direction measurement process as the communication quality actually used. Further, the first radio apparatus 10 may obtain an average value of communication quality measured for a predetermined number of times retroactively for each channel and store it as the communication quality actually used. When the past number of measurements is less than a predetermined number, for example, an average value of communication quality measured over the number of measurements is obtained for each channel and stored as communication quality actually used.

同様に、第2無線装置12は、繰り返し実行される1・2方向測定処理の過程において最後に測定した各チャネルの通信品質を、実際に用いられる通信品質として記憶してもよい。また、第2無線装置12は、過去に遡って所定回数について測定した通信品質の平均値をチャネルごとに求めて、実際に用いられる通信品質として記憶してもよい。過去において行った通信品質の測定回数が所定回数に満たない場合は、例えば、その測定回数に亘って測定された通信品質の平均値をチャネルごとに求めて、実際に用いられる通信品質として記憶する。   Similarly, the second radio apparatus 12 may store the communication quality of each channel measured last in the course of the one-way / two-direction measurement process repeatedly executed as the communication quality actually used. Further, the second radio apparatus 12 may obtain an average value of communication quality measured for a predetermined number of times retrospectively for each channel and store it as communication quality actually used. If the number of communication quality measurements performed in the past is less than a predetermined number of times, for example, an average value of communication quality measured over the number of times of measurement is obtained for each channel and stored as actually used communication quality. .

2・1通信方向についての通信品質を取得した後に1・2方向測定処理を実行する第1無線装置10は、2・1通信方向についての通信品質をテストパケットに含ませてそのテストパケットを送信する。すなわち、テストパケット送信方向とは逆方向の通信品質をそのテストパケットに含ませる。この通信品質は、先に実行した2・1方向測定処理によって第1無線装置10が記憶したものである。第2無線装置12は、このテストパケットを受信して品質測定を行うと共に、このテストパケットから2・1通信方向の通信品質を取得し記憶する。   The first radio apparatus 10 that executes the measurement process in the first and second directions after acquiring the communication quality in the two and one communication directions includes the communication quality in the two and one communication directions in the test packet and transmits the test packet. To do. That is, the communication quality in the direction opposite to the test packet transmission direction is included in the test packet. This communication quality is stored by the first radio apparatus 10 by the previously executed 2 · 1 direction measurement process. The second radio apparatus 12 receives this test packet, performs quality measurement, and acquires and stores the communication quality in the 2.1 communication direction from the test packet.

例えば、1・2方向測定処理を示す図3のステップS203で第1無線装置10は、Bチャネルβ1についての2・1通信方向の通信品質を含むテストパケットを送信する。第2無線装置12は、このテストパケットを受信して品質測定を行うと共に(S204)、このテストパケットからBチャネルβ1についての2・1通信方向の通信品質を取得し記憶する。   For example, the first radio apparatus 10 transmits a test packet including the communication quality in the 2.1 communication direction for the B channel β1 in step S203 of FIG. The second radio apparatus 12 receives this test packet and performs quality measurement (S204), and acquires and stores the communication quality in the 2 · 1 communication direction for the B channel β1 from this test packet.

また、ステップS207で第1無線装置10は、Bチャネルβ2についての2・1通信方向の通信品質を含むテストパケットを送信する。第2無線装置12は、このテストパケットを受信して品質測定を行うと共に(S208)、このテストパケットからBチャネルβ2についての2・1通信方向の通信品質を取得し記憶する。第1無線装置10および第2無線装置12は、その他のBチャネルについても同様の処理を実行する。さらに、第1無線装置10は、ステップS215でAチャネルα1についての2・1通信方向の通信品質を含むテストパケットを送信する。第2無線装置12は、このテストパケットを受信して品質測定を行うと共に(S216)、このテストパケットからAチャネルα1についての2・1通信方向の通信品質を取得し記憶する。第1無線装置10および第2無線装置12は、その他のAチャネルについても同様の処理を実行する。   In step S207, the first radio apparatus 10 transmits a test packet including communication quality in the 2 · 1 communication direction for the B channel β2. The second wireless device 12 receives the test packet and measures the quality (S208), and acquires and stores the communication quality in the 2 · 1 communication direction for the B channel β2 from the test packet. The first radio apparatus 10 and the second radio apparatus 12 perform the same processing for the other B channels. Furthermore, the first radio apparatus 10 transmits a test packet including the communication quality in the 2 · 1 communication direction for the A channel α1 in step S215. The second wireless device 12 receives this test packet and performs quality measurement (S216), and acquires and stores the communication quality in the 2.1 communication direction for the A channel α1 from this test packet. The first radio apparatus 10 and the second radio apparatus 12 perform the same processing for the other A channels.

同様に、1・2通信方向についての通信品質を取得した後に2・1方向測定処理を実行する第2無線装置12は、テストパケットに1・2通信方向についての通信品質を含ませてそのテストパケットを送信する。この通信品質は、先に実行した1・2方向測定処理によって第2無線装置12が記憶したものである。第1無線装置10は、このテストパケットを受信して品質測定を行うと共に、このテストパケットから1・2通信方向の通信品質を取得し記憶する。   Similarly, the second wireless device 12 that executes the 2.1 direction measurement process after acquiring the communication quality for the 1.2 communication direction includes the communication quality for the 1.2 communication direction in the test packet and performs the test. Send the packet. This communication quality is stored by the second radio apparatus 12 by the previously executed one- or two-direction measurement process. The first radio apparatus 10 receives this test packet, performs quality measurement, and acquires and stores the communication quality in the 1.2 communication direction from the test packet.

このような処理によって、第1無線装置10および第2無線装置12は、Aチャネルα1〜αNおよびBチャネルβ1〜βMのそれぞれについて、1・2通信方向および2・1通信方向の双方向についての通信品質を記憶する。   Through such processing, the first wireless device 10 and the second wireless device 12 can perform the communication in the 1 · 2 communication direction and the 2 · 1 communication direction in both directions of the A channel α1 to αN and the B channel β1 to βM. Stores communication quality.

第1無線装置10および第2無線装置12は、双方向についての通信品質に基づいて、次のように各チャネルの優先度を求める。例えば、第1無線装置10および第2無線装置12は、1・2通信方向および2・1通信方向のうち、通信品質が良好でない劣性方向の通信品質に基づいて、各チャネルの優先度を求める。この場合、第1無線装置10および第2無線装置12は、劣性方向の通信品質が良好である程、優先度を大きい値とする。   The first radio apparatus 10 and the second radio apparatus 12 obtain the priority of each channel as follows based on the bidirectional communication quality. For example, the first wireless device 10 and the second wireless device 12 obtain the priority of each channel based on the communication quality in the inferior direction where the communication quality is not good among the 1.2 communication direction and the 2.1 communication direction. . In this case, the first wireless device 10 and the second wireless device 12 have a higher priority as the communication quality in the recessive direction is better.

また、第1無線装置10および第2無線装置12は、1・2通信方向についての通信品質および2・1通信方向についての通信品質の平均値である双方向品質平均値に基づいて、各チャネルの優先度を求めてもよい。通信品質の値が大きい程、通信品質が良好であることを示す場合、第1無線装置10および第2無線装置12は、双方向品質平均値が大きい程、優先度を大きい値とする。   Further, the first wireless device 10 and the second wireless device 12 are connected to each channel based on a bidirectional quality average value that is an average value of the communication quality in the 1.2 communication direction and the communication quality in the 2.1 communication direction. Priority may be obtained. When the communication quality value is larger, the communication quality is better, and the first wireless device 10 and the second wireless device 12 have a higher priority as the bidirectional quality average value is larger.

1・2通信方向についての通信品質と、2・1通信方向についての通信品質とは異なる場合がある。そして、第1無線装置10と第2無線装置12との間では、双方向でパケットの送受信が行われる。したがって、一方の通信方向についての通信品質に基づいて優先度を決定したのでは、通信状況を適切に反映した優先度が求められず、通信条件変更処理における変更先のチャネルとして適切なチャネルが選択されない場合がある。上述のように、1・2通信方向および2・1通信方向の双方向についての通信品質に基づいて各チャネルの優先度を決定することで、変更先のチャネルが適切に選択されるため、制御通信におけるチャネルの変更回数が減少する。これによって、通信条件変更処理が迅速かつ適切に行われる。   The communication quality for the 1.2 communication direction may be different from the communication quality for the 2.1 communication direction. Packets are transmitted and received bidirectionally between the first wireless device 10 and the second wireless device 12. Therefore, if the priority is determined based on the communication quality for one communication direction, a priority that appropriately reflects the communication status cannot be obtained, and an appropriate channel is selected as the change destination channel in the communication condition change process. May not be. As described above, since the priority of each channel is determined based on the communication quality in the communication directions of the 1 · 2 communication direction and the 2 · 1 communication direction, the channel to be changed is appropriately selected. The number of channel changes in communication is reduced. As a result, the communication condition changing process is quickly and appropriately performed.

(4−3)データ通信および制御通信と共に優先度決定処理を実行する場合
上述のように、第1無線装置10および第2無線装置12は、A周波数帯およびB周波数帯の両方を用いて冗長通信方式によるデータ通信を行う。また、第1無線装置10および第2無線装置12は、A周波数帯およびB周波数帯のうち一方を用いた制御通信を行う。ここでは、データ通信および制御通信と共に優先度決定処理を実行する場合について説明する。
(4-3) When priority determination processing is executed together with data communication and control communication As described above, the first wireless device 10 and the second wireless device 12 are redundant using both the A frequency band and the B frequency band. Data communication is performed using the communication method. Further, the first radio apparatus 10 and the second radio apparatus 12 perform control communication using one of the A frequency band and the B frequency band. Here, a case where priority determination processing is executed together with data communication and control communication will be described.

第1無線装置10および第2無線装置12は、データ通信を行う必要があると、優先度決定処理を一時的に停止する。図4には、データ通信開始指令(S307)およびデータ通信/制御通信(S308およびS309)と示されている時間帯で優先度決定処理が一時的に停止される例が示されている。第2無線装置12がBチャネルβ1について優先度を求めるステップS301〜S304の処理は、図3に示されているステップS201〜S204の処理と同様である。   The first wireless device 10 and the second wireless device 12 temporarily stop the priority determination process when it is necessary to perform data communication. FIG. 4 shows an example in which the priority determination process is temporarily stopped in the time zones indicated as the data communication start command (S307) and the data communication / control communication (S308 and S309). The process of steps S301 to S304 in which the second radio apparatus 12 obtains the priority for the B channel β1 is the same as the process of steps S201 to S204 shown in FIG.

図4には、ステップS305で第1無線装置10のBチャネル無線部16が設定パケットを送信した後に、データ通信が開始される例が示されている。データ通信を開始すべき旨のデータ通信開始指令が第1無線装置10に与えられると、第1無線装置10は第2無線装置12との間で冗長通信方式によるデータ通信を実行する(S308およびS309)。データ通信開始指令は、例えば、ユーザの操作によって、あるいは外部の装置から出力された制御情報によって第1無線装置10に与えられる。   FIG. 4 shows an example in which data communication is started after the B channel radio unit 16 of the first radio apparatus 10 transmits the setting packet in step S305. When a data communication start command indicating that data communication should be started is given to the first wireless device 10, the first wireless device 10 performs data communication by the redundant communication method with the second wireless device 12 (S308 and S309). The data communication start command is given to the first radio apparatus 10 by, for example, a user operation or control information output from an external apparatus.

図4に示されているステップS308およびS309のデータ通信/制御通信は、データ通信が中断されて制御通信が行われ、再びデータ通信が行われる通信条件変更処理を含む。   The data communication / control communication in steps S308 and S309 shown in FIG. 4 includes a communication condition changing process in which data communication is interrupted, control communication is performed, and data communication is performed again.

制御通信では、データ通信が開始された時に記憶されている優先度に基づいて、チャネルの変更が行われる。例えば、Aチャネルを変更する場合には、第1無線装置10および第2無線装置12は、A周波数帯内の複数のチャネルのうち優先度が最も大きいものを選択し、その選択したチャネルにAチャネルを変更する。そのチャネルでの通信状況が良好でない場合には、次に優先度が大きいチャネルを選択し、その選択したチャネルにAチャネルを変更する。Aチャネルが変更された後に通信状況が良好になった場合に、第1無線装置10および第2無線装置12は、その変更後のAチャネルと、制御通信に用いられたBチャネルとによるデータ通信を開始し、冗長通信を再開する。   In control communication, the channel is changed based on the priority stored when data communication is started. For example, when changing the A channel, the first radio apparatus 10 and the second radio apparatus 12 select the channel with the highest priority from the plurality of channels in the A frequency band, and select A as the selected channel. Change the channel. If the communication status on the channel is not good, the channel having the next highest priority is selected, and the A channel is changed to the selected channel. When the communication status becomes good after the A channel is changed, the first radio apparatus 10 and the second radio apparatus 12 perform data communication using the A channel after the change and the B channel used for control communication. And redundant communication is resumed.

同様に、Bチャネルを変更する場合には、第1無線装置10および第2無線装置12は、B周波数帯内の複数のチャネルのうち優先度が最も大きいものを選択し、その選択したチャネルにBチャネルを変更する。そのチャネルでの通信状況が良好でない場合には、次に優先度が大きいチャネルを選択し、その選択したチャネルにBチャネルを変更する。Bチャネルが変更された後、通信状況が良好になった場合に、第1無線装置10および第2無線装置12は、その変更後のBチャネルと、制御通信に用いられたAチャネルとによるデータ通信を開始し、冗長通信を再開する。   Similarly, when changing the B channel, the first radio apparatus 10 and the second radio apparatus 12 select the channel with the highest priority from the plurality of channels in the B frequency band, and select the selected channel. Change the B channel. If the communication status on the channel is not good, the channel having the next highest priority is selected, and the B channel is changed to the selected channel. When the communication status becomes good after the B channel is changed, the first radio apparatus 10 and the second radio apparatus 12 use the B channel after the change and the data by the A channel used for control communication. Start communication and resume redundant communication.

図4には、ステップS308およびS309におけるデータ通信において、Aチャネルα5の通信状況が良好でなくなり、Bチャネルβ10を用いた制御通信によって、Aチャネルがα5からα7に変更された例が示されている。ステップS308およびS309のデータ通信または制御通信が終了した後は、第1無線装置10および第2無線装置12のAチャネル無線部のチャネルはAチャネルα7に設定されている。また、第1無線装置10および第2無線装置12のBチャネル無線部のチャネルはBチャネルβ10に設定されている。   FIG. 4 shows an example in which the communication status of the A channel α5 is not good in the data communication in steps S308 and S309, and the A channel is changed from α5 to α7 by the control communication using the B channel β10. Yes. After the data communication or control communication in steps S308 and S309 is completed, the channel of the A channel wireless unit of the first wireless device 10 and the second wireless device 12 is set to A channel α7. The channel of the B channel radio unit of the first radio apparatus 10 and the second radio apparatus 12 is set to B channel β10.

第1無線装置10のBチャネル無線部16は、ステップS305で送信した設定パケットによって特定されるBチャネルβ2にチャネルを設定し、テストパケットを送信する(S310)。第2無線装置12の測定用受信部24はテストパケットを受信する。第2無線装置12は、テストパケットを受信したときの受信信号に基づいて受信品質を測定し記憶する(S311)。第1無線装置10は、Bチャネル無線部16がテストパケットを送信した後、Bチャネル無線部16のチャネルをBチャネルβ2からβ10に戻す。   The B channel radio unit 16 of the first radio apparatus 10 sets a channel to the B channel β2 specified by the setting packet transmitted in step S305, and transmits a test packet (S310). The measurement receiving unit 24 of the second radio apparatus 12 receives the test packet. The second radio apparatus 12 measures and stores the reception quality based on the received signal when the test packet is received (S311). The first radio apparatus 10 returns the channel of the B channel radio unit 16 from the B channel β2 to β10 after the B channel radio unit 16 transmits the test packet.

このように、データ通信または制御通信を行う必要があるときは、第1無線装置10および第2無線装置12は優先度決定処理を中断し、データ通信または制御通信が完了した後に、優先度決定処理を再開する。すなわち、第1無線装置10および第2無線装置12は、データ通信および制御通信のいずれも行っていない時間帯に優先度決定処理を実行して、各Aチャネルおよび各Bチャネルについて通信品質を求める処理(1・2方向測定処理および2・1方向測定処理)を繰り返す。   As described above, when it is necessary to perform data communication or control communication, the first wireless device 10 and the second wireless device 12 interrupt the priority determination process, and after the data communication or control communication is completed, the priority determination is performed. Resume processing. That is, the first radio apparatus 10 and the second radio apparatus 12 execute priority determination processing in a time zone during which neither data communication nor control communication is performed, and obtain communication quality for each A channel and each B channel. The process (1 · 2 direction measurement process and 2 · 1 direction measurement process) is repeated.

優先度決定処理の中断は、一方の無線装置が設定パケットを送信するステップ、他方の無線装置が設定パケットを受信し、その設定パケットに従ってチャネルを設定するステップ、一方の無線装置がテストパケットを送信するステップ、または、他方の無線装置がテストパケットについて受信品質を測定するステップのうちいずれのステップの直後に行われてもよい。ただし、データ通信を実行する前に、各無線装置は、それぞれのAチャネル無線部およびBチャネル無線部のチャネルを、データ通信用のチャネルに設定する。   The priority determination process is interrupted by one wireless device transmitting a setting packet, the other wireless device receiving the setting packet, setting a channel according to the setting packet, and one wireless device transmitting a test packet. This step may be performed immediately after any one of the steps of measuring the reception quality of the test packet by the other wireless device. However, before executing data communication, each wireless device sets the channels of the A channel wireless unit and the B channel wireless unit as channels for data communication.

(5)通信条件変更処理の具体例
通信条件変更処理の具体例について説明する。図5には、通信条件変更処理のタイミングチャートが示されている。図5(A−1)には、第1無線装置および第2無線装置によって用いられるAチャネルが示されている。図5(A−2)には、図5(A−1)で示されているAチャネルでの通信状況が示されている。縦軸の値「1」は通信状況が良好であることを示し、値「0」は通信状況が良好でないことを示す。図5(A−3)には、図5(A−1)で示されているAチャネルによって行われる通信が、データ通信であるか制御通信であるかが示されている。
(5) Specific Example of Communication Condition Change Process A specific example of the communication condition change process will be described. FIG. 5 shows a timing chart of the communication condition change process. FIG. 5A-1 shows the A channel used by the first radio apparatus and the second radio apparatus. FIG. 5 (A-2) shows the communication status of the A channel shown in FIG. 5 (A-1). A value “1” on the vertical axis indicates that the communication status is good, and a value “0” indicates that the communication status is not good. FIG. 5A-3 shows whether the communication performed by the A channel shown in FIG. 5A-1 is data communication or control communication.

同様に、図5(B−1)には、第1無線装置および第2無線装置によって用いられるBチャネルが示されている。この図に示されている処理は、図4におけるステップS308およびS309に対応する。図5(B−2)には、図5(B−1)で示されているBチャネルでの通信状況が示されている。図5(B−3)には、図5(B−1)で示されているBチャネルによって行われる通信が、データ通信であるか制御通信であるかが示されている。   Similarly, FIG. 5B-1 shows the B channel used by the first radio apparatus and the second radio apparatus. The processing shown in this figure corresponds to steps S308 and S309 in FIG. FIG. 5 (B-2) shows the communication status of the B channel shown in FIG. 5 (B-1). FIG. 5B-3 shows whether the communication performed by the B channel shown in FIG. 5B-1 is data communication or control communication.

時刻t0から時刻t1までにおいて、第1無線装置は、Aチャネルα1とBチャネルβ1を用いた冗長通信によって第2無線装置にデータパケットを順次送信している。すなわち、第1無線装置は、データパケットをAチャネルα1の無線信号およびBチャネルβ1の無線信号によって第2無線装置に順次送信し、データ通信を行っている。第1無線装置はAチャネルα1およびBチャネルβ1において同一の通信対象データを含むデータパケットを送信する。   From time t0 to time t1, the first radio apparatus sequentially transmits data packets to the second radio apparatus by redundant communication using the A channel α1 and the B channel β1. In other words, the first radio apparatus sequentially transmits data packets to the second radio apparatus using the radio signal of the A channel α1 and the radio signal of the B channel β1 to perform data communication. The first wireless device transmits a data packet including the same communication target data in the A channel α1 and the B channel β1.

時刻t0から時刻t1までの間、Aチャネルα1およびBチャネルβ1のいずれについても通信状況は良好である。図5(A−2)に示されているように、時刻t1にAチャネルα1での通信状況が良好でなくなると、第1無線装置は、図5(A−3)および(B−3)に示されているように、Aチャネルでのデータ通信を続行しつつも、Bチャネルβ1でのデータ通信を停止し制御通信を開始する。制御通信は、例えば、次のようにして行われる。   From time t0 to time t1, the communication status is good for both the A channel α1 and the B channel β1. As shown in FIG. 5 (A-2), when the communication status on the A channel α1 is not good at time t1, the first radio apparatus performs the processes shown in FIGS. 5 (A-3) and (B-3). As shown in FIG. 4, the data communication on the B channel β1 is stopped and the control communication is started while continuing the data communication on the A channel. The control communication is performed as follows, for example.

第1無線装置および第2無線装置のそれぞれは、優先度決定処理によってAチャネルα1〜αNについて優先度を既に求めており、さらに、Bチャネルβ1〜βMについて優先度を既に求めているものとする。第1無線装置は、Aチャネルα1を除き、優先度が最も大きいAチャネルを変更先のAチャネルとして選択する。ここでは、Aチャネルα1の次に優先度が大きいAチャネルがα8であるものとする。第1無線装置は、Bチャネルβ1の無線信号によってチャネル変更要求パケットを第2無線装置に送信する。チャネル変更要求パケットは、チャネルを変更すべき周波数帯を特定する情報、変更先のチャネルを特定する情報等を含む。ここでは、チャネル変更要求パケットは、チャネルを変更すべき周波数帯としてA周波数帯を特定する情報を含み、変更先のチャネルとしてAチャネルα8を特定する情報を含む。   Each of the first wireless device and the second wireless device has already obtained the priority for the A channels α1 to αN by the priority determination process, and has already obtained the priority for the B channels β1 to βM. . The first radio apparatus selects the A channel with the highest priority as the change-destination A channel except for the A channel α1. Here, it is assumed that the A channel having the second highest priority after the A channel α1 is α8. The first radio apparatus transmits a channel change request packet to the second radio apparatus using a radio signal of the B channel β1. The channel change request packet includes information for specifying a frequency band in which a channel is to be changed, information for specifying a channel to be changed, and the like. Here, the channel change request packet includes information for specifying the A frequency band as the frequency band for which the channel is to be changed, and includes information for specifying the A channel α8 as the change destination channel.

チャネル変更要求パケットを受信した第2無線装置は、Bチャネルβ1でのデータ通信を停止する。そして、A周波数帯のチャネルをAチャネルα1からAチャネルα8に変更すると共に、チャネル変更了承パケットをBチャネルβ1の無線信号によって第1無線装置に送信する。チャネル変更了承パケットを受信した第1無線装置は、A周波数帯のチャネルをAチャネルα1からAチャネルα8に変更する。これによって、時刻t2に第1無線装置および第2無線装置によって用いられるA周波数帯のチャネルがAチャネルα1からAチャネルα8に変更される。   The second radio apparatus that has received the channel change request packet stops data communication on the B channel β1. Then, the channel of the A frequency band is changed from the A channel α1 to the A channel α8, and a channel change approval packet is transmitted to the first radio apparatus by a radio signal of the B channel β1. The first wireless device that has received the channel change approval packet changes the channel of the A frequency band from A channel α1 to A channel α8. As a result, the channel of the A frequency band used by the first radio apparatus and the second radio apparatus is changed from the A channel α1 to the A channel α8 at time t2.

この後、A周波数帯のチャネルでの通信状況は良好となったため、第1無線装置および第2無線装置は、所定の制御用パケットを相互に送受信し、時刻t3に冗長通信方式によるデータ通信を再開する。   After this, since the communication situation in the channel of the A frequency band has become good, the first wireless device and the second wireless device transmit and receive predetermined control packets to each other, and perform data communication by the redundant communication method at time t3. Resume.

時刻t3から時刻t4までの間、Aチャネルα8およびBチャネルβ1のいずれについても通信状況は良好である。図5(B−2)に示されているように、時刻t4にBチャネルβ1での通信状況が良好でなくなると、第1無線装置は、図5(B−3)および(A−3)に示されているように、Bチャネルでのデータ通信を続行しつつも、Aチャネルα8でのデータ通信を停止し制御通信を開始する。制御通信は、例えば、次のようにして行われる。   From time t3 to time t4, the communication status is good for both the A channel α8 and the B channel β1. As shown in FIG. 5 (B-2), when the communication status on the B channel β1 is not good at time t4, the first radio apparatus becomes the one shown in FIGS. 5 (B-3) and (A-3). As shown in FIG. 4, the data communication on the A channel α8 is stopped and the control communication is started while the data communication on the B channel is continued. The control communication is performed as follows, for example.

第1無線装置は、Bチャネルβ1を除き、優先度が最も大きいBチャネルを変更先のBチャネルとして選択する。ここでは、Bチャネルβ1を除いて優先度が最も大きいBチャネルがβ5であるものとする。第1無線装置は、Aチャネルα8の無線信号によってチャネル変更要求パケットを第2無線装置に送信する。チャネル変更要求パケットを受信した第2無線装置は、Aチャネルα8でのデータ通信を停止する。そして、B周波数帯のチャネルをBチャネルβ1からBチャネルβ5に変更すると共に、Aチャネルα8の無線信号によってチャネル変更了承パケットを第1無線装置に送信する。チャネル変更了承パケットを受信した第1無線装置は、B周波数帯のチャネルをBチャネルβ1からBチャネルβ5に変更する。これによって、時刻t5に第1無線装置および第2無線装置によって用いられるB周波数帯のチャネルがBチャネルβ1からBチャネルβ5に変更される。   The first radio apparatus selects the B channel with the highest priority as the B channel to be changed except for the B channel β1. Here, it is assumed that the B channel having the highest priority excluding the B channel β1 is β5. The first radio apparatus transmits a channel change request packet to the second radio apparatus using a radio signal of A channel α8. The second wireless device that has received the channel change request packet stops data communication on the A channel α8. Then, the channel of the B frequency band is changed from the B channel β1 to the B channel β5, and a channel change approval packet is transmitted to the first radio apparatus by the radio signal of the A channel α8. The first wireless device that has received the channel change approval packet changes the channel of the B frequency band from the B channel β1 to the B channel β5. As a result, the channel of the B frequency band used by the first radio apparatus and the second radio apparatus is changed from the B channel β1 to the B channel β5 at time t5.

このとき、B周波数帯のチャネルでの通信状況は良好でないため、第1無線装置および第2無線装置は、同様の通信処理によってチャネルの変更を行う。Bチャネルβ1およびβ5を除いて優先度が最も大きいBチャネルがβ3である場合、時刻t6にB周波数帯のチャネルがBチャネルβ5からBチャネルβ3に変更される。   At this time, since the communication state in the channel of the B frequency band is not good, the first wireless device and the second wireless device change the channel by the same communication processing. When the B channel having the highest priority except for the B channels β1 and β5 is β3, the channel of the B frequency band is changed from the B channel β5 to the B channel β3 at time t6.

この後、B周波数帯のチャネルでの通信状況は良好となったため、第1無線装置および第2無線装置は、所定の制御用パケットを相互に送受信し、時刻t7に冗長通信方式によるデータ通信を再開する。   After this, since the communication status on the channel of the B frequency band has become good, the first wireless device and the second wireless device transmit and receive predetermined control packets to each other, and perform data communication by the redundant communication method at time t7. Resume.

なお、通信条件変更処理において、第2無線装置がデータパケットの送信側である場合には、上記の説明において第1無線装置が実行する処理を第2無線装置が実行し、第1無線装置が実行する処理を第2無線装置が実行する。また、AチャネルおよびBチャネルの両方の通信状況が良好でない場合、第1無線装置および第2無線装置は通信条件変更処理を実行しない。   In the communication condition changing process, when the second wireless device is the data packet transmitting side, the second wireless device executes the processing executed by the first wireless device in the above description, and the first wireless device The second wireless device executes the process to be executed. Further, when the communication status of both the A channel and the B channel is not good, the first wireless device and the second wireless device do not execute the communication condition changing process.

このように、通信条件変更処理では、制御通信を実行する各無線装置が、複数のチャネルのうち現時点で用いているチャネルを除いて優先度が最も大きいものを選択し、その選択したチャネルにAチャネルまたはBチャネルを変更する。そのチャネルでの通信状況が良好でない場合には、残りのチャネルのうち優先度が最も大きいチャネルを選択し、その選択したチャネルにAチャネルBチャネルを変更する。各無線装置は、チャネルの変更を通信状況が良好となるまで行う。この通信条件変更処理では、通信状況が良好である方のチャネルを用いて、通信状況が良好でない方のチャネルが変更されるため、チャネルの変更が確実に行われる。これによって、パケット通信の成功率の低下が抑制される。
In this way, in the communication condition change process, each wireless device that executes control communication selects a channel having the highest priority, except for the channel currently used, from among a plurality of channels. Change channel or B channel. If the communication status on that channel is not good, the channel with the highest priority is selected from the remaining channels, and the A channel and B channel are changed to the selected channel. Each wireless device changes the channel until the communication status becomes good. In this communication condition changing process, the channel with the better communication status is used and the channel with the worse communication status is changed, so that the channel change is performed reliably. This suppresses a decrease in the success rate of packet communication.

(6)無線装置のハードウエア
図6には通信システムに用いられる無線装置26のハードウエアが示されている。無線装置26は、図1に示される第1無線装置10および第2無線装置12として用いられる。無線装置26は、無線部28、信号処理ユニット32および記憶部34を備える。無線部28は、受信されたパケットを信号処理ユニット32に出力し、信号処理ユニット32から出力されたパケットを送信する。無線部28は、Aチャネル無線部36、Bチャネル無線部38および測定用受信部30を備える。Aチャネル無線部36およびBチャネル無線部38のそれぞれは、無線信号を送信する送信部39、および無線信号を受信する受信部41を備える。Aチャネル無線部36およびBチャネル無線部38は、それぞれ、AチャネルおよびBチャネルの無線信号を送受信することでパケットの送受信を行う。このように、周波数帯ごとに無線部を個別に設けることで、各無線部が処理する無線信号の周波数帯域が狭くなり、ハードウエアの設計または製造が容易となる。なお、各無線部が、複数の周波数帯に亘る無線信号を処理可能な場合には、複数の周波数帯に対して共通の無線部が設けられてもよい。測定用受信部30は、AチャネルおよびBチャネルの無線信号を受信することでパケットを送受する。
(6) Hardware of Radio Device FIG. 6 shows the hardware of the radio device 26 used in the communication system. The wireless device 26 is used as the first wireless device 10 and the second wireless device 12 shown in FIG. The wireless device 26 includes a wireless unit 28, a signal processing unit 32, and a storage unit 34. The wireless unit 28 outputs the received packet to the signal processing unit 32 and transmits the packet output from the signal processing unit 32. The radio unit 28 includes an A channel radio unit 36, a B channel radio unit 38 and a measurement receiving unit 30. Each of the A channel radio unit 36 and the B channel radio unit 38 includes a transmission unit 39 that transmits a radio signal and a reception unit 41 that receives the radio signal. The A channel radio unit 36 and the B channel radio unit 38 transmit and receive packets by transmitting and receiving A channel and B channel radio signals, respectively. In this manner, by providing the radio units individually for each frequency band, the frequency band of the radio signal processed by each radio unit is narrowed, and hardware design or manufacture becomes easy. In addition, when each radio | wireless part can process the radio signal over a some frequency band, a common radio | wireless part may be provided with respect to a some frequency band. The measurement receiving unit 30 transmits and receives packets by receiving radio signals of the A channel and the B channel.

信号処理ユニット32は、通信処理部40、通信品質測定部48、テスト実行部50、および優先度決定部52を備える。信号処理ユニット32は、プログラムに従った演算処理を実行するプロセッサを備えていてもよい。この場合、信号処理ユニット32は、演算処理によってこれらの構成要素を仮想的に実現する。すなわち、信号処理ユニット32が備える各構成要素は、プログラムに従った演算処理を実行することで実現される各機能を示している。なお、各構成要素はハードウエアによって個別に構成されてもよい。   The signal processing unit 32 includes a communication processing unit 40, a communication quality measurement unit 48, a test execution unit 50, and a priority determination unit 52. The signal processing unit 32 may include a processor that executes arithmetic processing according to a program. In this case, the signal processing unit 32 virtually realizes these constituent elements through arithmetic processing. That is, each component provided in the signal processing unit 32 indicates each function realized by executing arithmetic processing according to a program. Each component may be individually configured by hardware.

通信処理部40は、データ通信部42、制御部44および制御通信部46を備え、無線部28と共に、複数の周波数帯を用いて他の無線装置(パケット通信装置)との間で無線通信を行う。通信処理部40は、データ通信の他、必要に応じて制御通信を行って通信条件変更処理を実行する。   The communication processing unit 40 includes a data communication unit 42, a control unit 44, and a control communication unit 46, and performs wireless communication with other wireless devices (packet communication devices) using a plurality of frequency bands together with the wireless unit 28. Do. In addition to data communication, the communication processing unit 40 performs control communication as necessary to execute communication condition change processing.

データ通信部42は、データパケットを生成して無線部28に出力し、無線部28から出力されたデータパケットおよびアクノリッジパケットを取得する。データ通信部42は無線部28と共に、AチャネルおよびBチャネルを用いた冗長通信を実行する。   The data communication unit 42 generates a data packet and outputs the data packet to the radio unit 28, and acquires the data packet and the acknowledge packet output from the radio unit 28. The data communication unit 42 performs redundant communication using the A channel and the B channel together with the wireless unit 28.

データ通信において制御部44は、AチャネルおよびBチャネルのそれぞれについて通信状況を監視する。通信状況の監視は、例えば、通信状況の測定値としての判定パラメータに対し、通信失敗の度に規定値を加算し、通信成功の度に規定値を減算することで行われる。具体的な例として、通信状況の監視は次のようにして行われる。制御部44は、データパケットの送信に対し、アクノリッジパケットが無線部28で受信されず、アクノリッジパケットがデータ通信部42で取得されなかった場合には判定パラメータに規定値を加算する。そして、アクノリッジパケットが無線部28で受信され、アクノリッジパケットがデータ通信部42で取得された場合には判定パラメータから規定値を減算する。判定パラメータは、データパケットを所定回数だけ送信するごとに初期値にリセットしてもよい。このようにして求められる測定値が所定の閾値以上となった場合に、通信状況が良好でないとの判定をする。   In data communication, the control unit 44 monitors the communication status for each of the A channel and the B channel. The monitoring of the communication status is performed, for example, by adding a specified value for each communication failure and subtracting the specified value for each successful communication with respect to a determination parameter as a measured value of the communication status. As a specific example, the communication status is monitored as follows. In response to transmission of the data packet, the control unit 44 adds a specified value to the determination parameter when the acknowledge packet is not received by the radio unit 28 and the acknowledge packet is not acquired by the data communication unit 42. When the acknowledge packet is received by the wireless unit 28 and the acknowledge packet is acquired by the data communication unit 42, the specified value is subtracted from the determination parameter. The determination parameter may be reset to an initial value every time a data packet is transmitted a predetermined number of times. When the measured value obtained in this way becomes a predetermined threshold value or more, it is determined that the communication status is not good.

制御部44は、AチャネルおよびBチャネルのうち、一方のチャネルによる通信状況が良好でない場合、通信条件変更処理を実行する。通信条件変更処理において制御部44は、データ通信部42を制御して通信状況が良好である良好チャネルによるデータ通信を停止し、さらに、制御通信部46を制御して良好チャネルによる制御通信を実行させる。制御通信部46は、記憶部34に記憶された優先度を用いて、通信状況が良好でないチャネルを変更するための制御通信を実行する。   The control unit 44 executes a communication condition changing process when the communication state of one of the A channel and the B channel is not good. In the communication condition change process, the control unit 44 controls the data communication unit 42 to stop data communication using a good channel with good communication status, and further controls the control communication unit 46 to execute control communication using a good channel. Let The control communication unit 46 uses the priority stored in the storage unit 34 to execute control communication for changing a channel whose communication status is not good.

通信品質測定部48、テスト実行部50および優先度決定部52は、無線部28と共に優先度決定処理を実行する。   The communication quality measurement unit 48, the test execution unit 50, and the priority determination unit 52 execute priority determination processing together with the wireless unit 28.

通信品質測定部48は、通信処理部40が用いる複数種のチャネル(データ通信条件)について通信品質を測定する。すなわち、通信品質測定部48は、複数の異なるチャネルのそれぞれについて無線部28で受信された各テストパケットを無線部28から取得するテスト処理と、異なるチャネルについて取得された複数のテストパケットのそれぞれの受信信号レベル(受信状況)に基づいて通信品質を測定する測定処理とを実行する。通信品質測定部48は、各チャネルについて測定された通信品質を記憶部34に記憶する。   The communication quality measuring unit 48 measures the communication quality for a plurality of types of channels (data communication conditions) used by the communication processing unit 40. In other words, the communication quality measuring unit 48 performs test processing for acquiring each test packet received by the wireless unit 28 for each of a plurality of different channels from the wireless unit 28 and each of the plurality of test packets acquired for different channels. Measurement processing for measuring communication quality based on the received signal level (reception status) is executed. The communication quality measuring unit 48 stores the communication quality measured for each channel in the storage unit 34.

テスト実行部50は、他の無線装置(パケット通信装置)に対しチャネルを設定させる設定パケットを生成し、その設定パケットを無線部28に送信させる設定処理と、他の無線装置に通信品質を測定させるためのテストパケットを生成し、設定パケットが定めるチャネルでそのテストパケットを無線部28に送信させるテスト送信処理とを実行する。   The test execution unit 50 generates a setting packet for causing other wireless devices (packet communication devices) to set a channel, transmits the setting packet to the wireless unit 28, and measures the communication quality of the other wireless devices. And a test transmission process for transmitting the test packet to the wireless unit 28 through a channel defined by the setting packet.

優先度決定部52は、各チャネルについて記憶部34に記憶された通信品質に基づいて、各チャネルの優先度を求め、各チャネルについて求めた優先度を記憶部34に記憶する。   The priority determination unit 52 obtains the priority of each channel based on the communication quality stored in the storage unit 34 for each channel, and stores the obtained priority for each channel in the storage unit 34.

(7)通信条件として通信レートを変更する処理
上記では、通信条件変更処理において、通信状況が良好でない一方のチャネルを、同一周波数帯内の別のチャネルに変更するものとした。このような処理に代えて、通信状況が良好でない一方のチャネルの通信レート(単位時間当たりに伝送される情報量)を変更する処理を実行してもよい。例えば、AチャネルおよびBチャネルのうち一方による通信状況が良好でない場合、通信状況が良好なチャネルによる制御通信を行い、通信状況が良好でない一方のチャネルにおける通信レートを小さくする。第1無線装置がデータパケットの送信側であり、Aチャネルの通信状況が良好でない場合、制御通信は次のようにして行われる。
(7) Process for changing communication rate as communication condition In the above, in the communication condition change process, one channel whose communication status is not good is changed to another channel in the same frequency band. Instead of such processing, processing for changing the communication rate (the amount of information transmitted per unit time) of one channel whose communication status is not good may be executed. For example, when the communication status of one of the A channel and the B channel is not good, control communication is performed using a channel with a good communication status, and the communication rate in one channel with a poor communication status is reduced. When the first wireless device is the data packet transmission side and the communication status of the A channel is not good, control communication is performed as follows.

図1に示された第1無線装置10は、Bチャネルの無線信号によって通信レート変更要求パケットを第2無線装置12に送信する。通信レート変更要求パケットは、変更後の通信レートを示す情報等を含む。ここでは、通信レート変更要求パケットは、変更後の通信レートとして、通常の通信レートよりも値が小さい低通信レートを示す情報を含む。通信レート変更要求パケットを受信した第2無線装置12は、Aチャネルの通信レートを低通信レートに変更すると共に、Bチャネルの無線信号によって通信レート変更了承パケットを第1無線装置10に送信する。通信レート変更了承パケットを受信した第1無線装置10は、Aチャネルの通信レートを低通信レートに変更する。これによって、Aチャネルの通信レートが低通信レートに変更される。   The first radio apparatus 10 illustrated in FIG. 1 transmits a communication rate change request packet to the second radio apparatus 12 using a B channel radio signal. The communication rate change request packet includes information indicating the communication rate after the change. Here, the communication rate change request packet includes information indicating a low communication rate having a value smaller than the normal communication rate as the communication rate after the change. The second wireless device 12 that has received the communication rate change request packet changes the communication rate of the A channel to a low communication rate, and transmits a communication rate change approval packet to the first wireless device 10 by a wireless signal of the B channel. The first wireless device 10 that has received the communication rate change acknowledgment packet changes the communication rate of the A channel to a low communication rate. As a result, the communication rate of the A channel is changed to a low communication rate.

なお、制御通信を実行する各無線装置は、Aチャネルの通信レートを低通信レートに変更した後、所定時間経過後に、通信レートを元の通常の値に戻す処理を実行してもよい。これによって、一時的な通信状況の劣化に対処することができると共に、通信可能な情報量が長時間に亘って低下することが回避される。この場合、第1無線装置10は、Bチャネルの無線信号によって通信レート変更要求パケットを第2無線装置12に送信する。このチャネル変更要求パケットは、変更後の通信レートとして、通常の通信レートを示す情報を含む。通信レート変更要求パケットを受信した第2無線装置12は、Aチャネルの通信レートを通常の通信レートに変更すると共に、Bチャネルの無線信号によって通信レート変更了承パケットを第1無線装置10に送信する。通信レート変更了承パケットを受信した第1無線装置10は、Aチャネルの通信レートを通常の通信レートに変更する。これによって、Aチャネルの通信レートが通常の通信レートに戻される。   Each wireless device that executes control communication may execute processing for returning the communication rate to the original normal value after a predetermined time has elapsed after changing the communication rate of the A channel to the low communication rate. As a result, it is possible to cope with a temporary deterioration of the communication state and to avoid a reduction in the amount of communicable information over a long period of time. In this case, the first radio apparatus 10 transmits a communication rate change request packet to the second radio apparatus 12 using a B channel radio signal. This channel change request packet includes information indicating a normal communication rate as the changed communication rate. Receiving the communication rate change request packet, the second wireless device 12 changes the communication rate of the A channel to the normal communication rate, and transmits a communication rate change acknowledgment packet to the first wireless device 10 using the B channel wireless signal. . The first wireless device 10 that has received the communication rate change acknowledgment packet changes the communication rate of the A channel to a normal communication rate. As a result, the communication rate of the A channel is returned to the normal communication rate.

通信レートを変更する通信条件変更処理において、第2無線装置12がデータパケットの送信側である場合には、上記の説明において第1無線装置10が実行する処理を第2無線装置12が実行し、第1無線装置10が実行する処理を第2無線装置12が実行する。Bチャネルの通信状況が良好でない場合、各無線装置は、上記の説明においてAチャネルとBチャネルとが入れ換えられた処理を実行する。   In the communication condition changing process for changing the communication rate, when the second wireless device 12 is the data packet transmitting side, the second wireless device 12 executes the processing executed by the first wireless device 10 in the above description. The second wireless device 12 executes the process executed by the first wireless device 10. When the communication status of the B channel is not good, each wireless device executes processing in which the A channel and the B channel are interchanged in the above description.

通信レートを変更する場合、図6に示される制御部44は、データ通信部42を制御して通信状況が良好である良好チャネルによるデータ通信を停止し、さらに、制御通信部46を制御して良好チャネルによる制御通信を実行させる。この制御通信によって、良好でないチャネルにおける通信レートが変更される。   When changing the communication rate, the control unit 44 shown in FIG. 6 controls the data communication unit 42 to stop data communication using a good channel with a good communication status, and further controls the control communication unit 46. Control communication is performed using a good channel. By this control communication, the communication rate in the poor channel is changed.

(8)3つ以上の周波数帯を用いた通信
上記では、第1無線装置10および第2無線装置12が、2つの周波数帯を用いて通信を行う処理について説明した。各無線装置は3つ以上の周波数帯を用いて通信を行ってもよい。この場合、第1無線装置10および第2無線装置12は、複数の周波数帯のそれぞれに含まれるチャネルによって冗長通信を行う。複数の周波数帯のうち、一つの周波数帯(第1周波数帯)を用いたデータ通信の状況が所定条件を満たさなくなった場合には、データパケットの送信側の無線装置は、他の周波数帯(第2周波数帯)を用いたデータ通信を停止する。そして、第2周波数帯を用いた制御通信によって、第1周波数帯を用いたデータ通信の通信条件を変更する。データパケットの送信側の無線装置は、第1周波数帯を用いたデータ通信の状況が所定条件を満たすようになるまで通信条件の変更を繰り返し行う。第1周波数帯を用いたデータ通信の状況が所定条件を満たしたときに、第1無線装置10および第2無線装置12は冗長通信を再開する。
(8) Communication using three or more frequency bands In the above description, the process in which the first radio apparatus 10 and the second radio apparatus 12 perform communication using two frequency bands has been described. Each wireless device may perform communication using three or more frequency bands. In this case, the first radio apparatus 10 and the second radio apparatus 12 perform redundant communication using channels included in each of a plurality of frequency bands. When the status of data communication using one frequency band (first frequency band) out of a plurality of frequency bands does not satisfy the predetermined condition, the radio device on the data packet transmission side transmits another frequency band ( Data communication using the second frequency band) is stopped. Then, the communication conditions for data communication using the first frequency band are changed by control communication using the second frequency band. The wireless device on the data packet transmission side repeatedly changes the communication condition until the state of data communication using the first frequency band satisfies a predetermined condition. When the status of data communication using the first frequency band satisfies a predetermined condition, the first radio apparatus 10 and the second radio apparatus 12 resume redundant communication.

3つ以上の周波数帯を用いた通信を行う場合、各無線装置は、パケットを送受信する無線部を各周波数帯ごとに備えるものとしてもよい。1つの実施形態として、各無線装置は、Aチャネル無線部およびBチャネル無線部に加え、各周波数帯に対する無線部を追加した構成とする。   When performing communication using three or more frequency bands, each wireless device may include a wireless unit that transmits and receives packets for each frequency band. As one embodiment, each radio apparatus has a configuration in which a radio unit for each frequency band is added to the A channel radio unit and the B channel radio unit.

(9)チャネルおよび通信レートの両方を変更する通信条件変更処理
上記では、通信条件変更処理においてチャネル変更する処理、および、通信レートを変更する処理について説明した。これらの処理は組み合わせてもよい。すなわち、チャネルを変更する処理、および通信レートを変更する処理を適宜組み合わせた処理を実行してもよい。
(9) Communication condition changing process for changing both channel and communication rate In the above, the process for changing the channel and the process for changing the communication rate in the communication condition changing process have been described. These processes may be combined. That is, a process of appropriately combining a process of changing a channel and a process of changing a communication rate may be executed.

この場合、優先度決定処理では、第1無線装置および第2無線装置は、複数種の通信レートのそれぞれについて、1・2方向測定処理および2・1方向測定処理を実行する。すなわち、第1無線装置および第2無線装置は、第1の通信レートR1については、テストパケットを送信する際の通信レートをR1として、1・2方向測定処理および2・1方向測定処理を実行する。また、第1無線装置および第2無線装置は、第2の通信レートR2については、テストパケットを送信する際の通信レートをR2として、1・2方向測定処理および2・1方向測定処理を実行する。以降、同様にして、第iの通信レートRiについては、テストパケットを送信する際の通信レートをRiとして、1・2方向測定処理および2・1方向測定処理を実行する。   In this case, in the priority determination process, the first radio apparatus and the second radio apparatus execute the 1 · 2 direction measurement process and the 2 · 1 direction measurement process for each of a plurality of types of communication rates. That is, for the first communication rate R1, the first wireless device and the second wireless device perform the 1 · 2 direction measurement processing and the 2 · 1 direction measurement processing with the communication rate at the time of transmitting the test packet as R1. To do. In addition, the first wireless device and the second wireless device execute the 1 · 2 direction measurement process and the 2 · 1 direction measurement process for the second communication rate R2 with the communication rate at the time of transmitting the test packet as R2. To do. Thereafter, similarly, for the i-th communication rate Ri, the communication rate at the time of transmitting the test packet is set to Ri, and the 1 · 2 direction measurement process and the 2 · 1 direction measurement process are executed.

これによって、第1無線装置および第2無線装置は、Aチャネルα1〜αNおよびBチャネルβ1〜βMの各チャネルに対し、複数種の通信レートのそれぞれについて、1・2通信方向の優先度および2・1通信方向の優先度を求める。   As a result, the first wireless device and the second wireless device have a priority of 1 or 2 communication directions and 2 for each of a plurality of types of communication rates with respect to each of the A channels α1 to αN and the B channels β1 to βM.・ Determine the priority of one communication direction.

制御通信を実行する第1無線装置および第2無線装置は、通信状況が良好でない一方のチャネルを同一周波数帯内の別のチャネルに変更すると共に、必要に応じて通信レートも変更する。   The first wireless device and the second wireless device that perform control communication change one channel with poor communication status to another channel in the same frequency band, and also change the communication rate as necessary.

変更先のチャネルおよび通信レートの選択は、優先度決定処理によって求められた優先度に基づいて行う。すなわち、Bチャネルを用いたA周波数帯に対する制御通信では、A周波数帯内の複数のチャネルと、複数の通信レートとの複数通りの組み合わせ(以下、チャネルおよび通信レートの組を通信条件という。)のうち、現時点で用いている通信条件を除いて優先度が最も大きいものを選択する。そして、A周波数帯の通信条件をその選択された通信条件に変更する。変更後の通信条件での通信状況が良好でない場合には、次に優先度が大きい通信条件を選択し、A周波数帯の通信条件をその選択された通信条件に変更する。通信条件が変更された後、通信状況が良好になった場合に、第1無線装置および第2無線装置は、Bチャネルによるデータ通信を再開し、冗長通信を再開する。   The channel to be changed and the communication rate are selected based on the priority obtained by the priority determination process. That is, in control communication for the A frequency band using the B channel, a plurality of combinations of a plurality of channels in the A frequency band and a plurality of communication rates (hereinafter, a set of channels and communication rates is referred to as a communication condition). Among them, the one having the highest priority is selected except for the communication conditions currently used. Then, the communication condition of the A frequency band is changed to the selected communication condition. If the communication condition under the changed communication condition is not good, the communication condition with the next highest priority is selected, and the communication condition of the A frequency band is changed to the selected communication condition. When the communication condition becomes good after the communication condition is changed, the first wireless device and the second wireless device resume data communication using the B channel and resume redundant communication.

同様に、Aチャネルを用いたB周波数帯に対する制御通信では、B周波数帯の複数の通信条件のうち、現時点で用いている通信条件を除いて優先度が最も大きいものを選択する。そして、B周波数帯の通信条件をその選択された通信条件に変更する。変更後の通信条件での通信状況が良好でない場合には、次に優先度が大きい通信条件を選択し、B周波数帯の通信条件をその選択された通信条件に変更する。通信条件が変更された後、通信状況が良好になった場合に、第1無線装置および第2無線装置は、Aチャネルによるデータ通信を再開し、冗長通信を再開する。   Similarly, in the control communication for the B frequency band using the A channel, the communication with the highest priority is selected from the plurality of communication conditions for the B frequency band except for the communication conditions currently used. Then, the communication condition of the B frequency band is changed to the selected communication condition. If the communication status under the changed communication conditions is not good, the communication condition with the next highest priority is selected, and the communication condition for the B frequency band is changed to the selected communication condition. When the communication condition becomes good after the communication condition is changed, the first wireless device and the second wireless device resume data communication using the A channel and resume redundant communication.

10 第1無線装置、12 第2無線装置、14,20,36 Aチャネル無線部、16,22,38 Bチャネル無線部、18,24,30 測定用受信部、26 無線装置、28 無線部、32 信号処理ユニット、34 記憶部、39 送信部、40 通信処理部、41 受信部、42 データ通信部、44 制御部、46 制御通信部、48 通信品質測定部、50 テスト実行部、52 優先度決定部。
10 first wireless device, 12 second wireless device, 14, 20, 36 A channel wireless unit, 16, 22, 38 B channel wireless unit, 18, 24, 30 measurement receiving unit, 26 wireless device, 28 wireless unit, 32 signal processing unit, 34 storage unit, 39 transmission unit, 40 communication processing unit, 41 reception unit, 42 data communication unit, 44 control unit, 46 control communication unit, 48 communication quality measurement unit, 50 test execution unit, 52 priority Decision part.

Claims (6)

パケットを送受信する無線部と、
前記無線部にデータ通信用パケットを送受信させてデータ通信を行う通信処理部と、
前記通信処理部における複数種の通信条件について通信品質を測定する通信品質測定部と、を備え、
前記通信品質測定部は、
複数の異なる通信条件のそれぞれについて前記無線部で受信された各テストパケットを取得するテスト処理と、
異なる通信条件について取得された複数の前記テストパケットのそれぞれの受信状況に基づいて前記通信品質を測定する測定処理と、を実行し、
前記通信処理部は、
前記通信品質に基づいてデータ通信条件を決定することを特徴とする無線装置。
A wireless unit that transmits and receives packets;
A communication processing unit that performs data communication by causing the wireless unit to transmit and receive data communication packets; and
A communication quality measuring unit for measuring communication quality for a plurality of types of communication conditions in the communication processing unit,
The communication quality measurement unit
A test process for acquiring each test packet received by the wireless unit for each of a plurality of different communication conditions;
Measuring the communication quality based on the reception status of each of the plurality of test packets acquired for different communication conditions, and
The communication processing unit
A wireless device that determines data communication conditions based on the communication quality.
請求項1に記載の無線装置において、
前記通信処理部は、
複数の周波数帯で前記無線部にデータ通信用パケットを送受信させて、当該複数の周波数帯で同一のデータ通信を行う冗長通信と、
前記複数の周波数帯のうち、1つの周波数帯を用いたデータ通信の状況が所定条件を満たさなくなった場合に、他の周波数帯を用いたデータ通信を停止し、当該他の周波数帯で前記無線部に制御用パケットを送受信させて制御通信を行い、当該1つの周波数帯についての前記データ通信条件を変更する変更処理と、
前記変更処理を実行した後に、前記冗長通信を再開する再開処理と、を実行し、
前記変更処理は、
前記通信品質に基づいて、前記データ通信条件を変更する処理を含むことを特徴とする無線装置。
The wireless device according to claim 1, wherein
The communication processing unit
Redundant communication for transmitting and receiving data communication packets to and from the wireless unit in a plurality of frequency bands, and performing the same data communication in the plurality of frequency bands;
When the status of data communication using one frequency band among the plurality of frequency bands does not satisfy a predetermined condition, data communication using another frequency band is stopped, and the wireless communication is performed in the other frequency band. Changing the data communication condition for the one frequency band, by performing control communication by causing the unit to transmit and receive control packets;
After executing the change process, perform a restart process to resume the redundant communication,
The change process is
A wireless device comprising a process of changing the data communication condition based on the communication quality.
パケットを無線送信する送信部と、
パケットの送信先であるパケット通信装置に通信条件を設定させる設定パケットを生成し、その設定パケットを前記送信部に送信させる設定処理、および、前記パケット通信装置に受信状況を測定させるためのテストパケットを生成し、前記設定パケットが定める通信条件でそのテストパケットを前記送信部に送信させるテスト送信処理、を実行するテスト実行部と、を備え、
前記テスト実行部は、
複数の異なる通信条件のそれぞれについて前記設定処理および前記テスト送信処理を実行することを特徴とする無線装置。
A transmitter that wirelessly transmits packets;
A setting packet that causes a packet communication device that is a packet transmission destination to set communication conditions, a setting process that causes the transmission unit to transmit the setting packet, and a test packet that causes the packet communication device to measure a reception status And a test execution unit that executes a test transmission process for transmitting the test packet to the transmission unit under communication conditions defined by the setting packet,
The test execution unit
A wireless device that executes the setting process and the test transmission process for each of a plurality of different communication conditions.
前記パケット通信装置は、前記設定パケットを受信したときに前記設定パケットによって定められる通信条件でパケットを受信する状態となり、異なる通信条件で受信した複数の前記テストパケットのそれぞれの受信状況に基づいてデータ通信条件を決定する、請求項3に記載の無線装置において、
パケットを無線受信する受信部と、
前記パケット通信装置と共に決定した前記データ通信条件に従って前記送信部および前記受信部にデータ通信用パケットを送受信させて、前記パケット通信装置との間でデータ通信を行う通信処理部と、を備えることを特徴とする無線装置。
The packet communication device is in a state of receiving a packet under communication conditions determined by the setting packet when the setting packet is received, and data based on a reception status of each of the plurality of test packets received under different communication conditions. The wireless device according to claim 3, wherein communication conditions are determined.
A receiver for wirelessly receiving packets;
A communication processing unit that causes the transmission unit and the reception unit to transmit and receive data communication packets according to the data communication conditions determined together with the packet communication device, and performs data communication with the packet communication device. A wireless device characterized.
請求項4に記載の無線装置において、
前記テスト実行部は、前記通信処理部がデータ通信を行っていない間に、前記設定処理および前記テスト送信処理を実行することを特徴とすることを特徴とする無線装置。
The wireless device according to claim 4, wherein
The radio apparatus characterized in that the test execution unit executes the setting process and the test transmission process while the communication processing unit is not performing data communication.
請求項1から請求項5のいずれか1項に記載の無線装置において、
前記データ通信条件は、周波数チャネルまたは通信レートに関する条件を含むことを特徴とする無線装置。
The radio apparatus according to any one of claims 1 to 5,
The data communication condition includes a condition regarding a frequency channel or a communication rate.
JP2016104367A 2016-05-25 2016-05-25 Wireless device Active JP6637381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016104367A JP6637381B2 (en) 2016-05-25 2016-05-25 Wireless device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016104367A JP6637381B2 (en) 2016-05-25 2016-05-25 Wireless device

Publications (2)

Publication Number Publication Date
JP2017212590A true JP2017212590A (en) 2017-11-30
JP6637381B2 JP6637381B2 (en) 2020-01-29

Family

ID=60475725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016104367A Active JP6637381B2 (en) 2016-05-25 2016-05-25 Wireless device

Country Status (1)

Country Link
JP (1) JP6637381B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022175642A (en) * 2021-05-14 2022-11-25 アンリツ株式会社 Measuring device and measuring method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02252325A (en) * 1989-03-25 1990-10-11 Iwatsu Electric Co Ltd Communication method for travelling object communication
JP2003528488A (en) * 1999-12-30 2003-09-24 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Assigning channels to wireless transceivers
JP2004104340A (en) * 2002-09-06 2004-04-02 Matsushita Electric Ind Co Ltd Wireless reception method, wireless transmission method, and wireless receiver
JP2005039722A (en) * 2003-07-18 2005-02-10 Nippon Telegr & Teleph Corp <Ntt> Radio packet communication method
JP2005244685A (en) * 2004-02-27 2005-09-08 Hitachi Kokusai Electric Inc Radio set
JP2012227656A (en) * 2011-04-18 2012-11-15 Sii Data Service Kk Radio communication system, and use radio frequency determination method
JP2013165311A (en) * 2012-02-09 2013-08-22 Hitachi Kokusai Electric Inc Radio communication system and radio communication method
JP2016058992A (en) * 2014-09-12 2016-04-21 Necエンジニアリング株式会社 Radio communication system, mobile station device, radio communication method, and radio communication program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02252325A (en) * 1989-03-25 1990-10-11 Iwatsu Electric Co Ltd Communication method for travelling object communication
JP2003528488A (en) * 1999-12-30 2003-09-24 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Assigning channels to wireless transceivers
JP2004104340A (en) * 2002-09-06 2004-04-02 Matsushita Electric Ind Co Ltd Wireless reception method, wireless transmission method, and wireless receiver
JP2005039722A (en) * 2003-07-18 2005-02-10 Nippon Telegr & Teleph Corp <Ntt> Radio packet communication method
JP2005244685A (en) * 2004-02-27 2005-09-08 Hitachi Kokusai Electric Inc Radio set
JP2012227656A (en) * 2011-04-18 2012-11-15 Sii Data Service Kk Radio communication system, and use radio frequency determination method
JP2013165311A (en) * 2012-02-09 2013-08-22 Hitachi Kokusai Electric Inc Radio communication system and radio communication method
JP2016058992A (en) * 2014-09-12 2016-04-21 Necエンジニアリング株式会社 Radio communication system, mobile station device, radio communication method, and radio communication program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022175642A (en) * 2021-05-14 2022-11-25 アンリツ株式会社 Measuring device and measuring method

Also Published As

Publication number Publication date
JP6637381B2 (en) 2020-01-29

Similar Documents

Publication Publication Date Title
KR20230132820A (en) Anchor terminal determination method, information transmission method, communication node and storage medium
WO2016070381A1 (en) Data transmission method, resource measurement method, device and apparatus
WO2015139289A9 (en) Method, device, and user equipment for generating monitoring report
EP3481124B1 (en) Method and device for determining resource energy
JP2013168904A (en) Radio communication device, method for performing wireless communication, and computer program for making radio communication device execute wireless communication
KR101881892B1 (en) System and method to measure an error rate of a wireless local area network
JP2016100725A (en) Can (controller area network) communication system and error information storage device
JP2017212590A (en) Wireless device
WO2021018068A1 (en) Radio link monitoring method and communication device
WO2020063460A1 (en) Information processing method and terminal device
WO2023046161A1 (en) Beam failure detection method and apparatus, and terminal
JP6355116B2 (en) Method, apparatus, and system for packet loss detection
US11606282B2 (en) Method and device for detecting network reliability
WO2022063271A1 (en) Information transmission method and apparatus, resource selection method and apparatus, and electronic device
US9775069B1 (en) System for configuring distributed audio output using a designated audio device
US9742706B2 (en) Method for setting capacity of buffer
US20220104255A1 (en) Communication method, device and system, and storage medium
WO2017049719A1 (en) Channel detection method having defer period, and device
JP6346156B2 (en) Wireless device
CN106559835A (en) A kind of car networking communication means and device
KR101688719B1 (en) Communication apparatus and communication quality measurement server, and control method thereof
JP2015133688A (en) Communication controller
JP2018037763A (en) Radio equipment
JP6607194B2 (en) Setting device, setting method, setting program, communication system, client device, and server device
US10158440B1 (en) System for configuring distributed audio output using an access point

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190704

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191220

R150 Certificate of patent or registration of utility model

Ref document number: 6637381

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250