JPH0229050A - Tone detector - Google Patents

Tone detector

Info

Publication number
JPH0229050A
JPH0229050A JP17942788A JP17942788A JPH0229050A JP H0229050 A JPH0229050 A JP H0229050A JP 17942788 A JP17942788 A JP 17942788A JP 17942788 A JP17942788 A JP 17942788A JP H0229050 A JPH0229050 A JP H0229050A
Authority
JP
Japan
Prior art keywords
signal
tone
level
address
circuit
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
JP17942788A
Other languages
Japanese (ja)
Inventor
Naoki Mori
直樹 森
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP17942788A priority Critical patent/JPH0229050A/en
Publication of JPH0229050A publication Critical patent/JPH0229050A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

PURPOSE:To vary the detected frequency by providing a storage device (RAM) able to readout and write so as to rewrite a data in the RAM. CONSTITUTION:Since a tone signal has a reference level (d) or over, a level discriminator 4 releases a reset signal (e) and a counter circuit 5 reaches the count enable state. A gate signal (a) goes to an H level for n-period of a tone signal by an n-period segmentation circuit 2. The time when the gate signal (a) reaches an H level is n/i(sec). When the frequency (i) of the tone signal to be detected, a data '1' is written in an address n(-)j/i0 of the RAM 10 and a data '0' is written in other address and a contact of an address switch 7 is connected to the position of the counter signal (f). Thus, it is possible to change the tone detection frequency simply by rewriting the data of the RAM 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、トーン検出装置に関し、特に周期計数型のト
ーン検出装置の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a tone detection device, and particularly to an improvement of a period counting type tone detection device.

〔従来の技術〕[Conventional technology]

従来、この種のトーン検出装置は、周波数を検出するた
めの記憶器の部分に続出専用記憶器(ROM)を用いて
いた。
Conventionally, this type of tone detection device has used a read-only memory (ROM) as a memory portion for detecting frequencies.

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

上述した従来のトーン検出装置は、記憶器の部分に読出
専用記憶器(ROM)を用いていたので、検出周波数が
固定されており容易に可変することができないという欠
点がある。
The above-mentioned conventional tone detection device uses a read-only memory (ROM) for the memory portion, and therefore has the disadvantage that the detection frequency is fixed and cannot be easily varied.

本発明の目的はROMを使用しないトーン周波数を検出
するトーン検出器を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a tone detector that detects tone frequencies without using a ROM.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のトーン検出装置は、読み出し及び書き込みが可
能な記憶器(RAM)と、RAMのアドレス入力を周期
を検出する計数回路の計数値が外部アドレス信号のいず
れかに切換え接続するアドレス切換器を有し、RAMの
データを書き換えることにより、検出周波数を可変にで
きるという特徴を有する。
The tone detection device of the present invention includes a readable and writable memory (RAM), and an address switcher that switches and connects the address input of the RAM to one of the external address signals and the count value of a counting circuit that detects the period. It has a feature that the detection frequency can be made variable by rewriting the data in the RAM.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

1はトーン入力端子であり、外部からのトーン信号が入
力される。2はn周期切出し回路であり、トーン信号の
n周期の期間ゲート信号aをHレベルにする(nはある
整数値)。3はAND回路でありゲート信号aによりあ
る一定の周波数をもつ基準クロック信号すに対してゲー
トをかけ、計数クロック信号Cを出力する。4はレベル
判定器であり、入力トーン信号が基準レベルdより小さ
い場合にリセット信号eを出力する。5は計数回路であ
り、リセット信号eが出力されていない期間に計数クロ
ック信号Cのパルス数をカウントし、計数値信号fを出
力する。6はアドレス入力端子であり外部アドレス信号
gが入力される。7はアドレス切換器であり、計数値信
号fと外部アドレス信号gのいずれかを選択し、アドレ
ス信号りとして出力する。8はデータ入力端子であり、
外部からのデータが入力され、9はトーン検出出力端子
でありトーンが検出されたことを示す信号を出力する。
Reference numeral 1 denotes a tone input terminal, into which a tone signal from the outside is input. Reference numeral 2 denotes an n-cycle extraction circuit, which sets the gate signal a to H level during n-cycle periods of the tone signal (n is a certain integer value). 3 is an AND circuit which applies a gate to a reference clock signal having a certain frequency using a gate signal a, and outputs a counting clock signal C. Reference numeral 4 denotes a level determiner, which outputs a reset signal e when the input tone signal is lower than the reference level d. A counting circuit 5 counts the number of pulses of the counting clock signal C during a period when the reset signal e is not output, and outputs a count value signal f. 6 is an address input terminal to which an external address signal g is input. 7 is an address switch which selects either the count value signal f or the external address signal g and outputs it as an address signal. 8 is a data input terminal;
Data from the outside is input, and 9 is a tone detection output terminal which outputs a signal indicating that a tone has been detected.

10は記憶器(RAM)であり、アドレス信号りに対応
するアドレスにデータ入力端子8からのデータを書き込
む動作及び読み出したデ・−タをトーン検出圧力端子9
へ出力する動作を行なう。
Reference numeral 10 denotes a memory (RAM), which performs the operation of writing data from the data input terminal 8 to an address corresponding to the address signal and transmits the read data to the tone detection pressure terminal 9.
Perform the operation of outputting to.

次に第1図を用いて装置の動作を順を追って説明する。Next, the operation of the apparatus will be explained step by step using FIG.

トーン入力端子1から周波数1(Nz)で基準レベル6
以上のレベルを持ったトーン信号が入力された場合を考
える。トーン信号は基準レベル6以上あるのでレベル判
定器4は、リセット信号eを解除し、計数回路5は計数
可能状態になる。n周期切出し回路2によりトーン信号
のn周期の期間ゲート信号aがHレベルになる。ゲート
信号aがHレベルになる時間は、n/i(秒)となる。
Reference level 6 at frequency 1 (Nz) from tone input terminal 1
Consider a case where a tone signal with a level higher than that is input. Since the tone signal has a reference level of 6 or higher, the level determiner 4 releases the reset signal e, and the counting circuit 5 becomes ready for counting. The n-cycle cutout circuit 2 sets the gate signal a to H level during the n-cycle period of the tone signal. The time for the gate signal a to reach the H level is n/i (seconds).

AND回路3によ・り基準クロック信号すにゲートがか
けられ計数クロック信号Cが出力される。基準クロック
信号Cの周波数をJとすると計数クロック信号Cのパル
ス数は、n−j / iとなるため、計数回路5の出力
である計数値信号fの値もn−j / iとなる。この
ときあらかじめ、アドレス切換器7の接点を外部アドレ
ス信号g側に接続して、アドレス入力端子6とデータ入
力端子8を制御して、検出したいトーン信号の周波数i
としたときにRAMl0のアドレスn−j/i、、にデ
ータ“1″を書き込み他のアドレスには“0″を書き込
んでおき、その後アドレス切換器7の接点を計数値信号
f側に接続されていたものとする。
The AND circuit 3 applies a gate to the reference clock signal C and outputs the counting clock signal C. If the frequency of the reference clock signal C is J, the number of pulses of the counting clock signal C is n-j/i, so the value of the count signal f, which is the output of the counting circuit 5, is also n-j/i. At this time, in advance, connect the contacts of the address switch 7 to the external address signal g side, control the address input terminal 6 and the data input terminal 8, and control the frequency i of the tone signal to be detected.
When this happens, data "1" is written to addresses n-j/i, , of RAM 10, and "0" is written to other addresses, and then the contact of the address switch 7 is connected to the count value signal f side. It is assumed that

計数値信号fはアドレス信号りに出力されRAM10の
アドレス信号となる。入力されたトーン信号の周波数が
検出したい周波数に等しいとき(i=io)、’RAM
l0から読み出されたアドレスn・J / 1のデータ
は“1″′となりトーン検出出力端子9に出力され、ト
ーンが検出されたことを示す。入力されたトーン信号の
周波数が検出したい周波数に等しくない場合は、RAM
l0からのデータは0″となりトーンは検出されてない
ことを示す。以上のように、RAMl0のデータを書き
換えることにより簡単にトーン検出周波数を変えること
が可能になる。
The count signal f is output as an address signal and becomes an address signal for the RAM 10. When the frequency of the input tone signal is equal to the frequency to be detected (i=io), 'RAM
The data at the address n·J/1 read from l0 becomes "1"' and is output to the tone detection output terminal 9, indicating that a tone has been detected. If the frequency of the input tone signal is not equal to the frequency you want to detect, the RAM
The data from l0 becomes 0'', indicating that no tone is detected. As described above, by rewriting the data in RAM l0, it is possible to easily change the tone detection frequency.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、記憶器iAM)のデー
タを書き換えることにより簡単にかつ、ダイナミックに
トーン検出周波数を可変させることが可能になるという
効果がある。
As described above, the present invention has the advantage that it is possible to easily and dynamically vary the tone detection frequency by rewriting the data in the memory device iAM.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例を示すブロック図である。 1・・・・・・トーン入力端子、2・・・・・・n周期
切出し回路、3・・・・・・AND回路、4・・・・・
・レベル判定器、5・・・・・計数回路、6・・・・・
・アドレス入力端子、7・・・・・・アドレス切換器、
8・・・・・・データ入力端子、9・・・・・・トーン
検出出力端子、10・・・・・・記憶器(RAM)、a
・・・・・・ゲート信号、b・・・・・・基準クロック
信号、C・・・・・計数クロック信号、d・・・・・・
基準レベル、e・・・・・・リセット信号、f・・・・
・・計数値信号、g・・・・・・外部アドレス信号、h
・・・・・・アドレス信号。 代理人 弁理士  内 原   晋
FIG. 1 is a block diagram showing an embodiment of the present invention. 1...Tone input terminal, 2...n cycle extraction circuit, 3...AND circuit, 4...
・Level judger, 5... Counting circuit, 6...
・Address input terminal, 7...Address switch,
8...Data input terminal, 9...Tone detection output terminal, 10...Storage device (RAM), a
...Gate signal, b...Reference clock signal, C...Counting clock signal, d...
Reference level, e...Reset signal, f...
...Count value signal, g...External address signal, h
...Address signal. Agent Patent Attorney Susumu Uchihara

Claims (1)

【特許請求の範囲】[Claims] 一定の周期を持つトーン信号入力から任意のn周期の時
間を切出すn周期切出し回路と、トーン信号のレベルが
あらかじめ設定された基準レベル以上であるかを判定す
るレベル判定器と、前記n周期切出し回路の出力により
基準クロック信号にゲートをかけ、トーン信号のn周期
の時間に比例した数のパルスを出力するAND回路と、
前記レベル判定器によりトーン信号のレベルが基準レベ
ル以上と判定された場合に前記AND回路からの出力さ
れるトーン信号のn周期に比例した数のパルスを計数し
トーン信号のn周期に比例した計数値を出力する計数回
路と、計数回路からの計数値出力と外部アドレス信号と
選択しアドレス信号として出力するアドレス切換器と、
アドレス切換器の出力から入力されたアドレス対するデ
ータの読み出し及び書き込みが可能な記憶器(RAM)
とを有するトーン検出装置。
an n-cycle extraction circuit that extracts an arbitrary n-cycle time from a tone signal input having a constant cycle; a level determiner that determines whether the level of the tone signal is equal to or higher than a preset reference level; and the n-cycle an AND circuit that gates the reference clock signal by the output of the cutout circuit and outputs a number of pulses proportional to the n period of the tone signal;
When the level of the tone signal is determined to be equal to or higher than the reference level by the level determiner, a number of pulses proportional to the n cycles of the tone signal outputted from the AND circuit is counted, and a count proportional to the n cycles of the tone signal is calculated. a counting circuit that outputs a numerical value; an address switch that selects between the counted value output from the counting circuit and an external address signal and outputs it as an address signal;
Memory device (RAM) that can read and write data for the address input from the output of the address switch
A tone detection device having.
JP17942788A 1988-07-18 1988-07-18 Tone detector Pending JPH0229050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17942788A JPH0229050A (en) 1988-07-18 1988-07-18 Tone detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17942788A JPH0229050A (en) 1988-07-18 1988-07-18 Tone detector

Publications (1)

Publication Number Publication Date
JPH0229050A true JPH0229050A (en) 1990-01-31

Family

ID=16065670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17942788A Pending JPH0229050A (en) 1988-07-18 1988-07-18 Tone detector

Country Status (1)

Country Link
JP (1) JPH0229050A (en)

Similar Documents

Publication Publication Date Title
JPS63169571A (en) Tone detector
KR910008613A (en) Curing Detection Method
KR910020632A (en) Display control device
KR920013450A (en) Semiconductor memory with time-out control for read and write operations
KR840003161A (en) Digital gain control system
JPS5963792U (en) Photoelectric smoke detection terminal
JPH0229050A (en) Tone detector
KR910006831A (en) Controller for connecting peripheral devices with microcomputer
KR940006014A (en) Timer circuit with comparator
KR840000123A (en) Dual Mode Tone Detector Circuit
JPH0133052B2 (en)
KR0160192B1 (en) Multi-alarm cognition apparatus
KR100319632B1 (en) Memory testing apparatus
JPH0366687B2 (en)
KR900019014A (en) Data recording method of semiconductor memory and device therefor
SU1608633A1 (en) Computer to discrete sensor interface
SU1665360A1 (en) Device for data entry from digital sensors
JPH05334175A (en) Memory control device
SU410465A1 (en)
JPH0520130A (en) Firmware diagnostic device
JPH01143082A (en) Address mark detecting circuit for magnetic disk device
KR970076878A (en) Test circuit of dynamic memory device
JPH0562369A (en) Error detecting circuit and magnetic disk device
JPS62109289A (en) Semiconductor integrated circuit device
KR910001580A (en) Card reader and its control method