JP3999039B2 - Difference frequency detection circuit - Google Patents

Difference frequency detection circuit Download PDF

Info

Publication number
JP3999039B2
JP3999039B2 JP2002140120A JP2002140120A JP3999039B2 JP 3999039 B2 JP3999039 B2 JP 3999039B2 JP 2002140120 A JP2002140120 A JP 2002140120A JP 2002140120 A JP2002140120 A JP 2002140120A JP 3999039 B2 JP3999039 B2 JP 3999039B2
Authority
JP
Japan
Prior art keywords
input
difference frequency
output
detection circuit
frequency detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002140120A
Other languages
Japanese (ja)
Other versions
JP2003332898A (en
Inventor
信行 渡邉
俊雄 小澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SPC Electronics Corp
Original Assignee
SPC Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SPC Electronics Corp filed Critical SPC Electronics Corp
Priority to JP2002140120A priority Critical patent/JP3999039B2/en
Publication of JP2003332898A publication Critical patent/JP2003332898A/en
Application granted granted Critical
Publication of JP3999039B2 publication Critical patent/JP3999039B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、2つのディジタル入力信号の差周波数を検出する差周波数検出方法及び差周波数検出回路に関するものである。
【0002】
【従来の技術】
一般に、高周波信号を検出する際には、その感度を上げるために、中間周波数に変換して処理をすることが多い。この時、中間周波数で同期検波をしようとすると、正確なしかも高周波信号や局発周波数にコヒーレントな中間周波数が必要になる。ここで、一般的には、高い周波数の2つの高周波信号からその差の中間周波数信号を生成するのに乗算器を使用している。
【0003】
また、ディジタル回路を使用している周波数帯では、2つのディジタル信号からその差の中間周波数信号を生成するのに、排他的論理和回路を使用している。
【0004】
これらの中間周波数信号を生成する何れの回路でも、乗算器や排他的論理和回路の後に、ローパスフィルタまたはバンドパスフィルタと増幅器及びリミッタ等が使用されているのが一般的である。
【0005】
【発明が解決しようとする課題】
しかしながら、乗算器や排他的論理和回路の出力にはいろいろな周波数成分が含まれており、確実に差周波数のみを取り出すのは容易でない問題点があった。
【0006】
また、これらの中間周波数信号を生成する何れの回路でも、差周波数に合わせてバンドパスフィルタの中心周波数を変えたり、選択度をシビアにするためにバンドパスフィルタを再設計しなければならない問題点があった。
【0007】
本発明の目的は、2つのディジタル入力信号の周波数に関係なく、確実にその差周波数を取り出すことができる差周波数検出回路を提供することにある。
【0008】
【課題を解決するための手段】
本発明は、2つのディジタル入力信号の差周波数を検出する差周波数検出回路を対象とする。
【0009】
本発明においては、2つのディジタル入力信号の差周波数を検出するに当たり、一方の入力信号の隣接する立ち上がり2個の間に、他方の入力信号の隣接する立ち上がり2個が入ったことを検出した時に、1個のパルスを出す。
【0010】
即ち、2つのディジタル入力信号が入力されたとき、周波数が高い方の信号の繰り返し時間即ち周期は、周波数が低い方の信号の繰り返し周期より短いので、何回かの繰り返しの中には、周波数が低い方の信号の隣接する立ち上がり2個の間に、周波数が高い方の信号の隣接する立ち上がり2個が入る時が必ず存在する。この時に1個のパルスを出力させると、この出力パルスの繰り返し周波数は、2つのディジタル入力信号の差周波数に一致する。
【0011】
このようにして差周波数を検出すれば、2つのディジタル入力信号の周波数に関係なく、確実にその差周波数を取り出すことができる。
【0012】
本発明は、上記のような方法で2つのディジタル入力信号の差周波数を検出する差周波数検出回路を、ディジタル入力信号の立ち上がりエッジのみを取り出す立ち上がりエッジ取り出し回路と、下位ビットカウンタ及び上位ビットカウンタを有する2ビットのアップダウンカウンタとを利用して実現したものである。
【0013】
請求項1に記載された差周波数検出回路では、2つのディジタル入力信号立ち上がりエッジ取り出し回路に入力され、この立ち上がりエッジ取り出し回路からの各立ち上がりエッジ信号アップ入力とダウン入力として2ビットのアップダウンカウンタに入力され、このアップダウンカウンタの上位ビットカウンタの出力が下位ビットカウンタにセット入力として与えられると共に上位ビットカウンタにリセット入力として与えられ、上位ビットカウンタの出力が差周波数出力として出力される構成になっている。
【0014】
このような差周波数検出回路によれば、2つのディジタル入力信号の周波数に関係なく、確実にその差周波数を取り出すことができる。
【0015】
また、請求項2に記載の差周波数検出回路は、請求項1に記載の差周波数検出回路を2回路利用し、即ち請求項1に記載の差周波数検出回路を第1の差周波数検出回路と第2の差周波数検出回路として2回路利用し、出力波形のデュテイが50%の信号を得るものである。この場合、第1の差周波数検出回路には2つのディジタル入力信号をそのまま入力し、第2の差周波数検出回路には2つのディジタル入力信号を一方は反転して、他方はそのまま入力することにより、第1,第2の差周波数検出回路の出力信号が180 度の位相差をもつようにする。これらの信号をセットリセット回路にセット入力、リセット入力として入力し、セットリセット回路の出力を出力すれば、2つのディジタル入力信号の差周波数の信号をデュテイが50%の出力波形として得ることができる。
【0016】
【発明の実施の形態】
図1乃至図3は本発明に係る差周波数検出回路の実施の形態の第1例を示したもので、図1は本例の差周波数検出回路の回路図、図2は図1に示した差周波数検出回路における2つのディジタル入力信号の立ち上がりエッジ信号と、下位ビットカウンタと上位ビットカウンタの動作波形図、図3は本例の差周波数検出回路の各部の動作波形図である。
【0017】
図1に示すように、本例の差周波数検出回路は、2つのディジタル入力信号のうち、周波数が高いディジタル入力信号がアップ入力として入力されるアップ入力端子Uと、周波数が低いディジタル入力信号がダウン入力として入力されるダウン入力端子Dとを有する。アップ入力端子Uとダウン入力端子Dとには、入力されるディジタル入力信号の立ち上がりエッジのみを取り出す第1,第2の立ち上がりエッジ取り出し回路1A,1Bが接続されている。第1,第2の立ち上がりエッジ取り出し回路1A,1Bは、アンド回路2A,2Bとノット回路3A,3Bとで形成されている。即ち、アップ入力端子Uとダウン入力端子Dにそれぞれ入力された信号は、対応するアンド回路2A,2Bの一方の入力端に直接、他方の入力端にノット回路3A,3Bを介して時間遅れをもたせて入力されるようになっている。これによりアンド回路2A,2Bは、対応するアップ入力端子Uまたはダウン入力端子Dからの入力信号が入ると立ち上がり、ノット回路3A,3Bを介しての遅れ時間後に直ちに立ち下がり、入力信号のエッジのみが取り出されることになる。
【0018】
これら第1,第2の立ち上がりエッジ取り出し回路1A,1Bから出力される2つのディジタル入力信号の各立ち上がりエッジ信号は、アップ入力とダウン入力として2ビットのアップダウンカウンタ4に入力されるようになっている。この2ビットのアップダウンカウンタ4は、下位ビットカウンタ4Aと上位ビットカウンタ4Bとを有する。
【0019】
下位ビットカウンタ4Aは、第1,第2の立ち上がりエッジ取り出し回路1A,1Bから出力される2つのディジタル入力信号の各立ち上がりエッジ信号を入力とするオア回路5と、このオア回路5の出力がT端子に入力されるTフリップフロップ6とで構成されている。
【0020】
上位ビットカウンタ4Bは、第1の立ち上がりエッジ取り出し回路1Aの出力と、Tフリップフロップ6のQ端子の出力とを入力とするアンド回路7と、第2の立ち上がりエッジ取り出し回路1Bの出力と、Tフリップフロップ6のNQ端子の出力とを入力とするアンド回路8と、これらアンド回路7,8の出力を入力とするオア回路9と、このオア回路9の出力がT端子に入力されるTフリップフロップ10とで構成されている。
【0021】
Tフリップフロップ6,10は、いずれもそのT端子にトリガ入力が入る毎に、Q出力が反転するように動作する。NQ出力は、Q出力の反転出力である。
【0022】
この2ビットのアップダウンカウンタ4は、上位ビットカウンタ4BにおけるTフリップフロップ10のQ端子の出力が下位ビットカウンタ4AにおけるTフリップフロップ6のS端子にセット入力として与えられると共に上位ビットカウンタ4BにおけるTフリップフロップ10のR端子にリセット入力として与えられ、上位ビットカウンタ4BにおけるTフリップフロップ10のQ端子の出力が差周波数出力として出力端子Outから出力される構成になっている。
【0023】
図2のU,D,4A,4Bは、図1に示した差周波数検出回路における2つのディジタル入力信号の立ち上がりエッジ信号(U,D)と、下位ビットカウンタ4AにおけるTフリップフロップ6のQ端子と上位ビットカウンタ4BにおけるTフリップフロップ10のQ端子の動作波形図である。
【0024】
図3のU,D,U´,D´,a,b,c,d,e,f,Outは、図1の各部の出力波形図である。
【0025】
本例の差周波数検出方法は、図3のU,Dに示すように2つのディジタル入力信号が入力されたとき、周波数が高い方のU信号の繰り返し時間即ち周期は、周波数が低い方のD信号の繰り返し周期より短いので、何回かの繰り返しの中には、図示のように周波数が低い方の信号Dの隣接するD2番目とD3番目の信号の立ち上がり2個の間に、周波数が高い方の信号Uの隣接するU3番目とU4番目の信号の立ち上がり2個が入る時が必ず存在する。この時に、Outで示すように1個のパルスを出力させると、この出力パルスOutの繰り返し周波数は、2つのディジタル入力信号U,Dの周波数f,fの差周波数(f−f)に一致する。
【0026】
このような差周波数検出方法を実施する図1に示す差周波数検出回路の動作を、図2及び図3を参照して説明する。
【0027】
図1に示す差周波数検出回路のアップ入力端子Uとダウン入力端子Dとに、図3のU,Dで示す矩形波の2つのディジタル入力信号が入力されると、アンド回路2A,2Bの出力は、図3のU´,D´で示すエッジ信号となる。
【0028】
これらのエッジ信号は、下位ビットカウンタ4Aと上位ビットカウンタ4Bとに入力される。
【0029】
これらのエッジ信号が下位ビットカウンタ4Aのオア回路5に入力されると、その出力は図3のaとなる。
【0030】
この図3のaの出力は、Tフリップフロップ6のT端子に入力される。この入力を受けたTフリップフロップ6はそのQ端子から図3のbに示す出力を出し、またそのNQ端子から図3のdに示す出力を出す。この図3のdに示す出力は、図3のbに示す出力を反転した出力となっている。
【0031】
これら図3のb,dに示す出力は、上位ビットカウンタ4Bのアンド回路7,8に、前述したように図3のU´,D´で示すエッジ信号と共に入力される。これによりアンド回路7,8は、図3のc,eに示す出力を出す。
【0032】
これらの出力がオア回路9に入力されると、このオア回路9は図3のfに示す出力を出す。
【0033】
この図3のfに示すオア回路9の出力がTフリップフロップ10のT端子に入力される。この入力を受けたTフリップフロップ10は、そのQ端子から図3のOutに示す出力を出す。
【0034】
このTフリップフロップ10からの図3のOutに示す出力は、Tフリップフロップ6のS端子にセット入力として与えられると共にTフリップフロップ10のR端子にリセット入力として与えられる。
【0035】
Tフリップフロップ6のS端子にセット入力が与えられると、該Tフリップフロップ6のQ端子及びNQ端子の出力は図3のb,dに示すように変化する。
【0036】
また、Tフリップフロップ10のR端子にリセット入力が与えられると、該Tフリップフロップ10のQ端子から出力され、図3のOutに示す出力は直ちに「1」から「0」に変化する。
【0037】
上記の如き動作に際し、下位ビットカウンタ4Aと上位ビットカウンタ4BのTフリップフロップ6,10のQ端子の出力は、アップ入力端子Uからの入力に対して、「00」→「01」→「10」と変化する。ただし、「10」の出力になった時、Tフリップフロップ6,10にはセット,リセットの帰還があるので、直ちに「01」となり、「11」となることはない。
【0038】
ここで、2桁の数値は、1の位が下位ビットカウンタ4A、10の位が上位ビットカウンタ4Bが表記する、バイナリ表記である。
【0039】
また、下位ビットカウンタ4Aと上位ビットカウンタ4BのTフリップフロップ6,10のQ端子の出力は、ダウン入力端子Dからの入力に対し、「10」→「01」→「00」→「11」と変化するが、「11」の出力になった時、Tフリップフロップ6,10にはセット,リセットの帰還があるので、直ちに「01」となり、「11」となる時間は短い。
【0040】
上記例では、アップ入力端子Uとダウン入力端子Dに対して、アップ入力端子Uに対してダウン入力端子Dより高い周波数の入力信号を入れるとして説明したが、2つの入力信号の周波数が近似している時には、アップ入力端子Uとダウン入力端子Dに入力が交互に入り、「00」と「01」の間を往復する。アップ入力端子Uに対する入力の方が高い周波数なら、アップ入力端子Uの方から連続してパルスが入る時があり、この時、「10」となり、直ちに「01」に戻る。よって、Tフリップフロップ10から出力Outは、パルス1個を出力することになる。
【0041】
この後、また「00」と「01」の間を往復し、アップ入力端子Uからの連続入力時にTフリップフロップ10からパルス1個を出力する。
【0042】
このパルス出力の周波数は、アップ入力端子Uとダウン入力端子Dに入る2つのディジタル入力信号の周波数の差に等しい。
【0043】
逆に、ダウン入力端子Dに入るディジタル入力信号の周波数が高い時には、出力Outから出力されるパルス出力の周波数は、アップ入力端子Uとダウン入力端子Dの入力周波数の差の半分に等しい。よって、正しく差の周波数を出力するためには、アップ入力端子Uの入力に周波数の高い信号を入れる必要がある。
【0044】
図4及び図5は本発明に係る差周波数検出回路の実施の形態の第2例を示したもので、図4は本例の差周波数検出回路の回路図、図5のU1 ,D1 ,Out1 ,U2 ,D2 ,Out2 ,Out3 は図4に示した差周波数検出回路の各部の動作波形図である。
【0045】
図4に示すように、本例の差周波数検出回路は、図1に示した差周波数検出回路が2回路、第1の差周波数検出回路11(1) と第2の差周波数検出回路11(2) として用いられ、入力端子A,Bから2つのディジタル入力信号が第1の差周波数検出回路11(1) のU1 端子,D1 端子に入力され、2つのディジタル入力信号のうち一方はノット回路12で反転して、他方はそのまま第2の差周波数検出回路11(2) のU2 端子,D2 端子に入力され、第1,第2の差周波数検出回路11(1) ,11(2) のOut1 端子,Out2 端子の出力がそれぞれセットリセット回路13のセット入力端子Sにセット入力として及びリセット入力端子Rにリセット入力として入力され、セットリセット回路13のQ端子から差周波数出力がデュテイ50%の波形で出力される構成になっている。
【0046】
この差周波数検出回路の各部U1 ,D1 ,Out1 ,U2 ,D2 ,Out2 ,Out3 の動作波形を、図5に示す。
【0047】
即ち、第1の差周波数検出回路11(1) のU1 端子,D1 端子に図5のU1 ,D1 (周波数は、U1 の方がD1 より高い)で示すディジタル入力信号が入力されると、該第1の差周波数検出回路11(1) のOut1 端子から図5のOut1 に示すU1 とD1 の差周波数の出力が得られる。
【0048】
同様に、第2の差周波数検出回路11(2) のU2 端子,D2 端子に図5のU2 ,D2 (周波数は、U2 の方がD2 より高い)で示すディジタル入力信号が入力されると、該第2の差周波数検出回路11(2) のOut2 端子から図5のOut2 に示すU2 とD2 の差周波数の出力が得られる。ここで、U2 の信号はU1 の信号を反転させた信号であり、D2 の信号はD1 の信号と同じ信号である。
【0049】
これら第1,第2の差周波数検出回路11(1) ,11(2) のOut1 端子,Out2 端子の出力がそれぞれセットリセット回路13のセット入力端子Sにセット入力として及びリセット入力端子Rにリセット入力として入力されると、該セットリセット回路13のQ端子から、入力端子A,Bに入力された2つのディジタル入力信号の差周波数の出力が、図5のOut3 で示すようにデュテイ50%の波形で出力される。
【0050】
【発明の効果】
請求項1に記載された発明によれば、一方の入力信号の隣接する立ち上がり2個の間に、他方の入力信号の隣接する立ち上がり2個が入ったことを検出した時に、1個のパルスを出すので、2つのディジタル入力信号の周波数に関係なく、確実にその差周波数を取り出すことができる。
【0051】
また請求項2に記載の発明によれば、請求項1に記載の発明に係わる差周波数検出回路を2回路使用し、その出力パルスの位相差が180 度になるように構成をしたので、2つのディジタル入力信号の周波数に関係なく、確実にその差周波数を取り出し、デュテイが50%の波形で出力することができる。
【0052】
また、これらの発明によれば、2つのディジタル入力信号の周波数に関係なく、確実にその差周波数を取り出すことができるので、従来のように入力周波数、差周波数毎にバンドパスフィルタの新たな設計をする必要がなく、これらの発明の効果は大きい。
【図面の簡単な説明】
【図1】 本発明に係る差周波数検出回路の実施の形態の第1例を示した回路図である。
【図2】 図1に示した差周波数検出回路における2つのディジタル入力信号の立ち上がりエッジ信号と、下位ビットカウンタと上位ビットカウンタの動作波形図である。
【図3】 本例の差周波数検出回路の各部の動作波形図である。
【図4】 本発明に係る差周波数検出回路の実施の形態の第2例を示した回路図である。
【図5】 U1 ,D1 ,Out1 ,U2 ,D2 ,Out2 ,Out3 は図4に示した差周波数検出回路の各部の動作波形図である。
【符号の説明】
1A,1B 第1,第2の立ち上がりエッジ取り出し回路
2A,2B アンド回路
3A,3B ノット回路
4 2ビットのアップダウンカウンタ
4A 下位ビットカウンタ
4B 上位ビットカウンタ
5 オア回路
6 Tフリップフロップ
7,8 アンド回路
9 オア回路
10 Tフリップフロップ
11(1) 第1の差周波数検出回路
11(2) 第2の差周波数検出回路
12 ノット回路
13 セットリセット回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a difference frequency detection method and a difference frequency detection circuit for detecting a difference frequency between two digital input signals.
[0002]
[Prior art]
In general, when a high frequency signal is detected, in order to increase its sensitivity, it is often converted to an intermediate frequency and processed. At this time, if an attempt is made to perform synchronous detection at an intermediate frequency, an intermediate frequency that is inaccurate and coherent with a high-frequency signal or a local oscillation frequency is required. Here, in general, a multiplier is used to generate an intermediate frequency signal of a difference between two high frequency signals having a high frequency.
[0003]
Further, in a frequency band using a digital circuit, an exclusive OR circuit is used to generate an intermediate frequency signal of the difference from two digital signals.
[0004]
In any circuit that generates these intermediate frequency signals, a low-pass filter or a band-pass filter, an amplifier, a limiter, and the like are generally used after a multiplier and an exclusive OR circuit.
[0005]
[Problems to be solved by the invention]
However, various frequency components are included in the output of the multiplier and the exclusive OR circuit, and there is a problem that it is not easy to reliably extract only the difference frequency.
[0006]
Also, in any circuit that generates these intermediate frequency signals, the bandpass filter must be redesigned in order to change the center frequency of the bandpass filter according to the difference frequency or to make the selectivity severe. was there.
[0007]
An object of the present invention is to provide a difference frequency detection circuit that can reliably extract the difference frequency regardless of the frequencies of two digital input signals.
[0008]
[Means for Solving the Problems]
The present invention is directed to a difference frequency detection circuit that detects a difference frequency between two digital input signals.
[0009]
In the present invention, when detecting the difference frequency between two digital input signals, it is detected that two adjacent rising edges of the other input signal are inserted between two adjacent rising edges of one input signal. 1 pulse is emitted.
[0010]
That is , when two digital input signals are input, the repetition time or period of the signal with the higher frequency is shorter than the repetition period of the signal with the lower frequency. There is always a time when two adjacent rising edges of the higher frequency signal are between two adjacent rising edges of the lower signal. If one pulse is output at this time, the repetition frequency of the output pulse matches the difference frequency between the two digital input signals.
[0011]
If the difference frequency is detected in this way, the difference frequency can be reliably extracted regardless of the frequencies of the two digital input signals.
[0012]
The present invention provides a difference frequency detection circuit for detecting a difference frequency between two digital input signals by the above method, a rising edge extraction circuit for extracting only the rising edge of a digital input signal, a lower bit counter and an upper bit counter. This is realized by using a 2-bit up / down counter.
[0013]
A difference frequency detection circuit of claim 1, two digital input signal is input to the rising edge extraction circuit, the up-down two bits each rising edge signal as the up input and the down input from the rising edge extraction circuit Input to the counter, the output of the upper bit counter of the up / down counter is given as a set input to the lower bit counter and the reset input to the upper bit counter, and the output of the upper bit counter is outputted as a difference frequency output It has become.
[0014]
Such a difference frequency detection circuit can reliably extract the difference frequency regardless of the frequencies of the two digital input signals.
[0015]
The difference frequency detecting circuit according to claim 2, and 2 circuit utilizing the difference frequency detection circuit according to claim 1, namely a first difference frequency detecting circuit a difference frequency detection circuit of claim 1 Two circuits are used as the second difference frequency detection circuit, and a signal having an output waveform duty of 50% is obtained. In this case, two digital input signals are input as they are to the first difference frequency detection circuit, one of the two digital input signals is inverted and the other is input as it is to the second difference frequency detection circuit. , the output signal of the first, second difference frequency detection circuit to have a phase difference of 180 degrees. If these signals are input to the set / reset circuit as a set input and a reset input, and the output of the set / reset circuit is output, a signal having a difference frequency between the two digital input signals can be obtained as an output waveform with a duty of 50%. .
[0016]
DETAILED DESCRIPTION OF THE INVENTION
1 to 3 show a first example of an embodiment of a difference frequency detection circuit according to the present invention, FIG. 1 is a circuit diagram of the difference frequency detection circuit of this example, and FIG. 2 is shown in FIG. The rising edge signals of the two digital input signals in the difference frequency detection circuit, operation waveform diagrams of the lower bit counter and the upper bit counter, and FIG. 3 are operation waveform diagrams of the respective parts of the difference frequency detection circuit of this example.
[0017]
As shown in FIG. 1, the difference frequency detection circuit of this example includes an up input terminal U to which a digital input signal having a high frequency is input as an up input, and a digital input signal having a low frequency, out of two digital input signals. A down input terminal D that is input as a down input. The up input terminal U and the down input terminal D are connected to first and second rising edge extraction circuits 1A and 1B that extract only the rising edge of the input digital input signal. The first and second rising edge extraction circuits 1A and 1B are formed by AND circuits 2A and 2B and knot circuits 3A and 3B. That is, the signals input to the up input terminal U and the down input terminal D are delayed in time directly via one of the input terminals of the corresponding AND circuits 2A and 2B and the other input terminal via the knot circuits 3A and 3B. It is designed to be input. As a result, the AND circuits 2A and 2B rise when an input signal from the corresponding up input terminal U or down input terminal D is input, and immediately fall after a delay time via the knot circuits 3A and 3B, and only the edge of the input signal. Will be taken out.
[0018]
The rising edge signals of the two digital input signals output from the first and second rising edge extraction circuits 1A and 1B are input to the 2-bit up / down counter 4 as an up input and a down input. ing. The 2-bit up / down counter 4 includes a lower bit counter 4A and an upper bit counter 4B.
[0019]
The lower bit counter 4A includes an OR circuit 5 that receives the rising edge signals of the two digital input signals output from the first and second rising edge extraction circuits 1A and 1B, and the output of the OR circuit 5 is T It is composed of a T flip-flop 6 input to a terminal.
[0020]
The upper bit counter 4B includes an AND circuit 7 that receives the output of the first rising edge extraction circuit 1A and the output of the Q terminal of the T flip-flop 6, the output of the second rising edge extraction circuit 1B, An AND circuit 8 that receives the output of the NQ terminal of the flip-flop 6, an OR circuit 9 that receives the outputs of the AND circuits 7 and 8, and a T flip-flop in which the output of the OR circuit 9 is input to the T terminal And 10.
[0021]
Each of the T flip-flops 6 and 10 operates so that the Q output is inverted every time a trigger input enters the T terminal. The NQ output is an inverted output of the Q output.
[0022]
In the 2-bit up / down counter 4, the output of the Q terminal of the T flip-flop 10 in the upper bit counter 4B is given as a set input to the S terminal of the T flip-flop 6 in the lower bit counter 4A and the T bit in the upper bit counter 4B. The R terminal of the flip-flop 10 is given as a reset input, and the output of the Q terminal of the T flip-flop 10 in the upper bit counter 4B is output from the output terminal Out as a difference frequency output.
[0023]
U, D, 4A, 4B in FIG. 2 are the rising edge signals (U, D) of two digital input signals in the difference frequency detection circuit shown in FIG. 1, and the Q terminal of the T flip-flop 6 in the lower bit counter 4A. FIG. 10 is an operation waveform diagram of the Q terminal of the T flip-flop 10 in the upper bit counter 4B.
[0024]
U, D, U ′, D ′, a, b, c, d, e, f, and Out in FIG. 3 are output waveform diagrams of the respective units in FIG.
[0025]
In the difference frequency detection method of this example, when two digital input signals are input as shown in U and D of FIG. 3, the repetition time, that is, the period of the U signal with the higher frequency is D with the lower frequency. Since it is shorter than the repetition period of the signal, the frequency is high between two adjacent rising edges of the D2 and D3 signals of the lower frequency signal D as shown in the figure in some repetitions. There is always a time when two rising edges of the U3 and U4 adjacent signals of the other signal U enter. At this time, when the output of one pulse as shown by Out, repetition frequency of the output pulse Out the two digital input signals U, the frequency of the D f u, difference frequency f d (f u -f d ).
[0026]
The operation of the difference frequency detection circuit shown in FIG. 1 that implements such a difference frequency detection method will be described with reference to FIGS.
[0027]
When two digital input signals of rectangular waves indicated by U and D in FIG. 3 are input to the up input terminal U and the down input terminal D of the difference frequency detection circuit shown in FIG. 1, the outputs of the AND circuits 2A and 2B Are edge signals indicated by U ′ and D ′ in FIG.
[0028]
These edge signals are input to the lower bit counter 4A and the upper bit counter 4B.
[0029]
When these edge signals are input to the OR circuit 5 of the lower-order bit counter 4A, the output becomes a in FIG.
[0030]
The output of FIG. 3 a is input to the T terminal of the T flip-flop 6. Upon receiving this input, the T flip-flop 6 outputs the output shown in FIG. 3b from its Q terminal, and outputs the output shown in FIG. 3d from its NQ terminal. The output shown in d of FIG. 3 is an output obtained by inverting the output shown in b of FIG.
[0031]
The outputs shown in FIGS. 3b and 3d are input to the AND circuits 7 and 8 of the upper bit counter 4B together with the edge signals indicated by U ′ and D ′ in FIG. 3 as described above. As a result, the AND circuits 7 and 8 output outputs indicated by c and e in FIG.
[0032]
When these outputs are input to the OR circuit 9, the OR circuit 9 outputs the output indicated by f in FIG.
[0033]
The output of the OR circuit 9 shown in FIG. 3 f is input to the T terminal of the T flip-flop 10. Upon receiving this input, the T flip-flop 10 outputs the output shown at Out in FIG. 3 from its Q terminal.
[0034]
The output shown at Out in FIG. 3 from the T flip-flop 10 is given as a set input to the S terminal of the T flip-flop 6 and as a reset input to the R terminal of the T flip-flop 10.
[0035]
When a set input is given to the S terminal of the T flip-flop 6, the outputs of the Q terminal and the NQ terminal of the T flip-flop 6 change as shown in FIGS.
[0036]
Further, when a reset input is given to the R terminal of the T flip-flop 10, it is output from the Q terminal of the T flip-flop 10, and the output shown at Out in FIG. 3 immediately changes from “1” to “0”.
[0037]
In the operation as described above, the outputs of the Q terminals of the T flip-flops 6 and 10 of the lower bit counter 4A and the upper bit counter 4B are “00” → “01” → “10” with respect to the input from the up input terminal U. Change. However, when the output becomes “10”, the T flip-flops 6 and 10 have feedback of set and reset, so that they are immediately “01” and never “11”.
[0038]
Here, the 2-digit numerical value is a binary notation in which the 1's digit is represented by the lower bit counter 4A and the 10's digit is represented by the upper bit counter 4B.
[0039]
Further, the outputs of the Q terminals of the T flip-flops 6 and 10 of the lower bit counter 4A and the upper bit counter 4B are “10” → “01” → “00” → “11” with respect to the input from the down input terminal D. However, when the output becomes “11”, the T flip-flops 6 and 10 have set / reset feedback, so they immediately become “01”, and the time to become “11” is short.
[0040]
In the above example, the up input terminal U and the down input terminal D have been described as having an input signal having a higher frequency than the down input terminal D for the up input terminal U, but the frequencies of the two input signals are approximate. The input is alternately input to the up input terminal U and the down input terminal D, and reciprocates between “00” and “01”. If the input to the up input terminal U has a higher frequency, there are times when pulses continuously enter from the up input terminal U. At this time, it becomes “10” and immediately returns to “01”. Therefore, the output Out from the T flip-flop 10 outputs one pulse.
[0041]
After that, it reciprocates between “00” and “01”, and one pulse is output from the T flip-flop 10 at the time of continuous input from the up input terminal U.
[0042]
The frequency of this pulse output is equal to the difference between the frequencies of the two digital input signals entering the up input terminal U and the down input terminal D.
[0043]
Conversely, when the frequency of the digital input signal entering the down input terminal D is high, the frequency of the pulse output output from the output Out is equal to half the difference between the input frequencies of the up input terminal U and the down input terminal D. Therefore, in order to correctly output the difference frequency, it is necessary to input a high frequency signal to the input of the up input terminal U.
[0044]
4 and 5 show a second example of the embodiment of the differential frequency detection circuit according to the present invention. FIG. 4 is a circuit diagram of the differential frequency detection circuit of this example, and U1, D1, Out1 in FIG. , U 2, D 2, Out 2, Out 3 are operation waveform diagrams of each part of the differential frequency detection circuit shown in FIG.
[0045]
As shown in FIG. 4, the difference frequency detection circuit of this example has two difference frequency detection circuits shown in FIG. 1, a first difference frequency detection circuit 11 (1) and a second difference frequency detection circuit 11 ( 2), two digital input signals from the input terminals A and B are input to the U1 terminal and D1 terminal of the first differential frequency detection circuit 11 (1), and one of the two digital input signals is a knot circuit. 12 and the other is input to the U2 terminal and D2 terminal of the second difference frequency detection circuit 11 (2) as it is, and the first and second difference frequency detection circuits 11 (1) and 11 (2) Outputs of the Out1 terminal and Out2 terminal are respectively input as a set input to the set input terminal S of the set reset circuit 13 and as a reset input to the reset input terminal R, and the difference frequency output from the Q terminal of the set reset circuit 13 is 50% duty. Output in waveform It has a configuration that.
[0046]
FIG. 5 shows operation waveforms of the respective parts U1, D1, Out1, U2, D2, Out2, Out3 of this difference frequency detection circuit.
[0047]
That is, when a digital input signal indicated by U1 and D1 (frequency is higher than D1 in U1) in FIG. 5 is input to the U1 terminal and D1 terminal of the first differential frequency detection circuit 11 (1), The output of the difference frequency between U1 and D1 shown in Out1 of FIG. 5 is obtained from the Out1 terminal of the first difference frequency detection circuit 11 (1).
[0048]
Similarly, when a digital input signal indicated by U2 and D2 in FIG. 5 (frequency is higher than D2 in U2) is input to the U2 terminal and D2 terminal of the second differential frequency detection circuit 11 (2). The output of the difference frequency between U2 and D2 shown in Out2 of FIG. 5 is obtained from the Out2 terminal of the second difference frequency detection circuit 11 (2). Here, the signal U2 is a signal obtained by inverting the signal U1, and the signal D2 is the same signal as the signal D1.
[0049]
The outputs of the Out1 and Out2 terminals of the first and second differential frequency detection circuits 11 (1) and 11 (2) are reset to the set input terminal S and to the reset input terminal R of the set / reset circuit 13, respectively. When input as an input, the output of the difference frequency between the two digital input signals input to the input terminals A and B from the Q terminal of the set / reset circuit 13 is 50% duty as indicated by Out3 in FIG. Output in waveform.
[0050]
【The invention's effect】
According to the first aspect of the present invention, when it is detected that two adjacent rising edges of the other input signal have entered between two adjacent rising edges of one input signal, one pulse is output. Therefore, the difference frequency can be reliably extracted regardless of the frequencies of the two digital input signals .
[0051]
According to the invention described in claim 2, the difference frequency detecting circuit according to the invention described in claim 1 using two circuits, the phase difference of the output pulse has a configuration such that 180 degrees, 2 Regardless of the frequency of the two digital input signals, it is possible to reliably extract the difference frequency and output a waveform with a duty of 50%.
[0052]
Further, according to these inventions, the difference frequency can be surely extracted regardless of the frequencies of the two digital input signals, so that a new design of the band pass filter for each of the input frequency and the difference frequency as in the prior art. The effects of these inventions are great.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing a first example of an embodiment of a differential frequency detection circuit according to the present invention.
2 is an operation waveform diagram of rising edge signals of two digital input signals, a lower bit counter, and an upper bit counter in the difference frequency detection circuit shown in FIG. 1;
FIG. 3 is an operation waveform diagram of each part of the difference frequency detection circuit of this example.
FIG. 4 is a circuit diagram showing a second example of an embodiment of a differential frequency detection circuit according to the present invention.
5 is an operation waveform diagram of each part of the difference frequency detection circuit shown in FIG. 4; U1, D1, Out1, U2, U2, D2, Out2, and Out3.
[Explanation of symbols]
1A, 1B First and second rising edge extraction circuits 2A, 2B AND circuit 3A, 3B Not circuit 4 2-bit up / down counter 4A Lower bit counter 4B Upper bit counter 5 OR circuit 6 T flip-flop 7, 8 AND circuit 9 OR circuit 10 T flip-flop 11 (1) 1st difference frequency detection circuit 11 (2) 2nd difference frequency detection circuit 12 Not circuit 13 Set reset circuit

Claims (2)

2つのディジタル入力信号の立ち上がりエッジのみを取り出す立ち上がりエッジ取り出し回路と、前記立ち上がりエッジ取り出し回路から出力される2つのディジタル入力信号の各立ち上がりエッジ信号をアップ入力とダウン入力とする2ビットのアップダウンカウンタとを備え、前記2ビットのアップダウンカウンタは下位ビットカウンタと上位ビットカウンタとを有し、前記上位ビットカウンタの出力が前記下位ビットカウンタにセット入力として与えられると共に前記上位ビットカウンタにリセット入力として与えられ、前記上位ビットカウンタの出力が差周波数出力として出力される構成になっていることを特徴とする差周波数検出回路。A rising edge extraction circuit that extracts only rising edges of two digital input signals, and a 2-bit up / down counter that uses the rising edge signals of the two digital input signals output from the rising edge extraction circuit as up inputs and down inputs. The 2-bit up / down counter has a lower bit counter and an upper bit counter, and the output of the upper bit counter is given as a set input to the lower bit counter and as a reset input to the upper bit counter A difference frequency detection circuit, wherein the output of the upper bit counter is provided as a difference frequency output. 請求項1に記載の差周波数検出回路が2回路、第1の差周波数検出回路と第2の差周波数検出回路として用いられ、2つのディジタル入力信号が前記第1の差周波数検出回路に入力され、前記2つのディジタル入力信号のうち一方は反転して、他方はそのまま前記第2の差周波数検出回路に入力され、前記第1,第2の差周波数検出回路の出力がそれぞれセットリセット回路のセット入力及びリセット入力として入力され、前記セットリセット回路の出力を差周波数出力として出力する構成になっていることを特徴とする差周波数検出回路。The difference frequency detection circuit according to claim 1 is used as two circuits, a first difference frequency detection circuit and a second difference frequency detection circuit, and two digital input signals are input to the first difference frequency detection circuit. , One of the two digital input signals is inverted, and the other is directly input to the second difference frequency detection circuit, and the outputs of the first and second difference frequency detection circuits are respectively set to the set reset circuit. A difference frequency detection circuit which is inputted as an input and a reset input and is configured to output an output of the set reset circuit as a difference frequency output.
JP2002140120A 2002-05-15 2002-05-15 Difference frequency detection circuit Expired - Fee Related JP3999039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002140120A JP3999039B2 (en) 2002-05-15 2002-05-15 Difference frequency detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002140120A JP3999039B2 (en) 2002-05-15 2002-05-15 Difference frequency detection circuit

Publications (2)

Publication Number Publication Date
JP2003332898A JP2003332898A (en) 2003-11-21
JP3999039B2 true JP3999039B2 (en) 2007-10-31

Family

ID=29701074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002140120A Expired - Fee Related JP3999039B2 (en) 2002-05-15 2002-05-15 Difference frequency detection circuit

Country Status (1)

Country Link
JP (1) JP3999039B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011040592A1 (en) * 2009-09-30 2011-04-07 国立大学法人長崎大学 Frequency judgment device, voltage comparator circuit, and frequency measurement device

Also Published As

Publication number Publication date
JP2003332898A (en) 2003-11-21

Similar Documents

Publication Publication Date Title
JPH0129469B2 (en)
JP2006129452A (en) Frequency lock detector
JP3999039B2 (en) Difference frequency detection circuit
JPS6016145B2 (en) Clock signal extraction method
US5539786A (en) Digital circuit for generating a clock signal
US9363119B1 (en) FSK decoding using envelope comparison in the digital domain
JPH0314251B2 (en)
US5850161A (en) Digital FM demodulator using pulse generators
JPS62183247A (en) Phase modulation signal demodulating system
JPS5895447A (en) Clock regenerating circuit
TWI651935B (en) Non-return-to-zero (nrz) data lock detection system and method
US5712878A (en) Digital FSK modulator
JP5560646B2 (en) Oversampling circuit and serial communication system using the same
KR100289404B1 (en) Apparatus and method for reducing pattern jitter by using quasi locally symmetric wave signal
JPS6075152A (en) Cmi receiver
JPS6142895B2 (en)
SU801297A1 (en) Digital frequency discriminator
RU124098U1 (en) TACT SYNCHRONIZATION DEVICE DISCRIMINATOR
EP1983679A2 (en) Clock regeneration circuit
JPS6247030B2 (en)
JPH09294142A (en) Msk demodulation circuit
JP2017103548A (en) Transmitting device, receiving device, communication system and communication method
JPH08204692A (en) Clock timing extract method for transmission signal
JPH01162440A (en) Clock extracting circuit
JP2000332735A (en) Clock extract circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070404

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070620

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070808

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees