[go: up one dir, main page]

JP2009253404A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2009253404A
JP2009253404A JP2008095683A JP2008095683A JP2009253404A JP 2009253404 A JP2009253404 A JP 2009253404A JP 2008095683 A JP2008095683 A JP 2008095683A JP 2008095683 A JP2008095683 A JP 2008095683A JP 2009253404 A JP2009253404 A JP 2009253404A
Authority
JP
Japan
Prior art keywords
signal
sound
sound signal
output
magnitude
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008095683A
Other languages
Japanese (ja)
Other versions
JP4853488B2 (en
Inventor
Shinichi Sakakibara
伸一 榊原
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2008095683A priority Critical patent/JP4853488B2/en
Publication of JP2009253404A publication Critical patent/JP2009253404A/en
Application granted granted Critical
Publication of JP4853488B2 publication Critical patent/JP4853488B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Telephone Function (AREA)

Abstract

【課題】生じる側音信号に応じて、通話中の反響を抑制して通話品質を向上させることができる通信装置を提供すること。
【解決手段】側音信号Rの音量と、規定値との差分が、「6dB」以下である場合には、マイク24aから送信される音声信号の大きさを、その差分だけ下げで、発生する側音信号Rの大きさを小さくする。よって、送受話器24のスピーカ24bに入力される側音信号Rが小さくなるので、通話中に生じる反響(エコー)を抑制して通話品質を向上させることができる。また、側音信号Rの音量と、規定値との差分が、「6dB」を超えている場合には、一定量(「6dB」)までしか、マイク24aから送信される音声信号の大きさが低下させないので、マイク24aから送信される音声信号の大きさが小さくなりすぎて、相手側の通信装置で音が聞き取れなくなることを抑制することができる。
【選択図】図4
To provide a communication device capable of improving call quality by suppressing echo during a call according to a side sound signal generated.
When the difference between the volume of the side sound signal R and the specified value is equal to or less than “6 dB”, the magnitude of the audio signal transmitted from the microphone 24a is reduced by the difference and generated. The magnitude of the side sound signal R is reduced. Therefore, the side sound signal R input to the speaker 24b of the handset 24 becomes small, so that the echo (echo) generated during the call can be suppressed and the call quality can be improved. In addition, when the difference between the volume of the side sound signal R and the specified value exceeds “6 dB”, the size of the audio signal transmitted from the microphone 24 a is limited to a certain amount (“6 dB”). Since it is not reduced, it can be suppressed that the size of the audio signal transmitted from the microphone 24a becomes too small and the other communication device cannot hear the sound.
[Selection] Figure 4

Description

本発明は、通信装置に関するものである。   The present invention relates to a communication device.

従来より、電話回線を介して相手側の通信装置との間で音声信号の送受信を行うことで通話可能な通信装置が知られている。この種の通信装置では、一方の通信装置から他方の通信装置へ音声信号を送信した場合に、各通信装置と電話回線とを接続する経路が既定のインピーダンスで整合されていないと、受話器のマイクから出力された音声信号が全て電話回線に入力されずに、一部の音声信号が受話器のスピーカに入力される。その音声信号が受話器のスピーカから放音されると、通話中の音声に反響(エコー)が生じてしまう。次の特許文献1には、小さなホワイトノイズ(雑音)信号を生成し、回線を介して受信する音声信号にホワイトノイズ(雑音)信号を合成して、スピーカら放音させることで、ユーザが分からない程度に反響を軽減する技術が記載されている。
特開2006−19983号公報(0036段落など)
2. Description of the Related Art Conventionally, there is known a communication device capable of making a call by transmitting / receiving an audio signal to / from a counterpart communication device via a telephone line. In this type of communication device, when an audio signal is transmitted from one communication device to the other communication device, if the path connecting each communication device and the telephone line is not matched with a predetermined impedance, the microphone of the handset A part of the audio signal is input to the speaker of the receiver without being input to the telephone line. When the sound signal is emitted from the speaker of the handset, echo (echo) occurs in the sound during the call. The following Patent Document 1 generates a small white noise (noise) signal, synthesizes a white noise (noise) signal with an audio signal received via a line, and emits sound from a speaker. A technique for reducing the response to a certain extent is described.
JP 2006-19983 A (0036 paragraph etc.)

しかしながら、上述した特許文献1に記載された技術では、受話器のスピーカから常にホワイトノイズ(雑音)に応じた音が放音されるので、通話中の音声品質が低下するという問題点があった。   However, in the technique described in Patent Document 1 described above, a sound corresponding to white noise (noise) is always emitted from the speaker of the receiver, so that there is a problem that the voice quality during a call is deteriorated.

本発明は上述した問題点を解決するためになされたものであり、生じる側音信号に応じて、通話中の反響を抑制して通話品質を向上させることができる通信装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a communication device capable of improving the call quality by suppressing the echo during a call according to the side sound signal generated. And

この目的を達成するために、請求項1記載の通信装置は、音を音信号に変換し出力する第1出力手段と、入力される音信号を音に変換し放音する放音手段とを備え、前記第1出力手段および前記放音手段と回線とが接続され、その回線を介して外部の通信装置との間で音信号の送受信を行うものであり、前記回線と前記第1出力手段とが接続される経路間のインピーダンス、および、前記回線と前記放音手段とが接続される経路間のインピーダンスを整合させる2線4線変換手段と、その2線4線変換手段を介して、音信号の大きさが第1設定値である調査信号を前記回線に出力する第2出力手段と、その第2出力手段により前記調査信号が出力された場合に、前記通信装置と前記回線との経路間のインピーダンスの不整合により生じる側音信号の大きさを検出する検出手段と、その検出手段により検出される前記側音信号の大きさに基づいて、前記第1出力手段から出力される音信号の大きさを低下させる信号制御手段とを備えている。   In order to achieve this object, the communication device according to claim 1 includes: a first output unit that converts a sound into a sound signal and outputs the sound; and a sound emitting unit that converts an input sound signal into a sound and emits the sound. The first output means and the sound emitting means are connected to a line, and a sound signal is transmitted / received to / from an external communication device via the line, and the line and the first output means Via the two-wire four-wire conversion means for matching the impedance between the paths to which the line is connected and the impedance between the paths to which the line and the sound emitting means are connected, and the two-wire four-wire conversion means, A second output means for outputting a survey signal whose magnitude of the sound signal is a first set value to the line; and when the survey signal is output by the second output means, the communication device and the line Sidetone caused by impedance mismatch between paths Detection means for detecting the magnitude of the signal, and signal control means for reducing the magnitude of the sound signal output from the first output means based on the magnitude of the side sound signal detected by the detection means; It has.

請求項2記載の通信装置は、請求項1記載の通信装置において、前記信号制御手段は、前記検出手段により検出される前記側音信号の大きさを示す値が第2設定値以下であるかを判定する第1判定手段と、その第1判定手段により前記側音信号の大きさを示す値が前記第2設定値を超えていると判定される場合に、前記検出手段により検出される前記側音信号の大きさを示す値と前記第2設定値との差分を算出する算出手段と、その算出手段により算出される差分が所定値以下である場合に、前記第1出力手段から出力される音信号を、前記算出手段により算出された差分に応じた大きさに低下させる。   The communication device according to claim 2 is the communication device according to claim 1, wherein the signal control means is configured such that a value indicating the magnitude of the side sound signal detected by the detection means is equal to or less than a second set value. First detection means for determining the side sound signal, and when the first determination means determines that a value indicating the magnitude of the side sound signal exceeds the second set value, the detection means detects the detection signal. A calculating means for calculating a difference between the value indicating the magnitude of the side sound signal and the second set value, and output from the first output means when the difference calculated by the calculating means is equal to or less than a predetermined value. The sound signal is reduced to a magnitude corresponding to the difference calculated by the calculating means.

請求項3記載の通信装置は、請求項2記載の通信装置において、前記信号制御手段は、前記算出手段により算出される差分が前記所定値を超えている場合に、前記第1出力手段から出力される音信号を、前記所定値に応じた大きさに低下させる。   The communication device according to claim 3 is the communication device according to claim 2, wherein the signal control means outputs the first output means when the difference calculated by the calculation means exceeds the predetermined value. The sound signal to be played is reduced to a magnitude corresponding to the predetermined value.

請求項4記載の通信装置は、請求項1から3のいずれかに記載の通信装置において、前記第1出力手段から出力される音信号の大きさを示す値が第3設定値以下であるかを判定する第2判定手段と、その第2判定手段により前記第1出力手段から出力される音信号の大きさを示す値が前記第3設定値を超えていると判定される場合に、前記放音手段に入力される音信号の大きさを低下させる信号減衰手段とを備えている。   The communication device according to claim 4 is the communication device according to any one of claims 1 to 3, wherein a value indicating a magnitude of a sound signal output from the first output means is equal to or less than a third set value. The second determination means for determining the value of the sound signal output from the first output means by the second determination means is determined to exceed the third set value, Signal attenuating means for reducing the magnitude of the sound signal input to the sound emitting means.

請求項5記載の通信装置は、請求項1から4のいずれかに記載の通信装置において、前記2線4線変換手段は、前記回線と前記第1出力手段および前記放音手段との間に接続され、それぞれがインピーダンス特性を有する複数のインピーダンス回路と、前記回線と前記第1出力手段および前記放音手段との間に1以上の前記インピーダンス回路を接続する接続手段と、前記第2出力手段により前記調査信号が出力される場合に、前記検出手段により検出される前記側音信号の大きさを示す値が最も小さくなるインピーダンス回路を、前記接続手段により接続する接続制御手段とを備えている。   The communication device according to claim 5 is the communication device according to any one of claims 1 to 4, wherein the two-wire / four-wire conversion means is provided between the line, the first output means, and the sound emitting means. A plurality of impedance circuits connected to each other and having impedance characteristics; connection means for connecting one or more impedance circuits between the line and the first output means and the sound emission means; and the second output means A connection control means for connecting, by the connection means, an impedance circuit having the smallest value indicating the magnitude of the side sound signal detected by the detection means when the survey signal is output by .

請求項6記載の通信装置は、請求項1から5のいずれかに記載の通信装置において、前記第2出力手段は、前記調査信号として、音信号の大きさが前記第1所定値であり、周波数が異なる複数の音信号を前記回線に出力し、前記検出手段は、前記側音信号の大きさを前記複数の異なる周波数について検出し、前記信号制御手段は、前記検出手段により検出される前記周波数が異なる複数の側音信号の大きさに基づいて、前記第1出力手段から出力される音信号の大きさを低下させる。   The communication apparatus according to claim 6 is the communication apparatus according to any one of claims 1 to 5, wherein the second output means has a sound signal having the first predetermined value as the investigation signal. A plurality of sound signals having different frequencies are output to the line, the detecting means detects the side sound signal for the plurality of different frequencies, and the signal control means is detected by the detecting means. Based on the magnitudes of a plurality of side sound signals having different frequencies, the magnitude of the sound signal output from the first output means is reduced.

請求項1記載の通信装置によれば、各経路間のインピーダンスを整合する2線4線変換手段を介して回線に、音信号の大きさが第1設定値である調査信号が第2出力手段により出力される。その調査信号が出力された場合に、通信装置と回線との経路間のインピーダンスの不整合により生じる側音信号の大きさが検出手段により検出され、その検出される側音信号の大きさに基づいて、第1出力手段から出力される音信号の大きさが信号制御手段により低下させられる。第1出力手段から回線に出力される音信号の大きさを低下させれば、発生する側音信号の大きさも低下するので、放音手段に入力される側音信号の大きさを低下させることができる。よって、検出手段により検出される側音信号の大きさに基づいて、放音手段に入力される側音信号の大きさを低下させることができるので、側音信号により生じる通話中の反響を抑制して通話品質を向上させることができるという効果がある。   According to the communication apparatus of the first aspect, the investigation signal whose sound signal has the first set value is sent to the second output means via the two-wire / four-wire conversion means for matching the impedance between the paths. Is output by. When the inspection signal is output, the detection means detects the magnitude of the side sound signal caused by the impedance mismatch between the communication device and the line, and based on the detected side sound signal magnitude. Thus, the magnitude of the sound signal output from the first output means is reduced by the signal control means. If the magnitude of the sound signal output from the first output means to the line is reduced, the magnitude of the side sound signal generated is also reduced, so the side sound signal input to the sound emitting means is reduced. Can do. Therefore, since the size of the side sound signal input to the sound emitting means can be reduced based on the size of the side sound signal detected by the detecting means, the echo during the call caused by the side sound signal is suppressed. Thus, there is an effect that the call quality can be improved.

請求項2記載の通信装置によれば、請求項1記載の通信装置の奏する効果に加え、信号制御手段の検出手段により検出される側音信号の大きさを示す値が第2設定値以下であるかが第1判定手段により判定され、側音信号の大きさを示す値が第2設定値を超えていると判定される場合に、検出手段により検出される側音信号の大きさを示す値と第2設定値との差分が算出手段により算出される。その差分が所定値以下である場合には、第1出力手段から出力される音信号が、算出手段により算出された差分に応じた大きさに低下させられる。よって、第1出力手段から出力される音信号を、側音信号の大きさと第2設定値との差分に応じた大きさに低下させることができ、第1出力手段から出力された音信号が、必要以上に低下することを防止することができるという効果がある。   According to the communication device of the second aspect, in addition to the effect produced by the communication device of the first aspect, a value indicating the magnitude of the side sound signal detected by the detection unit of the signal control unit is equal to or less than the second set value. When the first determination means determines whether there is a side sound signal and the value indicating the side sound signal exceeds the second set value, it indicates the side sound signal detected by the detection means. The difference between the value and the second set value is calculated by the calculation means. When the difference is less than or equal to the predetermined value, the sound signal output from the first output means is reduced to a magnitude corresponding to the difference calculated by the calculation means. Therefore, the sound signal output from the first output means can be reduced to a magnitude corresponding to the difference between the magnitude of the side sound signal and the second set value, and the sound signal output from the first output means is reduced. There is an effect that it is possible to prevent the lowering than necessary.

請求項3記載の通信装置によれば、請求項2記載の通信装置に記載の通信装置の奏する効果に加え、信号制御手段は、算出手段により算出される差分が所定値を超えている場合に、第1出力手段から出力される音信号を、所定値に応じた大きさに低下させる。よって、算出手段により算出される差分が所定値を超えていたとしても、第1出力手段から出力される音信号は、所定値に応じた値までしか低下しないので、外部の通信装置に送信される音信号が低下しすぎて、外部の通信装置において音信号の受信が困難となることを抑制することができるという効果がある。   According to the communication device according to claim 3, in addition to the effect produced by the communication device according to claim 2, the signal control means is configured such that the difference calculated by the calculation means exceeds the predetermined value. The sound signal output from the first output means is reduced to a magnitude corresponding to a predetermined value. Therefore, even if the difference calculated by the calculating means exceeds a predetermined value, the sound signal output from the first output means is reduced only to a value corresponding to the predetermined value, and is transmitted to an external communication device. There is an effect that it is possible to suppress that the sound signal is too low and it becomes difficult to receive the sound signal in the external communication device.

請求項4記載の通信装置によれば、請求項1から3のいずれかに記載の通信装置の奏する効果に加え、第1出力手段から出力される音信号の大きさを示す値が第3設定値以下であるかが第2判定手段により判定され、第1出力手段から出力される音信号の大きさを示す値が第3設定値を超えていると判定される場合に、放音手段に入力される音信号の大きさが信号減衰手段により低下させられる。側音信号は、主に第1出力手段から出力される音信号の一部であるので、第1出力手段から音信号が出力されている場合に生じる。第1出力手段から音信号の大きさが第3設定値を超えている場合には、放音手段に入力される音信号の大きさを低下させることができるので、通話中の反響をさらに抑制して通話品質をさらに向上させることができるという効果がある。   According to the communication device of the fourth aspect, in addition to the effect produced by the communication device according to any one of the first to third aspects, the value indicating the magnitude of the sound signal output from the first output means is set to the third setting. When it is determined by the second determination means whether the value is equal to or less than the value, and it is determined that the value indicating the magnitude of the sound signal output from the first output means exceeds the third set value, The magnitude of the input sound signal is reduced by the signal attenuation means. Since the side sound signal is mainly a part of the sound signal output from the first output means, it occurs when the sound signal is output from the first output means. When the magnitude of the sound signal from the first output means exceeds the third set value, the magnitude of the sound signal input to the sound emitting means can be reduced, so that the echo during the call is further suppressed. As a result, the call quality can be further improved.

請求項5記載の通信装置によれば、請求項1から4のいずれかに記載の通信装置の奏する効果に加え、第2出力手段により調査信号が出力される場合、接続制御手段は、回線と第1出力手段および放音手段との間に、検出手段により検出される側音信号の大きさを示す値が最も小さくなるインピーダンス回路を接続手段により接続するので、側音信号の大きさを最も低下させることができる。よって、生じる側音信号を最も低下させることができるので、放音手段に入力される側音信号の大きさを低下させることができ、反響を抑制して通話品質を向上させることができるという効果がある。   According to the communication device of the fifth aspect, in addition to the effect produced by the communication device according to any one of the first to fourth aspects, when the investigation signal is output by the second output means, the connection control means An impedance circuit having the smallest value indicating the magnitude of the side sound signal detected by the detecting means is connected between the first output means and the sound emitting means by the connecting means. Can be reduced. Therefore, the side sound signal generated can be reduced most, so that the size of the side sound signal input to the sound emitting means can be reduced, and the call quality can be improved by suppressing the echo. There is.

請求項6記載の通信装置によれば、請求項1から5のいずれかに記載の通信装置の奏する効果に加え、音信号の大きさが第1所定値であり、周波数が異なる複数の音信号が回線に第2出力手段により出力され、生じる側音信号の大きさが、複数の異なる周波数について検出手段により検出される。検出手段により検出される周波数が異なる複数の側音信号の大きさに基づいて、第1出力手段から出力される音信号の大きさが信号制御手段により低下させられる。よって、回線が有する周波数特性に応じて、生じる側音信号の大きさを低下させることができるという効果がある。例えば、回線の線路長や、材質の特性などにより、回線の周波数特性が変化するので、そのような変化に応じて、通話中の反響を抑制することができるという効果がある。   According to the communication device of the sixth aspect, in addition to the effect produced by the communication device according to any one of the first to fifth aspects, the sound signal has a first predetermined value and a plurality of sound signals having different frequencies. Is output to the line by the second output means, and the magnitude of the side sound signal generated is detected by the detection means for a plurality of different frequencies. The magnitude of the sound signal output from the first output means is reduced by the signal control means based on the magnitudes of a plurality of side sound signals having different frequencies detected by the detection means. Therefore, there is an effect that the magnitude of the side sound signal generated can be reduced according to the frequency characteristics of the line. For example, since the frequency characteristics of the line change depending on the line length of the line, the characteristics of the material, etc., there is an effect that the echo during the call can be suppressed according to such a change.

以下、本発明の好ましい実施形態について、添付図面を参照して説明する。図1は、本発明の実施形態における通信装置を有した多機能周辺装置(以下、「MFP(Multi Function Peripheral)」と称する)1の電気的構成を示したブロック図である。MFP1は、電話回線網100を介して接続される外部の通信装置(図示しない)と通話可能に構成されている。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a multifunction peripheral device (hereinafter referred to as “MFP (Multi Function Peripheral)”) 1 having a communication device according to an embodiment of the present invention. The MFP 1 is configured to be able to talk to an external communication device (not shown) connected via the telephone line network 100.

本実施形態のMFP1は、電話回線網100を介して、外部の通信装置(図示しない)との間で通話を行っている場合に、MFP1と、MFP1が接続される電話回線Lとのインピーダンスの不整合によって生じる音声の反響(エコー)を抑制するものである。   When the MFP 1 according to the present embodiment makes a call with an external communication device (not shown) via the telephone line network 100, the impedance of the MFP 1 and the telephone line L to which the MFP 1 is connected is reduced. It suppresses the reverberation (echo) of voice caused by mismatch.

次に、MFP1の電気的構成について説明する。MFP1は、CPU11、ROM12、RAM13、フラッシュメモリ14、操作ボタン15、LCD16、スキャナ21、プリンタ22、モデム23、送受話器24、2線−4線変換回路25、NCU26を主に有している。   Next, the electrical configuration of the MFP 1 will be described. The MFP 1 mainly includes a CPU 11, a ROM 12, a RAM 13, a flash memory 14, an operation button 15, an LCD 16, a scanner 21, a printer 22, a modem 23, a handset 24, a two-wire / four-wire conversion circuit 25, and an NCU 26.

CPU11、ROM12、RAM13、及びフラッシュメモリ14は、バスライン28を介して互いに接続されている。また、モデム23と送受話器24とは2線−4線変換回路25に接続され、2線−4線変換回路25はNCU26に接続されている。更に、操作ボタン15、LCD16、スキャナ21、プリンタ22、モデム23、送受話器24、2線−4線変換回路25、NCU26、及びバスライン28は、入出力ポート29を介して互いに接続されている。   The CPU 11, ROM 12, RAM 13, and flash memory 14 are connected to each other via a bus line 28. The modem 23 and the handset 24 are connected to a 2-wire-4 wire conversion circuit 25, and the 2-wire-4 wire conversion circuit 25 is connected to the NCU 26. Further, the operation button 15, the LCD 16, the scanner 21, the printer 22, the modem 23, the handset 24, the 2-wire / four-wire conversion circuit 25, the NCU 26, and the bus line 28 are connected to each other via the input / output port 29. .

CPU11は、ROM12やRAM13やフラッシュメモリ14に記憶される固定値やプログラム或いは、NCU26を介して送受信される各種信号に従って、MFP1が有している各機能の制御や、入出力ポート29と接続された各部を制御する演算装置である。   The CPU 11 is connected to the control of each function of the MFP 1 and the input / output port 29 according to fixed values and programs stored in the ROM 12, RAM 13, and flash memory 14, or various signals transmitted / received via the NCU 26. It is the arithmetic unit which controls each part.

ROM12は、MFP1で実行される制御プログラムなどを格納した書換可能な不揮発性のメモリである。図4のフローチャートに示す音質調整処理、および図5のフローチャートに示すインピーダンス整合処理を実行する各プログラムは、このROM12に格納されている。   The ROM 12 is a rewritable nonvolatile memory that stores a control program executed by the MFP 1. Each program for executing the sound quality adjustment process shown in the flowchart of FIG. 4 and the impedance matching process shown in the flowchart of FIG. 5 is stored in the ROM 12.

また、ROM12には、スイッチ設定テーブルメモリ12aが設けられている。このスイッチ設定テーブルメモリ12aは、後述するインピーダンス整合処理(図5参照)により使用されるスイッチ設定テーブルが記憶されるメモリである。   The ROM 12 is provided with a switch setting table memory 12a. The switch setting table memory 12a is a memory in which a switch setting table used in an impedance matching process (see FIG. 5) described later is stored.

ここで、図2を参照してスイッチ設定テーブルについて説明する。図2は、スイッチ設定テーブルの内容を模式的に示した模式図である。スイッチ設定テーブルは、後述する2線−4線変換回路25(図3参照)の中に設けられている5のスイッチSW1〜SW5の状態を個別に設定する(切り替える)ためのテーブルである。詳細については後述するが、それぞれのスイッチSW1〜SW5を切り替えることにより、MFP1の出力インピーダンスを32種類の値に変化させて、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させることができる。   Here, the switch setting table will be described with reference to FIG. FIG. 2 is a schematic diagram schematically showing the contents of the switch setting table. The switch setting table is a table for individually setting (switching) the states of five switches SW1 to SW5 provided in a 2-wire to 4-wire conversion circuit 25 (see FIG. 3) described later. Although details will be described later, by changing each of the switches SW1 to SW5, the output impedance of the MFP 1 is changed to 32 kinds of values to match the impedance of the MFP 1 and the telephone line L to which the MFP 1 is connected. Can do.

スイッチ設定テーブルは、スイッチ設定番号nと、スイッチ設定番号nに対応する各スイッチSW1〜SW5の設定フラグとにより構成されており、一のスイッチ設定番号毎に、その一のスイッチ設定番号に対応するスイッチSW1の設定フラグ、スイッチSW2の設定フラグ、スイッチSW3の設定フラグ、スイッチSW4の設定フラグ、及びスイッチSW5の設定フラグとが関連づけられている。また、このスイッチ設定テーブルには、スイッチSW1〜SW5を用いて設定可能な全て(32通り)のスイッチ設定が含まれている。   The switch setting table includes a switch setting number n and setting flags of the switches SW1 to SW5 corresponding to the switch setting number n, and each switch setting number corresponds to the one switch setting number. A setting flag for the switch SW1, a setting flag for the switch SW2, a setting flag for the switch SW3, a setting flag for the switch SW4, and a setting flag for the switch SW5 are associated with each other. The switch setting table includes all (32 types) switch settings that can be set using the switches SW1 to SW5.

設定フラグとは、スイッチSW1〜SW5の状態をオン(短絡状態)に設定するのか、オフ(開放状態)に設定するのかを示すフラグであり、この設定フラグがオフ(例えば、「0」)であれば、その設定フラグに対応するスイッチSW1〜SW5の状態がオフに設定されて、そのスイッチSW1〜SW5の両端が開放されることになる。一方、設定フラグがオン(例えば、「1」)であれば、その設定フラグに対応するスイッチSW1〜SW5の状態がオンに設定され、そのスイッチSW1〜SW5の両端が短絡されることになる。   The setting flag is a flag indicating whether the state of the switches SW1 to SW5 is set to ON (short circuit state) or OFF (open state), and this setting flag is OFF (for example, “0”). If there is, the state of the switches SW1 to SW5 corresponding to the setting flag is set to OFF, and both ends of the switches SW1 to SW5 are opened. On the other hand, if the setting flag is on (eg, “1”), the states of the switches SW1 to SW5 corresponding to the setting flag are set to on, and both ends of the switches SW1 to SW5 are short-circuited.

例えば、図2に示すように、スイッチ設定番号「1」には、スイッチSW1の設定フラグ「0」と、スイッチSW2の設定フラグ「0」と、スイッチSW3の設定フラグ「0」と、スイッチSW4の設定フラグ「0」と、スイッチSW5の設定フラグ「0」とが関連づけられている。また、例えば、スイッチ設定番号「2」には、スイッチSW1の設定フラグ「1」と、スイッチSW2の設定フラグ「0」と、スイッチSW3の設定フラグ「0」と、スイッチSW4の設定フラグ「0」と、スイッチSW5の設定フラグ「0」とが関連づけられている。その他のスイッチ設定番号「3〜32」についても同様に、各スイッチ設定番号に対応する各スイッチSW1〜SW5の設定フラグが関連づけられているので、その説明を省略する。   For example, as shown in FIG. 2, the switch setting number “1” includes a setting flag “0” for the switch SW1, a setting flag “0” for the switch SW2, a setting flag “0” for the switch SW3, and a switch SW4. Is associated with the setting flag “0” of the switch SW5. For example, the switch setting number “2” includes a setting flag “1” of the switch SW1, a setting flag “0” of the switch SW2, a setting flag “0” of the switch SW3, and a setting flag “0” of the switch SW4. ”And the setting flag“ 0 ”of the switch SW5. Similarly, the setting flags of the switches SW1 to SW5 corresponding to the switch setting numbers are associated with the other switch setting numbers “3 to 32”, and thus the description thereof is omitted.

後述するインピーダンス整合処理(図5参照)において、スイッチ設定番号「1」に応じた設定に、各スイッチSW1〜SW5を切り替えるという命令が実行されると、CPU11により、スイッチ設定テーブルの内容が参照され、スイッチ設定番号「1」に対応する各スイッチSW1〜SW5の設定フラグが読み取られる。そして、CPU11により、各スイッチSW1〜SW5に対して、読み取った設定フラグに対応する指示が入力され、各スイッチの状態が、読み取った設定フラグに応じた状態へと切り替えられる。   In an impedance matching process (see FIG. 5) to be described later, when an instruction to switch each of the switches SW1 to SW5 to a setting corresponding to the switch setting number “1” is executed, the CPU 11 refers to the contents of the switch setting table. The setting flags of the switches SW1 to SW5 corresponding to the switch setting number “1” are read. Then, the CPU 11 inputs an instruction corresponding to the read setting flag to each of the switches SW1 to SW5, and the state of each switch is switched to a state corresponding to the read setting flag.

図1に戻り、説明を続ける。RAM13は、書き替え可能な揮発性のメモリであり、MFP1の各操作の実行時に各種のデータを一時的に記憶するためのメモリである。このRAM13には、スイッチ設定番号メモリ13aと、検出音量メモリ13bと、整合終了フラグメモリ13cとが設けられている。各メモリ13a〜13cはそれぞれ、後述するインピーダンス整合処理(図5参照)により値が設定されるメモリである。   Returning to FIG. 1, the description will be continued. The RAM 13 is a rewritable volatile memory, and is a memory for temporarily storing various data when each operation of the MFP 1 is executed. The RAM 13 is provided with a switch setting number memory 13a, a detected sound volume memory 13b, and a matching end flag memory 13c. Each of the memories 13a to 13c is a memory in which values are set by an impedance matching process (see FIG. 5) described later.

ここで簡単に、電話回線網100と、インピーダンス整合処理(図5参照)によって行われる処理とについて説明する。   Here, the telephone line network 100 and processing performed by the impedance matching processing (see FIG. 5) will be briefly described.

MFP1が相手側の通信装置(図示しない)を発呼し、電話回線網100を介して相手側の通信装置と接続される場合、まず、MFP1が、電話回線Lを介して、MFP1が設置された地域の回線交換処理を行う電話交換機(以下、「MFP1側の電話交換機」と称する)と接続される。次に、MFP1側の電話交換機は、基幹通信回線と呼ばれる専用線を介して、相手側の通信装置が設置された地域の回線交換処理を行う電話交換機(以下、「相手側の電話交換機」と称する)と接続される。すると、この相手側の電話交換機と相手側の通信装置とが電話回線Lを介して接続され、発呼側のMFP1と相手側の通信装置との間が、通話可能に接続されることになる。   When MFP 1 calls a communication device (not shown) on the other side and is connected to the communication device on the other side via telephone network 100, first, MFP 1 is installed via telephone line L. Connected to a telephone exchange (hereinafter referred to as “the telephone exchange on the MFP 1 side”) that performs line switching processing in a certain area. Next, the telephone switch on the MFP 1 side is a telephone switch (hereinafter referred to as “the other party's telephone switch”) that performs line switching processing in the area where the other party's communication device is installed via a dedicated line called a trunk communication line. Connected). Then, the other party's telephone exchange and the other party's communication device are connected via the telephone line L, and the calling side MFP 1 and the other party's communication device are connected so as to be able to talk. .

ここで、MFP1において送受話器24のマイクロフォン(以下、「マイク」と称する)24aに音声が入力されると、音声が音声信号に変換され電話回線Lに入力される。そして、通常は、入力された音声信号が電話回線Lを通り、MFP1側の電話交換機へと到達すると、基幹通信回線を介して相手側の電話交換機へと送信されて、その相手側の電話交換機から相手側の通信装置へと送信される。その音声信号が相手側の通信装置によって受信されると、音声信号が音声に変換されて放音される。   Here, when voice is input to the microphone (hereinafter referred to as “microphone”) 24 a of the handset 24 in the MFP 1, the voice is converted into a voice signal and input to the telephone line L. Ordinarily, when the input voice signal passes through the telephone line L and reaches the telephone exchange on the MFP 1 side, it is transmitted to the telephone exchange on the other party side via the backbone communication line, and the telephone exchange on the other party side. To the other communication device. When the voice signal is received by the communication apparatus on the other side, the voice signal is converted into voice and emitted.

ところが、MFP1と、MFP1と接続されている電話回線Lとのインピーダンスが不整合であると、2線−4線変換回路25を介して電話回線Lに入力されるべき音声信号が、一部、2線−4線変換回路25から送受話器24のスピーカ24bへ回り込むという現象が生じる。以下、2線−4線変換回路25から送受話器24のスピーカ24bへ回り込む音声信号のことを、側音信号Rと称する。この側音信号Rが生じると、送受話器24のスピーカ24bから放音される音声に反響(エコー)が生じるので、ユーザは通話に違和感や不快感を感じる。つまり、側音信号Rが生じると、通話品質が低下してしまう。   However, if the impedances of the MFP 1 and the telephone line L connected to the MFP 1 are mismatched, a voice signal to be input to the telephone line L via the two-wire / four-wire conversion circuit 25 is partially A phenomenon occurs in which the 2-wire to 4-wire conversion circuit 25 wraps around to the speaker 24b of the handset 24. Hereinafter, the sound signal that circulates from the 2-wire to 4-wire conversion circuit 25 to the speaker 24b of the handset 24 is referred to as a side sound signal R. When the side tone signal R is generated, the sound emitted from the speaker 24b of the handset 24 is reverberated (echo), so that the user feels uncomfortable or uncomfortable with the call. That is, when the side sound signal R is generated, the call quality is deteriorated.

また、一概に電話回線Lと言っても、近年では、アナログ回線や、ISDN(Integrated Services Digital Network)回線や、ADSL(Asymmetric Digital Subscriber Line)回線や、光ファイバー回線など、多種多様な回線が存在している。よって、ユーザが利用する電話回線Lの種別や、MFP1からMFP1側の電話交換機までの電話回線Lの線路長などの違いにより、MFP1が接続される電話回線Lのインピーダンスが大きく異ってしまう。つまり、ユーザの利用環境により、MFP1が接続される電話回線Lのインピーダンスが大きく異なるため、インピーダンスの整合が困難となっている。   In general, the telephone line L includes a wide variety of lines such as an analog line, an ISDN (Integrated Services Digital Network) line, an ADSL (Asymmetric Digital Subscriber Line) line, and an optical fiber line. ing. Therefore, the impedance of the telephone line L to which the MFP 1 is connected varies greatly depending on the type of the telephone line L used by the user and the line length of the telephone line L from the MFP 1 to the telephone exchange on the MFP 1 side. That is, impedance matching is difficult because the impedance of the telephone line L to which the MFP 1 is connected varies greatly depending on the user's usage environment.

そこで、インピーダンス整合処理(図5参照)を行って、2線−4線変換回路25の中に設けられている5のスイッチSW1〜SW5の状態を切り替えて、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させる。また、インピーダンスが整合されたかを検出するために、モデム23のトーン信号発生回路23aによりトーン信号S(例えば、周波数が「1kHz」で音量が「−10dBm」ある音を示す電気信号)を発生させて電話回線Lに入力し続ける。そして、スイッチ設定番号「1」から「32」まで順番に各スイッチSW1〜SW5の状態を、そのスイッチ設定番号に応じた設定に切り替えながら、2線−4線変換回路25から送受話器25に回り込む側音信号Rの大きさを、トーン信号検出回路23bにより検出する。   Therefore, impedance matching processing (see FIG. 5) is performed to switch the states of the five switches SW1 to SW5 provided in the 2-wire to 4-wire conversion circuit 25, so that MFP1 and the telephone to which MFP1 is connected are connected. The impedance with the line L is matched. Further, in order to detect whether the impedance is matched, the tone signal generation circuit 23a of the modem 23 generates a tone signal S (for example, an electric signal indicating a sound having a frequency of “1 kHz” and a volume of “−10 dBm”). And continue to input to the telephone line L. Then, the switch setting numbers “1” to “32” are sequentially switched from the two-wire / four-wire conversion circuit 25 to the handset 25 while switching the state of each switch SW1 to SW5 to the setting corresponding to the switch setting number. The magnitude of the side sound signal R is detected by the tone signal detection circuit 23b.

ここで図1に戻り、説明を続ける。RAM13のスイッチ設定番号メモリ13aは、インピーダンス整合処理(図5参照)が実行開始されてから、インピーダンスを整合する設定に使用したスイッチ設定番号の中で、トーン信号検出回路23bにより検出された側音信号Rの大きさが最も小さかったスイッチ設定番号が記憶されるメモリである。なお、初期化された場合には、スイッチ設定番号「1」が記憶される。   Here, returning to FIG. 1, the description will be continued. The switch setting number memory 13a of the RAM 13 stores the side sound detected by the tone signal detection circuit 23b among the switch setting numbers used for the impedance matching setting after the execution of the impedance matching process (see FIG. 5). This is a memory in which the switch setting number with the smallest signal R is stored. When initialized, the switch setting number “1” is stored.

検出音量メモリ13bは、インピーダンス整合処理(図5参照)が実行開始されてから、トーン信号検出回路23bにより検出された側音信号Rの大きさの中で、最も小さかった値が記憶されるメモリである。なお、初期化された場合には、モデム23のトーン信号発生回路23aから出力されるトーン信号Sの音量が(例えば、「−10dBm」)が記憶される。   The detected sound volume memory 13b stores the smallest value of the side sound signal R detected by the tone signal detection circuit 23b after the impedance matching process (see FIG. 5) is started. It is. When initialized, the volume of the tone signal S output from the tone signal generation circuit 23a of the modem 23 (for example, “−10 dBm”) is stored.

整合終了フラグメモリ13cは、インピーダンス整合処理(図5参照)が実行された場合に、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させることができたか否かを示す整合終了フラグが記憶されるメモリある。   The matching end flag memory 13c indicates whether or not the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected can be matched when the impedance matching process (see FIG. 5) is executed. Is a memory in which is stored.

具体的には、インピーダンス整合処理(図5参照)において、トーン信号検出回路23bにより検出された側音信号Rの大きさが、規定値(例えば、「−30dBm」)以下であった場合に、整合終了フラグがオン(例えば、「1」)に設定され、全て(32通り)のスイッチ設定番号の設定を試みたが、側音信号Rの大きさが全て既定値を超えていた場合にオフ(例えば、「0」)に設定される。なお、初期化された場合には、オフ(例えば、「0」)に設定される。   Specifically, in the impedance matching process (see FIG. 5), when the magnitude of the side sound signal R detected by the tone signal detection circuit 23b is equal to or less than a specified value (for example, “−30 dBm”), When the alignment end flag is set to ON (for example, “1”) and attempts are made to set all (32) switch setting numbers, but the side sound signal R has exceeded the predetermined value, it is turned OFF. (For example, “0”). When initialized, it is set to off (for example, “0”).

フラッシュメモリ14は書換可能な不揮発性のメモリであり、このフラッシュメモリ14に記憶されたデータは、MFP1の電源オフ後も保持される。フラッシュメモリ14には、送話音量レベルメモリ14aと、受話音量レベルメモリ14bとが設けられている。   The flash memory 14 is a rewritable nonvolatile memory, and the data stored in the flash memory 14 is retained even after the MFP 1 is turned off. The flash memory 14 is provided with a transmission volume level memory 14a and a reception volume level memory 14b.

送話音量レベルメモリ14aは、送受話器24のマイク24aの送話音量レベルが記憶されるメモリである。送話音量レベルとは、マイク24aに音声が入力された場合にマイク24aから出力される音声信号の大きさを示し、例えば「1」から「7」までの値で示される。この値が小さいほどマイク24aから出力される音声信号の大きさが小さくなり、この値が大きいほど出力される音声信号の大きさが大きくなる。なお、初期状態では「4」に設定されている。   The transmission volume level memory 14a is a memory in which the transmission volume level of the microphone 24a of the handset 24 is stored. The transmission volume level indicates the magnitude of the audio signal output from the microphone 24a when the audio is input to the microphone 24a, and is indicated by a value from “1” to “7”, for example. The smaller the value, the smaller the audio signal output from the microphone 24a, and the larger the value, the larger the audio signal output. In the initial state, “4” is set.

受話音量レベルメモリ14bは、送受話器24のスピーカ24bの受話音量レベルが記憶されるメモリである。受話音量レベルとは、スピーカ24bに音声信号が入力された場合にスピーカ24bから放音される音の大きさを示し、例えば「1」から「7」までの値で示される。この値が小さいほどスピーカ24bから放音される音の大きさが小さくなり、この値が大きいほど放音される音の大きさが大きくなる。なお、初期状態では「4」に設定されている。   The received sound volume level memory 14b is a memory in which the received sound volume level of the speaker 24b of the handset 24 is stored. The received sound volume level indicates the volume of sound emitted from the speaker 24b when an audio signal is input to the speaker 24b, and is represented by a value from “1” to “7”, for example. The smaller the value is, the smaller the sound emitted from the speaker 24b is. The larger the value is, the larger the sound is emitted. In the initial state, “4” is set.

操作ボタン15には、電話番号を入力するための数字ボタンや、スキャナ機能およびプリント機能などの各機能の設定を行うためのボタンや、各種動作の指示を行うための入力ボタンなどが設けられている。LCD16は、操作ボタン15の操作に応じてメニューや動作状態などを表示するための表示デバイスである。ユーザは操作ボタン15を操作することにより、その操作に対応する情報がLCD16に表示される。   The operation buttons 15 are provided with numeric buttons for inputting telephone numbers, buttons for setting functions such as a scanner function and a print function, and input buttons for instructing various operations. Yes. The LCD 16 is a display device for displaying menus, operation states, and the like according to the operation of the operation buttons 15. When the user operates the operation button 15, information corresponding to the operation is displayed on the LCD 16.

スキャナ21は、所定の読取位置(非図示)にセットされた原稿から画像の読み取りを行うと共に、その画像をLCD16に表示したりプリンタ22で印刷可能な画像データを生成するものである。このスキャナ21により読み取られた画像データは、RAM13における所定の記憶領域に記憶される。   The scanner 21 reads an image from a document set at a predetermined reading position (not shown) and generates image data that can be displayed on the LCD 16 or printed by the printer 22. The image data read by the scanner 21 is stored in a predetermined storage area in the RAM 13.

プリンタ22は、所定の給紙位置(非図示)にセットされた記録用紙に画像を印刷するインクジェット方式のプリンタで構成されている。プリンタ22は、C(シアン)、M(マゼンダ)、Y(イエロー)、K(ブラック)の4色のインクを使用する印刷ヘッド、紙送り装置、回復装置を備えカラー印刷を行う。印刷ヘッドには複数個のノズル(インク吐出口)が設けられており、ノズルからインク吐出を行いながら、紙送り装置で記録用紙を送り画像を記録用紙に印刷する。   The printer 22 is composed of an ink jet printer that prints an image on a recording sheet set at a predetermined paper feed position (not shown). The printer 22 includes a print head that uses four colors of C (cyan), M (magenta), Y (yellow), and K (black), a paper feeding device, and a recovery device, and performs color printing. The print head is provided with a plurality of nozzles (ink ejection ports), and the recording paper is fed by the paper feeding device while the ink is ejected from the nozzles, and the image is printed on the recording paper.

モデム23は、ファクシミリ機能によって送信する画像データを、電話回線網100に伝送可能な音声信号に変調してNCU26を介して送信したり、電話回線網100からNCU26を介して入力された音声信号を受信し、LCD16に表示したりプリンタ21で記録用紙に記録できるように画像データへ復調するものである。   The modem 23 modulates the image data to be transmitted by the facsimile function into a voice signal that can be transmitted to the telephone network 100 and transmits it through the NCU 26, or receives the voice signal input from the telephone network 100 through the NCU 26. It is received and demodulated into image data so that it can be displayed on the LCD 16 or recorded on recording paper by the printer 21.

このモデム23には、トーン信号発生回路23aと、トーン信号検出回路23bとが設けられている。トーン信号発生回路23aは、トーン信号S(例えば、周波数が「1kHz」で音量が「−10dBm」である音を示す電気信号)を発生させるための回路である。トーン信号発生回路23aにより発生させられたトーン信号Sは、2線−4線変換回路25およびNCU26を介して、電話回線Lに入力される。   The modem 23 is provided with a tone signal generation circuit 23a and a tone signal detection circuit 23b. The tone signal generation circuit 23a is a circuit for generating a tone signal S (for example, an electric signal indicating a sound having a frequency of “1 kHz” and a volume of “−10 dBm”). The tone signal S generated by the tone signal generating circuit 23a is input to the telephone line L via the 2-wire-4 wire converting circuit 25 and the NCU 26.

トーン信号検出回路23bは、MFP1と、MFP1が接続される電話回線Lとのインピーダンスの不整合により、2線−4線変換回路25から送受話器24のスピーカ24bへ回り込む側音信号Rの大きさを検出する回路である。   The tone signal detection circuit 23b has a side sound signal R that wraps around the speaker 24b of the handset 24 from the two-wire / four-wire conversion circuit 25 due to impedance mismatch between the MFP 1 and the telephone line L to which the MFP 1 is connected. Is a circuit for detecting

送受話器24は、電話回線網100を介して接続される相手側の通信装置(図示しない)との間で、通話を行うための装置であり、マイク24aと、スピーカ24bと、エコーキャンセル回路24cとを有している。マイク24aと、スピーカ24bとは、エコーキャンセル回路24cを介して、2線−4変換回路25と接続されている。   The handset 24 is a device for making a call with a communication device (not shown) on the other side connected via the telephone line network 100, and includes a microphone 24a, a speaker 24b, and an echo cancellation circuit 24c. And have. The microphone 24a and the speaker 24b are connected to the 2-wire-4 conversion circuit 25 via an echo cancellation circuit 24c.

マイク24aは、入力された音を音声信号(電気信号)に変換して出力するものである。MFP1が電話回線網100を介して相手側の通信装置(図示しない)と通話可能に接続されている場合、ユーザは送受話器24を用いて相手側の通信装置との間で通話を行うことができる。   The microphone 24a converts the input sound into an audio signal (electric signal) and outputs it. When the MFP 1 is connected to a communication device (not shown) on the other side via the telephone line network 100 so that a call can be made, the user can make a call with the communication device on the other side using the handset 24. it can.

ユーザから発せられる音声は、まず、このマイク24aに入力され、音声信号に変換される。そして、変換された音声信号は、フラッシュメモリ14の送話音量レベルメモリ14aに記憶される送話音量レベルに応じた大きさに増幅され、2線−4線変換回路25およびNCU26を介して電話回線網100に入力され、相手側の通信装置へと送信される。   The sound emitted from the user is first input to the microphone 24a and converted into a sound signal. The converted audio signal is amplified to a magnitude corresponding to the transmission volume level stored in the transmission volume level memory 14 a of the flash memory 14, and then telephoned via the two-wire / four-wire conversion circuit 25 and the NCU 26. The data is input to the line network 100 and transmitted to the communication apparatus on the other side.

スピーカ24bは、入力された音声信号を音に変換して放音するものであり、相手側の通信装置(図示しない)から送信されてくる音声信号は、電話回線網100を介してMFP1まで到達し、NCU26および2線−4線変換回路25を介して、エコーキャンセル回路24cを経由して、スピーカ24bに入力される。そして、スピーカ24bに入力された音声信号は、フラッシュメモリ14の受話音量レベルメモリ14bに記憶される受話音量レベルに応じた大きさに増幅されてから、音声に変換され放音される。   The speaker 24b converts the input audio signal into sound and emits the sound, and the audio signal transmitted from the communication device (not shown) on the other side reaches the MFP 1 via the telephone line network 100. Then, the signal is input to the speaker 24b via the NCU 26 and the two-wire / four-wire conversion circuit 25 via the echo cancellation circuit 24c. Then, the audio signal input to the speaker 24b is amplified to a magnitude corresponding to the received sound volume level stored in the received sound volume level memory 14b of the flash memory 14, and then converted into sound and emitted.

エコーキャンセル回路24cは、通話中に反響(エコー)が生じる場合に、その反響を軽減させるための回路である。具体的には、マイク24aから出力される音声信号に基づいて、マイク24aから出力された音声信号に対し位相を反転させた信号(以下、「エコー抑制信号」と称する)を生成する。なお、マイク24aから出力される音声信号の一部が側音信号Rであるので、エコー抑制信号は、側音信号Rと逆位相の音声信号となる。   The echo cancellation circuit 24c is a circuit for reducing echo when echo (echo) occurs during a call. Specifically, based on the audio signal output from the microphone 24a, a signal (hereinafter referred to as “echo suppression signal”) in which the phase is inverted with respect to the audio signal output from the microphone 24a is generated. Since a part of the sound signal output from the microphone 24a is the side sound signal R, the echo suppression signal is a sound signal having a phase opposite to that of the side sound signal R.

そして、反響が生じる遅延時間に合わせて、生成したエコー抑制信号と、電話回線100を介して受信される音声信号とを混成する。電話回線100を介して受信される音声信号には、側音信号Rが重なっているので、生成したエコー抑制信号と、電話回線100を介して受信される音声信号とを混成することで、受信された音声信号に重なっている側音信号Rの大きさを小さくすることができる。そして、その混成された音声信号を、電話回線100を介して受信される音声信号の代わりに、スピーカ24bに入力する。つまり、スピーカ24bからは、側音信号Rの大きさが小さい音が放音されることになるので、反響が軽減される。   Then, the generated echo suppression signal and the audio signal received via the telephone line 100 are mixed in accordance with the delay time at which echo occurs. Since the side signal R is superimposed on the voice signal received via the telephone line 100, the generated echo suppression signal and the voice signal received via the telephone line 100 are mixed to receive the voice signal. The size of the side sound signal R overlapping the sound signal thus made can be reduced. Then, the mixed audio signal is input to the speaker 24b instead of the audio signal received via the telephone line 100. That is, since the speaker 24b emits a sound having a small side sound signal R, the echo is reduced.

また、エコーキャンセル回路24cは、回線を介して受信された音信号の信号減衰量を、CPU11からの指示に応じて、数段階(例えば、「大、中、小」など)に可変することができる。   Further, the echo cancellation circuit 24c can vary the signal attenuation amount of the sound signal received via the line in several steps (for example, “large, medium, small”, etc.) in accordance with an instruction from the CPU 11. it can.

2線−4線変換回路25は、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させるための回路である。NCU26は、電話回線網100と接続されており、電話回線網100へのダイヤル信号の送出や、電話回線網100からの呼出信号の応答などの制御を行うものである。   The two-wire / four-wire conversion circuit 25 is a circuit for matching the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected. The NCU 26 is connected to the telephone line network 100 and controls the transmission of a dial signal to the telephone line network 100 and the response of a calling signal from the telephone line network 100.

ここで、図3を参照して、2線−4線変換回路25について説明する。図3は、2線−4線変換回路25の回路構成の一例を示す回路図である。なお、本来は、2線−4線変換回路25と電話回線Lとは、NCU26を介して接続されているが、ここでは、説明を簡単にするために、NCU26についての説明は省略する。つまり、2線−4線変換回路25と電話交換機との間が、電話回線Lのみで接続されているものとして説明する。   Here, the two-wire / four-wire conversion circuit 25 will be described with reference to FIG. FIG. 3 is a circuit diagram showing an example of the circuit configuration of the 2-wire / four-wire conversion circuit 25. Originally, the two-wire / four-wire conversion circuit 25 and the telephone line L are connected via the NCU 26, but the description of the NCU 26 is omitted here for the sake of simplicity. That is, the description will be made on the assumption that the 2-wire-4 wire conversion circuit 25 and the telephone exchange are connected only by the telephone line L.

2線−4線変換回路25は、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させるための回路であり、トランス回路41と、受信アンプ回路42と、送信アンプ回路43と、切換回路44と、インピーダンス整合回路45とにより構成されている。   The two-wire / four-wire conversion circuit 25 is a circuit for matching the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected. The transformer circuit 41, the reception amplifier circuit 42, the transmission amplifier circuit 43, A switching circuit 44 and an impedance matching circuit 45 are included.

トランス回路41は、電話回線LとMFP1とを電気的に絶縁するための回路であり、ライントランスLTと、信号の直流分をカットするための結合用コンデンサC1とにより構成されている。   The transformer circuit 41 is a circuit for electrically insulating the telephone line L and the MFP 1 and includes a line transformer LT and a coupling capacitor C1 for cutting a direct current component of the signal.

ライントランスLTの1次側の一端には、2線で構成される電話回線Lの一方が接続され、ライントランスLTの1次側の他端には、電話回線Lの他方が接続されている。また、ライントランスLTの2次側の一端には、結合用コンデンサC1の一端が接続され、ライントランスLTの2次側の他端は、グランドGNDに接続されている。結合用コンデンサC1の他端は、(後述する)インピーダンス整合回路45のスイッチSW1の一端および抵抗R7の一端と、(後述する)受信アンプ回路45の抵抗R1の一端とにそれぞれ接続されている。   One end of the primary side of the line transformer LT is connected to one of the two telephone lines L, and the other end of the line transformer LT is connected to the other end of the telephone line L. . One end of the coupling capacitor C1 is connected to one end on the secondary side of the line transformer LT, and the other end on the secondary side of the line transformer LT is connected to the ground GND. The other end of the coupling capacitor C1 is connected to one end of a switch SW1 of an impedance matching circuit 45 (described later), one end of a resistor R7, and one end of a resistor R1 of a reception amplifier circuit 45 (described later).

受信アンプ回路42は、電話回線Lから送信されてくる音声信号を所定のレベルに増幅するとともに、所定の周波数帯域以下の信号を通過させるローパスフィルタの機能を有するものである。   The reception amplifier circuit 42 has a function of a low-pass filter that amplifies an audio signal transmitted from the telephone line L to a predetermined level and allows a signal of a predetermined frequency band or less to pass.

受信アンプ回路42は、オペアンプOP1と、抵抗R1,R2,R3と、コンデンサC2とにより構成されている。抵抗R1の一端には、(上述した)トランス回路41の結合用コンデンサC1の他端と、(後述する)インピーダンス整合回路45のスイッチSW1の一端および抵抗R7の一端とがそれぞれ接続されている。   The reception amplifier circuit 42 includes an operational amplifier OP1, resistors R1, R2, and R3, and a capacitor C2. One end of the resistor R1 is connected to the other end of the coupling capacitor C1 of the transformer circuit 41 (described above), one end of the switch SW1 of the impedance matching circuit 45 (described later), and one end of the resistor R7.

オペアンプOP1の負極側入力端子には、抵抗R1の他端と、抵抗R3の一端と、コンデンサC2の一端とがそれぞれが接続され、抵抗R3の他端には、コンデンサC2の他端と、オペアンプOP1の出力端子と、(後述する)切換回路44のスイッチSW7の一端とがそれぞれ接続されている。   The other end of the resistor R1, one end of the resistor R3, and one end of the capacitor C2 are connected to the negative input terminal of the operational amplifier OP1, and the other end of the capacitor C2 is connected to the other end of the resistor R3. An output terminal of OP1 is connected to one end of a switch SW7 of a switching circuit 44 (described later).

また、オペアンプOP1の正極側入力端子には、抵抗R2の一端が接続され、抵抗R2の他端には、(後述する)インピーダンス整合回路45の抵抗R9の一端、抵抗R10の一端、インピーダンスブロックZ2の一端、インピーダンスブロックZ3の一端、スイッチSW4の一端、及びスイッチSW5の一端とがそれぞれ接続されている。   Further, one end of a resistor R2 is connected to the positive input terminal of the operational amplifier OP1, and one end of a resistor R9 of an impedance matching circuit 45 (described later), one end of a resistor R10, and an impedance block Z2 are connected to the other end of the resistor R2. , One end of the impedance block Z3, one end of the switch SW4, and one end of the switch SW5 are connected to each other.

送信アンプ回路43は、モデム23のトーン信号発生回路23a、または、送受話器24のマイク24aから出力される音声信号を所定のレベルに増幅するとともに、所定の周波数帯域以下の信号を通過させるローパスフィルタの機能を有するものである。   The transmission amplifier circuit 43 amplifies the audio signal output from the tone signal generation circuit 23a of the modem 23 or the microphone 24a of the handset 24 to a predetermined level and passes a signal of a predetermined frequency band or lower. It has the function of.

送信アンプ回路43は、オペアンプOP2と、信号の直流分をカットするための結合用コンデンサC5と、抵抗R4,R5,R6と、コンデンサC3,C4とにより構成されている。オペアンプOP2の負極側入力端子には、抵抗R5の一端と、抵抗R4の一端と、コンデンサC4の一端がそれぞれ接続され、抵抗R5の他端には、(後述する)切換回路44のスイッチSW6の一端が接続されている。   The transmission amplifier circuit 43 includes an operational amplifier OP2, a coupling capacitor C5 for cutting a DC component of the signal, resistors R4, R5, and R6, and capacitors C3 and C4. One end of the resistor R5, one end of the resistor R4, and one end of the capacitor C4 are connected to the negative input terminal of the operational amplifier OP2, and the other end of the resistor R5 is connected to the switch SW6 of the switching circuit 44 (described later). One end is connected.

抵抗R4の他端には、コンデンサC4の他端と、結合用コンデンサC5の一端と、オペアンプOP2の出力端子とがそれぞれ接続され、結合用コンデンサC5の他端には、(後述する)インピーダンス整合回路45のインピーダンスブロックZ1の一端、抵抗R7の他端と、抵抗R8の一端とがそれぞれ接続されている。   The other end of the resistor R4 is connected to the other end of the capacitor C4, one end of the coupling capacitor C5, and the output terminal of the operational amplifier OP2. The other end of the coupling capacitor C5 is impedance matched (described later). One end of the impedance block Z1 of the circuit 45, the other end of the resistor R7, and one end of the resistor R8 are connected to each other.

オペアンプOP2の正極側入力端子には、コンデンサC3の一端と、抵抗R6の一端とがそれぞれ接続され、コンデンサC3の他端はグランドGNDに接続され、抵抗R6の他端には、電圧「+5VDC」が印加されている。   One end of the capacitor C3 and one end of the resistor R6 are connected to the positive input terminal of the operational amplifier OP2, respectively, the other end of the capacitor C3 is connected to the ground GND, and the voltage “+ 5VDC” is connected to the other end of the resistor R6. Is applied.

切換回路44は、モデム23を電話回線Lに接続するのか、送受話器24を電話回線Lに接続するのかを切り換えるための回路であり、スイッチSW6と、スイッチSW7とにより構成されている。これらのスイッチSW6,SW7は、一端側に1つの接続端子が設けられ、他端側に2つの接続端子(接続端子A、接続端子B)が設けられており、CPU11の指令によって、一端側の接続端子が、他端側の接続端子(接続端子A、接続端子B)の何れか一方と接続される。例えば、CPU11からハイ信号が入力されている間は、各スイッチSW6,SW7の一端と、他端側の接続端子Aが接続され、ロウ信号が入力されている間は、各スイッチSW6,SW7の一端と、他端側の接続端子Bが接続される。   The switching circuit 44 is a circuit for switching whether the modem 23 is connected to the telephone line L or whether the handset 24 is connected to the telephone line L, and includes a switch SW6 and a switch SW7. These switches SW6 and SW7 are provided with one connection terminal on one end side and two connection terminals (connection terminal A and connection terminal B) on the other end side. The connection terminal is connected to one of the other connection terminals (connection terminal A, connection terminal B). For example, while a high signal is input from the CPU 11, one end of each of the switches SW6 and SW7 is connected to the connection terminal A on the other end side, and when a low signal is input, each of the switches SW6 and SW7 is connected. One end and the connection terminal B on the other end side are connected.

より具体的には、本実施形態では、接続端子Aにモデム23が接続され、接続端子Bに送受話器24が接続されている。すなわち、スイッチSW6の一端側の接続端子には、(上述した)送信アンプ回路43の抵抗R5の他端が接続され、スイッチSW6の他端側の接続端子Aには、モデム23のトーン信号発生回路23aの出力端子が接続され、スイッチSW6の他端側の接続端子Bには、送受話器24のマイク24aの出力端子が接続されている。   More specifically, in this embodiment, the modem 23 is connected to the connection terminal A, and the handset 24 is connected to the connection terminal B. That is, the other end of the resistor R5 of the transmission amplifier circuit 43 (described above) is connected to the connection terminal on one end side of the switch SW6, and the tone signal generation of the modem 23 is connected to the connection terminal A on the other end side of the switch SW6. The output terminal of the circuit 23a is connected, and the output terminal of the microphone 24a of the handset 24 is connected to the connection terminal B on the other end side of the switch SW6.

また、スイッチSW7の一端側の接続端子には、(上述した)受信アンプ回路42のオペアンプOP1の出力端子と、抵抗R3の他端と、コンデンサC2の他端とが接続されている。スイッチSW7の他端側の接続端子Aには、モデム23のトーン信号検出回路23bの入力端子が接続され、スイッチSW7の他端側の接続端子Bには、送受話器24の()エコーキャンセル回路24cを介して)スピーカ24bが接続されている。   Further, the output terminal of the operational amplifier OP1 of the reception amplifier circuit 42 (described above), the other end of the resistor R3, and the other end of the capacitor C2 are connected to the connection terminal on one end side of the switch SW7. The input terminal of the tone signal detection circuit 23b of the modem 23 is connected to the connection terminal A on the other end side of the switch SW7, and the () echo cancellation circuit of the handset 24 is connected to the connection terminal B on the other end side of the switch SW7. A speaker 24b is connected (via 24c).

