TWI387308B - Impedance setting modem and method - Google Patents
Impedance setting modem and method Download PDFInfo
- Publication number
- TWI387308B TWI387308B TW97124143A TW97124143A TWI387308B TW I387308 B TWI387308 B TW I387308B TW 97124143 A TW97124143 A TW 97124143A TW 97124143 A TW97124143 A TW 97124143A TW I387308 B TWI387308 B TW I387308B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- impedance
- data machine
- telephone
- module
- Prior art date
Links
Description
本發明涉及一種數據機及其阻抗設定方法。 The invention relates to a data machine and a method for setting the impedance thereof.
VoIP(Voice over Internet Protocol,網際網路協定語音技術)是網路電話所應用的主要技術之一。簡而言之,VoIP就是將類比聲音信號(Voice)轉換成數位信號,以資料封包(Data Packet)的形式在IP網路上做即時傳輸,到終端再將數位信號轉換成類比信號。 VoIP (Voice over Internet Protocol) is one of the main technologies used by Internet telephony. In short, VoIP converts an analog sound signal into a digital signal, and performs instant transmission on the IP network in the form of a data packet, and converts the digital signal into an analog signal to the terminal.
數據機(Modem)和電話是上述VoIP中必不可少的部件,網路電話的通話品質更是與數據機和電話息息相關。數據機與電話匹配時,能夠降低通話時的回音干擾,獲得較好的通話品質。其中,將數據機和電話進行匹配,也即是透過設定數據機阻抗的方式,使所述數據機的阻抗與所述電話的阻抗儘量接近。 Modem and telephone are indispensable components of the above VoIP, and the quality of the call of the Internet phone is closely related to the data machine and the telephone. When the data machine matches the phone, it can reduce the echo interference during the call and obtain better call quality. Wherein, the data machine and the telephone are matched, that is, the impedance of the data machine is made as close as possible to the impedance of the telephone by setting the impedance of the data machine.
傳統方法一般採用人工對數據機的阻抗進行設定,相當費時費力,且難以確保數據機與電話匹配。 Conventional methods generally use manual setting of the impedance of the data machine, which is quite time consuming and laborious, and it is difficult to ensure that the data machine matches the phone.
鑒於以上內容,有必要提供一種數據機及其阻抗設定方法,其可快速準確地對阻抗進行設定。 In view of the above, it is necessary to provide a data machine and its impedance setting method which can set the impedance quickly and accurately.
一種數據機,其包括:選擇模組,用於逐一選擇數據機的一種阻抗;設置模組,用於設置待發送的信號頻率為1KHz;發送模組,用於以上述設置的頻率向電話發送信號;接收模組,用於接收電話的回饋信號;增加模組, 用於當上述向電話發送的信號不是20KHz時,將該向電話發送信號的頻率增加1KHz後由發送模組以上述增加後的頻率向電話發送信號;計算模組,用於計算接收的回饋信號的大小,及當上述向電話發送的信號是20KHz時,將該阻抗下計算得到的所有回饋信號的大小進行加總以得到回饋信號加總值;阻抗設定模組,用於當數據機的所有阻抗均已選擇時,設定所有回饋信號加總值中的最小加總值所對應的阻抗為所述數據機的阻抗。 A data machine includes: a selection module for selecting one impedance of the data machine one by one; a setting module for setting a frequency of the signal to be transmitted to be 1 kHz; and a transmitting module for transmitting to the telephone at the frequency set as above a signal; a receiving module for receiving a feedback signal of the telephone; adding a module, When the signal sent to the phone is not 20KHz, the frequency of transmitting the signal to the phone is increased by 1KHz, and then the transmitting module sends a signal to the phone at the increased frequency; the computing module is configured to calculate the received feedback signal. The size, and when the signal sent to the phone is 20 kHz, the magnitudes of all the feedback signals calculated under the impedance are summed to obtain a total value of the feedback signal; the impedance setting module is used for all the data machines. When the impedance is selected, the impedance corresponding to the minimum summed value of all the feedback signal sum values is set to be the impedance of the data machine.
一種數據機阻抗設定方法,該方法包括以下步驟:(a)選擇數據機的一種阻抗;(b)設置待發送的信號頻率為1KHz;(c)以上述設置的頻率向電話發送信號;(d)接收電話的回饋信號;(e)計算上述接收的回饋信號的大小;(f)當上述向電話發送的信號不是20KHz時,將該向電話發送信號的頻率增加1KHz後,返回步驟c以該增加後的頻率向電話發送信號;(g)當上述向電話發送的信號是20KHz時,將步驟e計算得到的所有回饋信號的大小進行加總以得到回饋信號加總值;(h)對於數據機的每一種阻抗迴圈步驟b到步驟g,直至計算得到該數據機所有阻抗對應的回饋信號加總值;(i)設定所有回饋信號加總值中的最小加總值所對應的阻抗為所述數據機的阻抗。 A data machine impedance setting method, the method comprising the steps of: (a) selecting an impedance of the data machine; (b) setting a frequency of the signal to be transmitted to be 1 kHz; (c) transmitting a signal to the telephone at the frequency set above; Receiving a feedback signal of the telephone; (e) calculating the size of the received feedback signal; (f) when the signal transmitted to the telephone is not 20 kHz, increasing the frequency of the signal transmitted to the telephone by 1 KHz, and returning to step c to The increased frequency sends a signal to the telephone; (g) when the signal sent to the telephone is 20 kHz, the magnitudes of all the feedback signals calculated in step e are summed to obtain a total value of the feedback signal; (h) for the data Each impedance loop of the machine is step b to step g until the summation value of the feedback signals corresponding to all the impedances of the data machine is calculated; (i) setting the impedance corresponding to the minimum sum value of all the feedback signal sum values is The impedance of the data machine.
所述數據機及其阻抗設定方法,能夠快速準確地對數據機的阻抗進行設定,以達成其與電話的最優匹配,從而有效地提高通話品質。 The data machine and its impedance setting method can quickly and accurately set the impedance of the data machine to achieve an optimal match with the telephone, thereby effectively improving the call quality.
參閱圖1所示,是本發明數據機較佳實施例的硬體架構圖。其中,該數據機10負責將用戶透過電話20發出的類比聲音信號轉化為數位信號,及將其接收的數位信號轉化為類比信號傳送給電話20。該數據機10具有多種阻抗。 Referring to Figure 1, there is shown a hardware architecture diagram of a preferred embodiment of the data machine of the present invention. The data machine 10 is responsible for converting the analog sound signal sent by the user through the telephone 20 into a digital signal, and converting the received digital signal into an analog signal for transmission to the telephone 20. The modem 10 has a variety of impedances.
所述數據機10包括存儲裝置100、選擇模組300、設置模組301、發送模組302、接收模組303、計算模組304、判斷模組305、增加模組306及阻抗設定模組307。 The data device 10 includes a storage device 100, a selection module 300, a setting module 301, a transmitting module 302, a receiving module 303, a computing module 304, a determining module 305, an adding module 306, and an impedance setting module 307. .
其中,所述存儲裝置100負責保存在設定數據機10的阻抗過程中產生的臨時資料。 The storage device 100 is responsible for storing temporary data generated during the process of setting the impedance of the data machine 10.
所述選擇模組300用於選擇數據機10的一種阻抗。 The selection module 300 is used to select an impedance of the data machine 10.
所述設置模組301用於設置待發送的信號頻率為1KHz。 The setting module 301 is configured to set a signal frequency to be transmitted to be 1 kHz.
所述發送模組302用於以上述設置的頻率向電話20發送信號。 The transmitting module 302 is configured to send a signal to the phone 20 at the frequency set above.
所述接收模組303用於接收電話20回饋回來的信號(即回饋信號)。 The receiving module 303 is configured to receive a signal (ie, a feedback signal) that the phone 20 returns.
所述計算模組304用於計算得到上述接收的回饋信號的大小。具體而言,計算模組304利用FFT(Fast Fourier Transform,快速傅氏變換)演算法,計算得到上述回饋信號的大小,即該回饋信號有多少分貝(dB)。 The calculation module 304 is configured to calculate the size of the received feedback signal. Specifically, the calculation module 304 calculates the size of the feedback signal by using an FFT (Fast Fourier Transform) algorithm, that is, how many decibels (dB) the feedback signal has.
所述判斷模組305用於判斷上述向電話20發送的信號是否為20KHz。 The determining module 305 is configured to determine whether the signal sent to the phone 20 is 20 kHz.
所述增加模組306用於當向電話20發送的信號不是20KHz時,將上述向電話20發送信號的頻率增加1KHz後,由發 送模組302以上述增加後的頻率向電話發送信號。 The adding module 306 is configured to increase the frequency of sending the signal to the phone 20 by 1 KHz when the signal sent to the phone 20 is not 20 KHz. The delivery module 302 transmits a signal to the telephone at the increased frequency described above.
所述計算模組304還用於將計算得到的所有回饋信號的大小進行加總,並將所述加總後得到的結果(即回饋信號加總值)保存至存儲裝置100。 The calculation module 304 is further configured to sum up the calculated sizes of all the feedback signals, and save the summed result (ie, the feedback signal total value) to the storage device 100.
所述判斷模組305還用於判斷數據機10的所有阻抗是否均已選擇。 The determining module 305 is further configured to determine whether all impedances of the data machine 10 have been selected.
所述阻抗設定模組307用於在數據機10的所有阻抗均已選擇後,設定該數據機10的阻抗。具體而言,阻抗設定模組307首先從存儲裝置100中保存的所有回饋信號加總值中選出最小加總值,而後設定該最小加總值所對應的阻抗為所述數據機10的阻抗。 The impedance setting module 307 is configured to set the impedance of the data machine 10 after all the impedances of the data machine 10 have been selected. Specifically, the impedance setting module 307 first selects a minimum summed value from all the feedback signal sum values stored in the storage device 100, and then sets the impedance corresponding to the minimum summed value to the impedance of the data machine 10.
參閱圖2所示,是本發明數據機阻抗設定方法較佳實施例的作業流程圖。 Referring to Figure 2, there is shown a flow chart of a preferred embodiment of the data machine impedance setting method of the present invention.
步驟S400,選擇模組300選擇數據機10的一種阻抗。所述數據機10具有多種阻抗。 In step S400, the selection module 300 selects an impedance of the data machine 10. The data machine 10 has a variety of impedances.
步驟S401,設置模組301設置待發送的信號頻率為1KHz。 In step S401, the setting module 301 sets the frequency of the signal to be transmitted to be 1 kHz.
步驟S402,發送模組302以上述設置的頻率向電話20發送信號。 In step S402, the transmitting module 302 transmits a signal to the telephone 20 at the frequency set above.
步驟S403,接收模組303接收電話20回饋回來的信號(即回饋信號)。 In step S403, the receiving module 303 receives the signal (ie, the feedback signal) that the phone 20 returns.
步驟S404,計算模組304計算得到上述接收的回饋信號的大小。具體而言,計算模組304利用FFT(Fast Fourier Transform,快速傅氏變換)演算法,計算得到上述回饋信號的大小,即該回饋信號有多少分貝(dB)。 In step S404, the calculation module 304 calculates the size of the received feedback signal. Specifically, the computing module 304 utilizes FFT (Fast Fourier Transform (Fast Fourier Transform) algorithm calculates the size of the above feedback signal, that is, how many decibels (dB) the feedback signal has.
步驟S405,判斷模組305判斷上述向電話20發送的信號是否為20KHz。 In step S405, the determination module 305 determines whether the signal transmitted to the telephone 20 is 20 kHz.
若上述向電話20發送的信號不是20KHz,則進入步驟S406,增加模組306將上述向電話20發送信號的頻率增加1KHz,而後返回步驟S402,發送模組302以該增加後的頻率向電話20發送信號。 If the signal sent to the telephone 20 is not 20 kHz, the process proceeds to step S406, the adding module 306 increases the frequency of transmitting the signal to the telephone 20 by 1 kHz, and then returns to step S402, and the transmitting module 302 transmits the frequency to the telephone 20 at the increased frequency. Send a signal.
若上述向電話20發送的信號為20KHz,則進入步驟S407,計算模組304將步驟S404計算得到的所有回饋信號的大小進行加總,並將所述加總後得到的結果(即回饋信號加總值)保存至存儲裝置100。 If the signal sent to the telephone 20 is 20 kHz, the process proceeds to step S407, and the calculation module 304 adds up the sizes of all the feedback signals calculated in step S404, and adds the result obtained after the summation (ie, the feedback signal is added). The total value) is saved to the storage device 100.
步驟S408,判斷模組305判斷數據機10的所有阻抗是否均已選擇。 In step S408, the determining module 305 determines whether all the impedances of the data machine 10 have been selected.
若所述數據機10的所有阻抗均已選擇,則進入步驟S409,阻抗設定模組307設定該數據機10的阻抗。具體而言,阻抗設定模組307首先從存儲裝置100中保存的所有回饋信號加總值中選出最小加總值,而後設定該最小加總值所對應的阻抗為所述數據機10的阻抗。 If all the impedances of the data machine 10 have been selected, the process proceeds to step S409, and the impedance setting module 307 sets the impedance of the data machine 10. Specifically, the impedance setting module 307 first selects a minimum summed value from all the feedback signal sum values stored in the storage device 100, and then sets the impedance corresponding to the minimum summed value to the impedance of the data machine 10.
在步驟S408中,若所述數據機10還有阻抗沒有選擇,則返回步驟S400,繼續選擇數據機10的下一種阻抗。 In step S408, if the data machine 10 still has no impedance selection, the process returns to step S400 to continue selecting the next impedance of the data machine 10.
以上所述僅為本發明之較佳實施例而已,且已達廣泛之 使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等變化或修飾,均應包含在下述之申請專利範圍內。 The above description is only the preferred embodiment of the present invention and has been widely used. Equivalent changes or modifications made without departing from the spirit of the invention are intended to be included within the scope of the appended claims.
10‧‧‧數據機 10‧‧‧Data machine
20‧‧‧電話 20‧‧‧Phone
100‧‧‧存儲裝置 100‧‧‧Storage device
300‧‧‧選擇模組 300‧‧‧Selection module
301‧‧‧設置模組 301‧‧‧Setup module
302‧‧‧發送模組 302‧‧‧Transmission module
303‧‧‧接收模組 303‧‧‧ receiving module
304‧‧‧計算模組 304‧‧‧Computation Module
305‧‧‧判斷模組 305‧‧‧Judgement module
306‧‧‧增加模組 306‧‧‧Adding modules
307‧‧‧阻抗設定模組 307‧‧‧ impedance setting module
S400‧‧‧選擇數據機的一種阻抗 S400‧‧‧Select an impedance of the data machine
S401‧‧‧設置待發送的信號頻率為1KHz S401‧‧‧Set the frequency of the signal to be sent to 1KHz
S402‧‧‧向電話發送信號 S402‧‧‧Send a signal to the phone
S403‧‧‧接收電話的回饋信號 S403‧‧‧Receive signal from receiving calls
S404‧‧‧計算上述接收的回饋信號的大小 S404‧‧‧ Calculate the size of the received feedback signal
S405‧‧‧上述向電話發送的信號是否為20KHz S405‧‧‧ Is the above signal sent to the telephone 20KHz?
S406‧‧‧將向電話發送信號的頻率增加1KHz S406‧‧‧ Increase the frequency of signals sent to the telephone by 1KHz
S407‧‧‧將計算得到的所有回饋信號的大小進行加總 S407‧‧‧ Add up the calculated size of all feedback signals
S408‧‧‧數據機的所有阻抗是否均已選擇 S408‧‧‧All impedances of the data machine have been selected
S409‧‧‧設定該數據機的阻抗 S409‧‧‧Set the impedance of the data machine
圖1係本發明數據機較佳實施例的硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of a data machine of the present invention.
圖2係本發明數據機阻抗設定方法較佳實施例的作業流程圖。 2 is a flow chart showing the operation of a preferred embodiment of the data machine impedance setting method of the present invention.
S400‧‧‧選擇數據機的一種阻抗 S400‧‧‧Select an impedance of the data machine
S401‧‧‧設置待發送的信號頻率為1KHz S401‧‧‧Set the frequency of the signal to be sent to 1KHz
S402‧‧‧向電話發送信號 S402‧‧‧Send a signal to the phone
S403‧‧‧接收電話的回饋信號 S403‧‧‧Receive signal from receiving calls
S404‧‧‧計算上述接收的回饋信號的大小 S404‧‧‧ Calculate the size of the received feedback signal
S405‧‧‧上述向電話發送的信號是否為20KHz S405‧‧‧ Is the above signal sent to the telephone 20KHz?
S406‧‧‧將向電話發送信號的頻率增加1KHz S406‧‧‧ Increase the frequency of signals sent to the telephone by 1KHz
S407‧‧‧將計算得到的所有回饋信號的大小進行加總 S407‧‧‧ Add up the calculated size of all feedback signals
S408‧‧‧數據機的所有阻抗是否均已選擇 S408‧‧‧All impedances of the data machine have been selected
S409‧‧‧設定該數據機的阻抗 S409‧‧‧Set the impedance of the data machine
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97124143A TWI387308B (en) | 2008-06-27 | 2008-06-27 | Impedance setting modem and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97124143A TWI387308B (en) | 2008-06-27 | 2008-06-27 | Impedance setting modem and method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201002040A TW201002040A (en) | 2010-01-01 |
TWI387308B true TWI387308B (en) | 2013-02-21 |
Family
ID=44825055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW97124143A TWI387308B (en) | 2008-06-27 | 2008-06-27 | Impedance setting modem and method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI387308B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03235545A (en) * | 1990-02-13 | 1991-10-21 | Nec Corp | Modem system and method for controlling its impedance |
WO1998038786A1 (en) * | 1997-02-28 | 1998-09-03 | Motorola Inc. | An adaptable impedance device for controlling direct current flow in a modem |
TW483273B (en) * | 1995-03-03 | 2002-04-11 | Harris Corp | Telephone test set noise reduction circuit. |
WO2003040732A2 (en) * | 2001-11-09 | 2003-05-15 | Power Plus Communications Ag | Impedance stabilization network for determining the electromagnetic interfering radiation of a modem |
US20050232300A1 (en) * | 2000-03-01 | 2005-10-20 | Stiscia James J | Method and apparatus for adaptive hybrid termination in a multi-carrier communication system |
TWM297588U (en) * | 2006-03-31 | 2006-09-11 | Epc Technology Corp | Device for switching circuit without PSTN ringer |
JP2007013852A (en) * | 2005-07-04 | 2007-01-18 | Sumitomo Electric Ind Ltd | Modem device and its impedance matching method |
US7227959B2 (en) * | 2003-03-10 | 2007-06-05 | Shure Incorporated | Multi-channel digital feedback reducer system |
US20070190952A1 (en) * | 2006-02-15 | 2007-08-16 | Texas Instruments Incorporated | Linearization of a transmit amplifier |
US7260211B2 (en) * | 2001-04-23 | 2007-08-21 | Siemens Aktiengesellschaft | Method and circuit for adapting the impedance of an analog telecommunication connection |
-
2008
- 2008-06-27 TW TW97124143A patent/TWI387308B/en active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03235545A (en) * | 1990-02-13 | 1991-10-21 | Nec Corp | Modem system and method for controlling its impedance |
TW483273B (en) * | 1995-03-03 | 2002-04-11 | Harris Corp | Telephone test set noise reduction circuit. |
WO1998038786A1 (en) * | 1997-02-28 | 1998-09-03 | Motorola Inc. | An adaptable impedance device for controlling direct current flow in a modem |
US20050232300A1 (en) * | 2000-03-01 | 2005-10-20 | Stiscia James J | Method and apparatus for adaptive hybrid termination in a multi-carrier communication system |
US7260211B2 (en) * | 2001-04-23 | 2007-08-21 | Siemens Aktiengesellschaft | Method and circuit for adapting the impedance of an analog telecommunication connection |
WO2003040732A2 (en) * | 2001-11-09 | 2003-05-15 | Power Plus Communications Ag | Impedance stabilization network for determining the electromagnetic interfering radiation of a modem |
US7227959B2 (en) * | 2003-03-10 | 2007-06-05 | Shure Incorporated | Multi-channel digital feedback reducer system |
JP2007013852A (en) * | 2005-07-04 | 2007-01-18 | Sumitomo Electric Ind Ltd | Modem device and its impedance matching method |
US20070190952A1 (en) * | 2006-02-15 | 2007-08-16 | Texas Instruments Incorporated | Linearization of a transmit amplifier |
TWM297588U (en) * | 2006-03-31 | 2006-09-11 | Epc Technology Corp | Device for switching circuit without PSTN ringer |
Also Published As
Publication number | Publication date |
---|---|
TW201002040A (en) | 2010-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7773587B2 (en) | Voice over internet protocol network test device and method | |
CN106657507B (en) | A kind of acoustic echo removing method and device | |
CN103177728B (en) | Voice signal denoise processing method and device | |
KR100847138B1 (en) | Voice Quality Test Method and System for providing call voice quality for Quality of Service in VoIP Network | |
US9491545B2 (en) | Methods and devices for reverberation suppression | |
CN111742541B (en) | Acoustic echo cancellation method, acoustic echo cancellation device and storage medium | |
CN1842110A (en) | Echo eliminating device and method | |
US20130242858A1 (en) | Method and apparatus for wideband and super-wideband telephony | |
CN109451195A (en) | A kind of echo cancel method and system of adaptive double-end monitor | |
TWI506620B (en) | Communication apparatus and voice processing method therefor | |
US8411847B2 (en) | Acoustic echo canceller | |
CN105592198A (en) | Multi-MIC terminal, MIC setting method and sound quality improvement method | |
TWI387308B (en) | Impedance setting modem and method | |
US20120163214A1 (en) | APPARATUS AND METHOD FOR MEASURING VOICE QUALITY OF VoIP TERMINAL USING WIDEBAND VOICE CODEC | |
TWI790718B (en) | Conference terminal and echo cancellation method for conference | |
JP4255276B2 (en) | Voice communication device, telephone and voice communication system | |
US8654967B2 (en) | System for conditioning echo response of loop start trunk line | |
KR101583715B1 (en) | Method and Apparatus for Automatic Measurement of Delay Time for Echo Path Prediction of Adaptive Filter in Set Top Box Video and Voice Call Service | |
WO2009012693A1 (en) | A method and system for adjusting the port parameter of voice office side | |
US20090310660A1 (en) | System and method for determining a suitable impedance for a modem | |
KR20090085314A (en) | Analog trunk and method of optimizing voice quality in analog trunk | |
KR100765817B1 (en) | method for remotely controlling for MOS measuring appliance | |
TWI727537B (en) | Communication system and communication method for multimedia terminal and phone device | |
JP6648436B2 (en) | Echo suppression device, echo suppression program, and echo suppression method | |
EP2223522B1 (en) | Non linear acoustic feedback suppression in a telephone device |