JP6032543B2 - Antenna switching reception system and corresponding transmission system - Google Patents

Antenna switching reception system and corresponding transmission system Download PDF

Info

Publication number
JP6032543B2
JP6032543B2 JP2012231916A JP2012231916A JP6032543B2 JP 6032543 B2 JP6032543 B2 JP 6032543B2 JP 2012231916 A JP2012231916 A JP 2012231916A JP 2012231916 A JP2012231916 A JP 2012231916A JP 6032543 B2 JP6032543 B2 JP 6032543B2
Authority
JP
Japan
Prior art keywords
antenna
unique word
preamble
detection unit
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012231916A
Other languages
Japanese (ja)
Other versions
JP2014086767A (en
Inventor
厳 茂住
厳 茂住
笠井 秀樹
秀樹 笠井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management 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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2012231916A priority Critical patent/JP6032543B2/en
Priority to CN201310473939.5A priority patent/CN103780299B/en
Publication of JP2014086767A publication Critical patent/JP2014086767A/en
Application granted granted Critical
Publication of JP6032543B2 publication Critical patent/JP6032543B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、無線通信システムにおいて、アンテナを切り替えて受信するアンテナ切り替え受信システム等に関する。   The present invention relates to an antenna switching reception system for switching and receiving an antenna in a wireless communication system.

無線通信システムにおいて、マルチパスフェージングによるレベル劣化が課題のひとつとして挙げられる。受信アンテナが受信する信号は、送信アンテナから直接受信アンテナに入力される信号だけではなく、複数の異なる経路を経て入力される信号も存在する。そのため、各々異なる遅延時間を持った信号(マルチパス)も受信アンテナに入力されてしまうため、受信アンテナ端で信号同士が重なり合い、打ち消し合うなどして受信レベルが劣化してしまう。これがマルチパスフェージングによるレベル劣化と称される現象である。   In wireless communication systems, level degradation due to multipath fading is one of the problems. Signals received by the receiving antenna include not only signals directly input from the transmitting antenna to the receiving antenna but also signals input through a plurality of different paths. For this reason, signals (multipaths) having different delay times are also input to the receiving antenna, so that the reception level deteriorates by overlapping and canceling signals at the receiving antenna end. This is a phenomenon called level degradation due to multipath fading.

このマルチパスフェージングによるレベル劣化の影響を回避するための代表的な方策として、OFDMなどのマルチキャリア伝送技術がある。これは伝送する情報を複数のキャリア(サブキャリア)に分けて広い周波数帯域で伝送するため、マルチパスフェージングによるレベル劣化の影響を低減できるという技術である。しかしながら、OFDM伝送ではフーリエ逆変換及びフーリエ変換により周波数軸と時間軸を変換して処理する複雑な構成が必要となり回路規模が増大してしまうため、低コスト化を図るのが困難であるという欠点があった。   As a representative measure for avoiding the influence of level deterioration due to multipath fading, there is a multicarrier transmission technique such as OFDM. This is a technology that can reduce the influence of level degradation due to multipath fading because information to be transmitted is divided into a plurality of carriers (subcarriers) and transmitted in a wide frequency band. However, in OFDM transmission, it is difficult to reduce the cost because it requires a complicated configuration for processing by transforming the frequency axis and time axis by inverse Fourier transform and Fourier transform, which increases the circuit scale. was there.

また、複数のアンテナを切り替える「切り替えダイバーシチ」、「選択ダイバーシチ」及び各アンテナでの受信信号を合成する「合成ダイバーシチ」による対策がある。これらはマルチパスフェージングによる影響は受信器の場所や電波の偏波面などによって異なることを利用した方策である。「選択ダイバーシチ」は、複数のアンテナでの受信レベルを監視しておき、最適なアンテナで信号を受信する技術であるが、アンテナの個数分の受信器が必要となるため回路規模が大きくなるという欠点があった。また、「合成ダイバーシチ」は複数のアンテナで受信した信号の位相を揃えて合成する技術であるが、こちらもアンテナの個数分の受信器及び各信号の位相を合わせる移相器が必要となるため回路規模が大きくなるという欠点があった。   In addition, there are measures by “switching diversity”, “selective diversity” for switching a plurality of antennas, and “combining diversity” for combining received signals at each antenna. These measures are based on the fact that the effects of multipath fading differ depending on the location of the receiver and the plane of polarization of the radio wave. “Selective diversity” is a technology that monitors reception levels at multiple antennas and receives signals with optimal antennas, but requires as many receivers as the number of antennas, which increases the circuit scale. There were drawbacks. “Combining diversity” is a technology that combines the phases of signals received by multiple antennas, but this also requires as many receivers as the number of antennas and a phase shifter that matches the phases of each signal. There was a drawback that the circuit scale was increased.

「切り替えダイバーシチ」は一方のアンテナでマルチパスフェージングの影響がある場合は、もう一方のアンテナに切り替えることによりマルチパスフェージングの影響を低減するという技術である。近年、携帯用無線機器の普及により、アンテナ切替部も小型化や低コスト化が要求されており、1つの受信機で構成できるため、開発が容易で回路規模が小さく低コスト化が図れる「切り替えダイバーシチ」が様々な無線器に搭載されている。   “Switching diversity” is a technique for reducing the influence of multipath fading by switching to the other antenna when one antenna has the influence of multipath fading. In recent years, with the widespread use of portable wireless devices, the antenna switching unit is also required to be downsized and reduced in cost, and can be configured with a single receiver. Diversity "is installed in various radio devices.

しかしながら、「切り替えダイバーシチ」においては、切り替え先のアンテナでの受信レベルはアンテナを切り替えるまで分からない。そのため、もし切り替え先のアンテナでの受信レベルがさらに低かった場合には、より劣悪な条件で信号を受信しなければならないという欠点がある。   However, in “switching diversity”, the reception level at the switching destination antenna is not known until the antenna is switched. For this reason, if the reception level at the antenna to be switched to is lower, there is a disadvantage that the signal must be received under worse conditions.

さらに無線LANでは、複数のパケット(フレーム:プリアンブル、ユニークワード、ペイロードを構成する信号の一塊)を受信し、エラーが複数のパケットに亘って検出された際にアンテナを切り替えるシステムを基本としている。つまり、エラーが発生した後にアンテナを切り替え、発生したエラーに対しては再度同じパケットを送信器から送ってもらうことにより対応している(再送機能)。しかしながら、マルチパスフェージングにより通信環境が劣悪な状況では再送回数が増え、複数の機器と通信し、次々に新しいペイロード信号を受信する必要がある機器には不向きとなる。   Further, the wireless LAN is based on a system that receives a plurality of packets (frame: a set of signals constituting a preamble, a unique word, and a payload) and switches an antenna when an error is detected over a plurality of packets. In other words, the antenna is switched after an error occurs, and the generated error is dealt with by sending the same packet again from the transmitter (retransmission function). However, in a situation where the communication environment is poor due to multipath fading, the number of retransmissions increases, making it unsuitable for devices that need to communicate with multiple devices and receive new payload signals one after another.

「切り替えダイバーシチ」の上記欠点を克服するために、種々の提案がなされている。例えば、特許文献1には、複数のアンテナを切り替えて無線信号を受信するアンテナ切り替え受信システムにおいて、所定周期でアンテナを切り替えながら受信した無線信号の品質を比較して、ペイロードを受信するアンテナを選択する技術が提案されている。   Various proposals have been made to overcome the above-mentioned drawbacks of “switching diversity”. For example, in Patent Document 1, in an antenna switching reception system that switches a plurality of antennas to receive radio signals, the quality of received radio signals is compared while switching antennas at a predetermined cycle, and an antenna that receives a payload is selected. Techniques to do this have been proposed.

上記特許文献1において、図6乃至図9等には、複数ユニークワード検出部が複数種類のユニークワードを個別に検出し、検出したユニークワードに応じて異なるアンテナ選択動作を実行することにより、適正にアンテナを選択する技術が開示されている。複数種類のユニークワードUW1乃至UW4は、相異なるビット列で構成され、複数ユニークワード検出部は、ユニークワードUW1乃至UW4を同時に待ち受け、パケットに含まれるUW1乃至UW4を検出する。   In Patent Document 1, FIGS. 6 to 9 and the like show that the plurality of unique word detection units individually detect a plurality of types of unique words and execute different antenna selection operations according to the detected unique words. Discloses a technique for selecting an antenna. The plurality of types of unique words UW1 to UW4 are composed of different bit strings, and the plurality of unique word detection units simultaneously wait for the unique words UW1 to UW4 and detect UW1 to UW4 included in the packet.

WO2012/028917号公報WO2012 / 028917

上述したような、複数種類のユニークワードUW1乃至UW4を同時に待ち受ける処理は、受信システムにとって負担が重く、この処理を実行する複数ユニークワード検出部には相応の負荷が掛けられる。そのため、上記特許文献1において複数ユニークワード検出部を含むベースバンド部には、比較的高度なスペックを備えたCPU( Central Processing Unit)が適用されている。また通信時の伝送速度が速くなればなる程、さらに高度なCPUの適用が求められる。   The process of simultaneously waiting for a plurality of types of unique words UW1 to UW4 as described above places a heavy burden on the receiving system, and a plurality of unique word detection units that execute this process are subjected to a corresponding load. Therefore, a CPU (Central Processing Unit) having relatively high specifications is applied to the baseband unit including a plurality of unique word detection units in Patent Document 1. Further, the higher the transmission speed during communication, the more advanced CPU application is required.

しかしながら、処理能力の高い高度なスペックを備えたCPUはコストが嵩むため、無線通信システムの製造コストの低減を阻む一因となっている。また、近年の無線通信システムには、多種多様な機能が組み込まれる傾向にあるところ、複数のユニークワードを検出するためにCPUが使用されると、他の機能の実行が一時的に阻害される虞が生ずる。   However, since a CPU with high specifications and high specifications has a high cost, it is one factor that hinders the reduction of the manufacturing cost of the wireless communication system. Also, recent wireless communication systems tend to incorporate a wide variety of functions. When a CPU is used to detect a plurality of unique words, execution of other functions is temporarily hindered. There is a fear.

本発明は、上記課題を解決するためになされたものである。すなわち、負担の重い処理を伴うことなく、簡素かつ安価な構成で、正確に信号品質の高いアンテナを選択することにより、マルチパスフェージングによるレベル変動の影響を低減できるアンテナ切り替え受信システム等を提供することを目的とする。   The present invention has been made to solve the above problems. That is, it is possible to provide an antenna switching reception system and the like that can reduce the influence of level fluctuations due to multipath fading by accurately selecting an antenna with high signal quality with a simple and inexpensive configuration without heavy processing. For the purpose.

上記目的を達成するために本発明のアンテナ切り替え受信システムは、複数のアンテナの切り替えを制御するアンテナ制御部と、アンテナを択一的に切り替えながら受信した無線信号を検索して、予め設定されているユニークワードのビット列と同一のビット列を検出するビット列検出部と、各アンテナ毎に受信した無線信号の品質を検出する信号品質検出部とを備え、前記ビット列検出部が同一のビット列から成る複数の第1ユニークワードのうちいずれかの第1ユニークワードを第1所定時間内に検出したとき、前記信号品質検出部は、受信した無線信号の品質を検出し、前記アンテナ制御部がアンテナを切り替えた後、前記ビット列検出部が前記いずれかの第1ユニークワードとは別の第1ユニークワードを第2所定時間内に検索することにより、前記信号品質検出部は、切り替えたアンテナで受信した無線信号の品質を検出し、前記アンテナ制御部は、前記信号品質検出部によって検出された信号品質が高いアンテナを選択して、その後のペイロードを受信するアンテナ切り替え受信システムであって、前記第1ユニークワードは、前記複数のアンテナの数の2倍だけ送信され、前記複数のアンテナは、それぞれ、最初に前記第1ユニークワードが検出されるまでは、前記第1ユニークワードの前に送信されるプリアンブル及び前記第1ユニークワードの送信周期の2倍の周期で切り替えられることを特徴とする。 In order to achieve the above object, the antenna switching reception system of the present invention searches for an antenna control unit that controls switching of a plurality of antennas and a received radio signal while switching antennas, and is set in advance. A bit string detection unit that detects the same bit string as the bit string of the unique word and a signal quality detection unit that detects the quality of the radio signal received for each antenna, and the bit string detection unit includes a plurality of When any one of the first unique words is detected within the first predetermined time, the signal quality detection unit detects the quality of the received radio signal, and the antenna control unit switches the antenna. Thereafter, the bit string detection unit searches for a first unique word different from any one of the first unique words within a second predetermined time. The signal quality detection unit detects the quality of the radio signal received by the switched antenna, and the antenna control unit selects an antenna having a high signal quality detected by the signal quality detection unit, and then Antenna receiving system, wherein the first unique word is transmitted by twice the number of the plurality of antennas, and each of the plurality of antennas is first detected by the first unique word. Until the first unique word is switched, the preamble is transmitted before the first unique word and the transmission period is twice as long as the transmission period of the first unique word.

この発明において、前記アンテナ制御部が前記信号品質が高いアンテナを選択した後、前記ビット列検出部が、第3所定時間内に前記第1ユニークワードとは異なる第2ユニークワードを検出すると、前記アンテナ制御部は、アンテナを固定したまま、その後のペイロードを受信することが好ましい。   In this invention, after the antenna control unit selects an antenna having a high signal quality, the antenna detects when the bit string detection unit detects a second unique word different from the first unique word within a third predetermined time. The control unit preferably receives the subsequent payload while the antenna is fixed.

この発明において、前記第1所定時間は、前記第1ユニークワード及び該第1ユニークワードの前に受信するプリアンブルの2周期分の時間に相当し、前記第2所定時間は、前記第1ユニークワード及び前記プリアンブルの1周期分以上の時間に相当することが好ましい。   In the present invention, the first predetermined time corresponds to a time corresponding to two cycles of the first unique word and a preamble received before the first unique word, and the second predetermined time is the first unique word. It is preferable to correspond to a time of one cycle or more of the preamble.

この発明において、前記第3所定時間は、前記プリアンブル及び前記第1ユニークワードの3周期分以上の時間に、前記第2ユニークワード及び該第2ユニークワードの前に受信するプリアンブルの1周期分の時間を加えた時間に相当することが好ましい。   In the present invention, the third predetermined time is one cycle of the preamble received before the second unique word and the second unique word at a time equal to or longer than three cycles of the preamble and the first unique word. It is preferable to correspond to the time added.

この発明において、前記ペイロードに含まれるヘッダを検出するヘッダ検出部と、前記ペイロードに含まれるデータを検出するデータ検出部をさらに備え、前記ヘッダ検出部が、第4所定時間内に前記ヘッダの検出を完了できないとき、ペイロードのデータを受信することなく、再びアンテナを切り替えながら、前記ビット列検出部による前記第1ユニークワードの検出動作に復帰することが好ましい。   In this invention, it further includes a header detection unit that detects a header included in the payload, and a data detection unit that detects data included in the payload, and the header detection unit detects the header within a fourth predetermined time. It is preferable to return to the detection operation of the first unique word by the bit string detection unit while switching the antenna again without receiving the payload data.

この発明において、前記ヘッダに含まれるレングスに基づいて前記データを検出するためのデータ受信時間を更新する受信時間更新部をさらに備え、前記データ検出部が、前記受信時間更新部によって更新されたデータ受信時間内に前記データの検出を完了できないとき、再びアンテナを切り替えながら、前記ビット列検出部による前記第1ユニークワードの検出動作に復帰することが好ましい。   In this invention, it further includes a reception time update unit that updates a data reception time for detecting the data based on a length included in the header, and the data detection unit is updated by the reception time update unit. When the detection of the data cannot be completed within the reception time, it is preferable to return to the operation of detecting the first unique word by the bit string detection unit while switching the antenna again.

また、本発明の送信システムは、前記アンテナ切り替え受信システムに対応し、前記複数のアンテナの数の2倍だけ、前記第1ユニークワードを前記ペイロードの前に送信するものである。 The transmission system according to the present invention corresponds to the antenna switching reception system, and transmits the first unique word before the payload by twice the number of the plurality of antennas .

この発明において、前記複数の第1ユニークワードを送信した後、前記第2ユニークワードを前記ペイロードの前に送信することが好ましい。   In this invention, it is preferable to transmit the second unique word before the payload after transmitting the plurality of first unique words.

本発明のアンテナ切り替え受信システムによれば、ビット列検出部が、同時に複数種類のユニークワードを待ち受ける必要がないため、ビット列検出部の処理負担が軽減される。これにより、高価なCPUに替えて、低スペックなIC等によってビット列検出部を構成しながらも、正確に信号品質の高いアンテナを選択することができ、簡素かつ安価な構成で、マルチパスフェージングによるレベル変動の影響を低減できる。また、切り替えたアンテナで第1ユニークワードを検出する動作を第2所定時間に留めているので、ビット列検出部の処理負担を軽減できる。また、一方のアンテナでしか信号を受信できない場合にも問題無く対応可能である。切り替えたアンテナで受信した無線信号の品質が第1ユニークワードを検出できるレベルに達していない場合であっても、第2所定時間の経過後に、第1ユニークワードの検出を中止して、第2ユニークワードの検出の準備に移行できるからである。   According to the antenna switching reception system of the present invention, it is not necessary for the bit string detection unit to wait for a plurality of types of unique words at the same time, so the processing load on the bit string detection unit is reduced. As a result, instead of an expensive CPU, a bit string detection unit can be configured with a low-spec IC or the like, and an antenna with high signal quality can be selected accurately. With a simple and inexpensive configuration, multipath fading can be used. The effect of level fluctuation can be reduced. Moreover, since the operation | movement which detects a 1st unique word with the switched antenna is stopped for the 2nd predetermined time, the processing burden of a bit string detection part can be reduced. In addition, even when a signal can be received by only one antenna, it can be handled without any problem. Even if the quality of the radio signal received by the switched antenna does not reach a level at which the first unique word can be detected, the detection of the first unique word is stopped after the second predetermined time has passed, This is because preparation can be made for detection of a unique word.

本発明の一実施形態によるアンテナ切り替え受信システムが適用されるHEMSの概念を示すブロック図。The block diagram which shows the concept of HEMS to which the antenna switching receiving system by one Embodiment of this invention is applied. 同アンテナ切り替え受信システム及びそれに対応する送信システムを備え、同HEMSを構成するHEMSコントローラ並びに各種の家電機器の概略構成を示すブロック図。The block diagram which shows the schematic structure of the HEMS controller which comprises the antenna switching reception system and its transmission system, and comprises the HEMS, and various household appliances. 同アンテナ切り替え受信システムの構成を示すブロック図。The block diagram which shows the structure of the antenna switching reception system. 同実施形態において、対応する送信システムから送信される信号と、同アンテナ切り替え受信システムによって切り替えられるアンテナと、各アンテナによって受信される信号と、その受信レベルの推移を示す図。The figure which shows the transition of the signal transmitted from the corresponding transmission system in the same embodiment, the antenna switched by the same antenna switching receiving system, the signal received by each antenna, and its reception level. 同実施形態において、対応する送信システムから送信される信号と、同アンテナ切り替え受信システムによって切り替えられるアンテナと、各アンテナによって受信される信号と、その受信レベルの推移を示す別の図。In the same embodiment, another figure which shows the transition of the signal transmitted from the corresponding transmission system, the antenna switched by the same antenna switching reception system, the signal received by each antenna, and its reception level. 同実施形態において、対応する送信システムから送信される信号と、同アンテナ切り替え受信システムによって切り替えられるアンテナと、各アンテナによって受信される信号と、その受信レベルの推移を示すさらに別の図。In the same embodiment, another figure which shows the transition of the signal transmitted from the corresponding transmission system, the antenna switched by the same antenna switching reception system, the signal received by each antenna, and its reception level. 同実施形態において、対応する送信システムから送信される信号と、同アンテナ切り替え受信システムによって切り替えられるアンテナと、各アンテナによって受信される信号と、その受信レベルの推移を示すさらに別の図。In the same embodiment, another figure which shows the transition of the signal transmitted from the corresponding transmission system, the antenna switched by the same antenna switching reception system, the signal received by each antenna, and its reception level. 同アンテナ切り替え受信システムの動作を示すフローチャート。The flowchart which shows operation | movement of the antenna switching reception system. 同アンテナ切り替え受信システムによって受信されるペイロードの構成を示す図。The figure which shows the structure of the payload received by the same antenna switching reception system. 図8における#1乃至#7の動作の一例を詳細に示すフローチャート。9 is a flowchart showing in detail an example of operations of # 1 to # 7 in FIG. 図8における#9乃至#14の動作の一例を詳細に示すフローチャート。9 is a flowchart showing in detail an example of operations of # 9 to # 14 in FIG. 図8における#20乃至#23の動作の一例を詳細に示すフローチャート。The flowchart which shows an example of operation | movement of # 20 thru | or # 23 in FIG. 8 in detail. 図8における#23の動作の一例を詳細に示すフローチャート。The flowchart which shows an example of operation | movement of # 23 in FIG. 8 in detail. 図13の動作の一例をさらに詳細に示すフローチャート。14 is a flowchart showing an example of the operation of FIG. 13 in more detail.

本発明の一実施形態によるアンテナ切り替え受信システムについて、図面を参照して説明する。図1は、HEMS(Home Energy Management System)等と称されるエネルギー管理システムを示す。HEMSとは、宅内の家電機器等を通信ネットワークで接続し、配電盤や家庭用発電設備などと共に統合制御することで、省電力化のための情報提示や自動制御を行うシステムである。HEMS100は、HEMSコントローラ101と、各種の家電機器102と、太陽光発電機103と、燃料電池104と、蓄電池105と、電気自動車106と、情報処理端末107と、分電盤108等によって構成される。分電盤108には、電力計測通信装置108aが内蔵されている。分電盤108は、屋外のスマートメータ109と接続される。スマートメータ109は、電力会社からそれぞれのユーザー宅に提供され、送電線から分電盤108に給電を行い、また分電盤108内の主幹電力を測定する。また、電力会社のサーバ110から各ユーザー宅に各種の情報(例えば、節電の要請など)が、スマートメータ109及び電力計測通信装置108aを経由してHEMSコントローラ101に入力される。電力計測通信装置108aとスマートメータ109とは、有線又は無線にて接続される。電力計測通信装置108aは、分電盤108の外部に設けられ、分電盤108と有線等にて接続される形態であってもよい。スマートメータ109は、他の家屋のスマートメータ109及び電力会社のサーバ110等と無線又は有線によって接続され、スマートメータネットワークを構成する。   An antenna switching reception system according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows an energy management system called a HEMS (Home Energy Management System) or the like. HEMS is a system that performs information presentation and automatic control for power saving by connecting home electric appliances in a home via a communication network and performing integrated control together with a switchboard and a home power generation facility. The HEMS 100 includes a HEMS controller 101, various home appliances 102, a solar power generator 103, a fuel cell 104, a storage battery 105, an electric vehicle 106, an information processing terminal 107, a distribution board 108, and the like. The The distribution board 108 incorporates a power measurement communication device 108a. Distribution board 108 is connected to an outdoor smart meter 109. The smart meter 109 is provided from the power company to each user's home, supplies power to the distribution board 108 from the transmission line, and measures the main power in the distribution board 108. Various information (for example, a request for power saving) is input from the power company server 110 to each user's home to the HEMS controller 101 via the smart meter 109 and the power measurement communication device 108a. The power measurement communication device 108a and the smart meter 109 are connected by wire or wirelessly. The power measurement communication device 108a may be provided outside the distribution board 108 and connected to the distribution board 108 by wire or the like. The smart meter 109 is connected to the smart meter 109 of another house and the server 110 of the electric power company by wireless or wired to constitute a smart meter network.

HEMSコントローラ101は、無線式の省エネルギー制御装置であり、上述したネットワークの中核となって各種機器の制御を司る。HEMSコントローラ101と家電機器102、太陽光発電機103、燃料電池104、蓄電池105、電気自動車106、情報処理端末(モニタ装置)107及び分電盤108等(以下、家電機器102等とする)とは、有線又は無線によって双方向の通信が確立される。各機器は、別の機器を介してHEMSコントローラ101と接続される構成であってもよい。例えば、燃料電池104は、分電盤108の電力計測通信装置108aと有線にて接続され、電力計測通信装置108aは、HEMSコントローラ101と無線にて接続されていてもよい。この場合、燃料電池104とHEMSコントローラ101との間において、電力計測通信装置108aを経由して有線及び無線によって双方向の通信が確立される。   The HEMS controller 101 is a wireless energy-saving control device, and controls various devices as the core of the network described above. HEMS controller 101 and home appliance 102, solar power generator 103, fuel cell 104, storage battery 105, electric vehicle 106, information processing terminal (monitor device) 107, distribution board 108 and the like (hereinafter referred to as home appliance 102) In this case, two-way communication is established by wire or wireless. Each device may be configured to be connected to the HEMS controller 101 via another device. For example, the fuel cell 104 may be connected to the power measurement communication device 108a of the distribution board 108 by wire, and the power measurement communication device 108a may be connected to the HEMS controller 101 wirelessly. In this case, bidirectional communication is established between the fuel cell 104 and the HEMS controller 101 by wire and wireless via the power measurement communication device 108a.

図2は、HEMS100におけるHEMSコントローラ101と、各種の家電機器102の概略構成を示す。HEMS100を構成する各種機器において、無線通信を行う機器、例えばHEMSコントローラ101及び家電機器102等のそれぞれには、対応する送信システムと受信システムが搭載されている。この受信システムとして適用されるのが、本発明の一実施形態によるアンテナ切り替え受信システム1であり、対応する送信システムとして適用されるのが、本発明の送信システム70である。すなわち、HEMSコントローラ101の送信システム70が機能する場合、家電機器102等のアンテナ切り替え受信システム1が機能して、無線信号の送受信が行われる。一方、家電機器102等の送信システム70が機能する場合、HEMSコントローラ101のアンテナ切り替え受信システム1が機能して、無線信号の送受信が行われることになる。なお、図2は、HEMSコントローラ101と家電機器102の構成について例示しているが、家電機器102に替えて電力計測通信装置108a等の機器を適用してもよい。   FIG. 2 shows a schematic configuration of the HEMS controller 101 and various home appliances 102 in the HEMS 100. In various devices constituting the HEMS 100, devices that perform wireless communication, such as the HEMS controller 101 and the home appliance 102, are each equipped with a corresponding transmission system and reception system. The antenna switching reception system 1 according to an embodiment of the present invention is applied as this reception system, and the transmission system 70 of the present invention is applied as a corresponding transmission system. That is, when the transmission system 70 of the HEMS controller 101 functions, the antenna switching reception system 1 such as the home appliance 102 functions to transmit and receive radio signals. On the other hand, when the transmission system 70 such as the home appliance 102 functions, the antenna switching reception system 1 of the HEMS controller 101 functions to transmit and receive radio signals. 2 illustrates the configuration of the HEMS controller 101 and the home appliance 102, but a device such as the power measurement communication device 108a may be applied instead of the home appliance 102.

図3はアンテナ切り替え受信システムを示す。アンテナ切り替え受信システム1は、受信器2と複数のアンテナA,B等によって構成される。受信器2は、アンテナ切替部3と、RFIC4と、CPU5等によって構成されている。   FIG. 3 shows an antenna switching reception system. The antenna switching reception system 1 includes a receiver 2 and a plurality of antennas A and B. The receiver 2 includes an antenna switching unit 3, an RFIC 4, a CPU 5, and the like.

アンテナ切替部3は、CPU5から出力された制御信号に応じて、2つのアンテナA,Bのうち、無線信号を受信するアンテナを切り替える。RFIC4は、RF部(信号品質検出部)41と、復調部42と、同期確立部43と、プリアンブル検出部(ビット列検出部)44と、ユニークワード(UW)検出部(ビット列検出部)45等を有する。すなわち、RF部41、復調部42、同期確立部43、プリアンブル検出部44及びユニークワード検出部45等の回路は、1つのICチップに統合され、実装される。   The antenna switching unit 3 switches the antenna that receives the radio signal among the two antennas A and B in accordance with the control signal output from the CPU 5. The RFIC 4 includes an RF unit (signal quality detection unit) 41, a demodulation unit 42, a synchronization establishment unit 43, a preamble detection unit (bit string detection unit) 44, a unique word (UW) detection unit (bit string detection unit) 45, and the like. Have That is, circuits such as the RF unit 41, the demodulation unit 42, the synchronization establishment unit 43, the preamble detection unit 44, and the unique word detection unit 45 are integrated and mounted on one IC chip.

RF部41は、いずれかのアンテナA又はBを用いて受信した無線信号をダウンコンバートし、ベースバンド信号を抽出する。RF部41が無線信号を受信する際には、一般的にAFC(Automatic Frequency Control)が実行され、送受信間の周波数誤差が除去される。その場合、アンテナ切替部3によってアンテナが切り替えられた後の所定時間は、AFCが解除されてもよい。妨害波の影響を回避して、プリアンブル及びユニークワードを正確に検出し、パケットロスを低減するためである。また、RF部41は、いずれかのアンテナA又はBを用いて受信した無線信号の受信レベルを検出する。受信レベルの検出には、例えばRSSI(Received Signal Strength Indication)が用いられる。RF部41によって検出された受信レベルに関する信号は、CPU5の信号処理部51に入力され、無線信号の品質の検出に用いられる。復調部42は、RF部41によって抽出されたベースバンド信号を復調する。同期確立部43は、復調されたベースバンド信号のビット同期を確立する。   The RF unit 41 down-converts a radio signal received using any one of the antennas A and B, and extracts a baseband signal. When the RF unit 41 receives a radio signal, AFC (Automatic Frequency Control) is generally executed, and a frequency error between transmission and reception is removed. In that case, AFC may be canceled for a predetermined time after the antenna switching unit 3 switches the antenna. This is to avoid the influence of the interference wave, accurately detect the preamble and the unique word, and reduce the packet loss. Further, the RF unit 41 detects the reception level of the radio signal received using any one of the antennas A or B. For example, RSSI (Received Signal Strength Indication) is used to detect the reception level. A signal related to the reception level detected by the RF unit 41 is input to the signal processing unit 51 of the CPU 5 and used for detecting the quality of the radio signal. The demodulator 42 demodulates the baseband signal extracted by the RF unit 41. The synchronization establishment unit 43 establishes bit synchronization of the demodulated baseband signal.

プリアンブル検出部44は、同期確立部43によって同期が確立されたベースバンド信号を検索し、プリアンブルのビット列を検出する。プリアンブルのビット列の具体例としては、01が交互に繰り返されるビット列(以下、01交番とする)が挙げられる。プリアンブル検出部44には、既知のプリアンブル(送信システムから送信されるプリアンブルと同一)のビット列が予め設定され記憶されている。プリアンブルは、ベースバンド信号のビット列と予め記憶しているビット列との一致度を評価することにより検出される。両者が完全に一致したとき、プリアンブルを検出したと判断される。また、例えば、プリアンブルが01交番で構成される場合、所定ビットにおいて連続して01交番が一致したとき、プリアンブル検出部44は、プリアンブルを検出したと判断してもよい。この場合、プリアンブルの検出タイミングは、その都度異なる可能性がある(図4等参照)。さらにまた、予め記憶しているプリアンブルのビット列に対するベースバンド信号のビット列の誤り率が所定値以下となったとき、プリアンブルを検出したと判断してもよい。この場合であっても、予め記憶しているプリアンブルのビット列と実質的に同一のビット列がベースバンド信号から検出されたとみなすことができるからである。   The preamble detection unit 44 searches for a baseband signal whose synchronization is established by the synchronization establishment unit 43, and detects a bit string of the preamble. A specific example of the preamble bit string is a bit string in which 01 is alternately repeated (hereinafter referred to as 01 alternating). In the preamble detection unit 44, a bit string of a known preamble (same as the preamble transmitted from the transmission system) is set and stored in advance. The preamble is detected by evaluating the degree of coincidence between the bit string of the baseband signal and the bit string stored in advance. When both match completely, it is determined that the preamble has been detected. For example, when the preamble is composed of 01 alternatings, the preamble detecting unit 44 may determine that the preamble has been detected when the 01 alternatings continuously match in a predetermined bit. In this case, the preamble detection timing may be different each time (see FIG. 4 and the like). Furthermore, it may be determined that the preamble has been detected when the error rate of the bit string of the baseband signal with respect to the preamble bit string stored in advance is equal to or less than a predetermined value. This is because even in this case, it can be considered that a bit string substantially identical to the preamble bit string stored in advance is detected from the baseband signal.

プリアンブル検出部44がプリアンブルを検出した旨の信号は、ユニークワード検出部45、CPU5等に入力される。当該信号が、プリアンブル検出部44からCPU5に出力され、CPU5を経由してユニークワード検出部45等に入力される構成であってもよい。   A signal indicating that the preamble detector 44 has detected the preamble is input to the unique word detector 45, the CPU 5, and the like. The signal may be output from the preamble detection unit 44 to the CPU 5 and input to the unique word detection unit 45 or the like via the CPU 5.

ユニークワード検出部45は、同期確立部43によって同期が確立されたベースバンド信号を検索し、ユニークワードのビット列を検出する。ユニークワード検出部45には、既知のユニークワード(送信システムから送信されるユニークワードと同一)のビット列が予め設定され記憶されている。ユニークワードは、ベースバンド信号のビット列と予め記憶しているビット列との一致度を評価することにより検出される。両者が完全に一致したとき、ユニークワードを検出したと判断してもよいし、予め記憶しているユニークワードのビット列に対するベースバンド信号のビット列の誤り率が所定値以下となったとき、ユニークワードを検出したと判断してもよい。後者の場合であっても、予め記憶しているユニークワードのビット列と実質的に同一のビット列がベースバンド信号から検出されたとみなすことができるからである。ユニークワード検出部45がユニークワードを検出した旨の信号は、CPU5の信号処理部51等に入力される。なお、上述した既知のプリアンブル及びユニークワードは、対応する送信システムとの間で共有され、このプリアンブル及びユニークワードが付与されたパケットが送信システムから送信される。   The unique word detection unit 45 searches the baseband signal for which synchronization is established by the synchronization establishment unit 43, and detects a bit string of the unique word. In the unique word detection unit 45, a bit string of a known unique word (same as the unique word transmitted from the transmission system) is set and stored in advance. The unique word is detected by evaluating the degree of coincidence between the bit string of the baseband signal and the bit string stored in advance. When the two match completely, it may be determined that a unique word has been detected, or when the error rate of the bit string of the baseband signal with respect to the bit string of the unique word stored in advance is below a predetermined value, the unique word It may be determined that has been detected. This is because even in the latter case, it can be considered that a bit string substantially identical to the bit string of the unique word stored in advance is detected from the baseband signal. A signal indicating that the unique word detection unit 45 has detected a unique word is input to the signal processing unit 51 of the CPU 5 or the like. The known preamble and unique word described above are shared with the corresponding transmission system, and a packet to which the preamble and unique word are added is transmitted from the transmission system.

CPU5は、信号処理部(信号品質検出部、ヘッダ検出部、データ検出部、受信時間更新部)51と、アンテナ制御部52とカウンタ53等を有し、アンテナ切り替え受信システム1の制御を司る。CPU5が、プリアンブル検出部44又はユニークワード検出部45等の代わりにプリアンブル又はユニークワードを検出する構成であってもよい。この場合、RFIC4からプリアンブル検出部44又はユニークワード検出部45等が省かれる。信号処理部51は、RF部41、同期確立部43、プリアンブル検出部44及びユニークワード検出部45等から入力された信号について、各種の処理を行う。例えば、信号処理部51は、RF部41から入力される受信レベルを表す信号から無線信号の品質を検出する。このとき、信号処理部51は、RF部41から入力される受信レベルを表す信号に演算処理を施して、無線信号の品質の判断指標となる数値を算出する。より具体的には、信号処理部51は、RF部41から入力される受信レベルについてアンテナ毎に平均値を算出する。アンテナ制御部52は、信号処理部51よって算出された受信レベルの平均値を評価して、ペイロードを受信するアンテナを選択し、アンテナの切り替え要否を判断し、アンテナ切替部3に対してアンテナの切り替えのための制御信号を出力する。カウンタ53は、図4乃至図7における第1カウンタ乃至第5カウンタとして機能し、時間を計数する。   The CPU 5 includes a signal processing unit (signal quality detection unit, header detection unit, data detection unit, reception time update unit) 51, an antenna control unit 52, a counter 53, and the like, and controls the antenna switching reception system 1. The CPU 5 may be configured to detect a preamble or a unique word instead of the preamble detection unit 44 or the unique word detection unit 45. In this case, the preamble detection unit 44 or the unique word detection unit 45 is omitted from the RFIC 4. The signal processing unit 51 performs various processes on the signals input from the RF unit 41, the synchronization establishment unit 43, the preamble detection unit 44, the unique word detection unit 45, and the like. For example, the signal processing unit 51 detects the quality of the radio signal from the signal representing the reception level input from the RF unit 41. At this time, the signal processing unit 51 performs a calculation process on the signal representing the reception level input from the RF unit 41, and calculates a numerical value that serves as a quality signal determination index. More specifically, the signal processing unit 51 calculates an average value for each antenna for the reception level input from the RF unit 41. The antenna control unit 52 evaluates the average value of the reception levels calculated by the signal processing unit 51, selects the antenna that receives the payload, determines whether or not the antenna needs to be switched, and determines the antenna switching unit 3 for the antenna. A control signal for switching is output. The counter 53 functions as the first counter to the fifth counter in FIGS. 4 to 7 and counts time.

なお、本実施形態は、アンテナ切替部3によって2つアンテナを切り替えて無線信号を受信する構成であるが、アンテナの個数は3つ以上であってもよい。   In the present embodiment, two antennas are switched by the antenna switching unit 3 to receive a radio signal, but the number of antennas may be three or more.

図4乃至図7は、対応する送信システムから送信される信号と、アンテナ切り替え受信システム1によって切り替えられるアンテナと、各アンテナによって受信される信号と、その受信レベルの推移を示す。1つのパケットは、複数対のプリアンブル及びユニークワードとその後に続けて送信されるペイロード等によって構成される。本実施形態においては、2種類のユニークワードUW1(第1ユニークワード)及びユニークワードUW2(第2ユニークワード)が送信システムから送信される。   4 to 7 show the signal transmitted from the corresponding transmission system, the antenna switched by the antenna switching reception system 1, the signal received by each antenna, and the transition of the reception level. One packet is composed of a plurality of pairs of preambles and unique words followed by a payload that is transmitted subsequently. In this embodiment, two kinds of unique words UW1 (first unique word) and unique words UW2 (second unique word) are transmitted from the transmission system.

ユニークワードUW1は、アンテナ切り替え受信システム1がペイロードを受信するアンテナを選択するために用いられる。ユニークワードUW2は、ペイロードの先頭を検出する(すなわち頭出しをする)ために用いられる。ユニークワードUW1の前に送信されるプリアンブルとユニークワードUW2の前に送信されるプリアンブルとは、同一のビット列で構成されていてもよく、異なるビット列で構成されていてもよい。一方、プリアンブル、ユニークワードUW1及びユニークワードUW2は、それぞれ誤って検出されないように、互いに相関値の低いビット列によって構成される。   The unique word UW1 is used for the antenna switching reception system 1 to select an antenna that receives a payload. The unique word UW2 is used to detect the head of the payload (that is, to cue). The preamble transmitted before the unique word UW1 and the preamble transmitted before the unique word UW2 may be composed of the same bit string or may be composed of different bit strings. On the other hand, the preamble, the unique word UW1, and the unique word UW2 are composed of bit strings having a low correlation value so that they are not erroneously detected.

ユニークワードUW1は、いずれのタイミングでアンテナA,Bが切り替えられても受信できるように、各アンテナに対して2回ずつ送信される。すべてのユニークワードの前には、プリアンブルが送信される。また、4度目のユニークワードUW1の後であって、ユニークワードUW2の直前に送信されるプリアンブルの前には、ダミーデータが送信される。なお、2度目以降のプリアンブル及びダミーデータの先頭には、必要に応じてアンテナの切替待ち時間を付与するためのデータが挿入されてもよい。   The unique word UW1 is transmitted twice to each antenna so that it can be received regardless of the timing at which the antennas A and B are switched. A preamble is transmitted before every unique word. Further, dummy data is transmitted after the fourth unique word UW1 and before the preamble transmitted immediately before the unique word UW2. Note that data for giving an antenna switching waiting time may be inserted at the head of the second and subsequent preambles and dummy data as necessary.

アンテナ切り替え受信システムは、アンテナA,Bを所定の周期(例えば、プリアンブル及びユニークワードUW1の送信周期の2倍の周期:第1所定時間T1)で切り替えながら、送信システムから送信される無線信号を受信する。第1所定時間T1は、第1カウンタとして機能するカウンタ53によって計数される。受信した信号は、上述したようにRF部41によってダウンコンバートされ、復調部42によって復調され、同期確立部43によってビット同期が確立される。そして、プリアンブル検出部44によってプリアンブルが検出され、ユニークワード検出部45によってユニークワードUW1が検出される。   The antenna switching reception system switches radio signals transmitted from the transmission system while switching the antennas A and B at a predetermined period (for example, a period twice the transmission period of the preamble and the unique word UW1: a first predetermined time T1). Receive. The first predetermined time T1 is counted by a counter 53 that functions as a first counter. The received signal is down-converted by the RF unit 41 as described above, demodulated by the demodulation unit 42, and bit synchronization is established by the synchronization establishing unit 43. Then, the preamble is detected by the preamble detector 44, and the unique word UW1 is detected by the unique word detector 45.

上述したように、いずれのタイミングでアンテナA,Bが切り替えられてもプリアンブル及びユニークワードUW1を受信できるように、各アンテナに対して2回ずつ、プリアンブルとユニークワードUW1が送信される。本実施形態においては、2つのアンテナが使用されるので、図4乃至図7に示すように、プリアンブルとユニークワードUW1が4回ずつ送信される。このように、アンテナ切り替え受信システムに搭載されるアンテナ数の2倍のプリアンブル及びユニークワードUW1が送信される。また、最初にユニークワードUW1が検出されるまでは、各アンテナはプリアンブル及びユニークワードUW1の送信周期の2倍の周期すなわち第1所定時間T1で切り替えられる。いずれかのユニークワードUW1が検出されると、アンテナを切り替えた後、第2所定時間T2に亘って別のユニークワードUW1が検索される。第2所定時間T2は、プリアンブル及びユニークワードUW1の送信周期に相当する時間以上に設定され、第2カウンタとして機能するカウンタ53によって計数される。なお、ダミーデータが挿入される時間は、第2所定時間T2に相当する。本実施形態では第1所定時間T1において、最初にユニークワードUW1が検出されるまでに受信した無線信号の品質と、アンテナの切り替え後第2所定時間T2に亘って受信した無線信号の品質が比較され、ペイロードを受信するアンテナが選択される。アンテナが選択されると、第3所定時間T3に亘ってプリアンブル及びユニークワードUW2が検索される。第3所定時間T3は、プリアンブル及び第1ユニークワードUW1の3周期分以上の時間に、プリアンブル及びユニークワードUW2の1周期分の時間を加えた時間以上に設定され、第3カウンタとして機能するカウンタ53によって計数される。   As described above, the preamble and the unique word UW1 are transmitted twice to each antenna so that the preamble and the unique word UW1 can be received regardless of the timing at which the antennas A and B are switched. In this embodiment, since two antennas are used, the preamble and the unique word UW1 are transmitted four times each as shown in FIGS. In this way, the preamble and unique word UW1 twice as many as the number of antennas mounted in the antenna switching reception system are transmitted. Further, until the unique word UW1 is detected for the first time, each antenna is switched at a cycle that is twice the transmission cycle of the preamble and the unique word UW1, that is, the first predetermined time T1. When any one of the unique words UW1 is detected, another unique word UW1 is searched over the second predetermined time T2 after switching the antenna. The second predetermined time T2 is set to be equal to or longer than the time corresponding to the transmission cycle of the preamble and the unique word UW1, and is counted by the counter 53 functioning as a second counter. The time for inserting the dummy data corresponds to the second predetermined time T2. In the present embodiment, the quality of the radio signal received until the first unique word UW1 is detected at the first predetermined time T1 is compared with the quality of the radio signal received over the second predetermined time T2 after antenna switching. And the antenna that receives the payload is selected. When the antenna is selected, the preamble and the unique word UW2 are searched over the third predetermined time T3. The third predetermined time T3 is set to be equal to or longer than a time obtained by adding a time corresponding to one cycle of the preamble and the unique word UW2 to a time corresponding to three cycles or more of the preamble and the first unique word UW1, and functions as a third counter. 53.

図4及び図5は、アンテナA及びBによってユニークワードUW1が検出されたときのアンテナ切り替え動作等を示す。受信信号のうち、実線部分が各アンテナによって受信された信号である。なお、以下の説明では、便宜上、プリアンブル検出部44及びユニークワード検出部45が最初にプリアンブル及びユニークワードUW1を検出したとき、無線信号を受信していた(アクティブであった)アンテナをアンテナAとする。図4はアンテナAで受信した無線信号の受信レベルがアンテナBで受信した無線信号の受信レベルよりも高い場合、図5はアンテナBで受信した無線信号の受信レベルがアンテナAで受信した無線信号の受信レベルよりも高い場合をそれぞれ示す。   4 and 5 show an antenna switching operation and the like when the unique word UW1 is detected by the antennas A and B. FIG. Of the received signal, the solid line portion is the signal received by each antenna. In the following description, for the sake of convenience, when the preamble detection unit 44 and the unique word detection unit 45 first detect the preamble and the unique word UW1, the antenna that has received the radio signal (is active) is referred to as the antenna A. To do. 4 shows that when the reception level of the radio signal received by antenna A is higher than the reception level of the radio signal received by antenna B, FIG. 5 shows the radio signal received by antenna A when the reception level of the radio signal received by antenna B is high. The cases where the reception level is higher than the above are shown.

図4及び図5において、1度目に送信されたプリアンブルは、その受信中にアンテナが切り替えられて検出できず、2度目に送信されたプリアンブルがアンテナAによって受信され、プリアンブル検出部44によって検出される。プリアンブルが検出されると、RF部41によって受信レベルの検出が開始される。その後、受信レベルは、所定のサンプリング周期で検出される。また、プリアンブルに続けて送信されるユニークワードUW1がユニークワード検出部45によって検出される。受信レベルの検出は、ユニークワードUW1が検出されるまで継続され、検出された受信レベルに関する情報は、信号処理部51に逐次記憶される。信号処理部51は、記憶した受信レベルからその平均値(RAとする)を算出する。   4 and 5, the preamble transmitted for the first time cannot be detected by switching the antenna during reception, and the preamble transmitted for the second time is received by the antenna A and detected by the preamble detection unit 44. The When the preamble is detected, the RF unit 41 starts detecting the reception level. Thereafter, the reception level is detected at a predetermined sampling period. Further, the unique word UW1 transmitted following the preamble is detected by the unique word detecting unit 45. The detection of the reception level is continued until the unique word UW1 is detected, and information regarding the detected reception level is sequentially stored in the signal processing unit 51. The signal processing unit 51 calculates an average value (assumed as RA) from the stored reception level.

ユニークワードUW1が検出されると、その旨の信号がユニークワード検出部45から出力され信号処理部51に入力される。ユニークワードUW1が検出された旨の信号は、信号処理部51からアンテナ制御部52に転送され、アンテナ制御部52は、アンテナ切替部3にアンテナを切り替える旨の指令を出力し、アンテナがアンテナBに切り替えられる。その後、3度目に送信されたプリアンブルがアンテナBによって受信され、プリアンブル検出部44によって検出される。プリアンブルが検出されると、アンテナAのときと同様に、受信レベルが所定のサンプリング周期で検出され、ユニークワードUW1が検出される。アンテナBでの受信レベルに関する情報は、上述したアンテナAでの受信レベルに関する情報と区別して信号処理部51に逐次記憶され、信号処理部51は、記憶した受信レベルからその平均値(RBとする)を算出する。   When the unique word UW1 is detected, a signal to that effect is output from the unique word detection unit 45 and input to the signal processing unit 51. A signal indicating that the unique word UW1 has been detected is transferred from the signal processing unit 51 to the antenna control unit 52, and the antenna control unit 52 outputs a command to switch the antenna to the antenna switching unit 3, and the antenna is connected to the antenna B. Can be switched to. Thereafter, the preamble transmitted for the third time is received by the antenna B and detected by the preamble detector 44. When the preamble is detected, the reception level is detected at a predetermined sampling period as in the case of the antenna A, and the unique word UW1 is detected. The information regarding the reception level at the antenna B is sequentially stored in the signal processing unit 51 separately from the information regarding the reception level at the antenna A described above, and the signal processing unit 51 determines the average value (RB) from the stored reception level. ) Is calculated.

信号処理部51によって算出されたRA及びRBは、アンテナ制御部52に入力される。アンテナ制御部52は、信号処理部51によって算出されたRAとRBを比較してより高い信号品質が得られるアンテナを、ペイロードを受信するアンテナとして選択する。   The RA and RB calculated by the signal processing unit 51 are input to the antenna control unit 52. The antenna control unit 52 selects an antenna that can obtain higher signal quality by comparing the RA and the RB calculated by the signal processing unit 51 as an antenna that receives the payload.

図4においては、アンテナAでの受信レベルがアンテナBでの受信レベルよりも高くRA>RBであるため、アンテナAで受信した無線信号の品質がアンテナBで受信した無線信号の品質よりも高いと考えられる。そこで、アンテナ制御部52は、信号処理部51によって算出されたRAとRBを比較してより受信レベルが高いアンテナAを、ペイロードを受信するアンテナとして選択する。これにより、アンテナは、再びアンテナAに切り替えられ、当該パケットを受信し終えるまでアンテナAに固定される。従って、4度目に送信されたプリアンブル、ユニークワードUW1及びダミーデータがアンテナAによって受信され、その後のプリアンブル、ユニークワードUW2及びペイロードもアンテナAによって受信される。   In FIG. 4, since the reception level at antenna A is higher than the reception level at antenna B and RA> RB, the quality of the radio signal received at antenna A is higher than the quality of the radio signal received at antenna B. it is conceivable that. Therefore, the antenna control unit 52 compares the RA and RB calculated by the signal processing unit 51 and selects the antenna A having a higher reception level as an antenna that receives the payload. Thereby, the antenna is switched to the antenna A again, and is fixed to the antenna A until the reception of the packet is completed. Therefore, the preamble, unique word UW1 and dummy data transmitted for the fourth time are received by the antenna A, and the subsequent preamble, unique word UW2 and payload are also received by the antenna A.

図5においては、アンテナBでの受信レベルがアンテナAでの受信レベルよりも高くRB>RAであるため、アンテナBで受信した無線信号の品質がアンテナAで受信した無線信号の品質よりも高いと考えられる。そこで、アンテナ制御部52は、信号処理部51によって算出されたRAとRBを比較してより受信レベルが高いアンテナBを、ペイロードを受信するアンテナとして選択する。これにより、アンテナは、当該パケットを受信し終えるまで切り替えられることなくアンテナBに固定される。従って、4度目に送信されたプリアンブル、ユニークワードUW1及びダミーデータがアンテナBによって受信され、その後のプリアンブル、ユニークワードUW2及びペイロードもアンテナBによって受信される。   In FIG. 5, since the reception level at antenna B is higher than the reception level at antenna A and RB> RA, the quality of the radio signal received at antenna B is higher than the quality of the radio signal received at antenna A. it is conceivable that. Therefore, the antenna control unit 52 compares the RA and RB calculated by the signal processing unit 51 and selects the antenna B having a higher reception level as an antenna that receives the payload. Accordingly, the antenna is fixed to the antenna B without being switched until the reception of the packet is completed. Therefore, the preamble, unique word UW1 and dummy data transmitted for the fourth time are received by the antenna B, and the subsequent preamble, unique word UW2 and payload are also received by the antenna B.

図6は、2度目に送信されたプリアンブル等がアンテナAによって受信され、プリアンブル検出部44等によって検出され、アンテナBに切り替えられた後、3度目に送信されたプリアンブルがプリアンブル検出部44によって検出されなかった場合を示す。2度目に送信されたユニークワードUW1が検出されると、その直後にアンテナBに切り替えられるので、3度目に送信されたプリアンブルは、実質的に先頭からアンテナBによって受信される。従って、アンテナBによって受信された無線信号からプリアンブル等を検出するために必要な最小時間は、一組のプリアンブルとユニークワードUW1が送信される時間に等しい。よって、3度目に送信されたプリアンブル等が検出されなかった場合、4度目に送信されたプリアンブル等をアンテナBで受信してもよいし、図6に示すように直ちにアンテナをアンテナAに切り替えてもよい。前者の場合は、第2所定時間T2は、プリアンブル及びユニークワードUW1の送信周期の2倍に相当する時間に設定され、アンテナBを用いてプリアンブル等を検出する機会が2度得られる。従って、アンテナBでの受信レベルを検出できる機会が増加し、アンテナの選択をより一層適正に行えるようになる。後者の場合は、第2所定時間T2は、プリアンブル及びユニークワードUW1の送信周期に相当する時間に設定され、ダミーデータの長さを短く設定して、パケットに占めるペイロードの割合を増加させることができる。ダミーデータの長さを短く設定できる理由は、以下の通りである。例えば、アンテナAで4度目のユニークワードUW1を最初に検出した場合(図7参照)、アンテナをアンテナBに切り替えてダミーデータを受信することとなる。このとき、前者のようにアンテナBを用いてプリアンブル等を2度に亘って検出するように構成すると、プリアンブル及びユニークワードUW1の2周期分のダミーデータが必要とされる。一方、後者のようにアンテナBを用いてプリアンブル等を検出する機会を1度に制限することより、プリアンブル及びユニークワードUW1の1周期分のダミーデータで済むからである。   In FIG. 6, the preamble transmitted for the second time is received by the antenna A, detected by the preamble detection unit 44, etc., and switched to the antenna B, and then the preamble transmitted for the third time is detected by the preamble detection unit 44. The case where it was not done is shown. When the unique word UW1 transmitted for the second time is detected, it is switched to the antenna B immediately after that, so that the preamble transmitted for the third time is substantially received by the antenna B from the head. Therefore, the minimum time required to detect a preamble or the like from the radio signal received by the antenna B is equal to the time for transmitting a set of preambles and the unique word UW1. Therefore, if the preamble transmitted at the third time is not detected, the preamble transmitted at the fourth time may be received by the antenna B, or the antenna is immediately switched to the antenna A as shown in FIG. Also good. In the former case, the second predetermined time T2 is set to a time corresponding to twice the transmission period of the preamble and the unique word UW1, and the opportunity to detect the preamble or the like using the antenna B is obtained twice. Therefore, the opportunity to detect the reception level at the antenna B increases, and the antenna can be selected more appropriately. In the latter case, the second predetermined time T2 may be set to a time corresponding to the transmission cycle of the preamble and the unique word UW1, and the length of the dummy data may be set short to increase the proportion of the payload in the packet. it can. The reason why the length of the dummy data can be set short is as follows. For example, when the fourth unique word UW1 is first detected by the antenna A (see FIG. 7), the antenna is switched to the antenna B and dummy data is received. At this time, if the preamble or the like is detected twice using the antenna B as in the former case, dummy data for two cycles of the preamble and the unique word UW1 is required. On the other hand, by limiting the opportunity to detect a preamble or the like using the antenna B at one time as in the latter case, dummy data for one cycle of the preamble and the unique word UW1 is sufficient.

後者の場合、アンテナBによって受信された無線信号からプリアンブル等が検出されなかったことから、その信号品質はペイロードを受信するために十分なものではないと考えられる。また、RB=0とも考えることができる。従って、アンテナ制御部52は、十分に高い信号品質が得られるアンテナAを、ペイロードを受信するアンテナとして選択し、アンテナは、再びアンテナAに切り替えられ、当該パケットを受信し終えるまでアンテナAに固定される。RB=0と考えた場合も、同等の動作が実行される。また、アンテナBでプリアンブルは検出できても、UW1を検出できなければ上記と同様にアンテナAに切り替える。以後の動作は、図4と同様である。   In the latter case, since the preamble or the like has not been detected from the radio signal received by the antenna B, it is considered that the signal quality is not sufficient for receiving the payload. It can also be considered that RB = 0. Therefore, the antenna control unit 52 selects the antenna A that provides sufficiently high signal quality as the antenna that receives the payload, and the antenna is switched to the antenna A again and fixed to the antenna A until the reception of the packet is completed. Is done. Even when RB = 0 is considered, an equivalent operation is performed. Further, even if the preamble can be detected by the antenna B, if the UW1 cannot be detected, the antenna A is switched to the same manner as described above. The subsequent operation is the same as that in FIG.

図7は、4度目に送信されたプリアンブル等がアンテナAによって受信され、当該パケット内で最初のプリアンブル等としてプリアンブル検出部44等によって検出された場合を示す。この場合、4度目に送信されたユニークワードUW1が検出された後、アンテナBに切り替えられダミーデータが受信される。   FIG. 7 shows a case where the preamble or the like transmitted for the fourth time is received by the antenna A and detected by the preamble detection unit 44 or the like as the first preamble or the like in the packet. In this case, after the unique word UW1 transmitted for the fourth time is detected, the antenna B is switched to receive the dummy data.

ダミーデータとは、プリアンブルとは異なるビット列で構成されたデータであり、再びアンテナBからアンテナAに切り替える際の時間的な猶予をアンテナ切り替え受信システム1に付与するために、送信システムから送信される。従って、ダミーデータのデータ長は、プリアンブルのデータ長とユニークワードUW1のデータ長の和、すなわち第2所定時間T2と同等以上に設定される。   The dummy data is data composed of a bit string different from the preamble, and is transmitted from the transmission system in order to give the antenna switching reception system 1 time delay when switching from the antenna B to the antenna A again. . Accordingly, the data length of the dummy data is set to be equal to or longer than the sum of the data length of the preamble and the data length of the unique word UW1, that is, the second predetermined time T2.

