This invention relates generally to sampling of data streams.
It is well-known that the timing issue is less critical in Orthogonal Frequency Division Multiplexing (OFDM) than with single carrier Quadrature Amplitude Modulation (QAM), since the symbol interval in OFDM is N times that in a single carrier, where N denotes the number of tones in OFDM. Also, it is widely believed that the impact of a timing error in OFDM is phase rotation, which is purportedly easily corrected by a 1-tap frequency domain equalizer. In practice, though, when the transmitted signal is generated by an Inverse Fast Fourier Transform (IFFT), followed by upsampling, this is true only for those tones that are far away from the spectrum edge. Tones which are at the spectrum edge, or close to the spectrum edge, incur a magnitude distortion when the receiver sample timing does not precisely coincide with the sample timing at the transmitter. Theoretically, any timing offset within half CP only results in phase rotation if the OFDM signal is generated in continuous time waveform. If the transmitted waveform is taken from the IFFT and fed into a Digital-to-Analog Converter (DAC) without upsampling, a timing offset at the receiver does not induce the distortion. However, if the output of the IFFT is then upsampled prior to being run through the DAC, the distortion of the tones at or near the edge of the spectrum will occur. Substantially all OFDM signals are, however, generated by N-point Inverse Fast Fourier Transform (IFFT) and transformed to continuous time waveforms by data up-sampling and a Digital-to-Analog Converter (DAC). At the receiver, before the Fast Fourier Transform (FFT) processor, the continuous time waveform is sampled by an Analog-to-Digital Converter (ADC) and down-converted to 1× rate that is the same as the IFFT output.
Since most current systems typically use this timing error in fraction of 1× sample, this sampling offset results in phase rotation and magnitude scaling for each tone, especially tones close to the spectrum edge. As a result, the edge tones of the OFDM are usually not used for data transmission. To increase system capacity, on the other hand, it may be desired to use those abandoned tones close to the spectrum edge, since, in most cases, these phase rotations and magnitude scaling caused by a fractional sample timing error can be compensated by the 1-tap equalizer at the price of noise enhancement. If the timing error of these edge tones is not corrected, some sub-carriers (e.g., edge tones) will suffer signal-to-noise ratio loss, consequently resulting in degradation in performance.
The above needs are at least partially met through provision of a sampling technique described in the following detailed description, particularly when studied in conjunction with the drawings, wherein:
Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help improve understanding of various embodiments of the present invention. Also, common and well-understood elements that are useful or necessary in a commercially feasible embodiment are often not depicted in order to facilitate a less obstructed view of these various embodiments of the present invention.
Generally speaking, pursuant to these various embodiments, a data stream is divided into a predefined number of sample streams to provide a plurality of sample streams, and for at least two of the sample streams, a metric value is assessed and compared to provide a selected sample stream that is likely to resemble transmitted tones as represented by the data stream. The selected sample stream is then accordingly provided for output. According to an embodiment, substantially all tones of the data stream are used by a single user. In contrast, in another embodiment, substantially all tones of the data stream are used by a plurality of users such that each user uses a plurality of tones that are specifically assigned to the user.
In one specific embodiment, prior to the data stream being divided into a plurality of sample streams, a user tone of the data stream used by a selected user that is substantially closest to a band-edge of a magnitude curve of substantially all available tones of the data stream is selected to provide a selected user tone. According to an embodiment, this selected user tone is specifically selected by assessing a first and last tone used by the selected user to provide respectively the first and last user tones. A distance between the first user tone and a first tone of substantially all available tones of the data stream is assessed to provide a first user distance, and similarly, a distance between the last user tone and a last tone of substantially all available tones of the data stream is assessed to provide a last user distance. A comparison is then done to determine whether the first user distance corresponds at least in a predetermined way to the last user distance, and if so, the first user tone is selected as the selected user tone. Otherwise, when the first user distance does not correspond to the last user distance in the predetermined way, the last user tone is selected as the selected user tone.
According to an embodiment, the plurality of sample streams is specifically divided into an upper and a lower sample stream, and a FFT is computed for both the upper and the lower sample streams. In a specific embodiment, the metric value is assessed by selecting an upper user tone and a lower user tone respectively from the upper and lower sample streams, wherein both the upper user tone and the lower user tone are each substantially closest to a band-edge of a magnitude curve of substantially all available tones of the data stream. Accordingly, a magnitude of the upper user tone and the lower user tone is computed to provide respectively an upper user metric value and a lower user metric value, which are compared to provide a maximum user metric value. The sample stream used by the selected user that corresponds to this maximum user metric value is provided as the selected sample stream for output.
In one embodiment, the selected upper user tone is obtained through an assessment of a first upper tone and a last upper tone followed by another assessment of a distance between the first and last upper user tone to a first and last tone of substantially all available tones of the data stream to provide a first upper user distance and a last upper user distance, respectively. A comparison is done to determine whether the first upper user distance corresponds at least in a predetermined way to the last upper user distance, and if so, the first upper user tone is selected as the selected upper user tone. Otherwise, when the first upper user distance does not correspond in the predetermined way to the last upper user distance, the last upper user tone is selected. Similarly, the selected lower user tone is obtained by assessing a first and last lower tone of the data stream used by the selected user to provide a first and a last lower user tone, followed by an assessment of a distance between the first and the last lower user tone to a first and last tone of substantially all available tones of the data stream to provide a first and last lower user distance. It is then determined whether the first and last lower user distance corresponds in a predetermined way to each other, and if so, the first lower user tone is selected or otherwise, the last lower user tone is selected.
According to a specific embodiment, the assessment of the metric value is done through a selection of a sample stream from the two sample streams, which is used to assess a first metric value. A next sample stream is also selected and used to assess a second metric value. The comparison of these metric values is then done to provide a maximum metric value, and the sample stream associated with the maximum metric value is selected as the selected sample stream for output. In another embodiment, the metric value comprises an absolute value of a tone of the sample stream that is substantially closest to a band-edge of a magnitude curve of substantially all available tones in the data stream and a value from a FFT of the sample stream.
According to various embodiments, an apparatus is provided, which includes a sampling divider circuit that divides a data stream into a predefined number of sample streams to provide a plurality of sample streams, a sampling timing controller circuit coupled to the sampling divider circuit that assesses a metric value for each of at least two sample streams from the plurality of sample streams to provide a selected sample stream that is likely to resemble transmitted tones of the data stream, and a switch circuit coupled to the sampling timing controller circuit that provides the selected sample stream from the sampling timing controller circuit for output. In one embodiment, the sampling divider circuit further selects a user tone of the data stream used by a selected user that is substantially closest to a band-edge of a magnitude curve of substantially all available tones of the data stream to provide a selected user tone, wherein the selected sample stream is obtained from the selected user tone. The sampling divider circuit also further divides the data stream into an upper sample stream and a lower sample stream and computes a Fast Fourier Transform for the upper sample stream and the lower sample stream, according to an embodiment.
The sampling timing controller circuit, for a specific embodiment, further selects an upper and lower user tone from the upper and lower sample streams used by a selected user to provide a selected upper and lower user tone, wherein the upper and lower user tone is substantially closest to a band-edge of a magnitude curve of substantially all available tones of the data stream. In particular, the sampling timing controller circuit further computes a magnitude of the selected upper and lower user tones to provide an upper user metric value and a lower user metric value for comparison to provide a maximum user metric value, wherein the selected sample stream is associated with the maximum user metric value. According to an embodiment, the sampling timing controller circuit further compares the metric values of the at least two sample streams to provide a maximum metric value, wherein the selected sample stream is associated with the maximum user metric value. The metric value, in one embodiment, may include an absolute value of a tone of the sample stream that is substantially closest to a band-edge of a magnitude curve of substantially all available tones in the data stream and/or a value from a FFT of the sample stream.
The various embodiments also provide another apparatus that includes a sampling divider circuit that divides a data stream into a predefined number of sample streams to provide a plurality of sample streams, a sampling timing controller circuit coupled to the sampling divider circuit that assesses a metric value for each at least two sample stream from the plurality of sample streams to provide a first metric value and a second metric value and compares the first metric value and the second metric value to provide a maximum metric value, and a switch circuit coupled to the sampling timing controller circuit that provides a sample stream associated to the maximum metric value from the sampling timing controller circuit for output. Another apparatus is further provided, which includes a sampling divider circuit that divides a data stream into an upper sample stream and a lower sample stream, an upper Fast Fourier Transform circuit coupled to the sampling divider circuit that computes a Fast Fourier Transform for the upper sample stream, a lower Fast Fourier Transform circuit coupled to the sampling divider circuit that computes a Fast Fourier Transform for the lower sample stream, a sampling timing controller circuit coupled to the sampling divider circuit that selects an upper and a lower user tone from the upper and lower sample streams used by a selected user to provide a selected upper and lower user tone such that the upper and lower user tone is substantially closest to a band-edge of a magnitude curve of substantially all available tones of the data stream and computes a magnitude of the selected upper and lower user tones to provide an upper user metric value and a lower user metric value for comparison to provide a maximum user metric value, and a switch circuit coupled to the sampling timing controller circuit that provides a sample stream associated with the maximum user metric value from the sampling timing controller circuit for output.
Through these various teachings, a novel sampling technique has been provided that, among other things, provides for simple computation, while providing for a robust error timing value in cases of noise channel since the noise is effectively averaged out. With the various embodiments described, the worst sampling timing case is effectively only a quarter sample offset, where a 1-tap equalizer can compensate the phase rotation and magnitude scaling with only tolerable performance degradation for edge tones. Overall, the various teachings significantly improve performance for the edge tones, while virtually without experiencing any sampling timing degradation. Thus, the sampling technique provided with the various teachings translates to a simple and effective process for the timing error correction, resulting in improved noise-to-signal ratio in the communications system.
Referring now to the drawings, and in particular to
Turning now to
In this embodiment, a data stream 202 coming from an ADC 204 is processed through a sampling divider circuit 206 circuit that divides the data stream into a predefined number of sample streams to provide a plurality of sample streams 208, 210, 212. A sampling timing controller circuit 214, which is coupled to the sampling divider circuit 206, assesses a metric value for each of at least two ample streams and compares the metric values in order to provide a selected sample stream 208 (e.g., in this example shown) that is likely to resemble the transmitted tones of the data stream. A switch circuit 216 is coupled to the sampling timing controller circuit 214 that provides the selected sample stream 208 to a FFT circuit 218, which provides a FFT output 220 of the selected sample stream.
According to an embodiment, the sampling divider circuit 206 further selects a user tone of the data stream used by a selected user that is substantially closest to a band-edge of a magnitude curve of substantially all available tones of the data stream, and the selected sample stream is obtained from this selected user tone. In one embodiment, the sampling timing controller circuit 214 further compares the metric values from the at least two sample streams to provide a maximum metric value, which is used to select the sample stream for output. The metric value may be an absolute value of a tone of the sample stream that is substantially closest to a band-edge of a magnitude curve of substantially all available tone in the data stream according to this embodiment shown.
Turning now to
In this particular embodiment, to select a user tone of the data stream used by a selected user that is closest to a band-edge of the system tones (e.g., a magnitude curve of substantially all available tones of the data stream), an assessment 304, 306 of a first and last tone used by the selected user is made to provide a first and last user tone, respectively. For the first user tone, a distance between the first user tone and the first tone of the data stream is assessed 308 to provide a first user distance. Similarly, for the last user tone, a distance between the last user tone and a last tone of the data stream is assessed 310 to provide a last user distance. The first and last user distance is compared to determine 312 whether they correspond to each other in at least a predetermined way, specifically, in this embodiment, whether the first user distance is less than the last user distance. If they do correspond in the predetermined way to each other, specifically if the first user distance is less than the last user distance, the first user tone is selected 314 to provide the selected user tone, or otherwise, the last user tone is selected 316 for the selected user tone.
After a selected user tone that is closest to the band-edge of all the tones of the data stream, the data stream of the selected user tone is divided 318 into multiple sample streams, specifically 1 through N. For at least two of the sample streams, although every sample stream 320 is preferred for this embodiment shown, a sample stream is selected 322 to provide a selected sample stream in which a metric value of the selected sample stream is assessed 324. It is then determine 326 whether there are more sample streams available. In other words, all the sample streams are preferably processed until there is a metric value for every sample stream. If there are more sample streams that are available, the process 300 loops back to select 322 another sample stream. If, however, all the sample streams have been accounted for, the metric values of each of the sample streams are compared 328 to provide a selected sample stream that is likely to resemble the transmitted tones as are represented by the data stream.
Specifically, in this embodiment shown, a maximum of the metric values is selected as the maximum metric value, and the sample steam associated with the maximum metric value is outputted 330, which ends 332 the process 300 at this point. Specifically since the FFT is computed after an optimized sample stream has been selected, a mathematical formula is used to compute the metric value, which is shown below:
such that metricK is the metric value of a tone with index K that is closest to a band-edge of the data stream and yn is a tone of index n. Other metric values may be more suitable, but a proper defined metric value greatly depends upon the communications system that the various embodiments are to be implemented. As such, this metric value is shown as one of multiple metric values to be used in order to select a sample stream associated with this metric value that is likely to resemble transmitted tones as are represented by the data stream. Because the appropriate metric value is readily appreciated by a skilled artisan, other metric values, although not specifically shown, are within the scope of various teachings provided.
Referring now to
Specifically, according to an embodiment, the sampling timing controller circuit 420 selects an upper and a lower user tone from the upper and lower sample stream used by a user that is substantially closest to the band-edge. A magnitude of these selected upper and lower user tones is computed to provide an upper and a lower user metric value, respectively. The sampling timing controller circuit 420 then compares the upper user metric value and the lower user metric value to provide a maximum user metric value, and the sample stream with this maximum metric value is provided by a switch circuit 422 for output 424. In this embodiment shown, the metric value is based a value from the FFT of the sample streams.
Turning to
Referring now to
With these various teachings shown, a novel sampling technique has been provided that, among other things, provides for a simple timing computation, while providing a robust error timing value in cases of noisy channels since the noise is effectively averaged out with the value provided. The worst sampling timing case, with the various embodiments described, is effectively only a quarter sample offset, where 1-tap equalizer can compensate the phase rotation and magnitude scaling with some tolerable performance degradation for edge tones. Overall, the various teachings significantly improve performance of the edge tones, while experiencing minimal sampling timing degradation. Thus, the sampling technique provided with the various teachings translates into a simple and effective process for the timing error correction, which can result in an improved noise-to-signal ratio in the communications system.
Those skilled in the art will recognize that a wide variety of modifications, alterations, and combinations can be made with respect to the above described embodiments without departing from the spirit and scope of the invention, and that such modifications, alterations, and combinations are to be viewed as being within the ambit of the inventive concept.