インピーダンス整合回路45は、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させるための回路であり、インピーダンスブロックZ1,Z2,Z3,Z4,Z5と、スイッチSW1,SW2,SW3,SW4,SW5と、抵抗R7,R8,R9,R10とにより構成されている。   The impedance matching circuit 45 is a circuit for matching the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected. The impedance matching circuit 45 includes impedance blocks Z1, Z2, Z3, Z4, Z5 and switches SW1, SW2, SW3, SW4. , SW5 and resistors R7, R8, R9, R10.

インピーダンスブロックZ1〜Z5は、回路素子である抵抗、コイル、及びコンデンサのうち、複数の回路素子を並列、直列、又は並列と直列とを組み合わせて接続し構成された回路ブロックであり、各インピーダンスブロックZ1〜Z5の両端を測定すると、それぞれ所定のインピーダンス特性を有するように構成されている。なお、各インピーダンスブロックZ1〜Z5のインピーダンスは、それぞれ異なっていても良いし、全て同じでも良いし、一部が同じであっても良い。   The impedance blocks Z1 to Z5 are circuit blocks configured by connecting a plurality of circuit elements among resistors, coils, and capacitors, which are circuit elements, in parallel, series, or a combination of parallel and series. When both ends of Z1 to Z5 are measured, each has a predetermined impedance characteristic. The impedances of the impedance blocks Z1 to Z5 may be different from each other, all may be the same, or some of them may be the same.

