JP2006237931A - Radio receiving device and program - Google Patents

Radio receiving device and program Download PDF

Info

Publication number
JP2006237931A
JP2006237931A JP2005048364A JP2005048364A JP2006237931A JP 2006237931 A JP2006237931 A JP 2006237931A JP 2005048364 A JP2005048364 A JP 2005048364A JP 2005048364 A JP2005048364 A JP 2005048364A JP 2006237931 A JP2006237931 A JP 2006237931A
Authority
JP
Japan
Prior art keywords
unit
frame
data
signal
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005048364A
Other languages
Japanese (ja)
Inventor
Masafumi Nakagawa
雅文 中川
Yoshio Horiike
良雄 堀池
Yoshishige Yoshikawa
嘉茂 吉川
Akiko Furui
晶子 古井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005048364A priority Critical patent/JP2006237931A/en
Publication of JP2006237931A publication Critical patent/JP2006237931A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect frame synchronizing signals of a header in a radio telegram independently of a control means. <P>SOLUTION: An interface unit 7 is equipped with a frame code register 11 that stores frame patterns of a frame synchronization unit, a frame synchronization shift register 12 which stores the frame patterns successively synchronizing with a sampling clock, a frame match detecting means 13 which outputs frame match detection signals when data stored in the frame code register 11 are matched with the data stored in the frame synchronization shift register 12, and a receiving buffer 14 which stores a data unit synchronizing with the sampling clock. The control means 16 of a CPU unit 8 is not required to detect the bit synchronization unit and the frame synchronization unit when a radio telegram is received, so that a load imposed on the control means 16 is alleviated, and the control means 16 is capable of carrying out other processing. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、データ伝送におけるフレーム同期部およびデータ部を受信するための無線受信装置およびプログラムに関するものである。   The present invention relates to a radio receiver and a program for receiving a frame synchronization unit and a data unit in data transmission.

従来、この種の無線受信装置およびプログラムは、以下に記載されているようなものがあった(例えば、特許文献1参照)。   Conventionally, this type of wireless receiver and program have been described below (see, for example, Patent Document 1).

図7は、特許文献1に記載された従来の無線受信装置を示すものである。図7に示すように、アンテナ1と、前記アンテナ1で受信した無線電文から受信データを復調するFM受信回路2と、前記FM受信回路2で復調された受信データを記憶するシフトレジスタ3と、フレーム同期信号のフレームパターンを記憶するROM4と、前記各手段を制御する制御回路5から構成されている。   FIG. 7 shows a conventional radio receiving apparatus described in Patent Document 1. In FIG. As shown in FIG. 7, an antenna 1, an FM receiver circuit 2 that demodulates received data from a radio telegram received by the antenna 1, a shift register 3 that stores received data demodulated by the FM receiver circuit 2, It comprises a ROM 4 for storing the frame pattern of the frame synchronization signal, and a control circuit 5 for controlling each means.

制御回路5は、アンテナ1およびFM受信回路2を介して受信した受信データから、無線電文のヘッダー部のビット同期部を検出し、受信データのサンプリングクロックを生成する。そして、このサンプリングクロックに基づいて受信データをシフトレジスタ3に記憶する。   The control circuit 5 detects the bit synchronization part of the header part of the radio message from the reception data received via the antenna 1 and the FM reception circuit 2, and generates a sampling clock for the reception data. The received data is stored in the shift register 3 based on this sampling clock.

一方ROM4には、あらかじめ決められたフレーム同期信号のフレームパターンが記憶されており、制御回路5は、前記ROM4に記憶されたフレームパターンとシフトレジスタ3に記憶された受信データとを1ビット受信毎に比較し、ROM4に記憶されたフレーム同期信号のフレームパターンと一致するまで受信動作を継続する。
特開平8−130533号公報
On the other hand, the ROM 4 stores a frame pattern of a predetermined frame synchronization signal, and the control circuit 5 receives the frame pattern stored in the ROM 4 and the reception data stored in the shift register 3 for each one bit reception. As compared with the above, the receiving operation is continued until it matches the frame pattern of the frame synchronization signal stored in the ROM 4.
JP-A-8-130533

しかしながら、前記従来の構成では、制御回路は、無線電文をたえず1ビット毎受信し、ヘッダー部であるビット同期部が受信されているか否かを常に監視し、ビット同期部が検出された場合も、同様に無線電文を1ビット毎受信しながら記憶された数十ビット長のフレームパターンと一致するか否かを判定している。しかし、制御回路は、このような判定処理を行っている間も必要に応じて他の処理を行う必要があるが、制御回路にかかる負荷が大きく、他の処理を行うことができなくなるという課題を有していた。   However, in the above-described conventional configuration, the control circuit continuously receives a wireless telegram for each bit, always monitors whether the bit synchronization unit as the header is received, and the bit synchronization unit may be detected. Similarly, it is determined whether or not it matches the stored frame pattern of several tens of bits while receiving the wireless telegram bit by bit. However, the control circuit needs to perform other processes as necessary while performing such a determination process. However, the load on the control circuit is large and the other processes cannot be performed. Had.

本発明は、前記従来の課題を解決するもので、無線電文におけるヘッダー部のフレーム同期部の検出処理を制御回路から切り離して行うとした無線受信装置およびプログラムを提供することを目的とする。   SUMMARY OF THE INVENTION The present invention solves the above-described conventional problems, and an object of the present invention is to provide a radio reception apparatus and a program that perform detection processing of a frame synchronization unit of a header part in a radio message separately from a control circuit.

前記従来の課題を解決するために、本発明の無線受信装置およびプログラムは、インターフェイス部に、フレーム同期部のフレームパターンを記憶するフレームコードレジスタと、前記復調手段で復調されたフレーム同期部を前記サンプリングクロック生成手段から出力されたサンプリングクロックに同期して順次記憶するフレーム同期シフトレジスタと、前記フレームコードレジスタと前記フレーム同期シフトレジスタに記憶されたデータとが一致した場合に前記CPU部に対してフレーム一致検出信号を出力するフレーム一致検出手段と、サンプリングクロックに同期してデータ部を記憶する受信バッファとを備えるとしたものである。   In order to solve the above-described conventional problems, a wireless reception device and a program according to the present invention include, in an interface unit, a frame code register that stores a frame pattern of a frame synchronization unit, and a frame synchronization unit demodulated by the demodulation unit. When the frame synchronization shift register for sequentially storing in synchronization with the sampling clock output from the sampling clock generation means matches the data stored in the frame code register and the frame synchronization shift register, the CPU unit A frame coincidence detecting means for outputting a frame coincidence detection signal and a reception buffer for storing the data portion in synchronization with the sampling clock are provided.

これによって、無線電文におけるヘッダー部のフレーム同期部の検出処理を制御手段から切り離して行うことができる。   As a result, the detection processing of the frame synchronization part of the header part in the wireless telegram can be performed separately from the control means.

本発明の無線受信装置およびプログラムは、インターフェイス部がフレーム同期部の一致検出を行うため、制御手段が無線電文におけるヘッダー部のビット同期部およびフレーム同期部を常時監視する必要がなくなり、制御手段の負荷を軽減することができ、その分他の処理を行うことができる。また、ソフトウェアによるヘッダー検出処理を簡素化することができるため、ソフトウェアの開発期間を短縮することができる。   In the wireless reception device and program of the present invention, since the interface unit detects the coincidence of the frame synchronization unit, it is not necessary for the control unit to constantly monitor the bit synchronization unit and the frame synchronization unit of the header unit in the wireless message. The load can be reduced, and other processing can be performed accordingly. In addition, since the header detection process by software can be simplified, the software development period can be shortened.

第1の発明は、高周波信号を復調する高周波部と、前記高周波部で復調された信号内容の解析を行うCPU部と、前記高周波部と前記CPU部の間に設けられたインターフェイス部とから構成され、ビット同期部、フレーム同期部およびデータ部から構成される無線電文を受信する無線受信装置において、前記高周波部は、受信した無線電文を復調する復調手段と、前記復調手段で復調したビット同期部からサンプリングクロックを生成し、前記インターフェイス部にサンプリングクロックを出力するサンプリングクロック生成手段とを備え、インターフェイス部は、フレーム同期部のフレームパターンを記憶するフレームコードレジスタと、前記復調手段で復調されたフレーム同期部を前記サンプリングクロック生成手段から出力されたサンプリングクロックに同期して順次記憶するフレーム同期シフトレジスタと、前記フレームコードレジスタと前記フレーム同期シフトレジスタに記憶されたデータとが一致した場合に前記CPU部に対してフレーム一致検出信号を出力するフレーム一致検出手段と、サンプリングクロックに同期してデータ部を記憶する受信バッファとを備え、前記CPU部は、前記フレーム一致検出信号を受信することにより前記受信バッファから前記RAMへのデータ部の転送回数の設定および前記RAMに記憶されたデータ部の内容を解析する制御手段と、前記制御手段から指定された回数だけデータ部を前記RAMに転送し、転送終了後に前記制御手段に対して転送終了信号を出力する転送手段とを備える。   1st invention comprises the high frequency part which demodulates a high frequency signal, the CPU part which analyzes the signal content demodulated by the high frequency part, and the interface part provided between the high frequency part and the CPU part In the wireless reception device that receives a wireless telegram composed of a bit synchronization unit, a frame synchronization unit, and a data unit, the high-frequency unit includes a demodulation unit that demodulates the received wireless message, and a bit synchronization demodulated by the demodulation unit A sampling clock generating unit that generates a sampling clock from the unit and outputs the sampling clock to the interface unit, and the interface unit is demodulated by the frame code register that stores the frame pattern of the frame synchronization unit and the demodulation unit The frame synchronization unit is connected to the sampling clock output from the sampling clock generation means. A frame synchronization shift register that sequentially stores in synchronization with a pulling clock, and a frame that outputs a frame coincidence detection signal to the CPU unit when the frame code register and the data stored in the frame synchronization shift register coincide. The CPU includes a coincidence detecting means and a reception buffer for storing the data portion in synchronization with the sampling clock, and the CPU portion receives the frame coincidence detection signal to thereby transfer the data portion from the reception buffer to the RAM. And a control means for analyzing the contents of the data part stored in the RAM, and the data part is transferred to the RAM as many times as specified by the control means, and a transfer end signal is sent to the control means after the transfer is completed. And a transfer means for outputting.

以上のような構成によって、無線電文の受信の際は、ビット同期部の検出、フレーム同期部の検出および前記RAMへのデータ部の転送を前記CPU部における前記制御手段が行う必要がないため、制御手段の負荷が軽減され、その分他の処理を行うことができる。   With the above configuration, when receiving a wireless telegram, the control unit in the CPU unit does not need to perform detection of the bit synchronization unit, detection of the frame synchronization unit, and transfer of the data unit to the RAM. The load on the control means is reduced, and other processing can be performed accordingly.

例えば、外部機器と通信を行うための外部通信手段を備えるようにすることにより、無線電文の受信と外部機器との通信を同時に行うことなどが容易になる。また、ソフトウェアによるヘッダー検出処理を簡素化することができるため、ソフトウェアの開発期間を短縮することができる。   For example, by providing an external communication means for communicating with an external device, it becomes easy to simultaneously receive a wireless telegram and communicate with the external device. In addition, since the header detection process by software can be simplified, the software development period can be shortened.

第2の発明は、特に、第1の発明において、フレーム一致検出手段がフレーム一致検出信号を出力した後に、転送手段がRAMに記憶された識別符号をフレームコードレジスタに転送し、前記フレーム一致検出手段は、前記識別符号が記憶されたフレームコードレジスタとフレーム同期シフトレジスタのデータが一致した場合に、識別符号一致信号をCPU部に対して出力し、前記CPU部は、前記識別符号一致信号を受信することにより、識別符号に続くデータ部を受信するため、前記転送手段に転送する転送回数を設定し、転送動作を開始することにより、制御手段で識別符号の一致処理を行う必要がなくなり、制御手段の負荷がさらに軽くなり、その分他の処理を行うことができる。   According to a second invention, in particular, in the first invention, after the frame coincidence detecting means outputs the frame coincidence detection signal, the transfer means transfers the identification code stored in the RAM to the frame code register, and the frame coincidence detection is performed. The means outputs an identification code match signal to the CPU unit when the data of the frame code register in which the identification code is stored and the data of the frame synchronization shift register match, and the CPU unit outputs the identification code match signal. By receiving, in order to receive the data portion following the identification code, setting the number of transfers to be transferred to the transfer means, and starting the transfer operation, it is not necessary to perform the matching process of the identification code in the control means, The load on the control means is further reduced, and other processing can be performed accordingly.

第3の発明は、特に、第1または第2の発明において、フレームコードレジスタとCPU部へは共通の電源を供給し、インターフェイス部へは別の電源を供給することにより、前記インターフェイス部に供給する電源を制御手段が遮断したとしても前記フレームコードレジスタに記憶されたフレームパターンは保持されるため、消費電力削減のため、無線受信装置が間欠動作を行い、インターフェイス部の電源のON/OFFを繰り返しても、フレームコードレジスタにフレームパターンをその都度設定する必要がない。   In the third invention, in particular, in the first or second invention, a common power source is supplied to the frame code register and the CPU unit, and another power source is supplied to the interface unit to supply the interface unit to the interface unit. The frame pattern stored in the frame code register is retained even when the control means shuts off the power to be used. Therefore, to reduce power consumption, the wireless receiver performs an intermittent operation and turns on / off the power of the interface unit. Even if it is repeated, it is not necessary to set a frame pattern in the frame code register each time.

第4の発明は、特に、第1〜3のいずれか1つの発明において、CPU部が低消費電力動作を行うために必要な低速クロック信号を生成する低速クロック生成手段と、CPU部がRAMに記憶されたデータ部の解析を行う通常動作に必要な高速クロック信号を生成する高速クロック生成手段とを備えることにより、前記高速クロック生成手段で生成された高速クロック信号が、高周波部、インターフェイス部にも供給され、制御手段が低消費電力動作から通常動作に移行する際は、既に前記高速クロック生成手段にて高速クロック信号が生成されているため、高速クロック信号の発振安定時間を設ける必要がない。   In particular, according to a fourth aspect of the present invention, in any one of the first to third aspects, low-speed clock generation means for generating a low-speed clock signal necessary for the CPU unit to perform low power consumption operation, and the CPU unit in the RAM High-speed clock generation means for generating a high-speed clock signal required for normal operation for analyzing the stored data portion, so that the high-speed clock signal generated by the high-speed clock generation means When the control means shifts from the low power consumption operation to the normal operation, since the high-speed clock signal is already generated by the high-speed clock generation means, it is not necessary to provide an oscillation stabilization time for the high-speed clock signal. .

第5の発明は、第1〜第4のいずれか1つの発明における無線受信装置の機能の少なくとも一部をコンピュータに実現させるためのプログラムとすることにより、簡単なハードウェアで無線受信装置の機能が実現できる。   According to a fifth aspect of the invention, there is provided a program for causing a computer to realize at least a part of the functions of the wireless reception device according to any one of the first to fourth aspects, whereby the function of the wireless reception device can be realized with simple hardware. Can be realized.

以下、本発明の実施の形態について、図面を参照しながら説明する。なお、この実施の形態によって本発明が限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the present invention is not limited to the embodiments.

(実施の形態1)
図1は、本発明の第1の実施の形態における無線受信装置のブロック図を示すものである。
(Embodiment 1)
FIG. 1 is a block diagram of a radio reception apparatus according to the first embodiment of the present invention.

図1において、無線受信装置は、アンテナ1、高周波部6、インターフェイス部7およびCPU部8から構成されている。   In FIG. 1, the wireless reception apparatus includes an antenna 1, a high frequency unit 6, an interface unit 7, and a CPU unit 8.

高周波部6は、アンテナ1で受信した無線電文から受信データを復調する復調手段9と、復調手段9で受信したビット同期部からサンプリングクロックを生成し、インターフェイス部7にサンプリングクロックを供給するサンプリングクロック生成手段10とを備える。   The high frequency unit 6 generates a sampling clock from the demodulating unit 9 that demodulates the received data from the radio telegram received by the antenna 1 and the bit synchronization unit received by the demodulating unit 9 and supplies the sampling clock to the interface unit 7 And generating means 10.

インターフェイス部7は、フレーム同期部のフレームパターンを記憶するフレームコードレジスタ11と、復調手段9で復調されたフレーム同期部をサンプリングクロック生成手段10から出力されたサンプリングクロックに同期して順次記憶するフレーム同期シフトレジスタ12と、フレームコードレジスタ11とフレーム同期シフトレジスタ12に記憶されたデータとが一致した場合にCPU部8に対してフレーム一致検出信号を出力するフレーム一致検出手段13と、サンプリングクロックに同期してデータ部を記憶する受信バッファ14とを備える。   The interface unit 7 includes a frame code register 11 that stores the frame pattern of the frame synchronization unit, and a frame that sequentially stores the frame synchronization unit demodulated by the demodulation unit 9 in synchronization with the sampling clock output from the sampling clock generation unit 10 When the data stored in the synchronization shift register 12, the frame code register 11 and the frame synchronization shift register 12 match, the frame match detection means 13 outputs a frame match detection signal to the CPU unit 8, and the sampling clock And a reception buffer 14 for storing the data portion in synchronization.

CPU部8は、データ部を記憶するRAM15と、RAM15記憶されたデータ部の内容を解析する制御手段16と、受信バッファ14に記憶されたデータ部を制御手段16から指定された回数だけRAM15に転送し、転送終了後に制御手段16に転送終了信号を出力する転送手段17とを備えている。   The CPU unit 8 stores the data unit in the RAM 15, the control unit 16 that analyzes the contents of the data unit stored in the RAM 15, and the data unit stored in the reception buffer 14 in the RAM 15 as many times as specified by the control unit 16. And transfer means 17 for transferring and outputting a transfer end signal to the control means 16 after the transfer is completed.

図2は本実施の形態における無線受信装置を用いた無線通信システム例を示すものである。図2において、通信処理部18と無線通信装置19とで構成されるブロックがホームコントローラ101、そして、無線受信装置20とエアコン21とで構成されるブロックがホームコントローラから制御されるネットワーク対応家電機器102である。ホームコントローラは、図2には示していないが、タッチパネルを備え、前記タッチパネル上のボタンを押すことによりエアコン21の制御を行うことができる。ホームコントローラ101を構成する無線通信装置18とエアコン21に接続される無線受信装置20は、429MHz帯の特定小電力無線電波を用いたプロトコルで接続される。   FIG. 2 shows an example of a wireless communication system using the wireless reception apparatus in this embodiment. In FIG. 2, a network-compatible home appliance in which a block configured by the communication processing unit 18 and the wireless communication device 19 is controlled by the home controller 101 and a block configured by the wireless reception device 20 and the air conditioner 21 is controlled by the home controller. 102. Although not shown in FIG. 2, the home controller includes a touch panel and can control the air conditioner 21 by pressing a button on the touch panel. The wireless communication device 18 constituting the home controller 101 and the wireless reception device 20 connected to the air conditioner 21 are connected by a protocol using a specific low-power radio wave in the 429 MHz band.

なお、429MHz帯の特定小電力無線電波を用いたプロトコルとしては、ガスの自動検針用プロトコルやエコーネット(登録商標)プロトコル等の規格化されたものが考えられる。   As a protocol using a specific low-power radio wave in the 429 MHz band, standardized protocols such as a gas automatic meter reading protocol and an Echonet (registered trademark) protocol are conceivable.

図2における無線受信装置20が図1における無線受信装置に相当する。ここで、図2における無線通信装置19と無線受信装置20との間で送受信される電文構成について図3を参照しながら説明する。   The radio reception device 20 in FIG. 2 corresponds to the radio reception device in FIG. Here, the message structure transmitted and received between the wireless communication device 19 and the wireless reception device 20 in FIG. 2 will be described with reference to FIG.

図3において(1)は無線電文のデータフォーマット全体構成を示す。図3の(1)において区間(a)は繰り返しヘッダー部と呼ばれ、受信チャンネルとして複数チャンネルを順次スキャンして待ち受ける受信方式に対応するため(ビット同期信号1;41ビット+フレーム同期信号1;31ビット+データ信号1;64ビット)を一つのブロックとして、このブロックをN回繰り返し送信する繰り返しヘッダー部である。   In FIG. 3, (1) shows the overall data format configuration of the radio message. In (1) of FIG. 3, section (a) is called a repetitive header portion, and corresponds to a reception system that sequentially scans and waits for a plurality of channels as reception channels (bit synchronization signal 1; 41 bits + frame synchronization signal 1; 31 bits + data signal 1; 64 bits) is a repetitive header portion for repeatedly transmitting this block N times.

そして、区間(b)はデータを含む情報部であり、(ビット同期信号2;65ビット+フレーム同期信号2;31ビット+データ信号2;可変ビット数)で構成され、ビット同期信号2はビット同期信号1のビットの反転、フレーム同期信号2はフレーム同期信号1のビットの反転となっている。区間(c)は送信の最後を示す信号であるがなくてもかまわない。   The section (b) is an information part including data, and is composed of (bit synchronization signal 2; 65 bits + frame synchronization signal 2; 31 bits + data signal 2; variable bit number). The bit of the sync signal 1 is inverted, and the frame sync signal 2 is inverted of the bit of the frame sync signal 1. The section (c) is a signal indicating the end of transmission, but may not be present.

データ1の詳細な構成を、図3の(2)に示す。また、データ2の詳細な構成を、図3の(3)に示す。   The detailed configuration of data 1 is shown in (2) of FIG. The detailed configuration of data 2 is shown in (3) of FIG.

データ1には相手先情報、すなわち宛先を示す受信機器識別符号と、自分の属するシステムかどうかを識別する無線システム識別符号の一部である部分無線システム識別符号が含まれている。部分無線システム識別符号は無線システム識別符号を3分割したものであり、例えば無線システム識別符号が12桁であれば、上位4桁、中位4桁、下位4桁と3分割され順番に挿入されている。   The data 1 includes destination information, that is, a receiving device identification code indicating a destination, and a partial wireless system identification code that is a part of a wireless system identification code that identifies whether the system belongs to itself. The partial radio system identification code is obtained by dividing the radio system identification code into three parts. For example, if the radio system identification code is 12 digits, the upper 4 digits, the middle 4 digits, and the lower 4 digits are divided into 3 and inserted in order. ing.

データ2には無線システム識別符号と送信元を示す送信機器識別符号が含まれている。例えば、無線電文を送信する際は、相手無線通信装置の間欠受信周期以上の長さになるように、ヘッダー部の繰り返し送信回数N回を設定し無線電文を送信する。また、データ1およびデータ2は、誤り制御としてBCH(31,16)を用い、16ビット単位の伝送信号に対して15ビットのBCH誤り制御符号と1ビットの偶数パリティ符号を付加する。すなわち符号化後の符号長は32ビットとなる。   Data 2 includes a wireless system identification code and a transmission device identification code indicating a transmission source. For example, when transmitting a wireless message, the wireless message is transmitted by setting the number of repeated transmissions N times in the header portion so that the length is equal to or longer than the intermittent reception cycle of the counterpart wireless communication device. Data 1 and data 2 use BCH (31, 16) as error control, and add a 15-bit BCH error control code and a 1-bit even parity code to a 16-bit transmission signal. That is, the code length after encoding is 32 bits.

図4に無線受信装置が無線電文を受信する際のフローチャートを示す。   FIG. 4 shows a flowchart when the wireless receiver receives a wireless telegram.

以上のように構成された無線受信装置について、以下その動作、作用を説明する。   The operation and action of the radio receiving apparatus configured as described above will be described below.

フレームコードレジスタ11には、図3に示すフレーム同期信号1(31ビット)が設定されている。また、受信バッファ14は、例えば8ビットなどのシフトレジスタなどで構成されており、データ1およびデータ2が順次記憶される。   In the frame code register 11, the frame synchronization signal 1 (31 bits) shown in FIG. 3 is set. The reception buffer 14 is composed of, for example, an 8-bit shift register or the like, and data 1 and data 2 are sequentially stored.

CPU部8における制御手段16は、インターフェイス部7や高周波部6の電源をONし、復調手段9に対して受信するために必要な受信チャンネル(周波数)等の値を設定し、受信開始の信号を出力し、フレーム一致検出手段13から出力される信号の監視を開始する(STEP1)。CPU部8としては、8ビットもしくは16ビットのマイクロコンピューター(以下マイコンという)が考えられ、監視する方法としては、マイコンのソフトから定期的にフレーム一致検出手段13に接続されたポートを見に行く方法や、割り込みなどにより監視する方法が考えられる。   The control unit 16 in the CPU unit 8 turns on the power of the interface unit 7 and the high-frequency unit 6, sets values such as a reception channel (frequency) necessary for reception to the demodulation unit 9, and a reception start signal And the monitoring of the signal output from the frame coincidence detection means 13 is started (STEP 1). The CPU unit 8 may be an 8-bit or 16-bit microcomputer (hereinafter referred to as a microcomputer). As a monitoring method, the microcomputer software periodically goes to the port connected to the frame coincidence detection means 13. A method of monitoring by a method or an interrupt can be considered.

復調手段9は、制御手段16から受信開始を設定されると、キャリアセンスを行い、キャリアがあれば復調を開始し受信データをサンプリングクロック生成手段10に出力する。サンプリングクロック生成手段10は、受信データからビット同期信号1の検出を行い(STEP2)、ビット同期信号1が検出された場合は、ビット同期信号1からサンプリングクロックを生成し、フレーム同期シフトレジスタ12および受信バッファ14に出力する(STEP3)。   When the reception start is set by the control means 16, the demodulation means 9 performs carrier sense, starts demodulation when there is a carrier, and outputs received data to the sampling clock generation means 10. The sampling clock generation means 10 detects the bit synchronization signal 1 from the received data (STEP 2). When the bit synchronization signal 1 is detected, the sampling clock generation means 10 generates a sampling clock from the bit synchronization signal 1, and the frame synchronization shift register 12 The data is output to the reception buffer 14 (STEP 3).

フレーム同期シフトレジスタ12は、サンプリングクロック生成手段10から供給されるサンプリングクロックに同期して、復調手段9から出力される受信データを順次記憶していく(STEP4)。   The frame synchronization shift register 12 sequentially stores the reception data output from the demodulation means 9 in synchronization with the sampling clock supplied from the sampling clock generation means 10 (STEP 4).

フレーム一致検出手段13は、フレームコードレジスタ11に記憶さているフレームパターンとフレーム同期シフトレジスタ12に記憶されたパターンとを、例えば排他的論理和の演算を行い比較する(STEP5)。   The frame coincidence detection means 13 compares the frame pattern stored in the frame code register 11 with the pattern stored in the frame synchronization shift register 12 by performing, for example, an exclusive OR operation (STEP 5).

一致した場合は、制御手段16に対して、フレーム一致検出信号を出力する(STEP6)。フレーム一致検出信号を受信した制御手段16は、フレーム同期1に続くデータ部1を受信するため、転送手段17に転送するバイト数として、例えば4バイトを設定し、転送動作の開始を設定する(STEP7)。   If they match, a frame match detection signal is output to the control means 16 (STEP 6). The control means 16 that has received the frame coincidence detection signal sets, for example, 4 bytes as the number of bytes to be transferred to the transfer means 17 in order to receive the data part 1 following the frame synchronization 1, and sets the start of the transfer operation ( (Step 7).

転送手段17は、受信バッファ14にデータ1が1バイト受信される毎に、RAM15に転送する。そして、4バイト転送終了したら制御手段16に転送終了信号を出力する(STEP8)。   The transfer unit 17 transfers the data 1 to the RAM 15 every time one byte of data 1 is received by the reception buffer 14. When 4 bytes have been transferred, a transfer end signal is output to the control means 16 (STEP 8).

転送終了信号を受信した制御手段16は、RAM15に記憶された4バイトのデータ1を取り込む。この4バイトのデータ1は符号化されているため、復号化後に受信データを解析する。以降は、転送手段17から出力される転送終了信号を受信する毎にRAM15から4バイト単位で受信データを取り込む(STEP9)。   The control means 16 that has received the transfer end signal takes in the 4-byte data 1 stored in the RAM 15. Since the 4-byte data 1 is encoded, the received data is analyzed after decoding. Thereafter, every time a transfer end signal output from the transfer means 17 is received, the received data is fetched from the RAM 15 in units of 4 bytes (STEP 9).

以上のように、本実施の形態においては、図1に示すように高周波部6とCPU部8間にインターフェイス部7を設け、インターフェイス部7におけるフレーム一致検出手段13がフレーム同期1検出時にフレーム一致検出信号を、4バイト分のデータ1転送時に転送終了信号を制御手段16に出力することにより、制御手段16が無線電文におけるヘッダー部のビット同期1およびフレーム同期1を常時監視する必要がないため、制御手段16の負荷を軽減することができ、その分他の処理を行うことができる。   As described above, in this embodiment, as shown in FIG. 1, the interface unit 7 is provided between the high frequency unit 6 and the CPU unit 8, and the frame matching detection means 13 in the interface unit 7 detects the frame matching when the frame synchronization 1 is detected. By outputting a transfer end signal to the control means 16 when transferring 4 bytes of data 1 for 4 bytes, it is not necessary for the control means 16 to constantly monitor the bit synchronization 1 and frame synchronization 1 of the header part in the wireless message. The load on the control means 16 can be reduced, and other processing can be performed accordingly.

また、ソフトウェアによるヘッダー検出処理を簡素化することができるため、ソフトウェアの開発期間を短縮することができる。   In addition, since the header detection process by software can be simplified, the software development period can be shortened.

また、本実施例のように、符号長が4バイト(32ビット)の場合は、4バイト受信するまでは復号化できないため、転送手段17を備えることにより、効率よく復号化できる。しかも、制御手段16は、RAM15に4バイトのデータが受信されるまでは他の処理を行うことができるため、制御手段16の負荷を軽減することができる(例えば、誤り訂正方法として、BCH(31,16)+パリティ1ビットを用いた場合、合計32ビット受信しないと復号化できないため)。   Further, as in the present embodiment, when the code length is 4 bytes (32 bits), decoding cannot be performed until 4 bytes are received. In addition, since the control unit 16 can perform other processing until 4-byte data is received in the RAM 15, the load on the control unit 16 can be reduced (for example, BCH ( 31,16) + If parity 1 bit is used, decoding is not possible unless a total of 32 bits are received).

また、先の実施例では、符号長n=32ビット、フレーム同期信号=31ビットとして説明したが、このような場合は、ビット同期信号の1ビットを加え、フレーム同期信号を32ビットとして扱う方法などが考えられる。   In the previous embodiment, the code length n = 32 bits and the frame synchronization signal = 31 bits have been described. In such a case, one bit of the bit synchronization signal is added and the frame synchronization signal is handled as 32 bits. And so on.

(実施の形態2)
図5は、本発明の第2の実施の形態の無線受信装置のブロック図である。実施の形態1と異なる点は、フレーム一致検出手段13Aがフレーム一致検出信号を出力した後に、転送手段17AがRAM15に記憶された識別符号をフレームコードレジスタ11に転送し、フレーム一致検出手段13Aは、前記識別符号が記憶されたフレームコードレジスタ11とフレーム同期シフトレジスタ12のデータが一致した場合に、識別符号一致信号をCPU部における制御手段16に対して出力する構成とした点である。
(Embodiment 2)
FIG. 5 is a block diagram of a radio reception apparatus according to the second embodiment of this invention. The difference from the first embodiment is that after the frame coincidence detecting unit 13A outputs a frame coincidence detection signal, the transfer unit 17A transfers the identification code stored in the RAM 15 to the frame code register 11, and the frame coincidence detecting unit 13A When the data of the frame code register 11 storing the identification code and the data of the frame synchronization shift register 12 match, an identification code coincidence signal is outputted to the control means 16 in the CPU unit.

以上のように構成された無線受信装置について、以下その動作、作用を説明する。   The operation and action of the radio receiving apparatus configured as described above will be described below.

先の実施の形態1では、フレーム一致検出信号を受信した制御手段16は、フレーム同期1に続くデータ部1を受信するため、転送手段17に転送するバイト数として、例えば4バイトを設定し、転送動作の開始を設定するとして説明したが、実施の形態2では、制御手段16は、フレーム同期1が一致したことを示すフレーム同期1一致検出信号を受信すると、転送手段17Aに対して、例えば、RAM15に記憶された識別符号である制御コード1および部分無線システム識別符号(図3(2)参照)を転送する信号を出力し、この信号を受信した転送手段17Aは、RAM15に記憶された制御コード1および部分無線システム識別符号をフレームコードレジスタ11に転送する。そして、フレーム一致検出手段13Aが、前記識別符号が記憶されたフレームコードレジスタ11とフレーム同期シフトレジスタ12のデータが一致した場合に出力する識別符号一致信号を受信した場合に、フレーム同期1に続くデータ部1の受信機器識別符号を受信するため、転送手段17Aに転送するバイト数として、例えば4バイトを設定し、転送動作の開始を設定する。   In the first embodiment, the control means 16 that has received the frame match detection signal sets, for example, 4 bytes as the number of bytes to be transferred to the transfer means 17 in order to receive the data part 1 following the frame synchronization 1. In the second embodiment, the control unit 16 receives the frame synchronization 1 coincidence detection signal indicating that the frame synchronization 1 coincides with the transfer unit 17A, for example. , A signal for transferring the control code 1 and the partial radio system identification code (see FIG. 3B), which are identification codes stored in the RAM 15, is output, and the transfer means 17 A that has received this signal stores the signal stored in the RAM 15. The control code 1 and the partial radio system identification code are transferred to the frame code register 11. Then, when the frame coincidence detecting means 13A receives the identification code coincidence signal output when the data of the frame code register 11 in which the identification code is stored and the data of the frame synchronization shift register 12 coincide with each other, the frame coincidence detection unit 13A follows the frame synchronization 1. In order to receive the receiving device identification code of the data section 1, for example, 4 bytes are set as the number of bytes to be transferred to the transfer means 17A, and the start of the transfer operation is set.

以上のように、本実施例において、転送手段17Aは、受信バッファ14に記憶されたデータ1をRAM15に転送するだけでなく、RAM15に記憶されたデータをフレームコードレジスタ11に転送することができるため、インターフェイス部7は、フレーム同期部だけでなく識別符号をも検出でき、制御手段16の負荷をさらに軽減することができ、その分他の処理を行うことができる。   As described above, in this embodiment, the transfer unit 17A can transfer not only the data 1 stored in the reception buffer 14 to the RAM 15 but also the data stored in the RAM 15 to the frame code register 11. Therefore, the interface unit 7 can detect not only the frame synchronization unit but also the identification code, can further reduce the load on the control means 16, and can perform other processes accordingly.

なお、先の実施の形態1または2において、インターフェイス部7におけるフレームコードレジスタ11に供給する電源をインターフェース部の電源と切り離して、CPU部8に供給する電源とを共通にする構成も考えることができる。   In the first or second embodiment, a configuration may be considered in which the power supplied to the frame code register 11 in the interface unit 7 is separated from the power of the interface unit and the power supplied to the CPU unit 8 is shared. it can.

このように構成することにより、インターフェイス部7に供給する電源を制御手段16が遮断したとしてもフレームコードレジスタ11には電源が供給され、これに記憶されたフレームパターンは保持される。ここで消費電力削減のため、無線受信装置が間欠動作を行い、インターフェイス部7の電源のON/OFFを繰り返しても、フレームコードレジスタ11にフレームパターンをその都度設定する必要がなくなる。   With this configuration, even if the control unit 16 cuts off the power supplied to the interface unit 7, power is supplied to the frame code register 11, and the frame pattern stored therein is retained. Here, in order to reduce power consumption, it is not necessary to set a frame pattern in the frame code register 11 each time even when the wireless receiver performs an intermittent operation and repeatedly turns on / off the power of the interface unit 7.

また、図5では、RAM15とフレームコードレジスタ11はそれぞれ別に備える構成となっているが、RAM15のエリアに、フレームコードレジスタ11のエリアを設ける構成としても同様な効果を得ることができる。   In FIG. 5, the RAM 15 and the frame code register 11 are separately provided. However, the same effect can be obtained by providing the frame code register 11 area in the RAM 15 area.

(実施の形態3)
図6は、本発明の第3の実施の形態の無線受信装置のブロック図である。実施の形態1と異なる点は、CPU部8が低消費電力動作を行うために必要な低速クロック信号を生成する低速クロック生成手段22と、CPU部8がRAM15に記憶されたデータ部の解析を行う通常動作に必要な高速クロック信号を生成する高速クロック生成手段23とを備えた点である。
(Embodiment 3)
FIG. 6 is a block diagram of a radio reception apparatus according to the third embodiment of this invention. The difference from the first embodiment is that the CPU section 8 analyzes the low-speed clock generation means 22 that generates a low-speed clock signal necessary for performing the low power consumption operation, and the CPU section 8 analyzes the data section stored in the RAM 15. High-speed clock generation means 23 for generating a high-speed clock signal necessary for normal operation to be performed is provided.

以上のように構成された無線受信装置について、以下その動作、作用を説明する。   The operation and action of the radio receiving apparatus configured as described above will be described below.

CPU部8が低消費電力動作から通常動作に移行する場合について説明する。CPU部8には消費電力を低減するための低消費電力動作と通常動作とがあり、無線電文を受信する必要がない場合は、低消費電力動作となっており、CPU部8を構成する各部には、低速クロック生成手段22で生成された低速クロック信号(例えば32.768KHz)が供給され、この低速クロック信号で動作している。   A case where the CPU unit 8 shifts from the low power consumption operation to the normal operation will be described. The CPU unit 8 has a low power consumption operation and a normal operation for reducing power consumption. When there is no need to receive a wireless telegram, the CPU unit 8 is a low power consumption operation, and each unit constituting the CPU unit 8 Is supplied with a low-speed clock signal (for example, 32.768 KHz) generated by the low-speed clock generation means 22 and operates with this low-speed clock signal.

そして、無線電文を受信する際には、インターフェイス部7、高周波部6および高速クロック生成手段23の電源を投入し、インターフェイス部7および高周波部6は、高速クロック生成手段23で生成された高速クロック信号(例えば20MHz)が供給され、この高速クロック信号で動作を開始する。一方、この時CPU部8は低速クロックで動作したままである。   When receiving the wireless telegram, the interface unit 7, the high frequency unit 6, and the high speed clock generation unit 23 are powered on, and the interface unit 7 and the high frequency unit 6 receive the high speed clock generated by the high speed clock generation unit 23. A signal (for example, 20 MHz) is supplied, and operation starts with this high-speed clock signal. On the other hand, at this time, the CPU unit 8 remains operating with the low-speed clock.

そして、制御手段16は、フレーム一致検出手段13から出力される信号を監視するため、フレーム一致検出手段13に接続されている割り込みポートの割り込みを許可する。そして、フレーム同期1の受信時は、フレーム一致検出手段13からのフレーム一致検出信号の受信により外部割込みが発生し、低速動作から高速動作に移行し、無線電文の受信を開始する。   Then, the control unit 16 permits the interrupt of the interrupt port connected to the frame match detection unit 13 in order to monitor the signal output from the frame match detection unit 13. When receiving frame synchronization 1, an external interrupt is generated by reception of the frame match detection signal from the frame match detection means 13, and the low-speed operation is shifted to the high-speed operation, and reception of the radio message is started.

あるいは、割り込み処理を使用しない場合は、タイマー割り込みにより、一定時間間隔毎にフレーム一致検出手段13に接続されているポート状態を読み込み、ポート状態が変化している場合は、同様に、低速動作から高速動作に移行し、無線電文の受信を開始する。   Alternatively, when interrupt processing is not used, the port state connected to the frame coincidence detection means 13 is read at regular time intervals by a timer interrupt, and if the port state is changed, the low speed operation is similarly performed. Shift to high-speed operation and start receiving wireless telegrams.

以上のように、本実施の形態においては、高速クロック生成手段23で生成された同一の高速クロック信号が、高周波部6、インターフェイス部7にも供給されているため、制御手段16が低消費電力動作から通常動作に移行する際は、既に高速クロック生成手段23にて高速クロック信号が生成されているため、高速クロック信号の発振安定時間を逆算して低消費電力動作から通常動作に移行する必要がなく、より長い時間低消費電力動作を行うことができ、消費電力を低減することができる。   As described above, in the present embodiment, since the same high-speed clock signal generated by the high-speed clock generation unit 23 is also supplied to the high-frequency unit 6 and the interface unit 7, the control unit 16 has low power consumption. When shifting from the operation to the normal operation, since the high-speed clock signal is already generated by the high-speed clock generation means 23, it is necessary to reversely calculate the oscillation stabilization time of the high-speed clock signal and shift from the low power consumption operation to the normal operation. Therefore, the low power consumption operation can be performed for a longer time, and the power consumption can be reduced.

また、高周波部6、インターフェイス部7およびCPU部8のそれぞれの内部に分周回路を備え、高速クロック生成手段23で生成された高速クロック信号を必要な周波数のクロック信号に分周できるため、高周波部6、インターフェイス部7およびCPU部8のそれぞれが高速クロック生成手段23を備える必要がなく、コストの低減と、無線受信装置の小型化を図ることができる。   Further, since the high-frequency unit 6, the interface unit 7 and the CPU unit 8 are each provided with a frequency dividing circuit, the high-speed clock signal generated by the high-speed clock generation means 23 can be divided into a clock signal having a necessary frequency. Each of the unit 6, the interface unit 7, and the CPU unit 8 does not need to include the high-speed clock generation unit 23, and cost reduction and downsizing of the wireless reception device can be achieved.

なお、先の実施の形態1から3において、復調手段9は、制御手段16から受信開始の信号を受信すると、キャリアセンスを行い、キャリアがあれば復調を開始するとして説明したが、キャリアの有無にかかわらず、絶えず復調を行う方法も考えられる。   In the first to third embodiments, it has been described that the demodulation unit 9 performs carrier sense when receiving a reception start signal from the control unit 16 and starts demodulation if there is a carrier. Regardless of the method, a method of constantly demodulating is also conceivable.

なお、先の実施の形態1から3において、CPU部8における制御手段16は、フレーム一致検出手段13から出力されるフレーム一致検出信号を受信することにより、受信開始を始めるとして説明したが、ビット同期1を検出した時点、すなわち、サンプリングクロック生成手段10がサンプリングクロックを出力した時点で、制御手段16にビット同期1検出信号を出力することにより、制御手段16が受信開始を始めるとすることもできる。   In the first to third embodiments, the control unit 16 in the CPU unit 8 has been described as starting reception by receiving the frame match detection signal output from the frame match detection unit 13. When the synchronization 1 is detected, that is, when the sampling clock generation means 10 outputs the sampling clock, the control means 16 may start reception by outputting a bit synchronization 1 detection signal to the control means 16. it can.

また、フレーム一致検出信号を出力せず、転送終了信号の受信により、制御手段16が受信開始を始めるとすることもできる。   Alternatively, the control means 16 may start reception by receiving the transfer end signal without outputting the frame match detection signal.

なお、先の実施の形態1から3において、フレームコードレジスタ11は一つとして説明したが、複数個備える構成にすることも考えられる。複数のフレームコードレジスタ11を備えることにより、例えば、図3に示すような電文フォーマットにおいて、フレーム同期1とフレーム同期2のフレームパターンが異なる場合、ビット同期後には、フレーム同期1とフレーム同期2のどちらを受信するべきかの判断ができないため、両方を同時に待ち受ける必要があるが、このような場合でも対応できる(ビット同期1およびビット同期2は、1010・・のため、サンプリングクロック生成手段10はビット同期信号1およびビット同期信号2のどちらの信号でもサンプリングクロックを生成することができる)。   In the first to third embodiments, the frame code register 11 has been described as one. However, a configuration having a plurality of frame code registers 11 is also conceivable. By providing a plurality of frame code registers 11, for example, in the message format as shown in FIG. 3, when the frame patterns of frame synchronization 1 and frame synchronization 2 are different, after bit synchronization, the frame synchronization 1 and frame synchronization 2 Since it is impossible to determine which one should be received, it is necessary to wait for both at the same time. However, even in such a case, since the bit synchronization 1 and the bit synchronization 2 are 1010. The sampling clock can be generated by either the bit synchronization signal 1 or the bit synchronization signal 2).

したがって、フレーム一致検出手段13は、フレーム同期2を検出した際にもフレーム一致検出信号を出力することにより、制御手段16が無線電文におけるヘッダー部のビット同期2およびフレーム同期2を常時監視する必要がないため、制御手段16の負荷を軽減することができ、その分他の処理を行うことができる。特に、間欠受信動作を行っているため繰り返しヘッダー部が長い場合に有効である。また、ソフトウェアによるヘッダー検出処理を簡素化することもできるため、ソフトウェアの開発期間を短縮することができる。さらに、復調手段9がビット同期2から受信を開始した場合でもフレーム同期2を検出した際にフレーム一致検出信号を出力するため通信の成功率の向上を図ることができる。   Therefore, the frame coincidence detection means 13 needs to constantly monitor the bit synchronization 2 and the frame synchronization 2 of the header part in the radio message by outputting the frame coincidence detection signal even when the frame synchronization 2 is detected. Therefore, the load on the control means 16 can be reduced, and other processing can be performed accordingly. In particular, since the intermittent reception operation is performed, it is effective when the repeated header portion is long. In addition, since the header detection process by software can be simplified, the software development period can be shortened. Further, even when the demodulator 9 starts receiving from the bit synchronization 2, the frame match detection signal is output when the frame synchronization 2 is detected, so that the success rate of communication can be improved.

なお、先の実施の形態1から3において、フレーム一致検出手段13がフレーム一致検出信号を出力する条件として、フレーム同期シフトレジスタ12とフレームコードレジスタ11のデータの一部が不一致の場合でもフレーム一致検出信号を出力するようにすることもでき、この不一致のビット数を制御手段16からフレーム一致検出手段13に設定することもできる。   In the first to third embodiments, as a condition for the frame coincidence detection means 13 to output the frame coincidence detection signal, the frame coincidence even when a part of the data in the frame synchronization shift register 12 and the frame code register 11 does not coincide. It is also possible to output a detection signal, and the number of mismatched bits can be set from the control means 16 to the frame match detection means 13.

このように構成することにより、ノイズ等の影響によりフレーム同期1またはフレーム同期2の数ビットに誤り発生した場合においても、受信を中断することなく最後まで無線電文を受信することができる(不一致のビット数を減らせば、他システムの電文を受信する確率が低くなり、消費電力を低減できる。また、他システム電文を誤って受信している間に自ステムの無線電文が送信されたため通信に失敗することがなくなる)。つまり、使用するアプリケーションや電波環境を考慮した最適な無線受信装置を構成することができる。   With this configuration, even if an error occurs in several bits of frame synchronization 1 or frame synchronization 2 due to the influence of noise or the like, it is possible to receive a wireless message to the end without interrupting reception (disagreement) Reducing the number of bits reduces the probability of receiving a message from another system, reducing power consumption, and failed to communicate because the local system's wireless message was sent while another system message was received in error. No more). That is, it is possible to configure an optimal wireless reception device in consideration of the application to be used and the radio wave environment.

なお、先の実施の形態1から3において、フレームコードレジスタ11にはあらかじめ決められたフレームパターンが書き込まれているとして説明したが、制御手段16からフレームコードレジスタ11に記憶されたフレームパターンを書き換えるようにすることもできる。例えば、無線受信装置は不揮発性メモリを備え、制御手段16は電源がOFFからON時に、不揮発性メモリからフレームコードレジスタ11に記憶するフレームパターンを読み出して、フレームコードレジスタ11に記憶させる場合は、不揮発性メモリの値を書き換えるようにする方法も考えられる。   In the first to third embodiments, it has been described that a predetermined frame pattern is written in the frame code register 11, but the frame pattern stored in the frame code register 11 is rewritten from the control means 16. It can also be done. For example, when the wireless receiver includes a nonvolatile memory and the control unit 16 reads a frame pattern stored in the frame code register 11 from the nonvolatile memory and stores the frame pattern in the frame code register 11 when the power is turned off to ON, A method of rewriting the value of the nonvolatile memory is also conceivable.

以上のように、制御手段16がフレームコードレジスタ11に記憶されているフレーム同期部のフレームパターンを書きかえることができるため、フレーム同期部のパターンが異なるシステムにも容易に適用することができ、汎用性に優れた無線受信装置を提供することができる。   As described above, since the control unit 16 can rewrite the frame pattern of the frame synchronization unit stored in the frame code register 11, it can be easily applied to systems having different frame synchronization unit patterns. A wireless receiver with excellent versatility can be provided.

なお、先の実施の形態1から3において、フレーム同期一致検出信号または転送終了信号は、1パルスの信号であるとすることにより、制御手段16は、この1パルスの信号だけを監視すればよいため、制御手段16の負荷かが軽くなり、その分他の処理を行うことができる。また、ソフトウェアによるヘッダー検出処理を簡素化することができるため、ソフトウェアの開発期間を短縮することができる。   In the first to third embodiments, assuming that the frame synchronization coincidence detection signal or the transfer end signal is a one-pulse signal, the control means 16 only needs to monitor this one-pulse signal. Therefore, the load on the control means 16 is reduced, and other processing can be performed accordingly. In addition, since the header detection process by software can be simplified, the software development period can be shortened.

なお、先の実施の形態1から3において、フレーム同期一致検出信号または転送終了信号は、HからLまたはLからHに切りかわる信号であるとすることにより、制御手段16は、この1パルスの信号だけを監視すればいいため、制御手段16の負荷かが軽くなり、その分他の処理を行うことができる。また、ソフトウェアによるヘッダー検出処理を簡素化することができるため、ソフトウェアの開発期間を短縮することができる。   In the first to third embodiments, the frame synchronization coincidence detection signal or the transfer end signal is a signal that switches from H to L or from L to H. Since only the signal needs to be monitored, the load on the control means 16 is reduced, and other processing can be performed accordingly. In addition, since the header detection process by software can be simplified, the software development period can be shortened.

なお、先の実施の形態1から3において、CPU部8は、設定機やパソコンなどと通信を行うための外部通信手段(図示せず)を備え、設定機やパソコンなどから制御手段16を介して、フレームコードレジスタ11に記憶するフレームパターンや、フレーム一致検出手段13がフレーム一致検出信号を出力するための条件である不一致のビット数、転送手段17に設定する転送バイト数を設定できるようにすることもできる。   In the first to third embodiments, the CPU unit 8 includes an external communication means (not shown) for communicating with a setting machine, a personal computer, etc. Thus, the frame pattern stored in the frame code register 11, the number of unmatched bits, which is a condition for the frame match detection means 13 to output a frame match detection signal, and the number of transfer bytes set in the transfer means 17 can be set. You can also

なお、先の実施の形態1から3において、エアコン21は、防犯センサー、赤外線センサー、ガラス破壊センサー、マグネットセンサー、ショックセンサー、炎センサー、人体検知センサー、ガス漏れセンサー、超音波センサー、重量センサーなどのセキュリティ機器の場合でも同様に実施することができる。   In the first to third embodiments, the air conditioner 21 includes a security sensor, an infrared sensor, a glass breakage sensor, a magnet sensor, a shock sensor, a flame sensor, a human body detection sensor, a gas leak sensor, an ultrasonic sensor, a weight sensor, and the like. This can also be implemented in the case of other security devices.

なお、先の実施の形態1から3において、各手段を1チップIC上で構成することも可能である。この場合は、各手段を制御するのに信号を送受信する方法の他に、レジスタに値を設定する方法も考えられる。   In the first to third embodiments, each means can be configured on a one-chip IC. In this case, in addition to the method of transmitting and receiving signals to control each means, a method of setting a value in the register is also conceivable.

なお、先の実施の形態1から3において、CPU部、インターフェース部、高周波部の機能の少なくとも一部をコンピュータのプログラムで実行させることも可能である。これによって、簡単なハードウェアで無線通信装置の機能を実現することができるものである。   In the first to third embodiments, at least some of the functions of the CPU unit, the interface unit, and the high-frequency unit can be executed by a computer program. Thus, the function of the wireless communication device can be realized with simple hardware.

以上のように、本発明にかかる無線受信装置およびプログラムは、インターフェイス部がフレーム同期部の一致検出を行うため、制御手段が無線電文におけるヘッダー部のビット同期部およびフレーム同期部を常時監視する必要がなくなり、制御手段の負荷を軽減することができ、その分他の処理を行うことができる。   As described above, in the radio reception apparatus and program according to the present invention, the interface unit detects the coincidence of the frame synchronization unit, so the control unit needs to constantly monitor the bit synchronization unit and the frame synchronization unit of the header unit in the radio message. The load on the control means can be reduced, and other processes can be performed accordingly.

また、ソフトウェアによるヘッダー検出処理を簡素化することができるため、ソフトウェアの開発期間を短縮することができるため、家庭におけるホームネットワーク、特に電池動作が必要なセキュリティ装置や同様に電池動作が必要な自動検針などの流量計測装置など、CPUの処理速度が早くない、もしくは消費電力の面から早くすることができないデータ通信を行う無線受信装置として有用である。   In addition, since the header detection process by software can be simplified, the development period of software can be shortened, so home networks in the home, especially security devices that require battery operation and automatic operations that require battery operation as well. It is useful as a wireless reception device that performs data communication such as a flow rate measuring device such as a meter reading, which does not have a high processing speed of the CPU or cannot be accelerated from the viewpoint of power consumption.

本発明の実施の形態1における無線受信装置のブロック図Block diagram of radio receiving apparatus according to Embodiment 1 of the present invention 本発明の実施の形態1における無線受信装置のシステム構成図1 is a system configuration diagram of a radio reception apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1における無線受信装置の電文説明図Telegram explanation diagram of radio receiving apparatus according to Embodiment 1 of the present invention 本発明の実施の形態1における無線受信装置のフローチャートFlowchart of radio receiving apparatus according to Embodiment 1 of the present invention 本発明の実施の形態2における無線受信装置のブロック図Block diagram of radio receiving apparatus according to Embodiment 2 of the present invention 本発明の実施の形態3における無線受信装置のブロック図Block diagram of radio receiving apparatus according to Embodiment 3 of the present invention 従来の無線受信装置のブロック図Block diagram of a conventional wireless receiver

符号の説明Explanation of symbols

6 高周波部
7 インターフェース部
8 CPU部
9 復調手段
10 サンプリングクロック生成手段
11 フレームコードレジスタ
12 フレーム同期シフトレジスタ
13、13A フレーム一致検出手段
14 受信バッファ
15 RAM
16 制御手段
17、17A 転送手段
22 低速クロック生成手段
23 高速クロック生成手段
6 High Frequency Unit 7 Interface Unit 8 CPU Unit 9 Demodulation Unit 10 Sampling Clock Generation Unit 11 Frame Code Register 12 Frame Synchronization Shift Register 13, 13A Frame Match Detection Unit 14 Reception Buffer 15 RAM
16 Control means 17, 17A Transfer means 22 Low speed clock generation means 23 High speed clock generation means

Claims (5)

高周波信号を復調する高周波部と、前記高周波部で復調された信号内容の解析を行うCPU部と、前記高周波部と前記CPU部の間に設けられたインターフェイス部とから構成され、ビット同期部、フレーム同期部およびデータ部から構成される無線電文を受信する無線受信装置において、
前記高周波部は、受信した無線電文を復調する復調手段と、前記復調手段で復調したビット同期部からサンプリングクロックを生成し、前記インターフェイス部にサンプリングクロックを供給するサンプリングクロック生成手段とを備え、
前記インターフェイス部は、フレーム同期部のフレームパターンを記憶するフレームコードレジスタと、前記復調手段で復調されたフレーム同期部を前記サンプリングクロック生成手段から出力されたサンプリングクロックに同期して順次記憶するフレーム同期シフトレジスタと、前記フレームコードレジスタと前記フレーム同期シフトレジスタに記憶されたデータとが一致した場合に前記CPU部に対してフレーム一致検出信号を出力するフレーム一致検出手段と、サンプリングクロックに同期してデータ部を記憶する受信バッファとを備え、
前記CPU部は、データ部を記憶するRAMと、前記フレーム一致検出信号を受信することにより前記受信バッファから前記RAMへのデータ部の転送回数の設定および前記RAMに記憶されたデータ部の内容を解析する制御手段と、前記制御手段から指定された回数だけデータ部を前記RAMに転送し、転送終了後に前記制御手段に対して転送終了信号を出力する転送手段とを備え、
無線電文の受信の際は、ビット同期部の検出、フレーム同期部の検出および前記RAMへのデータ部の転送を前記CPU部における前記制御手段の制御から切り離した無線受信装置。
A high-frequency unit that demodulates a high-frequency signal, a CPU unit that analyzes a signal content demodulated by the high-frequency unit, and an interface unit provided between the high-frequency unit and the CPU unit, a bit synchronization unit, In a wireless receiver that receives a wireless telegram composed of a frame synchronization unit and a data unit,
The high-frequency unit includes a demodulating unit that demodulates a received radio telegram, a sampling clock generating unit that generates a sampling clock from the bit synchronization unit demodulated by the demodulating unit and supplies the sampling clock to the interface unit,
The interface unit includes a frame code register that stores a frame pattern of a frame synchronization unit, and a frame synchronization unit that sequentially stores the frame synchronization unit demodulated by the demodulation unit in synchronization with the sampling clock output from the sampling clock generation unit A shift register, a frame match detection means for outputting a frame match detection signal to the CPU section when the data stored in the frame code register and the frame synchronization shift register match, and a synchronization with a sampling clock A reception buffer for storing the data portion,
The CPU unit stores a RAM that stores a data unit, and sets the number of transfers of the data unit from the reception buffer to the RAM by receiving the frame match detection signal and the contents of the data unit stored in the RAM. A control means for analyzing, and a transfer means for transferring the data portion to the RAM a number of times designated by the control means, and outputting a transfer end signal to the control means after the transfer is completed,
A radio receiving apparatus that, when receiving a radio telegram, separates the detection of the bit synchronization unit, the detection of the frame synchronization unit, and the transfer of the data unit to the RAM from the control of the control means in the CPU unit.
データ部に、受信すべき無線電文を区別するための識別符号部が挿入された無線電文を受信する無線受信装置において、フレーム一致検出手段がフレーム一致検出信号を出力した後に、転送手段がRAMに記憶された識別符号をフレームコードレジスタに転送し、前記フレーム一致検出手段は、前記識別符号が記憶されたフレームコードレジスタとフレーム同期シフトレジスタのデータが一致した場合に、識別符号一致信号をCPU部に対して出力し、前記CPU部は、前記識別符号一致信号を受信することにより、識別符号に続くデータ部を受信するため、前記転送手段に転送する転送回数を設定し、転送動作を開始するとした請求項1に記載の無線受信装置。 In a radio reception apparatus that receives a radio telegram in which an identification code unit for identifying a radio telegram to be received is inserted in the data part, after the frame coincidence detection unit outputs a frame coincidence detection signal, the transfer unit is stored in the RAM. The stored identification code is transferred to a frame code register, and the frame coincidence detecting means sends an identification code coincidence signal to the CPU section when the frame code register in which the identification code is stored and the data in the frame synchronization shift register coincide with each other. When the CPU unit receives the identification code match signal and receives the data unit following the identification code, the CPU unit sets the number of transfers to be transferred to the transfer unit and starts the transfer operation. The wireless receiver according to claim 1. フレームコードレジスタとCPU部へは共通の電源を供給し、インターフェイス部へは別の電源を供給し、前記インターフェイス部に供給する電源を制御手段が遮断したとしても前記フレームコードレジスタに記憶されたフレームパターンは保持されるとした請求項1または2のいずれか1項に記載の無線受信装置。 A common power source is supplied to the frame code register and the CPU unit, another power source is supplied to the interface unit, and the frame stored in the frame code register is supplied even if the control unit shuts off the power source supplied to the interface unit. The radio reception apparatus according to claim 1, wherein the pattern is held. CPU部が、低消費電力動作を行うために必要な低速クロック信号を生成する低速クロック生成手段と、CPU部がRAMに記憶されたデータ部の解析を行う通常動作に必要な高速クロック信号を生成する高速クロック生成手段とを備え、
前記高速クロック生成手段で生成された高速クロック信号が、高周波部およびインターフェイス部に供給され、制御手段が低消費電力動作から通常動作に移行する際は、既に前記高速クロック生成手段にて高速クロック信号が生成されているいため、高速クロック信号の発振安定時間を設ける必要がない構成とした請求項1から3のいずれか1項に記載の無線受信装置。
The CPU unit generates a low-speed clock signal for generating a low-speed clock signal necessary for performing a low power consumption operation, and the CPU unit generates a high-speed clock signal necessary for a normal operation for analyzing the data unit stored in the RAM. High-speed clock generation means
When the high-speed clock signal generated by the high-speed clock generation unit is supplied to the high-frequency unit and the interface unit and the control unit shifts from the low power consumption operation to the normal operation, the high-speed clock signal is already generated by the high-speed clock generation unit. The radio reception apparatus according to any one of claims 1 to 3, wherein an oscillation stabilization time of a high-speed clock signal is not required because of the generation of a high-speed clock signal.
請求項1〜4のいずれか1項に記載の無線受信装置の機能の少なくとも一部をコンピュータに実行させるためのプログラム。 The program for making a computer perform at least one part of the function of the radio | wireless receiving apparatus of any one of Claims 1-4.
JP2005048364A 2005-02-24 2005-02-24 Radio receiving device and program Pending JP2006237931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005048364A JP2006237931A (en) 2005-02-24 2005-02-24 Radio receiving device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005048364A JP2006237931A (en) 2005-02-24 2005-02-24 Radio receiving device and program

Publications (1)

Publication Number Publication Date
JP2006237931A true JP2006237931A (en) 2006-09-07

Family

ID=37045115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005048364A Pending JP2006237931A (en) 2005-02-24 2005-02-24 Radio receiving device and program

Country Status (1)

Country Link
JP (1) JP2006237931A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011104603A1 (en) * 2010-02-23 2011-09-01 パナソニック電工株式会社 Wireless transmitter/receiver, wireless communication device, and wireless communication system
JP2011259029A (en) * 2010-06-04 2011-12-22 Panasonic Electric Works Co Ltd Radio communication device
CN112698366A (en) * 2020-11-26 2021-04-23 成都国星通信有限公司 Frame synchronization method for satellite positioning receiver

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011104603A1 (en) * 2010-02-23 2011-09-01 パナソニック電工株式会社 Wireless transmitter/receiver, wireless communication device, and wireless communication system
CN102771166A (en) * 2010-02-23 2012-11-07 松下电器产业株式会社 Wireless transmitter/receiver, wireless communication device, and wireless communication system
US9014240B2 (en) 2010-02-23 2015-04-21 Panasonic Intellectual Property Management Co., Ltd. Wireless transmitter/receiver, wireless communication device, and wireless communication system
CN102771166B (en) * 2010-02-23 2015-07-08 松下电器产业株式会社 Wireless transmitter/receiver, wireless communication device, and wireless communication system
EP2541994A4 (en) * 2010-02-23 2015-11-25 Panasonic Ip Man Co Ltd Wireless transmitter/receiver, wireless communication device, and wireless communication system
JP2011259029A (en) * 2010-06-04 2011-12-22 Panasonic Electric Works Co Ltd Radio communication device
CN112698366A (en) * 2020-11-26 2021-04-23 成都国星通信有限公司 Frame synchronization method for satellite positioning receiver
CN112698366B (en) * 2020-11-26 2024-01-26 成都国星通信有限公司 Frame synchronization method for satellite positioning receiver

Similar Documents

Publication Publication Date Title
JP4680356B2 (en) Receiver and transmitter for remote control of automotive components
JP4618882B2 (en) Information processing system
JP5767462B2 (en) COMMUNICATION MODE DETECTION METHOD BY RECEIVING DEVICE FOR NEAR RANGE COMMUNICATION
TWI606332B (en) Debug control system and method thereof
JP2007013577A (en) Communication apparatus, and communicating method and program
JP2006237931A (en) Radio receiving device and program
JPH11505394A (en) Method and apparatus for saving power in a portable battery powered radio
JP4966379B2 (en) Wireless communication system
JP2005117463A (en) Radio communication system and method of reducing power consumption
US9094911B2 (en) Data communication system, method of optimizing preamble length, and communication apparatus
JP4626256B2 (en) Receiving apparatus and program
JP4977943B2 (en) Communications system
JP5283133B2 (en) Information processing system, game system, information processing program, and information processing method
JP2005128888A (en) Command processor and method for controlling command processor
CN114070341B (en) Tire pressure detection signal receiving circuit, system and method
JP4639597B2 (en) Wireless communication apparatus and program
JP7338777B1 (en) Wireless communication device and remote control system
WO2010084609A1 (en) Data read/write device for active tag device, active tag device and system
JP2848229B2 (en) Receiver circuit
JP4804162B2 (en) Transponder device and transmission information amount expansion method
JP2003296021A (en) Method of wireless data transmission in wireless mouse, and wireless mouse
KR20080068339A (en) Infrared receiving error detecting method of cell phone
JP2003234695A5 (en)
JP3826552B2 (en) Wireless keyboard device
US20040021642A1 (en) Wireless digital tablet with multiple transmission modes