JPH0748780B2 - Incoming signal detection circuit - Google Patents

Incoming signal detection circuit

Info

Publication number
JPH0748780B2
JPH0748780B2 JP63080629A JP8062988A JPH0748780B2 JP H0748780 B2 JPH0748780 B2 JP H0748780B2 JP 63080629 A JP63080629 A JP 63080629A JP 8062988 A JP8062988 A JP 8062988A JP H0748780 B2 JPH0748780 B2 JP H0748780B2
Authority
JP
Japan
Prior art keywords
signal
circuit
call
detection circuit
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 - Lifetime
Application number
JP63080629A
Other languages
Japanese (ja)
Other versions
JPH01253361A (en
Inventor
佳則 安田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63080629A priority Critical patent/JPH0748780B2/en
Publication of JPH01253361A publication Critical patent/JPH01253361A/en
Publication of JPH0748780B2 publication Critical patent/JPH0748780B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Sub-Exchange Stations And Push- Button Telephones (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は電話回線やPBX(private branch exchange)
を用いたデータ通信に使用される着信信号検出回路に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is applicable to telephone lines and PBX (private branch exchange).
The present invention relates to an incoming signal detection circuit used for data communication using the.

[従来の技術] 従来のこの種の回路としては第3図に示すものがあっ
た。第3図は従来の着信信号検出回路の構成を示すブロ
ック図で、図において(1)は音声通話用の電話機(以
下、単に電話機という)、(2)は電話回線を電話機
(1)と接続するリレーA。(3)は電話回線をモデム
側に接続するためのリレーBである。(4)はトランス
で、電話回線と電気的な直流分離を行う。(5)はモデ
ムで、CPU(図示せず)からのディジタル信号と電話回
線からのアナログ信号との間で相互変換を行っている。
(6)は呼び出し信号CIを検出するためのフォトカプ
ラ、(7)は呼び出し信号を抽出するためのフィルタで
ある。
[Prior Art] A conventional circuit of this type is shown in FIG. FIG. 3 is a block diagram showing the configuration of a conventional incoming signal detection circuit. In the figure, (1) is a telephone for voice communication (hereinafter, simply referred to as a telephone), and (2) is a telephone line connected to the telephone (1). Relay A to do. (3) is a relay B for connecting the telephone line to the modem side. (4) is a transformer that electrically separates the telephone line from the direct current. (5) is a modem which performs mutual conversion between a digital signal from a CPU (not shown) and an analog signal from a telephone line.
(6) is a photocoupler for detecting the call signal CI, and (7) is a filter for extracting the call signal.

また第2図は、第3図に示す従来の装置及び、後述する
この発明にかかる装置の各種の信号波形を示すタイムチ
ャートである。
Further, FIG. 2 is a time chart showing various signal waveforms of the conventional apparatus shown in FIG. 3 and the apparatus according to the present invention described later.

次に、第3図に示す従来の装置の動作について説明す
る。着信、すなわち発呼側からの発呼がある場合、この
電話回線が通話中でなければ第2図(A)に示すような
400Hz/16Hzで変調された呼び出し信号が1秒ON,2秒OFF
の間隔で断続的な信号として電話回線に送られてくる。
着呼側では、リレーA(2)が「閉」の状態にある場
合、この呼び出し信号を受けて電話機(1)が呼び出し
音を発する。また、着呼側ではこの呼び出し信号をフィ
ルタ(7)により抽出しており、抽出された信号により
フォトカプラ(6)のフォトダイオードを発光させ、フ
ォトカプラ(6)はフォトダイオードが発光することに
より、第2図(B)に示すような呼び出し信号と同様の
断続的な着信信号である▲▼信号を1秒ON,2秒OFF
の間隔でCPUへ送り、コンピュータに着呼があったこと
を知らせている。CPUでは、この▲▼信号の時間的
な計測を行っていて、呼び出し回数(即ち、▲▼信
号が「Low」レベルの回数)が所定の計数になるとリレ
ーBを「閉」状態にしてデータの受信を開始する。
Next, the operation of the conventional device shown in FIG. 3 will be described. When there is an incoming call, that is, there is a call from the calling side, if this telephone line is not busy, as shown in Fig. 2 (A).
Call signal modulated at 400Hz / 16Hz is ON for 1 second, OFF for 2 seconds
It is sent to the telephone line as an intermittent signal at intervals of.
On the called side, when the relay A (2) is in the "closed" state, the telephone (1) receives the calling signal and makes a ringing tone. On the called side, the call signal is extracted by the filter (7), the photodiode of the photo coupler (6) is caused to emit light by the extracted signal, and the photo coupler (6) causes the photodiode to emit light. , ▲ ▼ signal, which is an intermittent incoming signal similar to the call signal as shown in Fig. 2 (B), is turned on for 1 second and turned off for 2 seconds.
It sends to the CPU at intervals to let the computer know that there is an incoming call. The CPU measures the ▲ ▼ signal over time, and when the number of calls (that is, the number of times the ▲ ▼ signal is at the "Low" level) reaches a predetermined count, the relay B is closed and the data is transferred. Start receiving.

この呼び出し回数の計測は、CPUにおいて▲▼信号
の立ち下がり時に割り込みを発生させてタイマを駆動
し、▲▼信号の立ち上がり時でタイマを停止させ
て、カウンタに+1を加え、タイマを初期化して再び▲
▼信号の立ち下がり時に割り込みを発生させるとい
う動作を繰り返して行うことにより計測している。
To measure the number of calls, the CPU generates an interrupt at the falling edge of the ▲ ▼ signal to drive the timer, stops the timer at the rising edge of the ▲ ▼ signal, adds +1 to the counter, and initializes the timer. Again ▲
▼ Measurement is performed by repeating the operation of generating an interrupt when the signal falls.

このようにして従来の着信信号検出回路は、電話回線に
着呼があった場合、電話機(1)を用いた音声による通
話か、あるいはデータ通信かの検出を行っている。
In this way, the conventional incoming signal detection circuit detects whether a voice call using the telephone (1) or a data communication is made when an incoming call is received on the telephone line.

[発明が解決しようとする課題] 上記のような従来の着信信号検出回路では、断続的な▲
▼信号の立ち下がり時毎に、CPUに割り込みを発生
させてタイマを駆動し計測しているので、プログラムに
よりシーケンシャルにデータ通信全体を制御しているCP
Uに過度の負担がかかり過ぎ、全体の処理速度に遅れを
きたすという問題点があった。
[Problems to be Solved by the Invention] In the conventional incoming signal detection circuit as described above, an intermittent ▲
▼ Every time the signal falls, an interrupt is generated in the CPU to drive and measure the timer, so the program controls the entire data communication sequentially.
There was a problem that the U was overloaded and the overall processing speed was delayed.

この発明はかかる課題を解決するためになされたもの
で、CPUに過度の負担をかけずに、処理速度に遅れをき
たすことなくデータ通信を行える着信信号検出回路を提
供することを目的としている。
The present invention has been made to solve the above problems, and an object of the present invention is to provide an incoming signal detection circuit that can perform data communication without imposing an excessive load on the CPU and without delaying the processing speed.

[課題を解決するための手段] この発明にかかる着信信号検出回路は、電話回線に着呼
があり、呼び出し信号が送出された場合、呼び出し信号
がなくなるまで一定レベルの信号をCPUへ送出するよう
にした。
[Means for Solving the Problem] The incoming signal detecting circuit according to the present invention sends a signal of a constant level to the CPU until the calling signal disappears when there is an incoming call on the telephone line and the calling signal is sent. I chose

[作用] この発明においては、電話回線に着呼があり、呼び出し
信号が送出された場合、呼び出し信号がなくなるまで一
定レベルの信号を送出することにより、CPUへ一回の割
り込みを発生させるだけで、電話機を用いた音声による
通話か或はデータ通信かの検出が可能となる。
[Operation] According to the present invention, when an incoming call is received on the telephone line and the call signal is transmitted, a constant level signal is transmitted until the call signal disappears, so that only one interrupt is generated to the CPU. It is possible to detect whether the call is a voice call using a telephone or data communication.

[実施例] 以下、この発明の実施例を図について説明する。第1図
はこの発明による着信信号検出回路の構成を示すブロッ
ク図、図において第3図と同一符号は同一又は相当部分
を示し、(8)は着信検出回路で、フィルタ(7)で抽
出した呼び出し信号に基ずきフォトカプラ(6)を駆動
させるものである。(9)はコンパレータA(第1のコ
ンパレータという)で、フォトカプラ(6)の出力を波
形整形してからレベル変換を行う。
Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an incoming signal detection circuit according to the present invention. In the figure, the same reference numerals as those in FIG. 3 indicate the same or corresponding parts, and (8) is an incoming detection circuit, which is extracted by a filter (7). The photo coupler (6) is driven based on the calling signal. Reference numeral (9) is a comparator A (referred to as a first comparator), which performs waveform leveling on the output of the photocoupler (6) and then performs level conversion.

また、(C)はコンデンサ、(RA)はコンデンサ(C)
に放電するための抵抗、(RB)はコンデンサ(C)に充
電するための抵抗、(11)はコンパレータB(第2のコ
ンパレータという)、(R1),(R2)はそれぞれこのコ
ンパレータB(11)に基準電圧値を定めている抵抗、
(R3)はこのコンパレートB(11)にヒステリシス特性
をもたせるための抵抗、(L1,L2)は交換機からの電話
回線を示す。
Also, (C) is a capacitor, (RA) is a capacitor (C).
To discharge the capacitor, (RB) is a resistor for charging the capacitor (C), (11) is a comparator B (referred to as a second comparator), and (R1) and (R2) are respectively the comparator B (11). ), The resistance that determines the reference voltage value,
(R3) resistance to impart a hysteresis characteristic to the comparator B (11), (L 1 , L 2) represents the telephone line from the exchange.

次に、第1図に示す回路の動作について説明する。着
信、すなわち発呼側からの発呼があると、第2図(A)
に示す400Hz/16Hzで変調された呼び出し信号が断続的な
信号として電話回線へ送られてくる。この呼び出し信号
をフィルタ(7)が抽出し着信検出回路(8)へ送出す
る。着信検出回路(8)では、この呼び出し信号の1秒
ON,2秒OFFの断続間隔に基ずいてフォトカプラ(6)の
発光ダイオードを断続的に発光させ、フォトカプラ
(6)の出力として第2図(B)の▲▼が信号を得
る。このフォトカプラ(6)の出力である▲▼信号
は、第2図に示すように、400Hz/16Hzで変調された呼び
出し信号(A)に同期した信号となっている。コンパレ
ータA(9)では、この▲▼信号を基準電圧Vrefと
比較して、波形整形およびレベル変換を行い、レベル変
換された矩形波によってコンデンサ(C)の充放電を行
う。即ち、▲▼信号が「Low」レベルのときは抵抗
(RA)を通してコンデンサ(C)に蓄えられた電荷が放
電し、▲▼信号が「High」レベルになると、今度は
抵抗(RB)を通してコンデンサ(C)が充電される。従
ってコンパレータB(11)に入力される信号S1の波形
は、第2図(C)に示すものとなる。また、この信号S1
は、抵抗(R1),(R2)による基準電圧S2とコンパレー
タB(11)で比較され、抵抗(R3)を通してフィードバ
ックされ、第2図(D)に示す信号CIを得る。このコン
パレータB(11)の出力として得られた信号CIは、第2
図(A)に示す呼び出し信号が断続的なものであって
も、この呼び出し信号が送られている間、一定レベル
(即ち、論理「1」)の出力を保持した信号となってお
り、これ以外の場合には論理「0」となる。なお、この
明細書では、S2を仮に第1の電圧値といい、これに対し
S1の最低値を仮に第2の電圧値という。
Next, the operation of the circuit shown in FIG. 1 will be described. When there is an incoming call, that is, a call from the calling side, FIG. 2 (A)
The call signal modulated by 400Hz / 16Hz shown in is sent to the telephone line as an intermittent signal. The call signal is extracted by the filter (7) and sent to the incoming call detection circuit (8). In the incoming call detection circuit (8), 1 second of this call signal
The light emitting diode of the photocoupler (6) is made to intermittently emit light based on the ON / OFF interval of 2 seconds, and a signal () in FIG. 2B obtains a signal as the output of the photocoupler (6). As shown in FIG. 2, the signal output from the photocoupler (6) is a signal synchronized with the calling signal (A) modulated at 400 Hz / 16 Hz. The comparator A (9) compares this signal with the reference voltage Vref, performs waveform shaping and level conversion, and charges and discharges the capacitor (C) with the level-converted rectangular wave. That is, when the ▲ ▼ signal is at "Low" level, the electric charge stored in the capacitor (C) is discharged through the resistor (RA), and when the ▲ ▼ signal becomes "High" level, the capacitor is now passed through the resistor (RB). (C) is charged. Therefore, the waveform of the signal S 1 input to the comparator B (11) is as shown in FIG. 2 (C). Also, this signal S 1
Is compared with the reference voltage S 2 by the resistors (R1) and (R2) by the comparator B (11) and fed back through the resistor (R3) to obtain the signal CI shown in FIG. 2 (D). The signal CI obtained as the output of the comparator B (11) is the second
Even if the call signal shown in FIG. 7A is intermittent, it is a signal that holds the output of a constant level (that is, logic "1") while the call signal is being sent. In all other cases, the logical value is "0". In this specification, S 2 is tentatively referred to as the first voltage value.
The lowest value of S 1 is tentatively called the second voltage value.

また抵抗(RA)は第2図(A)に示す呼び出し信号の最
初のON状態の期間にコンデンサ(C)が第1の電圧値付
近から第2の電圧値付近まで放電できるように抵抗値を
定め、抵抗(RB)は呼び出し信号がOFF状態のとき基準
電圧S2以上に上がらないように抵抗値を定めている。
Further, the resistance (RA) has a resistance value so that the capacitor (C) can discharge from the vicinity of the first voltage value to the vicinity of the second voltage value during the first ON state of the calling signal shown in FIG. 2 (A). The resistance value of the resistor (RB) is set so that it does not exceed the reference voltage S 2 when the call signal is in the OFF state.

なお上記実施例では、呼び出し信号が1秒ON,2秒OFFに
対してコンデンサや抵抗の定数を設定することとしてい
るが、他の呼び出し信号に対しても、この定数を変更す
るだけで同様に実施することができる。なお、上記実施
例では、たとえば矩形波パルスの出力をレベルシフトす
る回路としてコンパレータを用いているが、オペアンプ
等を用いることもでき、本願発明は実施例に示す回路に
限定されるものではないことは言うまでもない。
In the above embodiment, the constants of the capacitor and the resistance are set for the call signal being ON for 1 second and OFF for 2 seconds, but the same applies to other call signals only by changing the constants. It can be carried out. In the above embodiment, for example, a comparator is used as a circuit for level shifting the output of a rectangular wave pulse, but an operational amplifier or the like can be used, and the present invention is not limited to the circuit shown in the embodiment. Needless to say.

[発明の効果] この発明は以上説明したとおり、電話回線に着呼があ
り、呼び出し信号が送出された場合、呼び出し信号がな
くなるまで一定レベルの信号を送出することで、CPUへ
一回の割り込みを発生させるだけで、電話機を用いた音
声による通話か、或はデータ通信かの検出を行うことが
できるので、過度の割り込みによるCPUの負担の増大か
らくるデータ通信処理全体の遅れを回避できるという効
果がある。
[Effects of the Invention] As described above, according to the present invention, when an incoming call is received on a telephone line and a calling signal is sent, a constant level signal is sent until the calling signal disappears, thereby interrupting the CPU once. It is possible to detect whether the call is a voice call using a telephone or data communication by simply generating a call, so that it is possible to avoid the delay of the entire data communication process due to the increase of the CPU load due to excessive interrupts. effective.

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

第1図はこの発明による着信信号検出回路の構成を示す
ブロック図、第2図は各種の信号波形を示すタイムチャ
ート、第3図は従来の装置の構成を示すブロック図。 (4)トランス、(5)はモデム、(6)はフォトカプ
ラ、(7)はフィルタ、(8)は着信検出回路、(9)
はコンパレータA、(C)はコンデンサ、(RA),(R
B)はそれぞれ抵抗、(11)はコンパレータB、(R
1),(R2),(R3)はそれぞれ抵抗。 なお、各図中同一符号は同一又は相当部分を示すものと
する。
FIG. 1 is a block diagram showing the configuration of an incoming signal detection circuit according to the present invention, FIG. 2 is a time chart showing various signal waveforms, and FIG. 3 is a block diagram showing the configuration of a conventional device. (4) transformer, (5) modem, (6) photocoupler, (7) filter, (8) incoming detection circuit, (9)
Is a comparator A, (C) is a capacitor, (RA), (R
B) is the resistance, (11) is the comparator B, (R
1), (R2) and (R3) are resistors. The same reference numerals in the drawings indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】電話回線からの断続的な呼び出し信号から
断続する矩形波パルスを生成する回路と、 生成された矩形波パルスの出力をレベルシフトする回路
と、 このレベルシフトする回路からの出力で充放電し、矩形
波パルスの生成中はあらかじめ設定した範囲内の電圧値
を出力する充放電回路と、 この充放電回路からの出力を基準値と比較して信号を出
力する比較回路とを備え、 呼び出し信号の受信中は前記比較回路から常に一定レベ
ルの信号出力が得られるように構成したことを特徴とす
る着信信号検出回路。
1. A circuit for generating an intermittent rectangular wave pulse from an intermittent call signal from a telephone line, a circuit for level shifting the output of the generated rectangular wave pulse, and an output from the level shifting circuit. A charging / discharging circuit that outputs a voltage value within a preset range during charging and discharging and generation of a rectangular wave pulse, and a comparison circuit that compares the output from this charging / discharging circuit with a reference value and outputs a signal An incoming signal detection circuit, characterized in that a constant level signal output is always obtained from the comparison circuit during reception of a calling signal.
JP63080629A 1988-04-01 1988-04-01 Incoming signal detection circuit Expired - Lifetime JPH0748780B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63080629A JPH0748780B2 (en) 1988-04-01 1988-04-01 Incoming signal detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63080629A JPH0748780B2 (en) 1988-04-01 1988-04-01 Incoming signal detection circuit

Publications (2)

Publication Number Publication Date
JPH01253361A JPH01253361A (en) 1989-10-09
JPH0748780B2 true JPH0748780B2 (en) 1995-05-24

Family

ID=13723647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63080629A Expired - Lifetime JPH0748780B2 (en) 1988-04-01 1988-04-01 Incoming signal detection circuit

Country Status (1)

Country Link
JP (1) JPH0748780B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62208759A (en) * 1986-03-10 1987-09-14 Canon Inc Communication equipment

Also Published As

Publication number Publication date
JPH01253361A (en) 1989-10-09

Similar Documents

Publication Publication Date Title
US4066848A (en) Telephone ring detector circuit
JPH0286258A (en) Signal detection circuit
FI962919A (en) Method for detecting a subscriber response during dialing and using a subscriber line connection circuit for detecting a subscriber response during dialing
US4429185A (en) Voltage detector circuit
JPH0748780B2 (en) Incoming signal detection circuit
US4731828A (en) Ring trip detection in telecommunications exchanges
GB2169775A (en) Ringing signal sending-out circuit
US4134032A (en) Audio signal discriminator circuit
JP2558824B2 (en) Call detection circuit
SU1676110A1 (en) Device forming control signals in automatic telephone communication systems
JPH01222557A (en) Incoming detection circuit
JP3090969B2 (en) Communication device and control method thereof
SU1319311A1 (en) Device for limiting the outgoing calls
JPH0239906B2 (en) CHAKUSHINOTOKENCHIKAIRO
JPS62208759A (en) Communication equipment
KR950001240Y1 (en) Circuit for detecting call charges
JPH0358597A (en) Call originating signal detecting circuit
JP2947953B2 (en) Network controller
US6925170B1 (en) Wire-bound telecommunication device and a circuit for use in such a device
RU2012152C1 (en) Device for automatic dialing
JP3181324B2 (en) Terminal network controller
RU2124816C1 (en) Device limiting telephone conversation time
SU1177953A2 (en) Voice-frequency receiver
JPH0238545Y2 (en)
SU1254594A1 (en) Device for reception of voice-frequency signals