[go: up one dir, main page]

JPH08289039A - Communication terminal equipment - Google Patents

Communication terminal equipment

Info

Publication number
JPH08289039A
JPH08289039A JP7089432A JP8943295A JPH08289039A JP H08289039 A JPH08289039 A JP H08289039A JP 7089432 A JP7089432 A JP 7089432A JP 8943295 A JP8943295 A JP 8943295A JP H08289039 A JPH08289039 A JP H08289039A
Authority
JP
Japan
Prior art keywords
line voltage
telephone
hook
line
sampled
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
JP7089432A
Other languages
Japanese (ja)
Other versions
JP2770220B2 (en
Inventor
Toru Hiraoka
徹 平岡
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP7089432A priority Critical patent/JP2770220B2/en
Publication of JPH08289039A publication Critical patent/JPH08289039A/en
Application granted granted Critical
Publication of JP2770220B2 publication Critical patent/JP2770220B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PURPOSE: To avoid mistake in on-hook/off-hook detection of a branch telephone set by discriminating a voltage change by a voltage detection circuit even under an environment such that a line voltage is changed slowly or unstability is caused due to the effect of noise. CONSTITUTION: In the communication terminal equipment in which a line voltage detection circuit 6 is connected in parallel with a telephone line 2 which a branch telephone set 3 is connected, a sampled line voltage V(n) and a line voltage V(n-T) sampled at a preceding fixed time T to the sampled time are sequentially compared for every sampling of the line voltage and a state change of the branch telephone set is discriminated when the result of discrimination that the voltage difference is larger than reference levels α, βreaches consecutively a prescribed number of times.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電話回線に電話機を並
列に接続して使用できるファクシミリ装置などの通信端
末装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication terminal device such as a facsimile device which can be used by connecting telephones in parallel to a telephone line.

【0002】[0002]

【従来の技術】近時においては、ファクシミリ装置に電
話機を並列に接続し、いわゆるブランチ電話機として使
用することが広く行われている。ところが、このような
ファクシミリ装置では、ブランチ電話機のオンフック、
オフフックの状態が検知できないため、付属電話機や外
付け電話機を使用する場合に種々の問題を生じている。
2. Description of the Related Art Recently, it has been widely used to connect telephones in parallel to a facsimile machine and use them as so-called branch telephones. However, in such a facsimile device, on-hook of the branch telephone,
Since the off-hook state cannot be detected, various problems occur when using an attached telephone or an external telephone.

【0003】図6は、この提案に係る回線電圧検出回路
の接続状態を示す直流等価回路図である。ブランチ電話
機3、付属電話機4、外付け電話機5、ファクシミリ装
置FのモデムMは、いずれも負荷としての内部抵抗を有
しており、電話交換機1より導出された所定の固有抵抗
を有した電話回線2の終端に、フックスイッチFS、C
MLリレーの接点rsを介して並列に接続されるように
なっている。
FIG. 6 is a DC equivalent circuit diagram showing the connection state of the line voltage detection circuit according to this proposal. Each of the branch telephone 3, the auxiliary telephone 4, the external telephone 5, and the modem M of the facsimile apparatus F has an internal resistance as a load, and a telephone line having a predetermined specific resistance derived from the telephone exchange 1. At the end of 2, hook switch FS, C
The contacts are connected in parallel via the contact rs of the ML relay.

【0004】これらの電話機3,4,5のフックスイッ
チFSが閉じてオフフックになり、あるいはファクシミ
リ装置FのCMLリレーの接点rsが閉じて、着信、あ
るいは保留の状態になると、電話回線2の終端に生じる
合成抵抗値は、オフフックした電話機、及び保留、着信
状態になっているファクシミリ装置Fの内部抵抗を並列
に接続した値となるので、電話回線2に並列に接続され
る台数が増大すれば、その合成抵抗値は減少する。
When the hook switch FS of the telephone set 3, 4, 5 is closed to go off-hook, or the contact rs of the CML relay of the facsimile apparatus F is closed to enter the incoming or holding state, the telephone line 2 is terminated. Since the combined resistance value generated in 1 is a value obtained by connecting the internal resistances of the telephone set off hook and the facsimile apparatus F in the on-hold state and the receiving state in parallel, if the number of units connected in parallel to the telephone line 2 increases. , Its combined resistance value decreases.

【0005】回線電圧検出回路6は、フックスイッチF
Sが閉じられ、あるいはCMLリレーの接点rsを閉じ
たときに電話回線2の終端に形成される合成抵抗の分担
電圧を検出しており、例えば、通常の電話回線では、電
話交換機1からはDC48Vの直流電源が供給され、電
話回線2は片道で500Ω〜2KΩの固有抵抗を有し、
ブランチ電話機3、付属電話機4および外付け電話機5
はいずれも300Ωの内部抵抗を有している。また、電
話回線2の抵抗値は、電話機3〜5の設置場所によって
異なるが、同一設置場所ではほぼ一定とみなすことがで
きる。
The line voltage detection circuit 6 is a hook switch F.
The shared voltage of the combined resistance formed at the end of the telephone line 2 is detected when S is closed or the contact rs of the CML relay is closed. For example, in a normal telephone line, DC48V is supplied from the telephone exchange 1. , The telephone line 2 has a one-way specific resistance of 500Ω to 2KΩ,
Branch telephone 3, accessory telephone 4 and external telephone 5
Have an internal resistance of 300Ω. The resistance value of the telephone line 2 varies depending on the installation locations of the telephones 3 to 5, but can be considered to be almost constant at the same installation location.

【0006】したがって、このような条件においては、
オフフックによって電話回線2に接続される電話機の台
数(着信状態のファクシミリ装置を含む)が増大する
と、終端に形成される合成抵抗は小さくなり、その変動
幅も小さくなるという特性がある。図7は、回線電圧検
出回路6の基本動作を示すもので、電話回線2に接続さ
れた付属電話機4、外付け電話機5がいずれもオンフッ
クの状態にあり、かつファクシミリ装置Fが着信、保留
状態にない非閉結、つまり待機時には、Voレベルの電
圧(つまり48Vに対応する電圧)を検出しているが、
いずれか1台の電話機がオフフックするか、またはファ
クシミリ装置Fが着信すると、直流回路が閉結されるた
め検出電圧のレベルがV1に低下し、更にもう1台の電
話機がオフフックになれば、終端の合成抵抗が半減し、
検出電圧のレベルがV2に低下する特性を呈し、オフフ
ックとなる電話機が増大すれば、それにともなって低下
する電圧レベル差も順次小さくなって行く。
Therefore, under such a condition,
When the number of telephones connected to the telephone line 2 by off-hook (including a facsimile apparatus in an incoming state) increases, the combined resistance formed at the end becomes small and the fluctuation range thereof also becomes small. FIG. 7 shows the basic operation of the line voltage detection circuit 6, in which both the attached telephone 4 and the external telephone 5 connected to the telephone line 2 are in the on-hook state, and the facsimile apparatus F receives and holds the call. In the non-closed state that is not in, that is, in the standby state, the Vo level voltage (that is, the voltage corresponding to 48V) is detected.
When one of the telephones goes off-hook or the facsimile apparatus F receives a call, the DC circuit is closed and the level of the detected voltage drops to V1. The combined resistance of
As the number of off-hook telephones that exhibit the characteristic that the level of the detected voltage drops to V2, the voltage level difference that drops is gradually decreasing.

【0007】従来では、ブランチ電話機のオフフックを
検出するために、予めファクシミリ装置Fが検出電圧レ
ベルV1、V2を記憶し、回線電圧検出回路6で検出さ
れた電圧と比較していた。回線電圧は国や地域、使用場
所によって異なるので、その都度、検出電圧レベルV
1、V2を調整する必要があった。また、単純に電圧を
比較していたので、ノイズ等の影響を受けやすかった。
Conventionally, in order to detect the off-hook of the branch telephone, the facsimile device F stores the detection voltage levels V1 and V2 in advance and compares them with the voltage detected by the line voltage detection circuit 6. Since the line voltage varies depending on the country, region, and place of use, the detected voltage level V
1, it was necessary to adjust V2. Moreover, since the voltages were simply compared, they were easily affected by noise and the like.

【0008】[0008]

【発明が解決しようとする課題】本発明は、このような
事情に鑑みて開発されたものであり、通信端末装置を使
用する国や地域が変わっても、ブランチ電話機のオフフ
ックを検出する回線電圧レベルを調整する必要がなく、
ノイズなどの影響を受けて変動しやすい場合にも、誤動
作の少ないブランチ電話機の判別方法を用いた通信端末
装置を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been developed in view of such circumstances, and a line voltage for detecting off-hook of a branch telephone even if the country or region where the communication terminal device is used is changed. You do n’t have to adjust the level,
An object of the present invention is to provide a communication terminal device using a method of discriminating a branch telephone with less malfunction even when it is susceptible to fluctuations due to noise and the like.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に提案される本発明は、次のような構成を特徴としてい
る。すなわち、請求項1において提案された本発明は、
ブランチ電話機の接続された電話回線に回線電圧検出回
路を並列接続した基本構成において、サンプリングした
回線電圧と、そのサンプリング時刻よりも一定時間前に
サンプリングされた回線電圧とを、サンプリング毎に比
較し、その差が基準幅より大きくなる判別結果が連続し
て所定回数に達したときに、初めてブランチ電話機のオ
ンフック、オフフックの状態変化を検知する構成となっ
ている。
The present invention, which is proposed to achieve the above object, is characterized by the following configurations. That is, the present invention proposed in claim 1
In the basic configuration in which the line voltage detection circuit is connected in parallel to the telephone line connected to the branch telephone, the sampled line voltage and the line voltage sampled a fixed time before the sampling time are compared for each sampling, The configuration is such that the on-hook and off-hook state changes of the branch telephone are first detected when the result of the determination that the difference is larger than the reference width reaches a predetermined number of times in succession.

【0010】また、請求項2において提案された本発明
は、特に通信端末装置の電話回線が閉結された状態、例
えば回線保留状態、付属電話機、あるいは付属の留守番
電話機が電話回線に接続されている状態にあるときに、
請求項1において言及された比較判別方法を実施して得
た判別結果を用いて、ブランチ電話機のオンフック、オ
フフックの状態変化を検知するようにしている。
Further, the invention proposed in claim 2 is such that the telephone line of the communication terminal device is closed, for example, the line holding state, an attached telephone, or an attached answering machine is connected to the telephone line. When you are in
The change in the on-hook and off-hook states of the branch telephone is detected by using the determination result obtained by executing the comparison / determination method mentioned in claim 1.

【0011】更に、請求項3において提案された本発明
は、一定時間前にサンプリングされた回線電圧が所定の
基準レベルを超えた時には、所定のレベルに置き換え
て、比較することを特徴としている。
Further, the present invention proposed in claim 3 is characterized in that, when the line voltage sampled a predetermined time ago exceeds a predetermined reference level, the line voltage is replaced with a predetermined level for comparison.

【0012】[0012]

【作用】請求項1に記載の通信端末装置によれば、回線
電圧をサンプリングする毎に、予め設定された基準レベ
ルと比較して、ブランチ電話機の状態変化を判断する方
法は採用せずに、サンプリングされた回線電圧は、その
サンプリング時刻に対して一定時間前にサンプリングさ
れ、サンプリングメモリに前データとして取り込まれた
回線電圧と逐次比較されるため、回線電圧が何等かの原
因によって、長い時間の経過によって緩やかに変化する
ような場合(例えば、電源を遮断した後に徐々に低下し
て行く)にはブランチ電話機の状態変化は検知されない
ので誤動作がない。
According to the communication terminal device of the present invention, each time the line voltage is sampled, it is compared with a preset reference level to judge the change in the state of the branch telephone. The sampled line voltage is sampled at a certain time before the sampling time and is compared successively with the line voltage fetched as previous data in the sampling memory. In the case of a gradual change with the passage of time (for example, the power is cut off and then gradually decreased), the change in the state of the branch telephone is not detected, so that no malfunction occurs.

【0013】また、このような本発明によれば、回線電
圧がノイズなどの影響を受けて短い期間内で小刻みに変
動しているような不安定条件下においては、回線電圧が
基準幅を上下に越える変化を繰り返しても、回線電圧の
変動幅を一定時間以上連続して検出する方法をとってお
り、ブランチ電話機のオフフック、オンフック検知はな
されないので、信頼性も高い。
Further, according to the present invention, the line voltage rises above and below the reference width under an unstable condition in which the line voltage fluctuates in a short period due to the influence of noise or the like. Even if the change over is repeated, the fluctuation range of the line voltage is continuously detected for a fixed time or longer, and the off-hook and on-hook detection of the branch telephone is not performed, so the reliability is high.

【0014】また、請求項2に記載の通信端末装置によ
れば、通信端末装置の電話回線が閉結されたため回線電
圧レベルが低くなり、そのためにブランチ電話機のオン
フック、オフフックによる状態変化時における電圧変動
差が小さくなった場合に、請求項1において言及された
比較判別方法を実行するので、誤動作の生じやすい環境
下において、誤動作を生じさせることなく、ブランチ電
話機の状態判別を行うことが出来る。
According to another aspect of the communication terminal device of the present invention, since the telephone line of the communication terminal device is closed, the line voltage level becomes low. Therefore, the voltage at the time of the state change of the branch telephone due to on-hook or off-hook is changed. When the variation difference becomes small, the comparison / discrimination method mentioned in claim 1 is executed, so that the state of the branch telephone can be discriminated without causing a malfunction in an environment where a malfunction easily occurs.

【0015】請求項3に記載の通信端末装置によれば、
請求項1において、一定時間前にサンプリングされた回
線電圧が所定の基準レベルを超えた時には、所定の基準
レベルに置き換えて、比較している。このため、必要な
数の回線電圧をサンプリングしている最中に、ブランチ
電話機がオフフックとなり、すぐにオンフックの状態に
復帰した場合、またはその逆で、オンフックしてすぐに
オフフックの状態に復帰した場合にも、そのサンプリン
グ期間中に格納されたデータは、所定の基準レベル(少
なくともこのレベルから明らかにオンフック/オフフッ
クを判断できるようなレベル)に保持された前データと
して、比較されるので、次のサンプリング時には、その
状態変化が反映され、ブランチ電話機の状態変化を誤り
なく検出できる。
According to the communication terminal device of the third aspect,
In claim 1, when the line voltage sampled a predetermined time ago exceeds a predetermined reference level, the line voltage is replaced with a predetermined reference level for comparison. Therefore, while sampling the required number of line voltages, the branch phone goes off-hook and immediately returns to the on-hook state, or vice versa, on-hook and immediately returns to the off-hook state. In any case, the data stored during the sampling period is compared as the previous data held at a predetermined reference level (at least a level at which on-hook / off-hook can be clearly judged from this level), and therefore At the time of sampling, the state change is reflected and the state change of the branch telephone can be detected without error.

【0016】図5の(ロ)は、この請求項3によって解
決されるブランチ電話機のオフフック、オンフック時の
急激な変化を示したものであり、同図の(イ)はブラン
チ電話機をオンフックからオフフックに変化する状態を
示したものである。
FIG. 5B shows a rapid change in the off-hook state and on-hook state of the branch telephone set solved by the third aspect. FIG. 5B shows the branch telephone set from the on-hook state to the off-hook state. It shows the state of changing to.

【0017】[0017]

【実施例】以下に、図面を参照して本発明の実施例を説
明する。図4は本発明の一実施例であるファクシミリ装
置Fの内部構成の一例を示す図である。このファクシミ
リ装置Fは、同一の電話回線2にブランチ電話機3を並
列に接続し、さらにファクシミリ装置Fの本体内におい
て、内蔵した付属電話機4と、電話端子に接続した外付
け電話機5を切換手段を構成するH,Lリレーを介して
電話回線2に並列に接続している。なお、図示はされて
いないが、外付け電話機5に代えて内蔵留守番電話機を
接続したり、あるいは内蔵留守番電話機を新に加えても
よい。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 4 is a diagram showing an example of the internal configuration of the facsimile apparatus F which is an embodiment of the present invention. In this facsimile apparatus F, branch telephones 3 are connected in parallel to the same telephone line 2, and in the main body of the facsimile apparatus F, a built-in accessory telephone 4 and an external telephone 5 connected to a telephone terminal are provided with switching means. It is connected in parallel to the telephone line 2 through the constituent H and L relays. Although not shown, a built-in answering machine may be connected instead of the external telephone 5, or a built-in answering machine may be newly added.

【0018】ファクシミリ装置Fの本体内には、更に、
回線電圧検出回路6が電話回線2に並列に接続されてお
り、電話回線2にはCMLリレーの接点rsを介して極
性反転回路7が接続されている。一方の付属電話機4、
外付け電話機5は、CPU11によって切換制御される
切換接点a,bを有した制御切換リレーであるHリレ
ー,Lリレーを介して、電話回線側と、内線回路側に切
換接続されるようになっており、内線回路側には、切換
接点a,bを有した内線切換リレーT1,T2によっ
て、内線電源供給回路8と、内線通話のための呼出音を
出力する疑似ベル発生回路9とを切換接続するようにな
っており、更に付属電話機4と外付け電話機5の各々に
は送受話器のオフフック、オンフックを検出するための
フック検出回路OH1,OH2と、外線からの呼出信号
(16Hz)を検出する呼出信号検出回路10を接続し
ている。
In the main body of the facsimile device F,
A line voltage detection circuit 6 is connected in parallel to the telephone line 2, and a polarity reversing circuit 7 is connected to the telephone line 2 via a contact rs of a CML relay. One attached telephone 4,
The external telephone 5 is switched and connected to the telephone line side and the extension circuit side via H relays and L relays which are control switching relays having switching contacts a and b which are switching-controlled by the CPU 11. On the extension circuit side, the extension power supply circuit 8 and the pseudo bell generation circuit 9 that outputs a ringing tone for an extension call are switched by extension switching relays T1 and T2 having switching contacts a and b. In addition, hook detection circuits OH1 and OH2 for detecting the off-hook and on-hook of the handset and the ringing signal (16 Hz) from the outside line are respectively detected in the attached telephone 4 and the external telephone 5. The ringing signal detection circuit 10 is connected.

【0019】ここに、フック検出回路OH1,OH2の
それぞれはホトカプラを有しており、ファクシミリ装置
Fが待機状態にあり、H,Lリレーによって、各々の電
話機4,5を電話回線2に接続しているときに、各々の
電話機4,5の送受話器が取り外されて、それぞれのフ
ックスイッチFS,FSが閉じられ、オフフックとなる
と、電話回線2からホトカプラに流れ込むループ電流に
よってオフフックを検出し、送受話器が置かれ、フック
スイッチFS,FSが開かれ、オンフックとなるとルー
プ電流の流れ込みがなくなることによって、オンフック
を検出し、その検出信号はCPU11に入力され、ここ
で判断されている。本実施例では、ホトカプラによって
フック検出回路を構成しているが、フック検出用の接点
を備えたフックスイッチによっても、フック検出回路を
構成することができる。この場合、回線の電圧、電流の
影響を全く受けないので、より正確に電話機4、5のオ
フフックを検出することができる。
Here, each of the hook detection circuits OH1 and OH2 has a photo coupler, the facsimile apparatus F is in a standby state, and each of the telephones 4 and 5 is connected to the telephone line 2 by the H and L relays. While the handset is off, the handset of each of the telephones 4 and 5 is detached, the respective hook switches FS and FS are closed, and when it goes off-hook, the off-hook is detected by the loop current flowing from the telephone line 2 to the photocoupler, and the transmission When the handset is placed, the hook switches FS and FS are opened, and the loop current does not flow when it goes on-hook, the on-hook is detected, and the detection signal is input to the CPU 11 and is judged here. In the present embodiment, the hook detection circuit is configured by the photocoupler, but the hook detection circuit can be configured by a hook switch having a contact for hook detection. In this case, since there is no influence of the line voltage and current, the off-hook of the telephones 4 and 5 can be detected more accurately.

【0020】Meは、前データとして取り込まれた回線
電圧のサンプリングデータや、回線閉結時、非閉結時に
おいてブランチ電話機のオンフック、オフフックの状態
判別に必要な第1,第2の基準幅α,βなどを記憶した
内部メモリである。したがって、この一部はサンプリン
グメモリとして、T時間前から直前にサンプリングされ
た回線電圧を順次、更新可能に格納している。サンプリ
ングメモリとしては、サンプリングした現時点のデータ
からT時間前のデータを格納し、最新のデータで最も古
いデータを順次消去して行くシフトレジスタがそのまま
使用できる。
Me is the sampling data of the line voltage taken in as the previous data, and the first and second reference widths α necessary for judging the on-hook and off-hook states of the branch telephone when the line is closed or not closed. , Β, etc. are stored in the internal memory. Therefore, a part of this is used as a sampling memory to store the line voltages sampled from T time ago to immediately before and sequentially updatable. As the sampling memory, a shift register can be used as it is, which stores the data T hours before the sampled current data and sequentially erases the oldest data of the latest data.

【0021】また、CPU11は、外線からの呼出に対
しては、呼出信号検出回路10が16Hzの呼出信号C
Iを検出すると、CMLリレーの接点rsを閉じてモデ
ムMを電話回線2に接続し、ファクシミリ装置Fが着信
した後、保留状態にあるときには、このCMLリレーの
接点rsを閉じた状態に保持する。更に、留守番モード
に設定すれば、内蔵留守番電話機の自動着信機能によっ
て自動着信が可能である。なお、C1はコンデンサで、
C1はCMLリレーの接点rsに並列に接続されてお
り、CMLリレーの接点rsが開いていても、交流信号
に対してはモデムMを電話回線2に接続している。
In addition, the CPU 11 causes the call signal detection circuit 10 to call the call signal C of 16 Hz when calling from an outside line.
When I is detected, the contact rs of the CML relay is closed, the modem M is connected to the telephone line 2, and when the facsimile apparatus F receives the call and is in the hold state, the contact rs of the CML relay is held in the closed state. . Furthermore, if the answering machine is set to the answering machine mode, the automatic answering function of the built-in answering machine enables an automatic incoming call. C1 is a capacitor,
C1 is connected in parallel to the contact rs of the CML relay, and even if the contact rs of the CML relay is open, the modem M is connected to the telephone line 2 for AC signals.

【0022】付属電話機4と外付け電話機5とは内線通
話が行える。このため、どちらか一方、例えば電話機4
をオフフックにし、テンキーを操作するなどして、相手
側の内線番号を指定すると、CPU11はLリレーの接
点aを閉じ、更に内線切換リレーT2の接点aを閉じ
て、疑似ベル発生回路9を作動させて、相手側の電話機
5を呼び出す。これに対して、呼出を受けた相手側の電
話機5がオフフックすると、CPU11はLリレーの接
点a閉じを保持し、内線切換リレーT2の接点bを閉じ
て、内線電源供給回路8を接続して通話を可能にする。
このとき、Hリレーは接点aが閉じ、内線切換リレーT
1は接点bが閉じられるようになっている。
An extension call can be made between the attached telephone 4 and the external telephone 5. Therefore, either one, for example, the telephone 4
When the other party's extension number is designated by turning off the hook and operating the ten-key pad, the CPU 11 closes the contact a of the L relay and further closes the contact a of the extension switching relay T2 to operate the pseudo bell generating circuit 9. Then, the other party's telephone 5 is called. On the other hand, when the called telephone 5 of the other party goes off-hook, the CPU 11 keeps the contact a of the L relay closed and the contact b of the extension switching relay T2 closed to connect the extension power supply circuit 8. Make a call.
At this time, the contact a of the H relay is closed and the extension switching relay T
1 is such that the contact b is closed.

【0023】図1のステップ100〜107は、本発明
における基本動作を示したフローチャートであり、10
m秒毎に実行される。本発明では、サンプリングした回
線電圧Vnを取り込み、後述するBRCポートのステー
タスの変化の有無を判別し、ステータスの変化があれ
ば、タイマをセットする。ここに、タイマのセット値
は、回線電圧の取り込み禁止期間taに、サンプリング
期間tdを加えた値となっている。前者の回線電圧の取
り込み禁止期間taは、回線電圧が安定するまでの待ち
時間で、後者のサンプリング期間tdは、ブランチ電話
機のオンフック、オフフックの判断に必要な数の回線電
圧をサンプリングするための期間である。
Steps 100 to 107 of FIG. 1 are flowcharts showing the basic operation of the present invention.
It is executed every m seconds. In the present invention, the sampled line voltage Vn is fetched, the presence or absence of the status change of the BRC port described later is discriminated, and if the status is changed, the timer is set. Here, the set value of the timer is a value obtained by adding the sampling period td to the line voltage take-in prohibition period ta. The former line voltage take-in prohibition period ta is a waiting time until the line voltage stabilizes, and the latter sampling period td is a period for sampling the number of line voltages necessary for judging whether the branch telephone is on-hook or off-hook. Is.

【0024】ステータスに変化がなければ、タイマの残
り時間を参照する。タイマの残り時間が0であれば、既
にサンプリングデータの格納が終了しているので、後述
の基準電圧更新ルーチンとステータス設定ルーチンを実
行する。タイマの残り時間がTdより小さいときには、
サンプリングデータの格納が完了していないので、基準
電圧更新ルーチンを実行して、サンプリングデータの格
納を行う。また、タイマの残り時間Tdより大きいとき
は、回線電圧が安定するまでの待ち時間であるので、処
理を終了する。
If the status has not changed, the remaining time of the timer is referred to. If the remaining time of the timer is 0, the storage of the sampling data has already been completed, and the reference voltage updating routine and the status setting routine, which will be described later, are executed. When the remaining time of the timer is less than Td,
Since the storage of the sampling data is not completed, the reference voltage update routine is executed to store the sampling data. If the remaining time Td of the timer is longer than the waiting time until the line voltage stabilizes, the process is terminated.

【0025】図2のステップ200〜210は、基準電
圧更新ルーチンの基本動作、特にオフフックステータス
時の基本動作を示している。回線電圧は、サンプリング
され、取り込まれると、その度に、そのときのサンプリ
ング時刻より、一定時間T前の回線電圧V(n−T)と
比較される。この回線電圧V(n−T)は、回線電圧V
(n)よりもT時間前にサンプリングされた回線電圧で
あり、サンプリングデータメモリに格納されている。
Steps 200 to 210 of FIG. 2 show the basic operation of the reference voltage update routine, particularly the basic operation in the off-hook status. Each time the line voltage is sampled and taken in, the line voltage is compared with the line voltage V (n−T) before the fixed time T from the sampling time at that time. This line voltage V (n-T) is the line voltage V
The line voltage is sampled T time earlier than (n) and is stored in the sampling data memory.

【0026】実際には、この比較判別の前処理として、
T時間前にサンプリングされた回線電圧V(n−T)
が、ブランチ電話機のオフフックを判別するための所定
の基準レベルVr(図5参照)を越えていたかどうかが
判断され、所定の基準レベルVrを越えておれば、サン
プリングされた回線電圧V(n)と、所定の基準レベル
Vrとの差が、第1、第2の変化幅α,βを越えている
かどうかを判断し、これらの変化幅を越えておれば、ポ
ートカウンタをインクリメントし、そうでない場合には
デクリメントする。
Actually, as a pre-process for this comparison / determination,
Line voltage V (n-T) sampled before T time
Has exceeded a predetermined reference level Vr (see FIG. 5) for determining the off-hook of the branch telephone, and if it exceeds the predetermined reference level Vr, the sampled line voltage V (n) And the difference between the predetermined reference level Vr and the first and second change widths α and β are determined, and if the difference exceeds these change widths, the port counter is incremented and otherwise. In some cases decrement.

【0027】この比較判別では、OH検出回路OH1、
OH2の検出結果に基づき、回線電圧が非閉結状態(待
機レベル)にある場合には第1の基準幅αが、回線電圧
が閉結状態にある場合には第2の変化幅βが、サンプリ
ングされた回線電圧V(n)の比較判別基準として採用
される。このようにして、回線電圧V(n)が取り込ま
れる毎に、ポートカウンタの計数値を変化させるが、そ
の計数値が予め設定された所定値(図例では「2」)を
越えておれば、BRCポートのステータスをONに設定
する。
In this comparison judgment, the OH detection circuit OH1,
Based on the detection result of OH2, the first reference width α is set when the line voltage is in the non-closed state (standby level), and the second change width β is set when the line voltage is in the closed state. It is adopted as a reference for comparison of the sampled line voltage V (n). In this way, the count value of the port counter is changed each time the line voltage V (n) is taken in. If the count value exceeds a preset predetermined value (“2” in the example in the figure). , Set the status of the BRC port to ON.

【0028】一方、T時間前にサンプリングされた回線
電圧V(n−T)が、所定の基準レベルVrを越えてい
ない場合には、サンプリングされた回線電圧V(n)
と、T時間前にサンプリングされた回線電圧V(n−
T)との差が、第1、第2の変化幅α,βを越えている
かどうかを判断し、越えておれば、ポートカウンタをイ
ンクリメントし、そうでない場合にはデクリメントす
る。
On the other hand, when the line voltage V (n-T) sampled before T time does not exceed the predetermined reference level Vr, the sampled line voltage V (n) is obtained.
And the line voltage V (n-
It is determined whether or not the difference from T) exceeds the first and second change widths α and β, and if it exceeds, the port counter is incremented, and if not, decremented.

【0029】ポートカウンタは、「0」を初期値とし
て、上記した比較判別結果に応じて、インクリメント、
デクリメントされ、計数値が「2」より大きくなればB
RCポートのステータスをONにして計数値を2にクリ
アするが、計数値が「0」より小さくなればBRCポー
トのステータスをOFFにして計数値を「0」にクリア
する。本実施例では、ポートカウンタの計数値と0、2
とを比較しているが、この値にかかわらず、適切な値を
とればよい。
The port counter has an initial value of "0" and is incremented in accordance with the above-mentioned comparison / determination result.
If decremented and the count value becomes larger than "2", B
The status of the RC port is turned on and the count value is cleared to 2. However, if the count value becomes smaller than "0", the status of the BRC port is turned off and the count value is cleared to "0". In this embodiment, the count value of the port counter and 0, 2
Although it is compared with, the appropriate value should be taken regardless of this value.

【0030】図3のステップ300〜308は、図2の
基本動作によって設定されたBRCポートのステータス
のON、OFFの状態に基づいて、ブランチ電話機のオ
ンフック、オフフックを判別するステータス設定ルーチ
ンをフローチャートをもって示している。ブランチ電話
機のオンフック、オフフックは、ポートカウンタの計数
値が所定値に達した後、更にBRCのOHカウンタ(ダ
ウンカウンタ)を減算し、その計数値が0に達したとき
に、ステータスフラグをON、OFFに更新することに
よって判別されている。BRCのOHカウンタは、例え
ば40(400ミリ秒に相当)などの初期値に設定され
る。
Steps 300 to 308 of FIG. 3 are flowcharts of a status setting routine for discriminating between on-hook and off-hook of the branch telephone based on the ON / OFF status of the BRC port status set by the basic operation of FIG. Shows. For on-hook and off-hook of the branch telephone, after the count value of the port counter reaches a predetermined value, the OH counter (down counter) of the BRC is further subtracted, and when the count value reaches 0, the status flag is turned on, It is determined by updating to OFF. The BRC OH counter is set to an initial value such as 40 (corresponding to 400 milliseconds).

【0031】[0031]

【発明の効果】請求項1,2に記載された本発明の通信
端末装置によれば、短い時間経過のなかで、電圧レベル
が変化する状態が所定時間継続したときに初めて、ブラ
ンチ電話機のオンフック、オフフックの状態を判別する
ので、短時間で電圧レベルが大きく変化したものに対し
ては状態変化を検知しない。したがって、ノイズなどの
影響を受けて回線電圧が不安定な場合にも、回線電圧検
出回路によってブランチ電話機の判別を誤りなく行うこ
とが出来る。
According to the communication terminal device of the present invention as set forth in claims 1 and 2, the branch telephone is on-hook only when the state in which the voltage level changes continues for a predetermined time in a short time. Since the off-hook state is determined, the state change is not detected even if the voltage level changes greatly in a short time. Therefore, even when the line voltage is unstable due to the influence of noise or the like, the branch telephone can be discriminated without error by the line voltage detection circuit.

【0032】特に、請求項2に記載された本発明の通信
端末装置では、ブランチ電話機のオンフック、オフフッ
クの状態変化時における回線電圧の変動差が、回線の開
放時に比べて小さくなってしまう回線の閉結時におい
て、回線電圧検出回路によるブランチ電話機の判別を誤
りなく行える。更に、請求項3に記載された本発明の通
信端末装置によれば、請求項1に言及された比較判別方
法によってブランチ電話機の状態判別のため、回線電圧
をサンプリングしている最中において、ブランチ電話機
がオフックされ、瞬時にオンフックに復帰したような場
合にも、その状態変化を誤りなく行うことが出来る。
Particularly, in the communication terminal device of the present invention as defined in claim 2, the difference in line voltage fluctuation when the state of the on-hook or off-hook state of the branch telephone is changed becomes smaller than that when the line is opened. When closed, the line telephone can be correctly identified by the line voltage detection circuit. Further, according to the communication terminal device of the present invention described in claim 3, the branch voltage is sampled while the line voltage is being sampled for the status judgment of the branch telephone by the comparison judgment method described in claim 1. Even when the telephone is turned off and instantly returns to the on-hook state, the state change can be performed without error.

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

【図1】回線電圧を取り込んで、比較判別を行う本発明
の基本動作を示したフローチャートである。
FIG. 1 is a flowchart showing a basic operation of the present invention for taking a line voltage and making a comparison / determination.

【図2】基準電圧更新ルーチンの基本動作を示したフロ
ーチャートである。
FIG. 2 is a flowchart showing a basic operation of a reference voltage updating routine.

【図3】BRCポートのステータス設定ルーチンの基本
動作を示したフローチャートである。
FIG. 3 is a flowchart showing a basic operation of a BRC port status setting routine.

【図4】本発明の一実施例であるファクシミリ装置の基
本構成を示したブロック図である。
FIG. 4 is a block diagram showing a basic configuration of a facsimile apparatus which is an embodiment of the present invention.

【図5】ブランチ電話機がオンフック、オフフックに状
態変化した場合の回線電圧の変化を示したタイムチャー
トである。
FIG. 5 is a time chart showing a change in line voltage when the branch telephone changes state to on-hook and off-hook.

【図6】ブランチ電話機、回線電圧検出回路を含んだ直
流等価回路の基本構成図である。
FIG. 6 is a basic configuration diagram of a DC equivalent circuit including a branch telephone and a line voltage detection circuit.

【図7】回線電圧検出回路の基本動作を示したタイムチ
ャートである。
FIG. 7 is a time chart showing the basic operation of the line voltage detection circuit.

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

F・・・ファクシミリ装置(通信端末装置) 1・・・電話交換機 2・・・電話回線 3・・・ブランチ電話機 4・・・付属電話機 5・・・外付け電話機 6・・・回線電圧検出回路 11・・・CPU V(n)・・・サンプリングされた回線電圧 V(n−T)・・・T時間前にサンプリングされた回線
電圧
F ... Facsimile device (communication terminal device) 1 ... Telephone switch 2 ... Telephone line 3 ... Branch telephone 4 ... Auxiliary telephone 5 ... External telephone 6 ... Line voltage detection circuit 11 ... CPU V (n) ... Line voltage sampled V (n-T) ... Line voltage sampled before T time

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ブランチ電話機の接続された電話回線に回
線電圧検出回路を並列接続した通信端末装置において、
サンプリングした回線電圧と、そのサンプリング時刻よ
り一定時間前にサンプリングされた回線電圧とを、回線
電圧をサンプリングする毎に逐次比較し、その差が所定
の基準幅より大きくなる判別結果が連続して所定回数に
達したときに、ブランチ電話機の状態変化を判別するよ
うにした通信端末装置。
1. A communication terminal device in which a line voltage detection circuit is connected in parallel to a telephone line connected to a branch telephone,
Each time the line voltage is sampled, the line voltage sampled and the line voltage sampled a fixed time before the sampling time are sequentially compared, and the difference is greater than the predetermined reference width. A communication terminal device adapted to determine a change in the state of a branch telephone when the number of times is reached.
【請求項2】請求項1に記載の通信端末装置において、 上記通信端末装置の電話回線が閉結された状態にあると
きに、回線電圧のサンプリングした値と、一定時間前に
サンプリングされた回線電圧との比較を逐次行って得た
判別結果に基づいて、ブランチ電話機の状態変化を判別
するようにした通信端末装置。
2. The communication terminal device according to claim 1, wherein when the telephone line of the communication terminal device is in a closed state, a sampled value of the line voltage and a line sampled before a fixed time. A communication terminal device for discriminating a state change of a branch telephone based on a discrimination result obtained by sequentially comparing with a voltage.
【請求項3】請求項1に記載の通信端末装置において、 一定時間前にサンプリングされた回線電圧が所定の基準
レベルを超えた時には、所定のレベルに置き換えて、比
較することを特徴とする通信端末装置。
3. The communication terminal device according to claim 1, wherein when the line voltage sampled a predetermined time ago exceeds a predetermined reference level, the line voltage is replaced with a predetermined level for comparison. Terminal device.
JP7089432A 1995-04-14 1995-04-14 Communication terminal device Expired - Fee Related JP2770220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7089432A JP2770220B2 (en) 1995-04-14 1995-04-14 Communication terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7089432A JP2770220B2 (en) 1995-04-14 1995-04-14 Communication terminal device

Publications (2)

Publication Number Publication Date
JPH08289039A true JPH08289039A (en) 1996-11-01
JP2770220B2 JP2770220B2 (en) 1998-06-25

Family

ID=13970514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7089432A Expired - Fee Related JP2770220B2 (en) 1995-04-14 1995-04-14 Communication terminal device

Country Status (1)

Country Link
JP (1) JP2770220B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100632223B1 (en) * 1998-11-05 2006-10-11 톰슨 콘슈머 일렉트로닉스, 인코포레이티드 High-impedance absolute telephone line voltage measurement circuit
KR100833233B1 (en) * 2005-10-05 2008-05-28 삼성전자주식회사 Off-hook detection method and apparatus for parallel connection telephone
US8280017B2 (en) 2007-09-25 2012-10-02 Oki Data Corporation Communication terminal apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4192856B2 (en) 2004-07-07 2008-12-10 ブラザー工業株式会社 Communication device, line closing method and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04307845A (en) * 1991-04-05 1992-10-30 Matsushita Electric Ind Co Ltd telephone equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04307845A (en) * 1991-04-05 1992-10-30 Matsushita Electric Ind Co Ltd telephone equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100632223B1 (en) * 1998-11-05 2006-10-11 톰슨 콘슈머 일렉트로닉스, 인코포레이티드 High-impedance absolute telephone line voltage measurement circuit
KR100833233B1 (en) * 2005-10-05 2008-05-28 삼성전자주식회사 Off-hook detection method and apparatus for parallel connection telephone
US8280017B2 (en) 2007-09-25 2012-10-02 Oki Data Corporation Communication terminal apparatus

Also Published As

Publication number Publication date
JP2770220B2 (en) 1998-06-25

Similar Documents

Publication Publication Date Title
JP2833513B2 (en) Communication terminal device
US5432835A (en) Telephone device for amplifying opposite party's voice after user's telephone is placed on-hook
JPH08289039A (en) Communication terminal equipment
JP2890179B2 (en) Communication terminal device
KR0173403B1 (en) Automatic recovery device by phone call and its method
JPH08251279A (en) Communication terminal equipment
JP2921432B2 (en) Communication terminal device
JP3748542B2 (en) Communication device
JP2804551B2 (en) Home simple exchange device
JPH0238529Y2 (en)
JPS60119158A (en) Automatic dialing device
KR940006003B1 (en) Permanent hook-off prevention method
JPH08307549A (en) Facsimile equipment
JPS60103758A (en) Circuit condition discriminating circuit
JPS6363247A (en) Telephone set with holding function
JPH0750707A (en) Telephone terminal equipment
JPH05191543A (en) Facsimile equipment quipped with simultaneous ringing preventing function
JP2000059525A (en) Communication terminal equipment
JPH0381356B2 (en)
KR930011616A (en) Receiving Control Method in Fax Manual Reception Mode
KR970031641A (en) METHOD FOR PREVENTING HAND SET NEGLECTING IN TELEPHONE
JPS62276949A (en) Network control unit
JPS6113848A (en) Circuit for detecting polarity inversion
JP2000156723A (en) Communication terminal with redialing function
HK1014408A (en) Communication terminal device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980310

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees