1. Technical Field
The present invention relates to data communications in general, and in particular to data communications utilizing modems. Still more particularly, the present invention relates to a method and apparatus for improving upstream connect rates of a V.92 analog modem.
2. Description of Related Art
Voice band modems are commonly used to transmit data over telephone lines. Conventional voice band modems are designed to use a public switched telephone network (PSTN) as an analog communication channel. However, modern PSTNs typically utilize digital links to connect to server modems. Thus, most of the server modems are connected to the PSTN via digital links, and only client modem connections to the PSTN are made via analog subscriber lines.
According to the International Telecommunication Union (ITU), voice band modems are designated as “V.” series of modems. Pulse code modulated (PCM) modems, such as ITU-T V.90 and V.92 modems, can take advantage of the digital portion of the PSTN and use PCM transmissions to obtain relatively high data rates. V.90 and V.92 server modems are connected to the digital portion of a PSTN, and hence are called digital modems. V.90 and V.92 client modems are connected to the analog portion of a PSTN, and hence are called analog modems.
V.90 modems support data rates up to 56 kbps in downstream transmissions, which are server-to-client transmissions, and 33.6 kbps in upstream transmissions, which are client-to-server transmissions. V.90 modems use PCM transmissions for downstream transmissions and quadrature amplitude modulated (QAM) transmissions for upstream transmissions.
During V.90 downstream transmissions from a digital modem to an analog modem, the digital modem transmits 8-bit words that correspond to the different levels of a central office (CO) codec output. In turn, the CO codec converts the eight bit words into analog voltage levels on an analog subscriber line. An analog modem samples the analog voltage levels on the analog subscriber line, equalizes the voltage levels to remove the distortions caused by the analog channel, and then maps the voltage levels back to the originally transmitted eight bit words. PCM transmission is possible in the downstream direction because there is no quantization loss at the CO. PCM transmissions are not possible when there is an analog link between two COs.
ITU-T V.92 modem standard is an enhancement to the ITU-T V.90 modem standard for V.90 modems. V.92 modems are capable of using PCM transmissions for both upstream and downstream transmissions. Downstream transmissions for V.92 modems are basically the same as V.90 modems. For upstream transmissions, a V.92 analog modem transmits a set of analog voltage levels on an analog subscriber line, which is then modified by an analog channel. The CO codec samples the voltage levels and converts them into eight bit words. V.92 modems can support data rates up to 48 kbps in upstream transmissions. In order to take full advantage of the digital link for achieving the best performance in upstream transmissions, quantization losses at the CO codec should be minimized. As such, the analog voltage levels received at the sampling instant of the CO codec should be very close to the fixed sampling levels of the CO codec.
In order to allow the analog voltage levels received at the sampling instant of a CO codec to be very close to the fixed sampling levels of the CO codec, a V.92 analog modem pre-equalizes its transmit channel at its transmitter and synchronizes its transmitter clock to a sampling clock of the CO codec. A re-sampler can be inserted in a transmit path of the V.92 modem for synchronizing the transmitter sampling clock to the sampling clock of the CO. However, when the re-sampler input sampling rate equals the V.92 modem transmitter symbol rate, the re-sampler has a high attenuation at half the transmitter symbol rate. As a result, the upstream connect rate is reduced.
Consequently, it would be desirable to provided a method and apparatus for improving the upstream connect rates of a V.92 modem.
In accordance with a preferred embodiment of the present invention, a fixed sampling rate converter (SRC) is added between a modem transmitter and a transmitter re-sampler of an analog modem. The SRC changes the sampling rate from the symbol rate of the modem transmitter to the sampling rate of modem codec without yielding any attenuation in spectrum of zero to half the symbol rate. For example, the sampling rate may be converted from 8000 samples per second to 9600 samples per second, which prevents attenuations in the frequency band of 0 to 4 kHz.
All features and advantages of the present invention will become apparent in the following detailed written description.
The invention itself, as well as a preferred mode of use, further objects, and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
The present invention provides a method and apparatus for improving upstream connect rates of a V.92 analog modem. Referring now to the drawings and in particular to
A transmitter re-sampler is inserted in a transmit path of analog modem 14 between a transmitter and a codec in order to provide transmitter clock synchronizations. Similarly, a receiver re-sampler is inserted in a receive path of analog modem 14 between a receiver and the codec. The transmitter re-sampler and receiver re-sampler receive inputs from a clock recovery module.
Some definitions used in the present specification are:
With reference now to
For downstream data receptions, modem receiver 22 synchronizes a receiver clock 42 with clock 40 in CO 12a using a clock estimate 25 generated by a clock recovery module 27. A receiver re-sampler 24 uses clock estimate 25 to re-sample the received samples at a rate proportionate to clock 40 in CO 12a. Clock estimate 25 is also used by modem transmitter 21 to synchronize transmitter clock 41 to clock 40 in CO 12a.
Digital modem 11 includes a transmitter 36 and a receiver 35. Receiver 35 estimates an initial phase error between analog modem transmit clock 41 and clock 40 in CO 12a during the V.92 handshake procedure. Such estimate of the initial phase error is transmitted back to analog modem 14, and transmitter re-sampler 23 corrects the initial phase error during the V.92 handshake procedure. After the initial phase error has been corrected, modem transmitter 21 starts deriving transmitter clock 41 from modem receiver 22.
Analog modem 14 includes a modem codec 28 that operates at a rate higher than a symbol rate FS used in modem transmitter 21 and modem receiver 22. Transmitter re-sampler 23 and receiver re-sampler 24 synchronize transmitter clock 41 and receiver clock 42, respectively, to clock 40 in CO 12a. Transmitter re-sampler 23 and receiver re-sampler 24 are preferred implemented as sync interpolators where re-samplings are performed by interpolations and decimations.
The basic difference between receiver re-sampler 24 and transmitter re-sampler 23 is that, for receiver re-sampler 24, the input sampling frequency FC is fixed while the output sampling frequency FSRX+ΔFSRX varies, and for transmitter re-sampler 23, the input sampling frequency FSTX+ΔFSTX varies while the output sampling frequency FC is fixed. To ensure that modem codec 28 always has samples to transmit at its sampling instant, transmitter re-sampler 23 controls the transmitter-processing rate using a control path 26. Control path 26 ensures that modem transmitter 21 is transmitting symbols at a rate equal to the estimated CO codec sampling rate, i.e., FSTX+ΔFSTX.
The sampling rate FC of modem codec 28 is greater than the symbol rate FS of modem transmitter 21 and modem receiver 22, i.e., FC>FS. The sampling rate FSRX at which modem receiver 22 receives samples from receiver re-sampler 24 is greater than the symbol rate FS of modem receiver 22, i.e., FSRX>FS. When analog modem 14 is using PCM transmissions in the upstream direction as in case of a V.92 analog modem, then the sampling rate FSTX of modem transmitter 21 is equal to or greater than the symbol rate FS of modem transmitter 21, i.e., FSTX≧FS.
Modem transmitter 21 uses the estimated sampling rate FSRX+ΔFSRX of modem receiver 22 to synchronize its sampling rate with the sampling rate of CO codec 34. In order to accomplish such, modem transmitter 21 needs to generate samples at FS+ΔFS and then converts the sampling rate from FS+ΔFS to FC. Transmitter re-sampler 23 can be used for such purpose. If a single re-sample is used, then FSTX=FS and transmitter re-sampler 23 converts the sampling rate from FSTX+ΔFSTX to FC. However, transmitter re-sampler 23 also yields an attenuation in the order of 6 dB at half the input sampling rate, i.e., (FSTX+ΔFSTX)/2, which is around 4 kHz as FSTX=FS for the present example. Since the V.92 transmit spectrum occupies the entire band of 0 to FS/2 Hz, such an attenuation would reduce the upstream connect rates and decrease the throughput.
In order to overcome the above-mentioned problem, a fixed sampling rate converter (SRC) 43 is added between the V.92 analog modem transmitter and transmitter re-sampler 23. SRC 43 performs a fixed rate conversion by a factor FC/FS of the input sampling rate. Sampling rate of modem codec 28 is greater that the symbol rate of transmitter 21. SRC 43 is preferably implemented with a low-pass filter designed to yield an almost flat response until the half of input signal sampling frequency, which is close to FS/2 Hz (i.e., 4 kHz for the present example). Since SRC 43 changes the input sampling rate by a factor FC/FS, the default input sampling rate FSTX of transmitter re-sampler 23 now becomes equals to FC. Transmitter re-sampler 23 now has a 6 dB attenuation at (FSTX+ΔFSTX)/2=FC/2 (ΔFSTX is very small compare to FSTX because sampling clock oscillators used in a CO and analog modems are usually accurate to an order of 100 ppm). FC is chosen sufficiently greater than FS so that re-sampler gain in the spectrum of 0 to FS/2 Hz remains close to unity.
The V.92 transmit spectrum occupies 0 to 4 kHz. If FC=9600 symbols/second and FS=8000 symbols/second, then FC/2=4.8 kHz and FS/2=4 kHz. For the present example, re-sampler 23 is designed to yield unity gain in the spectrum of 0 to 4 kHz and an attenuation of 6 dB at 4.8 kHz. As the 6 dB attenuation now takes place above a transmit spectrum edge value of 4 kHz, there is no attenuation in the band edge component.
As has been described, the present invention provides a method and apparatus for improving upstream connect rates of a V.92 analog modem. With the present invention, a transmitter re-sampler can perform synchronizations of an analog transmitter to a CO clock at improved connect rates because of no attenuation occurred in the transmit spectrum.
It is also important to note that although the present invention has been described from a hardware perspective, those skilled in the art will appreciate that the mechanisms of the present invention are capable of being distributed as a program product in a variety of forms, and that the present invention applies equally regardless of the particular type of signal bearing media utilized to actually carry out the distribution. Examples of signal bearing media include, without limitation, recordable type media such as floppy disks or CD ROMs and transmission type media such as analog or digital communications links.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
The present patent application is related to a copending application U.S. Ser. No. ______, filed on even date, entitled “METHOD AND APPARATUS FOR SYNCHRONIZING A TRANSMITTER CLOCK OF AN ANALOG MODEM TO A REMOTE CLOCK” (Attorney Docket No. SILA0013), the pertinent of which is incorporated herein by reference.