JPH08313566A - Frequency detector - Google Patents

Frequency detector

Info

Publication number
JPH08313566A
JPH08313566A JP12509795A JP12509795A JPH08313566A JP H08313566 A JPH08313566 A JP H08313566A JP 12509795 A JP12509795 A JP 12509795A JP 12509795 A JP12509795 A JP 12509795A JP H08313566 A JPH08313566 A JP H08313566A
Authority
JP
Japan
Prior art keywords
counter
frequency
detector
frequency detector
timer
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
JP12509795A
Other languages
Japanese (ja)
Inventor
Ken Ono
建 小野
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.)
TEC CORP
Original Assignee
TEC 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 TEC CORP filed Critical TEC CORP
Priority to JP12509795A priority Critical patent/JPH08313566A/en
Publication of JPH08313566A publication Critical patent/JPH08313566A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To simplify the constitution of a frequency detector so as to reduce the cost of the detector by providing a detector adaptable to such a case that the frequencies of monotone signals to be detected are different from each other. CONSTITUTION: A comparator 14 converts inputted analog signals into rectangular-wave digital signals. A counter 15 inputs the digital signals and obtains a count value by counting the number of the leading edges of the signals only during prescribed operating time set in a timer 19. A control section 18 calculates the received frequency from the count value and operating time of the counter 15.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力された信号の周波
数を検出する周波数検出器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency detector for detecting the frequency of an input signal.

【0002】[0002]

【従来の技術】従来、例えば、図4に示す周波数検出器
が知られている。この周波数検出器は、例えば、ファク
シミリ装置に備えられ、電話回線を介して受信したアナ
ログの単一のトーン信号の周波数を検出するようになっ
ている。また、この周波数検出器は、アナログ信号が入
力されるバンドパスフィルタ1と、このバンドパスフィ
ルタ1の出力端子が接続されるエネルギ検出器2と、こ
のエネルギ検出器2の出力端子が接続されるとともに、
バンドパスフィルタ1のフィルタ係数を設定する制御部
3とを備えている。そして、この周波数検出器では、制
御部3が、検出しようとする周波数に応じてバンドパス
フィルタ1のフィルタ係数を設定し、バンドパスフィル
タ1およびエネルギ検出器2を介して出力される値を判
定することにより、特定の周波数の入力があったかどう
かを検出するようになっている。
2. Description of the Related Art Conventionally, for example, a frequency detector shown in FIG. 4 has been known. This frequency detector is provided in, for example, a facsimile machine, and detects the frequency of an analog single tone signal received via a telephone line. Further, the frequency detector is connected to a bandpass filter 1 to which an analog signal is input, an energy detector 2 to which an output terminal of the bandpass filter 1 is connected, and an output terminal of the energy detector 2. With
The control unit 3 sets the filter coefficient of the bandpass filter 1. In this frequency detector, the control unit 3 sets the filter coefficient of the bandpass filter 1 according to the frequency to be detected, and determines the value output via the bandpass filter 1 and the energy detector 2. By doing so, it is possible to detect whether or not there is an input of a specific frequency.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、複数の単一トーンの周波数を検出する場
合には、複数の周波数検出器を備える必要があり、回路
規模が大きくなってコストが上昇するなどの問題を有し
ている。
However, in the above-mentioned conventional configuration, in order to detect the frequencies of a plurality of single tones, it is necessary to provide a plurality of frequency detectors, which increases the circuit scale and reduces the cost. It has problems such as rising prices.

【0004】本発明は、このような点に鑑みなされたも
ので、簡略な構成で複数の周波数を検出できる周波数検
出器を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a frequency detector capable of detecting a plurality of frequencies with a simple structure.

【0005】[0005]

【課題を解決するための手段】本発明の周波数検出器
は、入力された信号を矩形波に変換する矩形波変換手段
と、この矩形波変換手段が出力した矩形波の数を計測す
るカウンタと、このカウンタの動作時間を計るタイマー
と、前記カウンタの計測結果および前記タイマーが計る
動作時間から周波数を算出する制御部とを備えたもので
ある。
A frequency detector of the present invention comprises a rectangular wave converting means for converting an input signal into a rectangular wave, and a counter for measuring the number of rectangular waves output by the rectangular wave converting means. A timer for measuring the operation time of the counter and a control unit for calculating the frequency from the measurement result of the counter and the operation time of the timer are provided.

【0006】[0006]

【作用】本発明の周波数検出器では、入力された信号
は、矩形波変換手段により矩形波に変換される。そし
て、この矩形波の数を、タイマーが計る動作時間の間、
カウンタが計測する。そして、カウンタの計測結果と動
作時間とから、制御部が周波数を算出する。
In the frequency detector of the present invention, the input signal is converted into a rectangular wave by the rectangular wave converting means. And the number of this square wave, during the operation time that the timer measures,
The counter measures. Then, the control unit calculates the frequency from the measurement result of the counter and the operation time.

【0007】[0007]

【実施例】以下、本発明の周波数検出器の一実施例の構
成を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The construction of one embodiment of the frequency detector of the present invention will be described below with reference to the drawings.

【0008】図1において、11は周波数検出器で、この
周波数検出器11は、例えば、ファクシミリ装置に備えら
れ、公衆電話回線を介して受信したアナログのトーン信
号の周波数を検出するいわゆるトーン検出器として機能
するようになっている。
In FIG. 1, reference numeral 11 denotes a frequency detector. This frequency detector 11 is provided in, for example, a facsimile machine and is a so-called tone detector for detecting the frequency of an analog tone signal received through a public telephone line. It is supposed to function as.

【0009】そして、この周波数検出器11は、公衆電話
回線などに接続されるアナログ入力端子12を備え、この
アナログ入力端子12が、矩形波変換手段としてのコンパ
レータ14の入力端子に接続されている。そして、このコ
ンパレータ14は、閾値となる基準電圧が0Vに設定さ
れ、出力は、図2に示すように、入力された信号が0V
以上の正の状態でHとなる一方、負の状態でLとなり、
入力されたアナログ信号をデジタルの矩形波に変換して
出力する。
The frequency detector 11 has an analog input terminal 12 connected to a public telephone line or the like, and the analog input terminal 12 is connected to an input terminal of a comparator 14 as a rectangular wave converting means. . Then, in the comparator 14, the reference voltage as a threshold is set to 0V, and the output is 0V when the input signal is 0V, as shown in FIG.
In the above positive state, it becomes H, while in the negative state it becomes L,
It converts the input analog signal into a digital rectangular wave and outputs it.

【0010】また、このコンパレータ14の出力端子は、
カウンタ15の入力端子に接続され、このカウンタ15が、
矩形波の立ち上がりのエッジの数を計測するようになっ
ている。そして、このカウンタ15の計測結果であるカウ
ンタ値を出力するカウンタ値出力部16の出力端子が、制
御部18の入力端子に接続されている。
The output terminal of the comparator 14 is
It is connected to the input terminal of the counter 15, and this counter 15
It is designed to measure the number of rising edges of a rectangular wave. The output terminal of the counter value output unit 16 that outputs the counter value that is the measurement result of the counter 15 is connected to the input terminal of the control unit 18.

【0011】また、この制御部18は、タイマー19に接続
され、制御部18がこのタイマー19の動作を制御して設定
を行うとともに、このタイマー19から入力されるデータ
により、カウンタ15の動作時間T0が管理されるようにな
っている。さらに、この制御部18の出力端子が、カウン
タ15のイネーブル端子(ENABLE)およびクリア端子(CLEA
R) に接続されている。そして、カウンタ15は、イネー
ブル端子がオンの状態でのみ計測動作を行い、また、ク
リア端子がオンになると、カウンタ値をクリアするよう
になっている。
Further, the control unit 18 is connected to a timer 19, and the control unit 18 controls the operation of the timer 19 for setting and the operation time of the counter 15 is set by the data input from the timer 19. T0 is managed. Further, the output terminal of the control unit 18 is the enable terminal (ENABLE) and the clear terminal (CLEA) of the counter 15.
R). Then, the counter 15 performs the measurement operation only when the enable terminal is on, and clears the counter value when the clear terminal is on.

【0012】次に、図3のフローチャートを参照して、
この周波数検出器11の動作を説明する。
Next, referring to the flowchart of FIG.
The operation of the frequency detector 11 will be described.

【0013】まず、制御部18は、カウンタ15のクリア端
子をオンして、カウンタ値をクリアする(ステップ
1)。
First, the control unit 18 turns on the clear terminal of the counter 15 to clear the counter value (step 1).

【0014】続いて、制御部18は、タイマー19の値をク
リアし、このタイマー19をスタートさせるとともに、カ
ウンタ15のイネーブル端子をオンにする(ステップ
2)。そして、この状態を、タイマー19の値が所定のT0
秒になるまで保持し、この間に、コンパレータ14から出
力される矩形波の立ち上がりのエッジの数を計測する
(ステップ3)。
Subsequently, the control unit 18 clears the value of the timer 19, starts the timer 19, and turns on the enable terminal of the counter 15 (step 2). Then, in this state, the value of the timer 19 is T0
The number of rising edges of the rectangular wave output from the comparator 14 is measured during this period (step 3).

【0015】そして、タイマー19の値がT0秒になった時
点で、カウンタ15のイネーブル端子をオフにして(ステ
ップ4)、計測を終了する。
When the value of the timer 19 reaches T0 seconds, the enable terminal of the counter 15 is turned off (step 4) and the measurement is completed.

【0016】この状態で、制御部18は、カウンタ値出力
部16から、計測したエッジの数であるカウンタ値Xを読
みだし(ステップ5)、周波数f[Hz] =X/T0 [秒] の
式に代入して、受信した周波数を算出し、所定の周波数
であるかを検出することができる(ステップ6)。
In this state, the control unit 18 reads the counter value X, which is the number of measured edges, from the counter value output unit 16 (step 5) and sets the frequency f [Hz] = X / T0 [second]. By substituting into the formula, the received frequency can be calculated and it can be detected whether it is a predetermined frequency (step 6).

【0017】このように、本実施例の周波数検出器11に
よれば、一定時間だけカウンタ15を動作させ、このとき
のカウンタ値と動作時間から、受信した信号の周波数を
算出できるため、検出する単一トーン信号の周波数が同
時に複数種ある場合にも1個の装置で対応でき、構成を
簡略化して製造コストを低減できるとともに、装置を小
型化することができる。
As described above, according to the frequency detector 11 of the present embodiment, the counter 15 is operated only for a certain period of time, and the frequency of the received signal can be calculated from the counter value and the operating time at this time. Even when there are a plurality of frequencies of a single tone signal at the same time, a single device can be used, the configuration can be simplified, the manufacturing cost can be reduced, and the device can be downsized.

【0018】なお、上記の実施例では、カウンタ15は、
入力された矩形波の立ち上がりのエッジを計測したが、
例えば、立ち下がりのエッジの数を計測してもよい。
In the above embodiment, the counter 15 is
I measured the rising edge of the input square wave,
For example, the number of falling edges may be measured.

【0019】[0019]

【発明の効果】本発明の周波数検出器によれば、入力さ
れた信号を、矩形波変換手段により矩形波に変換し、こ
の矩形波の数を、タイマーが計る動作時間の間、カウン
タが計測して、これらカウンタの計測結果と動作時間と
から、制御部により周波数を算出できる。そこで、検出
する信号の周波数が同時に複数ある場合などにも一個の
装置で対応でき、構成を簡略化してコストを低減するこ
とができる。
According to the frequency detector of the present invention, the input signal is converted into a rectangular wave by the rectangular wave converting means, and the number of this rectangular wave is measured by the counter during the operation time of the timer. Then, the frequency can be calculated by the control unit from the measurement result of these counters and the operating time. Therefore, even when there are a plurality of frequencies of signals to be detected at the same time, one device can be used, and the configuration can be simplified and the cost can be reduced.

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

【図1】本発明の周波数検出器の一実施例を示す構成図
である。
FIG. 1 is a configuration diagram showing an embodiment of a frequency detector of the present invention.

【図2】同上周波数検出器のコンパレータの入力信号お
よび出力信号を示す波形図である。
FIG. 2 is a waveform diagram showing an input signal and an output signal of the comparator of the frequency detector.

【図3】同上周波数検出器の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing the operation of the frequency detector of the above.

【図4】従来の周波数検出器を示す構成図である。FIG. 4 is a configuration diagram showing a conventional frequency detector.

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

11 周波数検出器 14 矩形波変換手段としてのコンパレータ 15 カウンタ 18 制御部 19 タイマー 11 Frequency detector 14 Comparator as a rectangular wave converter 15 Counter 18 Controller 19 Timer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力された信号を矩形波に変換する矩形
波変換手段と、 この矩形波変換手段が出力した矩形波の数を計測するカ
ウンタと、 このカウンタの動作時間を計るタイマーと、 前記カウンタの計測結果および前記タイマーが計る動作
時間から周波数を算出する制御部とを備えたことを特徴
とする周波数検出器。
1. A rectangular wave conversion means for converting an input signal into a rectangular wave, a counter for measuring the number of rectangular waves output by the rectangular wave conversion means, and a timer for measuring the operating time of the counter, A frequency detector comprising: a control unit that calculates a frequency from a measurement result of a counter and an operation time measured by the timer.
JP12509795A 1995-05-24 1995-05-24 Frequency detector Pending JPH08313566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12509795A JPH08313566A (en) 1995-05-24 1995-05-24 Frequency detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12509795A JPH08313566A (en) 1995-05-24 1995-05-24 Frequency detector

Publications (1)

Publication Number Publication Date
JPH08313566A true JPH08313566A (en) 1996-11-29

Family

ID=14901785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12509795A Pending JPH08313566A (en) 1995-05-24 1995-05-24 Frequency detector

Country Status (1)

Country Link
JP (1) JPH08313566A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003075497A (en) * 2001-09-03 2003-03-12 Hioki Ee Corp Cable-inspecting apparatus
JP2003534702A (en) * 2000-05-24 2003-11-18 インフィネオン テヒノロギーズ アーゲー Apparatus and method for confirming reception of signal of predetermined frequency
WO2012014338A1 (en) * 2010-07-26 2012-02-02 多摩川精機株式会社 Actuator control system and actuator system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003534702A (en) * 2000-05-24 2003-11-18 インフィネオン テヒノロギーズ アーゲー Apparatus and method for confirming reception of signal of predetermined frequency
JP2003075497A (en) * 2001-09-03 2003-03-12 Hioki Ee Corp Cable-inspecting apparatus
WO2012014338A1 (en) * 2010-07-26 2012-02-02 多摩川精機株式会社 Actuator control system and actuator system
JP2012029508A (en) * 2010-07-26 2012-02-09 Tamagawa Seiki Co Ltd Actuator control system and actuator system
CN102511124A (en) * 2010-07-26 2012-06-20 多摩川精机株式会社 Actuator control system and actuator system
US20120187885A1 (en) * 2010-07-26 2012-07-26 Tamagawa Seiki Co., Ltd. Actuator control system and actuator system
CN102511124B (en) * 2010-07-26 2015-09-30 多摩川精机株式会社 Actuator control system and actuator system
US9166503B2 (en) 2010-07-26 2015-10-20 Tamagawa Seiki Co., Ltd. Actuator control system and actuator system

Similar Documents

Publication Publication Date Title
JP2851036B2 (en) Method and apparatus for removing noise in acoustic transducer
JPS63169571A (en) Tone detector
JPH08313566A (en) Frequency detector
JP2003308131A (en) Clock monitoring device
JP3275752B2 (en) Level meter device
JP2613299B2 (en) Communication device
JP2746634B2 (en) Tone signal detection device
JP2923979B2 (en) Frequency detection circuit
RU62270U1 (en) SELF-SERVICE TERMINAL WITH TOUCH SCREEN
JP3329909B2 (en) Partial discharge detection device
JP2917667B2 (en) Ring tone signal detection circuit
JPH06334614A (en) High speed acquisition device of measurement channel for cordless telephone
JP2574240B2 (en) Fundamental wave detector
KR0149869B1 (en) Sensor value precision sensing apparatus for electronic appliances
JP2877357B2 (en) Communication device
JPS63151144A (en) Incoming call detector
JPH0253984B2 (en)
JPH1183915A (en) Signal input detecting equipment
SU1277138A1 (en) Device for checking parameters
JPH0540178A (en) Radiation detector
JP3090969B2 (en) Communication device and control method thereof
JPS63286076A (en) Synchronizing frequency mode discrimination circuit
JPH0560806A (en) Frequency/period measuring instrument
JP2003315365A (en) Test target detector of watt-hour meter
JPS6025690Y2 (en) Toneburst signal measurement circuit