JP5085773B2 - Communication device and detection cycle correction method - Google Patents

Communication device and detection cycle correction method Download PDF

Info

Publication number
JP5085773B2
JP5085773B2 JP2011164424A JP2011164424A JP5085773B2 JP 5085773 B2 JP5085773 B2 JP 5085773B2 JP 2011164424 A JP2011164424 A JP 2011164424A JP 2011164424 A JP2011164424 A JP 2011164424A JP 5085773 B2 JP5085773 B2 JP 5085773B2
Authority
JP
Japan
Prior art keywords
signal
period
reference frequency
wireless
window
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.)
Expired - Fee Related
Application number
JP2011164424A
Other languages
Japanese (ja)
Other versions
JP2011254516A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2011164424A priority Critical patent/JP5085773B2/en
Publication of JP2011254516A publication Critical patent/JP2011254516A/en
Application granted granted Critical
Publication of JP5085773B2 publication Critical patent/JP5085773B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuits Of Receivers In General (AREA)

Description

本発明の実施形態は、通信機器および検知周期方法に関する。   Embodiments described herein relate generally to a communication device and a detection cycle method.

最近では、待機電力極小化技術チップに関する技術が知られている。そこで、この待機電力極小化技術チップ(以下、「EcoChip(エコチップ)」という。)を携帯電話機などの通信機器に搭載することにより、通信機器はアクセスポイント(以下、単に「AP」という。)や他の通信機器から送信された無線信号を常時監視することができる。すなわち、EcoChipを利用することにより、例えば携帯電話機とAPなどとの間において無線LAN通信を行うために、携帯電話機内の消費電力の大きいWLAN通信モジュールの電源をオフし、消費電力の小さいEcoChipによりAPからの信号を定期的に監視することができる。   Recently, a technology related to a standby power minimization technology chip is known. Therefore, by mounting this standby power minimization technology chip (hereinafter referred to as “EcoChip”) on a communication device such as a mobile phone, the communication device can be an access point (hereinafter simply referred to as “AP”) or the like. Wireless signals transmitted from other communication devices can be constantly monitored. That is, by using EcoChip, for example, in order to perform wireless LAN communication between a mobile phone and an AP, the power of the WLAN communication module with high power consumption in the mobile phone is turned off, and EcoChip with low power consumption is used. The signal from the AP can be monitored periodically.

ここで、携帯電話機内のEcoChipは、APなどから送信された待ち受け中である信号が検知されたか否かを、時間軸上における受信強度(HighまたはLow)のみによって判断するようになっている。このため、EcoChipは、ユニーク(固有な)な送信系列または一定周期で送信し続けられる信号の周期性に基づいて、所要の検知の有無を判断する。   Here, EcoChip in the mobile phone determines whether or not a waiting signal transmitted from an AP or the like has been detected based only on reception strength (High or Low) on the time axis. For this reason, EcoChip determines the presence or absence of the required detection based on a unique transmission sequence or the periodicity of a signal that is continuously transmitted at a constant period.

特開2009−89434号公報JP 2009-89434 A

EcoChipは、動作するための動作クロックに例えば回路内の水晶発振子により発生した基準周波数を用いる。また、EcoChipが動作するための動作クロックとして、電波時計を用いることも考えられる。しかし、電波時計は電波の受信状況に左右されることから屋内や特に地下では使用することは難しい。   EcoChip uses, for example, a reference frequency generated by a crystal oscillator in a circuit as an operation clock for operation. It is also conceivable to use a radio clock as an operation clock for operating EcoChip. However, radio timepieces are difficult to use indoors and especially underground because they are affected by the reception status of radio waves.

ここで、水晶発振子の精度は温度に依存する(周波数温度特性)。水晶発振子は、周囲の温度によって発振周波数が数100ppmのオーダーで変化してしまう可能性がある。そのため、EcoChipが動作するための動作クロックとして水晶発振子を用いる場合、水晶発振子による発振周波数を定期的にまたはイベントドリブンで補正する必要がある。   Here, the accuracy of the crystal oscillator depends on temperature (frequency temperature characteristics). In the crystal oscillator, the oscillation frequency may change in the order of several hundred ppm depending on the ambient temperature. For this reason, when a crystal oscillator is used as an operation clock for operating EcoChip, it is necessary to correct the oscillation frequency of the crystal oscillator periodically or event-driven.

一方、EcoChipが動作するための動作クロックとしてより高精度の水晶発振子を回路内に実装することも考えられる。しかし、高精度の水晶発振子用に新たなスペースを確保する必要がある。また、帰還回路などによる発振周波数の補正方法では、EcoChipにおける消費電力が増えてしまい、EcoChipによる低消費電力化を実現することが困難となる。   On the other hand, it is also conceivable to mount a crystal oscillator with higher accuracy in the circuit as an operation clock for operating EcoChip. However, it is necessary to secure a new space for a high-precision crystal oscillator. In addition, in the method of correcting the oscillation frequency using a feedback circuit or the like, power consumption in EcoChip increases, and it becomes difficult to realize low power consumption using EcoChip.

本発明は、このような状況に鑑みてなされたものであり、回路内の低消費電力を維持しつつ、基準周波数を高精度に補正することができる通信機器および検知周期補正方法を提供することを目的とする。   The present invention has been made in view of such a situation, and provides a communication device and a detection cycle correction method capable of correcting a reference frequency with high accuracy while maintaining low power consumption in a circuit. With the goal.

実施形態の通信機器は、基準周波数を生成する基準周波数発生部と、基準周波数より精度が高い高精度基準周波数を生成する高精度基準周波数発生部と、高精度基準周波数に基づいて動作し、第1の周期信号を送信する送信部と、基準周波数に基づいて動作し、第1の周期ごとに外部機器から送信される第2の周期信号を第1の周期に対応する第2の周期ごとに検知する無線信号検知部とを備える。無線信号検知部は、送信部より送信される第1の周期信号に基づいて、第1の周期と第2の周期とのずれが所定値以下となるように第2の周期を小さくまたは大きくする補正処理を行う。   The communication device of the embodiment operates based on a reference frequency generation unit that generates a reference frequency, a high-accuracy reference frequency generation unit that generates a high-accuracy reference frequency with higher accuracy than the reference frequency, and a high-accuracy reference frequency. A transmission unit that transmits one periodic signal and a second periodic signal that operates based on a reference frequency and that is transmitted from an external device for each first period, for each second period that corresponds to the first period A wireless signal detection unit for detection. Based on the first periodic signal transmitted from the transmission unit, the wireless signal detection unit decreases or increases the second period so that the difference between the first period and the second period is equal to or less than a predetermined value. Perform correction processing.

本実施形態における通信機器の一例である携帯電話機のシステム構成図。The system block diagram of the mobile telephone which is an example of the communication apparatus in this embodiment. 図1の無線信号検知回路および無線通信モジュールを特に示す回路構成図。The circuit block diagram which shows especially the radio | wireless signal detection circuit and radio | wireless communication module of FIG. 基準周波数発生回路の温度対周波数許容偏差の一例を示す図。The figure which shows an example of the temperature vs. frequency tolerance of a reference frequency generation circuit. 無線信号検知回路が無線信号の検知に用いるレジスタの構成を説明する図。6A and 6B illustrate a structure of a register used by a wireless signal detection circuit to detect a wireless signal. 検知ウインドウごとに得られた信号パターンを概念的に示す図。The figure which shows notionally the signal pattern obtained for every detection window. 連続した起床区間における周期信号の検出時刻のずれを説明する図。The figure explaining the shift | offset | difference of the detection time of the periodic signal in the continuous waking area. レジスタの構成例を示す図。The figure which shows the structural example of a register | resistor. 無線信号検知回路が間欠動作する際に検知ウインドウで検出された信号パターンの様子を示す図。The figure which shows the mode of the signal pattern detected by the detection window when a radio signal detection circuit carries out intermittent operation | movement. ウインドウ幅が周期信号の周期に対して誤差を有しない場合の検知ウインドウの加算および積算処理を説明する図。The figure explaining the addition of a detection window when a window width does not have an error with respect to the period of a periodic signal, and integration processing. ウインドウ幅が周期信号の周期に対して誤差を有する場合の検知ウインドウの加算および積算処理を説明する図。The figure explaining the addition and integration | stacking process of a detection window when a window width has an error with respect to the period of a periodic signal. 本実施形態における携帯電話機において実行される検知ウインドウ補正処理を説明するフローチャート。The flowchart explaining the detection window correction | amendment process performed in the mobile telephone in this embodiment. ハイレベル区間の幅の差を求める際の概念図。The conceptual diagram at the time of calculating | requiring the difference of the width | variety of a high level area. 他の検知ウインドウ補正処理を説明する概念図。The conceptual diagram explaining the other detection window correction process. 無線信号検知回路および無線通信モジュールを特に示す変形例としての回路構成図。The circuit block diagram as a modification which shows especially a radio signal detection circuit and a radio | wireless communication module.

本発明に係る通信機器および検知周期補正方法の一実施形態を添付図面に基づいて説明する。   An embodiment of a communication device and a detection cycle correction method according to the present invention will be described with reference to the accompanying drawings.

図1は、本実施形態における通信機器の一例である携帯電話機1のシステム構成図である。   FIG. 1 is a system configuration diagram of a mobile phone 1 which is an example of a communication device in the present embodiment.

携帯電話機1は、移動通信モジュール11、WLAN通信モジュール12、BT通信モジュール13、CPU15、メモリ16、入力部17、表示部18、マイクロフォン19、スピーカ20、無線信号検知回路23および電源回路24を有する。携帯電話機1の各部は、バス25により接続される。   The mobile phone 1 includes a mobile communication module 11, a WLAN communication module 12, a BT communication module 13, a CPU 15, a memory 16, an input unit 17, a display unit 18, a microphone 19, a speaker 20, a wireless signal detection circuit 23, and a power supply circuit 24. . Each part of the mobile phone 1 is connected by a bus 25.

電源回路24は、バッテリの出力を基に所定の動作電源電圧を生成して動作電力を各回路部に供給する。携帯電話機1は、電源回路24から供給されるこの動作電力に基づいて動作する。   The power supply circuit 24 generates a predetermined operating power supply voltage based on the output of the battery and supplies the operating power to each circuit unit. The cellular phone 1 operates based on this operating power supplied from the power supply circuit 24.

移動通信モジュール11は、基地局(図示せず)との音声や電子メールなどのデータの送受信を実現する。移動通信モジュール11は、アンテナを備え、移動体通信網に収容される基地局から所定の通信処理システムで送信される無線信号を空間から受信する。また、移動通信モジュール11は、基地局に対して所定の通信処理システムで無線通信できるようにアンテナを介して空間に所定の無線信号を放射する。移動通信モジュール11は、受信された信号に対して所定の処理を行った後、CPU15にデータを出力したり、スピーカ20より音声を出力したりする。また、移動通信モジュール11は、CPU15より出力されたデータやマイクロフォン19より集音された音声を所定の処理を行った後送信する。   The mobile communication module 11 implements transmission / reception of data such as voice and electronic mail with a base station (not shown). The mobile communication module 11 includes an antenna, and receives from the space a radio signal transmitted from a base station accommodated in the mobile communication network using a predetermined communication processing system. In addition, the mobile communication module 11 radiates a predetermined radio signal to the space via an antenna so that wireless communication can be performed with the base station using a predetermined communication processing system. The mobile communication module 11 performs predetermined processing on the received signal, and then outputs data to the CPU 15 and outputs sound from the speaker 20. Further, the mobile communication module 11 transmits the data output from the CPU 15 and the sound collected from the microphone 19 after performing a predetermined process.

WLAN通信モジュール12は、内蔵されたアンテナを介して通信規格IEEE802.11aやIEEE802.11bなどに準拠した無線LAN通信を行う。   The WLAN communication module 12 performs wireless LAN communication complying with the communication standards IEEE802.11a and IEEE802.11b through a built-in antenna.

Bluetooth(BT、登録商標)通信モジュール13は、アンテナを介して携帯電話機1の近傍(数m〜十数m)に存在する他の通信機器などと無線通信を行う。   The Bluetooth (BT, registered trademark) communication module 13 performs wireless communication with other communication devices existing in the vicinity (several meters to several tens of meters) of the mobile phone 1 via an antenna.

CPU(central Processing Unit)15は、種々の制御信号を生成し、各部に供給することにより携帯電話機1を統括的に制御する。CPU15は、メモリ16としてのROM(Read Only Memory)に記憶されているプログラムまたはROMからRAM(Random Access Memory)にロードされた、オペレーティングシステム(OS)を含む各種アプリケーションプログラムや制御プログラム(ファームウェアなど)に従って各種処理を実行する。   A CPU (central processing unit) 15 generates various control signals and supplies them to each unit to control the mobile phone 1 in an integrated manner. The CPU 15 is a program stored in a ROM (Read Only Memory) as a memory 16 or various application programs including an operating system (OS) loaded from a ROM to a RAM (Random Access Memory) and control programs (firmware, etc.) Various processes are executed according to the above.

メモリ16は、ROM、RAM、フラッシュメモリ素子やHDD(Hard Disc Drive)などの記憶装置である。   The memory 16 is a storage device such as a ROM, a RAM, a flash memory element, and an HDD (Hard Disc Drive).

入力部17は、例えば操作キータイプやタッチパネルタイプなどの入力手段を介して入力を受け付け、この入力信号をCPU15に出力する。表示部18は、CPU15の指示に基づいて文字や画像などからなるデータを出力する。この表示部18は、例えばLCD(Liquid Crystal Display)や有機EL(ElectroLuminescence)ディスプレイなどにより構成される。   The input unit 17 receives an input via an input means such as an operation key type or a touch panel type, and outputs this input signal to the CPU 15. The display unit 18 outputs data including characters and images based on instructions from the CPU 15. The display unit 18 includes, for example, an LCD (Liquid Crystal Display), an organic EL (ElectroLuminescence) display, or the like.

無線信号検知回路23は、振幅変調(オンオフキーイング)された無線信号を検知するための回路である。無線信号検知回路23は、例えばアクセスポイント(AP)やパーソナルコンピュータ(PC)などの他の通信機器より受信した無線信号の時間軸における電力値の大小のパターンおよび周期によって信号の種類を判定する。以下、無線信号検知回路23が受信した無線信号の時間軸における電力値の大小のパターンおよび周期を「特定パターン」という。   The radio signal detection circuit 23 is a circuit for detecting a radio signal subjected to amplitude modulation (on / off keying). The wireless signal detection circuit 23 determines the type of signal based on the pattern and cycle of the power value on the time axis of the wireless signal received from another communication device such as an access point (AP) or a personal computer (PC). Hereinafter, the pattern and cycle of the power value on the time axis of the radio signal received by the radio signal detection circuit 23 are referred to as “specific pattern”.

無線信号検知回路23は、検知した特定パターンを照合した結果、特定パターンが予め記憶した待ち受ける無線信号の特定パターンであると判定した場合には、所定の制御信号を割り込み信号としてCPU15やWLAN通信モジュール12、BT通信モジュール13、電源回路24に出力したりする。   When the wireless signal detection circuit 23 determines that the specific pattern is a specific pattern of a standby wireless signal stored in advance as a result of collating the detected specific pattern, the CPU 15 or the WLAN communication module uses the predetermined control signal as an interrupt signal. 12 and output to the BT communication module 13 and the power supply circuit 24.

WLAN通信モジュール12やBT通信モジュール13は、受信した無線信号をダウンコンバートして復号しデータを得る機能や、データを送信する機能(符号化、変調、無線信号送信)を備えているため、無線信号検知回路23に比べて動作電力が高くなっている。すなわち、無線信号検知回路23は、WLAN通信モジュール12やBT通信モジュール13がAPやPCより送出された所定の無線信号を監視する際の動作電力よりも低い動作電力によって、この所定の無線信号を待ち受けることが可能な回路である。このため、本実施形態における携帯電話機1は、WLAN通信モジュール12やBT通信モジュール13に代えて無線信号検知回路23が無線信号を待ち受けることにより、WLAN通信モジュール12などの動作電力を抑制するようになっている。なお、無線信号検知回路23が所定の無線信号を検知した場合には、CPU15を介して、または直接WLAN通信モジュール12などに通知する。その後、WLAN通信モジュール12などの各部は起動し、公知の接続処理やデータ通信を行う。   The WLAN communication module 12 and the BT communication module 13 have a function of down-converting a received wireless signal and decoding it to obtain data, and a function of transmitting data (encoding, modulation, wireless signal transmission). The operating power is higher than that of the signal detection circuit 23. That is, the wireless signal detection circuit 23 uses the operating power lower than the operating power when the WLAN communication module 12 or the BT communication module 13 monitors the predetermined wireless signal transmitted from the AP or the PC, to detect the predetermined wireless signal. It is a circuit that can be awaited. For this reason, the mobile phone 1 according to the present embodiment suppresses the operating power of the WLAN communication module 12 and the like when the wireless signal detection circuit 23 waits for a wireless signal instead of the WLAN communication module 12 and the BT communication module 13. It has become. When the wireless signal detection circuit 23 detects a predetermined wireless signal, it notifies the WLAN communication module 12 or the like via the CPU 15 or directly. Thereafter, each unit such as the WLAN communication module 12 is activated and performs known connection processing and data communication.

無線信号検知回路23の各回路は、後述する各回路の説明ごとに示す文献に記載された技術をはじめとする、省電力化を実現することが可能な従来技術を適用して構成することができる。しかし、無線信号検知回路23は、後述する文献に記載された構成に限らず、少なくともWLAN通信モジュール12が他の機器(PCやAPなど)より送出された無線信号を監視する際の動作電力より低い動作電力でこの無線信号を待ち受けることが可能であればいかなる構成であってもよい。   Each circuit of the wireless signal detection circuit 23 may be configured by applying a conventional technique capable of realizing power saving, including the technique described in the literature shown for each circuit description to be described later. it can. However, the wireless signal detection circuit 23 is not limited to the configuration described in the later-described literature, and at least from the operating power when the WLAN communication module 12 monitors a wireless signal transmitted from another device (such as a PC or AP). Any configuration is possible as long as the wireless signal can be awaited with low operating power.

なお、携帯電話機1の外部と無線通信を行うWLAN通信モジュール12、BT通信モジュール13および移動通信モジュール11を特に区別しない場合、または3つのうち少なくともいずれかを指す場合には、単に「無線通信モジュール26」という。   Note that the WLAN communication module 12, the BT communication module 13, and the mobile communication module 11 that perform wireless communication with the outside of the mobile phone 1 are not particularly distinguished, or when referring to at least one of the three, simply “wireless communication module” 26 ".

図2は、図1の無線信号検知回路23および無線通信モジュール26を特に示す回路構成図である。   FIG. 2 is a circuit configuration diagram specifically showing the wireless signal detection circuit 23 and the wireless communication module 26 of FIG.

無線信号検知回路23は、RF信号受信回路31、ダウンコンバータ(整流回路)32、ベースバンド(BB)信号増幅回路33、信号識別回路34、制御信号出力回路35を備える。このうち、RF信号受信回路31、ダウンコンバータ(整流回路)32およびベースバンド(BB)信号増幅回路33は、アナログ回路で構成される。また、信号識別回路34および制御信号出力回路35は、デジタル回路で構成される。   The wireless signal detection circuit 23 includes an RF signal reception circuit 31, a down converter (rectifier circuit) 32, a baseband (BB) signal amplification circuit 33, a signal identification circuit 34, and a control signal output circuit 35. Among these, the RF signal receiving circuit 31, the down converter (rectifier circuit) 32, and the baseband (BB) signal amplifying circuit 33 are configured by analog circuits. The signal identification circuit 34 and the control signal output circuit 35 are configured by digital circuits.

RF(Radio Frequency)信号受信回路31は、APやPCなどの通信機器より送出された検知感度に達する無線信号(電波)を受信すると、この信号を増幅しダウンコンバータ32に出力する。なお、RF信号受信回路31は、バイパス可能な回路となっている。RF信号受信回路31がバイパスされる場合には、モノポールアンテナ61が受信した信号は集中定数整合回路30を経てダウンコンバータ32へ出力される。   When receiving a radio signal (radio wave) reaching a detection sensitivity sent from a communication device such as an AP or a PC, an RF (Radio Frequency) signal receiving circuit 31 amplifies this signal and outputs it to the down converter 32. The RF signal receiving circuit 31 is a circuit that can be bypassed. When the RF signal receiving circuit 31 is bypassed, the signal received by the monopole antenna 61 is output to the down converter 32 via the lumped constant matching circuit 30.

ダウンコンバータ(整流回路)32は、RF信号受信回路31より出力されたRF信号を整流および検波して復調信号を取得する。なお、省電力化のため、ダウンコンバータ(整流回路)32は局部発振器を有しない構成となっている。ダウンコンバータ(整流回路)32の構成については、例えば特許第4377946号公報(復調装置)に記載された技術を適用することができる。   The down converter (rectifier circuit) 32 rectifies and detects the RF signal output from the RF signal receiver circuit 31 to obtain a demodulated signal. In order to save power, the down converter (rectifier circuit) 32 does not have a local oscillator. For example, the technology described in Japanese Patent No. 4377946 (demodulator) can be applied to the configuration of the down converter (rectifier circuit) 32.

BB信号増幅回路33は、ダウンコンバータ(整流回路)32から出力された復調信号を増幅する。BB信号増幅回路33の構成については、例えば特開2009−89434号公報(トリガ信号発生装置)に記載された技術が適用可能である。   The BB signal amplifier circuit 33 amplifies the demodulated signal output from the down converter (rectifier circuit) 32. As for the configuration of the BB signal amplifier circuit 33, for example, a technique described in Japanese Patent Application Laid-Open No. 2009-89434 (trigger signal generator) can be applied.

信号識別回路34は、BB信号増幅回路33において増幅された信号の電位を比較基準電位と比較する。比較基準電位には複数の値が設定可能であるが、全てのビーコンを検知することが可能となるように低めの閾値を設定しておくのが好ましい。信号識別回路34は、この比較基準電位よりも電位が高い信号が検出された場合にはハイレベル、比較基準電位よりも電位が低い信号はローレベルと識別して信号レベルを取得する。すなわち、信号識別回路34は、時間軸における電圧の大小のパターンおよび周期、すなわち特定パターンを取得する。また、信号識別回路34は、必要に応じて、得られた信号が待ち受ける無線信号の特定パターンと一致するか否かを識別し、識別結果を制御部36に出力する。   The signal identification circuit 34 compares the potential of the signal amplified in the BB signal amplification circuit 33 with the comparison reference potential. Although a plurality of values can be set for the comparison reference potential, it is preferable to set a lower threshold value so that all beacons can be detected. When a signal having a potential higher than the comparison reference potential is detected, the signal identification circuit 34 recognizes a signal having a high level and a signal having a potential lower than the comparison reference potential as a low level, and acquires a signal level. That is, the signal identification circuit 34 acquires a voltage magnitude pattern and period on the time axis, that is, a specific pattern. Further, the signal identification circuit 34 identifies whether or not the obtained signal matches the specific pattern of the waiting radio signal, and outputs the identification result to the control unit 36 as necessary.

制御信号出力回路35は、制御部36より出力された指示に基づいて割込み処理の発生を通知する旨の制御信号を生成し、生成された制御信号をCPU15などに出力する。また、制御信号出力回路35は、CPU15より出力された制御信号を受信し、制御部36に通知する。   The control signal output circuit 35 generates a control signal for notifying the occurrence of interrupt processing based on the instruction output from the control unit 36, and outputs the generated control signal to the CPU 15 or the like. The control signal output circuit 35 receives the control signal output from the CPU 15 and notifies the control unit 36 of the control signal.

制御部36は、信号識別回路34および制御信号出力回路35を制御する。また、本実施形態においては、無線信号検知回路23が自律的に行う検知ウインドウ補正処理(詳細は後述する)を行う。   The control unit 36 controls the signal identification circuit 34 and the control signal output circuit 35. In the present embodiment, detection window correction processing (details will be described later) performed autonomously by the wireless signal detection circuit 23 is performed.

記憶部37は、無線信号検知回路23がWLAN通信モジュール12やBT通信モジュール13に代わって待ち受ける信号の特定パターンに関する情報を記憶する。また、記憶部37は、後述する検知ウインドウ補正処理に必要なデータを記憶したり、補正処理のために生成した補正データを記憶したりする。   The storage unit 37 stores information related to a specific pattern of signals that the wireless signal detection circuit 23 waits on behalf of the WLAN communication module 12 or the BT communication module 13. In addition, the storage unit 37 stores data necessary for detection window correction processing, which will be described later, and stores correction data generated for the correction processing.

基準周波数発生回路41は、無線信号検知回路23が動作するための基準周波数を生成し、発振/分周回路42に供給する。発振/分周回路42は、供給された基準周波数を所要の周波数に分周し、信号識別回路34に供給する。また、無線信号検知回路23の各回路、基準周波数発生回路41および発振/分周回路42は、電源43より供給された動作電圧によって動作する。   The reference frequency generation circuit 41 generates a reference frequency for operating the wireless signal detection circuit 23 and supplies the reference frequency to the oscillation / frequency division circuit 42. The oscillating / dividing circuit 42 divides the supplied reference frequency into a required frequency, and supplies it to the signal identification circuit 34. Each circuit of the wireless signal detection circuit 23, the reference frequency generation circuit 41, and the oscillation / frequency division circuit 42 operate with an operation voltage supplied from the power supply 43.

送信部としての無線通信モジュール26(WLAN通信モジュール12、BT通信モジュール13、移動通信モジュール11)は、高精度基準周波数発生回路51から供給される基準周波数に基づいて動作するようになっている。また、無線通信モジュール26は、電源52より供給される動作電力に基づいて動作する。   The wireless communication module 26 (WLAN communication module 12, BT communication module 13, mobile communication module 11) as a transmission unit operates based on the reference frequency supplied from the high-accuracy reference frequency generation circuit 51. The wireless communication module 26 operates based on operating power supplied from the power supply 52.

図3は、基準周波数発生回路の温度対周波数許容偏差の一例を示す図である。   FIG. 3 is a diagram illustrating an example of the temperature versus frequency tolerance of the reference frequency generation circuit.

図3は、25℃の時の周波数を基準として、周囲温度の変化による周波数許容偏差の変化を示すものである。図3に示すように、一般的な基準周波数発生回路は、温度変化に伴い水晶発振の精度が変化する。このため、水晶発振器の温度補償は必須となる。   FIG. 3 shows changes in the frequency tolerance due to changes in the ambient temperature with the frequency at 25 ° C. as a reference. As shown in FIG. 3, in the general reference frequency generation circuit, the accuracy of crystal oscillation changes with temperature change. For this reason, temperature compensation of the crystal oscillator is essential.

ここで、無線通信モジュール26が動作するための基準周波数を供給する高精度基準周波数発生回路51は、例えば1MHzで動作する水晶発振子によって基準周波数を発生させる回路である。高精度基準周波数発生回路51は、温度補償回路などの補正回路を備えており、温度に依存する周波数温度特性が良好である一方、消費電流が大きい回路である。   Here, the high-accuracy reference frequency generation circuit 51 that supplies a reference frequency for the operation of the wireless communication module 26 is a circuit that generates a reference frequency by a crystal oscillator that operates at 1 MHz, for example. The high-accuracy reference frequency generation circuit 51 includes a correction circuit such as a temperature compensation circuit, and is a circuit that has a good frequency temperature characteristic depending on temperature and a large current consumption.

これに対し、無線信号検知回路23が動作するための基準周波数を供給する基準周波数発生回路41は、例えば32.768kHzで振動する水晶発振子によって基準周波数を発生させる回路である。また、基準周波数発生回路41は、低消費電力の観点から高精度基準周波数発生回路51に比べて周波数が小さく、また高精度基準周波数発生回路51が備える程の高精度な補正回路は備えていない。すなわち、基準周波数発生回路41は、高精度基準周波数発生回路51に比べて低消費電力で動作する一方、周囲温度の変化により周波数が変動するため精度は低く誤差を含みやすくなっている。   On the other hand, the reference frequency generation circuit 41 that supplies a reference frequency for the operation of the wireless signal detection circuit 23 is a circuit that generates a reference frequency by a crystal oscillator that vibrates at 32.768 kHz, for example. In addition, the reference frequency generation circuit 41 has a smaller frequency than the high-precision reference frequency generation circuit 51 from the viewpoint of low power consumption, and does not include a correction circuit as accurate as the high-precision reference frequency generation circuit 51 has. . That is, the reference frequency generation circuit 41 operates with lower power consumption than the high-accuracy reference frequency generation circuit 51. On the other hand, since the frequency fluctuates due to a change in ambient temperature, the accuracy is low and error is likely to occur.

