Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0769360B2 - Frequency detection circuit - Google Patents
[go: Go Back, main page]

JPH0769360B2 - Frequency detection circuit - Google Patents

Frequency detection circuit

Info

Publication number
JPH0769360B2
JPH0769360B2 JP62094444A JP9444487A JPH0769360B2 JP H0769360 B2 JPH0769360 B2 JP H0769360B2 JP 62094444 A JP62094444 A JP 62094444A JP 9444487 A JP9444487 A JP 9444487A JP H0769360 B2 JPH0769360 B2 JP H0769360B2
Authority
JP
Japan
Prior art keywords
circuit
pulse
frequency
capacitor
reset
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
Application number
JP62094444A
Other languages
Japanese (ja)
Other versions
JPS63261172A (en
Inventor
勇 森脇
数洋 森
Original Assignee
日本電気アイシーマイコンシステム株式会社
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 日本電気アイシーマイコンシステム株式会社 filed Critical 日本電気アイシーマイコンシステム株式会社
Priority to JP62094444A priority Critical patent/JPH0769360B2/en
Publication of JPS63261172A publication Critical patent/JPS63261172A/en
Publication of JPH0769360B2 publication Critical patent/JPH0769360B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は所定周波数以上の信号を検出する検出回路に関
するものである。
TECHNICAL FIELD The present invention relates to a detection circuit for detecting a signal having a predetermined frequency or higher.

〔従来の技術〕[Conventional technology]

従来、この種の周波数検出回路はワンショットマルチバ
イブレータ回路及び積分回路によって構成されるF−V
変換回路の出力を、非反転入力端子に基準の定電圧源を
接続したコンパレータの反転入力端子に接続し、前記コ
ンパレータの出力により周波数検出を行っている。
Conventionally, this type of frequency detection circuit is an FV composed of a one-shot multivibrator circuit and an integrating circuit.
The output of the conversion circuit is connected to the inverting input terminal of a comparator whose non-inverting input terminal is connected to a reference constant voltage source, and the frequency is detected by the output of the comparator.

第3図に従来の構成を示す。波形整形回路31と、ワンシ
ョットマルチバイブレータ回路32及び積分回路33により
構成されるF−V変換回路34と、このF−V変換回路34
の出力と定電圧源(Vref0)を入力とするヒステリシス
特性を持ったコンパレータ35とを備えた構成となってい
る。
FIG. 3 shows a conventional configuration. A waveform shaping circuit 31, an FV conversion circuit 34 including a one-shot multivibrator circuit 32 and an integration circuit 33, and an FV conversion circuit 34.
Output and a constant voltage source (V ref0 ) as an input and a comparator 35 having a hysteresis characteristic.

動作において、入力端子30にある周波数(f0)のパルス
数(PW0)が印加されると回路31を通り、回路32によっ
てPW0は第4図の様なパルス幅が一定のパルス波(PW1
に変換される。このパルス波PW1は回路33により直流電
圧(VCOUT)に変換される。この時、PW1の振幅
(VCC),PW1の一周期におけるハイレベル(TON),ロ
ウレベル(TOFF)とVCOUTの関係は で表わされ、第5図の様に周波数Hより変化する。
In operation, when the number of pulses (PW 0 ) of the frequency (f 0 ) at the input terminal 30 is applied, it passes through the circuit 31, and the circuit 32 causes the PW 0 to be a pulse wave with a constant pulse width (see FIG. 4). PW 1 )
Is converted to. This pulse wave PW 1 is converted into a DC voltage (V COUT ) by the circuit 33. At this time, the relation between the amplitude of PW 1 (V CC ), the high level (TON), the low level (TOFF) in one cycle of PW 1 and V COUT is And changes from frequency H as shown in FIG.

この特性を用いコンパレータ35の非反転入力端子に定電
圧源により検出周波数(TfH1)に応じた電圧(Vref0
を加え反転入力端子に加わるVCOUTとの関係が VCOUT≧Vref0 ……(2) となった時コンパレータ35の出力36にて第5図の様に周
波数を検出する様になっていた。
Using this characteristic, a voltage (V ref0 ) corresponding to the detection frequency (TfH 1 ) is applied to the non-inverting input terminal of the comparator 35 by a constant voltage source.
The relationship between the V COUT applied to the inverting input terminal had become as to detect the frequency as of FIG. 5 at the output 36 of the comparator 35 when a V COUT ≧ V ref0 ...... (2 ) was added.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

前述した従来の周波数検出回路においては回路33が抵抗
(RA)と一端が接地されているコンデンサ(CA)とで構
成されている為、CAの充放電によりVCOUTに時定数の分
だけ遅れが生じその結果、入力信号の周波数がTfH1に達
したことを示す比較器35の出力の発生が遅れるという欠
点がある。
In the conventional frequency detection circuit described above, since the circuit 33 is composed of the resistor (RA) and the capacitor (CA) whose one end is grounded, there is a delay in V COUT by the time constant due to the charging and discharging of CA. As a result, there is a drawback in that the generation of the output of the comparator 35, which indicates that the frequency of the input signal has reached TfH 1 , is delayed.

ここで、現実的な(集積回路における)周波数検出時間
の遅れを求めてみる。
Here, a realistic delay of the frequency detection time (in the integrated circuit) will be calculated.

第5図に示す様に、ある周波数(f1)が入力(IN)端子
に印加された時F−V変換回路34によって直流電圧に変
換されコンパレータ35の入力端子に印加される電圧をV1
とする。又f1が他のある周波数(f2)に急激に変化した
時F−V変換回路34によって直流電圧に変換されコンパ
レータの入力端子に印加される電圧をV2とすると入力周
波数が急激に変化した場合の応答時間Tは、 であるから で表わされる。
As shown in FIG. 5, when a certain frequency (f 1 ) is applied to the input (IN) terminal, the voltage converted to a DC voltage by the FV conversion circuit 34 and applied to the input terminal of the comparator 35 is V 1
And When f 1 suddenly changes to a certain frequency (f 2 ) and the voltage applied to the input terminal of the comparator is V 2 which is converted into a DC voltage by the F-V conversion circuit 34, the input frequency changes rapidly. The response time T when Because It is represented by.

ここで(3)式に現実の直を代入し応答時間Tを求めて
みる。
Now, try to find the response time T by substituting the real number into equation (3).

抵抗RA=1kΩ,コンデンサCA=16μF 直流電圧V1=0.5V,直流電圧V2=2.0Vとした場合を考え
ると となり、F−V変換回路34に積分回路33を用いた従来の
周波数検出回路は入力周波数の急激な変化に対して上記
の式で求めたT=22.2mSの応答の遅れを生じる。
Considering the case where resistance RA = 1kΩ, capacitor CA = 16μF DC voltage V 1 = 0.5V, DC voltage V 2 = 2.0V Therefore, the conventional frequency detecting circuit using the integrating circuit 33 in the FV converting circuit 34 causes a delay of the response of T = 22.2 mS obtained by the above equation with respect to the rapid change of the input frequency.

〔問題点を解決するための手段〕[Means for solving problems]

本発明による回路は、コンデンサと、このコンデンサを
入力パルス信号の第1の論理レベルの期間に充電し第2
の論理レベルの期間に放電する充放電回路と、第1およ
び第2の閾値を有し前記コンデンサの充放電電圧が前記
第1の閾値以上になるとリセットパルスを発生し前記コ
ンデンサの充放電電圧が前記第2の閾値以下になるとリ
セットパルスの発生を停止するコンパレータと、前記入
力パルス信号の前記第1の論理レベルから前記第2の論
理レベルへの変化に同期してセットパルスを発生する手
段と、前記リセットパルスをリセット端子に前記セット
パルスをセット端子にそれぞれうけるリセット優先型の
ラッチ回路とを備え、前記充放電回路の充放電時定数お
よび前記第1および第2の閾値は、前記入力パルス信号
の周波数が検出するべき周波数より以下のときは前記セ
ットパルスを包含するパルス幅のリセットパルスが発生
され前記検出すべき周波数より高いときは前記リセット
パルスが発生されないように設定されていることを特徴
とする。
A circuit according to the present invention comprises a capacitor and a second charge of the capacitor during a first logic level of the input pulse signal.
And a charging / discharging circuit that discharges during the period of the logic level, and a charging / discharging voltage of the capacitor is generated when the charging / discharging voltage of the capacitor having the first and second thresholds is equal to or higher than the first threshold. A comparator for stopping generation of a reset pulse when the voltage becomes equal to or lower than the second threshold value; and means for generating a set pulse in synchronization with a change of the input pulse signal from the first logic level to the second logic level. A reset-priority type latch circuit for receiving the reset pulse at the reset terminal and the set pulse at the set terminal, the charge / discharge time constant of the charge / discharge circuit and the first and second threshold values being the input pulse. When the frequency of the signal is lower than the frequency to be detected, a reset pulse having a pulse width including the set pulse is generated and the When higher frequencies are characterized by being set so that the reset pulse is not generated.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本願発明の一実施例を示しており、ICOM1〜ICO
M4は定電流源、Vref1およびVref2は定電圧源、Q1および
Q2はNPNトランジスタ、CpおよびChはコンデンサ、200お
よび300はヒステリシス特性を有するコンパレータ、INV
1〜INV3はインバータ回路、NOR1〜NOR4はノア回路であ
り、図示のように接続されている。SRはSRラッチ回路で
あり、qは入力端子fで入力パルス信号が供給されてい
る。m,nおよびpはそれぞれノア回路NOR4、コンパレー
タ300およびSRラッチ回路SRの出力である。
FIG. 1 shows an embodiment of the present invention, which is ICOM1 to ICO.
M4 is a constant current source, V ref1 and V ref2 are constant voltage sources, Q1 and
Q2 is NPN transistor, Cp and Ch are capacitors, 200 and 300 are comparators with hysteresis characteristics, INV
1 to INV3 are inverter circuits, and NOR1 to NOR4 are NOR circuits, which are connected as illustrated. SR is an SR latch circuit, and q is supplied with an input pulse signal at an input terminal f. m, n and p are the outputs of the NOR circuit NOR4, the comparator 300 and the SR latch circuit SR, respectively.

入力端子qへの入力パルス信号がロウレベルのとき、ト
ランジスタQ2がオンとなりコンデンサChは定電流源ICOM
4によって放電状態になっており、入力パルス信号がハ
イレベルへと変化することにより、トランジスタQ2はオ
フとなり、コンデンサChは定電流源ICOM3により充電さ
れる。コンデンサChの電圧VCHはコンパレータ300に入力
される。コンパレータ300は前述のとおりヒステリシス
特性を有するので、電圧VCHが高い方の閾値に達した時
点でコンパレータ300の出力pはハイレベルとなり、リ
セットパルスとしてSRラッチ回路SRに供給される。入力
パルス信号がロウレベルに反転することによりコンデン
サChは再び放電状態となり、その電圧VCHがコンパレー
タ300の低い方の閾値に達した時点でコンパレータ300の
出力pはロウレベルに反転する。コンパレータ300の前
述した高低両閾値は基準電圧Vref2にもとづき決定され
る。
When the input pulse signal to the input terminal q is low level, the transistor Q2 is turned on and the capacitor Ch is the constant current source ICOM.
When the input pulse signal changes to the high level, the transistor Q2 is turned off and the capacitor Ch is charged by the constant current source ICOM3. The voltage VCH of the capacitor Ch is input to the comparator 300. Since the comparator 300 has the hysteresis characteristic as described above, the output p of the comparator 300 becomes high level when the voltage VCH reaches the higher threshold value, and is supplied to the SR latch circuit SR as a reset pulse. When the input pulse signal is inverted to low level, the capacitor Ch is discharged again, and when the voltage VCH reaches the lower threshold of the comparator 300, the output p of the comparator 300 is inverted to low level. The above-mentioned high and low threshold values of the comparator 300 are determined based on the reference voltage V ref2 .

以上の動作はコンデンサCpについても同様に行われる。
すなわち、入力パルス信号のハイレベルによりコンデン
サCpと定電流源ICOM1によって充電され、その電圧がコ
ンパレータ200の高い方の閾値に達するとその出力はハ
イレベルとなる。入力パルス信号がロウレベルになる
と、コンデンサCpは放電され、その電圧がコンパレータ
200の低い方の閾値に達した時点でその出力はロウレベ
ルに変化する。コンパレータ200の出力はノア回路NOR1
に、インバータ回路INV3を介してノア回路NOR2にそれぞ
れ入力されるが、図示された入力パルス信号との接続お
よびノア回路NOR3およびNOR4との接続から明らかなとお
り、入力パルス信号がロウレベルであってコンパレータ
200の出力がハイレベルの期間のみ、ノア回路NOR4の出
力はハイレベルとなり、セットパルスとしてSRラッチ回
路SRに供給される。SRラッチ回路SRはリセット優先型で
ある。すなわち、そのセット端子Sおよびリセット端子
Rが両方ともハイレベルのときは、リセットが優先され
その出力はロウレベルとなる。
The above operation is similarly performed for the capacitor Cp.
That is, the capacitor Cp and the constant current source ICOM1 are charged by the high level of the input pulse signal, and when the voltage reaches the higher threshold of the comparator 200, its output becomes the high level. When the input pulse signal goes low, the capacitor Cp is discharged and its voltage is
When the lower threshold of 200 is reached, the output goes low. The output of the comparator 200 is the NOR circuit NOR1.
Input to the NOR circuit NOR2 via the inverter circuit INV3, respectively.
Only when the output of 200 is at high level, the output of NOR circuit NOR4 is at high level and is supplied to the SR latch circuit SR as a set pulse. The SR latch circuit SR is a reset priority type. That is, when both the set terminal S and the reset terminal R are at the high level, the reset is prioritized and the output is at the low level.

かかる構成において、入力パルス信号の周波数が検出点
となる周波数よりも高くなると、その状態がSRラッチ回
路SRのハイレベル出力として出力されるように各回路定
数が設定されている。これは、入力パルス信号の周波数
が検出すべき周波数より大きいときはそのハイレベル期
間(パルス幅)は小さくなり、検出すべき周波数より小
さいときはそのハイレベル期間(パルス幅)は大きくな
ることを利用して行っている。すなわち、入力パルス信
号のハイレベル期間が、検出点となる周波数に対応する
ハイレベル期間TfH2よりも長くなるとSRラッチ回路SRの
出力はハイレベルとなる。
In such a configuration, each circuit constant is set so that when the frequency of the input pulse signal becomes higher than the frequency at the detection point, the state is output as the high level output of the SR latch circuit SR. This means that when the frequency of the input pulse signal is higher than the frequency to be detected, its high level period (pulse width) becomes small, and when it is lower than the frequency to be detected, its high level period (pulse width) becomes large. I am using it. That is, when the high level period of the input pulse signal becomes longer than the high level period TfH2 corresponding to the frequency serving as the detection point, the output of the SR latch circuit SR becomes the high level.

詳述すると、第2図に、入力パルス信号のハイレベル期
間t1が、TfH2<t1、TfH2=t1およびTfH2>t1の3つの状
態のときのタイミング波形図を示すように、まず、TfH2
<t1のときを考えると、入力パルス信号のハイレベル期
間が長いので、コンデンサChの電圧VCHはコンパレータ3
00の高閾値を充分に越えたものとなり、図示のように幅
の広いリセットパルス(p)が得られる。入力パルス信
号のロウレベルへの反転に同期してノア回路NOR4からセ
ットパルス(m)が出力されるが、リセットパルスの出
力期間中になくなるので、SRリセット回路SRはリセット
状態のままとなる。
More specifically, as shown in FIG. 2, the timing waveform diagram when the high level period t1 of the input pulse signal is in three states of TfH2 <t1, TfH2 = t1 and TfH2> t1 is shown in FIG.
Considering the case of <t1, since the high level period of the input pulse signal is long, the voltage VCH of the capacitor Ch is
The high threshold value of 00 is sufficiently exceeded, and a wide reset pulse (p) is obtained as shown in the figure. The set pulse (m) is output from the NOR circuit NOR4 in synchronization with the inversion of the input pulse signal to the low level, but since it disappears during the output period of the reset pulse, the SR reset circuit SR remains in the reset state.

入力パルス信号のハイレベル期間t1がTfH2=t1となる
と、入力パルス信号のハイレベル期間に充電されたコン
デンサChの充電電圧VCHがコンパレータ300の高閾値に一
致するようにコンデンサChおよび電流源ICOM3の定数が
設定されているので、図示のとおり比較的狭い幅のリセ
ットパルス(p)がえられる。このとき、リセットパル
ス(m)も発生するが、このパルスがリセットパルス
(p)で完全に包含されるように、コンデンサCp、電流
源ICOM1および基準電圧Vref1が設定されているので、SR
ラッチ回路SRはリセットのままである。
When the high level period t1 of the input pulse signal becomes TfH2 = t1, the charging voltage VCH of the capacitor Ch charged during the high level period of the input pulse signal is adjusted so that the charging voltage VCH of the capacitor Ch matches the high threshold of the comparator 300 and the current source ICOM3. Since the constant is set, a reset pulse (p) having a relatively narrow width can be obtained as shown in the figure. At this time, a reset pulse (m) is also generated, but since the capacitor Cp, the current source ICOM1 and the reference voltage V ref1 are set so that this pulse is completely included in the reset pulse (p), SR
The latch circuit SR remains reset.

入力パルス信号のハイレベル期間t1がTfH2よりも小さく
なると、コンパレータ300の出力はロウレベルのままと
なり、一方、コンパレータ200の出力にはハイレベルが
得られるように各定数が設定されているので、SRラッチ
回路SRはセットされその出力(m)とハイレベルに反転
する。このときの検出の遅れはノア回路インバータ回路
の遅れであり通常10nsecとなる。
When the high level period t1 of the input pulse signal becomes shorter than TfH2, the output of the comparator 300 remains low level, while the constants are set so that the output of the comparator 200 can obtain high level. The latch circuit SR is set and its output (m) is inverted to high level. The detection delay at this time is the delay of the NOR circuit inverter circuit and is usually 10 nsec.

〔発明の効果〕〔The invention's effect〕

以上説明した回路を用いる事により、本発明は従来F−
V変換回路内におけるコンデンサの充放電による周波数
検出の遅れが数10mS生じていたのに対し回路内のインバ
ータ回路,ノア回路のみの遅れ(通常数10nS)になり、
きわめて周波数検出における応答時間の遅れをいちじる
しく少なくする効果がある。
By using the circuit described above, the present invention is a conventional F-
The delay in frequency detection due to charging / discharging of the capacitor in the V conversion circuit was several tens of mS, whereas the delay was only in the inverter circuit and NOR circuit in the circuit (normally several tens nS).
This has the effect of significantly reducing the delay in response time in frequency detection.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示す回路図、第2図は第1
図におけるタイミングチャート、第3図は従来例図、第
4図および第5図は第3図におけるタイミングチャート
及びF−Vグラフとタイミングチャートである。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG.
FIG. 3 is a timing chart in the figure, FIG. 3 is a conventional example, and FIGS. 4 and 5 are a timing chart, an FV graph and a timing chart in FIG.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】コンデンサと、前記コンデンサを入力パル
ス信号の第1の論理レベルの期間に充電し第2の論理レ
ベルの期間に放電する充放電回路と、第1および第2の
閾値を有し前記コンデンサの充放電電圧が前記第1の閾
値以上になるとリセットパルスを発生し前記コンデンサ
の充放電電圧が前記第2の閾値以下になるとリセットパ
ルスの発生を停止するコンパレータと、前記入力パルス
信号の前記第1の論理レベルから前記第2の論理レベル
への変化に同期してセットパルスを発生する手段と、前
記リセットパルスをリセット端子に前記セットパルスを
セット端子にそれぞれうけるリセット優先型のラッチ回
路とを備え、前記充放電回路の充放電時定数および前記
第1および第2の閾値は、前記入力パルス信号の周波数
が検出するべき周波数以下のときは前記セットパルスを
包含するパルス幅のリセットパルスが発生され前記検出
すべき周波数より高いときは前記リセットパルスが発生
されないように設定されていることを特徴とする周波数
検出回路。
1. A capacitor, a charging / discharging circuit for charging the capacitor during a period of a first logic level of an input pulse signal, and discharging the capacitor during a period of a second logic level, and first and second threshold values. A comparator for generating a reset pulse when the charge / discharge voltage of the capacitor is equal to or higher than the first threshold value, and stopping the generation of the reset pulse when the charge / discharge voltage of the capacitor is equal to or lower than the second threshold value; Means for generating a set pulse in synchronization with the change from the first logic level to the second logic level, and a reset-priority type latch circuit for receiving the reset pulse at the reset terminal and the set pulse at the set terminal, respectively. And a charging / discharging time constant of the charging / discharging circuit and the first and second thresholds are set to a frequency to be detected by the frequency of the input pulse signal. Frequency detection circuit, characterized in that when higher than the frequency to be the detection reset pulse having a pulse width including the set pulse is generated is set such that the reset pulse is not generated when the number below.
JP62094444A 1987-04-17 1987-04-17 Frequency detection circuit Expired - Lifetime JPH0769360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62094444A JPH0769360B2 (en) 1987-04-17 1987-04-17 Frequency detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62094444A JPH0769360B2 (en) 1987-04-17 1987-04-17 Frequency detection circuit

Publications (2)

Publication Number Publication Date
JPS63261172A JPS63261172A (en) 1988-10-27
JPH0769360B2 true JPH0769360B2 (en) 1995-07-26

Family

ID=14110429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62094444A Expired - Lifetime JPH0769360B2 (en) 1987-04-17 1987-04-17 Frequency detection circuit

Country Status (1)

Country Link
JP (1) JPH0769360B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5660000B2 (en) * 2011-10-18 2015-01-28 株式会社デンソー Frequency measuring device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866367U (en) * 1981-10-30 1983-05-06 日本電気ホームエレクトロニクス株式会社 Pulse period discrimination circuit

Also Published As

Publication number Publication date
JPS63261172A (en) 1988-10-27

Similar Documents

Publication Publication Date Title
JPH07332917A (en) Electrostatic capacity type sensor
CN114221640A (en) Crystal oscillator output stability judging and controlling circuit
JPH0456488B2 (en)
CN111654267B (en) an adjustable pulse generator
US6081137A (en) Frequency detecting circuit
JPH0315714B2 (en)
JPH0769360B2 (en) Frequency detection circuit
US4264879A (en) Interval timer circuit relaxation oscillator
KR20000023072A (en) A pulse generating apparatus
EP0412724A2 (en) Signal converter for converting analog signal into pulses
CN116599500B (en) Voltage gain signal detection device and method
CN103346783B (en) A kind of quickly frequency discrimination method and quickly descriminator
JP3132611B2 (en) Trigger circuit
JPH0810240B2 (en) Frequency detection circuit
JP2545001Y2 (en) Comparison circuit
KR920002424B1 (en) Frequency detection circuit
JP2717829B2 (en) Timer device
JPS6218993Y2 (en)
JPH077024B2 (en) Frequency difference detector and Doppler frequency detector
JPH0726980B2 (en) Peak detection circuit
JPH04265012A (en) Power-on resetting circuit
JPS6091714A (en) Signal detecting circuit
JP3010708B2 (en) Pulse generator
JPH0230931Y2 (en)
SU1064431A2 (en) Single-shot multivibrator