ダミーデータは、プリアンブル並びにユニークワードUW1及びUW2とは、互いに相関値の低いビット列によって構成される。プリアンブル検出部44及びユニークワード検出部45がダミーデータをプリアンブル並びにユニークワードUW1及びUW2と誤って検出しないようにするためである。ダミーデータとプリアンブルの相関値、ダミーデータとユニークワードUW1の相関値及びダミーデータとユニークワードUW2の相関値が最も低くなるように各ビット列が設定されているのが望ましい。しかしながら、プリアンブル検出部44及びユニークワード検出部45による誤検出を防止できる程度に上記相関値が低ければ、すなわち上記相関値が所定値未満であれば、実用上の問題は生じない。   The dummy data is composed of a preamble and the unique words UW1 and UW2 by bit strings having a low correlation value. This is to prevent the preamble detection unit 44 and the unique word detection unit 45 from erroneously detecting the dummy data as the preamble and the unique words UW1 and UW2. Each bit string is preferably set so that the correlation value between the dummy data and the preamble, the correlation value between the dummy data and the unique word UW1, and the correlation value between the dummy data and the unique word UW2 are the lowest. However, if the correlation value is low enough to prevent erroneous detection by the preamble detection unit 44 and the unique word detection unit 45, that is, if the correlation value is less than a predetermined value, there is no practical problem.

図7に示すように、アンテナBによってダミーデータが受信された場合、プリアンブル検出部44によってプリアンブルが、ユニークワード検出部45によってユニークワードUW1が検出されることはない。また、2度目に送信されたプリアンブル等は、アンテナBによって受信されていながら、プリアンブル検出部44等によってプリアンブル等が検出されなかったことから、アンテナBで受信した信号の品質は高くないものと考えられる。従って、アンテナ制御部52は、十分に高い信号品質が得られるアンテナAを、ペイロードを受信するアンテナとして選択し、アンテナは、再びアンテナAに切り替えられ、当該パケットを受信し終えるまでアンテナAに固定される。以後の動作は、図4と同様である。   As shown in FIG. 7, when dummy data is received by the antenna B, the preamble is not detected by the preamble detector 44 and the unique word UW1 is not detected by the unique word detector 45. In addition, since the preamble or the like transmitted for the second time is received by the antenna B but the preamble or the like is not detected by the preamble detection unit 44 or the like, it is considered that the quality of the signal received by the antenna B is not high. It is done. Therefore, the antenna control unit 52 selects the antenna A that provides sufficiently high signal quality as the antenna that receives the payload, and the antenna is switched to the antenna A again and fixed to the antenna A until the reception of the packet is completed. Is done. The subsequent operation is the same as that in FIG.

図8は、アンテナ切り替え受信システム1の動作を示す。まず、ユニークワードUW1を検出する前段階において、アンテナA,Bは、所定周期で交互に切り替えられる(#1)。アンテナを切り替える所定周期は、例えばプリアンブル及びユニークワードUW1の2回分の周期、すなわち第1所定時間T1である。アンテナが切り替えられると、プリアンブル及びユニークワードUW1のビット列の検出がリセットされる(#2)。プリアンブル及びユニークワードUW1のビット列の検出がリセットされるとは、ビット列の検出を中止し、最初のビットから検出を再開する処理をいう。このとき、ユニークワード検出部45が検出すべきビット列として、ユニークワードUW1が設定される。すなわちユニークワードUW1の検出が開始される。プリアンブル検出部44及びユニークワード検出部45が、ビット列の検出をリセットするのは、以下の理由による。すなわち、RFIC4は、アンテナ切替部3から入力された受信信号のうち、どの部分がいずれのアンテナで受信されたのかを認識できないため、プリアンブル及びユニークワードを受信したアンテナを誤ってしまうことを防止するためである。例えば、ユニークワードのビット列の終端近傍でアンテナAからアンテナBに切り替えられた場合、ビット列の大部分をアンテナAで受信しているにも関わらず、最後の部分を受信したアンテナBによってビット列の全体が受信されたと誤認してしまうことを防止するためである。   FIG. 8 shows the operation of the antenna switching reception system 1. First, before detecting the unique word UW1, the antennas A and B are alternately switched at a predetermined period (# 1). The predetermined cycle for switching the antenna is, for example, a cycle of two times of the preamble and the unique word UW1, that is, a first predetermined time T1. When the antenna is switched, detection of the preamble and the bit string of the unique word UW1 is reset (# 2). The detection of the detection of the bit string of the preamble and the unique word UW1 is a process of stopping the detection of the bit string and restarting the detection from the first bit. At this time, the unique word UW1 is set as a bit string to be detected by the unique word detection unit 45. That is, the detection of the unique word UW1 is started. The preamble detection unit 44 and the unique word detection unit 45 reset the detection of the bit string for the following reason. That is, since the RFIC 4 cannot recognize which part of the received signal input from the antenna switching unit 3 is received by which antenna, it prevents the antenna that has received the preamble and the unique word from being mistaken. Because. For example, when the antenna A is switched to the antenna B near the end of the bit string of the unique word, the entire bit string is received by the antenna B that has received the last part even though the most part of the bit string is received by the antenna A. This is to prevent misidentification that the message is received.

切り替えにおいてアクティブとされたアンテナで、無線信号を受信し、プリアンブル検出部44によってプリアンブルが検索される(#3)。プリアンブル検出部44によってプリアンブルが検出されると(#4においてYES)、受信レベルの検出が開始される(#5)。このときに無線信号を受信しているアンテナをアンテナAとする。受信レベルは所定のサンプリング周期で検出され、その値は信号処理部51に逐次記憶される(#12においても同様)。#4において、プリアンブルの検出は、#2においてビット列の検出をリセットした後、第1所定時間に亘って継続され、第1所定時間内にプリアンブルが検出されない場合は(#4においてNO)、#1に戻る。ここで第1所定時間とは、プリアンブル及びユニークワードUW1の2周期に相当する時間であり、#2においてビット列の検出をリセットした後、計数を開始する。プリアンブルの検出後、ユニークワードUW1が検出されると(#6においてYES)、受信レベルの検出が終了される(#7)。#6において、ユニークワードUW1の検出は、#2におけるビット列検出のリセット後から起算された第1所定時間に亘って継続される。第1所定時間内にユニークワードUW1が検出されない場合は(#6においてNO)、受信レベルの検出が終了され、#1に戻る。   A radio signal is received by the antenna activated in the switching, and the preamble is searched by the preamble detector 44 (# 3). When the preamble is detected by the preamble detector 44 (YES in # 4), reception level detection is started (# 5). At this time, an antenna that receives a radio signal is referred to as an antenna A. The reception level is detected at a predetermined sampling period, and the value is sequentially stored in the signal processing unit 51 (the same applies to # 12). In # 4, the preamble detection is continued for the first predetermined time after resetting the bit string detection in # 2, and if the preamble is not detected within the first predetermined time (NO in # 4), # Return to 1. Here, the first predetermined time is a time corresponding to two cycles of the preamble and the unique word UW1, and after the bit string detection is reset in # 2, counting is started. When the unique word UW1 is detected after the preamble is detected (YES in # 6), the detection of the reception level is ended (# 7). In # 6, the detection of the unique word UW1 is continued for a first predetermined time calculated after resetting the bit string detection in # 2. When the unique word UW1 is not detected within the first predetermined time (NO in # 6), the detection of the reception level is terminated and the process returns to # 1.

アンテナAでの受信レベルの検出が終了されると、信号処理部51は、記憶した受信レベルから平均値(RA)を算出し(#8)、アンテナ制御部52は、アンテナをアンテナBに切り替える(#9)。アンテナが切り替えられると、#2と同様に、プリアンブル及びユニークワードUW1のビット列の検出をリセットする(#9A)。そして、切り替え後のアンテナBで無線信号を受信し、プリアンブル検出部44によってプリアンブルが検索される(#10)。プリアンブル検出部44によってプリアンブルが検出されると(#11においてYES)、受信レベルの検出が開始される(#12)。#11において、プリアンブルの検出は、#9Aにおいてビット列の検出をリセットした後、第2所定時間に亘って継続され、図6又は図7に示すように、第2所定時間内にプリアンブルが検出されない場合は(#11においてNO)、#19に移行する。アンテナBでは十分な信号品質が得られないと判断できるからである。ここで第2所定時間とは、プリアンブル及びユニークワードUW1の1周期に相当する時間であり、#9Aにおいてビット列の検出をリセットした後、計数を開始する。プリアンブルの検出後、ユニークワードUW1が検出されると(#13においてYES)、受信レベルの検出が終了される(#14)。#11において、ユニークワードUW1の検出は、#9Aにおいてビット列の検出がリセットされた後から起算された第2所定時間に亘って継続される。第2所定時間内にユニークワードUW1が検出されない場合は(#13においてNO)、受信レベルの検出が終了され、#19に移行する。アンテナBでは十分な信号品質が得られないと判断できるからである。   When the detection of the reception level at the antenna A is completed, the signal processing unit 51 calculates an average value (RA) from the stored reception level (# 8), and the antenna control unit 52 switches the antenna to the antenna B. (# 9). When the antenna is switched, the detection of the preamble and the bit string of the unique word UW1 is reset as in # 2 (# 9A). Then, the radio signal is received by the antenna B after switching, and the preamble is searched by the preamble detector 44 (# 10). When the preamble is detected by the preamble detector 44 (YES in # 11), reception level detection is started (# 12). In # 11, the preamble detection is continued for the second predetermined time after resetting the bit string detection in # 9A, and as shown in FIG. 6 or FIG. 7, the preamble is not detected within the second predetermined time. In the case (NO in # 11), the process proceeds to # 19. This is because it can be determined that sufficient signal quality cannot be obtained with the antenna B. Here, the second predetermined time is a time corresponding to one cycle of the preamble and the unique word UW1, and the count is started after resetting the detection of the bit string in # 9A. When the unique word UW1 is detected after the preamble is detected (YES in # 13), the detection of the reception level is ended (# 14). In # 11, the detection of the unique word UW1 is continued for a second predetermined time calculated after the bit string detection is reset in # 9A. If the unique word UW1 is not detected within the second predetermined time (NO in # 13), the detection of the reception level is terminated and the process proceeds to # 19. This is because it can be determined that sufficient signal quality cannot be obtained with the antenna B.

アンテナBでの受信レベルの検出が終了されると、信号処理部51は、記憶した受信レベルから平均値(RB)を算出し(#15)、アンテナ制御部52は、信号処理部51によって算出された受信レベルの平均値RAとRBを比較する(#16)。図5に示すように、RA<RBの場合は(#17においてYES)、アンテナ制御部52は、ペイロードを受信するアンテナとしてアンテナBを選択する。すなわち、アンテナをアンテナBに固定したまま(#18)、ビット列の検出をリセットする(#20)。このとき、ユニークワード検出部45が検出すべきビット列として、ユニークワードUW2が設定される。すなわちユニークワードUW2の検出が開始される。一方、図4に示すように、RA>RBの場合は(#17においてNO)、ペイロードを受信するアンテナとしてアンテナAを選択する。すなわち、アンテナをアンテナAに切り替えて(#19)、#20に移行する。   When the detection of the reception level at the antenna B is completed, the signal processing unit 51 calculates an average value (RB) from the stored reception level (# 15), and the antenna control unit 52 is calculated by the signal processing unit 51. The average values RA and RB of the received levels are compared (# 16). As shown in FIG. 5, when RA <RB (YES in # 17), antenna control unit 52 selects antenna B as the antenna that receives the payload. That is, the detection of the bit string is reset (# 20) while the antenna is fixed to the antenna B (# 18). At this time, the unique word UW2 is set as a bit string to be detected by the unique word detection unit 45. That is, the detection of the unique word UW2 is started. On the other hand, as shown in FIG. 4, when RA> RB (NO in # 17), antenna A is selected as the antenna that receives the payload. That is, the antenna is switched to antenna A (# 19), and the process proceeds to # 20.

選択されたアンテナA又はBで無線信号を受信し、プリアンブル検出部44によってプリアンブルが検出されると(#21においてYES)、ユニークワードUW2の検出に移行する(#22)。ユニークワード検出部45によってユニークワードUW2が検出されると(#22においてYES)、ペイロードの頭出しが完了したことになり、以後ペイロードを受信する(#23)。受信したペイロードは、信号処理部51によって処理される。なお、#21において、プリアンブルの検出は、#20においてビット列の検出をリセットした後第3所定時間に亘って継続され、第3所定時間内にプリアンブル検出部44によってプリアンブルが検出されない場合(#21においてNO)は、#1に戻る。ここで第3所定時間とは、プリアンブル及びユニークワードUW1の2周期と、ダミーデータと、プリアンブル及びユニークワードUW2の1周期とを加えた時間に相当し、#20においてビット列の検出をリセットした後、計数を開始する。また、#22において、ユニークワードUW2の検出は、#20におけるビット列検出のリセット後から起算された第3所定時間に亘って継続される。第3所定時間内にユニークワード検出部45によってユニークワードUW2が検出されない場合(#22においてNO)は、#1に戻る。   When a radio signal is received by the selected antenna A or B and the preamble is detected by the preamble detector 44 (YES in # 21), the process proceeds to detection of the unique word UW2 (# 22). When the unique word UW2 is detected by the unique word detector 45 (YES in # 22), the cueing of the payload is completed, and the payload is subsequently received (# 23). The received payload is processed by the signal processing unit 51. In # 21, the preamble detection is continued for a third predetermined time after resetting the bit string detection in # 20, and when the preamble is not detected by the preamble detection unit 44 within the third predetermined time (# 21 NO) returns to # 1. Here, the third predetermined time corresponds to a time obtained by adding two periods of the preamble and the unique word UW1, a dummy data, and one period of the preamble and the unique word UW2, and after resetting the detection of the bit string in # 20. Start counting. In # 22, the detection of the unique word UW2 is continued for a third predetermined time calculated after resetting the bit string detection in # 20. If the unique word UW2 is not detected by the unique word detector 45 within the third predetermined time (NO in # 22), the process returns to # 1.

図9は、対応する送信システム70から送信されるペイロードの構成を示す。ペイロードは、アンテナ制御部52によって選択されたアンテナA又はBによって受信される。ペイロードは、ヘッダとデータによって構成される。ヘッダには、レングス、機器のID及びパケットの種別等のパケット自体を受信して処理するために必要な付加情報が付与されている。データは、送信システム70とアンテナ切り替え受信システム1との間で、本来送受信したいデータの本体部である。ヘッダの先頭には、レングスが挿入されている。レングスとは、ヘッダに続けて送信されるデータの長さに関する情報である。ヘッダ(レングス)及びデータは、CPU5の信号処理部51によって検出され、処理される。なお、ヘッダの検出をRFIC4によって検出するように構成してもよい。   FIG. 9 shows the structure of the payload transmitted from the corresponding transmission system 70. The payload is received by the antenna A or B selected by the antenna control unit 52. The payload is composed of a header and data. Additional information necessary for receiving and processing the packet itself, such as the length, device ID, and packet type, is added to the header. The data is the main body of the data that is originally desired to be transmitted and received between the transmission system 70 and the antenna switching reception system 1. A length is inserted at the beginning of the header. The length is information regarding the length of data transmitted following the header. The header (length) and data are detected and processed by the signal processing unit 51 of the CPU 5. Note that the header may be detected by the RFIC 4.

ヘッダは、第4所定時間T4に亘って検索される。第4所定時間T4は、送信システム70から送信されるヘッダの長さに応じて設定され、第4カウンタとして機能するカウンタ53によって計数される。第4所定時間T4内にヘッダが検出されない場合、信号処理部51は、ヘッダの検出を中止して、再びアンテナを切り替えながら、次に送信されるパケット内の最初のユニークワードUW1を検出する動作に復帰する(図4乃至図7参照)。   The header is searched over a fourth predetermined time T4. The fourth predetermined time T4 is set according to the length of the header transmitted from the transmission system 70, and is counted by the counter 53 that functions as a fourth counter. When the header is not detected within the fourth predetermined time T4, the signal processing unit 51 stops detecting the header and detects the first unique word UW1 in the next transmitted packet while switching the antenna again. (See FIGS. 4 to 7).

レングスが検出されると、データの長さが分かるので、信号処理部(受信時間更新部)51は、データ受信時間T5を設定し、データ受信時間T5に亘ってデータを受信する。データ受信時間T5は、第5カウンタとして機能するカウンタ53によって計数される。データ受信時間T5は、パケット毎に異なるため、信号処理部51は、レングスを検出するたびに、検出したレングスに基づいてデータ受信時間T5を更新する。データの検出が完了しない場合であっても、データ受信時間T5が経過すると、信号処理部51は、データの検出を中止する。そして、再びアンテナを切り替えながら、次に送信されるパケット内の最初のユニークワードUW1を検出する動作に復帰する(図4乃至図7参照)。   When the length is detected, the length of the data is known, so the signal processing unit (reception time update unit) 51 sets the data reception time T5 and receives data over the data reception time T5. The data reception time T5 is counted by the counter 53 that functions as a fifth counter. Since the data reception time T5 is different for each packet, the signal processing unit 51 updates the data reception time T5 based on the detected length every time the length is detected. Even if the data detection is not completed, the signal processing unit 51 stops detecting the data when the data reception time T5 elapses. Then, while switching the antenna again, the operation returns to the operation of detecting the first unique word UW1 in the packet to be transmitted next (see FIGS. 4 to 7).

図10は、図8における#1乃至#7の動作の一例を詳細に示す。#2において、プリアンブル及びユニークワードUW1のビット列の検出がリセットされると、カウンタ53のカウントはリセットされる。カウントがリセットされるとは、時間の計数の検出を中止し、ゼロから時間の計数を再開する処理をいう。ここでは、カウンタ53は、第1カウンタとして機能し、カウントを開始する(#2B)。そして、無線信号を受信し(#3)、第1所定時間T1内にプリアンブル検出部44によってプリアンブルが検出されると(#4においてYES)受信レベルの検出が開始される(#5)。プリアンブルが検出されない場合(#4においてNO)、カウンタ53のカウント値が第1所定時間T1と比較される(#4A)。カウンタ53のカウント値が第1所定時間T1に満たない場合(#4AにおいてNO)、カウンタ53のカウントをインクリメントした後(#4B)、#3に戻って、受信した信号からプリアンブルの検索が継続される。カウンタ53のカウント値が第1所定時間T1以上になると(#4AにおいてYES)、アンテナの切り替え動作に戻る(#1)。   FIG. 10 shows an example of the operations of # 1 to # 7 in FIG. 8 in detail. In # 2, when the detection of the preamble and the bit string of the unique word UW1 is reset, the count of the counter 53 is reset. The resetting of the count means a process of stopping detection of the time count and restarting the time count from zero. Here, the counter 53 functions as a first counter and starts counting (# 2B). Then, when a radio signal is received (# 3) and the preamble is detected by the preamble detector 44 within the first predetermined time T1 (YES in # 4), detection of the reception level is started (# 5). When the preamble is not detected (NO in # 4), the count value of the counter 53 is compared with the first predetermined time T1 (# 4A). If the count value of the counter 53 is less than the first predetermined time T1 (NO in # 4A), after incrementing the count of the counter 53 (# 4B), the process returns to # 3 and the search for the preamble is continued from the received signal. Is done. When the count value of counter 53 reaches or exceeds first predetermined time T1 (YES in # 4A), the operation returns to the antenna switching operation (# 1).

#5における受信レベルの検出の開始後、ユニークワードUW1が検出されると(#6においてYES)、受信レベルの検出が終了される(#7)。ユニークワードUW1が検出されない場合(#6においてNO)、カウンタ53のカウント値が第1所定時間T1と比較される(#6A)。カウンタ53のカウント値が第1所定時間T1に満たない場合(#6AにおいてNO)、カウンタ53のカウントをインクリメントした後(#6B)、#6に戻って、ユニークワードUW1の検索が継続される。カウンタ53のカウント値が第1所定時間T1以上になると(#4AにおいてYES)、アンテナの切り替え動作に戻る(#1)。   If the unique word UW1 is detected after the start of detection of the reception level in # 5 (YES in # 6), detection of the reception level is ended (# 7). When unique word UW1 is not detected (NO in # 6), the count value of counter 53 is compared with first predetermined time T1 (# 6A). If the count value of counter 53 is less than first predetermined time T1 (NO in # 6A), after incrementing the count of counter 53 (# 6B), the process returns to # 6 and the search for unique word UW1 is continued. . When the count value of counter 53 reaches or exceeds first predetermined time T1 (YES in # 4A), the operation returns to the antenna switching operation (# 1).

図11は、図8における#9乃至#14の動作の一例を詳細に示す。この動作例では、パケット内で最初のユニークワードUW1を検出した後、アンテナを切り替えて別のユニークワードUW1を検出する際に、タイムアウト時間(第2所定時間T2)を設定する。#9においてアンテナが切り替えられると、プリアンブル及びユニークワードUW1のビット列の検出がリセットされ(#9A)、カウンタ53のカウントがリセットされる。ここでは、カウンタ53は、第2カウンタとして機能し、カウントを開始する(#9B)。そして、無線信号を受信し(#10)、第2所定時間T2内にプリアンブル検出部44によってプリアンブルが検出されると(#11においてYES)、受信レベルの検出が開始される(#12)。プリアンブルが検出されない場合(#11においてNO)、カウンタ53のカウント値が第2所定時間T2と比較される(#11A)。カウンタ53のカウント値が第2所定時間T2に満たない場合(#11AにおいてNO)、カウンタ53のカウントをインクリメントした後(#11B)、#10に戻って、受信した信号からプリアンブルの検索が継続される。カウンタ53のカウント値が第2所定時間T2以上になると(#11AにおいてYES)、#19に移行してアンテナを切り替える。   FIG. 11 shows an example of the operations of # 9 to # 14 in FIG. 8 in detail. In this operation example, after the first unique word UW1 is detected in the packet, a timeout time (second predetermined time T2) is set when the antenna is switched to detect another unique word UW1. When the antenna is switched in # 9, detection of the preamble and the bit string of the unique word UW1 is reset (# 9A), and the count of the counter 53 is reset. Here, the counter 53 functions as a second counter and starts counting (# 9B). When a radio signal is received (# 10) and the preamble is detected by the preamble detector 44 within the second predetermined time T2 (YES in # 11), detection of the reception level is started (# 12). When the preamble is not detected (NO in # 11), the count value of the counter 53 is compared with the second predetermined time T2 (# 11A). If the count value of the counter 53 is less than the second predetermined time T2 (NO in # 11A), after incrementing the count of the counter 53 (# 11B), the process returns to # 10 and the search for the preamble is continued from the received signal. Is done. When the count value of counter 53 reaches or exceeds second predetermined time T2 (YES in # 11A), the process proceeds to # 19 and the antenna is switched.

#12における受信レベルの検出の開始後、ユニークワードUW1が検出されると(#13においてYES)、受信レベルの検出が終了される(#14)。ユニークワードUW1が検出されない場合(#13においてNO)、カウンタ53のカウント値が第2所定時間T2と比較される(#13A)。カウンタ53のカウント値が第2所定時間T2に満たない場合(#13AにおいてNO)、カウンタ53のカウントをインクリメントした後(#13B)、#13に戻って、ユニークワードUW1の検索が継続される。カウンタ53のカウント値が第2所定時間T2以上になると(#13AにおいてYES)、#19に移行してアンテナを切り替える。   When the unique word UW1 is detected after the start of detection of the reception level in # 12 (YES in # 13), the detection of the reception level is ended (# 14). When the unique word UW1 is not detected (NO in # 13), the count value of the counter 53 is compared with the second predetermined time T2 (# 13A). If the count value of counter 53 is less than second predetermined time T2 (NO in # 13A), after incrementing the count of counter 53 (# 13B), the process returns to # 13 and the search for unique word UW1 is continued. . When the count value of counter 53 reaches or exceeds second predetermined time T2 (YES in # 13A), the process proceeds to # 19 to switch the antenna.

図12は、図8における#20乃至#23の動作の一例を詳細に示す。この動作例では、ペイロードを受信するアンテナを選択した後、ユニークワードUW2を検出する際に、タイムアウト時間(第3所定時間T3)を設定する。ビット列の検出がリセットされ、検出されるビット列としてユニークワードUW2が設定されると(#20)、カウンタ53のカウントがリセットされる。ここでは、カウンタ53は、第3カウンタとして機能し、カウントを開始する(#20A)。そして、無線信号を受信し、第3所定時間T3内にプリアンブル検出部44によってプリアンブルが検出されると(#21においてYES)、ユニークワードUW2の検出に移行する(#22)。プリアンブルが検出されない場合(#21においてNO)、カウンタ53のカウント値が第3所定時間T3と比較される(#21A)。カウンタ53のカウント値が第3所定時間T3に満たない場合(#21AにおいてNO)、カウンタ53のカウントをインクリメントした後(#21B)、#21に戻って、受信した信号からプリアンブルの検索が継続される。カウンタ53のカウント値が第3所定時間T3以上になると(#21AにおいてYES)、アンテナの切り替え動作に戻る(#1)。   FIG. 12 shows an example of the operations of # 20 to # 23 in FIG. 8 in detail. In this operation example, a timeout time (third predetermined time T3) is set when the unique word UW2 is detected after the antenna that receives the payload is selected. When the detection of the bit string is reset and the unique word UW2 is set as the detected bit string (# 20), the count of the counter 53 is reset. Here, the counter 53 functions as a third counter and starts counting (# 20A). When a wireless signal is received and the preamble is detected by the preamble detector 44 within the third predetermined time T3 (YES in # 21), the process proceeds to detection of the unique word UW2 (# 22). When the preamble is not detected (NO in # 21), the count value of the counter 53 is compared with the third predetermined time T3 (# 21A). If the count value of the counter 53 is less than the third predetermined time T3 (NO in # 21A), after incrementing the count of the counter 53 (# 21B), the process returns to # 21 and the search for the preamble is continued from the received signal. Is done. When the count value of counter 53 reaches or exceeds third predetermined time T3 (YES in # 21A), the operation returns to the antenna switching operation (# 1).

#21におけるプリアンブルの検出後、第3所定時間T3内にユニークワード検出部45によってユニークワードUW2が検出されると(#22においてYES)、ペイロードの受信に移行する(#23)。ユニークワードUW2が検出されない場合(#22においてNO)、カウンタ53のカウント値が第3所定時間T3と比較される(#22A)。カウンタ53のカウント値が第3所定時間T3に満たない場合(#22AにおいてNO)、カウンタ53のカウントをインクリメントした後(#22B)、#22に戻って、ユニークワードUW2の検索が継続される。カウンタ53のカウント値が第3所定時間T3以上になると(#22AにおいてYES)、アンテナの切り替え動作に戻る(#1)。   If the unique word UW2 is detected by the unique word detection unit 45 within the third predetermined time T3 after detection of the preamble in # 21 (YES in # 22), the process proceeds to payload reception (# 23). When unique word UW2 is not detected (NO in # 22), the count value of counter 53 is compared with a third predetermined time T3 (# 22A). When the count value of the counter 53 is less than the third predetermined time T3 (NO in # 22A), the count of the counter 53 is incremented (# 22B), then the process returns to # 22 and the search for the unique word UW2 is continued. . When the count value of counter 53 reaches or exceeds third predetermined time T3 (YES in # 22A), the operation returns to the antenna switching operation (# 1).

図13は、図8における#23、すなわちペイロードの受信動作の一例を詳細に示す。この動作例では、ヘッダの検出にタイムアウト時間(第4所定時間T4)を設定する。#22においてユニークワードUW2が検出されると、カウンタ53のカウントがリセットされる。ここでは、カウンタ53は、第4カウンタとして機能し、カウントを開始する(#23A)。そして、無線信号を受信し、信号処理部51によってヘッダが検出され、第4所定時間T4内にヘッダの検出が完了すると(#23BにおいてYES)、データの受信に移行する(#23E)。ヘッダの検出が完了しない場合(#23BにおいてNO)、カウンタ53のカウント値が第4所定時間T4と比較される(#23C)。カウンタ53のカウント値が第4所定時間T4に満たない場合(#23CにおいてNO)、カウンタ53のカウントをインクリメントした後(#23D)、#23Bに戻って、受信した信号からヘッダの検索が継続される。カウンタ53のカウント値が第4所定時間T4以上になると(#23CにおいてYES)、アンテナの切り替え動作に戻る(#1)。   FIG. 13 shows in detail an example of the receiving operation of # 23 in FIG. 8, that is, the payload. In this operation example, a timeout time (fourth predetermined time T4) is set for header detection. When the unique word UW2 is detected in # 22, the count of the counter 53 is reset. Here, the counter 53 functions as a fourth counter and starts counting (# 23A). When a radio signal is received, the header is detected by the signal processing unit 51, and detection of the header is completed within the fourth predetermined time T4 (YES in # 23B), the process proceeds to data reception (# 23E). When the detection of the header is not completed (NO in # 23B), the count value of the counter 53 is compared with the fourth predetermined time T4 (# 23C). If the count value of the counter 53 is less than the fourth predetermined time T4 (NO in # 23C), the count of the counter 53 is incremented (# 23D), and then the process returns to # 23B and the header search is continued from the received signal. Is done. When the count value of counter 53 reaches or exceeds fourth predetermined time T4 (YES in # 23C), the operation returns to the antenna switching operation (# 1).

図14は、図8における#23、すなわちペイロードの受信動作の一例をさらに詳細に示す。この動作例では、レングス及びヘッダの検出にタイムアウト時間(第4所定時間T4A及びT4B)を設定する。ここで第4所定時間T4Bは、図13における第4所定時間T4と同等である。   FIG. 14 shows in more detail an example of the reception operation of # 23 in FIG. 8, that is, the payload. In this operation example, a timeout time (fourth predetermined time T4A and T4B) is set for detection of the length and the header. Here, the fourth predetermined time T4B is equivalent to the fourth predetermined time T4 in FIG.

また、この動作例では、データの検出にもタイムアウト時間(データ受信時間T5)を設定する。データ長は、パケット毎に異なるため、信号処理部51が、レングスを検出するたびに、データ受信時間T5の設定を更新することにより、データの検出に費やす時間を動的に変更する。   In this operation example, a timeout time (data reception time T5) is also set for data detection. Since the data length differs for each packet, the signal processing unit 51 dynamically changes the time spent for data detection by updating the setting of the data reception time T5 each time a length is detected.

#22においてユニークワードUW2が検出されると、カウンタ53のカウントがリセットされる。ここでは、カウンタ53は、第4カウンタA及び第4カウンタBとして機能し、カウントを開始する(#23A)。そして、無線信号を受信し、信号処理部51によってレングスが検出され、第4所定時間T4A内にレングスの検出が完了すると(#23FにおいてYES)、ヘッダの検出に移行する(#23B)。レングスの検出が完了しない場合(#23FにおいてNO)、カウンタ53のカウント値が第4所定時間T4Aと比較される(#23G)。カウンタ53のカウント値が第4所定時間T4Aに満たない場合(#23GにおいてNO)、カウンタ53のカウントをインクリメントした後(#23H)、#23Fに戻って、受信した信号からレングスの検索が継続される。カウンタ53のカウント値が第4所定時間T4A以上になると(#23GにおいてYES)、アンテナの切り替え動作に戻る(#1)。   When the unique word UW2 is detected in # 22, the count of the counter 53 is reset. Here, the counter 53 functions as the fourth counter A and the fourth counter B, and starts counting (# 23A). When the wireless signal is received and the length is detected by the signal processing unit 51 and the length detection is completed within the fourth predetermined time T4A (YES in # 23F), the process proceeds to header detection (# 23B). When the length detection is not completed (NO in # 23F), the count value of the counter 53 is compared with the fourth predetermined time T4A (# 23G). If the count value of the counter 53 is less than the fourth predetermined time T4A (NO in # 23G), the counter 53 is incremented (# 23H), then returns to # 23F, and the search for the length from the received signal continues. Is done. When the count value of counter 53 becomes equal to or longer than the fourth predetermined time T4A (YES in # 23G), the operation returns to the antenna switching operation (# 1).

#23Fにおけるレングスの検出が完了すると、信号処理部51によってヘッダが検出される(#23B)。第4所定時間T4B内にヘッダの検出が完了すると(#23BにおいてYES)、信号処理部51は、#23Fにおいて検出したレングスに基づいて、データ受信時間T5の設定を更新する。これにより、信号処理部51がデータの検出に費やされる時間は、パケット毎に動的に最適化され、CPU5の処理負担が軽減される。また、受信した無線信号に含まれるノイズをユニークワード等の信号と誤認した場合であっても、迅速にユニークワードUW1等を検索する動作に復帰できる。ヘッダの検出が完了しない場合(#23BにおいてNO)、カウンタ53のカウント値が第4所定時間T4Bと比較される(#23C)。カウンタ53のカウント値が第4所定時間T4Bに満たない場合(#23CにおいてNO)、カウンタ53のカウントをインクリメントした後(#23D)、#23Bに戻って、受信した信号からヘッダの検索が継続される。カウンタ53のカウント値が第4所定時間T4B以上になると(#23CにおいてYES)、アンテナの切り替え動作に戻る(#1)。なお、第4カウンタBとして機能させるカウンタ53は、#23Fにおいてレングスの検出が完了した後(#23FにおいてYES)、リセットして第4所定時間T4Bのカウントを開始するように設定されていてもよい。この場合、第4所定時間T4Bは、図13における第4所定時間T4からレングス長に相当する第4所定時間T4Aを減じた時間となる。   When the length detection in # 23F is completed, the header is detected by the signal processing unit 51 (# 23B). When the detection of the header is completed within the fourth predetermined time T4B (YES in # 23B), the signal processing unit 51 updates the setting of the data reception time T5 based on the length detected in # 23F. As a result, the time spent for data detection by the signal processing unit 51 is dynamically optimized for each packet, and the processing load on the CPU 5 is reduced. Further, even when the noise included in the received radio signal is mistaken as a signal such as a unique word, it is possible to quickly return to the operation of searching for the unique word UW1 or the like. When the detection of the header is not completed (NO in # 23B), the count value of the counter 53 is compared with the fourth predetermined time T4B (# 23C). If the count value of the counter 53 is less than the fourth predetermined time T4B (NO in # 23C), after incrementing the count of the counter 53 (# 23D), the process returns to # 23B and the header search is continued from the received signal. Is done. When the count value of counter 53 is equal to or longer than the fourth predetermined time T4B (YES in # 23C), the operation returns to the antenna switching operation (# 1). The counter 53 functioning as the fourth counter B may be set to reset after the detection of the length in # 23F (YES in # 23F) and start counting the fourth predetermined time T4B. Good. In this case, the fourth predetermined time T4B is a time obtained by subtracting the fourth predetermined time T4A corresponding to the length length from the fourth predetermined time T4 in FIG.

#23Bにおいてヘッドの検出が完了し、#23Iにおいてデータ受信時間T5の設定が更新されると、カウンタ53のカウントがリセットされる。ここでは、カウンタ53は、第5カウンタとして機能し、カウントを開始する(#23J)。そして、無線信号を受信し、信号処理部51によってデータが検出され、データ受信時間T5内にデータの検出が完了すると(#23KにおいてYES)、アンテナの切り替え動作に戻る(#1)。データの検出が完了しない場合(#23KにおいてNO)、カウンタ53のカウント値がデータ受信時間T5と比較される(#23L)。カウンタ53のカウント値がデータ受信時間T5に満たない場合(#23LにおいてNO)、カウンタ53のカウントをインクリメントした後(#23M)、#23Kに戻って、受信した信号からデータの検索が継続される。カウンタ53のカウント値がデータ受信時間T5以上になると(#23LにおいてYES)、アンテナの切り替え動作に戻る(#1)。   When the head detection is completed at # 23B and the setting of the data reception time T5 is updated at # 23I, the count of the counter 53 is reset. Here, the counter 53 functions as a fifth counter and starts counting (# 23J). When a radio signal is received, data is detected by the signal processing unit 51, and data detection is completed within the data reception time T5 (YES in # 23K), the operation returns to the antenna switching operation (# 1). When the data detection is not completed (NO in # 23K), the count value of the counter 53 is compared with the data reception time T5 (# 23L). If the count value of the counter 53 is less than the data reception time T5 (NO in # 23L), the count of the counter 53 is incremented (# 23M), then the process returns to # 23K and the search for data from the received signal is continued. The When the count value of counter 53 is equal to or longer than data reception time T5 (YES in # 23L), the operation returns to the antenna switching operation (# 1).

以上のように、本実施形態のアンテナ切り替え受信システム1によれば、ユニークワード検出部45が、同時に複数種類のユニークワードを待ち受ける必要がない。すなわち、図8中、#6及び#13においてはユニークワードUW1のみを、#22においてはユニークワードUW2のみをそれぞれ待ち受けて検出すればよいので、ユニークワード検出部45の処理負担が大幅に軽減される。近年のICは、CPUには及ばないものの多機能化が推進されており、このような単一のユニークワード待ち受けて検出する処理は、RFIC4に備えられている機能を利用することにより実現できる。これにより、RFIC4が備えるビット列検出機能を用いてユニークワード検出部45を構成しながら、正確に信号品質の高いアンテナを選択することができる。また、CPU5が、プリアンブル検出部44又はユニークワード検出部45等の代わりにプリアンブル又はユニークワードを検出する構成であっても、CPU5の処理負担が軽減されることに変わりはない。従って、高スペックなCPU5を用いることなく、簡素かつ安価な構成で、マルチパスフェージングによるレベル変動の影響を低減できるようになる。CPU5の処理能力をビット列検出以外の他の機能に振り分けることができ、コストアップを伴うことなく、多機能なアンテナ切り替え受信システム1を構築できる。   As described above, according to the antenna switching reception system 1 of the present embodiment, the unique word detection unit 45 does not have to wait for a plurality of types of unique words at the same time. That is, in FIG. 8, only the unique word UW1 needs to be waited for and detected only at # 6 and # 13, and only the unique word UW2 at # 22, so that the processing burden on the unique word detector 45 is greatly reduced. The In recent years, ICs that do not reach the CPU have been promoted to be multi-functional, and such a process of waiting for and detecting a single unique word can be realized by using a function provided in the RFIC 4. As a result, it is possible to accurately select an antenna with high signal quality while configuring the unique word detection unit 45 using the bit string detection function provided in the RFIC 4. Even if the CPU 5 is configured to detect a preamble or unique word instead of the preamble detector 44 or the unique word detector 45, the processing load on the CPU 5 is still reduced. Therefore, the influence of level fluctuations due to multipath fading can be reduced with a simple and inexpensive configuration without using a high-spec CPU 5. The processing capability of the CPU 5 can be allocated to functions other than bit string detection, and the multifunctional antenna switching reception system 1 can be constructed without increasing costs.

また、切り替えたアンテナでユニークワードUW1を検出する動作を第2所定時間T2に留めているので、CPU5の処理負担を軽減できる。切り替えたアンテナで受信した無線信号の品質がユニークワードUW1を検出できるレベルに達していない場合であっても、第2所定時間T2の経過後に、ユニークワードUW1の検出を中止して、ユニークワードUW2の検出の準備に移行できるからである。(図6参照。)   In addition, since the operation of detecting the unique word UW1 with the switched antenna is held for the second predetermined time T2, the processing load on the CPU 5 can be reduced. Even if the quality of the radio signal received by the switched antenna does not reach a level at which the unique word UW1 can be detected, the detection of the unique word UW1 is stopped after the second predetermined time T2 has elapsed, and the unique word UW2 This is because it is possible to shift to preparation for detection. (See Figure 6.)

また、信号品質が高いアンテナとしてアンテナ制御部52に選択されたアンテナによってユニークワードUW2を受信してペイロードの先頭ビットを検出するので、ペイロードの頭出しを適正に行うことができる。また、アンテナ制御部52に選択されたアンテナに固定したままペイロードが受信されるので、品質の高いペイロードの信号を取得できる。   Further, the unique word UW2 is received by the antenna selected by the antenna control unit 52 as an antenna having a high signal quality, and the leading bit of the payload is detected, so that the payload can be properly cued. Further, since the payload is received while being fixed to the antenna selected by the antenna control unit 52, a high-quality payload signal can be acquired.

また、アンテナの選択後、ユニークワードUW2を検出する動作を第3所定時間T3に留めているので、CPU5の処理負担を軽減できる。適正に設定された第3所定時間T3の経過後は、送信システム70から当該パケット内のユニークワードUW2が送信されることはないため、ユニークワードUW2の検出を中止して、次のパケットの受信準備に移行できるからである。   In addition, since the operation of detecting the unique word UW2 is limited to the third predetermined time T3 after the antenna is selected, the processing load on the CPU 5 can be reduced. After the properly set third predetermined time T3 has elapsed, the unique word UW2 in the packet is not transmitted from the transmission system 70, so detection of the unique word UW2 is stopped and reception of the next packet is received. It is because it can move to preparation.

また、第1所定時間T1は、プリアンブル及びユニークワードUW1の2周期分の時間に設定され、第2所定時間T2は、プリアンブル及びユニークワードUW1の1周期分以上の時間に設定されている。従って、送信システム70から送信されるパケットに対して、いずれのタイミングでアンテナが切り替えられても、いずれかのプリアンブル及びユニークワードUW1を受信状態で待ち受けることができる。   The first predetermined time T1 is set to a time corresponding to two cycles of the preamble and the unique word UW1, and the second predetermined time T2 is set to a time longer than one cycle of the preamble and the unique word UW1. Therefore, any preamble and unique word UW1 can be awaited in a reception state regardless of the timing at which the antenna is switched for a packet transmitted from the transmission system 70.

また、第3所定時間T3は、プリアンブル及びユニークワードUW1の3周期分以上の時間に、ユニークワードUW2及びユニークワードUW2の前に受信するプリアンブルの1周期分の時間を加えた時間に設定されている。従って、送信システム70から送信されるパケットに対して、いずれのタイミングでアンテナが切り替えられても、アンテナの選択後、ユニークワードUW2を受信状態で待ち受けることができる。   The third predetermined time T3 is set to a time obtained by adding a time corresponding to one cycle of the preamble received before the unique word UW2 and the unique word UW2 to a time equal to or longer than three cycles of the preamble and the unique word UW1. Yes. Therefore, even if the antenna is switched at any timing for the packet transmitted from the transmission system 70, the unique word UW2 can be waited in the reception state after the antenna is selected.

また、信号処理部51が、第4所定時間T4内にヘッダの検出を完了できないとき、ペイロードのデータを受信することなく、再びアンテナを切り替えながら、ユニークワード検出部45等によるユニークワードUW1の検出動作に復帰する。これにより、CPU5の処理負担をより一層軽減できる。また、受信した無線信号に含まれるノイズをユニークワード等の信号と誤認した場合であっても、迅速にユニークワードUW1等を検索する動作に復帰できる。   Further, when the signal processing unit 51 cannot complete the header detection within the fourth predetermined time T4, the unique word UW1 is detected by the unique word detection unit 45 or the like while switching the antenna again without receiving the payload data. Return to operation. Thereby, the processing load of the CPU 5 can be further reduced. Further, even when the noise included in the received radio signal is mistaken as a signal such as a unique word, it is possible to quickly return to the operation of searching for the unique word UW1 or the like.

また、信号処理部51が、更新したデータ受信時間T5内にデータの検出を完了できないとき、再びアンテナを切り替えながら、ユニークワード検出部45等によるユニークワードUW1の検出動作に復帰する。これにより、CPU5の処理負担をより一層軽減できる。また、データ受信時間T5は、ヘッダに含まれるレングスに基づいてパケット毎に動的に更新され、最適化されるので、CPU5の処理負担をより一層軽減できる。   When the signal processing unit 51 cannot complete the detection of data within the updated data reception time T5, the unique word UW1 is returned to the operation of detecting the unique word UW1 while switching the antenna again. Thereby, the processing load of the CPU 5 can be further reduced. Further, since the data reception time T5 is dynamically updated and optimized for each packet based on the length included in the header, the processing load on the CPU 5 can be further reduced.

また、複数のユニークワードUW1をペイロードの前に送信する送信システムによって、アンテナ切り替え受信システム1に対応した無線送受信システムを構築できる。また、複数のユニークワードUW1を送信した後、ユニークワードUW2をペイロードの前に送信する送信システムによって、アンテナ切り替え受信システム1により一層対応した無線送受信システムを構築できる。また、プリアンブルをそれぞれのユニークワードUW1の前に送信する送信システムによって、アンテナ切り替え受信システム1により一層対応した無線送受信システムを構築できる。   In addition, a wireless transmission / reception system corresponding to the antenna switching reception system 1 can be constructed by a transmission system that transmits a plurality of unique words UW1 before the payload. Further, a wireless transmission / reception system that is more compatible with the antenna switching reception system 1 can be constructed by a transmission system that transmits the unique word UW2 before the payload after transmitting a plurality of unique words UW1. Further, a radio transmission / reception system that is more compatible with the antenna switching reception system 1 can be constructed by a transmission system that transmits a preamble before each unique word UW1.

なお、本発明は、上記実施形態の構成に限られない。少なくともアンテナを切り替えながらユニークワード検出部45が複数のユニークワードUW1のうちいずれかのユニークワードUW1を第1所定時間T1内に検出したとき、信号処理部51は、受信した無線信号の品質を検出し、アンテナ制御部52がアンテナを切り替えた後、ユニークワード検出部45が別のユニークワードUW1を第2所定時間T2内に検索することにより、アンテナ制御部52は、信号処理部51によって検出された信号品質が高いアンテナを選択して、その後のペイロードを受信するように構成されていればよい。   The present invention is not limited to the configuration of the above embodiment. When the unique word detection unit 45 detects any one of the plurality of unique words UW1 within the first predetermined time T1 while switching the antenna, the signal processing unit 51 detects the quality of the received radio signal. After the antenna control unit 52 switches the antenna, the unique word detection unit 45 searches for another unique word UW1 within the second predetermined time T2, so that the antenna control unit 52 is detected by the signal processing unit 51. It is only necessary to select an antenna having a high signal quality and receive the subsequent payload.

また、本発明は、種々の変形が可能である。例えば、各アンテナによって受信した信号の品質は、受信レベルの平均値を算出することなく、ある時点での受信レベルに基づいて検出するものとしてもよい。例えば、各アンテナでプリアンブルを検出した時点、プリアンブルの検出から所定時間の経過後又はユニークワードUW1を検出した時点の受信レベルに基づいて信号品質を検出してもよい。この場合、信号処理部51の処理負担、すなわちCPU5の処理負担がより一層軽減される。   The present invention can be variously modified. For example, the quality of the signal received by each antenna may be detected based on the reception level at a certain point in time without calculating the average value of the reception levels. For example, the signal quality may be detected based on the reception level when the preamble is detected by each antenna, after a predetermined time has elapsed since the detection of the preamble, or when the unique word UW1 is detected. In this case, the processing load on the signal processing unit 51, that is, the processing load on the CPU 5 is further reduced.

また、第1所定時間T1、第2所定時間T2、第3所定時間T3、第4所定時間T4及びデータ受信時間T5は、それぞれ上述した時間に加え、若干の余裕時間(マージン)を含めて設定してもよい。各端末間におけるクロックのずれに伴う不具合を回避できるからである。   Further, the first predetermined time T1, the second predetermined time T2, the third predetermined time T3, the fourth predetermined time T4, and the data reception time T5 are set including a slight margin time (margin) in addition to the above-described time. May be. This is because it is possible to avoid problems associated with clock lag between terminals.

また、各アンテナによって受信した信号の品質は、受信レベルの他、予め記憶しているユニークワードのビット列に対するベースバンド信号のビット列の誤り率等によっても検出することができる。   The quality of the signal received by each antenna can be detected not only by the reception level but also by the error rate of the bit string of the baseband signal with respect to the bit string of the unique word stored in advance.

また、本発明のアンテナ切り替え受信システム1及び送信システム70は、HEMS100に限られることなく、「切り替えダイバーシチ」を用いた他の無線システムにも広く適用可能である。   In addition, the antenna switching reception system 1 and the transmission system 70 of the present invention are not limited to the HEMS 100, and can be widely applied to other wireless systems using “switching diversity”.

1 アンテナ切り替え受信システム
3 アンテナ切替部
41 RF部(信号品質検出部)
44 プリアンブル検出部(ビット列検出部)
45 ユニークワード検出部(ビット列検出部)
51 信号処理部(信号品質検出部、ヘッダ検出部、データ検出部、受信時間更新部)
52 アンテナ制御部
70 送信システム
UW1 ユニークワード(第1ユニークワード)
UW2 ユニークワード(第2ユニークワード)
DESCRIPTION OF SYMBOLS 1 Antenna switching reception system 3 Antenna switching part 41 RF part (signal quality detection part)
44 Preamble detector (bit string detector)
45 Unique word detector (bit string detector)
51 Signal processing unit (signal quality detection unit, header detection unit, data detection unit, reception time update unit)
52 Antenna control unit 70 Transmission system UW1 Unique word (first unique word)
UW2 unique word (second unique word)

Claims (8)

複数のアンテナの切り替えを制御するアンテナ制御部と、アンテナを択一的に切り替えながら受信した無線信号を検索して、予め設定されているユニークワードのビット列と同一のビット列を検出するビット列検出部と、
各アンテナ毎に受信した無線信号の品質を検出する信号品質検出部とを備え、
前記ビット列検出部が同一のビット列から成る複数の第1ユニークワードのうちいずれかの第1ユニークワードを第1所定時間内に検出したとき、前記信号品質検出部は、受信した無線信号の品質を検出し、
前記アンテナ制御部がアンテナを切り替えた後、前記ビット列検出部が前記いずれかの第1ユニークワードとは別の第1ユニークワードを第2所定時間内に検索することにより、前記信号品質検出部は、切り替えたアンテナで受信した無線信号の品質を検出し、
前記アンテナ制御部は、前記信号品質検出部によって検出された信号品質が高いアンテナを選択して、その後のペイロードを受信するアンテナ切り替え受信システムであって、
前記第1ユニークワードは、前記複数のアンテナの数の2倍だけ送信され、
前記複数のアンテナは、それぞれ、最初に前記第1ユニークワードが検出されるまでは、前記第1ユニークワードの前に送信されるプリアンブル及び前記第1ユニークワードの送信周期の2倍の周期で切り替えられることを特徴とするアンテナ切り替え受信システム。
An antenna control unit that controls switching of a plurality of antennas, and a bit string detection unit that searches a wireless signal received while switching antennas alternatively and detects a bit string that is the same as a bit string of a preset unique word ,
A signal quality detection unit that detects the quality of the radio signal received for each antenna;
When the bit string detection unit detects any one of the plurality of first unique words composed of the same bit string within a first predetermined time, the signal quality detection unit determines the quality of the received radio signal. Detect
After the antenna control unit switches the antenna, the bit string detection unit searches for a first unique word different from any of the first unique words within a second predetermined time, so that the signal quality detection unit , Detect the quality of the radio signal received by the switched antenna,
The antenna control unit is an antenna switching reception system that selects an antenna having a high signal quality detected by the signal quality detection unit and receives a subsequent payload,
The first unique word is transmitted by twice the number of the plurality of antennas,
Each of the plurality of antennas is switched at a cycle that is twice the transmission cycle of the preamble and the first unique word transmitted before the first unique word until the first unique word is detected for the first time. An antenna switching receiving system.
前記アンテナ制御部が前記信号品質が高いアンテナを選択した後、前記ビット列検出部が、第3所定時間内に前記第1ユニークワードとは異なる第2ユニークワードを検出すると、
前記アンテナ制御部は、アンテナを固定したまま、その後のペイロードを受信することを特徴とする請求項1に記載のアンテナ切り替え受信システム。
After the antenna control unit selects an antenna having a high signal quality, the bit string detection unit detects a second unique word different from the first unique word within a third predetermined time.
The antenna switching reception system according to claim 1, wherein the antenna control unit receives a subsequent payload while the antenna is fixed.
前記第1所定時間は、前記第1ユニークワード及び該第1ユニークワードの前に受信するプリアンブルの2周期分の時間に相当し、前記第2所定時間は、前記第1ユニークワード及び前記プリアンブルの1周期分以上の時間に相当することを特徴とする請求項1又は請求項2に記載のアンテナ切り替え受信システム。   The first predetermined time corresponds to a time corresponding to two cycles of the first unique word and a preamble received before the first unique word, and the second predetermined time includes the first unique word and the preamble. The antenna switching reception system according to claim 1, wherein the antenna switching reception system corresponds to a time of one period or more. 前記第3所定時間は、前記プリアンブル及び前記第1ユニークワードの3周期分以上の時間に、前記第2ユニークワード及び該第2ユニークワードの前に受信するプリアンブルの1周期分の時間を加えた時間に相当することを特徴とする請求項2に従属する請求項3に記載のアンテナ切り替え受信システム。   The third predetermined time is obtained by adding a time corresponding to one period of the preamble received before the second unique word and the second unique word to a time equal to or longer than three periods of the preamble and the first unique word. 4. The antenna switching receiving system according to claim 3, which is dependent on time. 前記ペイロードに含まれるヘッダを検出するヘッダ検出部と、前記ペイロードに含まれるデータを検出するデータ検出部をさらに備え、前記ヘッダ検出部が、第4所定時間内に前記ヘッダの検出を完了できないとき、
ペイロードのデータを受信することなく、再びアンテナを切り替えながら、前記ビット列検出部による前記第1ユニークワードの検出動作に復帰することを特徴とする請求項1乃至請求項4のいずれか一項に記載のアンテナ切り替え受信システム。
When a header detection unit that detects a header included in the payload and a data detection unit that detects data included in the payload are further included, and the header detection unit cannot complete detection of the header within a fourth predetermined time ,
5. The detection of the first unique word by the bit string detection unit is resumed while the antenna is switched again without receiving payload data. 6. Antenna switching reception system.
前記ヘッダに含まれるレングスに基づいて前記データを検出するためのデータ受信時間を更新する受信時間更新部をさらに備え、
前記データ検出部が、前記受信時間更新部によって更新されたデータ受信時間内に前記データの検出を完了できないとき、
再びアンテナを切り替えながら、前記ビット列検出部による前記第1ユニークワードの検出動作に復帰することを特徴とする請求項に記載のアンテナ切り替え受信システム。
A reception time update unit for updating a data reception time for detecting the data based on a length included in the header;
When the data detection unit cannot complete detection of the data within the data reception time updated by the reception time update unit,
6. The antenna switching reception system according to claim 5 , wherein the first unique word detection operation by the bit string detection unit is restored while the antenna is switched again.
前記複数のアンテナの数の2倍だけ、前記第1ユニークワードを前記ペイロードの前に送信することを特徴とする請求項1に記載のアンテナ切り替え受信システムに対応する送信システム。 The transmission system corresponding to the antenna switching reception system according to claim 1 , wherein the first unique word is transmitted before the payload by twice as many as the number of the plurality of antennas . 前記複数の第1ユニークワードを送信した後、前記第2ユニークワードを前記ペイロードの前に送信することを特徴とする請求項2に記載のアンテナ切り替え受信システムに対応する送信システム。   The transmission system corresponding to the antenna switching reception system according to claim 2, wherein after transmitting the plurality of first unique words, the second unique word is transmitted before the payload.
JP2012231916A 2012-10-19 2012-10-19 Antenna switching reception system and corresponding transmission system Active JP6032543B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012231916A JP6032543B2 (en) 2012-10-19 2012-10-19 Antenna switching reception system and corresponding transmission system
CN201310473939.5A CN103780299B (en) 2012-10-19 2013-10-11 Antenna switchover receiving system and transmitting system corresponding to same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012231916A JP6032543B2 (en) 2012-10-19 2012-10-19 Antenna switching reception system and corresponding transmission system

Publications (2)

Publication Number Publication Date
JP2014086767A JP2014086767A (en) 2014-05-12
JP6032543B2 true JP6032543B2 (en) 2016-11-30

Family

ID=50572192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012231916A Active JP6032543B2 (en) 2012-10-19 2012-10-19 Antenna switching reception system and corresponding transmission system

Country Status (2)

Country Link
JP (1) JP6032543B2 (en)
CN (1) CN103780299B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108988904B (en) 2018-07-23 2020-10-30 Oppo广东移动通信有限公司 Radio frequency system, antenna switching control method and related product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4513412A (en) * 1983-04-25 1985-04-23 At&T Bell Laboratories Time division adaptive retransmission technique for portable radio telephones
JP5199035B2 (en) * 2007-11-27 2013-05-15 株式会社日立国際電気 Automatic tracking device
JP5842111B2 (en) * 2010-07-05 2016-01-13 パナソニックIpマネジメント株式会社 Antenna switching reception system
WO2012028917A1 (en) * 2010-08-26 2012-03-08 パナソニック株式会社 Antenna-switchable reception system and wireless communications device including same
CN102457315B (en) * 2010-10-18 2014-12-17 瑞昱半导体股份有限公司 Antenna diversity device and antenna diversity method

Also Published As

Publication number Publication date
CN103780299A (en) 2014-05-07
CN103780299B (en) 2017-04-12
JP2014086767A (en) 2014-05-12

Similar Documents

Publication Publication Date Title
CN105075370B (en) The user equipment and method of distributed channel access for D2D communication
US8064861B2 (en) Circuit and method for antenna selection in an antenna diversity receiver
WO2012028917A1 (en) Antenna-switchable reception system and wireless communications device including same
EP2451216B1 (en) Wireless device
TW201511405A (en) Wireless communication apparatus and controlling method thereof
CN102282893A (en) Method and apparatus for cell searching
US20150016564A1 (en) Communication apparatus and communication method
JP5842111B2 (en) Antenna switching reception system
US8837640B2 (en) Multiple protocol receiver
JP6032645B2 (en) Antenna switching reception system and corresponding transmission system
JP6032543B2 (en) Antenna switching reception system and corresponding transmission system
JP6032544B2 (en) Antenna switching reception system and corresponding transmission system
JP2014086766A (en) Antenna changeover communication system
US20140018121A1 (en) Apparatus and method for selecting d2d communication mode depending on signal interference
JP6032646B2 (en) Antenna switching reception system and corresponding transmission system
WO2013044638A1 (en) Method and device for setting initial agc gain
US8504012B2 (en) System and method for providing broadcast services in broadband wireless access system
US10356844B2 (en) Communication device
JP5747177B2 (en) Antenna switching reception system and wireless communication device including the same
JP5658946B2 (en) Antenna switching reception system
AU2012325343B2 (en) Multiple protocol receiver
CN103069727B (en) Antenna switches receiving system and possesses the wireless communicator of this system
JP2017143481A (en) Communication device
JP6811417B2 (en) Receiver and program
KR101370125B1 (en) Method for Detecting and Combining Channel in Different Kinds of Networks

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20141003

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20141010

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160905

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161013

R151 Written notification of patent or utility model registration

Ref document number: 6032543

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151