The application herein (docket number 13587US01) references the following applications having docket numbers 13578US01, 13586US01, 13588US01, and 13589US01 filed on the same day as the application herein (docket number 13587US01) was filed.
[Not Applicable]
[Not Applicable]
Certain embodiments of the present invention relate to the processing of multi-channel television signals. More specifically, certain embodiments relate to a method and apparatus for performing sampling rate conversion on digitally decoded BTSC (Broadcast Television System Committee) audio signals.
During the 1980's, the FCC adopted the BTSC format as a standard for multi-channel television sound (MTS). Typically, the BTSC format is used with a composite TV signal that includes a video signal as well as the BTSC format for the sound reproduction.
The BTSC format is similar to FM stereo but has the ability to carry two additional audio channels. Left plus right (L+R) channel mono information is transmitted in a way similar to stereo FM in order to ensure compatibility with monaural television receivers. A 15.734 KHz pilot signal is used, instead of the FM stereo 19 KHz pilot signal, which allows the pilot signal to be phase-locked to the horizontal line frequency. A double sideband-suppressed carrier at twice the frequency of the pilot transmits the left minus right (L−R) stereo information. The stereo information is DBX encoded to aid in noise reduction. An SAP channel is located at 5 times the pilot frequency. The SAP channel may be used for second language or independent source program material. A professional audio channel may be added at 6.5 times the pilot frequency in order to accommodate additional voice or data.
Stereo tuners and demodulator units capable of decoding the BTSC format have been on the market for some time. The front end of the units typically includes analog components or integrated circuit chips. Traditionally, BTSC decoding has been done in the analog domain requiring larger, more expensive implementations that consume a significant amount of power. Previous digital implementations may not be optimized, requiring many clock cycles to perform various processing functions.
It is desirable to perform BTSC decoding in the digital domain on a block of an ASIC chip such that the implementation is optimized for reduced complexity and cost. By reducing the complexity, fewer clock cycles are required for processing, and power consumption is also reduced.
There are several digital audio output sampling rates that are standard in the industry. The standard digital audio output sampling rates include 32 KHz, 44.1 KHz, and 48 KHz. After decoding any signal component of a composite audio signal down to a common, single sampling rate, it is desirable to be able to output the signal component at any of the three sampling rates described above.
Traditionally, a design to convert from a single sampling rate to any of multiple sampling rates would require multiple sampling rate conversion schemes, one to handle each desired standard output sampling rate. As a result, duplication of hardware and additional cost and power consumption would be incurred. An efficient implementation to convert from a single sampling rate to any of the standard sampling rates is desired.
Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with embodiments of the present invention as set forth in the remainder of the present application with reference to the drawings.
A need exists for an approach to perform efficient sampling rate conversion in a multi-channel audio signal decoding system by reducing the complexity of the hardware required, therefore reducing cost and power consumption.
An embodiment of the present invention provides efficient, low cost sampling rate conversion of a non-standard digital audio signal in a digital multi-channel audio system. Using a single set of low pass filter coefficients, sampling rate conversion from a non-standard digital audio rate to any of a plurality of standard digital audio rates is accomplished. In such an environment, several stages of digital processing are performed. Efficient processing methods are used to execute the various processing functions in order to reduce clock cycles and addressing to memory.
A method is provided for converting a digital audio signal from a non-standard sampling rate to any of a plurality of standard sampling rates. The digital audio signal at the non-standard sampling rate may include any of a mono signal, a left stereo signal, a right stereo signal, and a SAP signal. The digital audio signal may be previously derived from digital channel demodulation and filtering of a composite digital audio signal including channels such as SAP, L−R stereo, and L+R mono. Techniques of up-sampling, low-pass filtering, and down-sampling are employed to perform sampling rate conversion. A single set of low-pass filter coefficients is used for all of the standard sampling rates.
Apparatus is provided for converting a digital audio signal from a non-standard sampling rate to any of a plurality of standard sampling rates. The digital audio signal at the non-standard sampling rate may include any of a mono signal, a left stereo signal, a right stereo signal, and a SAP signal. The digital audio signal may be previously derived from digital channel demodulation and filtering of a composite digital audio signal including channels such as SAP, L−R stereo, and L+R mono. The apparatus comprises a memory storing a single set of low-pass filter coefficients, a low-pass filter using the same single set of low-pass filter coefficients for any of the standard sampling rates, and a linear interpolator allowing non-integer conversion to any of a plurality of standard sampling rates.
Certain embodiments of the present invention afford an approach to achieve efficient, low cost sampling rate conversion to a plurality of standard sampling rates. Certain embodiments of the present invention also use an efficient implementation of a single, fixed set of low-pass filter coefficients to achieve any of the plurality of standard sampling rates.
During the 1980's, the FCC adopted the BTSC format as a standard for multi-channel television sound (MTS). Typically, the BTSC format is used with a composite TV signal that includes a video signal as well as the BTSC format for the sound reproduction.
The BTSC format is similar to FM stereo but has the ability to carry two additional audio channels. Left plus right (L+R) channel mono information 20 is transmitted in a way similar to stereo FM in order to ensure compatibility with monaural television receivers. A 15.734 KHz pilot signal 25 is used, instead of the FM stereo 19 KHz pilot signal, which allows the pilot signal 25 to be phase-locked to the horizontal line frequency. A double sideband-suppressed carrier, at twice the frequency of the pilot, transmits the left minus right (L−R) stereo information 30. The stereo information is DBX encoded to aid in noise reduction. An SAP channel 40 is located at 5 times the pilot frequency. The SAP channel 40 may be used for second language or independent source program material. A professional audio channel (not shown) may be added at 6.5 times the pilot frequency 25 in order to accommodate additional voice or data.
Sampling rate conversion (SRC) is performed on the decoded SAP audio signal, the demodulated mono audio signal (L+R), or the stereo left and right audio signals. In one embodiment of the present invention, the sampling rate of the demodulated audio signals is 31.64 KHz and is a non-standard sampling rate. Efficiency of preceding decoding functions is achieved, however, by generating all of the demodulated audio signals at the same sampling rate of 31.64 KHz and then performing sampling rate conversion to any of the standard audio sampling rates.
In accordance with an embodiment of the present invention, sampling rate conversion is a process of translating the non-standard audio signal sampling rate of 31.64 KHz to a sampling rate including one of the standard audio output sampling rates of 32 KHz, 44.1 KHz, or 48 KHz. An embodiment of the present invention accomplishes sampling rate conversion by performing a combination of signal up-sampling, interpolation, and signal down-sampling.
Up-sampling is the first part of sampling rate conversion and is typically performed by inserting zeros between digital samples of the non-standard digital audio signal 115 to generate a signal at a higher effective sampling rate. The value of the up-sampling factor is determined by trading off various factors of complexity, cost, and performance. In an embodiment of the present invention, the non-standard digital audio signal 115 is effectively up-sampled by a factor of 64 and filtered with a low-pass filter having 1152 taps (i.e. using 1152 coefficients).
A problem with up-sampling is that it generates aliasing. Therefore, aliased components appear in the final sampling rate converted signal if the aliased components are not filtered out (or at least greatly reduced). A low-pass filter is used to perform the function of interpolating the up-sampled signal to generate digital sample values that correspond to the up-sampled rate. If a set of low-pass filter coefficients is designed with a cut-off frequency corresponding to approximately π divided by the up-sampling factor or lower, the aliased components are filtered out of (or greatly reduced in) the resultant signal before down-sampling is performed. The vast majority of the audio information is below 12 KHz. In an embodiment of the present invention, the cut-off frequency of the low-pass filter is designed to be at 13 KHz. The cut-off frequency of 13 KHz reduces the aliased components and simplifies the filter design.
A feature of one embodiment of the present invention with respect to sampling rate conversion is that any of the resultant audio output signals (SAP out, mono out, left out, right out) may be converted to any one of the three standard audio output sampling rates listed above by using the same set of low-pass filter coefficients 110 in the SRC conversion process performed by apparatus 100.
To illustrate the up-sampling and filtering process,
If the desired final sampling rate in the example of
In an embodiment of the present invention, sampling rate conversion is being performed on a non-standard digital audio signal 115 of 31.64 KHz to convert to any of the standard audio sampling rates of 32 KHz, 44.1 KHz, and 48 KHz. Since the effective up-sampling factor is always 64, the down-sampling factor will never be an integer value and, therefore, linear interpolation is used to generate the standard digital audio signal 117. The down-sampling factor corresponding to the standard audio sampling rates are then
Since, in an embodiment of the present invention, the up-sampling factor is always 64 and the sampling rate of the standard digital audio signal 117 is always greater than the sampling rate of the non-standard digital audio signal 115, a single set of low-pass filter coefficients may be used. There is no need for a dedicated up-sampling rate or filter for each standard sampling rate.
To simplify the implementation of an embodiment of the present invention, instead of using a single 1152-tap filter operating on an up-sampled signal, the 1152 tap coefficients are re-arranged into 64 phases of 18 coefficients each. The non-standard digital audio signal 115 is then operated on by the low-pass filter 120 with the various phases of coefficients as needed.
It may be seen that the selected output samples in
In an embodiment of the present invention, the 1152 coefficients are divided into 64 phases of 18 coefficients each. A given 18-tap phased filter is generated by selecting every 64th coefficient from the original 1152 tap filter. To generate an output sample of the standard digital audio signal, only two 18-tap phases of the 64 are used along with linear interpolation. The 64 phases are rotated through to generate successive output samples at any of the standard sampling rates. The next pair of phases to be used to generate the next output sample depends on the effective down-sampling rate currently selected and the current phase of the standard digital audio signal. Periodically during the generation of the standard digital audio signal 117, four phases are selected and 2 output sample points are generated at the same time in order to maintain the desired standard sampling rate.
For an embodiment of the present invention described, the interpolated points do not always fall exactly in between two filtered points. For any given pair of filtered points to be interpolated, there is a corresponding accumulated interpolation ratio that is generated by the linear interpolator 130. As generation of successive output samples proceeds, the linear interpolator increments the accumulated interpolation ratio, for the current phase of the standard digital audio signal being generated, and applies the current interpolation ratio in the interpolation process. For example, for the standard sampling rate of 44.1 KHz, the interpolation ratio increment is (4410−3164)/3164=1246/3164.
Therefore, for a first output sample of the standard digital audio signal 117, the linear interpolator will interpolate between two filtered output samples, weighting the one filtered output sample by the current accumulated interpolation ratio of 1246/3164 and the other filtered output sample by 1−(1246/3164), which is one minus the current accumulated interpolation ratio. For the very next output sample, the accumulated interpolation ratio is incremented by 1246/3164 to 2492/3164 and the linear interpolator generates the next output sample based on 2492/3164 and 1−(2492/3164). As a result, interpolation is always done at the appropriate distance between the appropriate two filtered output samples. For the other standard output sampling rates of 32 KHz and 48 KHz, the interpolation ratio increments will be (3200−3164)/3164=36/3164 and (4800−3164)/3164=1636/3164, respectively.
The various elements illustrated in
In summary, certain embodiments of the present invention use a single set of low-pass filter coefficients to perform sampling rate conversion from a non-standard sampling rate to any of a plurality of standard sampling rates. An efficient implementation employing phased filtering techniques is used to perform sampling rate conversion.
While the invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from its scope. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.
Number | Date | Country | |
---|---|---|---|
Parent | 10082950 | Feb 2002 | US |
Child | 11835189 | Aug 2007 | US |