Method for sample rate conversion of digital data

Coded data generation or conversion – Digital code to digital code converters – Data rate conversion

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

36

Reexamination Certificate

active

06313765

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to a method for converting a digital signal sampled at a first rate to a digital signal sampled at a second rate.
BACKGROUND OF THE INVENTION
Digital sample rate conversion is used in many types of digital systems. Audio signals, such as might be generated in making recordings of music, are often processed digitally. The various pieces of equipment used to process and record the signals will not always operate at the same sampling frequency. As a result, it often necessary that each piece of equipment accept a digital signal sampled at a first rate and then convert it to a digital signal with second sampling rate before processing it. The information content of the signal must not be appreciably changed by the sample rate conversion or the sound quality of the signal might be degraded.
A very simple way to accomplish sample rate conversion is to simply drop out samples from the first signal. The output wave form thus has fewer samples per second and therefore has a lower sample rate. Assuming the Nyquist criterion is met in the output signal, it is accurate representation of the same signal as the input. This process is call “decimation.” It is limited, though to situations in which sampling rate of the input is an integer multiple of the sampling rate of the output.
A process called interpolation may be used when the sampling rate of the output is intended to be an integer multiple higher than the sampling rate of the input signal. In an interpolation operation, an intermediate signal is first produced by filling the time between samples of the input signal with samples which are arbitrarily assigned the value of zero. The intermediate signal is called a “zero stuffed” signal. Because samples are added while the time span is kept the same, the zero stuff signal has a higher sampling rate than the input signal. The higher frequency zero-stuffed signal is filtered in a digital interpolation filter which smoothes out the discontinuities caused by adding the extra samples. The result is a digital signal which has the same shape as the input signal, but contains more samples per second.
The processes of decimation and interpolation may be combined. For example, a circuit could decimate by a factor of M and interpolate by a factor of L. The resulting output would have a sampling rate in a ratio of L/M to the input sampling rate. Such a circuit is limited to scaling the sample rate by a whole number. More importantly, for a digital signal there are practical limits on the ranges of values for M and L. M cannot be so large that the decimated signal no longer satisfies the Nyquist rate. L cannot be made arbitrarily large because the complexity of the interpolation filters increases as L gets larger.
One method of resampling that has been widely used is when the input digital signal is converted back to an analog signal. It is filtered to smooth out discontinuities and then introduced in the digital analog conversion process and then resampled at a second rate to produce an output signal with the desired sampling rate. This type of resampling still has limitations because analog to digital converters are often expensive and multiple conversion operations will likely introduce noise into the signal. This technique also has a disadvantage of distortions due to nonlinearities, intermodulation, imperfect phase response and noise which are inherent in the system.
The type of resampling schemes described above may be used in a coder/decoder which is commonly known as a codec. A codec is used in telecommunications systems. The codec is used to convert a signal, through an analog to digital conversion to digital data and then to reconstitute the signal by performing a digital to analog conversion of the signal data and passing the resulting signal through a receive filter. The analog to digital conversion of the signal is accomplished by taking periodic samples of the signal. The periodic sampling of the signal is governed by the sampling theorem. For a codec, the sampling is done at an eight kilohertz rate which means that at every 125 microseconds a point on the sign wave is sampled.
A codec is often used for converting voice data stored on a compact disc (CD). The voice data on a CD takes advantage of the enormous storage capability of a CD. It generally covers a much bigger range of amplitude than is needed and has embedded error correction in. Resampling is often used to take voice data archived on a CD and convert it for use on a codec which is a very common device for converting digitally sampled voice on phones. The use of a codec in this situation is superior to what is described in the prior art, because past solutions have used high fidelity tapes and analog equipment that requires a lot of memory and were considerably expensive to build.
SUMMARY OF THE INVENTION
Disclosed herein is a method of converting digital data which has been sampled at a first rate to digital information which has a second sampling rate. The method described herein can be used in situations were voice data is stored on a compact disc (CD) at a high (first) sampling rate and then must be converted for use an a codec which has a lower (second) sampling rate. In almost all cases the higher sampling rate is not a whole number multiple of the lower sampling rate.
According to the resampling method described herein, the digital data which was stored at first sampling rate is first retrieved from memory. The second sampling rate is divided by the first sampling rate to get a ratio, R. The digital data is read serially, and each data word is assigned a consecutive number, S. For each dataword read, S is multiplied by R. If the fractional portion of S*R<R/2, datawords S and S−1 are selected and an extrapolation process is performed between the two datawords to determine the value of the resampled dataword.
If S*R>1−R/2, samples S and S+1 are selected and an extrapolation process is performed between the two datawords to determine the value of the resampled dataword. The resampled values can then be read with a translation device such as a codec.


REFERENCES:
patent: 4020332 (1977-04-01), Crochiere et al.
patent: 4184049 (1980-01-01), Crochiere et al.
patent: 4320519 (1982-03-01), Kelley et al.
patent: 4460890 (1984-07-01), Busby
patent: 4901077 (1990-02-01), Christopher
patent: 5051981 (1991-09-01), Kline
patent: 5111417 (1992-05-01), Belloc et al.
patent: 5262970 (1993-11-01), Sevenhans et al.
patent: 5319801 (1994-06-01), Richey et al.
patent: 5387910 (1995-02-01), Medan et al.
patent: 5475792 (1995-12-01), Stanford et al.
patent: 5512895 (1996-04-01), Madden et al.
patent: 5559513 (1996-09-01), Rothermel et al.
patent: 5612975 (1997-03-01), Becker et al.
patent: 5786778 (1998-07-01), Adams et al.
patent: 5792970 (1998-08-01), Mizobata

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method for sample rate conversion of digital data does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method for sample rate conversion of digital data, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method for sample rate conversion of digital data will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2589317

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.