TWI399968B - Speakerphone apparatus - Google Patents

Speakerphone apparatus Download PDF

Info

Publication number
TWI399968B
TWI399968B TW99112310A TW99112310A TWI399968B TW I399968 B TWI399968 B TW I399968B TW 99112310 A TW99112310 A TW 99112310A TW 99112310 A TW99112310 A TW 99112310A TW I399968 B TWI399968 B TW I399968B
Authority
TW
Taiwan
Prior art keywords
amount
attenuation
echo
transmission signal
echo suppressor
Prior art date
Application number
TW99112310A
Other languages
Chinese (zh)
Other versions
TW201039606A (en
Inventor
Keiichi Yoshida
Minoru Fukushima
Tomohide Furuya
Yukio Okada
Teppei Washi
Yoshihiro Tanigawa
Original Assignee
Panasonic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2009260173A external-priority patent/JP5712350B2/en
Priority claimed from JP2010011383A external-priority patent/JP5297396B2/en
Priority claimed from JP2010011384A external-priority patent/JP5432741B2/en
Application filed by Panasonic Corp filed Critical Panasonic Corp
Publication of TW201039606A publication Critical patent/TW201039606A/en
Application granted granted Critical
Publication of TWI399968B publication Critical patent/TWI399968B/en

Links

Description

揚聲電話裝置Speakerphone

本發明是有關於一種用於住宅或辦公室的揚聲電話裝置(speakerphone apparatus)。The present invention relates to a speakerphone apparatus for a home or office.

習知上已知一種揚聲電話裝置,其藉由以下方式達成了通信時無需聽筒器件(handset device)之免提通信:使用揚聲器將語音信號放大,並將其輸出至距通信終端較遠的呼叫方;以及使用麥克風來收集呼叫方之語音,並將語音傳輸至他/她的對方的通信終端。此處,揚聲器將自對方之通信終端傳輸之語音信號放大,且麥克風收集自呼叫方發出的語音。A speakerphone device is known in the art, which realizes hands-free communication without a handset device when communicating: using a speaker to amplify a voice signal and output it to a farther distance from the communication terminal The calling party; and uses a microphone to collect the voice of the calling party and transmit the voice to his/her counterpart's communication terminal. Here, the speaker amplifies the voice signal transmitted from the other party's communication terminal, and the microphone collects the voice from the calling party.

在此揚聲電話裝置中,可藉由麥克風與揚聲器之間的聲學耦合來建立聲學回饋路徑,經由此路徑可能會聽到令人不適的回音(聲學回音)。此外,若在通信系統中經由所述回饋路徑而在一頻率成分下形成閉環路(closed loop),且所述環路之增益超過1,則在所述頻率下可能會發生嘯聲(howling)。因此,提供一種回音消除器(echo canceller)及語音切換器(voice switch),以便防止發生令人不適的回音及嘯聲。In this speakerphone device, an acoustic feedback path can be established by acoustic coupling between the microphone and the speaker, via which an unpleasant echo (acoustic echo) can be heard. Furthermore, if a closed loop is formed under a frequency component via the feedback path in the communication system, and the gain of the loop exceeds 1, then howling may occur at the frequency. . Therefore, an echo canceller and a voice switch are provided to prevent unpleasant echoes and howling.

所述語音切換器不斷地評估通信狀態(傳輸狀態、接收狀態),並藉由基於評估結果來適當地分配損失而將損失提供至傳輸信號路徑及接收信號路徑中。所述回音消除器包含:適應性濾波器(adaptive filter),用於識別回饋路徑中之脈衝回應,並根據輸入至適應性濾波器之信號來估計回饋路徑中之疑似(suspected)回音成分;以及減法器,用於自經由回饋路徑輸入至減法器的信號中減去所估計之回音成分。一般而言,所述適應性濾波器需要若干秒的學習時間,以便識別回饋路徑的脈衝回應。因此,在緊隨通信開始後的若干秒內,無法有效地抑制回音。然而,由於在通信系統中已經建立了閉環路,所以其中可能會發生令人不適的回音或嘯聲。The voice switcher continuously evaluates the communication state (transmission state, reception state), and provides the loss into the transmission signal path and the reception signal path by appropriately allocating the loss based on the evaluation result. The echo canceller includes: an adaptive filter for identifying a pulse response in the feedback path and estimating a suspected echo component in the feedback path based on a signal input to the adaptive filter; A subtractor for subtracting the estimated echo component from the signal input to the subtractor via the feedback path. In general, the adaptive filter requires several seconds of learning time in order to identify the impulse response of the feedback path. Therefore, the echo cannot be effectively suppressed within a few seconds immediately after the start of communication. However, since a closed loop has been established in the communication system, an unpleasant echo or howling may occur therein.

在此方面,已有人提出一種能夠緊隨通信開始後抑制令人不適之回音或嘯聲發生的揚聲電話裝置(例如請參見第2002-359580號日本專利申請公開案)。In this regard, a speakerphone device capable of suppressing the occurrence of an uncomfortable echo or howling after the start of communication has been proposed (for example, see Japanese Patent Application Laid-Open No. 2002-359580).

在此習知實例中,雖然回音消除器並未在通信開始後立即收斂,但語音切換器在固定模式下操作,其中在信號路徑中提供的損失之總量(總損失量)固定於足夠大的初始值,藉此來抑制令人不適的回音或嘯聲。另一方面,在回音消除器完全收斂之後,語音切換器在更新模式下操作,其中按場合需要而更新總損失量,且因此可達成全雙工(full duplex)通信。In this conventional example, although the echo canceller does not converge immediately after the start of communication, the voice switcher operates in a fixed mode in which the total amount of loss (total loss) provided in the signal path is fixed sufficiently large The initial value, thereby suppressing an unpleasant echo or howling. On the other hand, after the echo canceller is fully converged, the voice switcher operates in an update mode in which the total amount of loss is updated as needed, and thus full duplex communication can be achieved.

同時,若在多個揚聲電話裝置間執行數位通信(例如網際網路協定(internet protocol,IP)通信等),則在語音資料傳輸中可能會因封包(packet)處理或用於抑制抖動(jitter)之通信緩衝處理而發生延遲。一般而言,已知當在多個揚聲電話裝置之間的語音資料傳輸中發生延遲時,隨著延遲時間變長,通信時說話人對回音的容忍度變差,且因此即便是微小的回音亦能令說話人感到不適。Meanwhile, if digital communication (such as internet protocol (IP) communication, etc.) is performed between a plurality of speakerphone devices, it may be handled by a packet or used to suppress jitter in voice data transmission ( Jitter) The communication buffer processing is delayed. In general, it is known that when a delay occurs in the transmission of voice data between a plurality of speakerphone devices, as the delay time becomes longer, the speaker's tolerance to echo is deteriorated during communication, and thus even a small The echo can also make the speaker feel uncomfortable.

藉由在固定模式下設定比習知類比通信之初始值大的初始值,可防止此令人不適之回音。然而,回音容限(tolerance)之降級量可能會超過數十分貝,此在更新模式下無法被回音消除器之抑制量覆蓋,且因此只能在半雙工通信中通信而非全雙工通信中通信。此外,當周圍噪聲位準較高時,可能會發生如下問題:語音切換器繼續在傳輸側及接收側中的僅一側接通,且因此使來自所述一側之語音不被傳輸至另一側。This unpleasant echo can be prevented by setting an initial value greater than the initial value of the conventional analog communication in the fixed mode. However, the degradation of the echo tolerance may exceed a few tenths of a mile, which cannot be covered by the cancellation of the echo canceller in the update mode, and therefore can only be communicated in half-duplex communication instead of full duplex. Communication in communication. In addition, when the ambient noise level is high, the following problem may occur: the voice switcher continues to be turned on only one side of the transmission side and the reception side, and thus the voice from the one side is not transmitted to the other One side.

另一方面,當在揚聲電話裝置與使用聽筒之通信裝置之間執行數位通信(例如,IP通信等)時,可藉由其中配備之回音抑制器(echo suppressor)來使揚聲電話裝置之傳輸信號路徑中發生的殘餘回音衰減,藉此達成全雙工通信。然而,若在自揚聲電話裝置傳輸至對方通信裝置之信號中存在高位準之噪聲,則回音抑制器不僅使殘餘回音衰減,而且會短暫地使噪聲衰減。對噪聲之此短暫衰減受到延遲,且經由聽筒被對方察覺。因此,使用聽筒之對方可能會在通信期間感覺到令人不適的斷開感覺。On the other hand, when digital communication (for example, IP communication or the like) is performed between the speakerphone device and the communication device using the earpiece, the speakerphone device can be enabled by an echo suppressor equipped therein. Residual echo attenuation occurring in the transmission signal path, thereby achieving full duplex communication. However, if there is a high level of noise in the signal transmitted from the speakerphone device to the counterpart communication device, the echo suppressor not only attenuates the residual echo but also attenuates the noise for a short time. This short decay to noise is delayed and perceived by the other party via the handset. Therefore, the other party using the handset may feel an uncomfortable disconnection feeling during communication.

此外,若對方使用聽筒,則可藉由將回音抑制器之衰減量設定得比對方使用揚聲電話裝置時還小來防止上文提及之斷開的感覺。然而,在此情況下存在經由聽筒聽到殘餘回音的缺點。Further, if the other party uses the earpiece, the above-mentioned feeling of disconnection can be prevented by setting the attenuation amount of the echo suppressor to be smaller than when the opponent uses the speakerphone device. However, in this case there is a disadvantage of hearing residual echoes through the earpiece.

鑒於上文,本發明提供一種揚聲電話裝置,其即使在傳輸至對方之語音中發生傳輸延遲時亦能夠達成全雙工通信,且即使在對方使用聽筒時亦能夠防止經由聽筒感覺到斷開的感覺。In view of the above, the present invention provides a speakerphone device capable of achieving full-duplex communication even when a transmission delay occurs in a voice transmitted to the other party, and can prevent disconnection through the earpiece even when the other party uses the earpiece a feeling of.

根據本發明之一態樣,提供一種揚聲電話裝置,其包含:麥克風及揚聲器;語音切換器,用以藉由以下方式在通信狀態下在傳輸與接收之間切換:在接收側信號路徑及傳輸信號路徑內提供損失,來自對方之通信終端之接收信號經由接收側信號路徑而被傳輸至所述揚聲器,由麥克風收集之傳輸信號經由所述傳輸信號路徑而被傳輸至對方的通信終端;回音消除器,用於抑制麥克風與揚聲器之間的聲學耦合而引起的聲學回音;以及雙端通話偵測器,用於偵測雙端通話。According to an aspect of the present invention, a speakerphone device includes: a microphone and a speaker; and a voice switcher for switching between transmission and reception in a communication state by: a signal path on the receiving side and Providing a loss in the transmission signal path, the reception signal from the communication terminal of the other party is transmitted to the speaker via the reception side signal path, and the transmission signal collected by the microphone is transmitted to the communication terminal of the other party via the transmission signal path; A canceller for suppressing acoustic echo caused by acoustic coupling between the microphone and the speaker; and a double talk detector for detecting double talk.

所述語音切換器包含用於在傳輸信號路徑中提供損失的傳輸側損失插入單元;用於在接收側信號路徑中提供損失的接收側損失插入單元;以及用於控制在傳輸側及接收側中提供的相應損失量的插入損失量控制單元。The voice switcher includes a transmission side loss insertion unit for providing a loss in a transmission signal path; a reception side loss insertion unit for providing a loss in a reception side signal path; and for controlling in the transmission side and the reception side The insertion loss amount control unit of the corresponding loss amount is provided.

此外,所述插入損失量控制單元包含:總損失量計算器,其用以估計路徑的自所述接收側損失插入單元之輸出端子經由聲學回音路徑而回饋至所述傳輸側損失插入單元之輸入端子之聲學回饋增益,且基於對所述聲學回饋增益之估計而計算提供至回饋路徑之損失量的總和;以及插入損失量分配處理器,其用以監視所述傳輸信號及所述接收信號以估計通信狀態,且基於估計的通信狀態及由總損失量計算器計算之總和,而判定分配給傳輸側損失插入單元及接收側損失插入單元之相應插入損失量。Further, the insertion loss amount control unit includes: a total loss amount calculator for estimating that an output terminal of the path from the receiving side loss insertion unit is fed back to an input of the transmission side loss insertion unit via an acoustic echo path An acoustic feedback gain of the terminal, and calculating a sum of the amount of loss provided to the feedback path based on the estimate of the acoustic feedback gain; and an insertion loss amount allocation processor for monitoring the transmission signal and the received signal The communication state is estimated, and based on the estimated communication state and the sum calculated by the total loss amount calculator, the respective insertion loss amounts assigned to the transmission side loss insertion unit and the reception side loss insertion unit are determined.

此外,總損失量計算器具有更新模式及固定模式,在更新模式中,藉由基於對回饋增益的相應估計而計算在回饋路徑中提供之總損失量而以適應性方式來更新總損失量,且在固定模式中,總損失量固定於初始值。因此,當回音消除器在通信開始後未充分收斂時,總損失量計算器以固定模式操作,且在回音消除器完全收斂後,總損失量計算器以更新模式操作。Further, the total loss amount calculator has an update mode and a fixed mode in which the total loss amount is updated in an adaptive manner by calculating a total loss amount provided in the feedback path based on a corresponding estimate of the feedback gain, And in the fixed mode, the total loss is fixed to the initial value. Therefore, when the echo canceller does not sufficiently converge after the start of communication, the total loss amount calculator operates in the fixed mode, and after the echo canceller completely converges, the total loss amount calculator operates in the update mode.

所述揚聲電話裝置更包含回音抑制器,用以藉由結合語音切換器及/或雙端通話偵測器以便在傳輸信號路徑中提供特定衰減量而使殘餘回音衰減。The speakerphone device further includes an echo suppressor for attenuating the residual echo by combining a voice switcher and/or a double talk detector to provide a specific amount of attenuation in the transmission signal path.

藉由以上組態,即便在多個通信裝置之間傳輸之語音內發生傳輸延遲,回音抑制器亦有效地使在傳輸信號路徑中因傳輸延遲發生的殘餘回音衰減,藉此達成全雙工通信。With the above configuration, even if a transmission delay occurs in the voice transmitted between the plurality of communication devices, the echo suppressor effectively attenuates the residual echo due to the transmission delay in the transmission signal path, thereby achieving full-duplex communication. .

若插入損失量分配處理器估計語音切換器處於接收狀態,則回音抑制器可在傳輸信號路徑中插入特定衰減量,否則不插入特定衰減量。If the insertion loss amount distribution processor estimates that the voice switcher is in the receiving state, the echo suppressor may insert a specific amount of attenuation in the transmission signal path, otherwise no specific attenuation amount is inserted.

因此,可抑制語音中發生的拐折(inflection),且在通信後僅使令人不適之回音衰減。因此,可達成令人愉快的通信。Therefore, the inflection occurring in the speech can be suppressed, and only the uncomfortable echo is attenuated after the communication. Therefore, a pleasant communication can be achieved.

在雙端通話偵測器正偵測雙端通話時,回音抑制器可不在傳輸信號路徑中插入衰減量,否則插入衰減量。When the double talk detector is detecting double talk, the echo suppressor may not insert the amount of attenuation in the transmission signal path, otherwise the attenuation amount is inserted.

因此,可使因對即將傳輸之語音的錯誤衰減而在語音中發生的拐折受到抑制,且在通信後僅使令人不適之回音受到衰減。因此,可達成令人愉快的通信。Therefore, the inflection occurring in the speech due to the erroneous attenuation of the speech to be transmitted can be suppressed, and only the uncomfortable echo is attenuated after the communication. Therefore, a pleasant communication can be achieved.

若雙端通話偵測器未偵測到雙端通話且插入損失量分配處理器估計語音切換器處於接收狀態,則回音抑制器可在傳輸信號路徑中插入上述特定衰減量。If the double talk detector does not detect the double talk and the insertion loss allocation processor estimates that the voice switch is in the receiving state, the echo suppressor may insert the specific attenuation amount in the transmission signal path.

藉由如此操作,可防止回音抑制器錯誤地不提供衰減量及發生令人不適的殘餘回音;且因此在通信期間準確地僅使令人不適的回音受到衰減。By doing so, it is possible to prevent the echo suppressor from erroneously providing no amount of attenuation and occurrence of an uncomfortable residual echo; and thus accurately attenuating only unpleasant echoes during communication.

較佳是,當回音消除器在通信開始後未充分收斂時,僅在插入損失量分配處理器估計語音切換器處於接收狀態的情況下,回音抑制器才在傳輸信號路徑中插入上述特定衰減量。Preferably, when the echo canceller does not sufficiently converge after the start of communication, the echo suppressor inserts the specific attenuation amount in the transmission signal path only when the insertion loss amount distribution processor estimates that the voice switcher is in the receiving state. .

一般而言,當回音消除器未充分收斂時,雙端通話偵測器無法偵測到雙端通話。因此,若插入損失量分配處理器估計語音切換器處於接收狀態,則回音抑制器無論來自雙端通話偵測器的偵測結果如何均在傳輸信號路徑中插入上述特定衰減量,因而在通信開始後回音消除器未充分收斂時使令人不適的回音衰減。In general, when the echo canceller does not converge sufficiently, the double talk detector cannot detect double talk. Therefore, if the insertion loss allocation processor estimates that the voice switcher is in the receiving state, the echo suppressor inserts the specific attenuation amount in the transmission signal path regardless of the detection result from the double-talk detector, and thus starts the communication. An unpleasant echo is attenuated when the post-echo canceller does not converge sufficiently.

當回音抑制器正在傳輸信號路徑中插入上述特定衰減量時,若插入損失量分配處理器估計語音切換器不處於接收狀態或雙端通話偵測器偵測到雙端通話,則回音抑制器可立即停止將衰減量插入到傳輸信號路徑中。When the echo suppressor is inserting the specific attenuation amount in the transmission signal path, if the insertion loss amount distribution processor estimates that the voice switcher is not in the receiving state or the double-talking detector detects the double-talking, the echo suppressor may Immediately stop inserting the attenuation into the transmit signal path.

藉由如此操作,可防止因回音抑制器對傳輸信號的錯誤衰減而在語音中發生拐折。By doing so, it is possible to prevent the inflection in the speech due to the erroneous attenuation of the transmission signal by the echo suppressor.

回音消除器可更包含:適應性濾波器,用於以適應性方式識別回音路徑的特性;減法器,用於自近端信號中減去適應性濾波器的輸出;以及雙端通話偵測器,用於偵測雙端通話。此外,當雙端通話偵測器偵測到雙端通話時,回音消除器可不更新適應性濾波器的係數。The echo canceller can further include: an adaptive filter for adaptively identifying the characteristics of the echo path; a subtractor for subtracting the output of the adaptive filter from the near-end signal; and a double-talk detector Used to detect double-talk. In addition, when the double talk detector detects a double talk, the echo canceller may not update the coefficients of the adaptive filter.

藉由此組態,可使用回音消除器中提供的雙端通話偵測器來達成組態之簡化及成本之降低。With this configuration, the double-talk detector provided in the echo canceller can be used to achieve configuration simplification and cost reduction.

回音消除器、語音切換器及回音抑制器中之相應處理較佳是以傳輸信號路徑中之所述次序來執行。Corresponding processing in the echo canceller, voice switcher, and echo suppressor is preferably performed in the order described in the transmission signal path.

藉由此組態,由於回音抑制器在傳輸信號路徑中安置於語音切換器後面,所以即使回音抑制器錯誤地使傳輸信號衰減,亦可防止語音切換器中發生拐折,因而達成令人愉快的通信環境。With this configuration, since the echo suppressor is placed behind the voice switcher in the transmission signal path, even if the echo suppressor erroneously attenuates the transmission signal, the inflection in the voice switcher can be prevented, thereby achieving a pleasant Communication environment.

回音抑制器可基於由總損失量計算器估計之聲學回饋增益來調整衰減量。The echo suppressor can adjust the amount of attenuation based on the acoustic feedback gain estimated by the total loss calculator.

藉由此組態,即使自近端揚聲器發出的語音被回音抑制器錯誤地衰減,亦可抑制語音拐折的發生。With this configuration, even if the speech from the near-end speaker is erroneously attenuated by the echo suppressor, the occurrence of the voice inflection can be suppressed.

回音抑制器可基於接收信號之信號位準平均值來調整衰減量。The echo suppressor can adjust the amount of attenuation based on the signal level average of the received signal.

藉由此組態,即使自近端揚聲器發出的語音被回音抑制器錯誤地衰減,亦可抑制語音拐折的發生。With this configuration, even if the speech from the near-end speaker is erroneously attenuated by the echo suppressor, the occurrence of the voice inflection can be suppressed.

當接收信號之信號位準低於臨限值時,回音抑制器可將傳輸信號路徑中插入的衰減量固定為標準值,且當接收信號的信號位準為臨限值或更高時,回音抑制器在自高於標準值之上限至標準值的範圍內調整衰減量。When the signal level of the received signal is lower than the threshold, the echo suppressor can fix the amount of attenuation inserted in the transmission signal path to a standard value, and when the signal level of the received signal is a threshold or higher, the echo is returned. The suppressor adjusts the amount of attenuation from a range above the upper limit of the standard value to the standard value.

藉由此組態,可抑制語音拐折的發生。With this configuration, the occurrence of a voice inflection can be suppressed.

回音消除器可更包含:信號位準平均值(signal level average,SLA)運算單元,用於計算接收信號的信號位準平均值;適應性濾波器,用於以適應性方式來識別回音路徑的特性;以及減法器,用於自近端信號中減去適應性濾波器的輸出。此外,回音抑制器可基於由信號位準平均值運算單元計算之信號位準平均值來調整衰減量。The echo canceller may further comprise: a signal level average (SLA) operation unit for calculating a signal level average of the received signal; and an adaptive filter for recognizing the echo path in an adaptive manner. a feature; and a subtractor for subtracting the output of the adaptive filter from the near-end signal. Further, the echo suppressor can adjust the amount of attenuation based on the signal level average calculated by the signal level average operation unit.

此使得可達成組態之簡化及成本之降低。This makes it possible to achieve a simplification of the configuration and a reduction in cost.

僅在雙端通話偵測器未偵測到雙端通話且插入損失量分配處理器估計語音切換器處於接收狀態的情況下,回音抑制器可在傳輸信號路徑中插入特定衰減量,且當插入損失量分配處理器估計語音切換器既不處於接收狀態又不處於傳輸狀態時,或當插入損失量分配處理器估計語音切換器處於接收狀態且雙端通話偵測器偵測到雙端通話時,回音抑制器單調地降低該傳輸信號路徑中插入的衰減量。The echo suppressor can insert a specific amount of attenuation in the transmission signal path only when the double talk detector does not detect the double talk and the insertion loss allocation processor estimates that the voice switch is in the receiving state. The loss allocation processor estimates that the voice switcher is neither in the receiving state nor in the transmitting state, or when the insertion loss allocation processor estimates that the voice switcher is in the receiving state and the double-talk detector detects the double-talking The echo suppressor monotonically reduces the amount of attenuation inserted in the transmitted signal path.

藉由此組態,即便在傳輸至對方之通信裝置的語音內發生傳輸延遲,回音抑制器亦能有效地使傳輸信號路徑中因傳輸延遲發生的殘餘回音衰減,藉此達成全雙工通信。此外,當未自揚聲電話裝置向使用聽筒之通信裝置傳輸一傳輸信號時,回音抑制器單調地降低傳輸信號路徑中插入的衰減量。此使得可防止使用聽筒之通信裝置處之說話人因周圍噪聲未被暫時衰減而感到不適的斷開感覺。With this configuration, even if a transmission delay occurs in the voice transmitted to the other party's communication device, the echo suppressor can effectively attenuate the residual echo due to the transmission delay in the transmission signal path, thereby achieving full-duplex communication. Further, when a transmission signal is not transmitted from the speakerphone device to the communication device using the earpiece, the echo suppressor monotonically reduces the amount of attenuation inserted in the transmission signal path. This makes it possible to prevent the speaker at the communication device using the earpiece from feeling uncomfortable because the surrounding noise is not temporarily attenuated.

當衰減量正單調地降低時由插入損失量分配處理器估計的通信狀態變成傳輸狀態時,回音抑制器可立即使衰減量降低為零。When the communication state estimated by the insertion loss amount distribution processor becomes the transmission state when the attenuation amount is monotonically decreasing, the echo suppressor can immediately reduce the attenuation amount to zero.

藉由如此操作,可防止自近端揚聲器發出之語音(傳輸語音)被回音抑制器錯誤地衰減及防止對方揚聲器聽到的語音中發生拐折。By doing so, it is possible to prevent the voice (transmission voice) emitted from the near-end speaker from being erroneously attenuated by the echo suppressor and preventing the inflection in the voice heard by the counterpart speaker.

當傳輸信號路徑中插入的衰減量正單調地降低時,則當雙端通話偵測器未偵測到雙端通話且由插入損失量分配處理器估計的通信狀態為接收狀態時,回音抑制器可再次在傳輸信號路徑中插入特定衰減量。When the amount of attenuation inserted in the transmission signal path is monotonically decreasing, the echo suppressor is when the double-talking detector does not detect the double-talk and the communication state estimated by the insertion loss amount distribution processor is the receiving state. A specific amount of attenuation can be inserted again in the transmission signal path.

藉由此組態,可防止回音抑制器錯誤地不提供衰減量及發生令人不適的殘餘回音;且在通信期間準確地僅使令人不適的回音受到衰減。With this configuration, the echo suppressor can be prevented from erroneously providing no amount of attenuation and an unpleasant residual echo occurs; and only the unpleasant echo is accurately attenuated during communication.

當由插入損失量分配處理器估計之通信狀態既不是接收狀態又不是傳輸狀態時,或當通信狀態為接收狀態且雙端通話偵測器偵測到雙端通話時,回音抑制器可以恆定的降低比率使在傳輸信號路徑中插入的衰減量降低。The echo suppressor can be constant when the communication state estimated by the insertion loss amount allocation processor is neither the reception state nor the transmission state, or when the communication state is the reception state and the double-talk detector detects the double-talk conversation. The reduction ratio reduces the amount of attenuation inserted in the transmission signal path.

在此情況下,例如,當與逐步方式而降低相比時,衰減量降低至零所需的時期(轉變(transition)時期)可相對縮短。In this case, for example, when compared with the stepwise mode reduction, the period (transition period) required for the attenuation amount to decrease to zero can be relatively shortened.

當雙端通話偵測器未偵測到雙端通話且由插入損失量分配處理器估計之通信狀態為接收狀態時,回音抑制器可在傳輸信號路徑中插入特定衰減量,回音抑制器估計該傳輸信號中疊加之周圍噪聲的位準,且基於估計的周圍噪聲位準而在周圍噪聲位準變高時減少該傳輸信號路徑中插入的衰減量。When the double talk detector does not detect the double talk and the communication state estimated by the insertion loss allocation processor is the receiving state, the echo suppressor may insert a specific attenuation amount in the transmission signal path, and the echo suppressor estimates the The level of ambient noise superimposed in the transmitted signal, and the amount of attenuation inserted in the transmitted signal path is reduced when the ambient noise level becomes high based on the estimated ambient noise level.

藉由此組態,即便在傳輸至對方之通信裝置的語音內發生傳輸延遲,回音抑制器亦能有效地使傳輸信號路徑中因傳輸延遲發生的殘餘回音衰減,藉此達成全雙工通信。此外,由於隨噪聲位準變高,回音抑制器使傳輸信號路徑中插入之衰減量減小,所以可抑制噪聲的瞬時衰減,因而使得難以感到斷開的感覺。在此情況下,若回音抑制器使衰減量降低,則殘餘回音之衰減效果降低。然而,在實際使用時,殘餘回音被周圍噪聲遮蓋,且在通信中不會造成麻煩。With this configuration, even if a transmission delay occurs in the voice transmitted to the other party's communication device, the echo suppressor can effectively attenuate the residual echo due to the transmission delay in the transmission signal path, thereby achieving full-duplex communication. Further, since the echo suppressor reduces the amount of attenuation inserted in the transmission signal path as the noise level becomes higher, the instantaneous attenuation of noise can be suppressed, thus making it difficult to feel the feeling of disconnection. In this case, if the echo suppressor reduces the amount of attenuation, the attenuation effect of the residual echo is lowered. However, in actual use, the residual echo is covered by ambient noise and does not cause trouble in communication.

回音抑制器可將依據接收信號位準估計之回音量與依據傳輸信號中疊加之周圍噪聲位準的衰減量進行比較,且在傳輸信號路徑中插入回音量與衰減量中數值較小的一者。The echo suppressor can compare the back volume estimated according to the received signal level with the attenuation amount according to the surrounding noise level superimposed in the transmission signal, and insert one of the smaller values of the volume and the attenuation amount in the transmission signal path. .

此使得可充分地使殘餘回音衰減,且同時防止感測到斷開的感覺。This makes it possible to sufficiently attenuate the residual echo while preventing the feeling of disconnection from being sensed.

當周圍噪聲位準超出特定位準時,回音抑制器可基於噪聲位準而將衰減量調整為恆定值。When the ambient noise level exceeds a certain level, the echo suppressor can adjust the amount of attenuation to a constant value based on the noise level.

藉由此組態,可在周圍噪聲位準非常高時防止殘餘回音未得到衰減。With this configuration, residual echoes are prevented from being attenuated when the ambient noise level is very high.

下文中,將參照附圖更詳細地說明本發明之實施例,附圖形成本文的一部分。Hereinafter, embodiments of the present invention will be described in more detail with reference to the accompanying drawings, which form a part.

第一實施例First embodiment

參看圖1,本實施例之揚聲電話裝置包含:麥克風1;揚聲器2;語音切換器10,語音切換器10藉由在接收信號路徑(圖1中由虛線A繪示)及傳輸信號路徑(圖1中由虛線B繪示)中插入損失而在通信狀態中在傳輸與接收之間變化,來自對方之通信終端的接收信號經由接收信號路徑而被傳輸至揚聲器2,由麥克風1收集之傳輸信號經由傳輸信號路徑而被傳輸至對方之通信終端;回音消除器20,其抑制由麥克風1與揚聲器2之間的聲學耦合而引起的聲學回音;以及麥克風放大器G1,用於放大麥克風1的輸出信號(傳輸信號);揚聲器放大器G2,用於放大麥克風2的輸入信號(接收信號)。Referring to FIG. 1, the speakerphone device of the present embodiment includes: a microphone 1; a speaker 2; a voice switcher 10, and a voice switcher 10 by receiving a signal path (shown by a broken line A in FIG. 1) and transmitting a signal path ( The insertion loss in FIG. 1 is shown by the broken line B and changes between transmission and reception in the communication state, and the reception signal from the communication terminal of the other party is transmitted to the speaker 2 via the reception signal path, and the transmission is collected by the microphone 1. The signal is transmitted to the communication terminal of the other party via the transmission signal path; the echo canceller 20 suppresses the acoustic echo caused by the acoustic coupling between the microphone 1 and the speaker 2; and the microphone amplifier G1 for amplifying the output of the microphone 1 Signal (transmission signal); speaker amplifier G2 for amplifying the input signal (received signal) of the microphone 2.

此外,所述揚聲電話裝置包含:放大器G3,用於調整在傳輸信號路徑中插入於回音消除器20與語音切換器10之間的傳輸量;以及回音抑制器30,其藉由在傳輸信號路徑中插入特定衰減量來衰減殘餘的回音。Further, the speakerphone apparatus includes: an amplifier G3 for adjusting a transmission amount inserted between the echo canceller 20 and the voice switcher 10 in the transmission signal path; and an echo suppressor 30 by transmitting a signal A specific amount of attenuation is inserted into the path to attenuate the residual echo.

所述回音消除器20具有眾所周知的適應性濾波器21及減法器22。回音消除器20藉由適應性濾波器21以適應性方式來識別由揚聲器2與麥克風1之間的聲學耦合而形成的回饋路徑(聲學回音路徑)Hac之脈衝回應,且藉由用減法器22自麥克風放大器G1之輸出信號中減去估計的聲學回音而抑制根據參考信號(對揚聲器放大器G2的輸入信號)所估計的回音成分(聲學回音)。The echo canceller 20 has a well-known adaptive filter 21 and a subtractor 22. The echo canceller 20 recognizes the impulse response of the feedback path (acoustic echo path) Hac formed by the acoustic coupling between the speaker 2 and the microphone 1 in an adaptive manner by the adaptive filter 21, and by using the subtractor 22 The estimated acoustic echo is subtracted from the output signal of the microphone amplifier G1 to suppress the echo component (acoustic echo) estimated from the reference signal (the input signal to the speaker amplifier G2).

語音切換器10包含:傳輸信號衰減器11,用於在傳輸信號路徑中插入損失;接收信號衰減器12,用於在接收信號路徑中插入損失;以及插入損失量控制器13,用於控制由相應的傳輸信號衰減器11及接收信號衰減器12插入的損失量。The voice switcher 10 includes: a transmission signal attenuator 11 for inserting a loss in the transmission signal path; a reception signal attenuator 12 for inserting a loss in the reception signal path; and an insertion loss amount controller 13 for controlling The amount of loss of the corresponding transmission signal attenuator 11 and the received signal attenuator 12 is inserted.

插入損失量控制器13具有總損失量計算器14,其估計經由聲學回音路徑Hac自接收信號衰減器12之輸出點Rout回饋至傳輸信號衰減器11之輸入點Tin之路徑(下文中稱為聲學回饋路徑)C的聲學回饋增益α,並基於對聲學回饋增益α的估計α’來計算待插入之損失量的總和(傳輸信號衰減器11與接收信號衰減器12之插入損失量的總和)。The insertion loss amount controller 13 has a total loss amount calculator 14 that estimates a path fed back from the output point Rout of the reception signal attenuator 12 to the input point Tin of the transmission signal attenuator 11 via the acoustic echo path Hac (hereinafter referred to as acoustics) The acoustic feedback gain α of the feedback path C is calculated and the sum of the losses to be inserted (the sum of the insertion loss amounts of the transmission signal attenuator 11 and the reception signal attenuator 12) is calculated based on the estimate α' of the acoustic feedback gain α.

此外,插入損失量控制器13包含插入損失量(insertion loss amount,ILA)分配處理器15,其藉由監視傳輸信號及接收信號來估計通信狀態,並基於估計的通信狀態及計算之總損失量來判定針對傳輸信號衰減器11及接收信號衰減器12之相應插入損失量的分配。Further, the insertion loss amount controller 13 includes an insertion loss amount (ILA) allocation processor 15 which estimates the communication state by monitoring the transmission signal and the reception signal, and based on the estimated communication state and the calculated total loss amount. The allocation of the respective insertion loss amounts for the transmission signal attenuator 11 and the reception signal attenuator 12 is determined.

此外,可藉由控制硬體(例如,數位信號處理器(digital signal processor,DSP))、藉由軟體(例如,用於回音消除器及語音切換器的程式)來實現回音消除器20及語音切換器10。因此,由未圖示之A/D轉換器(類比至數位轉換器)以特定取樣週期來對輸入至語音切換器10及回音消除器20及自其輸出的信號(傳輸信號及接收信號)進行取樣及量化。In addition, the echo canceller 20 and the voice can be implemented by controlling a hardware (for example, a digital signal processor (DSP)) and a software (for example, a program for an echo canceller and a voice switch). Switcher 10. Therefore, the signals (transmission signals and reception signals) input to and output from the voice switcher 10 and the echo canceller 20 are performed by an A/D converter (analog to digital converter) not shown at a specific sampling period. Sampling and quantification.

總損失量計算器14藉由使用整流器、低通濾波器等來估計輸入至傳輸信號衰減器11之信號及自接收信號衰減器12輸出之信號在短時間週期中的相應平均功率。總損失量計算器14亦獲得在聲學回音路徑Hac中預期之最大延遲時間下對接收信號衰減器12之輸出信號的平均功率估計。隨後,總損失量計算器14將對聲學回饋增益之估計α’設定成一值,所述值是藉由以下方式獲得的:用最大延遲時間下對接收信號衰減器12之輸出信號的平均功率估計除以傳輸信號衰減器11之輸入信號的平均功率估計。The total loss amount calculator 14 estimates the corresponding average power of the signal input to the transmission signal attenuator 11 and the signal output from the reception signal attenuator 12 in a short period of time by using a rectifier, a low-pass filter or the like. The total loss calculator 14 also obtains an average power estimate of the output signal of the received signal attenuator 12 at the maximum delay time expected in the acoustic echo path Hac. Subsequently, the total loss amount calculator 14 sets the estimate α' of the acoustic feedback gain to a value obtained by estimating the average power of the output signal of the received signal attenuator 12 at the maximum delay time. Divided by the average power estimate of the input signal of the transmission signal attenuator 11.

此外,總損失量計算器14藉由使用對聲學回饋增益α之估計α’及所需之增益邊限(gain margin)MG來計算總損失量Lt,並將總損失量Lt輸出至插入損失量分配處理器15。Further, the total loss amount calculator 14 calculates the total loss amount Lt by using the estimate α' of the acoustic feedback gain α and the required gain margin MG, and outputs the total loss amount Lt to the insertion loss amount. The processor 15 is assigned.

插入損失量分配處理器15監視傳輸信號衰減器11及接收信號衰減器12的相應輸入/輸出信號,並基於此等輸入/輸出信號之功率位準中的大小關係以及語音信號的存在來判定通信狀態(接收狀態、傳輸狀態)。此外,插入損失量分配處理器15調整相應衰減器11及12的插入損失量,以便可基於所確定之通信狀態而將總損失量Lt成比例地分配至傳輸信號衰減器11及接收信號衰減器12。The insertion loss amount distribution processor 15 monitors the corresponding input/output signals of the transmission signal attenuator 11 and the reception signal attenuator 12, and determines the communication based on the magnitude relationship in the power levels of the input/output signals and the presence of the speech signal. Status (receive status, transmission status). Further, the insertion loss amount distribution processor 15 adjusts the insertion loss amounts of the respective attenuators 11 and 12 so that the total loss amount Lt can be proportionally distributed to the transmission signal attenuator 11 and the reception signal attenuator based on the determined communication state. 12.

在本實施例中,總損失量計算器14具有更新模式及固定模式,在更新模式中,基於對聲學回饋增益α之估計α'來計算及適應性地更新待插入之損失量的總和,在固定模式中,總損失量固定於一初始值。在通信開始之後在回音消除器20完全收斂之前,總損失量計算器14在固定模式中操作,隨後,在回音消除器完全收斂之後,總損失量計算器14在更新模式中操作。In the present embodiment, the total loss amount calculator 14 has an update mode and a fixed mode in which the sum of the loss amounts to be inserted is calculated and adaptively updated based on the estimate α' of the acoustic feedback gain α, In fixed mode, the total loss is fixed at an initial value. The total loss amount calculator 14 operates in the fixed mode before the echo canceller 20 is fully converged after the start of communication, and then, after the echo canceller is fully converged, the total loss amount calculator 14 operates in the update mode.

亦即,一旦在通信開始後的特定時期內(例如,數百毫秒或更久)聲學回饋增益α之估計α’的值保持在臨限值ε以下(例如,比通信開始時之估計α’小10 dB至15 dB的值),總損失量計算器14便認為回音消除器20已充分收斂,且切換成此後在更新模式中操作,且直至此時之前其一直在固定模式中操作。此外,在固定模式中,初始值被設定為充分大於更新模式中按場合需要而更新的總損失量的值。That is, once the value of the estimate α' of the acoustic feedback gain α is maintained within a certain period of time after the start of communication (for example, hundreds of milliseconds or longer), it is kept below the threshold ε (for example, an estimate α from the start of communication). The small loss amount calculator 14 considers that the echo canceller 20 has sufficiently converged and switches to operate in the update mode thereafter, and until now it has been operating in the fixed mode. Further, in the fixed mode, the initial value is set to a value sufficiently larger than the total loss amount updated in the update mode as occasion demands.

因此,雖然回音消除器20在通信開始後並未立即充分收斂,但總損失量計算器14在固定模式中操作,且將總損失量設定成具有充分大的值的初始值,且因此可抑制令人不適的回音(聲學回音)或嘯聲的發生,並達成穩定的半雙工通信。Therefore, although the echo canceller 20 does not sufficiently converge immediately after the start of communication, the total loss amount calculator 14 operates in the fixed mode, and sets the total loss amount to an initial value having a sufficiently large value, and thus can be suppressed Uncomfortable echo (acoustic echo) or howling occurs and achieves stable half-duplex communication.

此外,當回音消除器20在自通信開始時間後經過合理時間之後完全收斂時,總損失量計算器14的操作模式自固定模式改變成更新模式,且待插入之總損失量減小成充分低於初始值的值,且因此可達成全雙工通信。Further, when the echo canceller 20 completely converges after a reasonable time elapses from the communication start time, the operation mode of the total loss amount calculator 14 is changed from the fixed mode to the update mode, and the total loss amount to be inserted is reduced to be sufficiently low. The value of the initial value, and thus full duplex communication can be achieved.

下文中,將參看圖2來解釋總損失量計算器14在更新模式中的具體操作。Hereinafter, the specific operation of the total loss amount calculator 14 in the update mode will be explained with reference to FIG.

總損失量計算器14在自固定模式改變成更新模式之時間點後的特定取樣時期內執行對聲學回饋增益α的估計處理,並計算對聲學回饋增益α的估計α'(步驟1)。根據估計α’及增益邊限MG,藉由使用以下公式來計算所需之總損失量Lr(n)(步驟2),以便可維持閉環路的增益邊限MG[dB]:The total loss amount calculator 14 performs an estimation process of the acoustic feedback gain α in a specific sampling period after the time point from the fixed mode to the update mode, and calculates an estimate α' of the acoustic feedback gain α (step 1). Based on the estimated α' and the gain margin MG, the required total loss amount Lr(n) is calculated by using the following formula (step 2) so that the gain margin MG [dB] of the closed loop can be maintained:

Lr(n)=20 log|α'(n)|+MG[dB]Lr(n)=20 log|α'(n)|+MG[dB]

此處,α'(n)及Lr(n)分別為對聲學回饋增益α的估計α'及所需之總損失量,其是由固定模式改變成更新模式之時間點起之第n次取樣計算的。此外,當所需之總損失量Lr(n)大於在第(n-1)次取樣處確定且實際插入的先前總損失量Lt(n-1)時,總損失量計算器14將微小增量Δi[dB]添加至先前總損失量Lt(n-1)(步驟3及4)。亦即,總損失量計算器14將總損失量Lt(n)設定成Lt(n-1)+Δi。Here, α'(n) and Lr(n) are the estimated α' of the acoustic feedback gain α and the total amount of loss required, respectively, which is the nth sampling from the time point when the fixed mode is changed to the update mode. computational. Further, when the required total loss amount Lr(n) is larger than the previous total loss amount Lt(n-1) determined at the (n-1)th sampling and actually inserted, the total loss amount calculator 14 will be slightly increased. The amount Δi [dB] is added to the previous total loss amount Lt(n-1) (steps 3 and 4). That is, the total loss amount calculator 14 sets the total loss amount Lt(n) to Lt(n-1) + Δi.

此外,當所要之總損失量Lr(n)小於先前總損失量Lt(n-1)時,總損失量計算器14自先前總損失量Lt(n-1)中減去微小的減量Δd[dB],並將總損失量設定成所述減法的結果(步驟5及6)。亦即Lt(n)=Lt(n-1)-Δd。Further, when the total amount of loss Lr(n) is smaller than the previous total loss amount Lt(n-1), the total loss amount calculator 14 subtracts a small amount of decrease Δd from the previous total loss amount Lt(n-1) [ dB], and the total loss is set as the result of the subtraction (steps 5 and 6). That is, Lt(n)=Lt(n-1)-Δd.

如上所述,由於總損失量計算器14分別使總損失量增加及減小微小的值Δi及Δd,因此即使在聲學回饋增益α因回音消除器20正在活動地更新係數(濾波器係數)以收斂而廣泛波動時(就像在與對方之通信終端剛開始通信後)亦可消除聽的過程中令人不舒服的感覺。As described above, since the total loss amount calculator 14 increases and decreases the total loss amount by the small values Δi and Δd, respectively, even if the acoustic feedback gain α is actively updating the coefficient (filter coefficient) due to the echo canceller 20 Convergence and wide fluctuations (just as after the communication terminal with the other party has just started communication) can also eliminate the uncomfortable feeling during the listening process.

如上文關於習知實例所述,若在多個揚聲電話裝置間執行數位通信如IP通信,則因封包處理或用於抑制抖動之通信緩衝處理,可能會在語音資料傳輸中發生延遲。一般而言,已知當在多個揚聲電話裝置之間的語音資料傳輸中發生延遲時,隨著延遲時間的量變長,通信時說話人對回音的容忍度變差,且因此說話人可察覺到甚至一種微小的回音,因而感到不適。藉由針對固定模式而設定比習知實例之初始值大的初始值,可防止此令人不適之回音。As described above with respect to the conventional example, if digital communication such as IP communication is performed between a plurality of speakerphone devices, delay may occur in voice data transmission due to packet processing or communication buffer processing for suppressing jitter. In general, it is known that when a delay occurs in the transmission of voice data between a plurality of speakerphone devices, as the amount of delay time becomes longer, the speaker's tolerance to echo is deteriorated during communication, and thus the speaker can I noticed even a small echo and felt uncomfortable. This unpleasant echo can be prevented by setting an initial value larger than the initial value of the conventional example for the fixed mode.

然而,回音容限之降級量有時可能會達到數十分貝,此在更新模式下無法被回音消除器之抑制量完全覆蓋。在此情況下,在半雙工而非全雙工下執行通信。此外,當噪聲位準較高時,可能會發生如下問題:其中語音切換器繼續在傳輸側及接收側中僅一側接通,且因此,來自一側之語音不被傳輸至另一側。However, the amount of degradation of the echo tolerance may sometimes reach a few tenths of a mile, which cannot be completely covered by the cancellation of the echo canceller in the update mode. In this case, communication is performed at half duplex instead of full duplex. Further, when the noise level is high, a problem may occur in which the voice switcher continues to be turned on only one side of the transmission side and the reception side, and therefore, the voice from one side is not transmitted to the other side.

在此方面,在本實施例中,在傳輸信號路徑中在回音消除器20與語音切換器10後面額外提供回音抑制器30。回音抑制器30使本應已由回音消除器20抑制之聲學回音(下文中稱為「殘餘回音」)衰減。回音抑制器30需要在傳輸語音信號(傳輸信號)而不加衰減的同時有效地使殘餘回音衰減。In this regard, in the present embodiment, the echo suppressor 30 is additionally provided in the transmission signal path behind the echo canceller 20 and the voice switcher 10. The echo suppressor 30 attenuates the acoustic echo (hereinafter referred to as "residual echo") which should have been suppressed by the echo canceller 20. The echo suppressor 30 needs to effectively attenuate the residual echo while transmitting the speech signal (transmission signal) without attenuating.

回音抑制器30結合語音切換器10而將一衰減量插入至傳輸信號路徑內,且更具體而言,如圖3所示之流程圖中圖示方式而操作。亦即,回音抑制器30繼續監視(步驟11)語音切換器10的狀態(插入損失量分配處理器15對通信狀態的估計結果(接收狀態或傳輸狀態))。當語音切換器10處在接收狀態時,回音抑制器30認為無任何語音信號被傳輸至傳輸信號路徑,且藉由將自語音切換器10輸入之信號來與特定衰減係數相乘而使其衰減並將其輸出(步驟12)。The echo suppressor 30 incorporates an attenuation amount into the transmission signal path in conjunction with the voice switcher 10, and more specifically, as illustrated in the flow chart of FIG. That is, the echo suppressor 30 continues to monitor (step 11) the state of the voice switcher 10 (the insertion loss amount allocation processor 15 estimates the communication state (reception state or transmission state)). When the voice switcher 10 is in the receiving state, the echo suppressor 30 considers that no voice signal is transmitted to the transmission signal path, and attenuates it by multiplying the signal input from the voice switcher 10 by a specific attenuation coefficient. And output it (step 12).

此外,當語音切換器10處在傳輸狀態時,回音抑制器30認為沒有任何殘餘回音待消除或任何語音信號(傳輸信號)待傳輸,且將自語音切換器10輸入之信號不加衰減地按原樣輸出(步驟13)。Further, when the voice switcher 10 is in the transmission state, the echo suppressor 30 considers that there is no residual echo to be cancelled or any voice signal (transmission signal) to be transmitted, and the signal input from the voice switcher 10 is pressed without attenuation. Output as it is (step 13).

藉由根據本發明之第一實施例,即便在多個通信裝置之間傳輸之語音內發生傳輸延遲,回音抑制器亦有效地使傳輸信號路徑中因傳輸延遲發生的殘餘回音衰減,藉此達成全雙工通信。According to the first embodiment of the present invention, even if a transmission delay occurs in a voice transmitted between a plurality of communication devices, the echo suppressor effectively attenuates the residual echo due to the transmission delay in the transmission signal path, thereby achieving Full duplex communication.

在此點,當回音抑制器30在語音切換器10例如處在傳輸狀態而非接收狀態時在傳輸信號路徑中插入一衰減量時,自近端側之說話人(在本實施例中為使用揚聲電話裝置通信的說話人)發出的語音受到衰減,此不合需要,且可能會被對方通信裝置處的說話人聽到而像語音拐折(inflection)一樣,其中語音之音量變低或變高。然而,在本實施例中,當語音切換器10處在接收狀態時,回音抑制器30在傳輸信號路徑內插入一衰減量,且當語音切換器10處在傳輸狀態時,回音抑制器30不在傳輸信號路徑中插入衰減量。因此,可僅使令人不適之回音(殘餘回音)衰減,而不會發生語音拐折。At this point, when the echo suppressor 30 inserts an attenuation amount in the transmission signal path when the voice switcher 10 is in the transmission state instead of the reception state, for example, the speaker from the near end side (in this embodiment, the use) The speech emitted by the speaker of the speakerphone device is attenuated, which is undesirable and may be heard by the speaker at the other party's communication device like a voice inflection, where the volume of the voice becomes lower or higher. . However, in the present embodiment, when the voice switcher 10 is in the receiving state, the echo suppressor 30 inserts an attenuation amount in the transmission signal path, and when the voice switcher 10 is in the transmission state, the echo suppressor 30 is not present. The amount of attenuation is inserted in the transmission signal path. Therefore, only the uncomfortable echo (residual echo) can be attenuated without a speech inflection.

此外,若回音抑制器30安置在傳輸信號路徑中在語音切換器10前面且錯誤地使傳輸信號衰減,則因傳輸信號被回音抑制器30錯誤地衰減而可能在語音切換器10內發生語音拐折。然而,在本實施例中,由於回音抑制器30於傳輸信號路徑中是配置在回音消除器20及語音切換器10後面,且相應的處理以所述次序來執行,所以即便回音抑制器30錯誤地使傳輸信號衰減,亦能在語音切換器10中抑制語音拐折的發生。因此,可為通信提供令人愉快的環境。Furthermore, if the echo suppressor 30 is placed in front of the voice switcher 10 in the transmission signal path and erroneously attenuates the transmission signal, a voice call may occur in the voice switcher 10 because the transmission signal is erroneously attenuated by the echo suppressor 30. fold. However, in the present embodiment, since the echo suppressor 30 is disposed behind the echo canceller 20 and the voice switcher 10 in the transmission signal path, and the corresponding processing is performed in the stated order, even if the echo suppressor 30 is in error The transmission signal is attenuated, and the occurrence of a voice inflection can also be suppressed in the voice switcher 10. Therefore, a pleasant environment can be provided for communication.

同時,本發明人已提出一種揚聲電話裝置,其中在傳輸信號路徑中在語音切換器後面提供用於插入損失的衰減器(見第2003-324371號日本專利申請公開案)。然而,在此文檔中,僅在傳輸信號之暫時功率估計在特定時期內保持在一臨限值以下時,衰減器才在傳輸信號路徑中插入特定量的損失。因此,若回音具有高於所述臨限值的大音量,則衰減器不插入損失,且令人不適的回音可能被傳輸至對方。Meanwhile, the present inventors have proposed a speakerphone apparatus in which an attenuator for insertion loss is provided behind a voice switcher in a transmission signal path (see Japanese Patent Application Laid-Open No. 2003-324371). However, in this document, the attenuator inserts a certain amount of loss in the transmission signal path only when the temporary power estimate of the transmitted signal remains below a threshold for a certain period of time. Therefore, if the echo has a large volume above the threshold, the attenuator does not insert a loss, and an unpleasant echo may be transmitted to the other party.

此外,即便自近端側處之說話人發出之語音的功率位準低於所述臨限值,衰減器亦可能因插入損失而意外地使語音信號衰減。然而,在根據實施例之揚聲電話裝置中,回音抑制器30進行操作以結合語音切換器10而插入一衰減量,藉此防止以上情況發生。Furthermore, even if the power level of the speech from the speaker at the proximal end is below the threshold, the attenuator may accidentally attenuate the speech signal due to insertion loss. However, in the speakerphone apparatus according to the embodiment, the echo suppressor 30 operates to incorporate an amount of attenuation in conjunction with the voice switcher 10, thereby preventing the above from occurring.

第二實施例Second embodiment

圖4示意性繪示根據本發明之第二實施例之揚聲電話裝置的方塊圖。第二實施例之揚聲電話裝置不同於第一實施例之揚聲電話裝置,因為回音抑制器30結合回音消除器20而在傳輸信號路徑中提供一衰減量,且其它方面與第一實施例中的方面相同。因此,相同組件由相同標號表示,且將省略對其的說明。Fig. 4 is a block diagram schematically showing a speakerphone apparatus according to a second embodiment of the present invention. The speakerphone device of the second embodiment is different from the speakerphone device of the first embodiment in that the echo suppressor 30 is combined with the echo canceller 20 to provide an amount of attenuation in the transmission signal path, and other aspects are the same as the first embodiment. The same is true. Therefore, the same components are denoted by the same reference numerals, and the description thereof will be omitted.

在此實施例中,除了適應性濾波器21及減法器22,回音消除器20包含雙端通話偵測器(doubletalk detector)23。雙端通話偵測器23基於自麥克風放大器G1輸出之信號是否包含適應性濾波器21之某一位準的信號干擾收斂,來偵測雙端通話,即,近端說話人與遠端說話人實質上同時對彼此說話的狀態。當雙端通話偵測器23偵測到雙端通話時,適應性濾波器21不更新濾波器係數,且保持先前值。In this embodiment, in addition to the adaptive filter 21 and the subtractor 22, the echo canceller 20 includes a double talk detector 23. The double talk detector 23 detects double talk, that is, the near speaker and the far end speaker, based on whether the signal output from the microphone amplifier G1 includes a signal interference convergence of a certain level of the adaptive filter 21. The state of speaking to each other at substantially the same time. When the double talk detector 23 detects a double talk, the adaptive filter 21 does not update the filter coefficients and maintains the previous value.

接下來,將參看圖5所示之流程圖來解釋回音抑制器30之操作。回音抑制器30繼續監視回音抑制器20的雙端通話偵測器23(步驟21)。當雙端通話偵測器23未偵測到雙端通話時,回音抑制器30確定存在待消除之殘餘回音或傳輸信號路徑中無待傳輸的語音信號,且藉由使輸入信號與特定衰減係數相乘而使其衰減並將其輸出(步驟22)。Next, the operation of the echo suppressor 30 will be explained with reference to the flowchart shown in FIG. The echo suppressor 30 continues to monitor the double talk detector 23 of the echo suppressor 20 (step 21). When the double talk detector 23 does not detect the double talk, the echo suppressor 30 determines that there is a residual echo in the to-be-removed or a voice signal to be transmitted in the transmission signal path, and by making the input signal and the specific attenuation coefficient Multiply it to attenuate and output it (step 22).

此外,當雙端通話偵測器23偵測到雙端通話時,回音抑制器30確定存在待傳輸之語音信號,且藉由不使輸入信號與特定衰減係數相乘而將輸入信號不加衰減地輸出(步驟23)。In addition, when the double talk detector 23 detects the double talk, the echo suppressor 30 determines that there is a voice signal to be transmitted, and does not attenuate the input signal by not multiplying the input signal by a specific attenuation coefficient. Ground output (step 23).

藉由第二實施例,即便在多個通信裝置之間傳輸之語音內發生傳輸延遲,回音抑制器亦能有效地使傳輸信號路徑中因傳輸延遲而發生的殘餘回音衰減,藉此達成全雙工通信。With the second embodiment, even if a transmission delay occurs in the voice transmitted between the plurality of communication devices, the echo suppressor can effectively attenuate the residual echo caused by the transmission delay in the transmission signal path, thereby achieving a full double Communication.

在此實施例中,當雙端通話偵測器23正在偵測雙端通話時,回音抑制器30不在傳輸信號路徑中插入衰減量,且當雙端通話偵測器23未偵測到雙端通話時,回音抑制器30在傳輸信號路徑中插入衰減量。因此,可防止自近端側處之說話人發出的語音被錯誤地衰減,且防止語音中發生拐折。此外,由於在通信時可使令人不適的回音衰減,所以可為通信提供令人愉快的環境。In this embodiment, when the double talk detector 23 is detecting a double talk, the echo suppressor 30 does not insert an attenuation amount in the transmission signal path, and when the double talk detector 23 does not detect the double end When talking, the echo suppressor 30 inserts an attenuation amount in the transmission signal path. Therefore, it is possible to prevent the voice from the speaker at the near end side from being erroneously attenuated, and to prevent the inflection in the voice. In addition, since an unpleasant echo can be attenuated during communication, a pleasant environment can be provided for communication.

此外,由於在此實施例中可使用回音消除器20中提供的雙端通話偵測構件(雙端通話偵測器23),所以可達成組態之簡化(例如,在DSP內執行之程式量的減少、DSP內之較低的規範、用於儲存程式之ROM容量的減少等等),以及成本減少。Furthermore, since the double talk detection component (double talk detector 23) provided in the echo canceller 20 can be used in this embodiment, simplification of the configuration can be achieved (for example, the amount of execution in the DSP) Reduction, lower specifications in the DSP, reduction in ROM capacity for storing programs, etc., and cost reduction.

第三實施例Third embodiment

圖6圖示根據本發明之第三實施例之揚聲電話裝置的方塊圖。本實施例之基本組態與第一實施例及第二實施例相同,區別在於,回音抑制器30結合語音切換器10及回音消除器20兩者而在傳輸信號路徑中插入一衰減量。因此,相同組件由相同標號來表示,且將省略對其的說明。Figure 6 is a block diagram showing a speakerphone apparatus in accordance with a third embodiment of the present invention. The basic configuration of this embodiment is the same as that of the first embodiment and the second embodiment, except that the echo suppressor 30 incorporates both the voice switcher 10 and the echo canceller 20 to insert an attenuation amount in the transmission signal path. Therefore, the same components are denoted by the same reference numerals, and the description thereof will be omitted.

下文中將參看圖7來解釋回音抑制器30的操作。回音抑制器30一直監視語音切換器10的狀態(步驟31),且當語音切換器10處在接收狀態時,回音抑制器30判定雙端通話偵測器23是否偵測到雙端通話(步驟32)。當雙端通話偵測器未偵測到雙端通話時,回音抑制器30認為存在待消除之殘餘回音或並無待傳輸的語音信號,且藉由使輸入信號與特定衰減係數相乘而使其衰減而將其輸出(步驟33)。The operation of the echo suppressor 30 will be explained hereinafter with reference to FIG. The echo suppressor 30 constantly monitors the state of the voice switcher 10 (step 31), and when the voice switcher 10 is in the receiving state, the echo suppressor 30 determines whether the double talk detector 23 detects a double talk (step 32). When the double talk detector does not detect the double talk, the echo suppressor 30 considers that there is a residual echo to be cancelled or a voice signal to be transmitted, and by multiplying the input signal by a specific attenuation coefficient. It is attenuated and outputted (step 33).

當語音切換器10不處在接收狀態時,或在語音切換器10處在接收狀態時當雙端通話偵測器23偵測到雙端通話時,回音抑制器30判定無殘餘回音或有語音信號待傳輸,且將輸入信號不加衰減地按原樣輸出(步驟34)。When the voice switcher 10 is not in the receiving state, or when the voice switcher 10 is in the receiving state, when the double talk detector 23 detects the double talk, the echo suppressor 30 determines that there is no residual echo or voice. The signal is to be transmitted, and the input signal is output as it is without attenuation (step 34).

藉由此實施例,可防止自近端側處之說話人發出的語音被錯誤地衰減,且防止語音中發生拐折。此外,回音抑制器30可僅使令人不適的回音衰減,而未發生令人不適之殘餘回音(因為回音抑制器30未意外地插入衰減量),藉此提供用於通信之令人愉快的環境。With this embodiment, it is possible to prevent the voice from the speaker at the near end side from being erroneously attenuated and to prevent the inflection in the voice. Furthermore, the echo suppressor 30 can only attenuate unpleasant echoes without unpleasant residual echoes (because the echo suppressor 30 does not accidentally insert an amount of attenuation), thereby providing a pleasing communication for communication. surroundings.

此處,回音抑制器30可基於聲學回饋增益α之估計α’來調整該傳輸信號路徑中插入的衰減量,聲學回饋增益α之估計α’由總損失量計算器14來估計。接下來,將參考圖8對回音抑制器30在回音抑制器30調整該傳輸信號路徑中插入之衰減量時之操作進行說明。Here, the echo suppressor 30 can adjust the amount of attenuation inserted in the transmission signal path based on the estimate α' of the acoustic feedback gain α, which is estimated by the total loss amount calculator 14. Next, an operation of the echo suppressor 30 when the echo suppressor 30 adjusts the amount of attenuation inserted in the transmission signal path will be described with reference to FIG.

回音抑制器30一直監視語音切換器10的狀態(步驟41)。當語音切換器10處在接收狀態時,回音抑制器30判定雙端通話偵測器23是否偵測到雙端通話(步驟42)。當語音切換器10不處在接收狀態時,或在語音切換器10處在接收狀態時當雙端通話偵測器偵測到雙端通話時,回音抑制器30認為無殘餘回音或有語音信號待傳輸,且將輸入信號不加衰減地按原樣輸出(步驟47)。The echo suppressor 30 constantly monitors the state of the voice switcher 10 (step 41). When the voice switcher 10 is in the receiving state, the echo suppressor 30 determines whether the double talk detector 23 detects a double talk (step 42). When the voice switcher 10 is not in the receiving state, or when the voice switcher 10 is in the receiving state, when the double talk detector detects a double talk, the echo suppressor 30 considers that there is no residual echo or voice signal. To be transmitted, and the input signal is output as it is without attenuation (step 47).

另一方面,當語音切換器10處在接收狀態且雙端通話偵測器23未偵測到雙端通話時,回音抑制器30設定一衰減係數,將所述衰減係數與輸入信號相乘以達到標準值SUP_MIN(步驟43)。此後,當語音切換器10估計之對聲學回饋增益α的估計α’與總損失量Lt(n)的總和為臨限值TH或更大(步驟44)時,則回音抑制器30將衰減係數自標準值SUP_MIN改變為大於標準值的上限SUP_MAX(步驟45)。On the other hand, when the voice switcher 10 is in the receiving state and the double talk detector 23 does not detect the double talk, the echo suppressor 30 sets an attenuation coefficient, and multiplies the attenuation coefficient by the input signal. The standard value SUP_MIN is reached (step 43). Thereafter, when the sum of the estimated α' of the acoustic feedback gain α estimated by the voice switcher 10 and the total loss amount Lt(n) is the threshold value TH or more (step 44), the echo suppressor 30 will attenuate the coefficient. The standard value SUP_MIN is changed to be greater than the upper limit SUP_MAX of the standard value (step 45).

此外,當語音切換器10估計之對聲學回饋增益α的估計α’與總損失量Lt(n)的總和小於臨限值TH(步驟44)時,回音抑制器30不加改變地維持標準值SUP_MIN以作為衰減係數。最後,回音抑制器30藉由使輸入信號與所確定之衰減係數(標準值SUP_MIN或上限SUP_MAX)相乘而使輸入信號衰減,並輸出結果(步驟46)。Further, when the sum of the estimated α' of the acoustic feedback gain α estimated by the voice switcher 10 and the total loss amount Lt(n) is smaller than the threshold value TH (step 44), the echo suppressor 30 maintains the standard value without change. SUP_MIN is used as the attenuation coefficient. Finally, the echo suppressor 30 attenuates the input signal by multiplying the input signal by the determined attenuation coefficient (standard value SUP_MIN or upper limit SUP_MAX) and outputs the result (step 46).

藉由此組態,即便回音抑制器30錯誤地使自近端側處之說話人發出的語音衰減,亦可防止語音拐折。With this configuration, even if the echo suppressor 30 erroneously attenuates the speech from the speaker at the near end side, the voice inflection can be prevented.

同時,若說話人處在周圍噪聲通常為高位準的環境中,則回音消除器20的適應性濾波器21在通信開始後較長的時期內不更新濾波器係數。出於所述原因,回音消除器20不收斂,且雙端通話偵測器23無法正確地偵測到雙端通話。在此情況下,即便語音切換器10處在接收狀態且雙端通話偵測器23未偵測到雙端通話,回音抑制器30亦可將輸入信號不加衰減地按原樣輸出,此可能引起令人不適的殘餘回音。Meanwhile, if the speaker is in an environment where the ambient noise is generally high, the adaptive filter 21 of the echo canceller 20 does not update the filter coefficients for a long period of time after the start of communication. For the reason described, the echo canceller 20 does not converge, and the double talk detector 23 cannot correctly detect the double talk. In this case, even if the voice switcher 10 is in the receiving state and the double talk detector 23 does not detect the double talk, the echo suppressor 30 can output the input signal as it is without attenuation, which may cause Uncomfortable residual echo.

在此方面,雖然回音消除器20在經由對方之通信終端開始通信後未充分收斂,但當插入損失量分配處理器15估計語音切換器10處在接收狀態時回音抑制器30在傳輸信號路徑中插入特定衰減量。亦即,回音抑制器30使令人不適之殘餘回音衰減,而回音消除器20在通信開始後並不充分收斂,藉此達成用於揚聲電話通信之令人愉快的環境。In this regard, although the echo canceller 20 does not sufficiently converge after starting communication via the communication terminal of the other party, the echo canceller 30 is in the transmission signal path when the insertion loss amount distribution processor 15 estimates that the voice switcher 10 is in the reception state. Insert a specific amount of attenuation. That is, the echo suppressor 30 attenuates the uncomfortable residual echo, and the echo canceller 20 does not sufficiently converge after the start of communication, thereby achieving a pleasant environment for speakerphone communication.

另一方面,若在總損失量計算器14正在固定模式中操作時(如在通信剛開始後)同時自近端側及遠端側輸入不同語音,則語音切換器10在接收狀態與傳輸狀態之間交替。出於所述原因,回音抑制器30不正確操作,且因此在所傳輸之語音中可能會發生拐折,其中所傳輸之語音的位準大幅波動。On the other hand, if the total loss amount calculator 14 is operating in the fixed mode (e.g., immediately after the start of communication) while inputting different voices from the near-end side and the far-end side, the voice switcher 10 is in the receiving state and the transmitting state. Alternate between. For the reason described, the echo suppressor 30 does not operate properly, and thus an inflection may occur in the transmitted speech, where the level of the transmitted speech fluctuates greatly.

在此方面,當插入損失量分配處理器15估計語音切換器10不處在接收狀態或當在傳輸信號路徑中正插入特定衰減量時雙端通話偵測器23偵測到雙端通話時,回音抑制器30立即停止將特定衰減量插入至傳輸信號路徑中。此使得可防止因傳輸信號之錯誤衰減而發生拐折,藉此為揚聲電話通信提供令人愉快的條件。In this regard, when the insertion loss amount distribution processor 15 estimates that the voice switcher 10 is not in the reception state or when the specific amount of attenuation is being inserted in the transmission signal path, the double talk detector 23 detects the double talk, the echo The suppressor 30 immediately stops inserting a specific amount of attenuation into the transmission signal path. This makes it possible to prevent the inflection due to the erroneous attenuation of the transmission signal, thereby providing a pleasant condition for the speakerphone communication.

第四實施例Fourth embodiment

圖9繪示根據本發明之第四實施例之揚聲電話裝置的方塊圖。在此實施例中,特徵在於回音抑制器30藉由使用接收信號之信號位準平均值來調整衰減量,且本實施例之其它基本組態與第三實施例的相同。因此,相同組件由相同標號表示,且將省略對其的說明。Figure 9 is a block diagram showing a speakerphone apparatus in accordance with a fourth embodiment of the present invention. In this embodiment, it is characterized in that the echo suppressor 30 adjusts the amount of attenuation by using the signal level average value of the received signal, and the other basic configuration of the embodiment is the same as that of the third embodiment. Therefore, the same components are denoted by the same reference numerals, and the description thereof will be omitted.

在本實施例中,適應性濾波器21以適應性方式來識別聲學回音路徑Hac的脈衝回應,並根據自遠端側輸入之信號y(n)(即,輸入至揚聲器放大器G2的接收信號)來估計回音成分(聲學回音)g(n)。為了估計回音成分g(n),藉由使用以下公式來更新過濾器係數hp(n):In the present embodiment, the adaptive filter 21 recognizes the impulse response of the acoustic echo path Hac in an adaptive manner and based on the signal y(n) input from the far-end side (i.e., the received signal input to the speaker amplifier G2) To estimate the echo component (acoustic echo) g(n). To estimate the echo component g(n), update the filter coefficient hp(n) by using the following formula:

Hp(n+1)=hp(n)+K‧F(Ey(n))Hp(n+1)=hp(n)+K‧F(Ey(n))

此處,p為分支(tap)數目,n為取樣週期,K為步長增益(step gain),F(n)為係數更新函數。此外,Ey(n)為輸入信號(接收信號)y(n)之信號位準平均值,其是藉由使用該適應性濾波器21中提供之信號位準平均值(signal level average,SLA)運算單元24中之以下公式來計算的。此處,SPAN為增加該輸入信號y(n)之大小abs[y(n)]時的時期。Here, p is the number of taps, n is the sampling period, K is the step gain, and F(n) is the coefficient update function. Further, Ey(n) is a signal level average of the input signal (received signal) y(n) by using a signal level average (SLA) provided in the adaptive filter 21. The following formula in the arithmetic unit 24 is calculated. Here, SPAN is a period when the size of the input signal y(n) is abs[y(n)].

此外,回音成分(估計)g(n)可藉由使用以下公式來計算:In addition, the echo component (estimation) g(n) can be calculated by using the following formula:

在本實施例中,回音抑制器30由適應性濾波器21中提供之SLA運算單元獲得信號位準平均值Ey(n)。In the present embodiment, the echo suppressor 30 obtains the signal level average Ey(n) from the SLA operation unit provided in the adaptive filter 21.

下文中,將參看圖10所示之流程圖來解釋回音抑制器30的操作。Hereinafter, the operation of the echo suppressor 30 will be explained with reference to the flowchart shown in FIG.

回音抑制器30一直監視語音切換器10的狀態(步驟51)。當語音切換器10處在接收狀態時,回音抑制器30判定回音消除器20之雙端通話偵測器23是否偵測到雙端通話(步驟52)。當語音切換器10不處在接收狀態時,或當雙端通話偵測器23偵測到雙端通話且語音切換器10處在接收狀態時,回音抑制器30認為無殘餘回音或有語音信號待傳輸,且將輸入信號不加衰減地按原樣輸出(步驟58)。The echo suppressor 30 constantly monitors the state of the voice switcher 10 (step 51). When the voice switcher 10 is in the receiving state, the echo suppressor 30 determines whether the double talk detector 23 of the echo canceller 20 detects a double talk (step 52). When the voice switcher 10 is not in the receiving state, or when the double talk detector 23 detects the double talk and the voice switcher 10 is in the receiving state, the echo suppressor 30 considers that there is no residual echo or voice signal. To be transmitted, and the input signal is output as it is without attenuation (step 58).

另一方面,當語音切換器10處在接收狀態且雙端通話偵測器23未偵測到雙端通話時,由回音抑制器30來進行的與輸入信號相乘的衰減係數取決於由SLA運算單元24計算的信號位準平均值RS_AVE(n)(=Ey(n))。更具體而言,當RS_AVE(n)>TH時可根據以下公式(1)來判定衰減係數,且當RS_AVE(n)<TH時可根據以下公式(2)來判定衰減係數:On the other hand, when the voice switcher 10 is in the receiving state and the double talk detector 23 does not detect the double talk, the attenuation coefficient multiplied by the input signal by the echo suppressor 30 depends on the SLA. The signal level average value RS_AVE(n) (=Ey(n)) calculated by the arithmetic unit 24. More specifically, when RS_AVE(n)>TH, the attenuation coefficient can be determined according to the following formula (1), and when RS_AVE(n)<TH, the attenuation coefficient can be determined according to the following formula (2):

此處,SUP_MAX及SUP_MIN分別為抑制對應於大聲(loud voice)(例如,OOdB聲壓或更大)之信號位準及對應於標準音量(例如,OO~OOdB聲壓)之信號位準所需要的衰減係數,且RS_AVEmax為大聲的信號位準平均值RS_AVE(n)。關於公式(2),當每個取樣週期RS_AVE(n)□TH時,衰減係數乘以特定轉變係數(transition coefficient)且自SUP_MAX×RS_AVE(n)/RS_AVEmax逐漸減小至SUP_MIN,其中SUP_MIN設定為衰減係數的下限。Here, SUP_MAX and SUP_MIN are respectively suppressing a signal level corresponding to a loud voice (for example, OOdB sound pressure or more) and a signal level corresponding to a standard volume (for example, OO to OOdB sound pressure). The required attenuation factor, and RS_AVEmax is the loud signal level average RS_AVE(n). Regarding formula (2), when each sampling period RS_AVE(n)□TH, the attenuation coefficient is multiplied by a specific transition coefficient and gradually decreased from SUP_MAX×RS_AVE(n)/RS_AVEmax to SUP_MIN, where SUP_MIN is set to The lower limit of the attenuation factor.

更具體而言,回音抑制器30首先判定衰減係數是否設定為SUP_MIN(步驟53)。當衰減係數未設定為SUP_MIN時,回音抑制器30使其與轉變係數相乘,藉此設定新的衰減係數(步驟54)。否則,則將SUP_MIN用作衰減係數,因為其是衰減係數的下限。More specifically, the echo suppressor 30 first determines whether the attenuation coefficient is set to SUP_MIN (step 53). When the attenuation coefficient is not set to SUP_MIN, the echo suppressor 30 multiplies it by the conversion coefficient, thereby setting a new attenuation coefficient (step 54). Otherwise, SUP_MIN is used as the attenuation coefficient because it is the lower limit of the attenuation coefficient.

接下來,若RS_AVE(n)>TH,亦即滿足公式(1)的條件(步驟55),則回音抑制器30將衰減係數設定為SUP_MAX×RS_AVE(n)/RS_AVEmax(步驟56),否則,使用先前步驟中設定的衰減係數而不改變衰減係數。最後,回音抑制器30藉由使輸入信號與設定之衰減係數相乘而使輸入信號衰減以便輸出(步驟57)。Next, if RS_AVE(n) > TH, that is, the condition of the formula (1) is satisfied (step 55), the echo suppressor 30 sets the attenuation coefficient to SUP_MAX × RS_AVE(n) / RS_AVEmax (step 56), otherwise, Use the attenuation factor set in the previous step without changing the attenuation factor. Finally, the echo suppressor 30 attenuates the input signal for output by multiplying the input signal by the set attenuation coefficient (step 57).

藉由本實施例,即便回音抑制器30意外地使自近端側處之說話人發出的語音衰減,亦可抑制語音拐折的發生。此外,由於藉由使用回音消除器20中提供的信號位準平均值運算單元24來計算信號位準平均值RS_AVE(n),所以可達成組態之簡化(例如,在DSP內執行之程式量的減少、DSP內之較低的規範、用於儲存程式之ROM容量的減少等等),以及成本減少。With the present embodiment, even if the echo suppressor 30 accidentally attenuates the speech from the speaker at the near end side, the occurrence of the speech inflection can be suppressed. Furthermore, since the signal level average value RS_AVE(n) is calculated by using the signal level average operation unit 24 provided in the echo canceller 20, simplification of the configuration can be achieved (for example, the amount of program executed in the DSP) Reduction, lower specifications in the DSP, reduction in ROM capacity for storing programs, etc., and cost reduction.

第五實施例Fifth embodiment

接下來,將參看圖式來解釋本發明的第五實施例。在本實施例中,回音抑制器30結合語音切換器10、回音消除器20之雙端通話偵測器23以及回音消除器20之適應性濾波器21中提供的信號位準平均值(SLA)運算單元24而在傳輸信號路徑中插入衰減量。本實施例之其它組態與第四實施例相同。因此,相同組件由相同標號表示,且將省略對其的說明。Next, a fifth embodiment of the present invention will be explained with reference to the drawings. In the present embodiment, the echo suppressor 30 combines the signal level average (SLA) provided in the adaptive filter 21 of the voice switcher 10, the double talk detector 23 of the echo canceller 20, and the echo canceller 20. The arithmetic unit 24 inserts an attenuation amount in the transmission signal path. Other configurations of this embodiment are the same as those of the fourth embodiment. Therefore, the same components are denoted by the same reference numerals, and the description thereof will be omitted.

將參看圖11所示之流程圖來詳細解釋回音抑制器30的操作。圖11中之步驟61至67與圖10中關於第四實施例的步驟51至步驟57相同。因此,將省略對其的說明。The operation of the echo suppressor 30 will be explained in detail with reference to the flowchart shown in FIG. Steps 61 to 67 in Fig. 11 are the same as steps 51 to 57 in Fig. 10 regarding the fourth embodiment. Therefore, the description thereof will be omitted.

當語音切換器10不處在接收狀態時,或在語音切換器10處在接收狀態時當雙端通話偵測器23偵測到雙端通話時,回音抑制器30進一步判定語音切換器10是否處在傳輸狀態(步驟68)。當語音切換器10處在傳輸狀態時,回音抑制器30判定不存在殘餘回音或有語音信號待傳輸,並將輸入信號不加衰減地按原樣輸出(步驟611)。When the voice switcher 10 is not in the receiving state, or when the voice switcher 10 is in the receiving state, when the double talk detector 23 detects the double talk, the echo suppressor 30 further determines whether the voice switcher 10 is In the transmission state (step 68). When the voice switcher 10 is in the transmission state, the echo suppressor 30 determines that there is no residual echo or has a voice signal to be transmitted, and outputs the input signal as it is without attenuation (step 611).

若在根據本發明之揚聲電話裝置與使用聽筒之通信裝置(下文中稱為「聽筒通信裝置」)之間執行通信,且在自揚聲電話裝置傳輸至聽筒通信裝置的傳輸信號中周圍噪聲之位準相當高,則在揚聲電話裝置中之回音抑制器30使殘餘回音衰減時,周圍噪聲暫時衰減。周圍噪聲之此衰減經過一延遲而被聽筒聽到,且因此使聽筒通信裝置處之說話人可能會在通信期間感覺到語音中之令人不適的斷開感覺。If the communication is performed between the speakerphone device according to the present invention and a communication device using the earpiece (hereinafter referred to as "handset communication device"), and the surrounding noise is transmitted from the transmission signal transmitted from the speakerphone device to the earpiece communication device The level is quite high, and the ambient noise is temporarily attenuated when the echo canceller 30 in the speakerphone device attenuates the residual echo. This attenuation of ambient noise is heard by the handset after a delay, and thus the speaker at the handset communication device may experience an uncomfortable disconnection sensation in speech during communication.

在此方面,本實施例中,當步驟68中語音切換器10不處在傳輸狀態時(例如,插入損失量分配處理器15在傳輸信號衰減器11及接收信號衰減器12中插入相同損失量(下文中,將此狀態稱為「中間狀態」)),回音抑制器30單調地使傳輸信號路徑中插入的衰減量衰減。In this regard, in the present embodiment, when the voice switcher 10 is not in the transmission state in step 68 (for example, the insertion loss amount distribution processor 15 inserts the same loss amount in the transmission signal attenuator 11 and the reception signal attenuator 12 (hereinafter, this state is referred to as "intermediate state")), and the echo suppressor 30 monotonically attenuates the amount of attenuation inserted in the transmission signal path.

更具體而言,當步驟68中語音切換器10不處在傳輸狀態時,回音抑制器30進一步判定衰減係數是否為零(步驟69)。若衰減係數為零,則處理返回至步驟61,而不改變衰減係數。否則,回音抑制器30藉由使衰減係數與轉變係數相乘來設定新的衰減係數(步驟610)。亦即,回音抑制器30藉由重複步驟61或62->步驟68->步驟69->步驟610->步驟61的處理來使衰減係數(衰減量)逐漸減小(如圖12中之線A所示單調地減小)。More specifically, when the voice switcher 10 is not in the transmission state in step 68, the echo suppressor 30 further determines whether the attenuation coefficient is zero (step 69). If the attenuation coefficient is zero, the process returns to step 61 without changing the attenuation coefficient. Otherwise, the echo suppressor 30 sets a new attenuation coefficient by multiplying the attenuation coefficient by the conversion coefficient (step 610). That is, the echo suppressor 30 gradually reduces the attenuation coefficient (attenuation amount) by repeating the processing of step 61 or 62->step 68->step 69->step 610->step 61 (as shown in the line in FIG. 12). A shows monotonously reduced).

在本實施例中,由於回音抑制器30使傳輸信號路徑中插入的衰減量單調地減小,所以周圍噪聲不會暫時衰減。這使得難以使聽筒通信裝置處之說話人感覺到令人不適的斷開感覺。In the present embodiment, since the echo suppressor 30 monotonically reduces the amount of attenuation inserted in the transmission signal path, the surrounding noise is not temporarily attenuated. This makes it difficult to make the speaker at the earpiece communication device feel an uncomfortable disconnection feeling.

同時,當衰減係數(衰減量)藉由重複步驟61或62->步驟68->步驟69->步驟610->步驟61的處理而正單調地減小時語音切換器10之通信狀態改變為傳輸狀態時,回音抑制器30立即使衰減係數(衰減量)減小為零(見,例如圖12中之虛線B)。因此,可防止在對方通信裝置處之說話人聽到的語音中發生拐折,因為自揚聲電話裝置處之說話人發出的語音(傳輸語音)被回音抑制器30意外地衰減。Meanwhile, when the attenuation coefficient (attenuation amount) is monotonically decreasing by repeating the processing of step 61 or 62->step 68->step 69->step 610->step 61, the communication state of the voice switcher 10 is changed to transmission. In the state, the echo suppressor 30 immediately reduces the attenuation coefficient (attenuation amount) to zero (see, for example, the broken line B in Fig. 12). Therefore, it is possible to prevent the inflection in the speech heard by the speaker at the counterpart communication device because the speech (transmission voice) from the speaker at the speakerphone device is accidentally attenuated by the echo suppressor 30.

此外,在衰減係數(衰減量)藉由重複步驟61或62->步驟68->步驟69->步驟610->步驟61的處理而正單調地減小時語音切換器10之通信狀態改變為傳輸狀態且雙端通話偵測器23未偵測到雙端通話時,回音抑制器30藉由執行步驟63至67之處理(見,例如圖12中之虛線C)而在傳輸信號路徑中插入一特定衰減量。此使得可防止回音抑制器30意外地未插入一衰減量且防止發生令人不適的殘餘回音,並準確地在通信期間僅使令人不適的回音衰減。Further, when the attenuation coefficient (attenuation amount) is monotonically decreasing by repeating the processing of step 61 or 62->step 68->step 69->step 610->step 61, the communication state of the voice switcher 10 is changed to transmission. When the state and the double talk detector 23 does not detect the double talk, the echo suppressor 30 inserts a signal in the transmission signal path by performing the processing of steps 63 to 67 (see, for example, the broken line C in FIG. 12). A specific amount of attenuation. This makes it possible to prevent the echo suppressor 30 from accidentally inserting an amount of attenuation and preventing an uncomfortable residual echo from occurring, and accurately attenuating only an unpleasant echo during communication.

在本實施例中,回音抑制器30使衰減量單調地減小的時間比率(減小比率)是恆定的(見,例如圖12中之線A)。當衰減量如上所述線性衰減時,減小至零所需的時期(轉變時期)與逐步使衰減量衰減的情況相比可縮短。In the present embodiment, the time ratio (reduction ratio) in which the echo suppressor 30 monotonically decreases the amount of attenuation is constant (see, for example, line A in Fig. 12). When the attenuation amount is linearly attenuated as described above, the period (transition period) required to decrease to zero can be shortened as compared with the case where the attenuation amount is gradually attenuated.

第六實施例Sixth embodiment

接下來,將參看圖13至圖15來解釋根據本發明的第六實施例。如圖13所示,第六實施例與第五實施例的區別在於,在步驟77與78之間提供基於周圍噪聲位準來控制衰減量的步驟712。步驟71至79以及步驟710及711與第五實施例中說明的步驟61至69以及步驟610及611相同,且將省略對其的說明。Next, a sixth embodiment according to the present invention will be explained with reference to Figs. 13 to 15 . As shown in FIG. 13, the sixth embodiment differs from the fifth embodiment in that a step 712 of controlling the amount of attenuation based on ambient noise levels is provided between steps 77 and 78. Steps 71 to 79 and steps 710 and 711 are the same as steps 61 to 69 and steps 610 and 611 explained in the fifth embodiment, and a description thereof will be omitted.

在本實施例中,回音抑制器30進一步結合周圍噪聲位準來控制衰減量。在圖14所示之流程圖中圖示了結合周圍噪聲位準來控制衰減量的處理。In the present embodiment, the echo suppressor 30 further controls the amount of attenuation in conjunction with ambient noise levels. The process of controlling the amount of attenuation in conjunction with the surrounding noise level is illustrated in the flow chart shown in FIG.

亦即,隨著揚聲電話裝置一側之周圍噪聲位準變高,回音抑制器30在傳輸信號路徑中插入的衰減量減小。因此,可抑制周圍噪聲的瞬時衰減,藉此使得難以感覺到斷開的感覺。在此情況下,若回音抑制器使衰減量減小,則殘餘回音之衰減效果降低。然而,在實際使用時,殘餘回音被周圍噪聲遮蓋,且在通信中不會造成麻煩。That is, as the surrounding noise level on the side of the speakerphone device becomes higher, the amount of attenuation inserted by the echo suppressor 30 in the transmission signal path is reduced. Therefore, the instantaneous attenuation of the surrounding noise can be suppressed, thereby making it difficult to feel the feeling of disconnection. In this case, if the echo suppressor reduces the amount of attenuation, the attenuation effect of the residual echo is lowered. However, in actual use, the residual echo is covered by ambient noise and does not cause trouble in communication.

下文中,參看圖14所示之流程圖而說明結合周圍噪聲位準來控制衰減量的處理。Hereinafter, a process of controlling the amount of attenuation in conjunction with the surrounding noise level will be described with reference to the flowchart shown in FIG.

回音抑制器藉由使用由傳輸信號衰減器11之輸入點Tin輸入之傳輸信號的長期平均值來偵測(估計)在傳輸信號中連續存在的周圍噪聲之位準(周圍噪聲位準)LEVEL_NOISE,並將所估計之周圍噪聲位準LEVEL_NOISE與臨限值Nth比較(步驟821)。當周圍噪聲位準LEVEL_NOISE為臨限值Nth或更小時,回音抑制器30藉由使用以下公式來計算標準衰減係數ATT(步驟822):The echo suppressor detects (estimates) the level of ambient noise (surrounding noise level) LEVEL_NOISE continuously present in the transmission signal by using the long-term average value of the transmission signal input from the input point Tin of the transmission signal attenuator 11, The estimated ambient noise level LEVEL_NOISE is compared to the threshold Nth (step 821). When the ambient noise level LEVEL_NOISE is the threshold Nth or less, the echo suppressor 30 calculates the standard attenuation coefficient ATT by using the following formula (step 822):

ATT=α×LEVEL_NOISE+β,α<0ATT=α×LEVEL_NOISE+β, α<0

此外,當周圍噪聲位準LEVEL_NOISE超出臨限值Nth時,回音抑制器30無論周圍噪聲位準LEVEL_NOISE如何皆將標準衰減係數ATT設定為恆定值ATTmin(步驟823)。Further, when the ambient noise level LEVEL_NOISE exceeds the threshold Nth, the echo suppressor 30 sets the standard attenuation coefficient ATT to a constant value ATTmin regardless of the surrounding noise level LEVEL_NOISE (step 823).

隨後,回音抑制器30將藉由步驟73至76之處理而計算的衰減係數(對應於依據接收信號位準估計之回音量的衰減量)與藉由步驟821至823之處理而計算的標準衰減係數ATT進行比較(步驟824)。當衰減係數為標準衰減係數ATT或更小時,回音抑制器30以標準衰減係數ATT更新衰減係數(步驟825),從而前進至步驟77。此外,當衰減係數大於標準衰減係數ATT時,回音抑制器30前進至步驟77,而不更新該衰減係數。Subsequently, the echo suppressor 30 calculates the attenuation coefficient (corresponding to the attenuation amount of the back volume estimated from the received signal level) by the processing of steps 73 to 76 and the standard attenuation calculated by the processing of steps 821 to 823. The coefficients ATT are compared (step 824). When the attenuation coefficient is the standard attenuation coefficient ATT or less, the echo suppressor 30 updates the attenuation coefficient with the standard attenuation coefficient ATT (step 825), thereby proceeding to step 77. Further, when the attenuation coefficient is greater than the standard attenuation coefficient ATT, the echo suppressor 30 proceeds to step 77 without updating the attenuation coefficient.

亦即,在步驟824及825中,回音抑制器30將對應於依據接收信號路徑中之語音信號位準而估計之回音量的衰減量(見例如圖15中之曲線D)來與基於周圍噪聲位準而判定之衰減量(見例如圖15中之曲線E)進行比較,且隨後在傳輸信號路徑中插入衰減量中之具有較小數值的一個衰減量。此外,當周圍噪聲位準LEVEL_NOISE超出臨限值Nth時,回音抑制器30基於周圍噪聲位準LEVEL_NOISE而將衰減量(衰減係數)設定為恆定值ATT。此做法可在周圍噪聲位準非常高時防止殘餘的回音未得到衰減。That is, in steps 824 and 825, the echo suppressor 30 will correspond to the ambient noise based on the amount of attenuation of the back volume estimated from the level of the speech signal in the received signal path (see, for example, curve D in Figure 15). The amount of attenuation determined by the level (see, for example, curve E in Fig. 15) is compared, and then an attenuation amount having a smaller value among the attenuation amounts is inserted in the transmission signal path. Further, when the ambient noise level LEVEL_NOISE exceeds the threshold value Nth, the echo suppressor 30 sets the attenuation amount (attenuation coefficient) to a constant value ATT based on the surrounding noise level LEVEL_NOISE. This prevents the residual echo from being attenuated when the ambient noise level is very high.

雖然已相對於實施例繪示及描述了本發明,但熟習此項技術者將瞭解,在不偏離以下申請專利範圍中界定之本發明的範疇的情況下,可做出各種改變及修改。While the invention has been shown and described with respect to the embodiments of the embodiments of the present invention, it will be understood that various changes and modifications can be made without departing from the scope of the invention as defined in the appended claims.

1...麥克風1. . . microphone

10...語音切換器10. . . Voice switcher

11...傳輸信號衰減器11. . . Transmission signal attenuator

12...接收信號衰減器12. . . Receive signal attenuator

13...插入損失量控制器13. . . Insert loss controller

14...總損失量計算器14. . . Total loss calculator

15...插入損失量分配處理器15. . . Insert loss allocation processor

2...揚聲器2. . . speaker

20...回音消除器20. . . Echo canceller

21...適應性濾波器twenty one. . . Adaptive filter

22...減法器twenty two. . . Subtractor

23...雙端通話偵測器twenty three. . . Double talk detector

24...信號位準平均值運算單元twenty four. . . Signal level average arithmetic unit

30...回音抑制器30. . . Echo suppressor

A...接收信號路徑A. . . Receive signal path

B...傳輸信號路徑B. . . Transmission signal path

C...聲學回饋路徑C. . . Acoustic feedback path

D、E...曲線D, E. . . curve

G1...麥克風放大器G1. . . Microphone amplifier

G2...揚聲器放大器G2. . . Speaker amplifier

G3...放大器G3. . . Amplifier

α...聲學回饋增益α. . . Acoustic feedback gain

α'...聲學回饋增益估計''. . . Acoustic feedback gain estimation

藉由以下結合附圖而提供的對較佳實施例之描述,本發明之目標及特徵將變得顯而易見,其中:The objects and features of the present invention will become apparent from the following description of the preferred embodiments illustrated in the appended claims

圖1繪示根據本發明之第一實施例的方塊圖。1 is a block diagram of a first embodiment of the present invention.

圖2呈現用於解釋圖1所示之語音切換器之操作的流程圖。Figure 2 presents a flow chart for explaining the operation of the voice switcher shown in Figure 1.

圖3表示用於解釋圖1所示之回音抑制器之操作的流程圖。Fig. 3 shows a flow chart for explaining the operation of the echo suppressor shown in Fig. 1.

圖4圖示根據本發明之第二實施例的方塊圖。Figure 4 illustrates a block diagram in accordance with a second embodiment of the present invention.

圖5為用於解釋圖4所示之回音抑制器的流程圖。Figure 5 is a flow chart for explaining the echo suppressor shown in Figure 4.

圖6繪示根據本發明之第三實施例的方塊圖。Figure 6 is a block diagram showing a third embodiment of the present invention.

圖7呈現用於解釋圖6所描繪之回音抑制器之操作的流程圖。Figure 7 presents a flow chart for explaining the operation of the echo suppressor depicted in Figure 6.

圖8為用於解釋第三實施例之修改實例中之回音抑制器之操作的流程圖。Fig. 8 is a flowchart for explaining the operation of the echo suppressor in the modified example of the third embodiment.

圖9繪示根據本發明之第四實施例的方塊圖。Figure 9 is a block diagram showing a fourth embodiment of the present invention.

圖10描繪用於解釋第四實施例中之回音抑制器之操作的流程圖。Figure 10 depicts a flow chart for explaining the operation of the echo suppressor in the fourth embodiment.

圖11呈現用於解釋根據本發明之第五實施例中之回音抑制器之操作的流程圖。Figure 11 presents a flow chart for explaining the operation of the echo suppressor in the fifth embodiment of the present invention.

圖12圖示本發明之第五實施例中回音抑制器隨時間而變化之衰減量。Figure 12 is a diagram showing the amount of attenuation of the echo suppressor as a function of time in the fifth embodiment of the present invention.

圖13表示用於解釋根據本發明之第六實施例中之回音抑制器之操作的流程圖。Figure 13 is a flow chart for explaining the operation of the echo suppressor in the sixth embodiment of the present invention.

圖14為用於解釋第六實施例中之回音抑制器之操作的流程圖。Figure 14 is a flow chart for explaining the operation of the echo suppressor in the sixth embodiment.

圖15圖示第六實施例中回音抑制器隨時間而變化之衰減量。Fig. 15 is a view showing the amount of attenuation of the echo suppressor as a function of time in the sixth embodiment.

1...麥克風1. . . microphone

2...揚聲器2. . . speaker

10...語音切換器10. . . Voice switcher

11...傳輸信號衰減器11. . . Transmission signal attenuator

12...接收信號衰減器12. . . Receive signal attenuator

13...插入損失量控制器13. . . Insert loss controller

14...總損失量計算器14. . . Total loss calculator

15...插入損失量分配處理器15. . . Insert loss allocation processor

20...回音消除器20. . . Echo canceller

21...適應性濾波器twenty one. . . Adaptive filter

22...減法器twenty two. . . Subtractor

30...回音抑制器30. . . Echo suppressor

A...接收信號路徑A. . . Receive signal path

B...傳輸信號路徑B. . . Transmission signal path

C...聲學回饋路徑C. . . Acoustic feedback path

G1...麥克風放大器G1. . . Microphone amplifier

G2...揚聲器放大器G2. . . Speaker amplifier

G3...放大器G3. . . Amplifier

Claims (19)

一種揚聲電話裝置,包括:麥克風;揚聲器;語音切換器,用以藉由以下方式在通信狀態下在傳輸與接收之間切換:在接收信號路徑及傳輸信號路徑內提供損失,來自對方之通信終端之接收信號經由所述接收信號路徑而被傳輸至所述揚聲器,由所述麥克風收集之傳輸信號經由所述傳輸信號路徑而被傳輸至所述對方的所述通信終端;回音消除器,用於抑制所述麥克風與所述揚聲器之間的聲學耦合而引起的聲學回音;雙端通話偵測器,用於偵測雙端通話;以及回音抑制器,用以藉由結合所述語音切換器及/或所述雙端通話偵測器以便在所述傳輸信號路徑中插入特定衰減量而使殘餘回音衰減,其中所述語音切換器包含:用於在所述傳輸信號路徑中插入損失的傳輸側損失插入單元;用於在所述接收信號路徑中插入損失的接收側損失插入單元;以及控制由所述傳輸側損失插入單元及所述接收側損失插入單元插入的所述損失之相應量的插入損失量控制單元,所述插入損失量控制單元包含:總損失量計算器,用以估計路徑的自所述接收側損失插入單元之輸出端子經由聲學回音路徑而回饋至所述傳輸側損失插入單元之輸入端子之聲學回饋增益,且基於對所述聲學回饋增益之所述估計而計算所述路徑中插入之所述損失量的總和;以及插入損失量分配處理器,用以監視所述傳輸信號及所述接收信號並估計通信狀態,且基於所述估計之結果及由所述總損失量計算器計算之值,而判定插入損失量對所述傳輸側損失插入單元及所述接收側損失插入單元的分配,以及所述總損失量計算器具有更新模式及固定模式,在所述更新模式中,基於對所述回饋增益之相應估計而計算並以適應性方式而更新所述路徑中插入的所述損失量之總和,在所述固定模式中,總損失量固定於初始值,且當所述回音消除器在通信開始後未充分收斂時在所述固定模式下操作,且在所述回音消除器完全收斂之後在所述更新模式下操作。A speakerphone device comprising: a microphone; a speaker; a voice switcher for switching between transmission and reception in a communication state by: providing loss in a received signal path and a transmission signal path, and communication from the other party a receiving signal of the terminal is transmitted to the speaker via the receiving signal path, and a transmission signal collected by the microphone is transmitted to the communication terminal of the other party via the transmission signal path; an echo canceller is used Acoustic echo caused by suppressing acoustic coupling between the microphone and the speaker; double talk detector for detecting double talk; and echo suppressor for combining the voice switch And/or the double talk detector to attenuate residual echoes by inserting a specific amount of attenuation in the transmission signal path, wherein the voice switcher includes: a transmission for inserting a loss in the transmission signal path a side loss insertion unit; a receiving side loss insertion unit for inserting a loss in the received signal path; and controlling by the a transmission loss loss insertion unit and a corresponding amount of the insertion loss amount control unit of the loss inserted by the receiving side loss insertion unit, the insertion loss amount control unit comprising: a total loss amount calculator for estimating a path of the self An output terminal of the receiving side loss insertion unit is fed back to an acoustic feedback gain of an input terminal of the transmission side loss insertion unit via an acoustic echo path, and the insertion in the path is calculated based on the estimation of the acoustic feedback gain a sum of the amount of loss; and an insertion loss amount allocation processor for monitoring the transmission signal and the received signal and estimating a communication state, and calculating based on the result of the estimation and by the total loss amount calculator And determining an allocation of the insertion loss amount to the transmission side loss insertion unit and the reception side loss insertion unit, and the total loss amount calculator has an update mode and a fixed mode, in the update mode, based on Calculating and updating the loss inserted in the path in an adaptive manner for a corresponding estimate of the feedback gain a sum of, in the fixed mode, the total loss amount is fixed to an initial value, and operates in the fixed mode when the echo canceller does not sufficiently converge after communication starts, and completely converges in the echo canceller Then operate in the update mode. 如申請專利範圍第1項所述之揚聲電話裝置,其中若所述插入損失量分配處理器估計所述語音切換器處於接收狀態,則所述回音抑制器在所述傳輸信號路徑中插入所述特定衰減量,否則不插入所述特定衰減量。The speakerphone device of claim 1, wherein if the insertion loss amount distribution processor estimates that the voice switcher is in a receiving state, the echo suppressor inserts in the transmission signal path The specific amount of attenuation is described, otherwise the specific amount of attenuation is not inserted. 如申請專利範圍第1項所述之揚聲電話裝置,其中當所述雙端通話偵測器正偵測雙端通話時,所述回音抑制器不在所述傳輸信號路徑中插入所述特定衰減量,否則插入所述特定衰減量。The speakerphone device of claim 1, wherein the echo suppressor does not insert the specific fading in the transmission signal path when the double talk detector is detecting a double talk Decrement, otherwise insert the specific amount of attenuation. 如申請專利範圍第3項所述之揚聲電話裝置,其中若所述雙端通話偵測器未偵測到雙端通話且所述插入損失量分配處理器估計所述語音切換器處於所述接收狀態,則所述回音抑制器在所述傳輸信號路徑中插入所述特定衰減量。The speakerphone device of claim 3, wherein if the double talk detector does not detect a double talk and the insertion loss amount distribution processor estimates that the voice switch is in the Receiving the state, the echo suppressor inserts the specific amount of attenuation in the transmission signal path. 如申請專利範圍第4項所述之揚聲電話裝置,其中,當所述回音消除器在通信開始後未充分收斂時,僅在所述插入損失量分配處理器估計所述語音切換器處於所述接收狀態的情況下,所述回音抑制器才在所述傳輸信號路徑中提供所述特定衰減量。The speakerphone device of claim 4, wherein, when the echo canceller does not sufficiently converge after the start of communication, only the insertion loss amount distribution processor estimates that the voice switcher is located In the case of the reception state, the echo suppressor provides the specific amount of attenuation in the transmission signal path. 如申請專利範圍第1項所述之揚聲電話裝置,其中,在所述傳輸信號路徑中插入所述特定衰減量期間,若所述插入損失量分配處理器估計所述語音切換器不處於所述接收狀態或所述雙端通話偵測器偵測到雙端通話,則所述回音抑制器立即停止將所述衰減量插入到所述傳輸信號路徑中。The speakerphone device of claim 1, wherein the insertion loss amount distribution processor estimates that the voice switcher is not in the period of insertion of the specific attenuation amount in the transmission signal path When the receiving state or the double talk detector detects a double talk, the echo suppressor immediately stops inserting the attenuation amount into the transmission signal path. 如申請專利範圍第1項所述之揚聲電話裝置,其中所述回音消除器包含:適應性濾波器,用於以適應性方式識別回音路徑的特性;減法器,用於自所述傳輸信號中減去所述適應性濾波器的輸出;以及所述雙端通話偵測器,用於偵測雙端通話,且當所述雙端通話偵測器偵測到雙端通話時,所述回音消除器不更新所述適應性濾波器的係數。The speakerphone device of claim 1, wherein the echo canceller comprises: an adaptive filter for identifying a characteristic of an echo path in an adaptive manner; and a subtractor for transmitting the signal from the signal Subtracting the output of the adaptive filter; and the double talk detector for detecting a double talk, and when the double talk detector detects a double talk, the The echo canceller does not update the coefficients of the adaptive filter. 如申請專利範圍第1項所述之揚聲電話裝置,其中所述回音消除器、所述語音切換器及所述回音抑制器以所述次序而設置在所述傳輸信號路徑中,且執行其相應的處理。The speakerphone device of claim 1, wherein the echo canceller, the voice switcher, and the echo suppressor are disposed in the transmission signal path in the order, and execute the same Corresponding processing. 如申請專利範圍第1項所述之揚聲電話裝置,其中所述回音抑制器基於由所述總損失量計算器估計之所述聲學回饋增益而調整所述衰減量。The speakerphone device of claim 1, wherein the echo suppressor adjusts the amount of attenuation based on the acoustic feedback gain estimated by the total loss amount calculator. 如申請專利範圍第1項所述之揚聲電話裝置,其中所述回音抑制器基於所述接收信號的信號位準平均值而調整所述衰減量。The speakerphone device of claim 1, wherein the echo suppressor adjusts the amount of attenuation based on a signal level average of the received signal. 如申請專利範圍第10項所述之揚聲電話裝置,其中當所述接收信號之所述信號位準低於臨限值時,所述回音抑制器將所述傳輸信號路徑中插入的所述衰減量設定為特定標準值,且當所述信號位準為所述臨限值或更高時,所述回音抑制器在自高於所述特定標準值之上限至所述特定標準值的範圍內調整所述衰減量。The speakerphone device of claim 10, wherein the echo suppressor inserts the signal inserted in the transmission signal path when the signal level of the received signal is lower than a threshold value The amount of attenuation is set to a specific standard value, and when the signal level is the threshold or higher, the echo suppressor is in a range from an upper limit of the specific standard value to the specific standard value The amount of attenuation is adjusted internally. 如申請專利範圍第10項所述之揚聲電話裝置,其中所述回音消除器包含:信號位準平均值(SLA)運算單元,用於計算所述接收信號之信號位準平均值;適應性濾波器,用於以適應性方式識別所述回音路徑的特性;以及減法器,用於自所述傳輸信號中減去所述適應性濾波器的輸出,且所述回音抑制器藉由使用由所述信號位準平均值運算單元計算之所述信號位準平均值而調整所述衰減量。The speakerphone device of claim 10, wherein the echo canceller comprises: a signal level average (SLA) operation unit for calculating a signal level average of the received signal; a filter for identifying characteristics of the echo path in an adaptive manner; and a subtractor for subtracting an output of the adaptive filter from the transmission signal, and wherein the echo suppressor is used by The signal level average calculated by the signal level average calculation unit adjusts the attenuation amount. 如申請專利範圍第1項所述之揚聲電話裝置,其中僅在所述雙端通話偵測器未偵測到雙端通話且所述插入損失量分配處理器估計所述語音切換器處於所述接收狀態的情況下,所述回音抑制器才在所述傳輸信號路徑中插入特定衰減量,且當所述插入損失量分配處理器估計所述語音切換器既不處於所述接收狀態又不處於所述傳輸狀態時,或當所述插入損失量分配處理器估計所述語音切換器處於所述接收狀態且所述雙端通話偵測器偵測到雙端通話時,所述回音抑制器單調地降低所述傳輸信號路徑中插入的所述衰減量。The speakerphone device of claim 1, wherein the double talk is not detected only by the double talk detector and the insertion loss amount distribution processor estimates that the voice switch is in the In the case of the reception state, the echo suppressor inserts a specific amount of attenuation in the transmission signal path, and when the insertion loss amount allocation processor estimates that the voice switcher is not in the receiving state, The echo suppressor when in the transmission state, or when the insertion loss amount distribution processor estimates that the voice switch is in the receiving state and the double talk detector detects a double talk The amount of attenuation inserted in the transmission signal path is monotonically reduced. 如申請專利範圍第13項所述之揚聲電話裝置,其中當在所述衰減量正單調地降低時由所述插入損失量分配處理器估計的所述通信狀態變成所述傳輸狀態時,所述回音抑制器立即使所述衰減量降低為零。The speakerphone device of claim 13, wherein when the communication state estimated by the insertion loss amount distribution processor becomes the transmission state when the attenuation amount is monotonically decreasing, The echo suppressor immediately reduces the amount of attenuation to zero. 如申請專利範圍第13項所述之揚聲電話裝置,其中當在所述傳輸信號路徑中插入的所述衰減量正單調地降低時,在所述雙端通話偵測器未偵測到雙端通話且由所述插入損失量分配處理器估計的所述通信狀態為所述接收狀態時,所述回音抑制器再次在所述傳輸信號路徑中插入所述特定衰減量。The speakerphone device of claim 13, wherein when the amount of attenuation inserted in the transmission signal path is monotonically decreasing, the double talk detector does not detect the double The end effector, when the communication state estimated by the insertion loss amount allocation processor is the reception state, the echo suppressor again inserts the specific attenuation amount in the transmission signal path. 如申請專利範圍第13項至第15項中任一項所述之揚聲電話裝置,其中當由所述插入損失量分配處理器估計之所述通信狀態既不處於所述接收狀態又不處於所述傳輸狀態時,或當所述通信狀態為所述接收狀態且所述雙端通話偵測器偵測到雙端通話時,所述回音抑制器以恆定的降低比率使所述傳輸信號路徑中插入的所述衰減量降低。The speakerphone device according to any one of claims 13 to 15, wherein the communication state estimated by the insertion loss amount allocation processor is neither in the receiving state nor in the In the transmission state, or when the communication state is the receiving state and the double-talking detector detects a double-talking call, the echo suppressor makes the transmission signal path at a constant reduction ratio The amount of attenuation inserted in is reduced. 如申請專利範圍第1項所述之揚聲電話裝置,其中僅當所述雙端通話偵測器未偵測到雙端通話且由所述插入損失量分配處理器估計之所述通信狀態為所述接收狀態時,所述回音抑制器才在所述傳輸信號路徑中插入所述特定衰減量,所述回音抑制器估計在所述傳輸信號中疊加之周圍噪聲的位準,且基於對所述周圍噪聲位準之估計結果而在所述周圍噪聲位準變高時減少所述傳輸信號路徑中插入的所述衰減量。The speakerphone device of claim 1, wherein the communication state estimated by the insertion loss amount allocation processor is only when the double talk detector does not detect a double talk. In the receiving state, the echo suppressor inserts the specific attenuation amount in the transmission signal path, and the echo suppressor estimates a level of ambient noise superimposed in the transmission signal, and is based on the An estimate of the surrounding noise level is described to reduce the amount of attenuation inserted in the transmission signal path when the ambient noise level becomes high. 如申請專利範圍第17項所述之揚聲電話裝置,其中所述回音抑制器將由所述接收信號之所述信號位準所估計之回音量來與所述傳輸信號中疊加之周圍噪聲位準所依據的衰減量進行比較,且在所述傳輸信號路徑中插入所述回音量與所述衰減量中數值較小的一者。The speakerphone device of claim 17, wherein the echo suppressor combines a volume estimated by the signal level of the received signal with a surrounding noise level superimposed on the transmitted signal. The amount of attenuation to be compared is compared, and one of the return volume and the smaller of the attenuation amounts is inserted in the transmission signal path. 如申請專利範圍第18項所述之揚聲電話裝置,其中,當所述噪聲位準超出特定位準時,所述回音抑制器基於所述周圍噪聲位準而將所述衰減量調整為恆定值。The speakerphone device of claim 18, wherein, when the noise level exceeds a certain level, the echo suppressor adjusts the attenuation amount to a constant value based on the ambient noise level .
TW99112310A 2009-04-21 2010-04-20 Speakerphone apparatus TWI399968B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2009103245 2009-04-21
JP2009260173A JP5712350B2 (en) 2009-04-21 2009-11-13 Loudspeaker
JP2010011383A JP5297396B2 (en) 2010-01-21 2010-01-21 Loudspeaker
JP2010011384A JP5432741B2 (en) 2010-01-21 2010-01-21 Loudspeaker

Publications (2)

Publication Number Publication Date
TW201039606A TW201039606A (en) 2010-11-01
TWI399968B true TWI399968B (en) 2013-06-21

Family

ID=44995589

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99112310A TWI399968B (en) 2009-04-21 2010-04-20 Speakerphone apparatus

Country Status (2)

Country Link
CN (1) CN102405634B (en)
TW (1) TWI399968B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475763A (en) * 2013-09-26 2013-12-25 汉达尔通信技术(北京)有限公司 Conversation echo canceling circuit of PSTN communication terminal
CN104754157B (en) * 2013-12-26 2017-06-16 联芯科技有限公司 A kind of device for suppressing residual echo and system
CN108055417B (en) * 2017-12-26 2020-09-29 杭州叙简科技股份有限公司 Audio processing system and method for inhibiting switching based on voice detection echo
CN111556210B (en) * 2020-04-23 2021-10-22 深圳市未艾智能有限公司 Call voice processing method and device, terminal equipment and storage medium
TWI802108B (en) * 2021-05-08 2023-05-11 英屬開曼群島商意騰科技股份有限公司 Speech processing apparatus and method for acoustic echo reduction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076288A1 (en) * 2002-10-16 2004-04-22 Cairns Douglas A. Integrated noise cancellation and residual echo suppression
US20050058277A1 (en) * 2003-09-11 2005-03-17 Barron David L. Controlling attenuation during echo suppression
JP2006050342A (en) * 2004-08-05 2006-02-16 Matsushita Electric Works Ltd Loudspeaker call device
EP1750425A2 (en) * 2000-01-27 2007-02-07 Qualcomm Incorporated Improved system and method for implementation of an echo canceller
US20090028355A1 (en) * 2007-07-25 2009-01-29 Oki Electric Industry Co., Ltd. Double-talk detector with accuracy and speed of detection improved and a method therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1750425A2 (en) * 2000-01-27 2007-02-07 Qualcomm Incorporated Improved system and method for implementation of an echo canceller
US20040076288A1 (en) * 2002-10-16 2004-04-22 Cairns Douglas A. Integrated noise cancellation and residual echo suppression
US20050058277A1 (en) * 2003-09-11 2005-03-17 Barron David L. Controlling attenuation during echo suppression
JP2006050342A (en) * 2004-08-05 2006-02-16 Matsushita Electric Works Ltd Loudspeaker call device
US20090028355A1 (en) * 2007-07-25 2009-01-29 Oki Electric Industry Co., Ltd. Double-talk detector with accuracy and speed of detection improved and a method therefor

Also Published As

Publication number Publication date
CN102405634B (en) 2014-08-06
TW201039606A (en) 2010-11-01
CN102405634A (en) 2012-04-04

Similar Documents

Publication Publication Date Title
US8693678B2 (en) Device and method for controlling damping of residual echo
JP5086769B2 (en) Loudspeaker
JP2009065699A (en) Gain control method for executing acoustic echo cancellation and suppression
JP4069595B2 (en) Loudspeaker
EP1424846A2 (en) Acoustic echo canceller
JPH09172485A (en) Speaker phone and method for adjusting and controlling amplitude of transmission and reception signal therein
TWI399968B (en) Speakerphone apparatus
JP3979169B2 (en) Echo canceller
JP2002185371A (en) Echo canceller with sound volume automatically regulating function
JP5712350B2 (en) Loudspeaker
JP3220979B2 (en) Voice switch
JP4900185B2 (en) Loudspeaker
JP3268572B2 (en) Apparatus and method for canceling echo
JP3941581B2 (en) Loudspeaker
JP4380688B2 (en) Telephone device
JP5432741B2 (en) Loudspeaker
JP5297396B2 (en) Loudspeaker
JP3580168B2 (en) Loudspeaker
JP3941580B2 (en) Loudspeaker
JP2007124162A (en) Loudspeaker call device
JP4003739B2 (en) Loudspeaker
WO2010122398A1 (en) Speakerphone apparatus
JP4211581B2 (en) Loudspeaker
JP2006050342A (en) Loudspeaker call device
JP4639910B2 (en) Echo canceller controller