JPH05203685A - Input signal detection circuit - Google Patents

Input signal detection circuit

Info

Publication number
JPH05203685A
JPH05203685A JP1409692A JP1409692A JPH05203685A JP H05203685 A JPH05203685 A JP H05203685A JP 1409692 A JP1409692 A JP 1409692A JP 1409692 A JP1409692 A JP 1409692A JP H05203685 A JPH05203685 A JP H05203685A
Authority
JP
Japan
Prior art keywords
signal
frequency
circuit
input signal
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1409692A
Other languages
Japanese (ja)
Inventor
Takaaki Taniyama
隆昭 谷山
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP1409692A priority Critical patent/JPH05203685A/en
Publication of JPH05203685A publication Critical patent/JPH05203685A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify circuit constitution by eliminating the necessity of strictly removing noise components at the front stage of a frequency measuring circuit. CONSTITUTION:A counter circuit 9 measures the frequency of an input signal IN using a reference signal BP and agreement signals which are output from an AND gate 10 when the result of this measurement agrees with a predetermined frequency are counted by a register circuit 12. When the register circuit 12 counts three successive outputs of the agreement signals a judgement signal G is output from the AND gate 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、入力信号が所定の周
波数に一致した際に、入力信号が適正であると判定する
入力信号検出回路に関し、特に半導体集積回路内に構成
される入力信号検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input signal detection circuit for determining that an input signal is proper when the input signal matches a predetermined frequency, and more particularly to an input signal detection circuit formed in a semiconductor integrated circuit. Regarding the circuit.

【0002】[0002]

【従来の技術】例えば、電話機内において交換局から送
信される課金信号を検出する信号検出回路のように、ア
ナログ信号の入力の有無を検出する検出回路があり、こ
のような検出回路は一般に単一の半導体集積回路内に構
成されている。ところが、電話機の課金信号のように公
衆電話回線を介して入力される信号においてはノイズ成
分が乗り易く、このようなノイズ成分を放置すると正確
な入力信号の検出を安定して行うことができなくなる。
そこで、従来の入力信号検出回路では、入力信号の周波
数を計測する周波数カウンタ回路を備え、この周波数カ
ウンタ回路が所定の周波数を計測した際に適正な信号が
入力されたと判断するようにしている。この周波数カウ
ンタ回路には一般にアナログ信号がディジタルパルスに
変換されて入力されるが、この変換時にヒステリシスを
持つゼロクロス検出器を用いたり、ノイズ成分を除去す
るフィルタを内蔵することにより、アナログ信号を正確
にディジタルパルスに変換するようにしてノイズ成分の
影響を受けないようにしていた。
2. Description of the Related Art For example, there is a detection circuit for detecting the presence / absence of an analog signal input, such as a signal detection circuit for detecting a billing signal transmitted from an exchange in a telephone. It is configured in one semiconductor integrated circuit. However, a noise component is likely to be included in a signal input through a public telephone line, such as a billing signal of a telephone, and if such a noise component is left as it is, it becomes impossible to stably detect an accurate input signal. ..
Therefore, the conventional input signal detection circuit is provided with a frequency counter circuit for measuring the frequency of the input signal, and when this frequency counter circuit measures a predetermined frequency, it is determined that an appropriate signal has been input. Generally, an analog signal is converted into a digital pulse and input to this frequency counter circuit, but at the time of this conversion, a zero-cross detector with hysteresis is used, and a filter that removes noise components is built in to make the analog signal accurate. The digital pulse is converted into a digital pulse so that it is not affected by noise components.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
入力信号検出回路では、入力信号の周波数を検出する周
波数カウンタ回路は、一回のサンプリングで判定信号を
出力するようにしており、周波数カウンタ回路の前段に
おいてアナログ信号をディジタルパルスに変換する際の
ノイズ成分の除去を厳格に実行する必要があり、CMO
Sオペアンプを用いて安定なゼロクロス検出器を構成す
る必要があり、またゼロクロス検出器においてヒステリ
シスを持たせるための抵抗を備えなければならず、回路
構成が複雑化してパターン面積が大きくなり、集積回路
内に構成することが困難になる問題があった。これは、
フィルタ回路を構成する場合にも同様である。
However, in the conventional input signal detection circuit, the frequency counter circuit for detecting the frequency of the input signal outputs the determination signal by one sampling, and the frequency counter circuit It is necessary to strictly remove noise components when converting an analog signal into a digital pulse in the preceding stage.
It is necessary to form a stable zero-cross detector using an S operational amplifier, and a resistor for providing hysteresis in the zero-cross detector must be provided, which complicates the circuit configuration and increases the pattern area. There was a problem that it was difficult to configure within. this is,
The same applies to the case of configuring a filter circuit.

【0004】この発明の目的、入力信号の周波数を基準
信号に基づいて計測するとともに、この計測結果を連続
的に行い、計測した周波数が所定数連続して所定周波数
に一致した際に入力信号が適正であると判定することに
より、回路構成を簡略化して集積回路内におけるパター
ン面積を縮小することができる入力信号検出回路を提供
することにある。
An object of the present invention is to measure the frequency of an input signal on the basis of a reference signal and continuously perform the measurement result. When the measured frequency matches a predetermined number of times in succession, the input signal is An object of the present invention is to provide an input signal detection circuit which can simplify the circuit configuration and reduce the pattern area in the integrated circuit by determining that the input signal is appropriate.

【0005】[0005]

【課題を解決するための手段】この発明の入力信号検出
回路は、基準信号に基づいて入力信号の周波数を計測す
る周波数計測手段と、周波数計測手段の計測結果が所定
の周波数に一致した際に一致信号を出力する周波数判別
手段と、周波数判別手段からの一致信号の出力回数を連
続的に計数する計数手段と、計数手段が所定数連続して
一致信号の出力を計数した際に入力信号が適正であると
判定する判定手段と、を設けたことを特徴とする。
SUMMARY OF THE INVENTION An input signal detection circuit according to the present invention comprises a frequency measuring means for measuring the frequency of an input signal based on a reference signal and a frequency measuring means for measuring the frequency of the input signal when the measured result coincides with a predetermined frequency. The frequency discriminating means for outputting the coincidence signal, the counting means for continuously counting the number of times the coincidence signal is output from the frequency discriminating means, and the input signal when the counting means continuously counts the coincidence signal output by a predetermined number. And a determining unit that determines that the unit is appropriate.

【0006】[0006]

【作用】この発明においては、入力信号の周波数が基準
信号に基づいて計測され、この計測結果が所定の周波数
に一致した際に、周波数判別手段から一致信号が出力さ
れる。周波数判別手段から出力される一致信号は計数手
段において計測され、計数手段が所定数を継続して計測
した際に入力信号が適正であると判定される。したがっ
て周波数計測手段に対する入力に対して厳格なノイズ成
分の除去を必要とせず、ゼロクロス検出器やフィルタ回
路を備える必要がなく、回路構成が簡略化される。
According to the present invention, the frequency of the input signal is measured based on the reference signal, and when the measurement result matches the predetermined frequency, the coincidence signal is output from the frequency discriminating means. The coincidence signal output from the frequency determining means is measured by the counting means, and when the counting means continuously measures a predetermined number, the input signal is determined to be proper. Therefore, it is not necessary to strictly remove the noise component from the input to the frequency measuring means, and it is not necessary to provide a zero-cross detector or a filter circuit, and the circuit configuration is simplified.

【0007】[0007]

【実施例】図1は、この発明の実施例である入力信号検
出回路の構成を示す回路図である。また、図2は同入力
信号検出回路における各部の信号のタイミングチャート
である。入力信号検出回路1は1KHzのアナログ信号
の入力を検出する回路であり、周波数の計測サンプリン
グを3回連続して行うものである。アナログ入力信号I
Nはインバータ2によりディジタルパルスS1に変換さ
れ、1サイクル遅延用のDフリップフロップ3のデータ
端子に入力される。このフリップフロップ3はディジタ
ルパルスS1の正負を逆転するとともに、システムクロ
ックSCkの1周期分だけ遅延させた同期信号S2を出
力する。このディジタルパルスS1および同期信号S2
はNORゲート4およびANDゲート5に入力される。
1 is a circuit diagram showing the configuration of an input signal detecting circuit according to an embodiment of the present invention. Further, FIG. 2 is a timing chart of signals of respective parts in the input signal detection circuit. The input signal detection circuit 1 is a circuit that detects an input of an analog signal of 1 KHz, and performs frequency measurement sampling three times continuously. Analog input signal I
N is converted into a digital pulse S1 by the inverter 2 and input to the data terminal of the D flip-flop 3 for delaying one cycle. The flip-flop 3 inverts the positive / negative of the digital pulse S1 and outputs the synchronization signal S2 delayed by one cycle of the system clock SCk. This digital pulse S1 and synchronization signal S2
Is input to the NOR gate 4 and the AND gate 5.

【0008】NORゲート4はディジタルパルスS1お
よび同期信号S2の両方が“Lo”のときにのみ“H
i”となるカウントスタート信号CStを出力する。ま
た、ANDゲート5はディジタルパルスS1および同期
信号S2の両方が“Hi”のときに“Hi”となるカウ
ントストップ信号CSpを出力する。これらスタート信
号CStおよびストップ信号CSpはRSフリップフロ
ップ6に入力される。このRSフリップフロップ6はス
タート信号CStをセット信号、ストップ信号CSpを
リセット信号として所定の動作を行う。このRSフリッ
プフロップ6のQ出力はフリップフロップ7のデータ端
子に入力される。このフリップフロップ7はRSフリッ
プフロップ6のQ出力に応じて後述するカウント回路の
動作を制御するカウンリセット信号CRを出力する。
The NOR gate 4 is "H" only when both the digital pulse S1 and the synchronizing signal S2 are "Lo".
Then, the AND gate 5 outputs a count start signal CSt which becomes "i". The AND gate 5 outputs a count stop signal CSp which becomes "Hi" when both the digital pulse S1 and the synchronizing signal S2 are "Hi". The CSt and the stop signal CSp are input to the RS flip-flop 6. The RS flip-flop 6 performs a predetermined operation using the start signal CSt as a set signal and the stop signal CSp as a reset signal. The data is input to the data terminal of the flip-flop 7. The flip-flop 7 outputs a count reset signal CR for controlling the operation of the count circuit described later according to the Q output of the RS flip-flop 6.

【0009】カウンタ回路9は分周回路によって構成さ
れており、10KHzの基準信号BPを分周する。基準
信号BPはANDゲート8に入力される。ANDゲート
8は基準信号BPとカウントリセット信号CRとの論理
和を取ってカウンタ回路9に入力する。従って、カウン
タ回路9にはカウントリセット信号CRが“Hi”の状
態においてのみ基準信号BPをカウンタ回路9に入力す
る。カウンタ回路9の1段目および3段目の状態がAN
Dゲート10に入力される。従って、カウンタ回路9が
基準信号BPの5個のパルスを計数したときにカウンタ
回路9の1段目の出力C1および3段目の出力C3が
“Hi”になる。このカウンタ回路9のリセット端子に
は、ANDゲート11からリセット信号が供給される。
このANDゲート11は後述する判定信号Gの反転信
号、カウントリセット信号CRおよび起動直後における
回路状態を設定するオールクリア信号ACLの論理和を
取る。
The counter circuit 9 is composed of a frequency dividing circuit and divides the frequency of the 10 KHz reference signal BP. The reference signal BP is input to the AND gate 8. The AND gate 8 takes the logical sum of the reference signal BP and the count reset signal CR and inputs it to the counter circuit 9. Therefore, the reference signal BP is input to the counter circuit 9 only when the count reset signal CR is "Hi". The states of the first and third stages of the counter circuit 9 are AN
It is input to the D gate 10. Therefore, when the counter circuit 9 counts five pulses of the reference signal BP, the output C1 of the first stage and the output C3 of the third stage of the counter circuit 9 become "Hi". A reset signal is supplied from the AND gate 11 to the reset terminal of the counter circuit 9.
The AND gate 11 takes the logical sum of an inversion signal of a determination signal G, which will be described later, a count reset signal CR and an all clear signal ACL which sets the circuit state immediately after the activation.

【0010】判定信号Gは入力信号の判定前において
“Lo”であり、オールクリア信号ACLは起動時から
一定時間経過後常時“Hi”にされる。従って、AND
ゲート11は入力信号の判定前においてカウンタリセッ
ト信号CRが“Hi”の状態で動作する。
The determination signal G is "Lo" before the determination of the input signal, and the all clear signal ACL is always set to "Hi" after a lapse of a fixed time from the start. Therefore, AND
The gate 11 operates when the counter reset signal CR is "Hi" before the determination of the input signal.

【0011】カウンタ回路9の1段目の出力C1および
3段目の出力C3は共にANDゲート10に入力され
る。ANDゲート10はこの出力C1,C3の論理和を
取り、レジスタ回路12に入力する。従って、レジスタ
回路12には、カウントリセット信号CRが“Hi”の
状態であるカウンタ回路9の動作中において、基準信号
BPの周波数に基づいてカウンタ回路9が5を計数した
際に“Hi”の信号が入力される。レジスタ回路12は
カウンタ回路9の検出状態を記憶する3段のレジスタに
よって構成されており、各レジスタの出力B1〜B3が
ANDゲート13において論理和されて判定信号Gとし
て出力される。従って、カウンタ回路9の計数値が
“3”になったとき、レジスタの出力B1〜B3の全て
が“Hi”になり、ANDゲート13の出力である判定
出力Gが“Hi”になる。
The output C1 of the first stage and the output C3 of the third stage of the counter circuit 9 are both input to the AND gate 10. The AND gate 10 takes the logical sum of these outputs C1 and C3 and inputs it to the register circuit 12. Therefore, the register circuit 12 outputs "Hi" when the counter circuit 9 counts 5 based on the frequency of the reference signal BP during the operation of the counter circuit 9 in which the count reset signal CR is "Hi". A signal is input. The register circuit 12 is composed of three stages of registers that store the detection state of the counter circuit 9. The outputs B1 to B3 of each register are logically ORed in the AND gate 13 and output as the determination signal G. Therefore, when the count value of the counter circuit 9 becomes "3", all the outputs B1 to B3 of the register become "Hi", and the judgment output G which is the output of the AND gate 13 becomes "Hi".

【0012】なお、レジスタ12およびフリップフロッ
プ3には、判定信号Gが出力されたのちに解除信号AR
が入力され、この解除信号ARが“Hi”の状態におい
て動作を停止する。また、判定信号Gが“Hi”になる
とANDゲート11の出力が“Lo”になり、カウンタ
回路9の内容をリセットされて動作を停止する。
The register 12 and the flip-flop 3 output a decision signal G and then a release signal AR.
Is input, and the operation is stopped when the release signal AR is "Hi". Further, when the determination signal G becomes "Hi", the output of the AND gate 11 becomes "Lo", the contents of the counter circuit 9 are reset, and the operation is stopped.

【0013】以上のようにしてこの実施例においては、
入力信号INのディジタルパルスS1に同期するカウン
トリセット信号CRの周波数を10KHzの基準信号B
Pを用いてカウンタ回路9において計測し、この計測結
果が適正な入力信号周波数に一致した際にANDゲート
10から出力される一致信号(カウンタ9の3段目の出
力C3に等しい)の出力回数をレジスタ回路12におい
て連続的に計数し、一致信号の出力回数が“3”になっ
たときにANDゲート13から判定信号Gを出力するこ
とができる。
As described above, in this embodiment,
The frequency of the count reset signal CR synchronized with the digital pulse S1 of the input signal IN is set to the reference signal B of 10 KHz.
The number of times of output of the coincidence signal (equal to the output C3 of the third stage of the counter 9) output from the AND gate 10 when the measurement result coincides with the proper input signal frequency using P Can be continuously counted in the register circuit 12, and the judgment signal G can be output from the AND gate 13 when the number of output of the coincidence signal becomes “3”.

【0014】なお、レジスタ12における一致信号の出
力回数の計数値は“3”に限るものではない。
The count value of the number of times the match signal is output from the register 12 is not limited to "3".

【0015】[0015]

【発明の効果】この発明によれば、入力信号が適正であ
るか否かの判断を所定周波数のサンプリングを複数回連
続して行うことにより判断することができるため、サン
プリングを行う周波数計測回路に対する入力のノイズ成
分の除去を厳格に行う必要がなく、複雑な回路構成を排
除してパターン面積を減少することができる利点があ
る。
According to the present invention, it is possible to judge whether or not an input signal is proper by continuously sampling a predetermined frequency a plurality of times. There is an advantage that it is not necessary to strictly remove an input noise component, and a complicated circuit configuration can be eliminated to reduce a pattern area.

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

【図1】この発明の実施例である入力信号検出回路の構
成を示す回路図である。
FIG. 1 is a circuit diagram showing a configuration of an input signal detection circuit according to an embodiment of the present invention.

【図2】同入力信号検出回路の各部における信号のタイ
ミングチャートである。
FIG. 2 is a timing chart of signals in each unit of the input signal detection circuit.

【符号の説明】[Explanation of symbols]

1−入力信号検出回路 9−カウンタ回路(周波数計測手段) 12−レジスタ回路(計数手段) 13−ANDゲート(判定手段) 1-input signal detection circuit 9-counter circuit (frequency measuring means) 12-register circuit (counting means) 13-AND gate (determination means)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】基準信号に基づいて入力信号の周波数を計
測する周波数計測手段と、周波数計測手段の計測結果が
所定の周波数に一致した際に一致信号を出力する周波数
判別手段と、周波数判別手段からの一致信号の出力回数
を連続的に計数する計数手段と、計数手段が所定数連続
して一致信号の出力を計数した際に入力信号が適正であ
ると判定する判定手段と、を設けたことを特徴とする入
力信号検出回路。
1. A frequency measuring means for measuring a frequency of an input signal based on a reference signal, a frequency discriminating means for outputting a coincidence signal when a measurement result of the frequency measuring means coincides with a predetermined frequency, and a frequency discriminating means. And a determining means for continuously counting the number of times the coincidence signal is output from the device, and a determining means for determining that the input signal is proper when the counting means continuously counts the outputs of the coincidence signal by a predetermined number. An input signal detection circuit characterized by the above.
JP1409692A 1992-01-29 1992-01-29 Input signal detection circuit Pending JPH05203685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1409692A JPH05203685A (en) 1992-01-29 1992-01-29 Input signal detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1409692A JPH05203685A (en) 1992-01-29 1992-01-29 Input signal detection circuit

Publications (1)

Publication Number Publication Date
JPH05203685A true JPH05203685A (en) 1993-08-10

Family

ID=11851585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1409692A Pending JPH05203685A (en) 1992-01-29 1992-01-29 Input signal detection circuit

Country Status (1)

Country Link
JP (1) JPH05203685A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013102618A (en) * 2011-11-08 2013-05-23 Nippon Signal Co Ltd:The Train control device
JP2014077784A (en) * 2012-10-05 2014-05-01 Lsis Co Ltd Pulse signal shut-off frequency detector and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013102618A (en) * 2011-11-08 2013-05-23 Nippon Signal Co Ltd:The Train control device
JP2014077784A (en) * 2012-10-05 2014-05-01 Lsis Co Ltd Pulse signal shut-off frequency detector and method thereof
US9088286B2 (en) 2012-10-05 2015-07-21 Lsis Co., Ltd. Method and apparatus for detecting cut-off frequency of pulse signal

Similar Documents

Publication Publication Date Title
JPH01113692A (en) Person detection device
JPH05203685A (en) Input signal detection circuit
JPS5938776Y2 (en) Digital tone signal detector
JPS61207973A (en) Correlation type time difference meter
JP2553680B2 (en) Digital signal processing circuit
JP4122128B2 (en) Edge detection circuit
JPH0210915A (en) Polarity unification circuit for pulse signal
JPS60211372A (en) Phase difference detector
JP2818504B2 (en) Time measurement circuit
KR960010912B1 (en) Asic circuit for digital clock loss detection
JPH0317275Y2 (en)
JPH0121436Y2 (en)
JPH0395484A (en) Pace measuring apparatus of electronic time-piece
JPH0392777A (en) Clock evaluator
JPS6031062A (en) Pulse cycle measuring circuit
JPS598211Y2 (en) noise detection circuit
JPS6313503Y2 (en)
JPH01212368A (en) Pulse width measuring circuit
JP2961750B2 (en) Microcomputer
JPS5910584Y2 (en) Field brightness detection device
JPH08214185A (en) Unifying circuit for polarity of synchronizing signal
JPH11212663A (en) Clock signal interruption detecting circuit
JPH0554289A (en) Alarm signal detecting circuit
JPH04307372A (en) Edge detection circuit device
JPH0120393B2 (en)