スイッチSW1〜SW5は、CPU11からの指示に従って、両端に接続されている回路素子を互いに接続するか(以後、スイッチがオンすると称する)、回路素子の互いの接続を切り離すよう(以後、スイッチがオフすると称する)に構成されている。例えば、CPU11からハイ信号が入力されている間は、スイッチSW1〜SW5がオンされて、各スイッチSW1〜SW5の両端が接続(短絡)され、ロウ信号が入力されている間は、スイッチSW1〜SW5がオフされ、スイッチSW1〜SW5の両端が開放される。   The switches SW1 to SW5 connect circuit elements connected to both ends in accordance with an instruction from the CPU 11 (hereinafter referred to as a switch being turned on) or disconnect the circuit elements from each other (hereinafter referred to as switch being turned off). It is said that). For example, the switches SW1 to SW5 are turned on while the high signal is input from the CPU 11, both ends of the switches SW1 to SW5 are connected (short-circuited), and the switches SW1 to SW1 are input while the low signal is input. SW5 is turned off and both ends of the switches SW1 to SW5 are opened.

スイッチSW1の一端には、(上述した)トランス回路41の結合用コンデンサC1の他端と、抵抗R7の一端と、(上述した)受信アンプ回路42の抵抗R1の一端とがそれぞれ接続されている。   One end of the switch SW1 is connected to the other end of the coupling capacitor C1 of the transformer circuit 41 (described above), one end of the resistor R7, and one end of the resistor R1 of the reception amplifier circuit 42 (described above). .

スイッチSW1の他端には、インピーダンスブロックZ1の他端が接続され、インピーダンスブロックZ1の一端には、抵抗R7の他端と、抵抗R8の一端と、(上述した)受信アンプ回路42の結合用コンデンサC5の他端とがそれぞれ接続されている。   The other end of the impedance block Z1 is connected to the other end of the switch SW1, and one end of the impedance block Z1 is connected to the other end of the resistor R7, one end of the resistor R8, and the reception amplifier circuit 42 (described above). The other end of the capacitor C5 is connected.

抵抗R8の他端には、スイッチSW2の一端と、スイッチSW3の一端と、抵抗R9の他端とが接続され、スイッチSW2の他端にはインピーダンスブロックZ2の他端が接続され、スイッチSW3の他端にはインピーダンスブロックZ3の他端が接続されている。   One end of the switch SW2, one end of the switch SW3, and the other end of the resistor R9 are connected to the other end of the resistor R8, and the other end of the impedance block Z2 is connected to the other end of the switch SW2. The other end of the impedance block Z3 is connected to the other end.

インピーダンスブロックZ2の一端には、インピーダンスブロックZ3の一端と、抵抗R9の一端と、抵抗R10の一端と、スイッチSW4の一端と、スイッチSW5の一端と、(上述した)受信アンプ回路42の抵抗R2の他端とがそれぞれ接続されている。   One end of the impedance block Z2 includes one end of the impedance block Z3, one end of the resistor R9, one end of the resistor R10, one end of the switch SW4, one end of the switch SW5, and the resistor R2 of the reception amplifier circuit 42 (described above). The other end of each is connected.

スイッチSW4の他端にはインピーダンスブロックZ4の一端が接続され、スイッチSW5の他端にはインピーダンスブロックZ5の一端が接続されている。インピーダンスブロックZ4の他端には、インピーダンスブロックZ5の他端と、抵抗R10の他端が接続されると共に、リファレンス電圧REFが印加されている。   One end of the impedance block Z4 is connected to the other end of the switch SW4, and one end of the impedance block Z5 is connected to the other end of the switch SW5. The other end of the impedance block Z4 and the other end of the resistor R10 are connected to the other end of the impedance block Z4, and a reference voltage REF is applied.

上述した2線−4線変換回路25によれば、スイッチSW6,SW7を切り替えることによって、モデム23および送受話器24の何れか一方を選択的に、電話回線Lに接続することができる。   According to the two-wire / four-wire conversion circuit 25 described above, either the modem 23 or the handset 24 can be selectively connected to the telephone line L by switching the switches SW6 and SW7.

そして、例えば、スイッチSW1をオンすると、インピーダンスブロックZ1が、抵抗R7に対して並列に接続されるので、受信アンプ回路42および送信アンプ回路43とトランス41との間の経路のインピーダンスが変化する。また、スイッチSW2をオンすると、インピーダンスブロックZ2が、抵抗R9に対して並列に接続されるので、受信アンプ回路42および送信アンプ回路43とトランス41との間の経路のインピーダンスが変化する。その他のスイッチSW3〜SW5関しても同様に、スイッチをオンすると、受信アンプ回路42および送信アンプ回路43とトランス41との間の経路のインピーダンスが変化する。   For example, when the switch SW1 is turned on, the impedance block Z1 is connected in parallel to the resistor R7, so that the impedance of the path between the reception amplifier circuit 42 and the transmission amplifier circuit 43 and the transformer 41 changes. When the switch SW2 is turned on, the impedance block Z2 is connected in parallel to the resistor R9, so that the impedance of the path between the reception amplifier circuit 42 and the transmission amplifier circuit 43 and the transformer 41 changes. Similarly for the other switches SW3 to SW5, when the switch is turned on, the impedance of the path between the reception amplifier circuit 42 and the transmission amplifier circuit 43 and the transformer 41 changes.