モノポールアンテナ61は、アンテナ切替スイッチ62の状態に応じて無線信号検知回路23の受信アンテナとして、または無線通信モジュール26の送受信アンテナとして機能する。アンテナ切替スイッチ62の状態がスイッチステートA1およびA2の場合、モノポールアンテナ61は無線信号検知回路23の受信アンテナとして機能する。アンテナ切替スイッチ62の状態がスイッチステートA1の場合には、RF信号受信回路31はバイパスされ、受信された信号は集中定数整合回路30を経てダウンコンバータ32に供給される。また、スイッチステートA2の場合には、受信された信号はRF信号受信回路31に供給される。アンテナ切替スイッチ62の状態がスイッチステートA3の場合、無線通信モジュール26の送受信アンテナとして機能する。   The monopole antenna 61 functions as a reception antenna of the wireless signal detection circuit 23 or a transmission / reception antenna of the wireless communication module 26 according to the state of the antenna changeover switch 62. When the state of the antenna selector switch 62 is the switch states A1 and A2, the monopole antenna 61 functions as a reception antenna of the radio signal detection circuit 23. When the state of the antenna selector switch 62 is the switch state A1, the RF signal receiving circuit 31 is bypassed, and the received signal is supplied to the down converter 32 via the lumped constant matching circuit 30. In the case of the switch state A2, the received signal is supplied to the RF signal receiving circuit 31. When the state of the antenna selector switch 62 is the switch state A3, it functions as a transmission / reception antenna of the wireless communication module 26.

なお、アンテナ切替スイッチ62の状態により送受信状態が切り替えられる無線通信モジュール26は、WLAN通信モジュール12、BT通信モジュール13および移動通信モジュール11の少なくとも1つであってよい。   Note that the wireless communication module 26 whose transmission / reception state is switched depending on the state of the antenna switch 62 may be at least one of the WLAN communication module 12, the BT communication module 13, and the mobile communication module 11.

本実施形態においては、無線信号検知回路23は、一定周期で送信される信号(以下、「周期信号」という。)の周期に対応した周期からなる検知ウインドウごとに信号レベルで表される信号パターンを取得することにより、周期信号の検知を行う。すなわち、無線信号検知回路23は、検知ウインドウごとにほぼ等しい信号パターンが現われたか否かを識別することにより、周期信号を検知することができる。無線信号検知回路23は、この検知ウインドウごとの信号パターンを、レジスタに記憶する。   In the present embodiment, the wireless signal detection circuit 23 is a signal pattern represented by a signal level for each detection window having a period corresponding to the period of a signal transmitted at a constant period (hereinafter referred to as “periodic signal”). The periodic signal is detected by acquiring. That is, the wireless signal detection circuit 23 can detect a periodic signal by identifying whether or not a substantially equal signal pattern appears for each detection window. The wireless signal detection circuit 23 stores the signal pattern for each detection window in a register.

図4は、無線信号検知回路23が無線信号の検知に用いるレジスタの構成を説明する図である。   FIG. 4 is a diagram for explaining the configuration of a register used by the wireless signal detection circuit 23 to detect a wireless signal.

無線信号検知回路23は、所定のサンプリングピッチごとに信号識別回路34により識別された信号レベルを制御部36に出力する。無線信号検知回路23は、例えば、無線LAN通信時に用いられるビーコン信号などの102.4ms周期で送信される無線信号を検知する場合、サンプリングピッチを0.2ms、サンプリング点数を512点に設定して検出を行う。なお、他の周期で送信される無線信号を受信する場合には、サンプリングピッチやサンプリング点数を調整することにより対応可能である。   The wireless signal detection circuit 23 outputs the signal level identified by the signal identification circuit 34 to the control unit 36 at every predetermined sampling pitch. For example, when detecting a radio signal transmitted in a 102.4 ms cycle such as a beacon signal used during wireless LAN communication, the radio signal detection circuit 23 sets a sampling pitch to 0.2 ms and a sampling point to 512 points. Perform detection. In addition, when receiving the radio signal transmitted with another period, it can respond by adjusting a sampling pitch and the number of sampling points.

制御部36は、0〜511番が割り当てられた512個のレジスタ(記憶部37)に、識別された信号レベルを順次記憶する。制御部36は、例えば信号識別回路34において比較基準電位より電位が高い信号が検出された場合(信号が検知された場合)にはハイレベル(1)、電位が低い信号が検出された場合(信号が未検知である場合)にはローレベル(0)を示す情報を記憶する。レジスタは、0〜511番のレジスタに信号レベルを記憶すると、再度0番から信号レベルを記憶する。周期信号が理想的に検知された場合には、ハイレベルを示す情報は常にレジスタの一定の位置に現われるため、制御部36は検知ウインドウ内のハイレベルの位置を参照することにより周期信号の検知を行うことができる。   The control unit 36 sequentially stores the identified signal levels in 512 registers (storage unit 37) assigned with numbers 0 to 511. For example, when a signal having a potential higher than the comparison reference potential is detected in the signal identification circuit 34 (when a signal is detected), the control unit 36 is at a high level (1), and when a signal having a low potential is detected ( When the signal is not detected), information indicating a low level (0) is stored. When the register stores the signal level in the 0th to 511th registers, the register stores the signal level from 0th again. When the periodic signal is ideally detected, the information indicating the high level always appears at a certain position of the register. Therefore, the control unit 36 detects the periodic signal by referring to the high level position in the detection window. It can be performed.

図5は、検知ウインドウごとに得られた信号パターンを概念的に示す図である。   FIG. 5 is a diagram conceptually showing a signal pattern obtained for each detection window.

図5(A)は、ウインドウ幅が周期信号に一致する例を示す。図5(B)は、ウインドウ幅が周期信号と不一致である例を示す。   FIG. 5A shows an example in which the window width matches the periodic signal. FIG. 5B shows an example in which the window width does not match the periodic signal.

検知ウインドウは、図示左から右に向かう方向に時刻が経過している。以下、検知ウインドウ内の信号の検出時刻を信号の検出位置という。また、一の検知ウインドウの周期に相当する量を、「ウインドウ幅」という。   In the detection window, the time elapses in the direction from the left to the right in the drawing. Hereinafter, the detection time of the signal in the detection window is referred to as a signal detection position. An amount corresponding to the period of one detection window is referred to as “window width”.

図5(A)に示すように、ウインドウ幅と102.4ms周期で送信される周期信号の周期とが一致すると、周期信号は各ウインドウ幅において同位置に現われる。すなわち、無線信号検知回路23は、周期信号を正しく検知することができる。   As shown in FIG. 5A, when the window width coincides with the period of the periodic signal transmitted at a period of 102.4 ms, the periodic signal appears at the same position in each window width. That is, the wireless signal detection circuit 23 can correctly detect the periodic signal.

一方、図5(B)に示すように、ウインドウ幅が周期信号に対してずれ、ウインドウ幅が大きくなる(検知ウインドウの周期が大きくなる)場合、ウインドウ幅と周期信号の周期とが一致せず各検知ウインドウにおける信号パターン(周期信号が現われる位置)が一致しない。このため、無線信号検知回路23は、周期信号を一定周期で送信された無線信号として検知できない可能性がある。   On the other hand, as shown in FIG. 5B, when the window width shifts with respect to the periodic signal and the window width becomes large (the detection window period becomes large), the window width and the period of the periodic signal do not match. The signal pattern (position where the periodic signal appears) in each detection window does not match. For this reason, there is a possibility that the wireless signal detection circuit 23 cannot detect the periodic signal as a wireless signal transmitted at a constant period.

このように、基準周波数発生回路41に生じる周囲温度の変化により周波数が変化すると、ウインドウ幅と周期信号の周期とがずれてしまう。この結果、無線信号検知回路23は、周期信号をデータ信号のようなバースト性を有する信号として認識したり、異なる周期信号であると認識したりして、周期信号を正しく検知できない。   Thus, when the frequency changes due to the change in the ambient temperature generated in the reference frequency generation circuit 41, the window width and the period of the periodic signal are shifted. As a result, the wireless signal detection circuit 23 cannot recognize the periodic signal correctly by recognizing the periodic signal as a signal having a burst property such as a data signal or by recognizing it as a different periodic signal.

また、無線信号検知回路23は、低消費電力の観点から間欠動作を行うようになっている。例えば、無線信号検知回路23は、10秒ごとに1秒間起床する間欠動作を行う。上述したとおり、温度変化の影響を受け周波数が変化するため、無線信号検知回路23は、起床区間ごとの周期信号の検出位置の誤差が顕著に表れる可能性がある。   Further, the wireless signal detection circuit 23 performs an intermittent operation from the viewpoint of low power consumption. For example, the wireless signal detection circuit 23 performs an intermittent operation of getting up for 1 second every 10 seconds. As described above, since the frequency changes due to the influence of the temperature change, the wireless signal detection circuit 23 may show a significant error in the detection position of the periodic signal for each wake-up section.

図6は、連続した起床区間における周期信号の検出時刻のずれを説明する図である。   FIG. 6 is a diagram for explaining a shift in the detection time of the periodic signal in the continuous wake-up section.

図6(A)は、ある時刻Tにおける検知ウインドウ内の周期信号の検出位置を示す。図6(B)は、時刻Tから10秒後における検知ウインドウ内の周期信号の検出位置を示す。   FIG. 6A shows the detection position of the periodic signal in the detection window at a certain time T. FIG. FIG. 6B shows the detection position of the periodic signal in the detection window 10 seconds after time T.

例えば、基準周波数発生回路41が100ppmの偏差を含む場合、10秒後に検知される周期信号の基準周波数に対する検出時刻ずれは、1msとなる。無線LAN通信のビーコン信号の送信時間(パルス幅)が0.8ms(一般的には0.8ms〜1.6ms)である場合、時刻Tで検出されたビーコン信号の検出終了時刻と時刻Tから10秒後に検知されたビーコン信号の検出開始時刻との間隔が0.2msとなる。このため、時刻Tで検出されたビーコン信号と時刻Tから10秒後に検出されたビーコン信号とは別の信号であると検知されてしまう可能性が高い。   For example, when the reference frequency generation circuit 41 includes a deviation of 100 ppm, the detection time shift of the periodic signal detected after 10 seconds with respect to the reference frequency is 1 ms. When the transmission time (pulse width) of the beacon signal for wireless LAN communication is 0.8 ms (generally 0.8 ms to 1.6 ms), the detection end time of the beacon signal detected at time T and the time T The interval from the detection start time of the beacon signal detected after 10 seconds is 0.2 ms. For this reason, it is highly likely that the beacon signal detected at time T and the beacon signal detected 10 seconds after time T are different signals.

本実施形態における携帯電話機1は、基準周波数発生回路41から供給される基準周波数に誤差が生じた場合、すなわちウインドウ幅が周期信号の周期に対してずれを生じた場合に、ウインドウ幅に対応する使用レジスタ個数を調整することにより自律的にウインドウ幅の補正を行うようになっている。   The cellular phone 1 according to the present embodiment corresponds to the window width when an error occurs in the reference frequency supplied from the reference frequency generation circuit 41, that is, when the window width deviates from the period of the periodic signal. The window width is autonomously corrected by adjusting the number of registers used.

図7は、レジスタの構成例を示す図である。   FIG. 7 is a diagram illustrating a configuration example of a register.

レジスタは、基準値であるレジスタ個数512個よりも多く用意される。(図5においては527個)このため、基準周波数発生回路41より供給される基準周波数が小さくなった場合、すなわちウインドウ幅が周期信号の周期よりも大きくなった場合には、無線信号検知回路23は、ウインドウ幅内のレジスタ個数をずれに応じて512個よりも少なくする。また、基準周波数が大きくなった場合、すなわちウインドウ幅が周期信号の周期よりも小さくなった場合には、ウインドウ幅内のレジスタ個数をずれに応じて512個よりも多くする。   More registers are prepared than the reference number of 512 registers. (527 in FIG. 5) Therefore, when the reference frequency supplied from the reference frequency generation circuit 41 becomes small, that is, when the window width becomes larger than the period of the periodic signal, the radio signal detection circuit 23 Reduces the number of registers in the window width to less than 512 according to the deviation. Further, when the reference frequency is increased, that is, when the window width is smaller than the period of the periodic signal, the number of registers in the window width is increased from 512 according to the deviation.

例えば、基準周波数が正確である場合には、図5(A)に示すように、0番〜511番の512個のレジスタが一の検知ウインドウにおける周期信号の検知に使用される。基準周波数が小さくなった場合には、図5(B)に示すように、0番〜509番の510個のレジスタが使用される。また、基準周波数が大きくなった場合には、図5(C)に示すように、0番〜514番の515個のレジスタが使用される。   For example, when the reference frequency is accurate, as shown in FIG. 5A, 512 registers from No. 0 to No. 511 are used for detection of periodic signals in one detection window. When the reference frequency becomes small, 510 registers from 0 to 509 are used as shown in FIG. When the reference frequency is increased, 515 registers from No. 0 to No. 514 are used as shown in FIG.

以下、具体的に使用するレジスタの個数を調整することにより行われる検知ウインドウの補正処理について説明する。   A detection window correction process performed by adjusting the number of registers to be used will be described below.

検知ウインドウ補正処理は、基準周波数発生回路41より高精度な基準周波数発生回路から供給される基準周波数に基づいて動作する回路から送信された周期信号に基づいて行われる。   The detection window correction process is performed based on a periodic signal transmitted from a circuit that operates based on a reference frequency supplied from a reference frequency generation circuit with higher accuracy than the reference frequency generation circuit 41.

この補正処理において用いることが可能な周期信号の一例としては、WLAN通信モジュール12、BT通信モジュール13および移動通信モジュール11が外部機器に対して送信する周期信号、または補正処理のために無線信号検知回路23に対して送信する周期信号である。CPU15は、無線信号検知回路23が外来雑音を誤検知しないよう、補正処理時においてはアンテナ切替スイッチ62を切替える。例えば、無線信号検知回路23は、アンテナ切替スイッチ62がスイッチステートA3である場合にはモノポールアンテナ61と接続されていない。このため、無線信号検知回路23は、外来雑音を誤検知することなく、無線通信モジュール26が外部機器に対して送信した周期信号の漏れ電流や、携帯電話機1内部の基板を介して伝わる漏れ電流により補正処理を行うことができる。   Examples of periodic signals that can be used in this correction processing include periodic signals transmitted from the WLAN communication module 12, the BT communication module 13, and the mobile communication module 11 to external devices, or wireless signal detection for correction processing. This is a periodic signal transmitted to the circuit 23. The CPU 15 switches the antenna selector switch 62 during the correction process so that the wireless signal detection circuit 23 does not erroneously detect external noise. For example, the wireless signal detection circuit 23 is not connected to the monopole antenna 61 when the antenna selector switch 62 is in the switch state A3. For this reason, the wireless signal detection circuit 23 detects the leakage current of the periodic signal transmitted from the wireless communication module 26 to the external device or the leakage current transmitted through the substrate inside the mobile phone 1 without erroneously detecting external noise. Thus, the correction process can be performed.

補正処理は、無線信号検知回路23が検知した検知ウインドウ間で得られた信号パターンを用いて行われる。具体的には、無線信号検知回路23は、検知ウインドウ内のハイレベルを示す区間(ハイレベル区間)の幅(時間)および検出位置(検出時刻)を利用して行われる。このハイレベル区間の幅は、ハイレベルを示すレジスタの個数から取得される。以下、ハイレベル区間の幅の取得方法の一例について説明する。   The correction process is performed using a signal pattern obtained between detection windows detected by the wireless signal detection circuit 23. Specifically, the wireless signal detection circuit 23 is performed using the width (time) and detection position (detection time) of a section (high level section) indicating a high level in the detection window. The width of the high level section is obtained from the number of registers indicating the high level. Hereinafter, an example of a method for acquiring the width of the high level section will be described.

図8は、無線信号検知回路23が間欠動作する際に検知ウインドウで検出された信号パターンの様子を示す図である。   FIG. 8 is a diagram illustrating a state of a signal pattern detected in the detection window when the wireless signal detection circuit 23 operates intermittently.

区間Ta1およびTa2は、無線信号検知回路23の間欠動作における起床区間である。すなわち、無線信号検知回路23は、区間Ta1およびTa2においては、周期信号の検知を行う。区間Tbは、無線信号検知回路23の間欠動作における休止区間である。すなわち、無線信号検知回路23は、区間Tbにおいては周期信号の検知を行わない。   Sections Ta <b> 1 and Ta <b> 2 are wake-up sections in the intermittent operation of the wireless signal detection circuit 23. That is, the wireless signal detection circuit 23 detects a periodic signal in the sections Ta1 and Ta2. A section Tb is a pause section in the intermittent operation of the wireless signal detection circuit 23. That is, the wireless signal detection circuit 23 does not detect a periodic signal in the section Tb.

無線信号検知回路23は、上述したとおり基準周波数発生回路41の精度は温度変化により中心周波数に対して偏差を含む。また、無線信号検知回路23は、このような間欠動作に基づいて周期信号を受信するため、この誤差を考慮しない場合には起床区間Ta1と停止期間Tb後の起床区間Ta2とで検知された信号は異なる周期信号として検知してしまう可能性がある。   As described above, in the wireless signal detection circuit 23, the accuracy of the reference frequency generation circuit 41 includes a deviation with respect to the center frequency due to temperature change. Further, since the radio signal detection circuit 23 receives a periodic signal based on such an intermittent operation, the signal detected in the wakeup section Ta1 and the wakeup section Ta2 after the stop period Tb when this error is not taken into account. May be detected as different periodic signals.

無線信号検知回路23は、例えば1回の起床区間に取得された所定数の検知ウインドウの検出結果、すなわち信号パターンから時刻制御信号を取得する。時刻制御信号は、検知ウインドウ補正処理に用いられる補正データである。時刻制御信号は、検知ウインドウの信号パターンを時間軸に対して加算または積算(以下、単に「検知ウインドウの加算または積算」という。)して得られた信号パターン(無線信号検知回路23が間欠動作しない場合には所定数の検知ウインドウを加算または積算して得られた信号パターン)を示す信号である。具体的には、時刻制御信号は、加算または積算後のハイレベルを示す区間(以下、「ハイレベル区間」という。)およびローレベルを示す区間(以下、「ローレベル区間」という。)を示すものである。例えば、加算の繰り返し回数が20回に設定された場合には、無線信号検知回路23は、20の検知ウインドウの信号パターンの加算を行って得られた信号パターンを、1回分の時刻制御信号として取得する。この加算および積算の回数は、高精度基準周波数発生回路51が有する誤差(精度)に応じて決定されるのが好ましい。   For example, the wireless signal detection circuit 23 acquires a time control signal from detection results of a predetermined number of detection windows acquired in one wake-up section, that is, a signal pattern. The time control signal is correction data used for detection window correction processing. The time control signal is a signal pattern obtained by adding or integrating the signal pattern of the detection window with respect to the time axis (hereinafter simply referred to as “addition or integration of the detection window”) (the wireless signal detection circuit 23 operates intermittently). If not, the signal pattern is a signal pattern obtained by adding or integrating a predetermined number of detection windows. Specifically, the time control signal indicates a section indicating a high level after addition or integration (hereinafter referred to as “high level section”) and a section indicating a low level (hereinafter referred to as “low level section”). Is. For example, if the number of repetitions of addition is set to 20, the wireless signal detection circuit 23 uses the signal pattern obtained by adding the signal patterns of the 20 detection windows as one time control signal. get. The number of additions and integrations is preferably determined according to an error (accuracy) of the high-precision reference frequency generation circuit 51.

なお、起床区間の間隔は、高精度基準周波数発生回路51の誤差(精度)、すなわち周期信号の誤差に応じて決定されるのが好ましい。高精度基準周波数発生回路51の誤差を考慮することにより、無線信号検知回路23における周期信号の検知の精度を維持することができるためである。   The interval between the wake-up sections is preferably determined according to the error (accuracy) of the high-precision reference frequency generation circuit 51, that is, the error of the periodic signal. This is because the accuracy of periodic signal detection in the wireless signal detection circuit 23 can be maintained by taking into account errors in the high-precision reference frequency generation circuit 51.

図9は、ウインドウ幅が周期信号の周期に対して誤差を有しない場合の検知ウインドウの加算および積算処理を説明する図である。   FIG. 9 is a diagram illustrating detection window addition and integration processing when the window width has no error with respect to the period of the periodic signal.

図10は、ウインドウ幅が周期信号の周期に対して誤差を有する場合の検知ウインドウの加算および積算処理を説明する図である。   FIG. 10 is a diagram illustrating detection window addition and integration processing when the window width has an error with respect to the period of the periodic signal.

なお、図9および図10は、無線信号検知回路23が102.4ms周期の周期信号を検知した例を示す。   9 and 10 show an example in which the wireless signal detection circuit 23 detects a periodic signal having a period of 102.4 ms.

無線信号検知回路23は、複数の検知ウインドウを時間軸で一致させて加算する。図9に示すように、検知ウインドウA1と検知ウインドウA2とを加算すると、ウインドウ(A1+A2)に示すようにハイレベル区間の幅Hi_A12を有する信号パターンが得られる。検知ウインドウA1と検知ウインドウA2と検知ウインドウA3とを加算すると、ウインドウ(A1+A2+A3)に示すようにハイレベル区間の幅Hi_A123を有する信号パターンが得られる。ウインドウ幅が誤差を有しない場合には、検知ウインドウA1のハイレベル区間の幅Hi_A1、およびHi_A12とHi_A123とは一致する。   The wireless signal detection circuit 23 adds a plurality of detection windows so that they coincide on the time axis. As shown in FIG. 9, when the detection window A1 and the detection window A2 are added, a signal pattern having a width Hi_A12 of the high level section is obtained as shown in the window (A1 + A2). When the detection window A1, the detection window A2, and the detection window A3 are added, a signal pattern having the width Hi_A123 of the high level section is obtained as shown in the window (A1 + A2 + A3). When the window width has no error, the width Hi_A1 of the high level section of the detection window A1, and Hi_A12 and Hi_A123 coincide with each other.

また、検知ウインドウA1と検知ウインドウA2との理論積を取ると、ウインドウ(A1×A2)に示すように、ハイレベル区間の幅Hi_A12を有する信号パターンが得られる。検知ウインドウA1と検知ウインドウA2と検知ウインドウA3との理論積を取ると、ウインドウ(A1×A2×A3)に示すように、ハイレベル区間の幅Hi_A123を有する信号パターンが得られる。ウインドウ幅が誤差を有しない場合には、ウインドウA1のハイレベル区間の幅ΔHi_A1、およびHi_A12とHi_A123とは一致する。   Further, when the theoretical product of the detection window A1 and the detection window A2 is taken, as shown in the window (A1 × A2), a signal pattern having a width Hi_A12 of the high level section is obtained. When the theoretical product of the detection window A1, the detection window A2, and the detection window A3 is taken, a signal pattern having a width Hi_A123 of a high level section is obtained as shown in the window (A1 × A2 × A3). When the window width has no error, the width ΔHi_A1 of the high level section of the window A1 and Hi_A12 and Hi_A123 coincide with each other.

一方、図10に示すように、検知ウインドウB1と検知ウインドウB2とを加算すると、ウインドウ(B1+B2)に示すように、ハイレベル区間の幅Hi_B12を有する信号パターンが得られる。検知ウインドウB1と検知ウインドウB2と検知ウインドウB3とを加算すると、ウインドウ(B1+B2+B3)に示すように、ハイレベル区間の幅Hi_B123を有する信号パターンが得られる。ウインドウ幅が誤差を有する場合には、ウインドウB1のハイレベル区間の幅Hi_B1、およびHi_B12とHi_B123とは異なる値となる。すなわち、加算後のハイレベル区間の幅は、加算するごとに徐々に大きくなる。   On the other hand, as shown in FIG. 10, when the detection window B1 and the detection window B2 are added, a signal pattern having a width Hi_B12 of the high level section is obtained as shown in the window (B1 + B2). When the detection window B1, the detection window B2, and the detection window B3 are added, as shown in the window (B1 + B2 + B3), a signal pattern having the width Hi_B123 of the high level section is obtained. When the window width has an error, the width Hi_B1 of the high level section of the window B1, and Hi_B12 and Hi_B123 have different values. That is, the width of the high level section after the addition gradually increases with each addition.

また、検知ウインドウB1と検知ウインドウB2との理論積を取ると、ウインドウ(B1×B2)に示すように、ハイレベル区間の幅Hi_B12を有する信号パターンが得られる。検知ウインドウB1と検知ウインドウB2と検知ウインドウB3との理論積を取ると、ウインドウ(B1×B2×B3)に示すように、ハイレベル区間の幅Hi_B123(図8においてはなし)を有する信号パターンが得られる。ウインドウ幅が誤差を有する場合には、検知ウインドウB1のハイレベル区間の幅Hi_B1、およびHi_B12とHi_B123とは一致しない。   Further, when a theoretical product of the detection window B1 and the detection window B2 is taken, a signal pattern having a width Hi_B12 of the high level section is obtained as shown in the window (B1 × B2). Taking the theoretical product of the detection window B1, the detection window B2, and the detection window B3, a signal pattern having a width Hi_B123 (not shown in FIG. 8) of the high level section is obtained as shown in the window (B1 × B2 × B3). It is done. When the window width has an error, the width Hi_B1 of the high level section of the detection window B1, and Hi_B12 and Hi_B123 do not match.

なお、時刻制御信号は、所定数の検知ウインドウを加算または積算する場合に限らず、一の検知ウインドウの信号パターンをそのまま時刻制御信号として用いてもよい。   The time control signal is not limited to adding or integrating a predetermined number of detection windows, and the signal pattern of one detection window may be used as it is as the time control signal.

以下に説明する検知ウインドウ補正処理は、ウインドウ幅TwをTstepずつ変化させ、周期信号の周期に対するウインドウ幅のずれが最も小さくなるウインドウ幅Twを決定することにより行われる。   The detection window correction process described below is performed by changing the window width Tw by Tstep and determining the window width Tw that minimizes the shift of the window width with respect to the period of the periodic signal.

図11は、本実施形態における携帯電話機1において実行される検知ウインドウ補正処理を説明するフローチャートである。   FIG. 11 is a flowchart for explaining detection window correction processing executed in the mobile phone 1 according to the present embodiment.

以下の補正処理においては、無線信号検知回路23が主に実行するステップについては、無線信号検知回路23を主語にして説明する。また、補正処理に用いられる周期信号を送信する無線通信モジュール26に、WLAN通信モジュール12を用いた場合を例に説明する。   In the following correction processing, steps executed mainly by the wireless signal detection circuit 23 will be described with the wireless signal detection circuit 23 as a subject. Further, a case where the WLAN communication module 12 is used as the wireless communication module 26 that transmits a periodic signal used for correction processing will be described as an example.

また、補正処理は、例えばWLAN通信モジュール12が他の通信機器と無線LAN通信を行う際の初期設定時などの所定のタイミングで開始される。   Further, the correction process is started at a predetermined timing, for example, at the time of initial setting when the WLAN communication module 12 performs wireless LAN communication with another communication device.

ステップS1において、CPU15は、ウインドウ幅の補正が必要か否かの判定を行う。CPU15は、例えばユーザにより設定された補正を実施するタイミングに関する情報(補正を実施する間隔など)に基づいて判定を行う。CPU15は、補正が必要ではないと判定した場合(ステップS1のNO)、補正判定ステップS23に進む。   In step S1, the CPU 15 determines whether or not the window width needs to be corrected. The CPU 15 makes a determination based on, for example, information (such as an interval at which correction is performed) related to the timing for performing correction set by the user. If the CPU 15 determines that correction is not necessary (NO in step S1), the CPU 15 proceeds to correction determination step S23.

無線信号検知回路23はウインドウ幅の補正が必要であると判定した場合(ステップS1のYES)、ステップS2において、記憶部37に記憶された補正に必要な各値を初期化する。具体的には、無線信号検知回路23は、検知ウインドウの加算または積算の繰り返し回数(以下、単に「加算繰り返し回数」という。)Nを0に設定する(N=0)。また、時刻制御信号の取得回数nを1にする(n=1)。また、無線信号検知回路23は、n回目に取得されたハイレベル区間の幅およびローレベル区間の幅を0に設定する(Hi_1=Hi_2=・・・=Hi_n=0、L_1=L_2=・・・=L_n=0)。なお、ハイレベルまたはローレベル区間の幅は、例えば各レベルを示すレジスタの個数を用いて表現される。   When the wireless signal detection circuit 23 determines that the correction of the window width is necessary (YES in step S1), the wireless signal detection circuit 23 initializes each value necessary for the correction stored in the storage unit 37 in step S2. Specifically, the wireless signal detection circuit 23 sets the detection window addition or integration repetition count (hereinafter simply referred to as “addition repetition count”) N to 0 (N = 0). Further, the number n of times of acquisition of the time control signal is set to 1 (n = 1). Further, the wireless signal detection circuit 23 sets the width of the high-level section and the low-level section acquired at the nth time to 0 (Hi_1 = Hi_2 =... = Hi_n = 0, L_1 = L_2 = .. * = L_n = 0). Note that the width of the high-level or low-level section is expressed using the number of registers indicating each level, for example.

ステップS3において、WLAN通信モジュール12は周期信号を送信する。WLAN通信モジュール12は、例えばCPU15から指示を受け付けた場合に周期信号を送信する。また、無線信号検知回路23は、WLAN通信モジュール12から受信した周期信号を記憶部37に記憶する。このとき、無線信号検知回路23は、入力電力のレベルおよび信号識別回路34の閾値を制御することにより、WLAN通信モジュール12から送信される周期信号以外の信号の検知を行わないのが好ましい。   In step S3, the WLAN communication module 12 transmits a periodic signal. The WLAN communication module 12 transmits a periodic signal when receiving an instruction from the CPU 15, for example. In addition, the wireless signal detection circuit 23 stores the periodic signal received from the WLAN communication module 12 in the storage unit 37. At this time, it is preferable that the wireless signal detection circuit 23 does not detect signals other than the periodic signal transmitted from the WLAN communication module 12 by controlling the level of the input power and the threshold value of the signal identification circuit 34.

ステップS4において、無線信号検知回路23は、受信した周期信号のS/N(signal−noise)比(受信S/N)が受信品質を判定するための閾値としてのS/N比(閾値S/N)よりも大きいか否かの判定を行う(受信S/N>閾値S/N)。品質判定ステップS4は、一定の品質を有する信号に基づいてウインドウ幅の補正を行うことができるか否かを判定するために行われる。無線信号検知回路23は、受信した周期信号のS/N比が閾値としてのS/N比以下であると判定した場合(ステップS4のNO)、すなわち、所要の受信品質が得られていないと判定した場合、ステップS20に進む。   In step S4, the wireless signal detection circuit 23 uses an S / N ratio (threshold S / N) as a threshold for determining the reception quality based on the S / N (signal-noise) ratio (reception S / N) of the received periodic signal. N) is determined (reception S / N> threshold S / N). The quality determination step S4 is performed to determine whether or not the window width can be corrected based on a signal having a certain quality. When the wireless signal detection circuit 23 determines that the S / N ratio of the received periodic signal is equal to or less than the S / N ratio as a threshold (NO in step S4), that is, the required reception quality is not obtained. When it determines, it progresses to step S20.

無線信号検知回路23は、受信した周期信号のS/N比が閾値としてのS/N比よりも大きいと判定した場合(ステップS4のYES)、すなわち、所要の受信品質が得られた場合、ステップS5において、記憶部37に予め記憶されている初期ウインドウ幅Tw0を読み出し、この初期ウインドウ幅Tw0を周期信号の検知に用いられるウインドウ幅Twとして設定する。無線信号検知回路23が信号検知に用いるレジスタ個数は、このウインドウ幅Tw0によって決定される。この初期ウインドウ幅Tw0は、例えば図3に示すような基準周波数発生回路の温度対周波数許容偏差逆二乗特性のピーク値より得られる値に設定されるのが好ましい。基準周波数の変化は、小さくなる方向への変化に限られるため、ウインドウ幅を大きくする方向の補正のみを考慮でき、補正処理の簡易化を図ることができる。これに対し、ウインドウ幅Tw0がピーク値より得られる値を考慮せず設定された場合には、ウインドウ幅を大きくする方向と小さくする方向の2つの補正が考えられる。このため、補正時間の無用な増加や回路の複雑化を招いてしまう。   When the wireless signal detection circuit 23 determines that the S / N ratio of the received periodic signal is larger than the S / N ratio as a threshold (YES in step S4), that is, when a required reception quality is obtained, In step S5, the initial window width Tw0 stored in advance in the storage unit 37 is read, and this initial window width Tw0 is set as the window width Tw used for detecting the periodic signal. The number of registers used by the wireless signal detection circuit 23 for signal detection is determined by the window width Tw0. The initial window width Tw0 is preferably set to a value obtained from the peak value of the temperature vs. frequency allowable deviation inverse square characteristic of the reference frequency generating circuit as shown in FIG. 3, for example. Since the change in the reference frequency is limited to the change in the direction of decreasing, only the correction in the direction of increasing the window width can be considered, and the correction process can be simplified. On the other hand, when the window width Tw0 is set without considering the value obtained from the peak value, two corrections, that is, the direction of increasing the window width and the direction of decreasing the window width are conceivable. For this reason, the correction time is unnecessarily increased and the circuit becomes complicated.

ステップS6において、無線信号検知回路23は、一の検知ウインドウで検知された信号パターンからハイレベル区間の幅Hi_n、ローレベル区間の幅L_nを測定する。無線信号検知回路23は、ハイレベル信号が検知された場合にはハイレベルを示す情報をレジスタに記憶する。無線信号検知回路23は、ローレベルが検知された場合には、ローレベルを示す情報をレジスタに記憶する。無線信号検知回路23は、このレジスタに記憶された信号レベルを示す情報(すなわち信号パターン)からハイレベル区間の幅Hi_nおよびローレベル区間の幅L_nをそれぞれ測定する。   In step S6, the wireless signal detection circuit 23 measures the width Hi_n of the high level section and the width L_n of the low level section from the signal pattern detected in one detection window. When a high level signal is detected, the wireless signal detection circuit 23 stores information indicating a high level in a register. When a low level is detected, the wireless signal detection circuit 23 stores information indicating the low level in a register. The wireless signal detection circuit 23 measures the width Hi_n of the high level section and the width L_n of the low level section from the information (that is, the signal pattern) indicating the signal level stored in the register.

ステップS7において、無線信号検知回路23は、ハイレベル区間の幅Hi_nは予め設定されたハイレベル区間の幅の最小値Hi_minから最大値Hi_maxまでの範囲内にあるか否かの判定を行う(Hi_min<Hi_n<Hi_max)。また、無線信号検知回路23は、ローレベル区間の幅L_nは予め設定されたローレベル区間の幅の最小値L_minから最大値L_maxまでの範囲内にあるか否かの判定を行う(L_min<L_n<L_max)。このステップS7は、測定ステップS6において測定されたハイレベル区間の幅およびローレベル区間の幅が所定範囲内に収まるか否かを判定することにより、ハイレベル区間の幅およびローレベル区間の幅が正常に測定されているか否か(誤検知の有無)を判定する。無線信号検知回路23は、ハイレベル区間の幅およびローレベル区間の幅は、それぞれ所定の最小値から最大値までの範囲内にはないと判定した場合(ステップS7のNO)、ステップS20に進む。   In step S7, the radio signal detection circuit 23 determines whether or not the width Hi_n of the high level section is within a range from a preset minimum value Hi_min to a maximum value Hi_max of the high level section (Hi_min). <Hi_n <Hi_max). Further, the wireless signal detection circuit 23 determines whether or not the width L_n of the low level section is within a range from a preset minimum value L_min to maximum value L_max of the low level section (L_min <L_n). <L_max). This step S7 determines whether the width of the high level section and the width of the low level section are within the predetermined range by determining whether the width of the high level section and the width of the low level section measured in the measurement step S6 are within the predetermined range. It is determined whether or not measurement is normal (presence of false detection). If the wireless signal detection circuit 23 determines that the width of the high level section and the width of the low level section are not within the range from the predetermined minimum value to the maximum value (NO in step S7), the process proceeds to step S20. .

無線信号検知回路23は、ハイレベル区間の幅およびローレベル区間の幅は、それぞれ所定の最小値から最大値までの範囲内にあると判定した場合(ステップS7のYES)、ステップS8において、ハイレベル区間の幅Hi_nの値を上書き記録する。ステップS9において、無線信号検知回路23は、現在の加算繰り返し回数Nを1増加する(N=N+1)。なお、無線信号検知回路23は、記憶部37への記憶を行うタイミングを、CPU15が起動しているタイミングで実施するのが好ましい。CPU15が起動中は、ホスト側で大きな消費電力が使われており、無線信号検知回路23による補正処理に要する消費電力がほぼ無視できるためである。   When the wireless signal detection circuit 23 determines that the width of the high level section and the width of the low level section are within the range from the predetermined minimum value to the maximum value (YES in step S7), the wireless signal detection circuit 23 determines that the high level section width is high. The value of the width Hi_n of the level section is overwritten and recorded. In step S9, the wireless signal detection circuit 23 increases the current number of addition repetitions N by 1 (N = N + 1). Note that the wireless signal detection circuit 23 preferably performs the timing of storing in the storage unit 37 at the timing when the CPU 15 is activated. This is because during the activation of the CPU 15, a large amount of power consumption is used on the host side, and the power consumption required for the correction processing by the wireless signal detection circuit 23 can be almost ignored.

ステップS10において、無線信号検知回路23は、現在の加算繰り返し回数Nが予め設定された加算繰り返し回数Naccumulateよりも大きいか否かの判定を行う(N≧Naccumulate)。無線信号検知回路23は、現在の加算繰り返し回数Nが予め設定された加算繰り返し回数Naccumulateよりも小さいと判定した場合(ステップS10のNO)、信号送信ステップS3に戻る。すなわち、無線信号検知回路23は、現在の加算繰り返し回数Nが加算繰り返し回数Naccumulate以上になるまで信号送信ステップS3〜繰り返し回数判定ステップS10を繰り返す。   In step S10, the wireless signal detection circuit 23 determines whether or not the current number of addition repetitions N is greater than a preset number of addition repetitions Naccumulate (N ≧ Naccumulate). If the wireless signal detection circuit 23 determines that the current number of addition repetitions N is smaller than the preset number of addition repetitions Accumulate (NO in step S10), the wireless signal detection circuit 23 returns to the signal transmission step S3. That is, the wireless signal detection circuit 23 repeats the signal transmission step S3 to the repetition number determination step S10 until the current addition repetition number N becomes equal to or greater than the addition repetition number Accumulate.

無線信号検知回路23は、現在の加算繰り返し回数Nが加算繰り返し回数Naccumulate以上であると判定した場合(ステップS10のYES)、ステップS11において、n回目の検出で取得された時刻制御信号に含まれるハイレベル区間の幅Hi_nと、1回目の検出で取得された制御信号に含まれるハイレベル区間の幅Hi_1との差が、所定値Hi_threshold以下(|Hi_n−Hi_1|≦Hi_threshold)であるか否かの判定を行う。図10に示すように、ウインドウ幅は基準周波数の変化に伴って誤差が生じるため、時刻制御信号の取得回数nを重ねるにつれて時刻制御信号のハイレベル区間の幅についても誤差が大きくなる。このため、1回目のハイレベル区間の幅Hi_1を基準値として用いる。なお、無線信号検知回路23は、1回目以外で取得された時刻制御信号を用いてもよい。   When the wireless signal detection circuit 23 determines that the current addition repetition number N is equal to or greater than the addition repetition number Naccumulate (YES in step S10), the wireless signal detection circuit 23 is included in the time control signal acquired in the nth detection in step S11. Whether or not the difference between the width Hi_n of the high level section and the width Hi_1 of the high level section included in the control signal acquired in the first detection is equal to or smaller than the predetermined value Hi_threshold (| Hi_n−Hi_1 | ≦ Hi_threshold). Judgment is made. As shown in FIG. 10, since an error occurs in the window width as the reference frequency changes, the error also increases in the width of the high-level section of the time control signal as the time control signal acquisition count n is increased. For this reason, the width Hi_1 of the first high-level section is used as the reference value. Note that the wireless signal detection circuit 23 may use a time control signal acquired other than the first time.

図12は、ハイレベル区間の幅の差を求める際の概念図である。   FIG. 12 is a conceptual diagram when obtaining the difference in the width of the high level section.

図12においては、1回の起床区間における3つの検知ウインドウを加算して得られた信号を時刻制御信号とする例を説明する。   In FIG. 12, an example in which a signal obtained by adding three detection windows in one wake-up section is used as a time control signal will be described.

Hi_1は、1回目の起床区間Ta1における検知ウインドウC1、C2、C3を加算して得られる時刻制御信号のハイレベル区間の幅である。Hi_nは、n回目の起床区間Tanにおける検知ウインドウD1、D2、D3を加算して得られる時刻制御信号のハイレベル区間の幅である。無線信号検知回路23は、このハイレベル区間の幅Hi_1とHi_nとの差分を求める。すると、無線信号検知回路23は、ウインドウ(C−D)に示すように|Hi_n−Hi_1|を求めることができる。無線信号検知回路23は、この|Hi_n−Hi_1|が所定値Hi_threshold以下であるか否かの判定を行う。   Hi_1 is the width of the high-level section of the time control signal obtained by adding the detection windows C1, C2, and C3 in the first rising section Ta1. Hi_n is the width of the high-level section of the time control signal obtained by adding the detection windows D1, D2, and D3 in the n-th rising section Tan. The wireless signal detection circuit 23 obtains a difference between the widths Hi_1 and Hi_n of the high level section. Then, the radio signal detection circuit 23 can obtain | Hi_n-Hi_1 | as shown in the window (CD). The wireless signal detection circuit 23 determines whether or not | Hi_n-Hi_1 | is equal to or less than a predetermined value Hi_threshold.

無線信号検知回路23は、ハイレベル区間Hi_nとハイレベル区間Hi_1との差が、所定値Hi_thresholdより大きいと判定した場合(ステップS11のNO)、加算ステップS14に進む。   When the radio signal detection circuit 23 determines that the difference between the high level section Hi_n and the high level section Hi_1 is larger than the predetermined value Hi_threshold (NO in step S11), the wireless signal detection circuit 23 proceeds to the addition step S14.

一方、無線信号検知回路23は、ハイレベル区間Hi_nとハイレベル区間Hi_1との差が、所定値Hi_threshold以下であると判定した場合(ステップS11のYES)、ステップS12において、取得回数n回目のハイレベル区間Hi_nと取得回数1回目のハイレベル区間Hi_1との差が、所定値Hi_diff以上(|Hi_n−Hi_a|≧Hi_diff)であるか否かの判定を行う。所定値Hi_diffは、後述するステップS14において設定される、n−1回目に取得された時刻制御信号のハイレベル区間Hi_n−1と1回目に取得された時刻制御信号のハイレベル区間Hi_1との差(以下、「前回差分」という。)である。すなわち、この前回差分判定ステップS12は、今回所得された時刻制御信号のハイレベル区間の幅Hi_nとハイレベル区間の幅Hi_1との差が、前回取得された時刻制御信号のハイレベル区間の幅Hi_n−1とハイレベル区間の幅Hi_1との差以上であるか否かを判定する処理である。   On the other hand, when the radio signal detection circuit 23 determines that the difference between the high level section Hi_n and the high level section Hi_1 is equal to or less than the predetermined value Hi_threshold (YES in step S11), the radio signal detection circuit 23 sets the high number of acquisition times n in step S12. It is determined whether or not the difference between the level interval Hi_n and the first high-level interval Hi_1 that has been acquired is greater than or equal to a predetermined value Hi_diff (| Hi_n−Hi_a | ≧ Hi_diff). The predetermined value Hi_diff is a difference between the high level interval Hi_n−1 of the time control signal acquired at the (n−1) th time and the high level interval Hi_1 of the time control signal acquired at the first time, which is set in step S14 described later. (Hereinafter referred to as “previous difference”). That is, in the previous difference determination step S12, the difference between the width Hi_n of the high level section of the time control signal obtained this time and the width Hi_1 of the high level section is the width Hi_n of the high level section of the previously acquired time control signal. This is a process for determining whether or not the difference between −1 and the width Hi_1 of the high level section is greater than or equal to.

ハイレベル区間の幅Hi_nとHi_1との差が前回差分Hi_diff以上である場合には、無線信号検知回路23は前回および今回のウインドウ幅と周期信号の周期とのずれは許容値(Hi_threshold)以下であり、かつ検知回数n−1回目で行ったウインドウ幅の補正がより適切であったと判定することができるためである。   When the difference between the high-level widths Hi_n and Hi_1 is equal to or greater than the previous difference Hi_diff, the wireless signal detection circuit 23 has a difference between the previous and current window widths and the period of the periodic signal equal to or less than an allowable value (Hi_threshold). This is because it can be determined that the correction of the window width performed at the detection number n-1 is more appropriate.

なお、1回目に取得された時刻制御信号のハイレベル区間の幅Hi_1に対しては前回差分が存在しない。このため、Hi_diffは予め適当な値(例えばHi_diff=100)が初期値として設定される。   Note that there is no previous difference with respect to the width Hi_1 of the high level section of the time control signal acquired for the first time. For this reason, Hi_diff is set to an appropriate value (for example, Hi_diff = 100) as an initial value in advance.

無線信号検知回路23は、Hi_nとHi_1との差が前回差分Hi_diffより小さいと判定した場合(ステップS12のNO)、ステップS13において、前回差分Hi_diffをハイレベル区間の幅Hi_nとHi_1との差に更新する(Hi_diff=|Hi_n−Hi_1|)。すなわち、無線信号検知回路23は、新たな前回差分Hi_diffを記憶部37に記憶する。   If the wireless signal detection circuit 23 determines that the difference between Hi_n and Hi_1 is smaller than the previous difference Hi_diff (NO in step S12), the previous difference Hi_diff is set to the difference between the high-level width Hi_n and Hi_1 in step S13. Update (Hi_diff = | Hi_n−Hi_1 |). That is, the wireless signal detection circuit 23 stores the new previous difference Hi_diff in the storage unit 37.

ステップS14において、時刻制御信号の取得回数nを1増加する(n=n+1)。   In step S14, the time control signal acquisition count n is incremented by 1 (n = n + 1).

ステップS15において、無線信号検知回路23は、現在のウインドウ幅Twに所定値Tstepを加算(または減算)した値(Tw±Tstep)は予め設定されたウインドウ幅Twが許容される最小値Tw_minから最大値Tw_maxまでの範囲内にあるか否かの判定を行う(Tw_min≦Tw±Tstep≦Tw_max)。所定値Tstepは、予め設定されたウインドウ幅の1回分の補正で加算または減算するウインドウ幅の量(レジスタ個数。以下、「刻み幅」という。)である。無線信号検知回路23はウインドウ幅Tw±Tstepは最小値Tw_minから最大値Tw_maxまでの範囲内であると判定した場合(ステップS15のYES)、ステップS16においてウインドウ幅Twに対して刻み幅Tstepを加算(または減算)した値をウインドウ幅Twとして設定する(Tw=Tw±Tstep)。無線信号検知回路23は、所定信号送信ステップS3に進み、前回差分判定ステップS12において最適なウインドウ幅Twが設定されたと判定されるまで処理を繰り返す。   In step S15, the radio signal detection circuit 23 adds (or subtracts) a predetermined value Tstep to the current window width Tw (Tw ± Tstep) from the minimum value Tw_min in which the preset window width Tw is allowed to be the maximum. It is determined whether or not the value is within the range up to the value Tw_max (Tw_min ≦ Tw ± Tstep ≦ Tw_max). The predetermined value Tstep is a window width amount (the number of registers, hereinafter referred to as “step width”) to be added or subtracted by a correction for a preset window width. When the wireless signal detection circuit 23 determines that the window width Tw ± Tstep is within the range from the minimum value Tw_min to the maximum value Tw_max (YES in step S15), the step width Tstep is added to the window width Tw in step S16. The (or subtracted) value is set as the window width Tw (Tw = Tw ± Tstep). The wireless signal detection circuit 23 proceeds to the predetermined signal transmission step S3 and repeats the process until it is determined in the previous difference determination step S12 that the optimum window width Tw has been set.

一方、無線信号検知回路23は、ウインドウ幅Tw±Tstepは最小値Tw_minから最大値Tw_maxまでの範囲内ではないと判定した場合(ステップS15のNO)、補正判定ステップS23に進む。すなわち、無線信号検知回路23は、補正に失敗したと見なす。   On the other hand, when the radio signal detection circuit 23 determines that the window width Tw ± Tstep is not within the range from the minimum value Tw_min to the maximum value Tw_max (NO in step S15), the radio signal detection circuit 23 proceeds to the correction determination step S23. That is, the wireless signal detection circuit 23 considers that the correction has failed.

無線信号検知回路23は、前回差分判定ステップS12においてHi_nとHi_1との差が前回差分Hi_diff以上であると判定した場合(ステップS12のYES)、ステップS17において、ウインドウ幅Twの設定を行う。具体的には、無線信号検知回路23は、ウインドウ幅Twに対して刻み幅Tstepを減算(または加算)してウインドウ幅Twを補正する(Tw=Tw±Tstep)。無線信号検知回路23は、前回のウインドウ幅補正ステップS16においてウインドウ幅を加算した場合には、このウインドウ幅補正ステップS17において現在のウインドウ幅Twから刻み幅Tstepを減算する。また、無線信号検知回路23は、前回のウインドウ幅設定ステップS16においてウインドウ幅を減算した場合には、ウインドウ幅Twから刻み幅Tstepを加算する。すなわち、n−1回目の検出におけるウインドウ幅設定ステップS16において設定されたウインドウ幅Twに戻す。前回(nー1回)に行われた補正で設定されたウインドウ幅Twの方がより適切な値であるためである。   When it is determined that the difference between Hi_n and Hi_1 is equal to or greater than the previous difference Hi_diff in the previous difference determination step S12 (YES in step S12), the wireless signal detection circuit 23 sets the window width Tw in step S17. Specifically, the wireless signal detection circuit 23 corrects the window width Tw by subtracting (or adding) the step width Tstep from the window width Tw (Tw = Tw ± Tstep). When the window width is added in the previous window width correction step S16, the wireless signal detection circuit 23 subtracts the step width Tstep from the current window width Tw in the window width correction step S17. In addition, when the window width is subtracted in the previous window width setting step S16, the wireless signal detection circuit 23 adds the step width Tstep from the window width Tw. That is, the window width Tw set in the window width setting step S16 in the (n-1) th detection is restored. This is because the window width Tw set in the previous correction (n-1 time) is a more appropriate value.

ステップS18において、無線信号検知回路23は、補正が行われたウインドウ幅Twを初期ウインドウ幅Tw0として更新し、記憶部37にこのウインドウ幅Twの更新を記憶する。ステップS19において、無線信号検知回路23は、ウインドウ幅Twの補正が行われた旨をCPU15に通知する。以上により、現在の基準周波数発生回路41から供給される基準周波数に基づく時刻を基準としたウインドウ幅Tw0が決定される。無線信号検知回路23は、このウインドウ幅Tw0に基づいてAPやPCなどの他の通信機器から送信される信号の特定パターンの検知を行う。その後、処理は補正判定ステップS23に進む。   In step S <b> 18, the wireless signal detection circuit 23 updates the corrected window width Tw as the initial window width Tw <b> 0, and stores the update of the window width Tw in the storage unit 37. In step S19, the wireless signal detection circuit 23 notifies the CPU 15 that the window width Tw has been corrected. As described above, the window width Tw0 based on the time based on the reference frequency supplied from the current reference frequency generation circuit 41 is determined. The wireless signal detection circuit 23 detects a specific pattern of a signal transmitted from another communication device such as an AP or a PC based on the window width Tw0. Thereafter, the process proceeds to the correction determination step S23.

無線信号検知回路23は、受信品質判定ステップS4において所定の受信品質が閾値S/N比よりも小さいと判定した場合(ステップS4のNO)、またはハイレベル区間の幅Hi_nまたはローレベル区間の幅L_nが所定範囲内ではないと判定した場合(ステップS7のNO)、ステップS20において、周期信号の受信に失敗した回数を示す受信失敗回数Mを1増加する(M=M+1)。   The wireless signal detection circuit 23 determines that the predetermined reception quality is smaller than the threshold S / N ratio in the reception quality determination step S4 (NO in step S4), or the width Hi_n of the high level section or the width of the low level section When it is determined that L_n is not within the predetermined range (NO in step S7), in step S20, the reception failure count M indicating the number of times the periodic signal reception has failed is increased by 1 (M = M + 1).

ステップS21において、無線信号検知回路23は、受信失敗回数Mが所定値Overtimeより大きいか否かの判定を行う。このステップS21は、所要の受信品質が得られないにも関わらず無線信号検知回路23が無限に周期信号の受信を試みようとすることを回避するためである。無線信号検知回路23は、受信失敗回数Mが所定値Overtime以下であると判定した場合(ステップS21のNO)、初期値設定ステップS2に戻り、以降の処理を繰り返す。   In step S21, the wireless signal detection circuit 23 determines whether or not the number of reception failures M is greater than a predetermined value Overtime. This step S21 is to prevent the wireless signal detection circuit 23 from trying to receive a periodic signal indefinitely even though the required reception quality cannot be obtained. When the radio signal detection circuit 23 determines that the reception failure count M is equal to or less than the predetermined value Overtime (NO in step S21), the radio signal detection circuit 23 returns to the initial value setting step S2 and repeats the subsequent processing.

無線信号検知回路23は、受信失敗回数Mが所定値Overtimeより大きいと判定した場合(ステップS21のYES)、ステップS22において、受信失敗回数Mを0に設定し(M=0)、補正判定ステップS23に進む。   When the radio signal detection circuit 23 determines that the reception failure count M is greater than the predetermined value Overtime (YES in step S21), in step S22, the reception failure count M is set to 0 (M = 0), and a correction determination step. Proceed to S23.

ステップS23において、CPU15は、無線信号検知回路23が何らかの割り込み制御信号を検出したか否か、または一定時間の経過に伴いウインドウ幅の補正を実施するタイミングが到来したか否かの判定を行う。CPU15は、割り込み制御信号を検出した、または補正を実施するタイミングが到来したと判定した場合(ステップS23のYES)、初期値設定ステップS2に進む。   In step S <b> 23, the CPU 15 determines whether or not the wireless signal detection circuit 23 has detected any interrupt control signal, or whether or not the timing for correcting the window width has come with the passage of a certain time. When the CPU 15 detects the interrupt control signal or determines that the timing for performing the correction has arrived (YES in step S23), the CPU 15 proceeds to the initial value setting step S2.

一方、CPU15は、割り込み制御信号を検出していない、および補正を実施するタイミングが到来していないと判定した場合(ステップS23のNO)、ステップS24において、初期ウインドウ幅Tw0を無線信号検知回路23が信号の検知に用いるウインドウ幅Twとして設定する。   On the other hand, when the CPU 15 determines that the interrupt control signal has not been detected and the timing for performing the correction has not arrived (NO in step S23), in step S24, the wireless signal detection circuit 23 determines the initial window width Tw0. Is set as the window width Tw used for signal detection.

ステップS25において、CPU15は、無線信号検知回路23を休止状態に移行させるか否かの判定を行う。CPU15は、無線信号検知回路23の起動状態を維持すると判定した場合(ステップS25のNO)、補正判定ステップS23に戻り以降の処理を繰り返す。   In step S25, the CPU 15 determines whether or not to shift the wireless signal detection circuit 23 to the hibernation state. When it is determined that the activation state of the wireless signal detection circuit 23 is to be maintained (NO in step S25), the CPU 15 returns to the correction determination step S23 and repeats the subsequent processing.

一方、CPU15は無線信号検知回路23を休止状態に移行させると判定した場合(ステップS25のYES)、ステップS26において、無線信号検知回路23が信号を検知する際に必要なデータを所定の不揮発性の記録手段への書き込みを行う。なお、この書込ステップS26は、無線信号検知回路23が不揮発性の記録手段を有する場合には省略することができる。
以上で、検知ウインドウ補正処理は終了する。
On the other hand, if the CPU 15 determines that the wireless signal detection circuit 23 is to be shifted to the hibernation state (YES in step S25), in step S26, the data necessary for the wireless signal detection circuit 23 to detect the signal is stored in a predetermined nonvolatile manner. Is written to the recording means. This writing step S26 can be omitted when the wireless signal detection circuit 23 has a non-volatile recording means.
This completes the detection window correction process.

なお、上述した図11の検知ウインドウ補正処理においては、ハイレベル区間の幅Hi_nとHi_1との差分に基づいてウインドウ幅が適正値であるか否かの判定を行った。しかし、以下の他の方法を用いてウインドウ幅の適正値の判定を行ってもよい。   In the detection window correction process of FIG. 11 described above, it is determined whether or not the window width is an appropriate value based on the difference between the widths Hi_n and Hi_1 of the high level section. However, the appropriate value of the window width may be determined using another method described below.

図13は、他の検知ウインドウ補正処理を説明する概念図である。   FIG. 13 is a conceptual diagram illustrating another detection window correction process.

この検知ウインドウ補正処理においては、無線信号検知回路23はn回目に取得された時刻制御信号の開始位置(開始時刻)に対して、1サンプリングピッチずつ開始位置がシフトされた過去の時刻制御信号との理論積をそれぞれ求める。無線信号検知回路23は、n回目に検知された時刻制御信号と相関が最大となる過去の時刻制御信号のシフト量を求める。無線信号検知回路23は、このシフト量から必要な検知ウインドウの補正量(ずれ量)を求めることができる。   In this detection window correction processing, the wireless signal detection circuit 23 uses the past time control signal in which the start position is shifted by one sampling pitch with respect to the start position (start time) of the time control signal acquired for the nth time. Find the theoretical product of. The wireless signal detection circuit 23 obtains the shift amount of the past time control signal that has the maximum correlation with the time control signal detected for the nth time. The wireless signal detection circuit 23 can obtain a necessary detection window correction amount (shift amount) from the shift amount.

無線信号検知回路23は、例えば間欠動作の1番目の起床区間で求められた時刻制御信号を過去の時刻制御信号として用いる。また、n番目の起床区間で求められた時刻制御信号は、過去の時刻制御信号を用いた補正処理の対象となる現在の時刻制御信号である。   For example, the wireless signal detection circuit 23 uses the time control signal obtained in the first wake-up section of the intermittent operation as the past time control signal. Further, the time control signal obtained in the n-th wake-up section is the current time control signal to be subjected to correction processing using the past time control signal.

例えば、図13(A)に示すように、取得回数n回目において検知ウインドウEに示す信号パターンを有する時刻制御信号が得られた。無線信号検知回路23は、補正用ウインドウE1に示す信号パターンを有する取得回数1回目の(過去の)時刻制御信号を、補正用ウインドウE2、E3、E4のようにウインドウの開始位置を所定量ΔT(1サンプリングピッチに相当)ずつスライドさせる。補正用ウインドウE1は、ウインドウの開始時刻が検知ウインドウEの開始時刻TEと一致するウインドウである。補正用ウインドウE2は、補正用ウインドウE1に対してウインドウの開始位置が所定量ΔT(検知ウインドウEに対してΔT)スライドされたウインドウである。また、補正用ウインドウE3は、補正用ウインドウE2に対してウインドウの開始位置が所定量ΔT(検知ウインドウEに対してΔT×2)スライドされたウインドウである。補正検知ウインドウE4についても同様である。   For example, as shown in FIG. 13A, the time control signal having the signal pattern shown in the detection window E is obtained at the number n of acquisitions. The wireless signal detection circuit 23 sets the first (past) time control signal having the signal pattern shown in the correction window E1 to the window start position by a predetermined amount ΔT like the correction windows E2, E3, and E4. Slide one by one (equivalent to one sampling pitch). The correction window E1 is a window whose window start time coincides with the start time TE of the detection window E. The correction window E2 is a window in which the start position of the window is slid by a predetermined amount ΔT (ΔT with respect to the detection window E) with respect to the correction window E1. The correction window E3 is a window in which the start position of the window is slid by a predetermined amount ΔT (ΔT × 2 with respect to the detection window E) with respect to the correction window E2. The same applies to the correction detection window E4.

無線信号検知回路23は、これらの補正用ウインドウE1〜E4(開始位置がシフトした過去の時刻制御信号)と取得回数n回目の時刻制御信号との理論積をそれぞれ求める。無線信号検知回路23は、補正用ウインドウE1〜E4のうち相関が最大となる補正用ウインドウを求める。図13(A)においては、相関が最大となる補正用ウインドウとして、補正検知ウインドウE1が求まる。無線信号検知回路23は、検知ウインドウEの開始位置と補正用ウインドウE1の開始位置とに差分はないため、補正量は不要(補正量は0)であると求めることができる。   The wireless signal detection circuit 23 obtains theoretical products of these correction windows E1 to E4 (past time control signals whose start positions have been shifted) and the time control signal of the number of acquisition times n, respectively. The wireless signal detection circuit 23 obtains a correction window that maximizes the correlation among the correction windows E1 to E4. In FIG. 13A, a correction detection window E1 is obtained as a correction window that maximizes the correlation. Since there is no difference between the start position of the detection window E and the start position of the correction window E1, the wireless signal detection circuit 23 can determine that the correction amount is unnecessary (the correction amount is 0).

また、図13(B)に示すように、取得回数n回目において検知ウインドウFに示す信号パターンを有する時刻制御信号が得られた。無線信号検知回路23は、補正用ウインドウF1に示す信号パターンを有する取得回数1回目の(過去の)時刻制御信号を、補正用ウインドウF2、F3、F4のようにウインドウの開始位置を所定量ΔT(1サンプリングピッチに相当)ずつスライドさせる。無線信号検知回路23は、これらの補正用ウインドウF1〜F4(過去の時刻制御信号)と取得回数n回目の時刻制御信号との理論積をそれぞれ求める。無線信号検知回路23は、補正用ウインドウF1〜F4のうち相関が最大となる補正用ウインドウを求める。   Further, as shown in FIG. 13B, a time control signal having a signal pattern shown in the detection window F was obtained at the number of times of acquisition n. The radio signal detection circuit 23 sets the first (past) time control signal having the signal pattern shown in the correction window F1 to the window start position by a predetermined amount ΔT like the correction windows F2, F3, and F4. Slide one by one (equivalent to one sampling pitch). The wireless signal detection circuit 23 obtains theoretical products of these correction windows F1 to F4 (past time control signals) and the nth time control signal. The wireless signal detection circuit 23 obtains a correction window that maximizes the correlation among the correction windows F1 to F4.

図13(B)においては、相関が最大となる補正用ウインドウとして、補正検知ウインドウF3が求まる。無線信号検知回路23は、検知ウインドウFの開始位置と補正用ウインドウF3の開始位置との差分ΔTFを求め、この差分に基づいて補正量を求める。無線信号検知回路23は、この補正量に対応する検知ウインドウの適切な開始位置(ずれ幅)を求めることができ、検知ウインドウの補正を行うことができる。   In FIG. 13B, a correction detection window F3 is obtained as a correction window that maximizes the correlation. The wireless signal detection circuit 23 obtains a difference ΔTF between the start position of the detection window F and the start position of the correction window F3, and obtains a correction amount based on this difference. The wireless signal detection circuit 23 can obtain an appropriate start position (deviation width) of the detection window corresponding to the correction amount, and can correct the detection window.

この携帯電話機1によれば、低消費電力であるが精度を十分に有していない基準周波数発生回路41から供給された基準周波数に基づいて動作する無線信号検知回路23であっても、より高精度な基準周波数に基づいて生成された周期信号を用いて検知周期の補正を行うことができる。この結果、携帯電話機1は、無線信号検知回路23の消費電力を低く抑えられると同時に、高精度に受信信号を検知することができる。   According to this cellular phone 1, even if the wireless signal detection circuit 23 operates based on the reference frequency supplied from the reference frequency generation circuit 41 that has low power consumption but does not have sufficient accuracy, it is more highly The detection cycle can be corrected using a periodic signal generated based on an accurate reference frequency. As a result, the mobile phone 1 can suppress the power consumption of the wireless signal detection circuit 23 to a low level and can detect the received signal with high accuracy.

また、無線信号検知回路23は、自身の各回路を経由した信号に基づいて補正を行うことができるため周囲温度や回路特性などの検知周期のずれに寄与する諸要因を加味した形での補正を行うことができる。この結果、無線信号検知回路23は、簡易に正確な補正を行うことができる。   In addition, since the wireless signal detection circuit 23 can perform correction based on a signal passing through its own circuit, the correction is performed in consideration of various factors that contribute to a shift in the detection cycle such as ambient temperature and circuit characteristics. It can be performed. As a result, the wireless signal detection circuit 23 can easily perform accurate correction.

また、無線信号検知回路23は、補正処理に内部の無線通信モジュール26を利用した場合には、周期信号の受信に外乱を受けにくく、かつ既知の信号を利用することができるため、より高精度に検知周期の補正を行うことができる。   In addition, when the internal wireless communication module 26 is used for the correction process, the wireless signal detection circuit 23 is less susceptible to disturbance in the reception of the periodic signal and can use a known signal. The detection cycle can be corrected.

また、携帯電話機1は、CPU15の制御に基づいて補正処理を開始するため、無線信号検知回路23および無線通信モジュール26は補正のための周期信号の送信であるのか、または他の機器との通信を確立するための周期信号の送信であるのかを容易に区別することができる。   In addition, since the mobile phone 1 starts correction processing based on the control of the CPU 15, the wireless signal detection circuit 23 and the wireless communication module 26 are transmitting periodic signals for correction, or communicating with other devices. It is possible to easily distinguish whether it is transmission of a periodic signal for establishing

なお、本実施形態においては、無線通信モジュール26と無線信号検知回路23とがアンテナ切替スイッチ62の状態に応じてモノポールアンテナ61を共用する例を説明した。しかし、無線通信モジュール26と無線信号検知回路23とは、個別にアンテナを有する構成にしてもよい。   In the present embodiment, the example in which the wireless communication module 26 and the wireless signal detection circuit 23 share the monopole antenna 61 according to the state of the antenna changeover switch 62 has been described. However, the wireless communication module 26 and the wireless signal detection circuit 23 may be configured to have individual antennas.

図14は、無線信号検知回路23および無線通信モジュール26を特に示す変形例としての回路構成図である。   FIG. 14 is a circuit configuration diagram as a modified example that particularly shows the wireless signal detection circuit 23 and the wireless communication module 26.

図14の回路構成が図2と異なる点は、無線信号検知回路23専用のダイポールアンテナ81が設けられた点、無線通信モジュール26専用のモノポールアンテナ61が設けられた点である。また、無線信号検知回路23は、無線通信モジュール26とモノポールアンテナ82とを接続する信号線と接続された。このため、無線信号検知回路23は、無線通信モジュール26から送信される周期信号をインピーダンス83を介して受信できるようになっている。また、無線信号検知回路23がダイポールアンテナ81を備えたことに伴い、RF受信回路が省略された。   The circuit configuration of FIG. 14 is different from that of FIG. 2 in that a dipole antenna 81 dedicated to the radio signal detection circuit 23 is provided and a monopole antenna 61 dedicated to the radio communication module 26 is provided. The wireless signal detection circuit 23 is connected to a signal line that connects the wireless communication module 26 and the monopole antenna 82. For this reason, the wireless signal detection circuit 23 can receive the periodic signal transmitted from the wireless communication module 26 via the impedance 83. In addition, since the radio signal detection circuit 23 includes the dipole antenna 81, the RF reception circuit is omitted.

無線信号検知回路23は、補正用スイッチ84がオンされた場合には、無線通信モジュール26から送信される周期信号を直接受信できる。また、無線信号検知回路23は、無線通信モジュール26がモノポールアンテナ82を介して送信した信号をダイポールアンテナ81からも受信可能である。   The wireless signal detection circuit 23 can directly receive the periodic signal transmitted from the wireless communication module 26 when the correction switch 84 is turned on. The radio signal detection circuit 23 can also receive a signal transmitted from the radio communication module 26 via the monopole antenna 82 from the dipole antenna 81.

なお、本実施形態においては、ウインドウ幅や開始位置を制御することにより補正を行った。しかし、この方法に限らず。IIR(Infinite Impulse Response)フィルタなどの共振型フィルタを用いる場合には、分周比を切替えることで補正を行うことも可能である。   In the present embodiment, the correction is performed by controlling the window width and the start position. However, it is not limited to this method. When a resonance filter such as an IIR (Infinite Impulse Response) filter is used, correction can be performed by switching the frequency division ratio.

また、CPU15は、ステップS1またはステップS23において、補正を行うタイミングの要否を判定した。これに限らず、無線信号検知回路23は、補正処理を行うタイミング(周期信号を記憶するタイミング)をWLAN通信モジュール12がAPなどから受信したビーコン信号に含まれるSSID(Service Set Identifier)に基づいて接続可否の照合を行った後に実行してもよい。WLAN通信モジュール12が起動しているタイミングを利用することにより、CPU15はWLAN通信モジュール12を補正処理のために起動する必要がなく、また起動に要する消費電力の抑制を図ることができる点で有効である。   Moreover, CPU15 determined the necessity of the timing which correct | amends in step S1 or step S23. Not limited to this, the wireless signal detection circuit 23 determines the timing for performing correction processing (timing for storing the periodic signal) based on the SSID (Service Set Identifier) included in the beacon signal received by the WLAN communication module 12 from the AP or the like. You may perform after performing the collation of a connection possibility. By using the timing at which the WLAN communication module 12 is activated, the CPU 15 does not need to activate the WLAN communication module 12 for correction processing, and is effective in that it can reduce power consumption required for activation. It is.

また、基準周波数の中心周波数に対する偏差による検知周期のずれに起因して、無線信号検知回路23は、誤った信号に係る特定パターンをAPなどから送信されたビーコン信号に係る特定パターンとして検知し、WLAN通信モジュール12に通知してしまう可能性がある。これに伴い、WLAN通信モジュール12は、APなどとの接続を試みようとするが、失敗する。すなわち、WLAN通信モジュール12が無線LAN通信接続に失敗した場合には、無線信号検知回路23のウインドウ幅がずれている可能性が考えられる。このため、WLAN通信モジュール12は、無線LAN通信接続に失敗した場合にCPU15などの指示に基づいて補正処理のために周期信号を送信し、無線信号検知回路23はこのタイミングで補正処理を行うことが望ましい。   In addition, due to the shift of the detection cycle due to the deviation of the reference frequency with respect to the center frequency, the wireless signal detection circuit 23 detects the specific pattern related to the wrong signal as the specific pattern related to the beacon signal transmitted from the AP or the like, There is a possibility of notifying the WLAN communication module 12. As a result, the WLAN communication module 12 tries to connect to the AP or the like, but fails. That is, when the WLAN communication module 12 fails in the wireless LAN communication connection, there is a possibility that the window width of the wireless signal detection circuit 23 is shifted. Therefore, the WLAN communication module 12 transmits a periodic signal for correction processing based on an instruction from the CPU 15 or the like when the wireless LAN communication connection fails, and the wireless signal detection circuit 23 performs correction processing at this timing. Is desirable.

さらに、本実施形態においては、無線信号検知回路23は無線通信モジュール26から送信された無線信号を用いて時刻制御信号を取得した。しかし、無線信号検知回路23は、外部機器から送信された周期信号を用いて時刻制御信号を取得してもよい。このとき、より正確な時刻制御信号を求めるため、無線信号検知回路23は、周期信号の周期が既知の(例えば、SSID情報によりビーコン信号の送信周期が既知の)外部機器から送信された周期信号を用いるのが好ましい。   Furthermore, in the present embodiment, the wireless signal detection circuit 23 acquires the time control signal using the wireless signal transmitted from the wireless communication module 26. However, the wireless signal detection circuit 23 may acquire the time control signal using a periodic signal transmitted from an external device. At this time, in order to obtain a more accurate time control signal, the wireless signal detection circuit 23 transmits a periodic signal transmitted from an external device whose period signal is known (for example, the beacon signal transmission period is known by SSID information). Is preferably used.

さらにまた、無線信号検知回路23は、WLAN通信モジュール12、BT通信モジュール13および移動通信モジュール11から送信される周期信号を用いて時刻制御信号を生成する例を説明した。しかし、無線信号検知回路23は、赤外線通信モジュールや非接触式ICカードモジュールを備える場合には、これらのモジュールから送信される周期信号を用いてもよい。   Furthermore, the example in which the wireless signal detection circuit 23 generates the time control signal using the periodic signal transmitted from the WLAN communication module 12, the BT communication module 13, and the mobile communication module 11 has been described. However, when the wireless signal detection circuit 23 includes an infrared communication module or a non-contact IC card module, a periodic signal transmitted from these modules may be used.

また、本実施形態においては、無線信号検知回路23が間欠動作を行う例を説明したが、常時起床していてもよい。   In the present embodiment, the example in which the wireless signal detection circuit 23 performs an intermittent operation has been described. However, the wireless signal detection circuit 23 may always wake up.

1 携帯電話機
11 移動通信モジュール
12 WLAN通信モジュール
13 BT通信モジュール
15 CPU
16 メモリ
23 無線信号検知回路
24 電源回路
26 無線通信モジュール
31 RF信号受信回路
32 ダウンコンバータ(整流回路)
33 ベースバンド(BB)信号増幅回路
34 信号識別回路
35 制御信号出力回路
36 制御部
37 記憶部
41 基準周波数発生回路
42 発振/分周回路
51 高精度基準周波数発生回路
61 モノポールアンテナ
1 Mobile phone 11 Mobile communication module 12 WLAN communication module 13 BT communication module 15 CPU
16 memory 23 wireless signal detection circuit 24 power supply circuit 26 wireless communication module 31 RF signal receiving circuit 32 down converter (rectifier circuit)
33 Baseband (BB) signal amplification circuit 34 Signal identification circuit 35 Control signal output circuit 36 Control unit 37 Storage unit 41 Reference frequency generation circuit 42 Oscillation / frequency division circuit 51 High-precision reference frequency generation circuit 61 Monopole antenna

Claims (10)

基準周波数を生成する基準周波数発生部と、
前記基準周波数より精度が高い高精度基準周波数を生成する高精度基準周波数発生部と、
前記高精度基準周波数に基づいて動作し、第1の周期信号を送信する送信部と、
前記基準周波数に基づいて動作し、第1の周期ごとに外部機器から送信される第2の周期信号を前記第1の周期に対応する第2の周期ごとに検知する無線信号検知部とを備え、
前記無線信号検知部は、前記送信部より送信される前記第1の周期信号に基づいて、前記第1の周期と前記第2の周期とのずれが所定値以下となるように前記第2の周期を小さくまたは大きくする補正処理を行うことを特徴とする通信機器。
A reference frequency generator for generating a reference frequency;
A high-precision reference frequency generator that generates a high-precision reference frequency with higher accuracy than the reference frequency;
A transmitter that operates based on the high-precision reference frequency and transmits a first periodic signal;
A radio signal detector that operates based on the reference frequency and detects a second periodic signal transmitted from an external device every first period, every second period corresponding to the first period; ,
The wireless signal detection unit is configured to control the second period so that a deviation between the first period and the second period is equal to or less than a predetermined value based on the first period signal transmitted from the transmission unit. A communication device characterized by performing correction processing for reducing or increasing the period.
前記無線信号検知部は、前記送信部が前記第2の周期信号を待ち受ける際の動作電力より低い動作電力で前記第2の周期信号を検知する請求項1記載の通信機器。 The communication device according to claim 1, wherein the wireless signal detection unit detects the second periodic signal with an operating power lower than an operating power when the transmission unit waits for the second periodic signal. 前記外部機器から送信される前記第2の周期信号を前記無線信号検知部が受信するためのアンテナと、
前記補正処理を行う際に、前記アンテナと前記無線信号検知部との接続を解除するアンテナ切替部をさらに備える請求項1または2記載の通信機器。
An antenna for the wireless signal detector to receive the second periodic signal transmitted from the external device;
The communication apparatus according to claim 1, further comprising an antenna switching unit that cancels connection between the antenna and the wireless signal detection unit when performing the correction process.
前記送信部が前記通信機器の外部に前記第1の周期信号を送信するための第1のアンテナと、
前記外部機器から送信される前記第2の周期信号を前記無線信号検知部が受信するための第2のアンテナとをさらに備え、
前記無線信号検知部は、前記第1のアンテナから送信された前記第1の周期信号を前記第2のアンテナで受信し、受信された前記第1の周期信号に基づいて前記補正処理を行う請求項1または2記載の通信機器。
A first antenna for the transmission unit to transmit the first periodic signal to the outside of the communication device;
A second antenna for the wireless signal detector to receive the second periodic signal transmitted from the external device;
The wireless signal detection unit receives the first periodic signal transmitted from the first antenna by the second antenna, and performs the correction processing based on the received first periodic signal. Item 3. A communication device according to item 1 or 2.
前記補正処理を行う際に、前記送信部と前記無線信号検知部とを直接接続する接続切替部をさらに備えた請求項1または2記載の通信機器。 The communication device according to claim 1, further comprising a connection switching unit that directly connects the transmission unit and the wireless signal detection unit when performing the correction process. 前記無線信号検知部は、前記第1の周期信号の検知を示すハイレベルおよび前記第1の周期信号の未検知を示すローレベルからなる信号レベルで示された信号パターンを有する時刻制御信号を前記第2の周期ごとに生成し、前記時刻制御信号の前記ハイレベルの区間の時間および検出時刻に基づいて複数の前記時刻制御信号を比較した場合に、前記ハイレベル区間の差分が所定値以下となるように前記第2の周期を小さくまたは大きくする請求項1〜5のいずれか一項記載の通信機器。 The radio signal detection unit outputs a time control signal having a signal pattern indicated by a signal level including a high level indicating detection of the first periodic signal and a low level indicating non-detection of the first periodic signal. When the plurality of time control signals are generated based on the time and detection time of the high level section of the time control signal generated every second period, the difference in the high level section is less than or equal to a predetermined value. The communication device according to any one of claims 1 to 5, wherein the second period is made smaller or larger so as to become. 前記無線信号検知部は、前記第1の周期信号の検知を示すハイレベルおよび前記第1の周期信号の未検知を示すローレベルからなる信号レベルで示された前記第2の周期ごとの所定数の信号パターンを、時間軸に対して加算しまたは理論積を求めることにより得られた信号パターンを有する時刻制御信号を生成し、前記時刻制御信号の前記ハイレベルの区間の時間および検出時刻に基づいて複数の前記時刻制御信号を比較した場合に前記ハイレベル区間の差分が所定値以下となるように前記第2の周期を小さくまたは大きくする請求項1〜5のいずれか一項記載の通信機器。 The wireless signal detection unit is a predetermined number for each second period indicated by a signal level including a high level indicating detection of the first periodic signal and a low level indicating non-detection of the first periodic signal. Is generated with respect to the time axis, or a time control signal having a signal pattern obtained by obtaining a theoretical product is generated, and based on the time of the high level section of the time control signal and the detection time 6. The communication device according to claim 1, wherein the second period is reduced or increased so that a difference between the high level sections is equal to or less than a predetermined value when a plurality of the time control signals are compared. . 前記無線信号検知部は、前記第1の周期信号の検知を示すハイレベルおよび前記第1の周期信号の未検知を示すローレベルからなる信号レベルで示された信号パターンを有する時刻制御信号を前記第2の周期ごとに生成し、取得された時刻制御信号の開始時刻に対して、所定のサンプリングピッチずつ開始時刻がシフトされた過去の時刻制御信号との理論積をそれぞれ求め、相関が最大となるシフト量を求め、前記シフト量から前記第1の周期に対する前記第2の周期の補正処理を行う請求項1〜5のいずれか一項記載の通信機器。 The radio signal detection unit outputs a time control signal having a signal pattern indicated by a signal level including a high level indicating detection of the first periodic signal and a low level indicating non-detection of the first periodic signal. The theoretical product of the time control signal generated every second period and the acquired time control signal with the past time control signal whose start time is shifted by a predetermined sampling pitch is obtained, and the correlation is maximum. The communication device according to any one of claims 1 to 5, wherein a shift amount is calculated, and the correction process of the second period with respect to the first period is performed from the shift amount. 前記送信部は、無線LAN通信モジュール、Bluetooth通信モジュールおよび移動通信モジュールを含む少なくとも一の無線通信モジュールである請求項1〜8のいずれか一項記載の通信機器。 The communication device according to claim 1, wherein the transmission unit is at least one wireless communication module including a wireless LAN communication module, a Bluetooth communication module, and a mobile communication module. 基準周波数を生成する基準周波数発生部と、前記基準周波数より精度が高い高精度基準周波数を生成する高精度基準周波数発生部と、前記高精度基準周波数に基づいて動作し、第1の周期信号を送信する送信部と、前記基準周波数に基づいて動作し、第1の周期ごとに外部機器から送信される第2の周期信号を前記第1の周期に対応する第2の周期ごとに検知する無線信号検知部とを準備するステップと、
前記無線信号検知部が、前記送信部より送信される前記第1の周期信号に基づいて、前記第1の周期と前記第2の周期とのずれが所定値以下となるように前記第2の周期を小さくまたは大きくする補正処理を行うステップとを備えることを特徴とする検知周期補正方法。
A reference frequency generation unit that generates a reference frequency, a high-accuracy reference frequency generation unit that generates a high-accuracy reference frequency with higher accuracy than the reference frequency, an operation based on the high-accuracy reference frequency, and a first periodic signal A transmitting unit that operates based on the reference frequency and wireless that detects a second periodic signal transmitted from an external device every first period, every second period corresponding to the first period Preparing a signal detector;
Based on the first periodic signal transmitted from the transmitting unit, the wireless signal detecting unit is configured so that a deviation between the first period and the second period is a predetermined value or less. And a step of performing a correction process for reducing or increasing the period.
JP2011164424A 2011-07-27 2011-07-27 Communication device and detection cycle correction method Expired - Fee Related JP5085773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011164424A JP5085773B2 (en) 2011-07-27 2011-07-27 Communication device and detection cycle correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011164424A JP5085773B2 (en) 2011-07-27 2011-07-27 Communication device and detection cycle correction method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010128247A Division JP4799675B1 (en) 2010-06-03 2010-06-03 Communication device and detection cycle correction method

Publications (2)

Publication Number Publication Date
JP2011254516A JP2011254516A (en) 2011-12-15
JP5085773B2 true JP5085773B2 (en) 2012-11-28

Family

ID=45417985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011164424A Expired - Fee Related JP5085773B2 (en) 2011-07-27 2011-07-27 Communication device and detection cycle correction method

Country Status (1)

Country Link
JP (1) JP5085773B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211072A (en) * 2000-01-25 2001-08-03 Toshiba Corp Pll circuit

Also Published As

Publication number Publication date
JP2011254516A (en) 2011-12-15

Similar Documents

Publication Publication Date Title
US8255011B2 (en) Mobile communication device and communication method
US9160415B2 (en) Open-loop frequency lock methods for fast boot-up time
US7378964B1 (en) Very low power active RFID receiver
JP4736999B2 (en) Receiving machine
US20060194564A1 (en) Radio transmitting/receiving apparatus and intermittent transmission/reception control method of radio transmitting/receiving apparatus
JP4799675B1 (en) Communication device and detection cycle correction method
EP3560218B1 (en) Activation of wireless module utilizing magnetic field data
US9510289B1 (en) In system calibration of wake up timer
US8787963B2 (en) Mobile wireless terminal apparatus and base station search method
US11178616B2 (en) Staged wireless device wake-up
JP5010745B1 (en) RADIO UNIT AND MOBILE COMMUNICATION TERMINAL DEVICE PROVIDED WITH THIS RADIO UNIT
US20210328625A1 (en) Nfc device detection
WO2013002814A1 (en) Oscillator settling time allowance
EP2245748B1 (en) Power-saving receiver
JP5085773B2 (en) Communication device and detection cycle correction method
WO2018080750A1 (en) Self-correction techniques for crystal oscillator
US8791796B2 (en) Wireless tag device, storage medium storing control program for wireless tag device, and control method for wireless tag device
JP4996732B2 (en) Mobile radio terminal apparatus and base station search method
CN116367212A (en) NFC device detection
JP2008113173A (en) Reception controller and reception control method
JP2009100416A (en) Radio system
US9654927B2 (en) Motion detection method and portable device using the same
US9257992B2 (en) Communication device and control method thereof
JP4429828B2 (en) Mobile communication device with contactless card
JP5301030B2 (en) Receiver, remote control system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20111202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20111205

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120905

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees