The invention relates to the field of Telephone Line Extenders (TLEs). More specifically, the invention relates to TLEs for modem data transfer, such as V.34, V.90 or V.92 modem signals, at high modem speeds. The invention provides an echo canceller and a method for controlling an echo canceller. In addition, the invention relates to a Digital Signal Processor (DSP) system, a DSP executable algorithm, and a data frame structure. Still further, the invention relates to a signal processing circuit, a TLE system, a TLE product and a pay-per-view settop box.
Modem-modem communication, or modem-telefax communication, comprises an analog modem connected to a Public Switched Telephone Network (PSTN) network for data transfer. For example pay-per-view cable TV and satellite TV have settop boxes that often use analog modems connected to Public Switched Telephone Network (PSTN) network for data transfer between a user and a service provider. Most often the settop box is wire connected to the PSTN network. However, in order to eliminate the wire connection between the settop box and the PSTN network a wireless connection may be desirable. In order for a pay-per-view system transaction system to function properly, a highly reliable connection is required, i.e. data corruption must be eliminated. In case of errors important data relating to validation of a user account etc. may be corrupted. Thus, demands to a communication link in such a pay-per-view system is quite strict. In addition, the modem speed required in such systems is normally 14.4 kbit/s or even higher.
If a wireless TLE system is desired, one possible solution for a wireless connection between a pay-per-view settop box and the PSTN network is to use standard DECT lines. However, using DECT lines with 8 kHz sampling frequency and a resolution of 8 bit a/u-law coding or 14 bit linear coding, modem signal speeds beyond 9.6 kbit/s can not be transferred reliably.
Thus, there is a need for technical solutions suitable for a Telephone Line Extender (TLE) system providing a wireless connection capable of achieving a reliable connection also at higher data transfer rates, such as with a modem speed of at least 14.4 kbit/s.
In a first aspect the invention provides a method of processing a first and a second signal in an echo canceller, the method comprising the steps of:
Preferably said digital transmission is a wireless digital transmission, however it may be a wired digital transmission.
Preferably the method further comprises the step of updating filter coefficients of the adaptive filter means. Preferably the method further comprises the step of deciding upon update of filter coefficients of the adaptive filter means in response to a detected frequency bandwidth of the first signal. Said step of deciding upon filter coefficient update may further comprises calculating a first level of the first signal and a second level of the second signal. Said step of deciding upon filter coefficients update may comprise detecting a level of the second delayed output signal and detecting a level of the added filter output signal and the delay output signal. Said step of updating filter coefficients may comprise calculating a filter update factor in response to a detected level of the first signal.
In a second aspect the invention provides a DSP executable algorithm adapted to perform the method according to the first aspect.
In a third aspect the invention provides a DSP system adapted to execute the algorithm according to the second aspect.
In a fourth aspect the invention provides an echo canceller for processing a first and a second signal, the echo canceller comprising
In preferred embodiments, the digital transmission is a wireless digital transmission, however it may be a wired digital transmission.
Preferably the echo canceller further comprises decision means for deciding upon update of filter coefficients of the adaptive filter. The adaptive filter means preferably comprises a FIR filter. The adaptive filter means may comprise means for updating filter coefficients in response to an LMS error signal. The adaptive filter means may comprise detector means for detecting that part of the first signal comprising information for updating filter coefficients. The detector means may comprise a double-talk detector. A double-talk detection threshold of said double-talk detector may be controlled by dynamic control means. Said dynamic control means may comprise means for controlling the double-talk detection threshold in response to a predetermined size of an LMS error signal.
The echo canceller may further comprising means for calculating a first level of the first signal and a second level of the second signal. The decision means may be adapted to decide upon filter update in response to a ratio between said first and second levels.
The echo canceller may further comprise a wide-band signal filter adapted to filter the first signal and to provide the wide-band signal filtered first signal to the decision means so as to allow filter coefficient update upon the wide-band signal filtered first signal exceeding a predetermined level.
The echo canceller may further comprise means for calculating a filter update factor in response to a level of the first signal.
The echo canceller may further comprise a ratio control unit adapted to calculate a difference between a level of the delay output signal and a level of the output signal from the summation means and to provide said difference to the decision means.
In preferred embodiments the echo canceller is implemented in a Digital Signal Processor (DSP).
In a fifth aspect the invention provides a signal processing circuit comprising
In preferred embodiments, the digital interface is a digital air-interface adapted for wireless transmission of digital signals, however the digital interface may be a wired-interface adapted for wired transmission of digital signals.
Preferably the echo canceller receives signals from the codec part, and provide signals to the digital interface for digital transmission. Preferably the codec part is adapted to receive signals transmitted to the digital interface from said digital interface.
The connection to the associated analog modem may be formed by a 2-wire connection.
In embodiments comprising an air-interface, such air-interface preferably operates according to a DECT standard or derivatives thereof, or other types of systems based on digital communication, such as Bluetooth, Zig-bee, HomeRF or WLAN (802.11) .
In a sixth aspect the invention provides a signal processing circuit comprising an echo canceller inserted in a transmission path, the echo canceller comprising adaptive filter means being purely operable to those specific parts of incoming modem signals intended for use in controlling said echo canceller in order to prepare said incoming modem signals for digital transmission. Preferably the digital transmission is wireless, however it may be a wired digital transmission.
In a seventh aspect the invention provides a data frame structure comprising two double slots, wherein each double slot comprises a standard DECT double slot, the DECT double slot having a B-field format comprising
In a preferred embodiment the data frame structure comprises three double slots. The three double slots may comprise first and second double slots for data and a third double slot for repetition of one of the first and second double slots. In another preferred embodiment the data frame structure comprises four double slots. The four double slots may comprise first and second data double slots and first and second double slots being repeated versions of the first and second data double slots.
The header field protection field and the data field protection field may be CRCs. Said CRCs may be standard DECT R-CRCs.
The FEC field may be a 32 bit ReedSolomon (100,96). Alternatively the FEC field has a length larger than 32 bit.
The data field may have a length of at least 200 bit. Preferably the data field has a length of 720 bit.
In an eighth aspect the invention provides a Telephone Line Extender system adapted for connection of an associated modem to an associated analog telephone plug, the system comprising
The terms Fixed Part and Portable Part should be construed as declaratory terms only without any limiting effect. Other terms used in connection with TLEs are: Base Unit and Extension Unit, respectively. The Fixed Part may be fixed or stationary, while the Portable Part may be portable or non-stationary, however it may be chosen differently.
The exchange of data may comprise a data frame structure according to the seventh aspect. Codec parts of the Portable Part and the Fixed Part may be adapted to operate at a sample frequency of at least 8 kHz, such as at least 10 kHz.
The associated modem may be an analog modem or a digital modem.
The Telephone Line Extender System may further comprise modem cheating means adapted to manipulate signals in a negotiation with the associated modem. The modem cheating means serves to cheat or manipulate the associated modem to adjust its echo canceller in a different way than it would do by merely estimating a round-trip delay. The round-trip delay being defined as a time lapsed from a signal is sent from a first modem to a second modem and returned to the first modem. The modem cheating means serves to emulate a different value for the round-trip delay in order to substantially compensate for the presence of the TLE system itself in the communication path between a near-end and a far-end modem. The modem cheating means is preferably adapted to manipulate signals in phase 2 of the negotiation with the associated modem. The modem cheating means is preferably adapted to manipulate at least one of signals A and B with respect to their timing.
In one embodiment the Telephone Line Extender System transmits an inverted version of signal B a predetermined period after an inversion of signal A is present at the Fixed Part. This embodiment is adapted for operation in phase 2 of the V.34 protocol. Preferably, the predetermined period is within the interval 10-100 ms, preferably within 20-60 ms, more preferably within 30-50 ms, such as 40 ms.
In another embodiment prepared for V.90 operation, the Telephone Line Extender System transmits an inverted version of signal A a predetermined period after an inversion of signal B is present at the Fixed Part. This embodiment is adapted for operation in phase 2 of the V.34 protocol. Preferably, the predetermined period is within the interval 10-100 ms, preferably within 20-60 ms, more preferably within 30-50 ms, such as 40 ms.
Preferably the Portable Part and the Fixed Part comprise means for wireless exchange of data. The Portable Part and the Fixed Part may alternatively comprise means for wireless exchange of data. In still another alternative, the Portable Part and the Fixed Part comprise means for wireless as well as wired exchange of data.
In a ninth aspect the invention provides a Telephone Line Extender product comprising a Portable Part integrated with a modem, wherein the Portable Part is adapted for digital communication with an associated Fixed Part connected to an analog telephone plug. The digital communication may be a wireless digital communication or a wired digital communication, or a combination thereof.
In a tenth aspect the invention provides a pay-per-view settop box comprising a Telephone Line Extender product according to the ninth aspect.
In the following the invention will be described in details with reference to the accompanying figures, of which
While the invention is susceptible to various modifications and alternative forms, specific embodiments have been shown by way of example in the drawings and will be described in detail herein. It should be understood, however, that the invention is not intended to be limited to the particular forms disclosed. Rather, the invention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.
Even though the embodiments in the following communicate wirelessly, it should be understood that the general principles according to the invention are valid also within embodiments that communicate via a wired connection.
By introducing a digital signal path between two analog signals adds a delay. Using an air-interface based transmission, as in this case, adds to the delay and makes it too large for the echo cancellers of the connected modems to handle. This problem is solved by introducing digital echo cancellers where 2-line analog signals are converted to digital signals or viceversa. The echo canceller is preferably implemented on digital signal processor (DSP) parts of the PP and the FP. As illustrated by the arrows in
In order for the echo canceller to function properly with modem signals the echo canceller FIR filter only adapts to those specific parts of the modem signals intended for adjusting echo cancellers in the transmission path. These specific signals are broad bandwidth signals, such as white noise, transmitted only one way at a time. According to the invention these specific signals are detected by the echo canceller by using double-talk detectors and a wide band signal (wbs) filter. Using the wbs filter it is possible to detect for the presence of high frequency content of the TX signal and thus providing an indication of the presence of the specific echo canceller signals. A double-talk detection threshold is reduced dynamically with a size of the LMS error signal. The size of the LMS error signal is derived from comparing input and output of a LMS FIR filter summation point when no double-talk is present. As this error signal becomes smaller the double-talk decision threshold is reduced, and hereby the receive-to-transmit signal ratio of the echo canceller must be smaller to allow update of the FIR filter. This secures the FIR filter from loosing its correctly adapted coefficients by wrong update decisions.
In
The receiving (RX) signal is processed by a short delay and by a summation point of the echo canceller. The summation point adds the delayed RX signal and an output signal from the FIR filter. The RX signal is also used as input to three different signal level detectors. A first RX signal level detector is positioned in the signal path before the delay, a second RX signal level detector is positioned between the delay and summation point, and a third RX signal level detector is positioned in the signal path after the summation point.
A ratio between RX and TX signal levels is used as Input for a decision of whether the FIR filter coefficients can be updated or not. The actual value of the RX/TX ratio is calculated by a ratio control unit, based on the difference between RX signal levels before and after the summation point.
In addition to the echo cancelling principles described, a successful implementation requires fast signal detectors and careful trimming of parameters and levels.
The digital air-interface is designed to support the bandwidth generated by the Codec when using a sampling rate of 10.3 kHz, i.e. 164.6 kbit/s. This bandwidth is achieved by using 3 double slots in each DECT frame, leaving a single slot for bearer handover and support of outgoing handset calls. To allow an implementation that does not require a zero-blindslot radio only slots 0, 3, 6 and 9 are supported by the FP.
The DECT air interface implementation must provide the system with an error free channel to avoid destroying performance of the modem, and support the bit-rate generated by the digital signal-processing unit. Errors in a digital channel occur as either bit errors or frame errors. To avoid bit errors all data is protected by CRC, and optionally with a Forward Error Correcting (FEC) code which will enable a receiver part to correct a number of bit errors.
A preferred B-field includes a 16 bit header field that is protected by a 16 bit CRC, and a 720 bit data field protected by both a 16 bit CRC and a 32 bit FEC code.
The 16 bit CRCs serving to protect the header and the data part of the B-field packet is using a standard DECT R-CRC as specified in EN 300 175-3, section 6.2.5.2 using the generating polynomial:
g(x) =x16+x10+x8+x7+x3+1
The 32 bit FEC field is a ReedSolomon (100,96) based on the primitive polynomial:
p(x) =x8+x4+x3+x2+1
and the generator polynomial:
g(x) =x4+α76x3+α250x2+α79x1 +α7
Connection setup and release is using an Advanced A-field setup procedure for a multi-bearer connection as specified in the EN 300 175-3, and Encryption activation follow the standard multi-bearer encryption activation procedure.
A size of the FEC field is preferably selected according to the amount of signal processing power available for the DSP implementation. If possible with respect to the chosen chipset, the FEC field size is preferably larger than 32 bit.
Frame errors are minimized using a semi-dualslot diversity and an ARQ mechanism, which allows the system to retransmit lost frames. The B-field data field results in a connection bandwidth of 3×72 kbit/s=216 kbits/s. The additional bandwidth compared to the system requirement of 164.6 kbit/s, is used for ARQ implementation to allow for retransmission in case of errors in the air transfer.
In the following preferred principles for data packet handling in reception is described. When a packet is received the FEC decoding is applied, and afterwards the header and data CRC fields are evaluated. If the header CRC is incorrect the packet is discarded, but if the header CRC is correct the data is stored in the RX buffer with the position determined by the N(S) value. If the data CRC is correct and all packets before the N(S) value contained in the packet have been received an updated ACK is transmitted. If the data sequence contains holes due to errors, a SACK is transmitted with the N(R) value set to the N(S) value just received.
When the receiver can determine that it is no longer possible to receive a packet in time to place it in the delay buffer, it shall acknowledge the packet by updating the cumulative Ack value and transmit this new value in N(R) field in the next ACK.
In the following preferred principles for data packet handling in transmission is described. Three types of transmissions are defined: Initial transmission, Retransmission and Idle transmission. The priority order between the transmission types is: 1) Retransmission, 2) Initial transmission, and 3) Idle transmission.
An Idle transmission is a retransmission of the last transmitted packet, and such Idle transmission only occurs if no new packet is available in the storage buffer in the TX signal path (see
An effect of the echo cancelling principles and the data format and data transmission schemes described is that it is possible to establish a wireless transmission which is more robust to interference to avoid bit errors. In addition, it is possible to obtain wireless transfer of analog modem signal with a data rate higher than what is possible by usage of standard DECT technology. Hereby the principles described are suitable for applications such as TV pay-per-view or a number of other applications requiring wireless transfer of classified data at a data transfer speed higher than provided by standard DECT technology.
The air-interface could optionally be based on 2.4 GHz (5.8 GHz) fast frequency hopping technique instead of DECT 1.9 GHz dynamic channel allocation. The air-interface may in principle be based on any suitable wireless technology.
The FP and PP can be configured to operate with different transmission power levels to optimise tradeoffs between range and interference into other equipment, such as a settop box of a pay-per-view system. Optionally, a transmission power level may be controlled by a manual switch or alternatively it may be controlled automatically.
A standard DECT handset may be registered to the FP. When this handset sets up a connection to the FP, the air-interface is switched to standard DECT audio format using 32 kbit/s ADPCM based on 8 kHz sample rate. It may be implemented so that the handset connection has priority over modem connection.
If preferred, the PP may be integrated with the modem. In case of a pay-per-view system the PP could be integrated with the settop box. In case two or more settop boxes are used in one household, a communication link between the settop boxes may be established.
A TLE system according to the principles described is capable of providing reliable transfer of modem signal at speeds exceeding 33.6 kbit/s.
The FP is connected to a PSTN line, such as a wall plug, and the PP is connected to a modem. Both the FP and the PP comprise a 16 bit linear codec, an Echo canceller and an Air-interface part. For some applications it may be desired that the FP comprises in addition a suppressor. The PP comprises a noise generator, preferably adapted to generate substantially white noise. In a preferred embodiment, the codec is running at 9 kHz, limited by air-interface bandwidth, with a 16 bit resolution.
Signals A, B and their inverted versions A and B, according to the standards, are:
The echo cancellers in the system are only activated when white noise is detected, and are only running when the TRN signal is present during phase 3. In order to avoid echos looping in the system, the noise generator of the PP is used to generate a noise signal 70, preferably the noise signal 70 after the modem goes off-hook. Preferably the noise signal 70 comprises white noise and has a duration in the range 100-1000 ms, preferably in the range 300-700 ms, more preferably in the range 400-600 ms, most preferably 500 ms. Hereby, the echo canceller in the PP is pre-trained. The audio coming from the network (downlink audio) is opened after the noise signal 70, and if the modem is doing dial tone detect before dialling, the dialling will be delayed with the same time as the duration of the noise signal 70, i.e. such as 500 ms.
The modem in the head-end of the system uses a round-trip delay estimate measured during phase 2 of the modem (V.34 & V.90/92) negotiation to locate its echo canceller in the time domain. However, having introduced the TLE system in the communication path between first and second modems, either with a wireless or with a wired connection between the PP and the FP, the round-trip delay observed by the modem is no longer a valid measure of the echo location. This is due to the fact that the TLE system itself introduces an additional delay and due to the fact that the echo canceller in the PP removes echo from the modem. Thus, there is a need for a method of “cheating” the modem to adjust its echo canceller so as to compensate for the presence of the TLE system.
In
The preferred embodiment illustrated in
In case of a larger system delay, such as a system delay of 100 ms or more, modem cheating can not be applied. Thus, a poor uplink speed will result. However, by not applying modem cheating, ARQ retransmission can be applied, and thus an improved air-interface performance can be obtained.
Number | Date | Country | |
---|---|---|---|
60543282 | Feb 2004 | US |