つまり、スイッチSW1〜SW5をオン、オフすることにより、受信アンプ回路42および送信アンプ回路43とトランス41との間の経路のインピーダンスを変化させることができるので、電話回線Lの種別(アナログ回線や、ISDN回線や、ADSL回線や、光ファイバー回線など)や、MFP1からMFP1側の電話交換機までの電話回線Lの線路長などの違いによって、MFP1が接続される電話回線Lのインピーダンスが大きく異ってしまう場合でも、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させることができる。   That is, by turning on and off the switches SW1 to SW5, the impedance of the path between the reception amplifier circuit 42 and the transmission amplifier circuit 43 and the transformer 41 can be changed. The impedance of the telephone line L to which the MFP 1 is connected varies greatly depending on the line length of the telephone line L from the MFP 1 to the telephone switch on the MFP 1 side. Even in such a case, the impedances of the MFP 1 and the telephone line L to which the MFP 1 is connected can be matched.

次に、図4を参照して、MFP1のCPU11により実行される音質調整処理について説明する。図4は、MFP1の音質調整処理を示すフローチャートである。この音質調整処理は、通話中に生じる反響(エコー)を低下させるための処理であり、MFP1の主電源が投入された場合に実行される処理である。この音質調整処理では、まず、MFP1側の電話交換機との間の電話回線Lを閉結し(S1)、インピーダンス整合処理を実行する(S2)。   Next, the sound quality adjustment process executed by the CPU 11 of the MFP 1 will be described with reference to FIG. FIG. 4 is a flowchart showing the sound quality adjustment processing of the MFP 1. This sound quality adjustment process is a process for reducing echo (echo) generated during a call, and is a process executed when the main power supply of the MFP 1 is turned on. In this sound quality adjustment process, first, the telephone line L with the MFP 1 side telephone exchange is closed (S1), and the impedance matching process is executed (S2).

ここで、図5を参照して、MFP1のCPU11により実行されるインピーダンス整合処理(S2)について説明する。図5は、MFP1のインピーダンス整合処理(S2)を示すフローチャートである。このインピーダンス整合処理(S2)は、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させる処理である。   Here, the impedance matching process (S2) executed by the CPU 11 of the MFP 1 will be described with reference to FIG. FIG. 5 is a flowchart showing the impedance matching process (S2) of the MFP1. The impedance matching process (S2) is a process for matching the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected.

このインピーダンス整合処理(S2)では、まず、RAM13のスイッチ設定番号メモリ13a、検出音量メモリ13b、および整合終了フラグメモリ13cをそれぞれ初期化する(S11)。それぞれが初期化されると、スイッチ設定番号メモリ13aには、スイッチ設定番号「1」が記憶され、検出音量メモリ13bには、トーン信号Sの音量(例えば、「−10dBm」)が記憶され、整合終了フラグメモリ13cの整合終了フラグがオフに設定される。   In this impedance matching process (S2), first, the switch setting number memory 13a, the detected sound volume memory 13b, and the matching end flag memory 13c of the RAM 13 are initialized (S11). When each is initialized, the switch setting number memory 13a stores the switch setting number “1”, and the detection volume memory 13b stores the volume of the tone signal S (for example, “−10 dBm”). The matching end flag in the matching end flag memory 13c is set to off.

次に、モデム23のトーン信号発生回路23aによりトーン信号S(例えば、周波数が「1kHz」で音量が「−10dBm」である音を示す電気信号)を発生させ、電話回線Lに入力する(S12)。なお、ここでは、2線−4線変換回路25のスイッチSW6およびSW7が切り替えられて、電話回線Lにモデム23が接続された状態に設定されている。   Next, the tone signal generation circuit 23a of the modem 23 generates a tone signal S (for example, an electrical signal indicating a sound having a frequency of “1 kHz” and a volume of “−10 dBm”) and inputs the generated tone signal S to the telephone line L (S12). ). Here, the switches SW6 and SW7 of the 2-wire-4wire conversion circuit 25 are switched and the modem 23 is connected to the telephone line L.

そして、変数nの値を「0」に初期化し(S13)、変数nに「1」を加算する(S14)。次に、ROM12のスイッチ設定テーブルメモリ12aのスイッチ設定テーブルを参照し、変数nの値に対応する各スイッチSW1〜SW5の設定(設定フラグ)を取得する(S15)。そして、取得した各スイッチSW1〜SW5の設定(設定フラグ)に基づいて、各スイッチSW1〜SW5の設定を変更する(S16)。   Then, the value of the variable n is initialized to “0” (S13), and “1” is added to the variable n (S14). Next, referring to the switch setting table in the switch setting table memory 12a of the ROM 12, the setting (setting flag) of each switch SW1 to SW5 corresponding to the value of the variable n is acquired (S15). And based on the acquired setting (setting flag) of each switch SW1-SW5, the setting of each switch SW1-SW5 is changed (S16).

次に、モデム23のトーン信号検出回路23bにより、側音信号R(すなわち、受信アンプ回路42に回り込んだ一部のトーン信号S)検出し、その側音信号Rの音量を取得する(S17)。取得した側音信号Rの音量が、規定値(例えば、「−30dBm」)以下であるかを判定し(S18)、取得した側音信号Rの音量が、規定値以下である場合は(S18:Yes)、RAM13の整合終了フラグメモリ13cに記憶されている整合終了フラグをオンに設定し(S26)、このインピーダンス整合処理を終了する。   Next, the tone signal detection circuit 23b of the modem 23 detects the side sound signal R (that is, a part of the tone signal S that wraps around the reception amplifier circuit 42), and acquires the volume of the side sound signal R (S17). ). It is determined whether the volume of the acquired sidetone signal R is equal to or less than a specified value (for example, “−30 dBm”) (S18), and when the volume of the acquired sidetone signal R is equal to or less than the specified value (S18). : Yes), the matching end flag stored in the matching end flag memory 13c of the RAM 13 is set to ON (S26), and this impedance matching process is ended.

S18の処理において、取得した側音信号Rの音量が、規定値(例えば、「−30dBm」)を超えている場合は(S18:No)、取得した側音信号Rの音量が、RAM13の検出音量メモリ13bに記憶されている音量より小さいかを判定する(S19)。   In the process of S18, when the volume of the acquired sidetone signal R exceeds a specified value (for example, “−30 dBm”) (S18: No), the volume of the acquired sidetone signal R is detected by the RAM 13. It is determined whether the volume is lower than the volume stored in the volume memory 13b (S19).

S19の処理において、取得した側音信号Rの音量が、検出音量メモリ13bに記憶されている音量より小さい場合は(S19:Yes)、取得した側音信号Rの音量を、検出音量メモリ13bに記憶し、変数nの値を、RAM13のスイッチ設定番号メモリ13aに記憶する(S20)。S19の処理において、取得した側音信号Rの音量が、検出音量メモリ13bに記憶されている音量以上である場合は(S19:No)、S20の処理をスキップして、S21の処理へ移行する。   In the process of S19, if the volume of the acquired sidetone signal R is smaller than the volume stored in the detected volume memory 13b (S19: Yes), the acquired volume of the sidetone signal R is stored in the detected volume memory 13b. Store the value of the variable n in the switch setting number memory 13a of the RAM 13 (S20). In the process of S19, when the volume of the acquired sidetone signal R is equal to or higher than the volume stored in the detected volume memory 13b (S19: No), the process of S20 is skipped and the process proceeds to S21. .

次に、変数nの値が「32」であるかを判定し(S21)、変数nの値が「32」に達していない場合は(S21:No)、S14の処理に戻り、上述したS14〜S21の各処理を繰り返す。一方、変数nの値が「32」である場合は(S21:Yes)、各スイッチSW1〜SW5の状態を設定可能な全ての状態(32通りの状態)に設定したが、それでも、側音信号Rの音量を規定値(例えば、「−30dBm」)以下にできなかったことになる。   Next, it is determined whether or not the value of the variable n is “32” (S21). If the value of the variable n has not reached “32” (S21: No), the process returns to S14, and the above-described S14 Each process of ~ S21 is repeated. On the other hand, when the value of the variable n is “32” (S21: Yes), the states of the switches SW1 to SW5 are set to all possible states (32 states). This means that the volume of R could not be reduced below a specified value (for example, “−30 dBm”).

その場合は、まず、モデム23のトーン信号発生回路23aにより発生させ続けているトーン信号Sの発生を停止させる(S22)。次に、ROM12のスイッチ設定テーブルメモリ12aのスイッチ設定テーブルを参照し、RAM13のスイッチ設定番号メモリ13aに記憶されているスイッチ設定番号に対応する各スイッチSW1〜SW5の設定(設定フラグ)を取得する(S23)。   In that case, the generation of the tone signal S that is continuously generated by the tone signal generation circuit 23a of the modem 23 is first stopped (S22). Next, referring to the switch setting table of the switch setting table memory 12a of the ROM 12, the setting (setting flag) of each switch SW1 to SW5 corresponding to the switch setting number stored in the switch setting number memory 13a of the RAM 13 is acquired. (S23).

そして、取得した各スイッチSW1〜SW5の設定(設定フラグ)に基づいて、各スイッチSW1〜SW5の設定を変更し(S24)、RAM13の整合終了フラグメモリ13cに記憶されている整合終了フラグをオフに設定し(S25)、このインピーダンス整合処理を終了する。   Then, based on the acquired setting (setting flag) of each switch SW1 to SW5, the setting of each switch SW1 to SW5 is changed (S24), and the matching end flag stored in the matching end flag memory 13c of the RAM 13 is turned off. (S25), and this impedance matching process is terminated.

以上の図5のフローチャートのインピーダンス整合処理により、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを適切に整合させることができる。具体的には、側音信号Rの音量が規定値(例えば、「−30dBm」)以下となるように、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを整合させることができる。例えば、規定値を、通話中に反響(エコー)が生じても、ユーザが違和感や不快感を感じない程度の大きさの側音信号Rの音量(例えば、「−30dBm」)としておけば、ユーザは、通話中に違和感や不快感を感じずに、快適に通話を行うことができるので、通話品質を一定レベル以上に維持することができる。また、各スイッチSW1〜SW5の状態を設定可能な全ての状態(32通りの状態)に設定しなくても、規定値以下となったら、このインピーダンス整合処理を終了するので、インピーダンス整合処理および音質調整処理の実行時間を短縮することができる。   By the impedance matching process of the flowchart of FIG. 5 described above, it is possible to appropriately match the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected. Specifically, the impedance of the MFP 1 and the telephone line L to which the MFP 1 is connected can be matched so that the volume of the side sound signal R is a specified value (for example, “−30 dBm”) or less. For example, if the specified value is set to a volume (eg, “−30 dBm”) of the side sound signal R having such a magnitude that the user does not feel uncomfortable or uncomfortable even when echo (echo) occurs during a call, Since the user can comfortably make a call without feeling uncomfortable or uncomfortable during the call, the call quality can be maintained at a certain level or higher. Even if the states of the switches SW1 to SW5 are not set to all the states that can be set (32 states), the impedance matching process is terminated when the value falls below a specified value. The execution time of the adjustment process can be shortened.

また、各スイッチSW1〜SW5の状態を設定可能な全ての状態(32通りの状態)に設定しても、側音信号Rの音量が規定値(例えば、「−30dBm」)以下にならかった場合には、側音信号Rの音量が最も小さくなるように、各スイッチSW1〜SW5の状態を設定することができる。つまり、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを可能な範囲で適切に整合させることができる。よって、側音信号Rの音量が規定値以下にならない場合でも、側音信号Rの発生を最も低下させることができるので、送受話器24のスピーカ24bに入力される側音信号Rを最も低下させて、反響(エコー)を最も抑制することができる。従って、通話中に生じる反響を抑制して通話品質を向上させることができる。   In addition, even when the states of the switches SW1 to SW5 are set to all possible states (32 states), the volume of the side sound signal R does not fall below a specified value (for example, “−30 dBm”). In this case, the states of the switches SW1 to SW5 can be set so that the volume of the side sound signal R is minimized. That is, the impedance between the MFP 1 and the telephone line L to which the MFP 1 is connected can be appropriately matched within a possible range. Therefore, even when the volume of the side sound signal R does not become the specified value or less, the generation of the side sound signal R can be reduced most, so that the side sound signal R input to the speaker 24b of the handset 24 is reduced most. Thus, the echo (echo) can be most suppressed. Therefore, it is possible to improve the call quality by suppressing the echo generated during the call.

ここで、図4のフローチャートの説明に戻る。S2の処理が終了すると、次に、電話交換機との間で閉結されている電話回線Lを開放する(S3)。そして、RAM13の整合終了フラグメモリ13cに記憶されている整合終了フラグがオンであるかを判定し(S4)、整合終了フラグがオンである場合は(S4:Yes)、MFP1と、MFP1が接続される電話回線Lとのインピーダンスの整合が取れており、側音信号Rの音量が、規定値(例えば、「−30dBm」)以下であるので、S5〜S8の処理をスキップして、この音質調整処理を終了する。   Now, the description returns to the flowchart of FIG. When the processing of S2 is completed, next, the telephone line L closed with the telephone exchange is released (S3). Then, it is determined whether the alignment end flag stored in the alignment end flag memory 13c of the RAM 13 is on (S4). If the alignment end flag is on (S4: Yes), the MFP 1 and the MFP 1 are connected. Impedance matching with the telephone line L to be performed, and the volume of the side tone signal R is equal to or less than a specified value (eg, “−30 dBm”). The adjustment process ends.

S4の処理において、整合終了フラグがオフである場合は(S4:No)、側音信号Rの音量が、規定値(例えば、「−30dBm」)を超えており、通話中に反響(エコー)が生じるので、反響を抑制する処理を行う。   In the process of S4, when the matching end flag is off (S4: No), the volume of the side sound signal R exceeds a specified value (for example, “−30 dBm”) and echoes (echo) during a call. Therefore, processing to suppress the echo is performed.

まず、RAM13の検出音量メモリ13bに記憶されている音量と、規定値(例えば、「−30dBm」)との差分が、「6dB」以下であるかを判定し(S5)、検出音量メモリ13bに記憶されている音量と、規定値との差分が「6dB」以下である場合は(S5:Yes)、フラッシュメモリ14の送話音量レベルメモリ14aの送話音量レベルを、規定値との差分だけ小さく設定し(S6)、この音質調整処理を終了する。   First, it is determined whether or not the difference between the sound volume stored in the detected sound volume memory 13b of the RAM 13 and a specified value (for example, “−30 dBm”) is “6 dB” or less (S5), and the detected sound volume memory 13b. When the difference between the stored sound volume and the specified value is “6 dB” or less (S5: Yes), the transmitted sound volume level of the transmitted sound volume level memory 14a of the flash memory 14 is set to the difference from the specified value. A smaller value is set (S6), and this sound quality adjustment process is terminated.

例えば、検出音量メモリ13bの音量が「−28dBm」であり、規定値(「−30dBm」)である場合には、規定値との差分だけ、マイク24aから出力される音声信号の大きさを低下させることになる。例えば、フラッシュメモリ14の送話音量レベルメモリ14aの送話音量レベルを「1」下げると、マイク24aから出力される音声信号の大きさが「1dB」低下する場合には、規定値との差分が「2dB」であるので、送話音量レベルメモリ14aの送話レベルが「2」下げられる。   For example, when the volume of the detected volume memory 13b is “−28 dBm” and a specified value (“−30 dBm”), the magnitude of the audio signal output from the microphone 24a is reduced by the difference from the specified value. I will let you. For example, when the transmission volume level of the transmission volume level memory 14a of the flash memory 14 is decreased by “1”, the difference from the specified value is reduced when the size of the audio signal output from the microphone 24a decreases by “1 dB”. Is “2 dB”, the transmission level of the transmission volume level memory 14a is lowered by “2”.

S5の処理において、RAM13の検出音量メモリ13bに記憶されている音量と、規定値との差分が「6dB」を超えている場合は(S5:No)、フラッシュメモリ14の送話音量レベルメモリ14aの送話音量レベルを、「6dB」小さく設定する(S7)。ここで、規定値との差分だけ送話音量レベルを下げるのではなく、「6dB」だけ下げているのは、マイク24aから送信される音声信号の大きさが小さくなりすぎて、相手側の通信装置で音が聞き取れなくなることを抑制するためである。次に、送受話器24のエコーキャンセル回路24cの信号減衰量を「大」に設定し(S8)、つまり、エコーキャンセル効果を最大に設定して、この音質調整処理を終了する。   In the process of S5, when the difference between the volume stored in the detected volume memory 13b of the RAM 13 and the specified value exceeds “6 dB” (S5: No), the transmission volume level memory 14a of the flash memory 14 Is set smaller by “6 dB” (S7). Here, instead of lowering the transmission volume level by the difference from the specified value, reducing the transmission volume level by “6 dB” is because the size of the audio signal transmitted from the microphone 24a becomes too small, and the other party's communication This is to prevent the device from hearing sound. Next, the signal attenuation amount of the echo cancellation circuit 24c of the handset 24 is set to "large" (S8), that is, the echo cancellation effect is set to the maximum, and this sound quality adjustment process is terminated.

以上の図4のフローチャートの音質調整処理により、側音信号Rの音量に応じて、マイク24aから送信される音声信号の大きさを小さくし、発生する側音信号Rの大きさを小さくすることができる。よって、送受話器24のスピーカ24bに入力される側音信号Rが小さくなるので、通話中に生じる反響(エコー)を抑制することができる。   According to the sound quality adjustment process of the flowchart of FIG. 4 described above, the size of the sound signal transmitted from the microphone 24a is reduced according to the volume of the side sound signal R, and the size of the generated side sound signal R is reduced. Can do. Therefore, since the side sound signal R input to the speaker 24b of the handset 24 is small, it is possible to suppress echo (echo) that occurs during a call.

また、側音信号Rの音量と、規定値(「−30dBm」)との差分が、「6dB」以下である場合には、マイク24aから送信される音声信号の大きさを、その差分だけ下げて、通話中に生じる反響(エコー)を抑制することができる。よって、マイク24aから送信される音声信号の大きさが、必要以上に小さくなりすぎることを抑制することができる。   When the difference between the volume of the side sound signal R and the specified value (“−30 dBm”) is “6 dB” or less, the size of the audio signal transmitted from the microphone 24a is decreased by the difference. Thus, it is possible to suppress echo (echo) that occurs during a call. Therefore, it is possible to suppress the size of the audio signal transmitted from the microphone 24a from becoming excessively small.

また、側音信号Rの音量と、規定値(「−30dBm」)との差分が、「6dB」を超えている場合には、マイク24aから送信される音声信号の大きさを「6dB」だけ下げて、且つ、エコーキャンセル回路24cによるエコーキャンセル効果を最大に設定することができる。よって、通話中に生じる反響(エコー)を抑制することができる。また、側音信号Rの音量と、規定値との差分が大きい(「6dB」を超えている)場合でも、一定量(「6dB」)までしか、マイク24aから送信される音声信号の大きさが低下しないので、マイク24aから送信される音声信号の大きさが小さくなりすぎて、相手側の通信装置で音が聞き取れなくなることを抑制することができる。   When the difference between the volume of the side sound signal R and the specified value (“−30 dBm”) exceeds “6 dB”, the size of the audio signal transmitted from the microphone 24 a is set to “6 dB”. The echo cancellation effect by the echo cancellation circuit 24c can be maximized. Therefore, the echo (echo) generated during a call can be suppressed. Further, even when the difference between the volume of the side sound signal R and the specified value is large (exceeds “6 dB”), the magnitude of the audio signal transmitted from the microphone 24 a is limited to a certain amount (“6 dB”). Therefore, it is possible to prevent the sound signal transmitted from the microphone 24a from becoming too small and the other communication device from hearing the sound.

以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能であることは容易に推察できるものである。例えば、上記各実施の形態で挙げた数値は一例であり、他の数値を採用することは当然可能である。   The present invention has been described above based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications and changes can be easily made without departing from the spirit of the present invention. Can be inferred. For example, the numerical values given in the above embodiments are merely examples, and other numerical values can naturally be adopted.

例えば、本実施形態のMFP1では、MFP1と、MFP1が接続される電話回線Lとのインピーダンスの不整合により、2線−4線変換回路25において生じる側音信号Rの大きさを検出しているが、トーン信号Sが電話回線Lに入力された後に、MFP1側の電話交換機から電話回線Lを通り戻ってくるトーン信号S(以下、「反射トーン信号」と称する)の大きさを検出しても良い。MFP1が接続されている電話回線Lと、MFP1側の電話交換機とのインピーダンスが不整合であると、反射トーン信号が生じ、それが電話回線Lを通りMFP1へ戻り、スピーカ24bから放音され、反響(エコー)が発生する。そのような場合には、反射トーン信号の大きさが最も小さくなるように、MFP1と、MFP1側の電話交換機との間の経路のインピーダンスを整合させれば、MFP1へ戻る反射トーン信号の大きさを低下させることができるので、反響(エコー)を抑制して通話品質を向上させることができる。また、反射トーン信号および側音信号Rの大きさに基づいて、各経路のインピーダンスを整合させても良い。   For example, in the MFP 1 of the present embodiment, the magnitude of the side sound signal R generated in the two-wire / four-wire conversion circuit 25 is detected due to impedance mismatch between the MFP 1 and the telephone line L to which the MFP 1 is connected. However, after the tone signal S is input to the telephone line L, the magnitude of the tone signal S (hereinafter referred to as “reflected tone signal”) that returns from the telephone switch on the MFP 1 side through the telephone line L is detected. Also good. If the impedances of the telephone line L to which the MFP 1 is connected and the telephone exchange on the MFP 1 side are mismatched, a reflected tone signal is generated, returns to the MFP 1 through the telephone line L, and is emitted from the speaker 24b. Reverberation (echo) occurs. In such a case, if the impedance of the path between the MFP 1 and the telephone switch on the MFP 1 side is matched so that the magnitude of the reflected tone signal is minimized, the magnitude of the reflected tone signal returned to the MFP 1 Therefore, it is possible to suppress the echo (echo) and improve the call quality. Further, the impedance of each path may be matched based on the magnitudes of the reflected tone signal and the side sound signal R.

また、本実施形態では、トーン信号Sの一例として、周波数が「1kHz」で音量が「−10dBm」である音を示す電気信号を用いているが、可聴帯域(「20Hz〜20kHz)内の周波数であれば他の周波数を用いても良い。なお、本実施形態では、人が最も聞きやすいとされる「1kHz」を用いている。   In the present embodiment, as an example of the tone signal S, an electric signal indicating a sound having a frequency of “1 kHz” and a volume of “−10 dBm” is used, but the frequency within the audible band (“20 Hz to 20 kHz)” is used. In this embodiment, “1 kHz”, which is considered to be the easiest for humans to listen to, is used.

また、本実施形態では、一種類のトーン信号Sしか使用していないが、複数の周波数(例えば、「500Hz」、「2kHz」など)のトーン信号Sを、別々に電話回線Lに入力しても良い。また、複数の周波数のトーン信号Sを(各周波数を重畳させて)同時に電話回線Lに入力しても良い。そして、電話回線Lに入力した各周波数について、側音信号Rや反射トーン信号を検出すれば、電話回線Lの周波数特性に応じて、各経路のインピーダンスを整合させることができるので、側音信号Rや反射トーン信号を低下させることができる。従って、スピーカ24bに入力される側音信号Rや反射トーン信号を小さくすることができるので、通話中に生じる反響(エコー)を抑制して通話品質を向上させることができる。   In this embodiment, only one type of tone signal S is used. However, tone signals S having a plurality of frequencies (for example, “500 Hz”, “2 kHz”, etc.) are separately input to the telephone line L. Also good. Further, tone signals S having a plurality of frequencies may be simultaneously input to the telephone line L (with each frequency superimposed). If the side tone signal R or the reflected tone signal is detected for each frequency input to the telephone line L, the impedance of each path can be matched according to the frequency characteristics of the telephone line L. R and reflected tone signals can be reduced. Therefore, the side sound signal R and the reflected tone signal input to the speaker 24b can be reduced, so that the echo (echo) generated during a call can be suppressed and the call quality can be improved.

また、本実施形態のインピーダンス整合処理(図5参照)では、側音信号Rの音量が規定値以下となったら処理を終了するが、各スイッチSW1〜SW5の状態を設定可能な全ての状態(32通りの状態)に設定してから、その中で、側音信号Rの音量が最も小さくなる設定を用いるように構成しても良い。そうすることで、MFP1と、MFP1が接続される電話回線Lとのインピーダンスを最適に整合させることができるので、発生する側音信号Rの大きさを最も小さくすることができる。従って、送受話器24のスピーカ24bに入力される側音信号Rが最も小さくなるので、通話中に生じる反響(エコー)を最も抑制することができる。   Further, in the impedance matching process (see FIG. 5) of the present embodiment, the process ends when the volume of the side sound signal R becomes equal to or less than a specified value, but all the states in which the states of the switches SW1 to SW5 can be set ( It is also possible to use a setting in which the volume of the side sound signal R is the smallest among the settings. By doing so, the impedance of the MFP 1 and the telephone line L to which the MFP 1 is connected can be optimally matched, so that the side sound signal R generated can be minimized. Therefore, the side sound signal R input to the speaker 24b of the handset 24 is the smallest, so that the echo (echo) that occurs during a call can be suppressed most.

また、本実施形態では、2線−4線変換回路25の中の各スイッチSW1〜SW5の状態を切り替えて、受信アンプ回路42および送信アンプ回路43とトランス41との間の経路のインピーダンスを可変させているが、受信アンプ回路42および送信アンプ回路43とトランス41との間の経路のインピーダンスが固定値である場合でも、本実施形態を適用すれば、通話中に生じる反響(エコー)を抑制することができる。すなわち、側音信号Rの音量に応じて、マイク24aから送信される音声信号の大きさを小さくすれば、発生する側音信号Rの大きさを小さくすることができるので、送受話器24のスピーカ24bに入力される側音信号Rが小さくなり、通話中に生じる反響(エコー)を抑制することができる。   In the present embodiment, the state of each of the switches SW1 to SW5 in the two-wire / four-wire conversion circuit 25 is switched to vary the impedance of the path between the reception amplifier circuit 42, the transmission amplifier circuit 43, and the transformer 41. However, even when the impedance of the path between the reception amplifier circuit 42 and the transmission amplifier circuit 43 and the transformer 41 is a fixed value, if this embodiment is applied, echo (echo) generated during a call is suppressed. can do. That is, if the size of the audio signal transmitted from the microphone 24a is reduced according to the volume of the side sound signal R, the size of the generated side sound signal R can be reduced, so that the speaker of the handset 24 The side sound signal R input to 24b becomes small, and the reverberation (echo) generated during a call can be suppressed.

また、本実施形態では、エコーキャンセル回路24cが設けられているが、エコーキャンセル回路24cを設けていない場合でも、本実施形態を適用すれば、通話中に生じる反響(エコー)を抑制することができる。すなわち、側音信号Rの音量に応じて、マイク24aから送信される音声信号の大きさを小さくすれば、発生する側音信号Rの大きさを小さくすることができるので、送受話器24のスピーカ24bに入力される側音信号Rが小さくなり、通話中に生じる反響(エコー)を抑制することができる。   In the present embodiment, the echo cancellation circuit 24c is provided. However, even when the echo cancellation circuit 24c is not provided, if this embodiment is applied, echo (echo) generated during a call can be suppressed. it can. That is, if the size of the audio signal transmitted from the microphone 24a is reduced according to the volume of the side sound signal R, the size of the generated side sound signal R can be reduced, so that the speaker of the handset 24 The side sound signal R input to 24b becomes small, and the reverberation (echo) generated during a call can be suppressed.

また、本実施形態のMFP1は、2線−4線変換回路25において生じる側音信号Rの大きさを検出するという構成であるが、加えて、マイク24aから出力される音声信号の大きさを検出し、マイク24aから出力される音声信号の大きさが基準値を超える場合に、スピーカ24bに入力される音声信号の大きさを低下させるように構成しても良い。ユーザから発せられる音声がマイク24aに入力されると側音信号Rが生じ、その側音信号がスピーカ24bに入力されて反響(エコー)が生じる。そこで、ユーザから発せられる音声がマイク24aに入力されている間、スピーカ24bに入力される音声信号を低下させれば、スピーカ24bに入力される側音信号Rの大きさを小さくすることができるので、さらに反響(エコー)を抑制することができる。   In addition, the MFP 1 of the present embodiment is configured to detect the magnitude of the side sound signal R generated in the two-wire / four-wire conversion circuit 25, but in addition, the magnitude of the audio signal output from the microphone 24a is determined. If the size of the audio signal detected and output from the microphone 24a exceeds the reference value, the size of the audio signal input to the speaker 24b may be reduced. When the sound emitted from the user is input to the microphone 24a, a side sound signal R is generated, and the side sound signal is input to the speaker 24b to generate echo (echo). Therefore, if the sound signal input to the speaker 24b is reduced while the sound emitted from the user is input to the microphone 24a, the side sound signal R input to the speaker 24b can be reduced. Therefore, echo (echo) can be further suppressed.

本発明の実施形態における通信装置を有したMFPの電気的構成を示したブロック図である。1 is a block diagram showing an electrical configuration of an MFP having a communication apparatus according to an embodiment of the present invention. スイッチ設定テーブルの内容を模式的に示した模式図である。It is the schematic diagram which showed the content of the switch setting table typically. 2線−4線変換回路の回路構成の一例を示す回路図である。It is a circuit diagram which shows an example of a circuit structure of a 2 wire | wire 4 wire conversion circuit. MFPの音質調整処理を示すフローチャートである。5 is a flowchart illustrating sound quality adjustment processing of the MFP. MFPのインピーダンス整合処理を示すフローチャートである。6 is a flowchart illustrating an impedance matching process of the MFP.

符号の説明Explanation of symbols

1 MFP(通信装置の一例)
23a トーン信号発生回路(第2出力手段の一例)
23b トーン信号検出回路(検出手段の一例)
24c エコーキャンセル回路(信号減衰手段の一例)
24a マイク(第1出力手段の一例)
24b スピーカ(放音手段の一例)
25 2線−4線変換回路(2線4線変換手段の一例)
L 電話回線(回線の一例)
R 側音信号の一例
S トーン信号(調査信号の一例)
SW1〜SW5 スイッチ(接続手段の一例)
Z1〜Z5 インピーダンスブロック(インピーダンス回路の一例)
S4〜S7 信号制御手段の一例
S4、S18 第1判定手段の一例
S5 算出手段の一例
S8 入力制御手段の一例
S23,S24 接続制御手段の一例
1 MFP (an example of a communication device)
23a Tone signal generation circuit (example of second output means)
23b Tone signal detection circuit (an example of detection means)
24c Echo cancellation circuit (an example of signal attenuation means)
24a Microphone (an example of first output means)
24b Speaker (an example of sound emission means)
25 2-wire-4 wire conversion circuit (an example of 2-wire 4-wire conversion means)
L Telephone line (an example of a line)
R Example of side sound signal S Tone signal (example of survey signal)
SW1 to SW5 switch (an example of connection means)
Z1-Z5 impedance block (an example of an impedance circuit)
S4 to S7 An example of signal control means S4, S18 An example of first determination means S5 An example of calculation means S8 An example of input control means S23, S24 An example of connection control means

Claims (6)

音を音信号に変換し出力する第1出力手段と、入力される音信号を音に変換し放音する放音手段とを備え、前記第1出力手段および前記放音手段と回線とが接続され、その回線を介して外部の通信装置との間で音信号の送受信を行う通信装置において、
前記回線と前記第1出力手段とが接続される経路間のインピーダンス、および、前記回線と前記放音手段とが接続される経路間のインピーダンスを整合させる2線4線変換手段と、
その2線4線変換手段を介して、音信号の大きさが第1設定値である調査信号を前記回線に出力する第2出力手段と、
その第2出力手段により前記調査信号が出力された場合に、前記通信装置と前記回線との経路間のインピーダンスの不整合により生じる側音信号の大きさを検出する検出手段と、
その検出手段により検出される前記側音信号の大きさに基づいて、前記第1出力手段から出力される音信号の大きさを低下させる信号制御手段とを備えていることを特徴とする通信装置。
A first output means for converting sound into a sound signal and outputting; and a sound output means for converting the input sound signal into sound and releasing the sound, wherein the first output means and the sound output means are connected to the line. In a communication device that transmits and receives sound signals to and from an external communication device via the line,
2-wire 4-wire conversion means for matching impedance between paths connected to the line and the first output means, and impedance between paths connected to the line and the sound emitting means;
A second output means for outputting a survey signal whose magnitude of the sound signal is a first set value to the line via the 2-wire 4-wire conversion means;
Detecting means for detecting a magnitude of a side sound signal caused by impedance mismatch between paths of the communication device and the line when the investigation signal is output by the second output means;
And a signal control means for reducing the magnitude of the sound signal output from the first output means based on the magnitude of the side sound signal detected by the detecting means. .
前記信号制御手段は、
前記検出手段により検出される前記側音信号の大きさを示す値が第2設定値以下であるかを判定する第1判定手段と、
その第1判定手段により前記側音信号の大きさを示す値が前記第2設定値を超えていると判定される場合に、前記検出手段により検出される前記側音信号の大きさを示す値と前記第2設定値との差分を算出する算出手段と、
その算出手段により算出される差分が所定値以下である場合に、前記第1出力手段から出力される音信号を、前記算出手段により算出された差分に応じた大きさに低下させることを特徴とする請求項1記載の通信装置。
The signal control means includes
First determination means for determining whether a value indicating the magnitude of the side sound signal detected by the detection means is equal to or less than a second set value;
A value indicating the magnitude of the side sound signal detected by the detection means when the value indicating the magnitude of the side sound signal is determined by the first determination means to exceed the second set value. And calculating means for calculating a difference between the second setting value and the second setting value;
When the difference calculated by the calculating means is less than or equal to a predetermined value, the sound signal output from the first output means is reduced to a magnitude corresponding to the difference calculated by the calculating means. The communication device according to claim 1.
前記信号制御手段は、
前記算出手段により算出される差分が前記所定値を超えている場合に、前記第1出力手段から出力される音信号を、前記所定値に応じた大きさに低下させることを特徴とする請求項2記載の通信装置。
The signal control means includes
The sound signal output from the first output means is reduced to a magnitude corresponding to the predetermined value when the difference calculated by the calculating means exceeds the predetermined value. 2. The communication device according to 2.
前記第1出力手段から出力される音信号の大きさを示す値が第3設定値以下であるかを判定する第2判定手段と、
その第2判定手段により前記第1出力手段から出力される音信号の大きさを示す値が前記第3設定値を超えていると判定される場合に、前記放音手段に入力される音信号の大きさを低下させる信号減衰手段とを備えていること特徴とする請求項1から3のいずれかに記載の通信装置。
Second determination means for determining whether a value indicating the magnitude of the sound signal output from the first output means is equal to or less than a third set value;
The sound signal input to the sound output means when the second determination means determines that the value indicating the magnitude of the sound signal output from the first output means exceeds the third set value 4. The communication device according to claim 1, further comprising: a signal attenuating unit that reduces the size of the communication device. 5.
前記2線4線変換手段は、
前記回線と前記第1出力手段および前記放音手段との間に接続され、それぞれがインピーダンス特性を有する複数のインピーダンス回路と、
前記回線と前記第1出力手段および前記放音手段との間に1以上の前記インピーダンス回路を接続する接続手段と、
前記第2出力手段により前記調査信号が出力される場合に、前記検出手段により検出される前記側音信号の大きさを示す値が最も小さくなるインピーダンス回路を、前記接続手段により接続する接続制御手段とを備えていることを特徴とする請求項1から4のいずれかに記載の通信装置。
The two-wire / four-wire conversion means includes:
A plurality of impedance circuits connected between the line and the first output means and the sound emitting means, each having impedance characteristics;
Connecting means for connecting one or more impedance circuits between the line and the first output means and the sound emitting means;
Connection control means for connecting, by the connection means, an impedance circuit having the smallest value indicating the magnitude of the side sound signal detected by the detection means when the survey signal is output by the second output means. 5. The communication device according to claim 1, comprising:
前記第2出力手段は、前記調査信号として、音信号の大きさが前記第1所定値であり、周波数が異なる複数の音信号を前記回線に出力し、
前記検出手段は、前記側音信号の大きさを前記複数の異なる周波数について検出し、
前記信号制御手段は、前記検出手段により検出される前記周波数が異なる複数の側音信号の大きさに基づいて、前記第1出力手段から出力される音信号の大きさを低下させることを特徴とする請求項1から5のいずれかに記載の通信装置。
The second output means outputs, as the survey signal, a plurality of sound signals having a sound signal having a first predetermined value and different frequencies to the line.
The detecting means detects the side sound signal for the plurality of different frequencies;
The signal control means reduces the magnitude of the sound signal output from the first output means based on the magnitudes of a plurality of side sound signals having different frequencies detected by the detection means. The communication device according to any one of claims 1 to 5.
JP2008095683A 2008-04-02 2008-04-02 Communication device Expired - Fee Related JP4853488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008095683A JP4853488B2 (en) 2008-04-02 2008-04-02 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008095683A JP4853488B2 (en) 2008-04-02 2008-04-02 Communication device

Publications (2)

Publication Number Publication Date
JP2009253404A true JP2009253404A (en) 2009-10-29
JP4853488B2 JP4853488B2 (en) 2012-01-11

Family

ID=41313702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008095683A Expired - Fee Related JP4853488B2 (en) 2008-04-02 2008-04-02 Communication device

Country Status (1)

Country Link
JP (1) JP4853488B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013159359A1 (en) * 2012-04-28 2013-10-31 Abb Technology Ltd. An echo cancellation device for a 2-wire intercom system and a method thereof
JP2017046128A (en) * 2015-08-26 2017-03-02 株式会社沖データ Communication device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06338936A (en) * 1993-05-26 1994-12-06 Sanyo Electric Co Ltd Telephone set
JPH11196178A (en) * 1997-12-26 1999-07-21 Mitsubishi Electric Corp Automatic level adjustment device
JP2000295336A (en) * 1999-04-02 2000-10-20 Matsushita Graphic Communication Systems Inc Device and method for adjusting sidetone
JP2001053863A (en) * 1999-08-10 2001-02-23 Sony Corp Telephone and telephone call quality optimization method
JP2004221802A (en) * 2003-01-14 2004-08-05 Brother Ind Ltd Telephone equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06338936A (en) * 1993-05-26 1994-12-06 Sanyo Electric Co Ltd Telephone set
JPH11196178A (en) * 1997-12-26 1999-07-21 Mitsubishi Electric Corp Automatic level adjustment device
JP2000295336A (en) * 1999-04-02 2000-10-20 Matsushita Graphic Communication Systems Inc Device and method for adjusting sidetone
JP2001053863A (en) * 1999-08-10 2001-02-23 Sony Corp Telephone and telephone call quality optimization method
JP2004221802A (en) * 2003-01-14 2004-08-05 Brother Ind Ltd Telephone equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013159359A1 (en) * 2012-04-28 2013-10-31 Abb Technology Ltd. An echo cancellation device for a 2-wire intercom system and a method thereof
JP2017046128A (en) * 2015-08-26 2017-03-02 株式会社沖データ Communication device

Also Published As

Publication number Publication date
JP4853488B2 (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CA1291837C (en) Electronic telephone terminal having noise suppression function
JP4853488B2 (en) Communication device
JP3970945B2 (en) Facsimile device with telephone
JP2895331B2 (en) Facsimile machine
TW395110B (en) Ultra-Slim telephone set
JP4297052B2 (en) Communication device
KR100279825B1 (en) Circuit to eliminate echoes and sidetones at the exchange
KR100208712B1 (en) Line interface circuit and method
JP2004221802A (en) Telephone equipment
US6163600A (en) Communication apparatus using telephone line
JPH01123554A (en) Telephone set
JP2789997B2 (en) Telephone equipment
JP4512066B2 (en) Telephone
EP1392040A2 (en) Communication apparatus with one-way speakerphone function
JPH02256357A (en) Side tone correction circuit
JP4134935B2 (en) Intercom equipment
JP4122678B2 (en) Telephone equipment
JP2003198714A (en) Mobile phone
JPH0514476A (en) Loudspeaker telephone set
JPH0355069B2 (en)
JPH04336753A (en) Called terminal equipment identification signal output system for facsimile equipment
JP2006019983A (en) Network telephone system and telephone terminal of the network telephone system
JPS63178692A (en) button telephone device
JP2005176243A (en) Facsimile machine
JP2020068428A (en) Facsimile apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110905

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110927

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111010

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141104

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4853488

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees