JPH01253361A - Incoming signal detecting circuit - Google Patents

Incoming signal detecting circuit

Info

Publication number
JPH01253361A
JPH01253361A JP8062988A JP8062988A JPH01253361A JP H01253361 A JPH01253361 A JP H01253361A JP 8062988 A JP8062988 A JP 8062988A JP 8062988 A JP8062988 A JP 8062988A JP H01253361 A JPH01253361 A JP H01253361A
Authority
JP
Japan
Prior art keywords
signal
comparator
call
signals
voltage value
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.)
Granted
Application number
JP8062988A
Other languages
Japanese (ja)
Other versions
JPH0748780B2 (en
Inventor
Yoshinori Yasuda
安田 佳則
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)

Abstract

PURPOSE:To avoid the delay of entire data processing due to the increase in load on a CPU caused by excessive interruptions by transmitting continuously signals of a fixed level until no call signal exists any more in case a telephone circuit has an incoming call and the call signals are transmitted. CONSTITUTION:The call signals sent to a telephone circuit as intermittent signals are extracted by a filter 7 and transmitted to an incoming detecting circuit 8. The circuit 8 actuates intermittently a light emitting diode of a photocoupler 6 based on intermittent intervals, i.e., 1-second ON and 2-second OFF of said call signals. Thus the signal, the inverse of CI, of the photocoupler 6 is obtained. This signal is compared with a reference voltage Vref by a comparator A9. Then the comparator A9 performs waveform shaping and level conversion and a capacitor C is charged and discharged by a rectangular wave that undergone level conversion. The signal CI obtained as the output of a comparator 11 holds the output of a fixed level even with the intermittent call signals and as long as these signals are continuously transmitted.

Description

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

[従来の技術] 従来のこの種の回路としては第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.
1) Relay A connected to. (3> is relay B for connecting the telephone line to the modem side. (4) is a transformer, which electrically separates the direct current from the telephone line. (5) is the modem and the CPU (not shown). Mutual conversion is performed between the digital signal from the telephone line and the analog signal from the telephone line. (6) is a photocoupler for detecting the calling signal CI, and (7) is a filter for extracting the calling signal. be.

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

次に、第3図に示す従来の装置の動作について説明する
3着信、すなわち発呼側からの発呼がある場合、この電
話回線が通話中でなければ第2図(A)に示すような4
00Hz/16Hzで変調された呼び出し信号が1秒O
N、 2秒OFFの間隔で断続的な信号として電話回線
に送られてくる0着呼側では、リレーA(2)が「閉」
の状態にある場合、この呼び出し信号を受けて電話機(
1)が呼び出し音を発する。また、着呼側ではこの呼び
出し信号をフィルタ(7)により抽出しており、抽出さ
れた信号によりフォトカプラ(6)のフォトダイオード
を発光させ、フォトカプラ(6)はフォトダイオードが
発光することにより、第2図(B)に示すような呼び出
し信号と同様の断続的な着信信号であるCI信号を1秒
ON、2秒OFFの間隔でcpuへ送り、コンピュータ
に着呼があったことを知らせている。
Next, we will explain the operation of the conventional device shown in Figure 3.3 When there is an incoming call, that is, a call from the calling party, if this telephone line is not busy, the operation as shown in Figure 2 (A) will occur. 4
00Hz/16Hz modulated calling signal for 1 second
N, 0 is sent to the telephone line as an intermittent signal at 2 second OFF intervals. On the called side, relay A (2) is "closed".
state, the telephone (
1) emits a ringing tone. In addition, on the called side, this calling signal is extracted by a filter (7), and the extracted signal causes the photodiode of the photocoupler (6) to emit light. , the CI signal, which is an intermittent incoming signal similar to the calling signal shown in Figure 2 (B), is sent to the CPU at intervals of 1 second ON and 2 seconds OFF to notify the computer that there is an incoming call. ing.

CPUでは、このCI信号の時間的な計測を行っていて
、呼び出し回数(即ち、CI信号がr Low Jレベ
ルの回数)が所定の計数になるとリレーBを[閉」状態
にしてデータの受信を開始する。
The CPU measures the time of this CI signal, and when the number of calls (that is, the number of times the CI signal is at r Low J level) reaches a predetermined count, it closes relay B and stops receiving data. Start.

この呼び出し回数の計測は、CPUにおいてCI信号の
立ち下がり時に割り込みを発生させてタイマを駆動し、
C信号の立ち上がり時でタイマを停止させて、カウンタ
に+1を加え、タイマを初期化して再びCI信号の立ち
下がり時に割り込みを発生させるという動作を繰り返し
て行うことにより計測している。
To measure the number of calls, the CPU generates an interrupt when the CI signal falls and drives a timer.
The timer is stopped at the rising edge of the C signal, +1 is added to the counter, the timer is initialized, and an interrupt is generated again at the falling edge of the CI signal. This operation is repeated.

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

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

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

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

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

[実施例コ 以下、この発明の実施例を図について説明する。[Example code] Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明による着信信号検出回路の構成を示す
ブロック図で、図において第3図と同一符号は同−又は
相当部分を示し、(8)は着信検出回路で、フィルタ(
7)で抽出した呼び出し信号に基すきフォトカプラ(6
)を駆動させるものである。
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 in FIG.
Based on the call signal extracted in 7), the photocoupler (6)
).

(9)はコンパレータA (第1のコンパレータという
)で、フォトカプラ(6)の出力を波形整形してからレ
ベル変換を行う。
(9) is a comparator A (referred to as a first comparator) which performs waveform shaping on the output of the photocoupler (6) and then converts the level.

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

次に、第1図に示す回路の動作について説明する0着信
、すなわち発呼側からの発呼があると、第2図(A)に
示す400Hz/16Hzで変調された呼び出し信号が
断続的な信号として電話回線へ送られてくる。この呼び
出し信号をフィルタ(7)が抽出し着信検出回路(8)
へ送出する0着信検出回路(8)では、この呼び出し信
号の1秒ON、2秒OFFの断続間隔に基すいてフォト
カプラ(6)の発光ダイオードを断続的に発光させ、フ
ォトカプラ(6)の出力として第2図(B)のCI信号
を得る。このフォトカプラ(6)の出力であるの信号は
、第2図に示すように、400Hz716Hzで変調さ
れた呼び出し信号(A)に同期した信号となっている。
Next, we will explain the operation of the circuit shown in Figure 1. When there is an incoming call, that is, a call is made from the calling side, the calling signal modulated at 400Hz/16Hz as shown in Figure 2 (A) is intermittent. It is sent as a signal to the telephone line. A filter (7) extracts this calling signal and an incoming call detection circuit (8)
The incoming call detection circuit (8) that sends the call signal to the photocoupler (6) intermittently causes the light emitting diode of the photocoupler (6) to emit light based on the intermittent interval of 1 second ON and 2 seconds OFF of this calling signal. The CI signal shown in FIG. 2(B) is obtained as the output. 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 to 716 Hz.

コンパレータA(9)では、この「信号を基準電圧Vr
efと比較して、波形整形およびレベル変換を行い、レ
ベル変換された矩形波によってコンデンサ(C)の充放
電を行う、即ち、]信号がr Low ルベルのときは
抵抗(RA)を通してコンデンサ(C)に蓄えられた電
荷が放電し、C信号がrH1ghJレベルになると、今
度は抵抗(RB)を通してコンデンサ(C)が充電され
る。従ってコンパレータB(11)に入力される信号S
1の波形は、第2図(C)に示すものとなる。また、こ
の信号S、は、抵抗(R1)、(R2)による基準電圧
S2とコンパレータB (11)で比較され、抵抗(R
3)を通してフィードバックされ、第2図(D)に示す
信号CIを得る。このコンパレータ(11)の出力とし
て得られた信号CIは、第2図(A)に示す呼び出し信
号が断続的なものであっても、この呼び出し信号が送ら
れている間、一定レベル(即ち、論理「1」)の出力を
保持した信号となっており、これ以外の場合には論理「
0」となる、なお、この明細書では、S2を仮に第1の
電圧値といい、これに対しSlの最低値を仮に第2の電
圧値という。
Comparator A (9) converts this signal to reference voltage Vr.
In comparison with ef, waveform shaping and level conversion are performed, and the level-converted rectangular wave is used to charge and discharge the capacitor (C). In other words, when the signal is r Low level, the capacitor (C) is ) is discharged and the C signal reaches rH1ghJ level, then the capacitor (C) is charged through the resistor (RB). Therefore, the signal S input to comparator B (11)
The waveform of No. 1 is as shown in FIG. 2(C). Further, this signal S is compared with the reference voltage S2 by the resistors (R1) and (R2) by the comparator B (11), and
3) to obtain the signal CI shown in FIG. 2(D). The signal CI obtained as the output of this comparator (11) remains at a constant level (i.e., It is a signal that holds the output of logic "1"), and in other cases, the output is logic "1").
In this specification, S2 is tentatively referred to as a first voltage value, whereas the lowest value of Sl is tentatively referred to as a second voltage value.

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

なお上記実施例では、呼び出し信号が1秒ON。In the above embodiment, the call signal is ON for 1 second.

2秒OFFに対してコンデンサや抵抗の定数を設定する
こととしているが、他の呼び出し信号に対しても、この
定数を変更するだけで同様に実施することができる。
Although the constants of the capacitor and resistor are set for 2 seconds OFF, the same operation can be performed for other call signals by simply changing these constants.

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

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

第1図はこの発明による着信信号検出回路の構成を示す
ブロック図、第2図は各種の信号波形を示すタイムチャ
ート、第3図は従来の装置の構成を示すブロック図。 (4)トランス、(5)はモデム、(6)はフォトカプ
ラ、(7)はフィルタ、(8)は着信検出回路、(9)
はコンパレータA 、(C)はコンデンサ、(RA)、
(RB)はそれぞれ抵抗、(11)はコンパレータB 
、(R1)、(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 call detection circuit, (9)
is comparator A, (C) is capacitor, (RA),
(RB) are respective resistances, (11) are comparator B
, (R1), (R2), and (R3) are resistors, respectively. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 電話回線からの断続的な呼び出し信号から断続する矩形
波パルスを生成する手段と、 こめ矩形波パルスの出力をレベルシフトする第1のコン
パレータと、 この第1のコンパレータの出力でコンデンサを充放電し
、その放電回路には上記矩形波パルスの存在期間に上記
コンデンサの電圧を第1の電圧値から第2の電圧値まで
放電する時定数の抵抗が設けられ、その充電回路には上
記矩形波パルスの休止期間に上記コンデンサの電圧を上
記第2の電圧値から上記第1の電圧値より低い電圧値ま
で充電する時定数の抵抗が設けられるコンデンサ回路と
、このコンデンサ回路からの出力が上記第1の電圧値以
上の電圧値であるとき論理「1」の信号を出力し、これ
以外のときは出力を論理「0」とする第2のコンパレー
タとを備えたことを特徴とする着信信号検出回路。
[Claims] Means for generating intermittent square wave pulses from intermittent ringing signals from a telephone line; a first comparator for level-shifting the output of the square wave pulses; and an output of the first comparator. The charging circuit charges and discharges the capacitor, and the discharging circuit is provided with a resistor having a time constant that discharges the voltage of the capacitor from the first voltage value to the second voltage value during the existence period of the rectangular wave pulse. a capacitor circuit provided with a resistor having a time constant for charging the voltage of the capacitor from the second voltage value to a voltage value lower than the first voltage value during the rest period of the rectangular wave pulse; and a second comparator that outputs a logic "1" signal when the output is a voltage value equal to or higher than the first voltage value, and outputs a logic "0" signal otherwise. Incoming signal detection circuit.
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 true JPH01253361A (en) 1989-10-09
JPH0748780B2 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)

Citations (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

Patent Citations (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
JPH0748780B2 (en) 1995-05-24

Similar Documents

Publication Publication Date Title
US4066848A (en) Telephone ring detector circuit
JPH0286258A (en) Signal detection circuit
US4132860A (en) Hold control for a key telephone system
US4536619A (en) Ringing signal detection circuit
US4382163A (en) Microcomputer controlled key telephone line circuit
ATE62782T1 (en) CALL SILENCED DETECTION SYSTEM.
JPH01253361A (en) Incoming signal detecting circuit
US4731828A (en) Ring trip detection in telecommunications exchanges
SU1676110A1 (en) Device forming control signals in automatic telephone communication systems
JP2558824B2 (en) Call detection circuit
JPH0239906B2 (en) CHAKUSHINOTOKENCHIKAIRO
JPS55135461A (en) Starting system for terminal unit
JPS6056024B2 (en) Continuous ring signal detection method
JPH071879Y2 (en) Button telephone device response detection circuit
US4582958A (en) Secretary telephone system
JP3181324B2 (en) Terminal network controller
RU2012152C1 (en) Device for automatic dialing
JPH01222557A (en) Incoming detection circuit
JPH0432580B2 (en)
JP2947953B2 (en) Network controller
JPS62208759A (en) Communication equipment
JPH0329221B2 (en)
JPH0241943B2 (en)
SU1319311A1 (en) Device for limiting the outgoing calls
JPS60165166A (en) Network signal detector