JP3605530B2 - FSK demodulation method and apparatus - Google Patents
FSK demodulation method and apparatus Download PDFInfo
- Publication number
- JP3605530B2 JP3605530B2 JP21361899A JP21361899A JP3605530B2 JP 3605530 B2 JP3605530 B2 JP 3605530B2 JP 21361899 A JP21361899 A JP 21361899A JP 21361899 A JP21361899 A JP 21361899A JP 3605530 B2 JP3605530 B2 JP 3605530B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- input data
- mark
- space
- fsk
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 19
- 238000007906 compression Methods 0.000 claims description 32
- 230000006835 compression Effects 0.000 claims description 25
- 238000001514 detection method Methods 0.000 claims description 6
- 238000003672 processing method Methods 0.000 claims description 4
- 230000003321 amplification Effects 0.000 description 7
- 238000003199 nucleic acid amplification method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000000284 extract Substances 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Images
Landscapes
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、FSK変調信号をデジタル処理により復調する技術に関するものである。
【0002】
【従来の技術】
FSK変調方式は、無線通信に例をとると、デジタル情報により無線搬送波を周波数変調する方式であり、送信機からは周波数F0−fpのマーク信号成分と、周波数F0+fpのスペース信号成分とを含む変調信号が送信され、受信機では、帯域通過フィルタを用いてマーク信号とスペース信号とに分離して、2値のデジタル情報を復調している。
以下に、受信機に用いられる従来のFSK復調装置の一例を図6に基づいて説明する。
【0003】
図6において、
102は受信されたFSK変調信号からマーク信号を抽出するマーク信号用帯域通過フィルタ、103は抽出されたマーク信号を検波するマーク信号用検波器、104は受信されたFSK変調信号からスペース信号を抽出するスペース信号用帯域通過フィルタ、105は抽出されたスペース信号を検波するスペース信号用検波器、106は検波されたマーク信号に、検波されたスペース信号の符号を反転させて合成する逆極性合成器、107はマーク信号とスペース信号とが合成された信号を所定のしきい値と比較して、マーク信号とスペース信号との遷移に応じた2値のデジタル信号を出力するコンパレータである。
このようにして、FSK変調信号に含まれるマーク信号成分とスペース信号成分に応じた2値のデジタル信号が復調されるのである。
【0004】
【発明が解決しようとする課題】
しかし、上述したような従来のFSK復調装置では、受信したFSK変調信号のマーク信号成分とスペース信号成分との間に、大きな信号レベルの差がある場合、コンパレータのしきい値の設定が困難となり、復調されたデジタル情報に誤りを起こしやすいという問題があった。
つまり、信号レベルの低い方に合わせてしきい値を設定するとノイズ成分の影響によってデジタル情報の復調の安定性が悪くなり、しきい値を少し上げると信号レベルの低い方への状態遷移が正しく行われない不具合が発生するのである。
【0005】
そこで、本発明は、FSK復調処理において、FSK変調信号に含まれるマーク信号成分とスペース信号成分との間に信号レベル差がある場合に生じる不具合を解消できるFSK復調処理技術を提供することを目的としてなされたものである。
【0006】
【課題を解決するための手段】
本発明の請求項1のFSK復調方法では、入力されたFSK変調信号のマーク信号成分とスペース信号成分とを抽出し、前記抽出されたマーク信号とスペース信号とを検波し、前記検波されたマーク信号とスペース信号とを逆極性で合成し、前記合成された信号を所定のしきい値と比較して2値のデジタル情報として復調して出力するFSK復調方法において、入力されたFSK変調信号のマーク信号成分とスペース信号成分とを抽出する前に、入力されたFSK変調信号のマーク信号成分の信号レベルとスペース信号成分の信号レベルとを同一レベルに調整するコンプレッション処理を行い、
前記コンプレッション処理は、入力された最新のデジタル入力データを含むそれ以前のデジタル入力データの絶対値を、予め設定されたサンプル数分だけ常時更新しつつ蓄積しておき、最新のデジタル入力データが入力される毎に、前記蓄積されている所定サンプル数のデジタル入力データの内の最大値を検出し、その最大値で前記最新のデジタル入力データあるいは所定サンプル数だけ以前のデジタル入力データを除算して出力するコンプレッション処理方法とした。
【0008】
請求項2のFSK復調装置では、入力されたFSK変調信号のマーク信号成分を抽出するマーク信号用帯域通過フィルタと、前記FSK変調信号のスペース信号成分を抽出するスペース信号用帯域通過フィルタと、前記抽出されたマーク信号を検波するマーク信号用検波器と、前記抽出されたスペース信号を検波するスペース信号用検波器と、前記検波されたマーク信号とスペース信号とを逆極性で合成する合成器と、前記合成された信号を所定のしきい値と比較して2値のデジタル情報として復調して出力するコンパレータと、を備えたFSK復調装置において、前記マーク信号用帯域通過フィルタとスペース信号用帯域通過フィルタの前段に、入力されたFSK変調信号のマーク信号成分の信号レベルとスペース信号成分の信号レベルとを同一レベルに調整するコンプレッション処理装置を備え、
前記コンプレッション処理装置は、入力された最新のデジタル入力データを含むそれ以前のデジタル入力データの絶対値を、予め設定されたサンプル数分だけ常時更新しつつ蓄積する蓄積手段と、蓄積されているデジタル入力データの絶対値の内の最大値を検出する検出手段と、入力された最新のデジタル入力データあるいは所定サンプル数だけ以前のデジタル入力データを前記最大値で除算して出力する演算手段と、を備えたコンプレッション処理装置とした。
【0010】
【発明の実施の形態】
以下に、本発明にかかるFSK復調方法及び装置を、その実施の形態を示した図面に基づいて詳細に説明する。
図1は、本発明のFSK復調方法に用いるFSK復調装置の一実施形態を示すブロック図である。
【0011】
図1において、
1は入力されたFSK変調信号の振幅を後述するコンプレッション処理方法によって処理するコンプレッション処理装置、2はコンプレッション処理された信号からマーク信号を抽出するマーク信号用帯域通過フィルタ、3は抽出されたマーク信号を検波するマーク信号用検波器、4はコンプレッション処理された信号からスペース信号を抽出するスペース信号用帯域通過フィルタ、5は抽出されたスペース信号を検波するスペース信号用検波器、6は検波されたマーク信号に、検波されたスペース信号の符号を反転させて合成する逆極性合成器、7はマーク信号とスペース信号とが合成された信号を所定のしきい値と比較して、マーク信号とスペース信号との遷移に応じてデジタル値が遷移するデジタル信号を出力するコンパレータである。
【0012】
図2は、前記コンプレッション処理装置1の一実施形態を示すブロック図である。図2において、11は入力端より入力されるデジタル入力データの各サンプルの絶対値を得る絶対値出力手段であり、12は前記絶対値出力手段11より出力されるデジタル入力データの絶対値を、サイズ設定手段14によって予め設定されたサンプル数分だけ蓄積するシフトバッファ手段である。このシフトバッファ手段12では、図3に示したように最新のデータが入力されると、それまで蓄積されていた内の最古のデータが消去されるため、新しいデータから順に予め設定されたサンプル数分だけ常時更新されて蓄積される。なお、絶対値出力手段11およびシフトバッファ手段12により請求項2における蓄積手段が構成される。
【0013】
13は最新のデータがシフトバッファ手段12に入力される毎に、図3に示したようにシフトバッファ手段12内に蓄積されているデータの最大値を検出する検出手段である。
15は検出手段において検出された最大値と基準値設定手段16において予め設定される基準値とを比較し、大きい方を出力する比較手段である。
17は入力端より入力されている最新のデジタル入力データを、前記比較手段15から出力される値で除算(逆数の乗算でもよい。)して出力する演算手段である。
以上の構成例により、入力端より最新のデジタル入力データが入力されると、絶対値出力手段11からはその絶対値データが出力され、シフトバッファ手段12に入力される。ここで、入力端より入力されるデジタル入力データは、−1〜+1の範囲に正規化されたデジタルデータであり、シフトバッファ手段12にはその絶対値である0〜+1の範囲のデジタルデータが蓄積される。
【0014】
シフトバッファ手段12においては、蓄積データの更新がなされ、最新のデータを含むそれ以前のデータが、新しい順に予め設定されたサンプル数分だけ蓄積されることになる。検出手段13は、更新されたシフトバッファ手段12に蓄積されているデータの最大値を検出することにより、入力信号における所定区間のピークを検出する。検出された最大値は、比較手段15によって基準値と比較され、大きい方の値が演算手段17における除数として出力される。演算手段17は、入力端より入力されている最新のデジタル入力データを、比較手段15より出力された値で除算することにより、入力信号における所定区間のピークが飽和しない最大レベルである1となるような増幅率で、最新のデジタル入力データを増幅して出力することになる。
【0015】
さらに入力端より次のデジタル入力データが入力されると、上述と同様の処理が繰り返されることになる。すなわち、個々のデジタル入力データが入力される毎に、データ1個分づつシフトされた入力信号の区間のピークが検出され、それに基づいて当該入力データの増幅率を決定し、それぞれを順次増幅して出力していくことによって入力信号にコンプレッション処理が施されるのである。
ここで、前述の比較手段15における基準値との比較は、無信号時等において演算手段17における増幅率が大きくなりすぎるのを防止するために行われるものであり、基準値設定手段16による基準値の設定によって最大増幅率を規定することができる。
また、サイズ設定手段14によりシフトバッファ手段12の蓄積サンプル数を変更することにより、好みのコンプレッション特性を設定することができる。すなわち、平均電力をより上げるためには、蓄積サンプル数を少なくすればよく、信号波形の変形を極力少なくするためには、蓄積サンプル数を多くすればよい。ただし、これらはトレードオフの関係となるため、それぞれを考慮した設定が必要になる。
【0016】
なお、上記構成にあっては、演算手段17は、入力端より入力されたばかりの最新のデジタル入力データを比較手段15より出力される除数で除算して出力するように構成されているが、入力端と演算手段17との間に遅延手段を設け、最新のデジタル入力データより所定サンプル数だけ以前のデジタル入力データを当該除数で除算して出力することもできる。それにより、最大値を検出する区間内の何れかの位置に対応するデジタル入力データを、その時の演算対象とすることもできる。
以上より、個々のデジタル入力データ毎に、データ1個分づつシフトさせたそれぞれ異なる区間のピークを検出し、そのピークが飽和しない最大レベルとなるように除数が決定されるため、除数は概ね段階的に変化し、区間の境目において大きく変化することはない。
【0017】
以上の構成によれば、入力されるFSK変調信号は、マーク信号とスペース信号とに分離される前に、コンプレッション処理装置1によって、マーク信号成分の振幅とスペース信号成分の振幅とが最大振幅レベルまで増幅されるので、前記コンパレータ7におけるしきい値の設定が容易になる。従って、入力されるFSK変調信号のマーク信号成分とスペース信号成分とに大きな振幅の差があっても、安定したFSK復調が可能となるのである。
【0018】
なお、前記FSK復調処理を、ソフトウェアにより実現する場合の具体例を、図4、図5のフローチャートに基づいて説明する。
図4において、
ステップS1において、入力されたFSK変調信号のマーク信号成分の信号レベルとスペース信号成分の信号レベルとを同一レベルに調整するコンプレッション処理を行う。
ステップS2において、入力されたFSK変調信号のマーク信号成分とスペース信号成分とを抽出する。
ステップS3おいて、前記抽出されたマーク信号とスペース信号とを検波する。
ステップS4おいて、前記検波されたマーク信号とスペース信号とを逆極性で合成する。
ステップS5おいて、前記合成された信号を所定のしきい値と比較して2値のデジタル情報として復調して出力する。
【0019】
図5において、ステップS1におけるコンプレッション処理の具体例を説明する。
図5のフローチャートにおいて、
NEW _DATAは入力されたFSK変調信号の最新のデジタル入力データを表す変数を示し、N は予め設定されたシフトバッファのバッファサイズを示し、PEAK_BUFF[J] はシフトバッファのJ番目に蓄積されたデータを表す変数を示し、このシフトバッファのサイズはNであり、Jの変域は0〜N−1である。
ABS _INはNEW _DATAの絶対値を表す変数を示し、PEAKは最大値を求めるための変数を示し、SET _VALUE は予め設定された最大増幅率を規定するための基準値( >0)を示し、MAX(X,Y)は変数X,Yの大きい方を求める演算処理を表す関数を示している。
COMP_OUT はコンプレッション処理の出力値を表す変数を示している。
【0020】
そして、ステップS11では、入力された最新のデジタル入力データ(NEW _DATA)の絶対値をABS _INに代入し、シフトバッファの0番目のデータ(PEAK_BUFF[0] )を、PEAKに代入して、最新のデジタル入力データの絶対値をABS _INに得るとともにPEAKの初期値を設定する。
ステップS12では、シフトバッファの(J+1) 番目のデータ(PEAK_BUFF[J+1] )とPEAKとを比較して大きい方の値をPEAKに代入し、さらにシフトバッファの(J+1) 番目のデータ(PEAK_BUFF[J+1] )をJ番目(PEAK _BUFF[J])に代入する操作を、J=0 からJ=(N−2) まで繰り返し行う。これによって、最新のデジタル入力データを除いて、シフトバッファに蓄積されていたデータの最大値がPEAKに得られるとともに、シフトバッファに蓄積されていたデータがそれぞれシフトされ、0 番目に蓄積されていた最古のデータ(PEAK _BUFF[0])は図3に示したように破棄される。
【0021】
ステップS13では、最新のデジタル入力データの絶対値(ABS _IN)をシフトバッファの(N−1 ) 番目(PEAK _BUFF[N−1] )に代入することにより、シフトバッファのシフトを完了させ、当該ABS _INとPEAKとを比較して大きい方の値をPEAKに代入することにより、シフトが完了したシフトバッファに蓄積されているデータの最大値をPEAKに得る。そして、PEAKと基準値(SET_VALUE)とを比較して大きい方の値をさらにPEAKに代入することにより、信号増幅のための除数をPEAKに得る。
ステップS14では、最新のデジタル入力データ(NEW _DATA)をPEAKで除算した結果をコンプレッション処理の出力値を表すCOMP_OUT に代入し、当該データが次段の処理(図4におけるステップS2)に使用される。
以降、最新のデジタル入力データが入力される毎に以上の処理が繰り返されることにより、入力信号にコンプレッション処理が施される。
【0022】
なお、この場合においても、ステップS14では、最新のデジタル入力データ(NEW _DATA)を、最終的に得られた除数で除算して出力する構成としているが、上記シフトバッファを表す変数(PEAK_BUFF[J] )とは別に、NEW _DATAをそのまま蓄積しておく同様の変数を追加し、ステップS14において除算される対象を追加された変数の所定番目の位置のデータとすることもできる。それにより、最大値を検出する区間内の何れかの位置に対応するデジタル入力データを、その時の演算対象とすることもできる。
また、設定定数であるN およびSET _VALUE は、好みに応じて予め設定しておくことができる。
【0023】
本発明に用いる前記コンプレッション処理には以下の特徴がある。
(1)ディスクリート部品を用いたハードウエアによる処理だけではなく、図5に示したように、DSP等のソフトウェアによっても実現することができる。
(2)最大値検出処理は最新のデジタル入力データが入力される毎にリアルタイム処理されるので、デジタル入力データを遅延させることなくリアルタイムでコンプレッション処理して出力することができる。
(3)構造がシンプルになる。
入力信号の振幅( 絶対値) と基準値(>0)によって、除数を管理するブロックと、その除数で入力信号の瞬時値を除算するブロックとで要部が構成されているのでシンプルな構成となる。
また、最大値を検出するためのシフトバッファのバッファサイズNを調節することにより、所望のコンプレッション特性を容易に得ることができる。
また、上述した最大値で入力信号の瞬時値を除算するので、信号の増幅と振幅の抑制とが同時にできる。
以上のFSK復調処理において、その一部又は全ての処理を、ソフトエアによる処理と、ディスクリート部品を用いたハードウエアによる処理とを組みあわせて実現してもよい。
【0024】
【発明の効果】
本発明の請求項1のFSK復調方法によれば、入力されたFSK変調信号のマーク信号成分とスペース信号成分とを抽出する前に、入力されたFSK変調信号のマーク信号成分の信号レベルとスペース信号成分の信号レベルとを同一レベルに調整するコンプレッション処理を行うので、マーク信号成分とスペース信号成分との信号レベル差があっても、安定した復調処理が可能となった。
【0025】
さらに、前記コンプレッション処理は、入力された最新のデジタル入力データを含むそれ以前のデジタル入力データの絶対値を、予め設定されたサンプル数分だけ常時更新しつつ蓄積しておき、最新のデジタル入力データが入力される毎に、前記蓄積されている所定サンプル数のデジタル入力データの内の最大値を検出し、その最大値で前記最新のデジタル入力データあるいは所定サンプル数だけ以前のデジタル入力データを除算して出力するコンプレッション処理方法としたので、上記効果の得られるFSK復調方法をDSPを用いてソフトウエアで実現できるのでフレキシブルなシステムを実現することが容易になった。
【0026】
請求項2のFSK復調装置によれば、マーク信号用帯域通過フィルタとスペース信号用帯域通過フィルタの前段に、入力されたFSK変調信号のマーク信号成分の信号レベルとスペース信号成分の信号レベルとを同一レベルに調整するコンプレッション処理装置を備えたので、マーク信号成分とスペース信号成分との信号レベル差があっても、安定した復調処理が可能となった。
【0027】
さらに、前記コンプレッション処理装置は、入力された最新のデジタル入力データを含むそれ以前のデジタル入力データの絶対値を、予め設定されたサンプル数分だけ常時更新しつつ蓄積する蓄積手段と、蓄積されているデジタル入力データの絶対値の内の最大値を検出する検出手段と、入力された最新のデジタル入力データあるいは所定サンプル数だけ以前のデジタル入力データを前記最大値で除算して出力する演算手段と、を備えたコンプレッション処理装置としたので、上記構成の得られるFSK復調装置を構成することができる。
【図面の簡単な説明】
【図1】本発明のFSK復調装置の実施例のブロック図である。
【図2】前記FSK復調装置に用いるコンプレッション処理装置のブロック図である。
【図3】シフトバッファの説明図である。
【図4】本発明にかかるFSK復調方法の全体フローチャートである。
【図5】コンプレッション処理方法の詳細フローチャートである。
【図6】従来のFSK復調装置の一例のブロック図である。
【符号の説明】
1 コンプレッション処理装置
2 マーク信号用帯域通過フィルタ
3 マーク信号用検波器
4 スペース信号用帯域通過フィルタ
5 スペース信号用検波器
6 逆極性合成器( 合成器)
7 コンパレータ
11 絶対値出力手段(蓄積手段)
12 シフトバッファ手段(蓄積手段)
13 検出手段
14 サイズ設定手段
15 比較手段
16 基準値設定手段
17 演算手段[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for demodulating an FSK modulated signal by digital processing.
[0002]
[Prior art]
The FSK modulation method is a method of frequency-modulating a wireless carrier wave with digital information, taking radio communication as an example, and modulation including a mark signal component of frequency F0-fp and a space signal component of frequency F0 + fp from the transmitter. The signal is transmitted, and the receiver demodulates the binary digital information by separating it into a mark signal and a space signal using a band-pass filter.
An example of a conventional FSK demodulator used in the receiver will be described below with reference to FIG.
[0003]
In FIG.
102 is a mark signal band-pass filter that extracts a mark signal from the received FSK modulation signal, 103 is a mark signal detector that detects the extracted mark signal, and 104 is a space signal extracted from the received FSK modulation signal. A band-pass filter for space signal to be detected, 105 is a space signal detector for detecting the extracted space signal, and 106 is a reverse polarity synthesizer for inverting and synthesizing the detected mark signal with the sign of the detected space signal. 107 are comparators that compare a signal obtained by combining the mark signal and the space signal with a predetermined threshold value and output a binary digital signal corresponding to the transition between the mark signal and the space signal.
In this way, a binary digital signal corresponding to the mark signal component and the space signal component included in the FSK modulation signal is demodulated.
[0004]
[Problems to be solved by the invention]
However, in the conventional FSK demodulator as described above, it is difficult to set the threshold value of the comparator when there is a large signal level difference between the mark signal component and the space signal component of the received FSK modulation signal. There is a problem that the demodulated digital information easily causes an error.
In other words, if the threshold value is set according to the lower signal level, the stability of the demodulation of the digital information becomes worse due to the influence of the noise component. There is a problem that is not done.
[0005]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an FSK demodulation processing technique that can eliminate a problem that occurs when there is a signal level difference between a mark signal component and a space signal component included in an FSK modulated signal in the FSK demodulation processing. It was made as.
[0006]
[Means for Solving the Problems]
In the FSK demodulation method according to the first aspect of the present invention, the mark signal component and the space signal component of the input FSK modulation signal are extracted, the extracted mark signal and the space signal are detected, and the detected mark is detected. In an FSK demodulating method of combining a signal and a space signal with opposite polarities, demodulating the synthesized signal as binary digital information by comparing with a predetermined threshold value, before extracting the mark signal component and a space signal component, have rows compression processing for adjusting the signal level of the signal level and the space signal component of the mark signal components of the input FSK modulated signal in the same level,
In the compression process, the absolute value of the previous digital input data including the latest digital input data that has been input is constantly updated for the preset number of samples, and the latest digital input data is input. Each time, the maximum value of the accumulated digital input data of the predetermined number of samples is detected, and the latest digital input data or the previous digital input data is divided by the maximum number of the maximum value. The compression processing method to be output was used.
[0008]
In the FSK demodulator according to
The compression processing apparatus includes a storage unit that stores the absolute value of the previous digital input data including the latest digital input data that has been input while constantly updating the absolute value of the preset number of samples, and the stored digital Detecting means for detecting a maximum value of absolute values of input data; and calculating means for dividing the latest digital input data inputted or digital input data previous by a predetermined number of samples by the maximum value and outputting the result. The compression processing apparatus was provided.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
The FSK demodulating method and apparatus according to the present invention will be described below in detail based on the drawings showing the embodiments thereof.
FIG. 1 is a block diagram showing an embodiment of an FSK demodulator used in the FSK demodulation method of the present invention.
[0011]
In FIG.
1 is a compression processing device for processing the amplitude of an input FSK modulated signal by a compression processing method to be described later, 2 is a mark signal band pass filter for extracting a mark signal from the compression processed signal, and 3 is an extracted mark signal A mark signal detector for detecting a space signal, 4 a space signal band-pass filter for extracting a space signal from the compression-processed signal, 5 a space signal detector for detecting the extracted space signal, and 6 for a detected wave signal. A reverse polarity synthesizer that inverts and combines the sign of the detected space signal with the mark signal, and 7 compares the signal obtained by combining the mark signal and the space signal with a predetermined threshold value, and compares the mark signal with the space signal. It is a comparator that outputs a digital signal whose digital value changes according to the transition with the signal.
[0012]
FIG. 2 is a block diagram showing an embodiment of the
[0013]
Reference numeral 15 denotes comparison means for comparing the maximum value detected by the detection means with a reference value preset by the reference value setting means 16 and outputting the larger one.
Reference numeral 17 denotes arithmetic means for dividing and outputting the latest digital input data inputted from the input terminal by the value outputted from the comparison means 15 (may be multiplication of the reciprocal number).
With the above configuration example, when the latest digital input data is input from the input terminal, the absolute value data is output from the absolute value output means 11 and input to the shift buffer means 12. Here, the digital input data input from the input terminal is digital data normalized to the range of −1 to +1, and the digital data in the range of 0 to +1, which is the absolute value, is stored in the shift buffer means 12. Accumulated.
[0014]
In the shift buffer means 12, the accumulated data is updated, and the previous data including the latest data is accumulated by the preset number of samples in the new order. The
[0015]
When the next digital input data is further input from the input terminal, the same processing as described above is repeated. That is, each time individual digital input data is input, the peak of the input signal section shifted by one piece of data is detected, and based on this, the amplification factor of the input data is determined, and each is amplified sequentially. As a result, the input signal is subjected to compression processing.
Here, the comparison with the reference value in the comparison means 15 described above is performed in order to prevent the amplification factor in the calculation means 17 from becoming too large when there is no signal, and the reference value set by the reference value setting means 16. The maximum amplification factor can be defined by setting the value.
Further, by changing the number of accumulated samples in the shift buffer unit 12 by the size setting unit 14, a desired compression characteristic can be set. That is, in order to increase the average power, the number of accumulated samples may be reduced, and in order to minimize the deformation of the signal waveform, the number of accumulated samples may be increased. However, since these are in a trade-off relationship, settings that take each into account are necessary.
[0016]
In the above configuration, the calculation means 17 is configured to divide the latest digital input data just input from the input terminal by the divisor output from the comparison means 15 and output it. Delay means may be provided between the terminal and the arithmetic means 17 so that digital input data that is a predetermined number of samples earlier than the latest digital input data can be divided and output by the divisor. As a result, digital input data corresponding to any position in the interval in which the maximum value is detected can be set as a calculation target at that time.
As described above, for each individual digital input data, the peak of each different section shifted by one piece of data is detected, and the divisor is determined so that the peak does not saturate, so the divisor is almost in stages. Change at the boundary of the section.
[0017]
According to the above configuration, before the input FSK modulation signal is separated into the mark signal and the space signal, the
[0018]
A specific example in which the FSK demodulation process is realized by software will be described with reference to the flowcharts of FIGS.
In FIG.
In step S1, compression processing is performed to adjust the signal level of the mark signal component and the signal level of the space signal component of the input FSK modulation signal to the same level.
In step S2, the mark signal component and space signal component of the input FSK modulation signal are extracted.
In step S3, the extracted mark signal and space signal are detected.
In step S4, the detected mark signal and space signal are combined with opposite polarities.
In step S5, the synthesized signal is compared with a predetermined threshold value and demodulated as binary digital information and output.
[0019]
In FIG. 5, a specific example of the compression process in step S1 will be described.
In the flowchart of FIG.
NEW_DATA represents a variable representing the latest digital input data of the input FSK modulation signal, N represents a buffer size of a preset shift buffer, and PEAK_BUFF [J] represents the Jth accumulated data of the shift buffer. The shift buffer size is N, and the range of J is 0 to
ABS_IN indicates a variable indicating an absolute value of NEW_DATA, PEAK indicates a variable for obtaining a maximum value, SET_VALUE indicates a reference value (> 0) for defining a preset maximum amplification factor, MAX (X, Y) indicates a function representing an arithmetic process for obtaining the larger one of the variables X and Y.
COMP_OUT indicates a variable representing the output value of the compression process.
[0020]
In step S11, the absolute value of the latest input digital input data (NEW_DATA) is substituted into ABS_IN, and the 0th data (PEAK_BUFF [0]) of the shift buffer is substituted into PEAK. The absolute value of the digital input data is obtained as ABS_IN and the initial value of PEAK is set.
In step S12, the (J + 1) th data (PEAK_BUFF [J + 1]) in the shift buffer is compared with PEAK, and the larger value is substituted into PEAK. ] Is repeatedly performed from J = 0 to J = (N−2). The operation of substituting J) into the Jth (PEAK_BUFF [J]) is repeated. As a result, except for the latest digital input data, the maximum value of the data stored in the shift buffer is obtained in PEAK, and the data stored in the shift buffer is shifted and stored in the 0th place. The oldest data (PEAK_BUFF [0]) is discarded as shown in FIG.
[0021]
In step S13, the shift buffer is completely shifted by substituting the absolute value (ABS_IN) of the latest digital input data into the (N-1) th (PEAK_BUFF [N-1]) of the shift buffer. By comparing ABS_IN and PEAK and substituting the larger value into PEAK, the maximum value of the data stored in the shift buffer that has been shifted is obtained in PEAK. Then, PEAK is compared with the reference value (SET_VALUE), and the larger value is further substituted into PEAK, thereby obtaining a divisor for signal amplification in PEAK.
In step S14, the result obtained by dividing the latest digital input data (NEW_DATA) by PEAK is substituted into COMP_OUT representing the output value of the compression process, and the data is used for the subsequent process (step S2 in FIG. 4). .
Thereafter, the above process is repeated each time the latest digital input data is input, so that the compression process is performed on the input signal.
[0022]
Even in this case, in step S14, the latest digital input data (NEW_DATA) is divided and output by the finally obtained divisor, but the variable (PEAK_BUFF [J In addition to the above, a similar variable for storing NEW_DATA as it is can be added, and the object to be divided in step S14 can be used as the data at the predetermined position of the added variable. As a result, digital input data corresponding to any position in the interval in which the maximum value is detected can be set as a calculation target at that time.
The setting constants N and SET_VALUE can be set in advance according to preference.
[0023]
The compression process used in the present invention has the following characteristics.
(1) Not only hardware processing using discrete components but also software such as a DSP as shown in FIG.
(2) Since the maximum value detection process is performed in real time every time the latest digital input data is input, the digital input data can be compressed and output in real time without delay.
(3) The structure becomes simple.
Since the main part is composed of a block that manages the divisor by the amplitude (absolute value) of the input signal and the reference value (> 0) and a block that divides the instantaneous value of the input signal by that divisor, Become.
Further, by adjusting the buffer size N of the shift buffer for detecting the maximum value, a desired compression characteristic can be easily obtained.
Moreover, since the instantaneous value of the input signal is divided by the maximum value described above, signal amplification and amplitude suppression can be performed simultaneously.
In the above FSK demodulation processing, part or all of the processing may be realized by combining processing by software and processing by hardware using discrete components.
[0024]
【The invention's effect】
According to the FSK demodulation method of the first aspect of the present invention, the signal level and the space of the mark signal component of the input FSK modulation signal are extracted before extracting the mark signal component and the space signal component of the input FSK modulation signal. Since compression processing is performed to adjust the signal level of the signal component to the same level, stable demodulation processing can be performed even if there is a signal level difference between the mark signal component and the space signal component.
[0025]
Further, the compression processing stores the absolute value of the previous digital input data including the latest input digital input data while constantly updating the absolute value of the preset number of samples. Is input, the maximum value of the stored digital input data of the predetermined number of samples is detected, and the latest digital input data or the previous digital input data is divided by the maximum value by the maximum value. Therefore, since the FSK demodulation method capable of obtaining the above effect can be realized by software using a DSP, it is easy to realize a flexible system.
[0026]
According to the FSK demodulator of the second aspect , the signal level of the mark signal component and the signal level of the space signal component of the input FSK modulation signal are set before the mark signal band pass filter and the space signal band pass filter. Since the compression processing device for adjusting to the same level is provided, stable demodulation processing can be performed even if there is a signal level difference between the mark signal component and the space signal component.
[0027]
Further, the compression processing device includes storage means for storing the absolute value of the previous digital input data including the latest input digital input data while constantly updating the absolute value of the preset number of samples. Detecting means for detecting the maximum value among the absolute values of the digital input data, and calculating means for dividing and outputting the latest digital input data input or the digital input data previous by a predetermined number of samples by the maximum value; Therefore, the FSK demodulator having the above-described configuration can be configured.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of an FSK demodulator according to the present invention.
FIG. 2 is a block diagram of a compression processing device used in the FSK demodulator.
FIG. 3 is an explanatory diagram of a shift buffer.
FIG. 4 is an overall flowchart of an FSK demodulation method according to the present invention.
FIG. 5 is a detailed flowchart of a compression processing method.
FIG. 6 is a block diagram of an example of a conventional FSK demodulator.
[Explanation of symbols]
DESCRIPTION OF
7 Comparator 11 Absolute value output means (accumulation means)
12 Shift buffer means (accumulation means)
13 Detection means 14 Size setting means 15 Comparison means 16 Reference value setting means 17 Calculation means
Claims (2)
前記コンプレッション処理は、入力された最新のデジタル入力データを含むそれ以前のデジタル入力データの絶対値を、予め設定されたサンプル数分だけ常時更新しつつ蓄積しておき、最新のデジタル入力データが入力される毎に、前記蓄積されている所定サンプル数のデジタル入力データの内の最大値を検出し、その最大値で前記最新のデジタル入力データあるいは所定サンプル数だけ以前のデジタル入力データを除算して出力するコンプレッション処理方法としたことを特徴とするFSK復調方法。 Extracting the mark signal component and the space signal component of the input FSK modulation signal, detecting the extracted mark signal and space signal, and combining the detected mark signal and space signal with opposite polarity; In the FSK demodulating method in which the synthesized signal is compared with a predetermined threshold and demodulated as binary digital information and output, before extracting the mark signal component and the space signal component of the input FSK modulated signal to, have rows compression processing for adjusting the signal level of the signal level and the space signal component of the mark signal components of the input FSK modulated signal in the same level,
In the compression process, the absolute value of the previous digital input data including the latest digital input data that has been input is constantly updated for the preset number of samples, and the latest digital input data is input. Each time, the maximum value of the accumulated digital input data of the predetermined number of samples is detected, and the latest digital input data or the previous digital input data is divided by the maximum number of the maximum value. An FSK demodulating method characterized in that a compression processing method is output.
前記コンプレッション処理装置は、入力された最新のデジタル入力データを含むそれ以前のデジタル入力データの絶対値を、予め設定されたサンプル数分だけ常時更新しつつ蓄積する蓄積手段と、蓄積されているデジタル入力データの絶対値の内の最大値を検出する検出手段と、入力された最新のデジタル入力データあるいは所定サンプル数だけ以前のデジタル入力データを前記最大値で除算して出力する演算手段と、を備えたコンプレッション処理装置としたことを特徴とするFSK復調装置。The compression processing apparatus includes a storage unit that stores the absolute value of the previous digital input data including the latest digital input data that has been input while constantly updating the absolute value of the preset number of samples, and the stored digital Detection means for detecting a maximum value among absolute values of input data; and arithmetic means for dividing the latest digital input data input or digital input data previous by a predetermined number of samples by the maximum value and outputting the result. An FSK demodulator characterized by comprising a compression processing apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21361899A JP3605530B2 (en) | 1999-07-28 | 1999-07-28 | FSK demodulation method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21361899A JP3605530B2 (en) | 1999-07-28 | 1999-07-28 | FSK demodulation method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001045078A JP2001045078A (en) | 2001-02-16 |
| JP3605530B2 true JP3605530B2 (en) | 2004-12-22 |
Family
ID=16642165
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21361899A Expired - Lifetime JP3605530B2 (en) | 1999-07-28 | 1999-07-28 | FSK demodulation method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3605530B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4789189B2 (en) * | 2006-03-14 | 2011-10-12 | 日本放送協会 | Emergency warning signal receiving apparatus and method |
-
1999
- 1999-07-28 JP JP21361899A patent/JP3605530B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001045078A (en) | 2001-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101572552B1 (en) | Modulation apparatus, demodulation apparatus, audio transmission system, program, and demodulation method | |
| US5651030A (en) | Receiver with signal classifier | |
| JP3368879B2 (en) | Multipath noise elimination device, audio output device, and FM receiver | |
| US20200119759A1 (en) | Noise suppression device, noise suppression method, and reception device and reception method using same | |
| JP2687725B2 (en) | Improved low power DSP squelch | |
| JP3473511B2 (en) | Multipath noise elimination device, audio output device, and FM receiver | |
| JPH10511819A (en) | AGC system for digital signal with pilot | |
| JP2000514965A (en) | Variable of sampled signal C. Method and apparatus for compensating offset | |
| JP2012138926A (en) | Method and device of frame synchronization in digital audio broadcasting system | |
| JP3605530B2 (en) | FSK demodulation method and apparatus | |
| JPH02284547A (en) | Orthogonal signal demodulation system | |
| JP4514545B2 (en) | Noise detector, radio, and noise detection method | |
| JP2004297137A (en) | Receiver | |
| JP3681559B2 (en) | Compression processing method and apparatus | |
| JP2001264417A (en) | Pulse signal receiving apparatus and pulse signal processing method | |
| JP2993120B2 (en) | Method and apparatus for canceling random FM noise | |
| JP3679340B2 (en) | Receiving machine | |
| JP2015106753A (en) | Demodulation device, acoustic transmission system, program and demodulation method | |
| JP3346832B2 (en) | Digital processing type demodulator | |
| JP3641469B2 (en) | Modulated carrier frequency detection method and apparatus | |
| JP2845201B2 (en) | Diversity receiver with combining method | |
| JPH11191741A (en) | FM multiplex signal demodulation circuit block of FM multiplex broadcast receiver | |
| JP2002359656A (en) | Digital modulator | |
| JPH0385937A (en) | Synchronizing system in frequency hopping communication | |
| EP1584148A1 (en) | Method and circuit arrangement for determining the signal strength in receivers with complex signal processing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040531 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040608 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040809 |
|
| 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: 20040907 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041004 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 3605530 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081008 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091008 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091008 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101008 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111008 Year of fee payment: 7 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111008 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111008 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121008 Year of fee payment: 8 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121008 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121008 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121008 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131008 Year of fee payment: 9 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |