JPS6310394B2 - - Google Patents
Info
- Publication number
- JPS6310394B2 JPS6310394B2 JP5758883A JP5758883A JPS6310394B2 JP S6310394 B2 JPS6310394 B2 JP S6310394B2 JP 5758883 A JP5758883 A JP 5758883A JP 5758883 A JP5758883 A JP 5758883A JP S6310394 B2 JPS6310394 B2 JP S6310394B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- frequency
- frequencies
- exclusive
- output
- 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
Links
- 230000010354 integration Effects 0.000 claims description 2
- 238000001514 detection method Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、2つのデジタル信号の周波数が一致
しているかどうか、または整数倍の関係にあるか
どうかを検出する回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a circuit that detects whether the frequencies of two digital signals match or are integer multiples.
従来例の構成とその問題点
従来、ひとつ信号の周波数をある固定した設定
値と比較する回路は容易に構成できるが、共に周
波数が変動する2つの信号の周波数を比較する場
合はかなり複雑な回路を必要とした。たとえば、
2つの信号を一定時間カウントし、カウント数を
デジタル比較回路で比較する方法、あるいは、各
信号の周波数を電圧に変換し、その電圧差により
判断する方法が知られているが、いずれも回路が
複雑で多くの回路素子を必要とし、また入力信号
の周波数範囲が限られるという欠点もあつた。Conventional configurations and their problems Conventionally, a circuit that compares the frequency of one signal with a fixed set value can be easily configured, but a circuit that compares the frequencies of two signals that both fluctuate in frequency requires a considerably complicated circuit. required. for example,
There are two known methods: counting two signals for a certain period of time and comparing the counts using a digital comparison circuit, or converting the frequency of each signal into a voltage and making a judgment based on the voltage difference, but in both cases, the circuit It is complex and requires many circuit elements, and also has the disadvantage that the frequency range of the input signal is limited.
発明の目的
本発明は、このような従来の問題を解決し、広
い周波数範囲の2つの入力信号に対して確実に作
動し、かつ簡単な回路構成で安価にできる周波数
比較回路を提供するものである。OBJECTS OF THE INVENTION The present invention solves these conventional problems and provides a frequency comparison circuit that operates reliably for two input signals in a wide frequency range and that can be manufactured at low cost with a simple circuit configuration. be.
発明の構成
本発明は、2つの入力信号それぞれに分周回路
を設け、それぞれ、8分の1または16分の1程度
に分周し、デユーテイー比がそれぞれ等しいパル
スを得、一方の出力パルスの立上りまたは立下り
により他方の分周回路を初期状態にリセツトする
ことにより、2つの入力信号の周波数が等しいと
き、2つの分周回路から位相もデユーテイー比も
ほとんど等しいパルスが出力されることを利用
し、この状態を排他的論理和回路で検出し、その
出力を積分回路で平滑して、その出力電圧をアナ
ログ比較回路で比較し、その結果入力信号の周波
数が一致しているか否かを判別するよう構成した
ものである。Structure of the Invention The present invention provides a frequency dividing circuit for each of two input signals, divides the frequency of each into about 1/8 or 1/16, obtains pulses with equal duty ratios, and outputs one of the output pulses. By resetting the other frequency divider circuit to its initial state at the rising or falling edge, it takes advantage of the fact that when the frequencies of the two input signals are equal, the two frequency dividers output pulses with almost equal phase and duty ratio. Then, this state is detected by an exclusive OR circuit, its output is smoothed by an integrator circuit, and the output voltage is compared by an analog comparator circuit, and as a result, it is determined whether or not the frequencies of the input signals match. It is configured to do so.
実施例の説明
以下、本発明の実施例について、添付図面によ
り詳述する。第1図において、1および2は4ビ
ツトバイナリカウンタ、3は排他的論理和回路、
4は表示用LEDを示す。R1,C1は微分回路を形
成しており、カウンタ2のクリア端子に接続され
ている第2図および第3図は、それぞれ入力信号
の周波数が等しい場合と異なる場合の第1図中の
A〜Fで記した点の信号のタイミングチヤートで
ある。DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In FIG. 1, 1 and 2 are 4-bit binary counters, 3 is an exclusive OR circuit,
4 indicates a display LED. R 1 and C 1 form a differentiating circuit, and are connected to the clear terminal of counter 2. Figures 2 and 3 show the same and different frequencies of the input signals in Figure 1, respectively. This is a timing chart of the signals at points A to F.
まず入力信号の周波数が等しいかもしくは、き
わめて近い場合について述べる。この場合、第1
図において、カウンタ1とカウンタ2の出力パル
スの周波数は等しくなり、またR1,C1の微分回
路により、カウンタ1の出力パルスの立下がりで
カウンタ2をクリアすることにより、位相につい
てもほぼ一致し、第2図に示すように、排他的論
理和回路3の出力信号Fは、デユーテイー比が最
大でも16分の1以下となり、積分回路R2,C2の
出力は非常に低レベルとなる。一方、2つの入力
信号の周波数が異なる場合は、第3図に示すよう
に、カウンタ2の出力信号Eは、信号Cに対して
デユーテイー比が大きく変化し、排他的論理和回
路3の出力信号Fはその分だけデユーテイー比が
増加し、積分回路R2,C2の出力電圧が上昇する。
第3図は、信号Aの周波数よりも信号Bの周波数
の方が低い場合を示しているが、その逆の場合も
信号Eの波形が信号Cの波形から大きくずれるた
め、信号Fのデユーテイー比はやはり大きくなつ
て積分回路の出力電圧は上昇する。積分回路R2,
C2の出力電圧が上昇すると、TR1がこれを検出
して表示用LED4が点灯し、2つの入力信号の周
波数がずれたことを表示できる。この実施例で
は、入力信号周波数の16分の1の周波数差が検知
限界となるが、分周用カウンタのビツト数を増加
させれば検知限界はさらに小さくできる。また、
カウンタ1とカウンタ2の分周比を変えれば、2
つの入力信号の周波数が一定の比になつた状態も
検出できる。 First, we will discuss the case where the frequencies of the input signals are equal or very close. In this case, the first
In the figure, the frequencies of the output pulses of counter 1 and counter 2 are equal, and by clearing counter 2 at the falling edge of the output pulse of counter 1 by the differentiating circuit of R 1 and C 1 , the phases are also almost the same. Therefore, as shown in Fig. 2, the duty ratio of the output signal F of the exclusive OR circuit 3 is at most 1/16 or less, and the outputs of the integration circuits R 2 and C 2 are at a very low level. . On the other hand, when the frequencies of the two input signals are different, as shown in FIG. The duty ratio of F increases by that amount, and the output voltages of the integrating circuits R 2 and C 2 increase.
Figure 3 shows a case where the frequency of signal B is lower than the frequency of signal A, but in the reverse case as well, the waveform of signal E deviates greatly from the waveform of signal C, so the duty ratio of signal F is As expected, the output voltage of the integrating circuit increases. Integrating circuit R 2 ,
When the output voltage of C 2 increases, TR 1 detects this and the indicator LED 4 lights up to indicate that the frequencies of the two input signals have shifted. In this embodiment, the detection limit is a frequency difference of 1/16 of the input signal frequency, but the detection limit can be further reduced by increasing the number of bits of the frequency dividing counter. Also,
If you change the division ratio of counter 1 and counter 2, 2
It is also possible to detect a state in which the frequencies of two input signals have a constant ratio.
発明の効果
前記実施例の説明より明らかなように本発明に
よる周波数比較回路は、原理的に2つの入力信号
周波数の比に基づいて動作するため、広い周波数
範囲にわたつて安定に動作し、しかも従来の方式
に比較してきわめて簡単な回路構成で実現でき、
PLL回路のロツク状態検知など、各種信号処理
回路における周波数検出の用途において実用性は
高い。Effects of the Invention As is clear from the description of the above embodiments, the frequency comparison circuit according to the present invention operates in principle based on the ratio of two input signal frequencies, and therefore operates stably over a wide frequency range. It can be realized with an extremely simple circuit configuration compared to conventional methods,
It is highly practical for frequency detection applications in various signal processing circuits, such as detecting the lock state of PLL circuits.
添付の図面は、本発明の実施例を示すもので、
第1図はその概略の回路図を示し、第2図、第3
図はそれぞれ、2つの入力信号の周波数が等しい
場合と異なる場合の第1図における各点のタイミ
ングチヤートを示したものである。
1および2……4ビツトバイナリカウンタ、3
……排他的論理和回路、4……表示用LED。
The accompanying drawings illustrate embodiments of the invention, and
Figure 1 shows its schematic circuit diagram, Figures 2 and 3
Each figure shows a timing chart at each point in FIG. 1 when the frequencies of the two input signals are equal and when the frequencies are different. 1 and 2...4-bit binary counter, 3
...Exclusive OR circuit, 4...Display LED.
Claims (1)
分の1に分周する分周回路A,Bと、前記分周回
路Aの出力パルスの立上りまたは立下りに周期し
て前記分周回路Bを初期状態にするリセツト回路
と、前記分周回路A,Bの各出力の排他的論理和
を出力する排他的論理和回路と、前記排他的論理
和回路の出力を平滑する積分回路と、前記積分回
路の出力がある設定値を越えた時動作する電圧比
較回路から構成されることを特徴とする周波数比
較回路。1 Frequency divider circuits A and B that divide the frequency of two digital signals by an integer, respectively, and frequency divider circuit B that is set to an initial state periodically at the rise or fall of the output pulse of the frequency divider circuit A. an exclusive OR circuit that outputs the exclusive OR of the respective outputs of the frequency divider circuits A and B; an integration circuit that smoothes the output of the exclusive OR circuit; A frequency comparison circuit comprising a voltage comparison circuit that operates when the output exceeds a certain set value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58057588A JPS59182374A (en) | 1983-03-31 | 1983-03-31 | Frequency comparing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58057588A JPS59182374A (en) | 1983-03-31 | 1983-03-31 | Frequency comparing circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59182374A JPS59182374A (en) | 1984-10-17 |
| JPS6310394B2 true JPS6310394B2 (en) | 1988-03-07 |
Family
ID=13059998
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58057588A Granted JPS59182374A (en) | 1983-03-31 | 1983-03-31 | Frequency comparing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59182374A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04124581A (en) * | 1990-09-14 | 1992-04-24 | Sanyo Electric Co Ltd | Refrigerator |
| JPH04126981A (en) * | 1990-09-17 | 1992-04-27 | Sanyo Electric Co Ltd | Refrigerator |
-
1983
- 1983-03-31 JP JP58057588A patent/JPS59182374A/en active Granted
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04124581A (en) * | 1990-09-14 | 1992-04-24 | Sanyo Electric Co Ltd | Refrigerator |
| JPH04126981A (en) * | 1990-09-17 | 1992-04-27 | Sanyo Electric Co Ltd | Refrigerator |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59182374A (en) | 1984-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6528982B1 (en) | Jitter detector, phase difference detector and jitter detecting method | |
| US6448757B2 (en) | Precise digital frequency detection | |
| US4902920A (en) | Extended range phase detector | |
| US4131856A (en) | Electrical synchronizing circuits | |
| US4204173A (en) | Tuning circuit with provisions for reducing pulse width jitter | |
| EP0177557B1 (en) | Counting apparatus and method for frequency sampling | |
| CN104378106A (en) | Programmable phase-locked loop locking detector and phase-locked loop circuit thereof | |
| US4100503A (en) | Correlative tracking system with lock indicator | |
| US4206414A (en) | Electrical synchronizing circuits | |
| FI105501B (en) | Digital phase comparator as well as a phase control circuit | |
| US5723989A (en) | Phase-measurement device | |
| US4068181A (en) | Digital phase comparator | |
| US4286223A (en) | Wideband digital frequency discriminator and phase and frequency detector | |
| US20100271073A1 (en) | Quarter cycle waveform detector | |
| JPS6310394B2 (en) | ||
| US4075577A (en) | Analog-to-digital conversion apparatus | |
| JPS62251674A (en) | Frequency abnormality detecting circuit | |
| GB2030745A (en) | Digital frequency quadrupler | |
| KR940000929B1 (en) | Digital Frequency Shift Keying Demodulation Circuit | |
| JP2687349B2 (en) | Digital PLL circuit | |
| SU1383495A2 (en) | Frequency divider with fractional division ratio | |
| SU1406718A1 (en) | Frequency-phase detector | |
| SU1415198A1 (en) | Digital phase meter of instantaneous values | |
| US7468601B2 (en) | Direct phase and frequency demodulation | |
| SU467387A1 (en) | Angle Code Transducer |