JP2006005473A - Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set - Google Patents

Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set Download PDF

Info

Publication number
JP2006005473A
JP2006005473A JP2004177324A JP2004177324A JP2006005473A JP 2006005473 A JP2006005473 A JP 2006005473A JP 2004177324 A JP2004177324 A JP 2004177324A JP 2004177324 A JP2004177324 A JP 2004177324A JP 2006005473 A JP2006005473 A JP 2006005473A
Authority
JP
Japan
Prior art keywords
telephone
terminals
level
connection
terminal
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
JP2004177324A
Other languages
Japanese (ja)
Inventor
Tamihei Hiramatsu
民平 平松
Hideaki Suematsu
秀昭 末松
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004177324A priority Critical patent/JP2006005473A/en
Publication of JP2006005473A publication Critical patent/JP2006005473A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To highly accurately discriminate the connection patterns of the four-terminal modular cable of a telephone set. <P>SOLUTION: This device is provided with measuring means 21-23, 31, 34 and 35 for performing a process in which the telephone set main body is disconnected, and AC signals are supplied to two terminals of the four-terminal modular cable connected to the telephone set to measure impedance of a receiver, by switching the combination of the two terminals between a plurality of patterns; a selecting means 35 for selecting the predetermined number of combinations among the plurality of patterns of combinations of terminals in an order of combination having smaller measured impedance, as the candidate of a terminal for speaker connection and the candidate of a terminal for microphone connection of the telephone set; measuring means 23, 34 and 35 for performing a process of measuring the level of a dial tone signal supplied from the two terminals of the four-terminal modular cable connected to the telephone main body, by switching the combination of the two terminals to each of the predetermined number of combinations; and an identifying means 35 for identifying the combinations having the maximum measured tone level and the minimum tone level as two terminals for speaker connection and the terminals for microphone connection of the telephone set. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、電話機本体と受話器とが4端子モジュラーケーブルで接続される電話機を用いて、受話器の代わりに外部音声入出力装置で通話を行うためのスイッチ装置、及び、電話機の電話機本体と受話器とを接続する4端子モジュラーケーブルの接続パターンの識別方法に関する。   The present invention relates to a switch device for performing a call using an external voice input / output device instead of a telephone receiver, using a telephone in which the telephone main body and the telephone receiver are connected by a four-terminal modular cable, and the telephone main body and the telephone receiver of the telephone The present invention relates to a method for identifying a connection pattern of a four-terminal modular cable for connecting a cable.

電話機本体と受話器(ハンドセット)とを4端子モジュラーケーブルで接続した電話機が、オフィスや家庭に普及している。そうした電話機では、4端子モジュラーケーブルの4つの端子のうち、2つの端子は電話機本体と受話器のスピーカとを接続する(電話機本体からスピーカに音声信号を送る)ために用いられ、残りの2つの端子は電話機本体と受話器のマイクロホンとを接続する(マイクロホンから電話機本体に音声信号を送る)ために用いられる。   Telephones in which a telephone main body and a handset (handset) are connected with a four-terminal modular cable are widely used in offices and homes. In such a telephone, two of the four terminals of the four-terminal modular cable are used to connect the telephone body and the speaker of the handset (send audio signals from the telephone body to the speaker), and the remaining two terminals Is used to connect the telephone body and the microphone of the handset (send an audio signal from the microphone to the telephone body).

これらの4つの端子のうち、どの2つの端子をスピーカと接続するために用い、どの2つの端子をマイクロホンと接続するために用いるかは、規格化されていない。そのため、電話機メーカーによってこの接続パターンが異なっていたり、同じメーカーでも機種によってこの接続パターンが異なっているのが現状である。   Of these four terminals, which two terminals are used to connect to the speaker and which two terminals are used to connect to the microphone is not standardized. For this reason, the present situation is that this connection pattern differs depending on the telephone manufacturer, or that this connection pattern differs depending on the model of the same manufacturer.

そうした電話機を用いて、受話器の代わりに外部音声入出力装置(例えば、ヘッドセットや、スピーカとマイクロホンとが一体となった据え置き型の装置)で通話を行えるようにしたスイッチ装置が市販されている。この電話機用スイッチ装置は、電話機本体と受話器との間に接続される(電話機本体,受話器にそれぞれ4端子モジュラーケーブルで接続される)とともに外部音声入出力装置に接続され、電話機本体を受話器と外部音声入出力装置とのいずれに接続するかを切り替えるものである。   There is a commercially available switch device that can use such a telephone to make a call using an external voice input / output device (for example, a headset or a stationary device in which a speaker and a microphone are integrated) instead of a handset. . The telephone switch device is connected between the telephone body and the handset (connected to the telephone body and the handset by a 4-terminal modular cable) and connected to an external voice input / output device. The voice input / output device is switched to which one is connected.

そして、前述のように4端子モジュラーケーブルの接続パターンが電話機のメーカーや機種によって異なっていることから、この電話機用スイッチ装置では、電話機本体に接続されている4端子モジュラーケーブルのうち、どの2つの端子を外部音声入出力装置のスピーカに接続してどの2つの端子を外部音声入出力装置のマイクロホンに接続するかの設定を、その電話機における4端子モジュラーケーブルの接続パターンに応じて行う必要がある。   Since the connection pattern of the 4-terminal modular cable differs depending on the manufacturer and model of the telephone as described above, this telephone switch device uses any two of the 4-terminal modular cables connected to the telephone body. It is necessary to set which terminal is connected to the speaker of the external audio input / output device and which two terminals are connected to the microphone of the external audio input / output device according to the connection pattern of the 4-terminal modular cable in the telephone. .

従来、この電話機用スイッチ装置としては、こうした外部音声入出力装置との接続の設定を、4端子モジュラーケーブルの接続パターンの一覧表を見ながらユーザーが手動で行うようにしたものが存在していた(例えば、非特許文献1参照。)。   Conventionally, as this telephone switch device, there is one in which a user manually performs setting of connection with such an external audio input / output device while viewing a list of connection patterns of a four-terminal modular cable. (For example, refer nonpatent literature 1.).

あるいは、電話機本体からダイヤルトーン信号を発生させた状態で、スイッチ装置に設けられた‘学習ボタン’を押すことにより、その電話機における4端子モジュラーケーブルの接続パターンを識別して、外部音声入出力装置との接続の設定を自動的に行うようにしたものも存在していた(但し、ダイヤルトーン信号に基づく具体的な処理内容は記載されていない)(例えば、非特許文献2参照。)。
PLANTRONICS社『TELEPHONE HEADSET 取扱説明書&保証書』の「M12電話用モジュラーアダプター」の欄。 POLYCOM社『SOUND STATION ITA DIGITAL ADAPTER USER GUIDE』の「Set Sound Station ITA to Learn Your Phone step2」の欄。
Alternatively, when a dial tone signal is generated from the telephone main body, a connection pattern of the four-terminal modular cable in the telephone is identified by pressing a “learning button” provided on the switch device, and the external voice input / output device In some cases, the setting of the connection is automatically performed (however, the specific processing content based on the dial tone signal is not described) (see, for example, Non-Patent Document 2).
The "M12 telephone modular adapter" column in the "Telephone One HEADSET Instruction Manual & Warranty Card" by PLANTRONICS. POLYCOM "SOUND STATION IT DIGITAL ADAPTER USER GUIDE""Set Sound Station IT to Learn Your Phone step 2" column.

しかし、上記非特許文献1に記載のような手動での設定は、ユーザーにとって負担が大きいとともに、接続の設定を間違えてしまう可能性も少なくない。   However, manual setting as described in Non-Patent Document 1 is not only burdensome for the user, but also has a possibility of erroneous connection setting.

また、上記非特許文献2には具体的な処理内容は記載されていないが、少なくとも、ダイヤルトーン信号のみに基づいて4端子モジュラーケーブルの接続パターンを識別する方法では、接続パターンを高精度に識別することは困難であると考えられる。   Although the specific processing contents are not described in Non-Patent Document 2, the method of identifying the connection pattern of the 4-terminal modular cable based on at least the dial tone signal identifies the connection pattern with high accuracy. It seems difficult to do.

本発明は、上述の点に鑑み、電話機用スイッチ装置において、電話機用スイッチ装置に接続されている電話機の4端子モジュラーケーブルの接続パターンを高精度に識別できるようにすることを課題としてなされたものである。   SUMMARY OF THE INVENTION In view of the above, the present invention has been made in order to make it possible to accurately identify a connection pattern of a four-terminal modular cable of a telephone connected to the telephone switch device. It is.

この課題を解決するために、本発明は、電話機本体と受話器とが4端子モジュラーケーブルで接続される電話機の電話機本体と受話器との間に接続されるとともに、外部音声入出力装置に接続され、電話機本体を受話器と外部音声入出力装置とのいずれに接続するかを切り替える電話機用スイッチ装置において、電話機本体との接続を切り離し、受話器に接続されている4端子モジュラーケーブルのうちの2つの端子に交流信号を供給して受話器のインピーダンスを測定する処理を、2つの端子の組合せを複数パターンに切り替えて行うインピーダンス測定手段と、この複数パターンの端子の組合せのうち、このインピーダンス測定手段でのインピーダンスの測定レベルが小さい組の順に、所定数の組を、その電話機におけるスピーカ接続用の端子及びマイクロホン接続用の端子の候補として選定する候補選定手段と、電話機本体に接続されている4端子モジュラーケーブルのうちの2つの端子から供給されるダイヤルトーン信号のレベルを測定する処理を、2つの端子の組合せを、この候補選定手段で選定されたこの所定数の組に切り替えて行うトーンレベル測定手段と、この所定数の組のうち、このトーンレベル測定手段での測定レベルが最大の組を、その電話機におけるスピーカ接続用の2つの端子として識別し、トーンレベル測定手段での測定レベルが最小の組を、その電話機におけるマイクロホン接続用の2つの端子として識別する識別手段とを備えたことを特徴とする。   In order to solve this problem, the present invention is connected between a telephone body and a receiver of a telephone, in which the telephone body and the receiver are connected by a 4-terminal modular cable, and connected to an external voice input / output device, In a telephone switch device that switches between connecting a telephone body to a handset or an external voice input / output device, disconnect the connection to the telephone body and connect it to two terminals of a four-terminal modular cable connected to the handset. Impedance measurement means for performing the process of supplying the AC signal and measuring the impedance of the handset by switching the combination of the two terminals to a plurality of patterns, and the impedance measurement means in the impedance measurement means among the combinations of the terminals of the plurality of patterns. For a speaker connection on the phone, set a specified number of sets in ascending order of measurement level. Candidate selection means for selecting terminals and microphone connection terminals, and a process of measuring the level of a dial tone signal supplied from two terminals of a four-terminal modular cable connected to the telephone body. Tone level measurement means for switching the combination of the two terminals to the predetermined number of groups selected by the candidate selection means, and among the predetermined number of sets, the group having the maximum measurement level at the tone level measurement means Is identified as two terminals for speaker connection in the telephone, and identification means for identifying a pair having a minimum measurement level in the tone level measurement means as two terminals for microphone connection in the telephone It is characterized by.

この電話機用スイッチ装置では、まず、インピーダンス測定手段により、電話機の電話機本体との接続が切り離され(したがって電話機本体と受話器との接続が切り離され)、受話器に接続されている4端子モジュラーケーブルのうちの2つの端子にのみ交流信号を供給して受話器のインピーダンスを測定する処理が、2つの端子の組合せを複数パターン(例えば6つのパターン)に切り替えて行われる。   In this telephone switch device, first, the impedance measuring means disconnects the telephone from the telephone body (thus disconnecting the telephone body from the handset), and among the four-terminal modular cables connected to the handset, The process of supplying the AC signal only to the two terminals and measuring the impedance of the receiver is performed by switching the combination of the two terminals into a plurality of patterns (for example, six patterns).

通常の場合には、この複数パターンの端子の組合せのうち、その電話機におけるスピーカ接続用の2つの端子の組でインピーダンスが最小になり、その電話機におけるマイクロホン接続用の2つの端子の組でインピーダンスが2番目に小さくなる。   In a normal case, the impedance of the combination of two terminals for speaker connection in the telephone is minimized among the combination of terminals of the plurality of patterns, and the impedance is determined by the combination of two terminals for microphone connection in the telephone. Second smallest.

そこで、候補選定手段により、インピーダンス測定手段でのインピーダンスの測定レベルが小さい組の順に、所定数の組が、その電話機におけるスピーカ接続用の端子及びマイクロホン接続用の端子の候補として選定される。   Therefore, the candidate selection unit selects a predetermined number of groups as candidates for the speaker connection terminal and the microphone connection terminal of the telephone in the order of the group in which the impedance measurement level of the impedance measurement unit is small.

続いて、トーンレベル測定手段により、電話機本体に接続されている4端子モジュラーケーブルのうちの2つの端子から供給されるダイヤルトーン信号のレベルを測定する処理が、2つの端子の組合せを、候補選定手段で選定された所定数の組に切り替えて行われる。   Subsequently, the process of measuring the level of the dial tone signal supplied from two terminals of the four-terminal modular cable connected to the telephone body by the tone level measuring means selects the combination of the two terminals as a candidate. It is performed by switching to a predetermined number of groups selected by the means.

通常の場合には、4端子モジュラーケーブルのうち、その電話機におけるスピーカ接続用の2つの端子の組でダイヤルトーン信号のレベルが最大になり、その電話機におけるマイクロホン接続用の2つの端子の組でダイヤルトーン信号のレベルが最小になる。   In a normal case, the dial tone signal level is maximized by the pair of two terminals for speaker connection in the telephone of the four-terminal modular cable, and dialing is performed by the pair of two terminals for microphone connection in the telephone. The level of the tone signal is minimized.

そこで、識別手段により、この所定数の組のうち、トーンレベル測定手段での測定レベルが最大の組が、その電話機におけるスピーカ接続用の2つの端子として識別され、トーンレベル測定手段での測定レベルが最小の組が、その電話機におけるマイクロホン接続用の2つの端子として識別される。   Therefore, of the predetermined number of groups, the group having the maximum measurement level by the tone level measurement unit is identified by the identification unit as two terminals for speaker connection in the telephone, and the measurement level by the tone level measurement unit is identified. Are identified as the two terminals for microphone connection in the telephone.

このように、この電話機用スイッチ装置では、
(a)受話器に接続される4端子モジュラーケーブルのうち、スピーカ接続用の2つの端子の組に交流信号を供給した場合やマイクロホン接続用の2つの端子の組に交流信号を供給した場合の受話器のインピーダンスが小さくなることと、
(b)電話機本体に接続される4端子モジュラーケーブルのうち、スピーカ接続用の2つの端子の組でダイヤルトーン信号のレベルが最大になり、マイクロホン接続用の2つの端子の組でダイヤルトーン信号のレベルが最小になることと
の2つを利用して電話機の4端子モジュラーケーブルの接続パターンを識別する。これにより、電話機用スイッチ装置に接続されている電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。
Thus, in this telephone switch device,
(A) Of four-terminal modular cables connected to a receiver, a receiver when an AC signal is supplied to a pair of two terminals for speaker connection or an AC signal is supplied to a pair of two terminals for microphone connection The impedance of
(B) Of the four-terminal modular cable connected to the telephone body, the level of the dial tone signal is maximized by the pair of two terminals for speaker connection, and the dial tone signal of the pair of two terminals for microphone connection is The connection pattern of the four-terminal modular cable of the telephone is identified using the two of the minimum level. Thereby, the connection pattern of the 4-terminal modular cable of the telephone connected to the telephone switch device can be identified with high accuracy.

なお、この電話機用スイッチ装置において、一例として、候補選定手段は、インピーダンス測定手段でのインピーダンスの測定レベルが所定の閾値を超えている場合には、異常と判定することが好適である。   In this telephone switch device, as an example, it is preferable that the candidate selecting means determine that the impedance is abnormal when the impedance measurement level of the impedance measuring means exceeds a predetermined threshold.

受話器のインピーダンス測定時に、この電話機用スイッチ装置に受話器ではなく誤って電話機本体のほうが接続されていると、電話機本体からのダイヤルトーン信号等を検出することにより、インピーダンスの測定値が非常に大きくなる。そこで、インピーダンスの測定レベルが所定の閾値を超えている場合には、異常と判定することにより、受話器のほうを接続し直した上で、改めて電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるようになる。   When measuring the impedance of the handset, if the telephone body is connected to the telephone switch device in error instead of the handset, the measured impedance value becomes very large by detecting a dial tone signal from the telephone body. . Therefore, when the impedance measurement level exceeds a predetermined threshold value, it is determined as abnormal, and after reconnecting the handset, the connection pattern of the four-terminal modular cable of the telephone is again highly accurate. Can be identified.

また、この電話機用スイッチ装置において、一例として、候補選定手段は、複数パターンの端子の組合せのうち、インピーダンスが所定の閾値未満である組を除外して候補を選定することが好適である。   Moreover, in this telephone switch device, as an example, it is preferable that the candidate selecting means select a candidate by excluding a pair whose impedance is less than a predetermined threshold among a plurality of patterns of terminal combinations.

4端子モジュラーケーブルのうちのいずれか2つの端子が互いに電気的に短絡(ショート)していると、その端子の組についてのインピーダンスの測定値が非常に小さくなる。そこで、インピーダンスが所定の閾値未満の組を除外して候補を選定することにより、こうした短絡が起きている場合にも、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるようになる。   If any two terminals of the four-terminal modular cable are electrically short-circuited with each other, the measured impedance value for the set of terminals becomes very small. Therefore, by selecting a candidate by excluding a pair whose impedance is less than a predetermined threshold, even when such a short circuit occurs, the connection pattern of the four-terminal modular cable of the telephone can be identified with high accuracy. become.

また、この電話機用スイッチ装置において、一例として、候補選定手段は、複数パターンの端子の組合せのうち、インピーダンスの測定レベルが2番目に小さい組と4番目以降に小さい組との測定レベルの差が一定以下である場合には、インピーダンスの測定レベルが最も小さい組と、4端子モジュラーケーブルの残りの2つの端子の組との2組を候補として選定することが好適である。   Also, in this telephone switch device, as an example, the candidate selecting means may be configured such that, among the combinations of terminals of a plurality of patterns, a difference in measurement level between a group having the second lowest impedance measurement level and a group having the fourth lowest and subsequent groups. In the case where it is below a certain level, it is preferable to select two sets, which are the set having the smallest impedance measurement level and the remaining two terminal sets of the four-terminal modular cable, as candidates.

受話器に用いられているマイクロホンの種類によっては、4端子モジュラーケーブルのうちのマイクロホン接続用の2つの端子の組とスピーカ接続用,マイクロホン接続用の1つずつの端子の組とでインピーダンスにほとんど差がなく、その結果、インピーダンスの測定レベルが2番目に小さい組と4番目以降に小さい組とで測定レベルが同じになるかまたはほとんど差がなくなる(それらの組のうちのどれがマイクロホン接続用の2つの端子であるか区別し難い)ことがある。そこで、インピーダンスの測定レベルが2番目に小さい組と4番目以降に小さい組との測定レベルの差が一定以下である場合(差がゼロ=同じである場合も含む)には、インピーダンスの測定レベルが最も小さい組と、4端子モジュラーケーブルの残りの2つの端子の組との2組を候補として選定することにより、マイクロホンの種類にかかわらず、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるようになる。   Depending on the type of microphone used in the handset, there is almost no difference in impedance between the pair of two terminals for connecting the microphone and one pair of terminals for connecting the speaker and the microphone of the four-terminal modular cable. As a result, the measurement level of the impedance measurement level of the second lowest group and the group of the fourth lowest and later are the same or almost no difference (which of these sets is used for microphone connection). It is difficult to distinguish between two terminals). Therefore, when the difference in measurement level between the second lowest set of impedance and the fourth and lower set is less than a certain level (including the case where the difference is zero = the same), the measured impedance level By selecting the two pairs of the smallest pair and the remaining two terminal pairs of the 4-terminal modular cable as candidates, the connection pattern of the 4-terminal modular cable of the telephone is highly accurate regardless of the type of microphone. Can be identified.

また、この電話機用スイッチ装置において、一例として、候補選定手段は、複数パターンの端子の組合せのうち、インピーダンスの測定レベルが2番目に小さい組と3番目に小さい組との測定レベルの差が一定以下である場合には、インピーダンスの測定レベルが最小の組と、インピーダンスの測定レベルが2番目に小さい組と、インピーダンスの測定レベルが3番目に小さい組との3組を候補として選定し、それ以外の場合には、インピーダンスの測定レベルが最小の組と、インピーダンスの測定レベルが2番目に小さい組との2組を候補として選定することが好適である。   Further, in this telephone switch device, as an example, the candidate selecting means has a constant difference in measurement level between the second and third smallest measured impedance levels among a plurality of patterns of terminal combinations. In the case of the following, a pair having the lowest impedance measurement level, a pair having the second lowest impedance measurement level, and a group having the third lowest impedance measurement level is selected as a candidate. In cases other than the above, it is preferable to select two sets, ie, a set having the smallest impedance measurement level and a set having the second lowest impedance measurement level as candidates.

電話機のメーカーや機種によっては、4端子モジュラーケーブルのうちの同じ1つの端子を、スピーカ接続用の端子とマイクロホン接続用の端子とに共用していることがある。この電話機用スイッチ装置がそうした電話機に接続されている場合には、マイクロホン専用の端子とスピーカ・マイクロホン共用の端子とでインピーダンスにほとんど差がなく、その結果、インピーダンスの測定レベルが2番目に小さい組と3番目に小さい組とで測定レベルが同じになるかまたはほとんど差がなくなる(それらの組のうちのどれがマイクロホン接続用の2つの端子であるか区別し難い)ことがある。そこで、インピーダンスが2番目に小さい組とインピーダンスが3番目に小さい組とで測定レベルの差が一定以下である場合(差がゼロ=同じである場合も含む)には、インピーダンスの測定レベルが最小の組と2番目に小さい組との2組だけでなく、インピーダンスの測定レベルが3番目に小さい組をも候補として選定することにより、1つの端子をスピーカ接続用の端子とマイクロホン接続用の端子とに共用している電話機についても、4端子モジュラーケーブルの接続パターンを高精度に識別することができるようになる。   Depending on the manufacturer and model of the telephone, the same terminal of the four-terminal modular cable may be shared by the speaker connection terminal and the microphone connection terminal. When this telephone switch device is connected to such a telephone, there is almost no difference in impedance between the microphone dedicated terminal and the speaker / microphone shared terminal. As a result, the impedance measurement level is the second lowest. And the third smallest set may have the same or almost no difference (it is difficult to distinguish which of these sets are the two terminals for microphone connection). Therefore, when the difference in measurement level between the group with the second lowest impedance and the group with the third lowest impedance is below a certain level (including the case where the difference is zero = the same), the measurement level of the impedance is minimum. By selecting not only two groups, the second group and the second smallest group, but also the third group having the third lowest impedance measurement level, one terminal is connected to a speaker and a microphone terminal. As for the telephones shared by both, the connection pattern of the 4-terminal modular cable can be identified with high accuracy.

また、この電話機用スイッチ装置において、一例として、候補選定手段は、候補として選定した所定数の組と、インピーダンス測定手段でのインピーダンスの測定レベルが最大の組との測定レベルの差が所定の閾値以下である場合には、異常と判定することが好適である。   In addition, in this telephone switch device, as an example, the candidate selecting means may be configured such that a difference in measurement level between a predetermined number of sets selected as candidates and a set having the maximum impedance measurement level in the impedance measuring means is a predetermined threshold value. In the case of the following, it is preferable to determine that there is an abnormality.

この電話機用スイッチ装置に誤って受話器が接続されていないと、複数パターンの端子の組合せのうちのどの組でのインピーダンス測定レベルにもほとんど差がなくなる。そこで、候補として選定した所定数の組とインピーダンスの測定レベルが最大の組との測定レベルの差が所定の閾値以下である場合には異常と判定することにより、受話器を接続した上で、改めて電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるようになる。   If no handset is mistakenly connected to this telephone switch device, there is almost no difference in the impedance measurement level in any of the combinations of terminals of a plurality of patterns. Therefore, when the difference in measurement level between the predetermined number of groups selected as candidates and the group having the maximum impedance measurement level is equal to or less than a predetermined threshold value, it is determined that there is an abnormality. The connection pattern of the four-terminal modular cable of the telephone can be identified with high accuracy.

また、この電話機用スイッチ装置において、一例として、識別手段は、トーンレベル測定手段での測定レベルが、所定数の組の全てについて所定の閾値以下である場合には、異常と判定することが好適である。   Further, in this telephone switch device, as an example, it is preferable that the identification unit determines that the abnormality is present when the measurement level of the tone level measurement unit is equal to or less than a predetermined threshold value for all of the predetermined number of sets. It is.

この電話機用スイッチ装置に誤って電話機本体が接続されていないと、ダイヤルトーン信号が供給されず、電話機本体に接続されている4端子モジュラーケーブルのうちのスピーカ接続用の2つの端子の組でもダイヤルトーン信号の測定レベルが非常に小さくなる。そこで、所定数のパターンの組合せの全てについてダイヤルトーン信号の測定レベルが所定の閾値未満である場合には、異常と判定することにより、電話機本体を接続した上で、改めて電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるようになる。   If the telephone body is not mistakenly connected to the telephone switch device, the dial tone signal is not supplied, and the pair of two terminals for speaker connection of the four-terminal modular cable connected to the telephone body is dialed. The measurement level of the tone signal becomes very small. Therefore, when the measurement level of the dial tone signal is less than a predetermined threshold for all the combinations of the predetermined number of patterns, it is determined that there is an abnormality, so that the telephone main body is connected, and then the four-terminal modular cable of the telephone is reconnected. Can be identified with high accuracy.

また、この電話機用スイッチ装置において、一例として、識別手段は、トーンレベル測定手段での測定レベルが、所定数の組の全てについて所定の閾値以上である場合には、異常と判定することが好適である。   Further, in this telephone switch device, as an example, it is preferable that the identification unit determines that the abnormality is present when the measurement level by the tone level measurement unit is equal to or greater than a predetermined threshold value for all of the predetermined number of sets. It is.

マイクロホン接続用の2つの端子の組については、ダイヤルトーン信号の測定レベルは、或る一例のレベル以下になると考えられる。そこで、所定数のパターンの組合せの全てについてダイヤルトーン信号の測定レベルが所定の閾値を超えている場合には、異常(候補として選定された所定数の組の中に、マイクロホン接続用の2つの端子の組が含まれていなかった)と判定することにより、候補の選定をやり直すことができるようになる。   For a set of two terminals for connecting a microphone, the measured level of the dial tone signal is considered to be below a certain example level. Therefore, if the measurement level of the dial tone signal exceeds a predetermined threshold value for all the combinations of the predetermined number of patterns, an abnormality (the two sets for connecting microphones in the predetermined number of combinations selected as candidates). If it is determined that the terminal set is not included, selection of candidates can be performed again.

また、この電話機用スイッチ装置において、一例として、候補選定手段や識別手段で異常と判定されたことを表示する表示手段をさらに備えることが好適である。それにより、ユーザーが、異常があったことをすばやく確認することができるようになる。   In addition, it is preferable that the telephone switch device further includes, as an example, a display unit that displays that the candidate selection unit or the identification unit determines that an abnormality has occurred. As a result, the user can quickly confirm that there was an abnormality.

また、この電話機用スイッチ装置において、一例として、電話機本体と外部音声入出力装置との接続時に、電話機本体に接続されている4端子モジュラーケーブルのうち、識別手段によってスピーカ接続用の端子として識別された2つの端子を外部音声入出力装置のスピーカに接続し、識別手段によってマイクロホン接続用の端子として識別された2つの端子を外部音声入出力装置のマイクロホンに接続する接続設定手段をさらに備えることが好適である。   Further, in this telephone switch device, as an example, when the telephone main body and the external audio input / output device are connected, of the four-terminal modular cables connected to the telephone main body, the terminal is identified as a speaker connection terminal by the identifying means. A connection setting means for connecting the two terminals connected to the speaker of the external audio input / output device and connecting the two terminals identified as the microphone connection terminals by the identification means to the microphone of the external audio input / output device. Is preferred.

それにより、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別した上で、外部音声入出力装置との接続の設定を自動的に行うことができるようになる。   As a result, it is possible to automatically set the connection with the external audio input / output device while accurately identifying the connection pattern of the four-terminal modular cable of the telephone.

次に、本発明は、電話機の電話機本体と受話器とを接続する4端子モジュラーケーブルの接続パターンの識別方法において、電話機本体と受話器との接続を切り離し、受話器に接続されている4端子モジュラーケーブルのうちの2つの端子に交流信号を供給して受話器のインピーダンスを測定する処理を、2つの端子の組合せを複数パターンに切り替えて行うインピーダンス測定ステップと、この複数パターンの端子の組合せのうち、このインピーダンス測定ステップでのインピーダンスの測定レベルが小さい組の順に、所定数の組を、その電話機におけるスピーカ接続用の端子及びマイクロホン接続用の端子の候補として選定する候補選定ステップと、電話機本体に接続されている4端子モジュラーケーブルのうちの2つの端子から供給されるダイヤルトーン信号のレベルを測定する処理を、2つの端子の組合せを、この候補選定ステップで選定された所定数の組に切り替えて行うトーンレベル測定ステップと、この所定数の組のうち、このトーンレベル測定ステップでの測定レベルが最大の組を、その電話機におけるスピーカ接続用の2つの端子として識別し、このトーンレベル測定ステップでの測定レベルが最小の組を、その電話機におけるマイクロホン接続用の2つの端子として識別する識別ステップとを有することを特徴とする。   Next, the present invention relates to a method for identifying a connection pattern of a four-terminal modular cable for connecting a telephone body and a handset of a telephone, in which the connection between the telephone body and the handset is disconnected and the four-terminal modular cable connected to the handset is disconnected. An impedance measurement step in which an AC signal is supplied to two of the terminals to measure the impedance of the receiver and the combination of the two terminals is switched to a plurality of patterns, and the impedance among the combinations of the terminals of the plurality of patterns. A candidate selection step for selecting a predetermined number of sets as candidates for a speaker connection terminal and a microphone connection terminal in the telephone set in the order of the sets in which the impedance measurement level in the measurement step is small; Supplied from two of the four-terminal modular cables A process for measuring the level of the dial tone signal to be performed by switching the combination of the two terminals to the predetermined number of sets selected in the candidate selection step, and of the predetermined number of sets, The set with the maximum measurement level at the tone level measurement step is identified as two terminals for speaker connection in the telephone, and the set with the minimum measurement level at the tone level measurement step is used for microphone connection at the telephone. And an identification step for identifying as two terminals.

この電話機の4端子モジュラーケーブルの接続パターンの識別方法では、まず、インピーダンス測定ステップで、電話機本体と受話器との接続が切り離され、受話器に接続されている4端子モジュラーケーブルのうちの2つの端子にのみ交流信号を供給して受話器のインピーダンスを測定する処理が、2つの端子の組合せを複数パターンに切り替えて行われる。   In this method of identifying the connection pattern of the four-terminal modular cable of the telephone, first, in the impedance measurement step, the connection between the telephone body and the handset is disconnected, and two terminals of the four-terminal modular cable connected to the handset are connected. Only the process of supplying the AC signal and measuring the impedance of the receiver is performed by switching the combination of the two terminals into a plurality of patterns.

通常の場合には、この複数パターンの端子の組合せのうち、その電話機におけるスピーカ接続用の2つの端子の組でインピーダンスが最小になり、その電話機におけるマイクロホン接続用の2つの端子の組でインピーダンスが2番目に小さくなる。   In a normal case, the impedance of the combination of two terminals for speaker connection in the telephone is minimized among the combination of terminals of the plurality of patterns, and the impedance is determined by the combination of two terminals for microphone connection in the telephone. Second smallest.

そこで、候補選定ステップで、インピーダンス測定ステップでのインピーダンスの測定レベルが小さい組の順に、所定数の組が、その電話機におけるスピーカ接続用の端子及びマイクロホン接続用の端子の候補として選定される。   Therefore, in the candidate selection step, a predetermined number of pairs are selected as candidates for a speaker connection terminal and a microphone connection terminal in the telephone set in descending order of the measurement level of the impedance in the impedance measurement step.

続いて、トーンレベル測定ステップで、電話機本体に接続されている4端子モジュラーケーブルのうちの2つの端子から供給されるダイヤルトーン信号のレベルを測定する処理が、2つの端子の組合せを、候補選定ステップで選定された所定数の組に切り替えて行われる。   Subsequently, in the tone level measurement step, the process of measuring the level of the dial tone signal supplied from two terminals of the four-terminal modular cable connected to the telephone main body selects a combination of the two terminals as a candidate. It is performed by switching to the predetermined number of groups selected in the step.

通常の場合には、4端子モジュラーケーブルのうち、その電話機におけるスピーカ接続用の2つの端子の組でダイヤルトーン信号のレベルが最大になり、その電話機におけるマイクロホン接続用の2つの端子の組でダイヤルトーン信号のレベルが最小になる。   In a normal case, the dial tone signal level is maximized by the pair of two terminals for speaker connection in the telephone of the four-terminal modular cable, and dialing is performed by the pair of two terminals for microphone connection in the telephone. The level of the tone signal is minimized.

そこで、識別ステップで、この所定数の組のうち、トーンレベル測定ステップでの測定レベルが最大の組が、その電話機におけるスピーカ接続用の2つの端子として識別され、トーンレベル測定ステップでの測定レベルが最小の組が、その電話機におけるマイクロホン接続用の2つの端子として識別される。   Therefore, in the identification step, the group having the maximum measurement level in the tone level measurement step among the predetermined number of groups is identified as two terminals for speaker connection in the telephone, and the measurement level in the tone level measurement step is identified. Are identified as the two terminals for microphone connection in the telephone.

このように、この接続パターンの識別方法では、
(a)受話器に接続される4端子モジュラーケーブルのうち、スピーカ接続用の2つの端子の組に交流信号を供給した場合やマイクロホン接続用の2つの端子の組に交流信号を供給した場合の受話器のインピーダンスが小さくなることと、
(b)電話機本体に接続される4端子モジュラーケーブルのうち、スピーカ接続用の2つの端子の組でダイヤルトーン信号のレベルが最大になり、マイクロホン接続用の2つの端子の組でダイヤルトーン信号のレベルが最小になることと
の2つを利用して電話機の4端子モジュラーケーブルの接続パターンを識別する。これにより、電話機用スイッチ装置に接続されている電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。
Thus, in this connection pattern identification method,
(A) Of four-terminal modular cables connected to a receiver, a receiver when an AC signal is supplied to a pair of two terminals for speaker connection or an AC signal is supplied to a pair of two terminals for microphone connection The impedance of
(B) Of the four-terminal modular cable connected to the telephone body, the level of the dial tone signal is maximized by the pair of two terminals for speaker connection, and the dial tone signal of the pair of two terminals for microphone connection is The connection pattern of the four-terminal modular cable of the telephone is identified using the two of the minimum level. Thereby, the connection pattern of the 4-terminal modular cable of the telephone connected to the telephone switch device can be identified with high accuracy.

本発明によれば、電話機本体と受話器とが4端子モジュラーケーブルで接続される電話機を用いて、受話器の代わりに外部音声入出力装置で通話を行うための電話機用スイッチ装置において、電話機用スイッチ装置に接続されている電話機の4端子モジュラーケーブルの接続パターン(どの2つの端子をスピーカと接続するために用い、どの2つの端子をマイクロホンと接続するために用いているか)を、高精度に識別することができるという効果が得られる。   According to the present invention, in a telephone switch device for performing a call using an external voice input / output device instead of a telephone receiver using a telephone in which the telephone body and the telephone receiver are connected by a four-terminal modular cable, the telephone switch device 4 terminal modular cable connection pattern (which two terminals are used to connect to the speaker and which two terminals are used to connect to the microphone) are identified with high accuracy. The effect that it can be obtained.

また、受話器のインピーダンス測定時に電話機用スイッチ装置に受話器ではなく誤って電話機本体のほうが接続されている場合には、異常と判定されるので、受話器のほうを接続し直した上で、改めて電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるという効果が得られる。   In addition, when the telephone switch is connected to the telephone switch device by mistake when measuring the impedance of the telephone, it is determined to be abnormal, so the telephone is reconnected and the telephone The effect that the connection pattern of the 4-terminal modular cable can be identified with high accuracy is obtained.

また、4端子モジュラーケーブルのうちのいずれか2つの端子が互いに短絡している場合にも、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるという効果が得られる。   Further, even when any two terminals of the four-terminal modular cable are short-circuited with each other, an effect is obtained that the connection pattern of the four-terminal modular cable of the telephone can be identified with high accuracy.

また、受話器に用いられているマイクロホンの種類にかかわらず、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるという効果が得られる。   In addition, regardless of the type of microphone used in the handset, there is an effect that the connection pattern of the four-terminal modular cable of the telephone can be identified with high accuracy.

また、4端子モジュラーケーブルの1つの端子をスピーカ接続用の端子とマイクロホン接続用の端子とに共用している電話機についても、4端子モジュラーケーブルの接続パターンを高精度に識別することができるという効果が得られる。   The effect of being able to identify the connection pattern of the four-terminal modular cable with high accuracy also for a telephone that uses one terminal of the four-terminal modular cable as a speaker connection terminal and a microphone connection terminal. Is obtained.

また、電話機用スイッチ装置に誤って受話器が接続されていない場合には、異常と判定されるので、受話器を接続した上で、改めて電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるという効果が得られる。   In addition, if the handset is not connected to the telephone switch device by mistake, it is determined to be abnormal. Therefore, after connecting the handset, the connection pattern of the four-terminal modular cable of the telephone is again identified with high accuracy. The effect of being able to be obtained.

また、電話機用スイッチ装置に誤って電話機本体が接続されていない場合にも、異常と判定されるので、電話機本体を接続した上で、改めて電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができるという効果が得られる。   In addition, even if the telephone body is not connected to the telephone switch device by mistake, it is determined that there is an abnormality. Therefore, after connecting the telephone body, the connection pattern of the 4-terminal modular cable of the telephone is identified with high accuracy. The effect that it can do is acquired.

また、候補として選定された所定数の組の中に、なんらかの原因でマイクロホン接続用の2つの端子の組が含まれていなかった場合にも、異常と判定されるので、候補の選定をやり直すことができるという効果が得られる。   In addition, if the pair of the two terminals for connecting the microphone is not included for any reason in the predetermined number of pairs selected as candidates, it is determined to be abnormal. The effect of being able to be obtained.

また、ユーザーが、異常があったことをすばやく確認することができるという効果が得られる。   Moreover, the effect that the user can confirm quickly that there was abnormality is acquired.

また、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別した上で、外部音声入出力装置との接続の設定を自動的に行うことができるという効果が得られる。   In addition, it is possible to automatically set the connection with the external audio input / output device after identifying the connection pattern of the four-terminal modular cable of the telephone with high accuracy.

以下、本発明を図面を用いて具体的に説明する。図1は、本発明に係る電話機用スイッチ装置を用いたシステムの構成を示す図である。この電話機用スイッチ装置1は、電話機本体2と受話器3とが4端子モジュラーケーブルで接続される電話機を用いて、受話器3の代わりに外部音声I/O(入出力)装置4で通話を行うためのものである。   Hereinafter, the present invention will be specifically described with reference to the drawings. FIG. 1 is a diagram showing the configuration of a system using a telephone switch device according to the present invention. This telephone switch device 1 uses a telephone in which a telephone body 2 and a receiver 3 are connected by a four-terminal modular cable to perform a call using an external voice I / O (input / output) device 4 instead of the receiver 3. belongs to.

外部音声I/O装置4は、スピーカとマイクロホンとが一体となった据え置き型の装置である(図ではそうした据え置き型の装置の形状の一例を示しているが、外部音声I/O装置4の形状は如何なるものであってもよい)。   The external audio I / O device 4 is a stationary device in which a speaker and a microphone are integrated (in the figure, an example of the shape of such a stationary device is shown. The shape can be anything).

電話機用スイッチ装置1は、電話機本体2と受話器3との間に接続される(電話機本体2,受話器3にそれぞれ4端子モジュラーケーブルC1,C2で接続される)とともに、外部音声I/O装置4にケーブルC3(マイクロホン接続用の端子とスピーカ接続用の端子とを含む複数の端子を有するケーブル)で接続され、電話機本体2を受話器3と外部音声I/O装置4とのいずれに接続するかを切り替えるようになっている。   The telephone switch device 1 is connected between the telephone main body 2 and the receiver 3 (connected to the telephone main body 2 and the receiver 3 through 4-terminal modular cables C1 and C2, respectively) and the external audio I / O device 4 To which the telephone body 2 is connected to either the handset 3 or the external audio I / O device 4 by a cable C3 (a cable having a plurality of terminals including a microphone connection terminal and a speaker connection terminal). Is to be switched.

なお、以下の説明でも、電話機本体,受話器,外部音声I/O装置,各ケーブルを、それぞれ図1と同じ符号を付して電話機本体2,受話器3,外部音声I/O装置4,ケーブルC1,C2,C3と表記する。また、4端子モジュラーケーブルや4端子モジュラーケーブル用のモジュラージャックの4つの端子をP1〜P4と表記することにする。   In the following description, the telephone body, the receiver, the external voice I / O device, and the cables are denoted by the same reference numerals as those in FIG. 1, respectively, and the telephone body 2, the receiver 3, the external voice I / O device 4, and the cable C1. , C2, C3. Further, the four terminals of the 4-terminal modular cable and the modular jack for the 4-terminal modular cable are denoted as P1 to P4.

図2は、この電話機用スイッチ装置1の外観構成を示す図であり、図2Aは背面図、図2Bは側面図、図2Cは底面図である。図2Aに示すように、電話機用スイッチ装置1の上面には、フックスイッチ11が設けられている。また、電話機用スイッチ装置1の上面には、フックスイッチ11の両側に、互いに異なる発光色の2個のLED(発光ダイオード)12が設けられている。   2A and 2B are diagrams showing an external configuration of the telephone switch device 1, in which FIG. 2A is a rear view, FIG. 2B is a side view, and FIG. 2C is a bottom view. As shown in FIG. 2A, a hook switch 11 is provided on the upper surface of the telephone switch device 1. In addition, two LEDs (light emitting diodes) 12 having different emission colors are provided on both sides of the hook switch 11 on the upper surface of the telephone switch device 1.

外部音声I/O装置4で通話を行うときには、受話器3をこのフックスイッチ11に置くことによってオンフックするようになっている。図3は、受話器3をこのようにしてオンフックした状態を示している。   When a call is made using the external audio I / O device 4, the handset 3 is placed on the hook switch 11 so as to go on-hook. FIG. 3 shows a state where the handset 3 is on-hooked in this way.

図2Aに示すように、電話機用スイッチ装置1の背面には、電話機本体2に4端子モジュラーケーブルC1で接続するための電話機本体用モジュラージャック13が設けられている。また、電話機用スイッチ装置1の背面には、外部音声I/O装置4にケーブルC3で接続するための外部音声I/O装置用コネクタ15も設けられている。   As shown in FIG. 2A, a telephone body modular jack 13 for connecting to the telephone body 2 with a four-terminal modular cable C <b> 1 is provided on the back surface of the telephone switch device 1. In addition, an external audio I / O device connector 15 for connecting to the external audio I / O device 4 with a cable C3 is also provided on the back surface of the telephone switch device 1.

図2Bに示すように、電話機用スイッチ装置1の側面には、受話器3に4端子モジュラーケーブルC2で接続するための受話器用モジュラージャック14が設けられている。   As shown in FIG. 2B, a telephone receiver modular jack 14 for connecting to the telephone receiver 3 with a four-terminal modular cable C2 is provided on the side surface of the telephone switch device 1.

図2Cに示すように、電話機用スイッチ装置1の底面には、接続設定釦16が設けられている。この接続設定釦16は、電話機用スイッチ装置1を初めて電話機に接続したときや、それまで接続していたのとは違うメーカーや機種の電話機に電話機用スイッチ装置1を接続したときに、ユーザーが、後述する接続パターン識別処理(図5,図6)を開始させるための釦である。電話機用スイッチ装置1には、このほかにもACアダプターに接続するためのコネクタ等が設けられているが、本発明とは直接関係しないので説明を省略する。   As shown in FIG. 2C, a connection setting button 16 is provided on the bottom surface of the telephone switch device 1. This connection setting button 16 is displayed when the telephone switch device 1 is connected to the telephone for the first time, or when the telephone switch device 1 is connected to a telephone of a manufacturer or model different from the one connected so far. These are buttons for starting connection pattern identification processing (FIGS. 5 and 6), which will be described later. In addition to this, the telephone switch device 1 is provided with a connector for connecting to the AC adapter, but the description thereof is omitted because it is not directly related to the present invention.

図4は、この電話機用スイッチ装置1の回路構成を示すブロック図であり、図2と共通する部分には同一の符合を付している。電話機本体用モジュラージャック13(図2A)の4つの端子P1〜P4が、本体切離し用スイッチ21の4つのスイッチ素子に1対1につながれている。本体切離し用スイッチ21は、これらの4つのスイッチ素子を一斉にオンにして電話機本体2との接続を維持するか、これらの4つのスイッチ素子を一斉にオフにして電話機本体2との接続を切り離すかの切替えを行うためのスイッチである。   FIG. 4 is a block diagram showing a circuit configuration of the telephone switch device 1, and parts common to FIG. 2 are given the same reference numerals. The four terminals P1 to P4 of the telephone body modular jack 13 (FIG. 2A) are connected to the four switch elements of the main body disconnecting switch 21 on a one-to-one basis. The main body disconnecting switch 21 turns on these four switch elements all at once to maintain the connection with the telephone main body 2, or turns off these four switch elements all at once to cut off the connection with the telephone main body 2. It is a switch for switching between.

また、受話器用モジュラージャック14(図2B)の4つの端子P1〜P4が、受話器切離し用スイッチ24の4つのスイッチ素子に1対1につながれている。受話器切離し用スイッチ24は、これらの4つのスイッチ素子を一斉にオンにして受話器3との接続を維持するか、これらの4つのスイッチ素子を一斉にオフにして受話器3との接続を切り離すかの切替えを行うためのスイッチである。   Further, the four terminals P1 to P4 of the receiver jack 14 (FIG. 2B) are connected to the four switch elements of the receiver disconnect switch 24 on a one-to-one basis. The handset disconnecting switch 24 turns on these four switch elements all at once to maintain the connection with the handset 3, or turns off these four switch elements at once to cut off the connection with the handset 3. This is a switch for switching.

本体切離し用スイッチ21の4つのスイッチ素子は、2行×4列のマトリクス型の接続設定用スイッチ22の各列のラインに1対1につながれている。受話器切離し用スイッチ24の4つのスイッチ素子は、2行×4列のマトリクス型の接続設定用スイッチ23の各列のラインに1対1につながれている。これらの接続設定用スイッチ22,23は、各行のラインと各列のラインとの交点に、その行ラインとその列のラインとを接続するか否かを切り替えるスイッチ素子をそれぞれ有するものである(図ではこのスイッチ素子を丸印で描いている)。この接続設定用スイッチ22の各列のラインと接続設定用スイッチ23の各列のラインとは、1対1につながれている。   The four switch elements of the main body disconnecting switch 21 are connected to the line of each column of the matrix type connection setting switch 22 of 2 rows × 4 columns on a one-to-one basis. The four switch elements of the receiver disconnecting switch 24 are connected one-to-one to the lines of each column of the matrix type connection setting switch 23 of 2 rows × 4 columns. Each of these connection setting switches 22 and 23 has a switch element for switching whether or not to connect the row line and the column line at the intersection of each row line and each column line ( In the figure, this switch element is drawn as a circle). The line of each column of the connection setting switch 22 and the line of each column of the connection setting switch 23 are connected on a one-to-one basis.

外部音声I/O装置用コネクタ15(図2A)の端子LINE IN(外部音声I/O装置4のマイクロホンとの接続用の端子)が、増幅器27,エコーキャンセラ28,アンプ29,2入力1出力のスイッチ30,トランス25を介して、接続設定用スイッチ22の各行のラインにつながれている。スイッチ30のもう一方の入力端子には、受話器インピーダンス測定用発振器31がつながれている。   The terminal LINE IN (terminal for connecting to the microphone of the external audio I / O device 4) of the connector 15 (FIG. 2A) for the external audio I / O device is an amplifier 27, an echo canceller 28, an amplifier 29, and two inputs and one output. The connection setting switch 22 is connected to the line of each row via the switch 30 and the transformer 25. A receiver impedance measuring oscillator 31 is connected to the other input terminal of the switch 30.

接続設定用スイッチ23の各行のラインは、トランス26,増幅器32,エコーキャンセラ28,アンプ33を介して外部音声I/O装置用コネクタ15の端子LINE OUT(外部音声I/O装置4のスピーカとの接続用の端子)につながれるとともに、トランス26を介してレベル検出器34につながれている。   The lines of each row of the connection setting switch 23 are connected to the terminal LINE OUT (the speaker of the external audio I / O device 4 and the terminal) of the external audio I / O device connector 15 via the transformer 26, the amplifier 32, the echo canceller 28, and the amplifier 33. Are connected to a level detector 34 through a transformer 26.

エコーキャンセラ28は、外部音声I/O装置4においてスピーカから出た音声がマイクロホンで拾われることによるエコーの発生を防止するために設けられている。トランス25.26は、電話機本体2と電話機用スイッチ装置1内の回路とを電気的に絶縁するために設けられている。   The echo canceller 28 is provided in order to prevent the occurrence of echoes due to the sound output from the speaker being picked up by the microphone in the external audio I / O device 4. The transformer 25.26 is provided to electrically insulate the telephone body 2 and the circuit in the telephone switch device 1 from each other.

受話器インピーダンス測定用発振器31は、後述する接続パターン識別処理において、受話器3のインピーダンス測定用の所定周波数(例えば1kHz)の交流信号(交流電圧)を生成するための回路であり、出力インピーダンスが例えば200Ωになっている。レベル検出器34は、このインピーダンス測定時に、受話器3からの信号の振幅レベルを検出するために設けられている。   The receiver impedance measuring oscillator 31 is a circuit for generating an AC signal (AC voltage) having a predetermined frequency (for example, 1 kHz) for impedance measurement of the receiver 3 in connection pattern identification processing described later, and an output impedance is, for example, 200Ω. It has become. The level detector 34 is provided to detect the amplitude level of the signal from the receiver 3 during the impedance measurement.

マイクロコンピュータ35は、通常の使用時(後述する接続パターン識別処理を終了し、受話器3または外部音声I/O装置4で通話を行うとき)には、フックスイッチ11(図2A)からの信号に基づき、各スイッチ21〜24を制御して、電話機本体2を受話器3と外部音声I/O装置4とのいずれに接続するかを切り替える。   When the microcomputer 35 is in normal use (when a connection pattern identification process to be described later is terminated and a call is made by the handset 3 or the external audio I / O device 4), the microcomputer 35 uses the signal from the hook switch 11 (FIG. 2A). Based on this, the switches 21 to 24 are controlled to switch between the telephone set 2 and the external voice I / O device 4 to be connected.

すなわち、通常の使用時には、本体切離し用スイッチ21を常にオンにする。そして、受話器3がオフフックされているときは、接続設定用スイッチ22,23の全てのスイッチ素子をオフにするとともに、受話器切離し用スイッチ24をオンにする。これにより、電話機本体2と外部音声I/O装置4との接続が切り離されるとともに電話機本体2が受話器3に接続されるので、受話器3で通話を行うことができる。   That is, during normal use, the main body disconnecting switch 21 is always turned on. When the handset 3 is off-hook, all switch elements of the connection setting switches 22 and 23 are turned off, and the handset disconnecting switch 24 is turned on. As a result, the connection between the telephone main body 2 and the external audio I / O device 4 is disconnected and the telephone main body 2 is connected to the receiver 3, so that the telephone receiver 3 can make a call.

また、受話器3がフックスイッチ11(図2A)に置かれることによってオンフックされる(図3)と、接続設定用スイッチ22,23のうち、後述する接続パターン識別処理で識別した接続パターンに対応するスイッチ素子をオンにするとともに、受話器切離し用スイッチ24をオフにする。   When the handset 3 is put on hook (FIG. 3) by being placed on the hook switch 11 (FIG. 2A), it corresponds to the connection pattern identified by the connection pattern identification process described later, among the connection setting switches 22 and 23. The switch element is turned on and the receiver disconnect switch 24 is turned off.

また、マイクロコンピュータ35は、受話器3がオフフックされている状態で、接続設定釦16(図2C)が押されると、接続されている電話機(電話機本体2及び受話器3)における4端子モジュラーケーブルの接続パターン(どの2つの端子をスピーカと接続するために用い、どの2つの端子をマイクロホンと接続するために用いているか)を識別する処理を開始する。   When the connection setting button 16 (FIG. 2C) is pressed while the handset 3 is off-hook, the microcomputer 35 connects the four-terminal modular cable in the connected telephone (the telephone body 2 and the handset 3). A process of identifying a pattern (which two terminals are used to connect to a speaker and which two terminals are used to connect to a microphone) is started.

図5,図6は、この接続パターン識別処理を示すフローチャートである。この処理では、最初に、本体切離し用スイッチ21(図4)をオフにすることによって電話機本体2との接続を切り離すとともに、受話器切離し用スイッチ24(図4)をオンにし、スイッチ30(図4)を受話器インピーダンス測定用発振器31(図4)側に切り替える(ステップS1)。そして、受話器インピーダンス測定用発振器31に前述の交流信号を生成させる(ステップS2)。   5 and 6 are flowcharts showing the connection pattern identification process. In this process, first, the main body disconnecting switch 21 (FIG. 4) is turned off to disconnect the telephone body 2 and the receiver disconnecting switch 24 (FIG. 4) is turned on. ) Is switched to the receiver impedance measuring oscillator 31 (FIG. 4) (step S1). Then, the above-described AC signal is generated by the receiver impedance measuring oscillator 31 (step S2).

続いて、接続設定用スイッチ22,23(図4)を6つのパターンに切り替えつつ、レベル検出器34(図4)で検出される受話器3からの信号の振幅レベルに基づき、受話器3のインピーダンスの相対レベルを測定する(ステップS3)。   Subsequently, while switching the connection setting switches 22 and 23 (FIG. 4) to six patterns, the impedance of the receiver 3 is determined based on the amplitude level of the signal from the receiver 3 detected by the level detector 34 (FIG. 4). The relative level is measured (step S3).

このステップS3における6つのパターンを、図7及び図8を用いて説明する。4端子モジュラーケーブルの4つの端子P1〜P4のうちのどの2つの端子をスピーカと接続するために用いてどの2つの端子をマイクロホンと接続するために用いるかという接続パターンには、1つの端子をスピーカとマイクロホンとに共用する場合を除けば、4×3÷2=6通りのパターンが存在し得る。   The six patterns in step S3 will be described with reference to FIGS. In the connection pattern of which two of the four terminals P1 to P4 of the four-terminal modular cable are used for connecting to the speaker and which two terminals are used for connecting to the microphone, one terminal is used. Except for the case where the speaker and the microphone are shared, 4 × 3 ÷ 2 = 6 patterns can exist.

図7は、この6つのパターンを示しており、スピーカ,マイクロホンをそれぞれSP,MCと表記している。パターン1では、端子P1,P2がマイクロホン接続用の端子であり、端子P3,P4がスピーカ接続用の端子である。パターン2では、端子P1,P3がマイクロホン接続用の端子であり、端子P2,P4がスピーカ接続用の端子である。パターン3では、端子P1,P4がマイクロホン接続用の端子であり、端子P2,P3がスピーカ接続用の端子である。パターン4では、端子P2,P3がマイクロホン接続用の端子であり、端子P1,P4がスピーカ接続用の端子である。パターン5では、端子P2,P4がマイクロホン接続用の端子であり、端子P1,P3がスピーカ接続用の端子である。パターン6では、端子P3,P4がマイクロホン接続用の端子であり、端子P1,P2がスピーカ接続用の端子である。   FIG. 7 shows these six patterns, and the speaker and the microphone are denoted as SP and MC, respectively. In pattern 1, terminals P1 and P2 are microphone connection terminals, and terminals P3 and P4 are speaker connection terminals. In pattern 2, terminals P1 and P3 are microphone connection terminals, and terminals P2 and P4 are speaker connection terminals. In the pattern 3, the terminals P1 and P4 are microphone connection terminals, and the terminals P2 and P3 are speaker connection terminals. In pattern 4, terminals P2 and P3 are microphone connection terminals, and terminals P1 and P4 are speaker connection terminals. In pattern 5, terminals P2 and P4 are microphone connection terminals, and terminals P1 and P3 are speaker connection terminals. In pattern 6, terminals P3 and P4 are terminals for connecting microphones, and terminals P1 and P2 are terminals for connecting speakers.

電話機用スイッチ装置1に接続されている電話機における4端子モジュラーケーブルの接続パターンがこの図7のパターン1である場合には、接続設定用スイッチ22を、図8のパターン1のように、端子P1,P2に対応する列ラインと行ラインとの交点のスイッチ素子のみをオン(図ではオンにしたスイッチ素子に斜線を付している)にするように切り替えれば、電話機本体2に接続されている4端子モジュラーケーブルC1のうちのマイクロホン接続用の端子P1,P2が、外部音声I/O装置4のマイクロホンに接続される。   When the connection pattern of the four-terminal modular cable in the telephone connected to the telephone switch device 1 is the pattern 1 of FIG. 7, the connection setting switch 22 is connected to the terminal P1 as shown in the pattern 1 of FIG. , P2 is connected to the telephone body 2 by switching so that only the switch element at the intersection of the column line and the row line is turned on (in the figure, the switched switch element is shaded). The microphone connection terminals P1 and P2 of the four-terminal modular cable C1 are connected to the microphone of the external audio I / O device 4.

また、電話機用スイッチ装置1に接続されている電話機における4端子モジュラーケーブルの接続パターンがこの図7のパターン2である場合には、接続設定用スイッチ22を、図8のパターン2のように、端子P1,P3に対応する列ラインと行ラインとの交点のスイッチ素子のみをオンにするように切り替えれば、電話機本体2に接続されている4端子モジュラーケーブルC1のうちのマイクロホン接続用の端子P1,P3が、外部音声I/O装置4のマイクロホンに接続される。   When the connection pattern of the four-terminal modular cable in the telephone connected to the telephone switch device 1 is the pattern 2 in FIG. 7, the connection setting switch 22 is set as shown in the pattern 2 in FIG. If switching is performed so that only the switch element at the intersection of the column line and the row line corresponding to the terminals P1 and P3 is turned on, the microphone connection terminal P1 of the four-terminal modular cable C1 connected to the telephone body 2 , P3 are connected to the microphones of the external audio I / O device 4.

また、電話機用スイッチ装置1に接続されている電話機における4端子モジュラーケーブルの接続パターンがこの図7のパターン3である場合には、接続設定用スイッチ22を、図8のパターン3のように、端子P1,P4に対応する列ラインと行ラインとの交点のスイッチ素子のみをオンにするように切り替えれば、電話機本体2に接続されている4端子モジュラーケーブルC1のうちのマイクロホン接続用の端子P1,P4が、外部音声I/O装置4のマイクロホンに接続される。   When the connection pattern of the 4-terminal modular cable in the telephone connected to the telephone switch device 1 is the pattern 3 in FIG. 7, the connection setting switch 22 is set as shown in the pattern 3 in FIG. If switching is performed so that only the switch element at the intersection of the column line and the row line corresponding to the terminals P1 and P4 is turned on, the microphone connection terminal P1 of the four-terminal modular cable C1 connected to the telephone body 2 , P4 are connected to the microphones of the external audio I / O device 4.

また、電話機用スイッチ装置1に接続されている電話機における4端子モジュラーケーブルの接続パターンがこの図7のパターン4である場合には、接続設定用スイッチ22を、図8のパターン4のように、端子P2,P3に対応する列ラインと行ラインとの交点のスイッチ素子のみをオンにするように切り替えれば、電話機本体2に接続されている4端子モジュラーケーブルC1のうちのマイクロホン接続用の端子P2,P3が、外部音声I/O装置4のマイクロホンに接続される。   When the connection pattern of the 4-terminal modular cable in the telephone connected to the telephone switch device 1 is the pattern 4 in FIG. 7, the connection setting switch 22 is set as shown in the pattern 4 in FIG. If switching is performed so that only the switching element at the intersection of the column line and the row line corresponding to the terminals P2 and P3 is turned on, the microphone connection terminal P2 of the four-terminal modular cable C1 connected to the telephone body 2 , P3 are connected to the microphones of the external audio I / O device 4.

また、電話機用スイッチ装置1に接続されている電話機における4端子モジュラーケーブルの接続パターンがこの図7のパターン5である場合には、接続設定用スイッチ22を、図8のパターン5のように、端子P2,P4に対応する列ラインと行ラインとの交点のスイッチ素子のみをオンにするように切り替えれば、電話機本体2に接続されている4端子モジュラーケーブルC1のうちのマイクロホン接続用の端子P2,P4が、外部音声I/O装置4のマイクロホンに接続される。   When the connection pattern of the 4-terminal modular cable in the telephone connected to the telephone switch device 1 is the pattern 5 in FIG. 7, the connection setting switch 22 is set as shown in the pattern 5 in FIG. If switching is performed so that only the switch element at the intersection of the column line and the row line corresponding to the terminals P2 and P4 is turned on, the microphone connection terminal P2 of the four-terminal modular cable C1 connected to the telephone body 2 , P4 are connected to the microphones of the external audio I / O device 4.

また、電話機用スイッチ装置1に接続されている電話機における4端子モジュラーケーブルの接続パターンがこの図7のパターン6である場合には、接続設定用スイッチ22を、図8のパターン6のように、端子P3,P4に対応する列ラインと行ラインとの交点のスイッチ素子のみをオンにするように切り替えれば、電話機本体2に接続されている4端子モジュラーケーブルC1のうちのマイクロホン接続用の端子P3,P4が、外部音声I/O装置4のマイクロホンに接続される。   When the connection pattern of the 4-terminal modular cable in the telephone connected to the telephone switch device 1 is the pattern 6 in FIG. 7, the connection setting switch 22 is set as shown in the pattern 6 in FIG. If switching is performed so that only the switch element at the intersection of the column line and the row line corresponding to the terminals P3 and P4 is turned on, the microphone connection terminal P3 of the four-terminal modular cable C1 connected to the telephone body 2 , P4 are connected to the microphones of the external audio I / O device 4.

図5のステップS3では、接続設定用スイッチ22を図8のパターン1に切り替えるとともに接続設定用スイッチ23を同じくこのパターン1に切り替え、続いて接続設定用スイッチ22を図8のパターン2に切り替えるとともに接続設定用スイッチ23を同じくこのパターン2に切り替え、…というように、接続設定用スイッチ22と接続設定用スイッチ23との両方を同時にこの図8の6つのパターンに切り替える。   In step S3 of FIG. 5, the connection setting switch 22 is switched to the pattern 1 of FIG. 8 and the connection setting switch 23 is similarly switched to the pattern 1. Subsequently, the connection setting switch 22 is switched to the pattern 2 of FIG. Similarly, the connection setting switch 23 is switched to the pattern 2, and the connection setting switch 22 and the connection setting switch 23 are simultaneously switched to the six patterns in FIG.

これにより、図8のパターン1では、発振器31からの交流信号が4端子モジュラーケーブルC2のうちの2つの端子P1,P2を通して受話器3に供給され、それに応答する受話器3からの信号が4端子モジュラーケーブルC2の端子P1,P2から接続設定用スイッチ23を介してレベル検出器34に供給されるので、レベル検出器34で検出された振幅レベル(この振幅レベルはインピーダンスに比例する)に基づいて受話器3のインピーダンスの相対レベルを測定することができる。   Thereby, in the pattern 1 of FIG. 8, the AC signal from the oscillator 31 is supplied to the receiver 3 through the two terminals P1 and P2 of the four-terminal modular cable C2, and the signal from the receiver 3 in response thereto is the four-terminal modular. Since the signal is supplied from the terminals P1 and P2 of the cable C2 to the level detector 34 via the connection setting switch 23, the receiver is based on the amplitude level detected by the level detector 34 (the amplitude level is proportional to the impedance). 3 relative levels of impedance can be measured.

また、図8のパターン2では、発振器31からの交流信号が4端子モジュラーケーブルC2のうちの2つの端子P1,P3を通して受話器3に供給され、それに応答する受話器3からの信号が4端子モジュラーケーブルC2の端子P1,P3から接続設定用スイッチ23を介してレベル検出器34に供給されるので、レベル検出器34で検出された振幅レベルに基づいて受話器3のインピーダンスの相対レベルを測定することができる。   Further, in the pattern 2 of FIG. 8, an AC signal from the oscillator 31 is supplied to the receiver 3 through two terminals P1 and P3 of the four-terminal modular cable C2, and a signal from the receiver 3 in response thereto is a four-terminal modular cable. Since the signal is supplied from the terminals P1 and P3 of C2 to the level detector 34 via the connection setting switch 23, the relative level of the impedance of the receiver 3 can be measured based on the amplitude level detected by the level detector 34. it can.

また、図8のパターン3では、発振器31からの交流信号が4端子モジュラーケーブルC2のうちの2つの端子P1,P4を通して受話器3に供給され、それに応答する受話器3からの信号が4端子モジュラーケーブルC2の端子P1,P4から接続設定用スイッチ23を介してレベル検出器34に供給されるので、レベル検出器34で検出された振幅レベルに基づいて受話器3のインピーダンスの相対レベルを測定することができる。   Further, in the pattern 3 of FIG. 8, an AC signal from the oscillator 31 is supplied to the receiver 3 through two terminals P1 and P4 of the four-terminal modular cable C2, and a signal from the receiver 3 in response thereto is a four-terminal modular cable. Since the signal is supplied from the terminals P1 and P4 of C2 to the level detector 34 via the connection setting switch 23, the relative level of the impedance of the receiver 3 can be measured based on the amplitude level detected by the level detector 34. it can.

また、図8のパターン4では、発振器31からの交流信号が4端子モジュラーケーブルC2のうちの2つの端子P2,P3を通して受話器3に供給され、それに応答する受話器3からの信号が4端子モジュラーケーブルC2の端子P2,P3から接続設定用スイッチ23を介してレベル検出器34に供給されるので、レベル検出器34で検出された振幅レベルに基づいて受話器3のインピーダンスの相対レベルを測定することができる。   Further, in the pattern 4 of FIG. 8, an AC signal from the oscillator 31 is supplied to the receiver 3 through two terminals P2 and P3 of the four-terminal modular cable C2, and a signal from the receiver 3 in response thereto is a four-terminal modular cable. Since the signal is supplied from the terminals P2 and P3 of C2 to the level detector 34 via the connection setting switch 23, the relative level of the impedance of the receiver 3 can be measured based on the amplitude level detected by the level detector 34. it can.

また、図8のパターン5では、発振器31からの交流信号が4端子モジュラーケーブルC2のうちの2つの端子P2,P4を通して受話器3に供給され、それに応答する受話器3からの信号が4端子モジュラーケーブルC2の端子P2,P4から接続設定用スイッチ23を介してレベル検出器34に供給されるので、レベル検出器34で検出された振幅レベルに基づいて受話器3のインピーダンスの相対レベルを測定することができる。   Moreover, in the pattern 5 of FIG. 8, the AC signal from the oscillator 31 is supplied to the receiver 3 through two terminals P2 and P4 of the four-terminal modular cable C2, and the signal from the receiver 3 in response thereto is the four-terminal modular cable. Since the signal is supplied from the terminals P2 and P4 of C2 to the level detector 34 via the connection setting switch 23, the relative level of the impedance of the receiver 3 can be measured based on the amplitude level detected by the level detector 34. it can.

また、図8のパターン6では、発振器31からの交流信号が4端子モジュラーケーブルC2のうちの2つの端子P3,P4を通して受話器3に供給され、それに応答する受話器3からの信号が4端子モジュラーケーブルC2の端子P3,P4から接続設定用スイッチ23を介してレベル検出器34に供給されるので、レベル検出器34で検出された振幅レベルに基づいて受話器3のインピーダンスの相対レベルを測定することができる。   Further, in the pattern 6 of FIG. 8, an AC signal from the oscillator 31 is supplied to the receiver 3 through two terminals P3 and P4 of the four-terminal modular cable C2, and a signal from the receiver 3 in response thereto is a four-terminal modular cable. Since the signal is supplied from the terminals P3 and P4 of C2 to the level detector 34 via the connection setting switch 23, the relative level of the impedance of the receiver 3 can be measured based on the amplitude level detected by the level detector 34. it can.

このようにして、受話器3に接続されている4端子モジュラーケーブルC2の端子P1〜P4のうちの2つの端子に交流信号を供給して受話器3のインピーダンスを測定する処理が、2つの端子の組合せを「P1とP2」,「P1とP3」,「P1とP4」,「P2とP3」,「P2とP4」,「P3とP4」の6パターンに切り替えて行われる。   In this way, the process of measuring the impedance of the receiver 3 by supplying an AC signal to two of the terminals P1 to P4 of the four-terminal modular cable C2 connected to the receiver 3 is a combination of the two terminals. Are switched to six patterns of “P1 and P2”, “P1 and P3”, “P1 and P4”, “P2 and P3”, “P2 and P4”, and “P3 and P4”.

図5に示すように、ステップS3が終了すると、この「P1とP2」,「P1とP3」,「P1とP4」,「P2とP3」,「P2とP4」,「P3とP4」の6パターンの端子の組合せのうち、インピーダンス測定レベルが閾値60h(16進数)を超えている組があるか否かを判断する(ステップS4)。   As shown in FIG. 5, when step S3 is completed, these “P1 and P2”, “P1 and P3”, “P1 and P4”, “P2 and P3”, “P2 and P4”, “P3 and P4” It is determined whether or not there is a combination in which the impedance measurement level exceeds the threshold value 60h (hexadecimal number) among the combinations of the six patterns of terminals (step S4).

4端子モジュラーケーブルC2のうちのスピーカ接続用の端子とマイクロホン接続用の端子との組を通して受話器3に交流信号が供給された場合には、スピーカ接続用の端子とマイクロホン接続用の端子とは互いに接続されていないので、受話器3のインピーダンスは無限大になる。ステップS4の閾値60hは、4端子モジュラーケーブルのうちのスピーカ接続用の端子とマイクロホン接続用の端子との組を通して一般の電話機の受話器に交流信号が供給された場合のインピーダンスの測定レベルに対応して、マイクロコンピュータ35内に予め設定した値である。   When an AC signal is supplied to the receiver 3 through a set of a speaker connection terminal and a microphone connection terminal of the four-terminal modular cable C2, the speaker connection terminal and the microphone connection terminal are mutually connected. Since it is not connected, the impedance of the handset 3 becomes infinite. The threshold value 60h in step S4 corresponds to the impedance measurement level when an AC signal is supplied to the handset of a general telephone through a set of a speaker connection terminal and a microphone connection terminal of the 4-terminal modular cable. Thus, the value is preset in the microcomputer 35.

ステップS4でイエスであれば、異常と判定し、異常を知らせる表示(例えば点滅表示)をLED12(図2A)に行わせて(図6のステップS18)、処理を終了する。これは、電話機用スイッチ装置1の受話器用モジュラージャック14(図2B)に受話器3ではなく誤って電話機本体2のほうが接続されていると、電話機本体3からのダイヤルトーン信号等を検出することにより、インピーダンスの測定レベルが非常に大きくなる(閾値60hを超える)ので、その場合には異常と判定して処理を終了するようにしたものである。   If the answer is yes in step S4, it is determined that there is an abnormality, and the LED 12 (FIG. 2A) is caused to display an abnormality (for example, blinking display) (step S18 in FIG. 6), and the process ends. This is because if the telephone body 2 is mistakenly connected to the telephone jack 2 (FIG. 2B) of the telephone switch device 1 instead of the telephone 3, the dial tone signal from the telephone body 3 is detected. Since the impedance measurement level becomes very large (exceeds the threshold value 60h), in this case, it is determined as abnormal and the process is terminated.

ステップS4でノーであった場合には、この6パターンの端子の組合せのうち、インピーダンスの測定レベルが閾値04h(16進数)未満の組があるか否かを判断する(ステップS5)。   If NO in step S4, it is determined whether or not there is a set whose impedance measurement level is less than the threshold value 04h (hexadecimal number) among the combinations of the six patterns of terminals (step S5).

4端子モジュラーケーブルC2のうちのスピーカ接続用の2つの端子を通して受話器3に交流信号が供給された場合には、受話器3のスピーカのインピーダンスが測定される。そして、スピーカはマイクロホンよりもインピーダンスが小さい(一般の電話機の受話器ではスピーカのインピーダンスは150Ω程度、マイクロホンのインピーダンスは1kΩ程度である)ので、通常の場合には、このスピーカ接続用の2つの端子の組でインピーダンスの測定レベルが最小になる。ステップS5の閾値04hは、4端子モジュラーケーブルのうちのスピーカ接続用の2つの端子を通して一般の電話機の受話器に交流信号が供給された場合のインピーダンスの測定レベルに対応して、マイクロコンピュータ35内に予め設定した値である。   When an AC signal is supplied to the receiver 3 through two speaker connection terminals of the four-terminal modular cable C2, the impedance of the speaker of the receiver 3 is measured. Since the speaker has a smaller impedance than the microphone (in a typical telephone handset, the speaker impedance is about 150Ω and the microphone impedance is about 1 kΩ), the two terminals for connecting the speaker are usually used. The impedance measurement level is minimized in the set. The threshold value 04h in step S5 corresponds to the impedance measurement level when an AC signal is supplied to the handset of a general telephone through two terminals for speaker connection of the four-terminal modular cable. This is a preset value.

ステップS5でイエスであれば、04h未満であった組を除外して、残りのパターンのうち、インピーダンスの測定レベルが小さい組の順に、3つの組を、スピーカ接続用の端子の候補及びマイクロホン接続用の端子の候補として選定する(ステップS11)。これは、4端子モジュラーケーブルC2のうちのいずれか2つの端子が互いに電気的に短絡(ショート)していると、その2つの端子を通して交流信号を供給したときのインピーダンスの測定レベルが非常に小さくなる(閾値04h未満になる)ので、その端子の組合せは、短絡していると判定して除外するようにしたものである。   If the answer is yes in step S5, the groups that are less than 04h are excluded, and the remaining patterns are divided into three groups in the order of the lowest impedance measurement level, the terminal candidate for speaker connection and the microphone connection. Is selected as a candidate for the terminal (step S11). This is because when any two terminals of the four-terminal modular cable C2 are electrically short-circuited with each other, the measurement level of impedance when an AC signal is supplied through the two terminals is very small. (Becomes less than the threshold value 04h), the combination of the terminals is determined to be short-circuited and excluded.

ステップS5でノーであった場合には、この6パターンの端子の組合せのうち、インピーダンスの測定レベルが2番目に小さい組と、インピーダンスの測定レベルが5番目に小さい組とで、インピーダンスの測定レベルが同じであるか否かを判断する(ステップS6)。   If no in step S5, among the combinations of the six patterns of terminals, the impedance measurement level is the second lowest impedance measurement level and the fifth lowest impedance measurement level. Are the same (step S6).

イエスであれば、インピーダンスの測定レベルが最小の組と、4端子モジュラーケーブルC2の残りの2つの端子の組(例えば測定レベルが最小の組が「P1とP2」であれば「P3とP4」の組)との2つの組を候補として選定する(ステップS10)。   If yes, the set with the minimum impedance measurement level and the set of the remaining two terminals of the four-terminal modular cable C2 (for example, “P3 and P4” if the set with the minimum measurement level is “P1 and P2”) Are selected as candidates (step S10).

4端子モジュラーケーブルC2のうちのマイクロホン接続用の2つの端子を通して受話器3に交流信号が供給された場合には、受話器3のマイクロホンのインピーダンスが測定される。そして、前述のようにマイクロホンはスピーカよりもインピーダンスが大きいので、通常の場合には、このマイクロホン接続用の2つの端子の組でインピーダンスの測定レベルが2番目に小さくなる。しかし、受話器3に用いられているマイクロホンの種類によっては、4端子モジュラーケーブルC2のうちのマイクロホン接続用の2つの端子の組とスピーカ接続用,マイクロホン接続用の1つずつの端子の組とでインピーダンスにほとんど差がなく、その結果、インピーダンスの測定レベルが2番目に小さい組から5番目に小さい組までで測定レベルが同じになるかまたはほとんど差がなくなる(それらの組のうちのどれがマイクロホン接続用の2つの端子であるか区別し難い)ことがある。そこで、ステップS6,S10では、インピーダンスの測定レベルが2番目に小さい組と5番目に小さい組とで測定レベルが同じである場合には、インピーダンスの測定レベルが最小の組と、4端子モジュラーケーブルC2の残りの2つの端子の組とを候補として選定するようにしたものである。   When an AC signal is supplied to the receiver 3 through two microphone connection terminals of the four-terminal modular cable C2, the impedance of the microphone of the receiver 3 is measured. As described above, since the microphone has a larger impedance than the speaker, in a normal case, the measurement level of the impedance is the second lowest in the set of two terminals for connecting the microphone. However, depending on the type of microphone used in the receiver 3, a set of two terminals for connecting a microphone and a set of terminals for connecting a speaker and one for connecting a microphone of the four-terminal modular cable C <b> 2 are used. There is almost no difference in impedance, and as a result, the measurement level is the same or almost no difference between the second lowest set to the fifth lowest set (which of these sets are microphones) It may be difficult to distinguish between two terminals for connection). Therefore, in steps S6 and S10, when the measurement level is the same for the second and fifth sets with the lowest impedance measurement level, the set with the lowest impedance measurement level and the four-terminal modular cable. The remaining two terminal sets of C2 are selected as candidates.

ステップS6でノーであった場合には、6パターンの端子の組合せのうち、インピーダンスの測定レベルが2番目に小さい組と、インピーダンスの測定レベルが3番目に小さい組とで、インピーダンスのレベルが同じであるか否かを判断する(ステップS7)。   If the answer is NO in step S6, the impedance level is the same among the combination having the second lowest impedance measurement level and the third measurement group having the lowest impedance measurement level among the six patterns of terminal combinations. It is determined whether or not (step S7).

イエスであれば、インピーダンスの測定レベルが最小の組と、インピーダンスの測定レベルが2番目に小さい組と、インピーダンスの測定レベルが3番目に小さい組との3つの組を、スピーカ接続用の端子の候補及びマイクロホン接続用の端子の候補として選定する(ステップS9)。   If the answer is yes, then the three groups, the group with the lowest impedance measurement level, the group with the second lowest impedance measurement level, and the group with the third lowest impedance measurement level, are connected to the speaker connection terminal. A candidate and a microphone connection terminal candidate are selected (step S9).

電話機のメーカーや機種によっては、図9に例示するように、4端子モジュラーケーブルのうちの同じ1つの端子を、スピーカ接続用の端子とマイクロホン接続用の端子とに共用していることがある。電話機用スイッチ装置1がそうした電話機に接続されている場合には、マイクロホン専用の端子とスピーカ・マイクロホン共用の端子とでインピーダンスにほとんど差がなく、その結果、インピーダンスの測定レベルが2番目に小さい組と3番目に小さい組とで測定レベルが同じになるかまたはほとんど差がなくなる(それらの組のうちのどれがマイクロホン接続用の2つの端子であるか区別し難い)ことがある。そこで、ステップS7,S9では、インピーダンスの測定レベルが2番目に小さい組と3番目に小さい組とで測定レベルが同じである場合には、インピーダンスの測定レベルが最小の組と2番目に小さい組との2組だけでなく、インピーダンスの測定レベルが3番目に小さい組をも候補として選定するようにしたものである。   Depending on the manufacturer and model of the telephone, as illustrated in FIG. 9, the same one terminal of the four-terminal modular cable may be shared by a speaker connection terminal and a microphone connection terminal. When the telephone switch device 1 is connected to such a telephone, there is almost no difference in impedance between the dedicated microphone terminal and the speaker / microphone shared terminal. As a result, the impedance measurement level is the second lowest. And the third smallest set may have the same or almost no difference (it is difficult to distinguish which of these sets are the two terminals for microphone connection). Therefore, in steps S7 and S9, when the measurement level is the same in the second and third smallest measurement groups, the lowest measurement level and the second smallest measurement group are measured. In addition to the two sets, the group having the third lowest impedance measurement level is selected as a candidate.

ステップS7でノーであった場合には、インピーダンスの測定レベルが最小の組と、インピーダンスの測定レベルが2番目に小さい組との2つの組を、スピーカ接続用の端子の候補及びマイクロホン接続用の端子の候補として選定する(ステップS8)。   If NO in step S7, two sets, the pair having the lowest impedance measurement level and the group having the second lowest impedance measurement level, are selected as the speaker connection terminal candidate and microphone connection. A candidate terminal is selected (step S8).

ステップS8,S9,S10またはS11を終了すると、候補として選定された組と、インピーダンスの測定レベルが最大の組とで、インピーダンスのレベルの差が一定値02h(16進数)以下であるか否かを判断する(ステップS12)。   When step S8, S9, S10 or S11 is completed, whether or not the difference between the impedance levels is less than or equal to a certain value 02h (hexadecimal number) between the group selected as a candidate and the group having the maximum impedance measurement level. Is determined (step S12).

イエスであれば、異常と判定し、異常を知らせる表示をLED12(図2A)に行わせて(図6のステップS18)、処理を終了する。これは、電話機用スイッチ装置1に誤って受話器3が接続されていないと、6パターンの端子の組合せのうちのどの組でのインピーダンス測定レベルにもほとんど差がなくなるので、候補として選定された組とインピーダンスの測定レベルが最大の組とでインピーダンスのレベルの差が02h以下である場合には、異常と判定して処理を終了するようにしたものである。   If yes, it is determined that there is an abnormality, and the LED 12 (FIG. 2A) is displayed to notify the abnormality (step S18 in FIG. 6), and the process ends. This is because, if the handset 3 is not connected to the telephone switch device 1 by mistake, there is almost no difference in the impedance measurement level in any of the six patterns of terminal combinations. If the difference between the impedance levels of the pair with the maximum measured impedance level is equal to or less than 02h, it is determined that there is an abnormality and the process is terminated.

ステップS12でノーであった場合には、図6に示すように、本体切離し用スイッチ21(図4)をオンにする(ステップS13)。受話器3は予めオンフックされているので、これによって電話機本体2から受話器3にダイヤルトーン信号が供給される。   If NO in step S12, as shown in FIG. 6, the main body disconnecting switch 21 (FIG. 4) is turned on (step S13). Since the handset 3 is pre-hooked, a dial tone signal is supplied from the telephone body 2 to the handset 3.

続いて、接続設定用スイッチ23(図4)を、ステップS8,S9,S10またはS11で候補として選定された各組に対応するパターン(例えば「P1とP2」,「P3とP4」との2組が候補として選定された場合には図8のパターン1,パターン6)に切り替えつつ、レベル検出器34(図4)で検出される電話機本体2からの信号の振幅レベルから、ダイヤルトーン信号のレベルを測定する(ステップS14)。   Subsequently, the connection setting switch 23 (FIG. 4) is set to a pattern (for example, 2 of “P1 and P2”, “P3 and P4”) corresponding to each group selected as a candidate in step S8, S9, S10, or S11. When the group is selected as a candidate, the dial tone signal is switched from the amplitude level of the signal from the telephone body 2 detected by the level detector 34 (FIG. 4) while switching to the patterns 1 and 6 in FIG. The level is measured (step S14).

そして、ダイヤルトーン信号の測定レベルの最大値が、閾値0Ch(16進数)以下であるか否かを判断する(ステップS15)。ダイヤルトーン信号は電話機本体2から受話器3のスピーカに送られるので、ダイヤルトーン信号の測定レベルは、4端子モジュラーケーブルC1のうちのスピーカ接続用の2つの端子の組で最大になる。ステップS14の閾値0Chは、一般の電話機におけるダイヤルトーン信号の最小レベルよりも僅かに小さいレベルとして、マイクロコンピュータ35内に予め設定した値である。   Then, it is determined whether or not the maximum value of the dial tone signal measurement level is equal to or less than a threshold value 0Ch (hexadecimal number) (step S15). Since the dial tone signal is sent from the telephone body 2 to the speaker of the handset 3, the measurement level of the dial tone signal becomes maximum at the set of two terminals for speaker connection in the four-terminal modular cable C1. The threshold value 0Ch in step S14 is a value preset in the microcomputer 35 as a level slightly lower than the minimum level of the dial tone signal in a general telephone.

イエスであれば、異常と判定し、異常を知らせる表示をLED12(図2A)に行わせて(ステップS18)、処理を終了する。これは、電話機用スイッチ装置1に誤って電話機本体2が接続されていないと、ダイヤルトーン信号が供給されず、4端子モジュラーケーブルC1のうちのスピーカ接続用の2つの端子の組でもダイヤルトーン信号の測定レベルが非常に小さくなる(閾値0Ch以下になる)ので、その場合には異常と判定して処理を終了するようにしたものである。   If yes, it is determined that there is an abnormality, and the LED 12 (FIG. 2A) is displayed to notify the abnormality (step S18), and the process is terminated. This is because the dial tone signal is not supplied unless the telephone body 2 is mistakenly connected to the telephone switch device 1, and the dial tone signal is set even in the pair of two terminals for speaker connection in the four-terminal modular cable C 1. In this case, it is determined that there is an abnormality and the process is terminated.

ステップS15でノーであった場合には、ダイヤルトーン信号の測定レベルの最小値が、この閾値0Ch以上であるか否かを判断する(ステップS16)。   If no in step S15, it is determined whether or not the minimum value of the dial tone signal measurement level is equal to or greater than the threshold value 0Ch (step S16).

イエスであれば、異常と判定し、異常を知らせる表示をLED12(図2A)に行わせて(ステップS18)、処理を終了する。これは、マイクロホン接続用の2つの端子の組についてはダイヤルトーン信号の測定レベルが一般の電話機のダイヤルトーン信号の最小レベルよりも小さくなると考えられるので、ダイヤルトーン信号の測定レベルの最小値が閾値0Ch以上である場合には、異常(候補として選定された所定数の組の中に、マイクロホン接続用の2つの端子の組が含まれていなかった)と判定して処理を終了するようにしたものである。なお、図5,図6では、ステップS4,S12,S15,S16で異常と判定した場合に同じステップS18に進んでLED12に表示を行わせるように描いているが、それぞれの異常の原因に応じてLED12での表示の態様を異ならせることが好適である。   If yes, it is determined that there is an abnormality, and the LED 12 (FIG. 2A) is displayed to notify the abnormality (step S18), and the process is terminated. This is because the measurement level of the dial tone signal is considered to be smaller than the minimum level of the dial tone signal of a general telephone for a set of two terminals for connecting a microphone, and therefore the minimum value of the measurement level of the dial tone signal is the threshold value If it is 0 Ch or more, it is determined that there is an abnormality (a pair of microphones that are not included in the predetermined number of pairs selected as candidates), and the process ends. Is. In FIGS. 5 and 6, when it is determined that there is an abnormality in steps S 4, S 12, S 15, S 16, the process proceeds to the same step S 18 so that the LED 12 performs display, but depending on the cause of each abnormality It is preferable to change the display mode of the LED 12.

ステップS16でノーであった場合には、ステップS8,S9,S10またはS11で候補として選定された各組のうち、ダイヤルトーン信号の測定レベルが最大の組をスピーカ接続用の2つの端子として識別し、ダイヤルトーン信号の測定レベルが最小の組をマイクロホン接続用の2つの端子として識別して、その識別結果を記憶する(過去にこの接続パターン識別処理を行って識別結果を記憶している場合には、今回の識別結果を上書きして記憶する)(ステップS17)。そして処理を終了する。   If no in step S16, among the groups selected as candidates in step S8, S9, S10 or S11, the group having the highest dial tone signal measurement level is identified as the two terminals for speaker connection. Then, the group having the smallest measurement level of the dial tone signal is identified as two terminals for microphone connection, and the identification result is stored (when the identification result is stored by performing this connection pattern identification process in the past). Is stored by overwriting the current identification result) (step S17). Then, the process ends.

この接続パターン識別処理を終了した後、通常の使用時(受話器3または外部音声I/O装置4で通話を行うとき)に受話器3がフックスイッチ11(図2A)に置かれることによってオンフックされると(図3)と、マイクロコンピュータ35は、接続設定用スイッチ22(図4)を、このステップS17でマイクロホン接続用の2つの端子として識別された組に対応するパターン(例えば「P1とP2」がマイクロホン接続用の2つの端子として識別された場合には図8のパターン1)に切り替えるとともに、接続設定用スイッチ23(図4)を、このステップS17でスピーカ接続用の2つの端子として識別された組に対応するパターン(例えば「P3とP4」がスピーカ接続用の2つの端子として識別された場合には図8のパターン6)に切り替える。   After this connection pattern identification processing is completed, the receiver 3 is placed on hook by being placed on the hook switch 11 (FIG. 2A) during normal use (when making a call using the receiver 3 or the external audio I / O device 4). (FIG. 3), the microcomputer 35 sets the connection setting switch 22 (FIG. 4) to a pattern (for example, “P1 and P2”) corresponding to the group identified as the two terminals for microphone connection in step S17. Is identified as two terminals for microphone connection, the pattern setting is switched to pattern 1) in FIG. 8, and the connection setting switch 23 (FIG. 4) is identified as two terminals for speaker connection in step S17. When the pattern corresponding to the set (for example, “P3 and P4” is identified as two terminals for speaker connection, the pattern shown in FIG. Switch to).

これにより、電話機の4端子モジュラーケーブルの接続パターンに応じた外部音声I/O装置4との接続の設定が自動的に行われて、外部音声I/O装置4で通話を行うことができる。   Thereby, the connection setting with the external audio I / O device 4 according to the connection pattern of the 4-terminal modular cable of the telephone is automatically performed, and the external audio I / O device 4 can make a call.

このように、この電話機用スイッチ装置1では、
(a)受話器3に接続される4端子モジュラーケーブルC2の4つの端子P1〜P4のうち、スピーカ接続用の2つの端子の組に交流信号を供給した場合やマイクロホン接続用の2つの端子の組に交流信号を供給した場合の受話器のインピーダンスが小さくなることと、
(b)電話機本体2に接続される4端子モジュラーケーブルC1の4つの端子P1〜P4のうち、スピーカ接続用の2つの端子の組でダイヤルトーン信号のレベルが最大になり、マイクロホン接続用の2つの端子の組でダイヤルトーン信号のレベルが最小になることと
の2つを利用して電話機の4端子モジュラーケーブルの接続パターンを識別する(図5,図6のステップS1〜S3,S8,S13,S14,S17)。これにより、電話機用スイッチ装置1に接続される電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。
Thus, in this telephone switch device 1,
(A) Of the four terminals P1 to P4 of the four-terminal modular cable C2 connected to the receiver 3, when an AC signal is supplied to a pair of two terminals for speaker connection or a pair of two terminals for microphone connection The impedance of the handset when the AC signal is supplied to the
(B) Among the four terminals P1 to P4 of the four-terminal modular cable C1 connected to the telephone body 2, the level of the dial tone signal is maximized at the set of two terminals for speaker connection, and 2 for microphone connection. The connection pattern of the four-terminal modular cable of the telephone is identified using the fact that the level of the dial tone signal is minimized with a set of two terminals (steps S1 to S3, S8, S13 in FIGS. 5 and 6). , S14, S17). Thereby, the connection pattern of the 4-terminal modular cable of the telephone connected to the telephone switch device 1 can be identified with high accuracy.

また、接続パターン識別処理時に、電話機用スイッチ装置1の受話器用モジュラージャック14(図2B)に受話器3ではなく誤って電話機本体2のほうが接続されている場合には、異常と判定して処理を終了する(図5,図6のステップS4,S18)ので、受話器3のほうを接続し直した上で改めて接続パターン識別処理を開始させることにより、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。   In addition, when the telephone body 2 is mistakenly connected to the telephone receiver modular jack 14 (FIG. 2B) of the telephone switch device 1 during the connection pattern identification process instead of the telephone receiver 3, it is determined as abnormal and the processing is performed. Since the process ends (steps S4 and S18 in FIGS. 5 and 6), the connection pattern of the four-terminal modular cable of the telephone is highly accurate by reconnecting the receiver 3 and starting the connection pattern identification process again. Can be identified.

また、受話器3に接続されている4端子モジュラーケーブルC2のうちのいずれか2つの端子が互いに短絡している場合には、その短絡している組を除外して候補を選定する(図5のステップS5,S11)ので、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。   Further, when any two terminals of the four-terminal modular cable C2 connected to the receiver 3 are short-circuited with each other, a candidate is selected by excluding the short-circuited pair (FIG. 5). Since steps S5 and S11), the connection pattern of the telephone 4-terminal modular cable can be identified with high accuracy.

また、受話器3に用いられているマイクロホンの種類によっては、4端子モジュラーケーブルC2のうちのマイクロホン接続用の2つの端子の組とスピーカ接続用,マイクロホン接続用の1つずつの端子の組とでインピーダンスにほとんど差がないことがあるが、その場合にも、インピーダンスの測定レベルが最も小さい組と、4端子モジュラーケーブルの残りの2つの端子の組との2組を候補として選定する(図5のステップS6,S10)ので、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。   Further, depending on the type of microphone used in the receiver 3, there are two sets of two terminals for connecting a microphone and one set of terminals for connecting a speaker and one for connecting a microphone in the four-terminal modular cable C 2. There may be almost no difference in impedance, but in this case as well, two pairs of the pair having the smallest impedance measurement level and the remaining two terminals of the four-terminal modular cable are selected as candidates (FIG. 5). Steps S6 and S10), the connection pattern of the four-terminal modular cable of the telephone can be identified with high accuracy.

また、電話機のメーカーや機種によっては、4端子モジュラーケーブルのうちの同じ1つの端子を、スピーカ接続用の端子とマイクロホン接続用の端子とに共用していることがあるが、電話機用スイッチ装置1がそうした電話機に接続されている場合にも、インピーダンスの測定レベルが最小の組と2番目に小さい組との2組だけでなく、インピーダンスの測定レベルが3番目に小さい組をも候補として選定する(図5のステップS7,S9)ので、4端子モジュラーケーブルの接続パターンを高精度に識別することができる。   Depending on the manufacturer and model of the telephone, the same one terminal of the four-terminal modular cable may be shared by the terminal for connecting the speaker and the terminal for connecting the microphone. Even if the phone is connected to such a telephone, not only the pair with the smallest impedance measurement level and the second smallest pair but also the pair with the third smallest impedance measurement level is selected as a candidate. (Steps S7 and S9 in FIG. 5), the connection pattern of the four-terminal modular cable can be identified with high accuracy.

また、接続パターン識別処理時に、電話機用スイッチ装置1に誤って受話器3が接続されていない場合には、異常と判定して処理を終了する(図5,図6のステップS12,S18)ので、受話器3を接続した上で改めて接続パターン識別処理を開始させることにより、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。   Further, if the handset 3 is not connected to the telephone switch device 1 by mistake during the connection pattern identification process, it is determined as abnormal and the process ends (steps S12 and S18 in FIGS. 5 and 6). By connecting the receiver 3 and starting the connection pattern identification process again, the connection pattern of the four-terminal modular cable of the telephone can be identified with high accuracy.

また、接続パターン識別処理におけるトーンレベル測定時に、電話機用スイッチ装置1に誤って電話機本体2が接続されていない場合にも、異常と判定して処理を終了する(図6のステップS15,S18)ので、電話機本体2を接続した上で改めて接続パターン識別処理を開始させることにより、電話機の4端子モジュラーケーブルの接続パターンを高精度に識別することができる。   Further, when the telephone body 2 is not connected to the telephone switch device 1 by mistake during the tone level measurement in the connection pattern identification process, it is determined as abnormal and the process is terminated (steps S15 and S18 in FIG. 6). Therefore, the connection pattern of the 4-terminal modular cable of the telephone can be identified with high accuracy by starting the connection pattern identification process again after connecting the telephone body 2.

また、接続パターン識別処理での候補の選定になんらかの原因で誤りがあった(候補として選定された所定数の組の中に、マイクロホン接続用の2つの端子の組が含まれていなかった)場合にも、異常と判定して処理を終了する(図6のステップS16,S18)ので、改めて接続パターン識別処理を開始させて候補の選定をやり直すことができる。   In addition, there is an error in the selection of candidates in the connection pattern identification process for some reason (a pair of microphones is not included in the predetermined number of combinations selected as candidates) In addition, since it is determined that there is an abnormality and the process is terminated (steps S16 and S18 in FIG. 6), the connection pattern identification process can be started again to select candidates again.

また、接続パターン識別処理中に異常と判定されたことがLED12に表示される(図6のステップS18)ので、ユーザーが、異常があったことをすばやく確認することができる。   In addition, since it is displayed on the LED 12 that the abnormality is determined during the connection pattern identification process (step S18 in FIG. 6), the user can quickly confirm that there is an abnormality.

また、接続パターン識別処理が正常に終了した後、受話器3をオンフックすると、電話機の4端子モジュラーケーブルの接続パターンに応じた外部音声I/O装置4との接続の設定が自動的に行われて、外部音声I/O装置4で通話を行うことができる。   Further, when the handset 3 is on-hook after the connection pattern identification process is normally completed, the connection setting with the external audio I / O device 4 corresponding to the connection pattern of the 4-terminal modular cable of the telephone is automatically performed. The external voice I / O device 4 can make a call.

また、エコーキャンセラ28が設けられているので、外部音声I/O装置4での通話時に、外部音声I/O装置4においてスピーカから出た音声がマイクロホンで拾われることによるエコーの発生を防止することができる。   In addition, since the echo canceller 28 is provided, when the external audio I / O device 4 is in a call, the external audio I / O device 4 prevents the sound generated from the speaker from being picked up by the microphone. be able to.

なお、以上の例では、スピーカとマイクロホンとが一体となった据え置き型の装置である外部音声I/O装置4で通話を行うための電話機用スイッチ装置に本発明を適用している。しかし、これに限らず、ヘッドセットで通話を行うための電話機用スイッチ装置に本発明を適用してもよい。   In the above example, the present invention is applied to a telephone switch device for making a call with the external audio I / O device 4 which is a stationary device in which a speaker and a microphone are integrated. However, the present invention is not limited to this, and the present invention may be applied to a telephone switch device for making a call using a headset.

本発明に係る電話機用スイッチ装置を用いたシステムの構成を示す図である。It is a figure which shows the structure of the system using the switch apparatus for telephones which concerns on this invention. 本発明に係る電話機用スイッチ装置の外観構成を示す図である。It is a figure which shows the external appearance structure of the switch apparatus for telephones which concerns on this invention. 本発明に係る電話機用スイッチ装置で受話器をオンフックした状態を示す図である。It is a figure which shows the state which on-hooked the receiver with the switch apparatus for telephones which concerns on this invention. 本発明に係る電話機用スイッチ装置の回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the switch apparatus for telephones which concerns on this invention. 図4のマイクロコンピュータが実行する接続パターン識別処理を示すフローチャートである。It is a flowchart which shows the connection pattern identification process which the microcomputer of FIG. 4 performs. 図4のマイクロコンピュータが実行する接続パターン識別処理を示すフローチャートである。It is a flowchart which shows the connection pattern identification process which the microcomputer of FIG. 4 performs. 4端子モジュラーケーブルの接続パターンを示す図である。It is a figure which shows the connection pattern of 4 terminal modular cable. 接続パターン識別処理でのインピーダンス測定時の図4の接続設定用スイッチの切替えパターンを示す図である。FIG. 5 is a diagram showing a switching pattern of the connection setting switch of FIG. 4 when impedance is measured in the connection pattern identification process. 1つの端子をスピーカ・マイクロホンに共用した接続パターンを例示す図である。It is a figure which shows the example of the connection pattern which shared one terminal with the speaker microphone.

符号の説明Explanation of symbols

1 電話機用スイッチ装置、 2 電話機本体、 3 受話器、 4 外部音声I/O装置、 11 フックスイッチ、 12 LED、 13 電話機本体用モジュラージャック、 14 受話器用モジュラージャック、 15 外部音声I/O装置用コネクタ、 16 接続設定釦、 21 本体切離し用スイッチ、 22,23 接続設定用スイッチ、 24 受話器切離し用スイッチ、 31 受話器インピーダンス測定用発振器、 34 レベル検出器、 35 マイクロコンピュータ、 C1,C2 4端子モジュラーケーブル、 C3 ケーブル   DESCRIPTION OF SYMBOLS 1 Telephone switch apparatus, 2 Telephone main body, 3 Receiver, 4 External audio | voice I / O apparatus, 11 Hook switch, 12 LED, 13 Telephone telephone modular jack, 14 Telephone receiver modular jack, 15 External audio | voice I / O apparatus connector , 16 Connection setting button, 21 Main body disconnect switch, 22, 23 Connection setting switch, 24 Receiver disconnect switch, 31 Receiver impedance measurement oscillator, 34 Level detector, 35 Microcomputer, C1, C2 4-terminal modular cable, C3 cable

Claims (12)

電話機本体と受話器とが4端子モジュラーケーブルで接続される電話機の前記電話機本体と前記受話器との間に接続されるとともに、外部音声入出力装置に接続され、前記電話機本体を前記受話器と前記外部音声入出力装置とのいずれに接続するかを切り替える電話機用スイッチ装置において、
前記電話機本体との接続を切り離し、前記受話器に接続されている4端子モジュラーケーブルのうちの2つの端子に交流信号を供給して前記受話器のインピーダンスを測定する処理を、前記2つの端子の組合せを複数パターンに切り替えて行うインピーダンス測定手段と、
前記複数パターンの端子の組合せのうち、前記インピーダンス測定手段でのインピーダンスの測定レベルが小さい組の順に、所定数の組を、前記電話機におけるスピーカ接続用の端子及びマイクロホン接続用の端子の候補として選定する候補選定手段と、
前記電話機本体に接続されている4端子モジュラーケーブルのうちの2つの端子から供給されるダイヤルトーン信号のレベルを測定する処理を、前記2つの端子の組合せを、前記候補選定手段で選定された前記所定数の組に切り替えて行うトーンレベル測定手段と、
前記所定数の組のうち、前記トーンレベル測定手段での測定レベルが最大の組を、前記電話機におけるスピーカ接続用の2つの端子として識別し、前記トーンレベル測定手段での測定レベルが最小の組を、前記電話機におけるマイクロホン接続用の2つの端子として識別する識別手段と
を備えたことを特徴とする電話機用スイッチ装置。
A telephone body and a receiver are connected between the telephone body and the receiver of a telephone connected by a four-terminal modular cable, and are connected to an external voice input / output device, and the telephone body is connected to the receiver and the external voice. In a telephone switch device that switches between connecting to an input / output device,
The process of disconnecting the connection with the telephone body and supplying the AC signal to two terminals of the four-terminal modular cable connected to the receiver to measure the impedance of the receiver, and combining the two terminals Impedance measurement means for switching to multiple patterns;
Among the combinations of the terminals of the plurality of patterns, a predetermined number of pairs are selected as candidates for a speaker connection terminal and a microphone connection terminal in the telephone set in order of the pair having the lowest impedance measurement level in the impedance measuring unit. Candidate selection means to
The process of measuring the level of a dial tone signal supplied from two terminals of a four-terminal modular cable connected to the telephone body, the combination of the two terminals being selected by the candidate selecting means Tone level measurement means for switching to a predetermined number of groups,
Among the predetermined number of sets, the set having the maximum measurement level by the tone level measuring means is identified as two terminals for speaker connection in the telephone, and the set having the minimum measurement level by the tone level measuring means. A telephone switch device comprising: identification means for identifying a terminal as two terminals for microphone connection in the telephone.
請求項1に記載の電話機用スイッチ装置において、
前記インピーダンス測定手段は、前記2つの端子の組合せを6つのパターンに切り替えることを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The telephone switch device, wherein the impedance measuring means switches the combination of the two terminals to six patterns.
請求項1に記載の電話機用スイッチ装置において、
前記候補選定手段は、前記インピーダンス測定手段でのインピーダンスの測定レベルが所定の閾値を超えている場合には、異常と判定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The telephone switch device according to claim 1, wherein the candidate selecting unit determines that the abnormality is present when an impedance measurement level of the impedance measuring unit exceeds a predetermined threshold.
請求項1に記載の電話機用スイッチ装置において、
前記候補選定手段は、前記複数パターンの端子の組合せのうち、インピーダンスが所定の閾値未満である組を除外して前記候補を選定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The telephone switch device, wherein the candidate selection means selects the candidate by excluding a combination having an impedance less than a predetermined threshold from a combination of the plurality of patterns of terminals.
請求項1に記載の電話機用スイッチ装置において、
前記候補選定手段は、前記複数パターンの端子の組合せのうち、インピーダンスの測定レベルが2番目に小さい組と4番目以降に小さい組との測定レベルの差が一定以下である場合には、インピーダンスの測定レベルが最も小さい組と、4端子モジュラーケーブルの残りの2つの端子の組との2組を、前記候補として選定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The candidate selecting means, when the difference in measurement level between the second lowest set of impedance and the fourth or lower set among the combinations of the terminals of the plurality of patterns is less than a certain value, A telephone switch device characterized in that two sets of a set having the lowest measurement level and a set of the remaining two terminals of a four-terminal modular cable are selected as the candidates.
請求項1に記載の電話機用スイッチ装置において、
前記候補選定手段は、前記複数パターンの端子の組合せのうち、インピーダンスの測定レベルが2番目に小さい組と3番目に小さい組との測定レベルの差が一定以下である場合には、インピーダンスの測定レベルが最小の組と、インピーダンスの測定レベルが2番目に小さい組と、インピーダンスの測定レベルが3番目に小さい組との3組を前記候補として選定し、それ以外の場合には、インピーダンスの測定レベルが最小の組と、インピーダンスの測定レベルが2番目に小さい組との2組を前記候補として選定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The candidate selecting means measures the impedance when the difference in the measurement level between the second and third smallest measurement levels of the plurality of pattern terminal combinations is less than or equal to a certain level. Three groups, the group with the lowest level, the group with the second lowest impedance measurement level, and the group with the third lowest impedance measurement level are selected as the candidates. Otherwise, impedance measurement is performed. 2. A telephone switch device comprising: a pair having a minimum level and a pair having the second lowest measurement level of impedance as candidates.
請求項1に記載の電話機用スイッチ装置において、
前記候補選定手段は、前記候補として選定した前記所定数の組と、前記インピーダンス測定手段でのインピーダンスの測定レベルが最大の組との測定レベルの差が所定の閾値以下である場合には、異常と判定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The candidate selection means is abnormal if the difference in measurement level between the predetermined number of groups selected as candidates and the group having the maximum impedance measurement level in the impedance measurement means is equal to or less than a predetermined threshold. A telephone switch device, characterized in that
請求項1に記載の電話機用スイッチ装置において、
前記識別手段は、前記トーンレベル測定手段での測定レベルが、前記所定数の組の全てについて所定の閾値以下である場合には、異常と判定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The telephone switch apparatus according to claim 1, wherein the identification unit determines that an abnormality occurs when the measurement level measured by the tone level measurement unit is equal to or less than a predetermined threshold value for all of the predetermined number of sets.
請求項1に記載の電話機用スイッチ装置において、
前記識別手段は、前記トーンレベル測定手段での測定レベルが、前記所定数の組の全てについて所定の閾値以上である場合には、異常と判定することを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
The telephone switch apparatus according to claim 1, wherein the identification unit determines that the measurement is abnormal when the measurement level of the tone level measurement unit is equal to or greater than a predetermined threshold for all of the predetermined number of sets.
請求項3,7,8または9に記載の電話機用スイッチ装置において、
異常と判定されたことを表示する表示手段
をさらに備えたことを特徴とする電話機用スイッチ装置。
The telephone switch device according to claim 3, 7, 8, or 9,
A telephone switch device, further comprising display means for displaying that it has been determined to be abnormal.
請求項1に記載の電話機用スイッチ装置において、
前記電話機本体と前記外部音声入出力装置との接続時に、前記電話機本体に接続されている4端子モジュラーケーブルのうち、前記識別手段によってスピーカ接続用の端子として識別された2つの端子を前記外部音声入出力装置のスピーカに接続し、前記識別手段によってマイクロホン接続用の端子として識別された2つの端子を前記外部音声入出力装置のマイクロホンに接続する接続設定手段
をさらに備えたことを特徴とする電話機用スイッチ装置。
In the telephone switch device according to claim 1,
Of the four-terminal modular cables connected to the telephone main body when the telephone main body and the external audio input / output device are connected, two terminals identified as speaker connection terminals by the identifying means are connected to the external audio The telephone further comprising: connection setting means connected to a speaker of the input / output device, and connecting two terminals identified as microphone connection terminals by the identification means to the microphone of the external audio input / output device. Switch device.
電話機の電話機本体と受話器とを接続する4端子モジュラーケーブルの接続パターンの識別方法において、
前記電話機本体と前記受話器との接続を切り離し、前記受話器に接続されている4端子モジュラーケーブルのうちの2つの端子に交流信号を供給して前記受話器のインピーダンスを測定する処理を、前記2つの端子の組合せを複数パターンに切り替えて行うインピーダンス測定ステップと、
前記複数パターンの端子の組合せのうち、前記インピーダンス測定ステップでのインピーダンスの測定レベルが小さい組の順に、所定数の組を、前記電話機におけるスピーカ接続用の端子及びマイクロホン接続用の端子の候補として選定する候補選定ステップと、
前記電話機本体に接続されている4端子モジュラーケーブルのうちの2つの端子から供給されるダイヤルトーン信号のレベルを測定する処理を、前記2つの端子の組合せを、前記候補選定ステップで選定された前記所定数の組に切り替えて行うトーンレベル測定ステップと、
前記所定数の組のうち、前記トーンレベル測定ステップでの測定レベルが最大の組を、前記電話機におけるスピーカ接続用の2つの端子として識別し、前記トーンレベル測定ステップでの測定レベルが最小の組を、前記電話機におけるマイクロホン接続用の2つの端子として識別する識別ステップと
を有することを特徴とする電話機の4端子モジュラーケーブルの接続パターン識別方法。
In a method for identifying a connection pattern of a four-terminal modular cable for connecting a telephone body and a handset of a telephone,
Disconnecting the connection between the telephone body and the handset, supplying an AC signal to two terminals of a four-terminal modular cable connected to the handset, and measuring the impedance of the handset, the two terminals Impedance measurement step to switch the combination to multiple patterns,
Among the combinations of the terminals of the plurality of patterns, a predetermined number of sets are selected as candidates for a speaker connection terminal and a microphone connection terminal in the telephone set in the order of the set having the lowest impedance measurement level in the impedance measurement step. A candidate selection step to
The process of measuring the level of a dial tone signal supplied from two terminals of a four-terminal modular cable connected to the telephone body, the combination of the two terminals being selected in the candidate selection step Tone level measurement step performed by switching to a predetermined number of groups;
Among the predetermined number of sets, the group having the maximum measurement level in the tone level measurement step is identified as two terminals for speaker connection in the telephone, and the group having the minimum measurement level in the tone level measurement step is identified. Identifying a connection pattern of a four-terminal modular cable of a telephone, characterized in that the identification step is identified as two terminals for microphone connection in the telephone.
JP2004177324A 2004-06-15 2004-06-15 Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set Pending JP2006005473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004177324A JP2006005473A (en) 2004-06-15 2004-06-15 Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004177324A JP2006005473A (en) 2004-06-15 2004-06-15 Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set

Publications (1)

Publication Number Publication Date
JP2006005473A true JP2006005473A (en) 2006-01-05

Family

ID=35773511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004177324A Pending JP2006005473A (en) 2004-06-15 2004-06-15 Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set

Country Status (1)

Country Link
JP (1) JP2006005473A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011504013A (en) * 2007-11-06 2011-01-27 クゥアルコム・インコーポレイテッド Personal health module supported by portable communication device
JP2013534802A (en) * 2010-06-21 2013-09-05 チャン・ホ・キム Standby power cut-off system
US8692722B2 (en) 2011-02-01 2014-04-08 Phoenix Contact Development and Manufacturing, Inc. Wireless field device or wireless field device adapter with removable antenna module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011504013A (en) * 2007-11-06 2011-01-27 クゥアルコム・インコーポレイテッド Personal health module supported by portable communication device
JP2013534802A (en) * 2010-06-21 2013-09-05 チャン・ホ・キム Standby power cut-off system
US8692722B2 (en) 2011-02-01 2014-04-08 Phoenix Contact Development and Manufacturing, Inc. Wireless field device or wireless field device adapter with removable antenna module

Similar Documents

Publication Publication Date Title
US8412268B2 (en) Detection, identification and operation of pheripherals connected via an audio/video-plug to an electronic device
US6947533B2 (en) Communication apparatus, information display method, incoming call display method, incoming call history display method, programs for implementing the methods, and storage medium in which the program is stored
CN101739374B (en) Signal transmission path selecting and apply the electronic installation of this circuit
EP2299669B1 (en) Electronic device and system and method thereof for identifying electronic accessory and controlling electronic device
KR20110046361A (en) How to Detect Attachments with Audio Jacks
US4912755A (en) Line current test device
JP2006005473A (en) Switch device for telephone set and connection pattern discriminating method of four-terminal modular cable of telephone set
CN102026419B (en) Electronic device and system, as well as method for identifying electronic components and controlling electronic device thereof
KR200453993Y1 (en) Portable Line Tester
CN105578345A (en) An audio interface arrangement and a handheld device comprising the audio interface arrangement
KR101235431B1 (en) Internet and telephone line fault detecting apparatus
GB2248941A (en) Multimeter with speech synthesizer
WO1988003653A1 (en) Wire tester
US11445283B2 (en) Systems and methods for automated configuration of telephone headset interface
JPS63281549A (en) Telephone system
CN219302567U (en) Interface testing device
JPH07177496A (en) Video communication equipment
US8145244B2 (en) System and method for determining base unit position of a cordless handset
JP2936934B2 (en) Telephone
KR100679699B1 (en) Apparatus for identifying and recording speaker and microphone line for handset of telephone and method identifying thereof
KR101255043B1 (en) Testing apparatus of telephone terminal
JP5903630B2 (en) Intercom device
JPH07221858A (en) Interphone set
JPH02130063A (en) Method and device for connecting 4-lines type telephone line with 2-line type terminal equipment
US7796740B2 (en) System and method for universal adaptation of a PSTN modem