Apparatus for detecting uplink ranging codes in a wireless communication system

Information

  • Patent Application
  • 20080097727
  • Publication Number
    20080097727
  • Date Filed
    February 26, 2007
    17 years ago
  • Date Published
    April 24, 2008
    16 years ago
Abstract
An apparatus for detecting uplink ranging codes includes a first transform unit for transforming data received from a mobile station to generate first outputs; a cross-correlation unit for comparing the first outputs with possible ranging codes to generate second outputs; a screening unit for selectively passing the second outputs representing parts of the received data that match the possible ranging codes; a second transform unit for transforming the second outputs from the screening unit to generate third outputs; and a detection unit for detecting the ranging codes for the received data based on the third outputs.
Description

BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates a block diagram showing a conventional apparatus for detecting uplink ranging codes.



FIG. 2 illustrates a block diagram showing an apparatus for detecting uplink ranging codes in accordance with one embodiment of the present invention.



FIG. 3 illustrates a graph showing a signal distribution pattern for a match between received data and particular ranging codes in accordance with one embodiment of the present invention.



FIG. 4 illustrates a process flow for the apparatus to detect uplink ranging codes in accordance with one embodiment of the present invention.





DESCRIPTION

This invention is directed to an apparatus for detecting uplink ranging codes in a wireless communication system. The following merely illustrates various embodiments of the present invention for purposes of explaining the principles thereof. It is understood that those skilled in the art will be able to devise various equivalents that, although not explicitly described herein, embody the principles of this invention.



FIG. 2 illustrates a block diagram showing an apparatus 200 implemented in a base station for detecting uplink ranging codes transmitted by one or more mobile stations in accordance with one embodiment of the present invention. The apparatus 200 includes, but not being limited to, a first transform unit 202, a cross-correlation unit 204, a switch 206, a screening unit 208, a second transform unit 210, and a detection unit 212. The first transform unit 202 receives data from a mobile station, and transforms the data from one domain to another using a mathematical algorithm, such as FFT. The cross-correlation unit 204 receives the transformed data outputs from the first transform unit 202, and compares them with possible ranging codes from a ranging code book of the base station to determine whether parts of the data received from the mobile station match the code sequences compiled in the ranging code book for further estimation of information, such as time and frequency offsets, power adjustments, and bandwidth requirements.


The switch 206 receives outputs from the cross-correlation unit 204, and selectively passes the outputs to the screening unit 208 or the second transform unit 210, depending on whether one or more predetermined criteria are met. For example, if the size of the ranging code book is smaller than a predetermined value, the switch 206 will pass the outputs from the cross-correlation unit 204 to the second transform unit 210 bypassing the screening unit 208; if the size of the ranging code book is larger than the predetermined value, the switch 206 will pass the outputs to the screening unit 208 for identifying parts of the received data that match the potential ranging codes, thereby reducing the number of tasks that must be processed by the second transform unit 210—the operation of the screening unit 208 will be described in further detail in following paragraphs. As another example, if the number of the detected ranging codes generated by the detection unit 212 is smaller than a predetermined threshold, the switch 206 will pass the outputs from the cross-correlation unit 204 to the screening unit 208. However, if the number of the detected ranging codes is larger than the predetermined threshold, the switch 206 will forward the outputs from the cross-correlation unit 206 to the second transform unit 210, bypassing the screen unit 208. The scenario in which the switch 206 passes outputs from the cross-correlation unit 204 to the screening unit 208 is referred to as a sub-optimal mode, whereas the scenario in which the switch 206 passes outputs from the cross-correlation unit 204 to the second transform unit 210, bypassing the screening unit 208, is referred to as an optimal mode.


The screening unit 208 filters through the outputs of the cross-correlation unit 204 to identify parts of the data received from the mobile station that match the possible ranging codes from the ranging code book. The screening unit 208 forwards the matches to the second transform unit 210, and discards the identification results that do not match. Mathematically, S=[s(1), s(2), . . . , s(N)] is the cross-correlation vector of the i-th possible ranging code Ci=[ci(1), ci(2), . . . ci(N)] with the received signal [r(1), r(2), . . . , r(N)] in the output of the cross-correlation unit 204. A differential operation is performed to S, i.e. x(n)=s(n+1)s*(n), n=1, 2, . . . , N−1, where s*(n) is the complex conjugate of s(n). Sum x(n) together to provide







y
=






n
=
1


N
+
1




x


(
n
)






,




and compare y with the predetermined threshold. If y>h, proceed to the second transform unit 210. The second transform unit 210 transforms the outputs from the screening unit 208 with a mathematical algorithm, such as IFFT. Because the number of outputs from the screening unit 208 is reduced, the demands for computing resources by the second transform unit 210 as well as the detection unit 212 are also reduced.


The detection unit 212 receives outputs from the second transform unit 210, and detects the ranging codes for the received data. Various types of information useful for the base station to establish links with the mobile station can be estimated based on the detected ranging codes. For example, the time offset, frequency offset, and the power adjustments of the uplink signals from the mobile station to the base station can be estimated based on the detected ranging codes.


In this embodiment, the time offset is estimated by comparing a signal distribution graph plotted based on the outputs from the second transform unit 210 with a set of predetermined signal distribution patterns of the possible ranging codes. Referring to FIG. 3, an exemplary graph 300 is plotted to show a pattern of a particular match for the date received from the base station and one of the possible ranging codes. The graph 300 is shown in the time domain where the x-axis represents time samples and the y-axis represents amplitudes. For each possible ranging code, a pattern as exemplified by the graph 300 can be drawn, and all of the patterns in association with the ranging code book can be compiled in a library. The detection unit 212 (shown in FIG. 2) compares matches of the outputs from the second transform unit 210 (shown in FIG. 2) with the patterns in association with the ranging codes to determine whether and which ranging codes are carried by data received from the mobile station, and determine the time offset based on the pattern that resembles the matches using relative positions of the peaks in the pattern, such as the graph 300.


In the prior art, the time offset is estimated by the peak location of the signal distribution curve. However, the estimated result may not be accurate as the location of the peak on the time line may be affected by noise. In this embodiment, the time offset is determined by relative peak locations in a pattern, thereby eliminating influences of noise and factional sampling offsets. As a result, the accuracy of time estimation is improved.


The detection unit 212 can also detect frequency offsets using the received ranging codes. For example in an Orthogonal Frequency Division Multiplexing (OFDM) system, suppose the OFDM symbol length is N, and ranging signal is transmitted at the first OFDM symbol. Let [rj(1), rj(2), . . . , rj(N)] be the j-th received OFDM symbol in frequency domain. Suppose the i-th ranging code is detected and the corresponding time offset is πi. Steps of estimating the corresponding frequency offset to the i-th ranging code are described as following:


Step 1:
If the time offset







τ
i

>

N
2


,




conduct cross-correlation for [r3(1), r3(2), . . . , r3(N)] and [r2(1), r2(2), . . . , r2(N)] with the i-th ranging code Ci=[ci(1), ci(2), . . . , ci(N)] respectively. The results of cross-correlation are expressed as S2=[s2(1), s2(2), . . . , s2(N)], S1=[s1(1), s1(2), . . . , s1(N)], with s2(n)=r3(n)ci*(n), s1(n)=r2(n)ci*(n).


If the time offset







τ
i



N
2


,




perform the cross-correlation for [r2(1), r2(2), . . . , r2(N)], [r1(1), r1(2), . . . , r1(N)], with the i-th ranging code Ci=[ci(1), ci(2), . . . , ci(N)] respectively. In the second cross-correlation, a phase rotation is considered for the cyclic prefix structure of initial ranging. The results of cross-correlation are presented as S2=[s2(1) s2(2), . . . , s2(N)], S1=[s1(1), s1(2), . . . , s1(N)], with s2(n)=r2(n)ci(n)exp(jnφ0), s1(n)=r1(n)ci(n), where j=√{square root over (−1)} the value φ0 depends on the length of cyclic prefix.


Step 2:
Perform the IFFT for S2 and S1, Z1=IFFT(S1), Z2=IFFT(S2).
Step 3:







Calculate





phase






ϕ
i


=

phase






(




n
=
1

N





Z
2



(
n
)





Z
1
*



(
n
)




)



;




or φi=phase(Z2i)Z1*(πi)), where Z1*(n) is the complex conjugate of Z1(n).


Step 4:

Based on φi to calculate the frequency offset respect to the i-th ranging code








f
i

=


ϕ
i


2





π






T
s



f
c




,




where Ts is the duration time of one OFDM symbol, fc is the system carry frequency.



FIG. 4 illustrates a process flow 400 for the above-described apparatus implemented in a base station to detect uplink ranging codes in accordance with the embodiment of the present invention. At step 402, the apparatus receives data from at least one mobile station seeking to establish uplink channels with the base station. At step 404 the received data are transformed from one domain into another with a mathematical algorithm, such as FFT. At step 406 the transformed data are compared with possible ranging codes using methods, such as cross-correlation, in order to identify the ranging codes carried by the received data. At step 408, a determination whether to switch the apparatus to an optimal or sub-optimal mode is performed based on certain predetermined criteria, such as the size of the ranging code book and the number of the detected ranging codes. If the sub-optimal mode is selected, the process proceeds to step 410 where the results of the data comparison are screened for matches between the transformed data and the possible ranging codes, such that the number of the matches forwarded to step 412 for processing can be reduced, thereby reducing the demand for computing resources of the system. If the sub-optimal mode is not selected, i.e., the optimal mode is activated, the process proceeds to step 412 where all the results of the cross-correlation are transformed back from one domain into another with a mathematical algorithm, such IFFT. The outputs of the transform are then processed for ranging code detection, and time/frequency/power adjustment information estimation, at step 414.


One advantage of the present invention is its flexibility in switching between the sub-optimal and optimal modes. This allows a base station to use its resources more efficiently than that implemented according to the conventional technology when detecting ranging codes. For example, if the ranging code book contains a large number of possible ranging codes, the proposed apparatus will switch to the sub-optimal mode to reduce the demanding for resources in data processing; if the ranging code book contains a small number of possible ranging codes, the proposed apparatus will switch to the optimal mode in order to achieve a more accurate or through result of data processing. Another advantage of the proposed apparatus is that the accuracy of the time offset estimation is improved as it is determined by patterns instead of peak locations.


It is noted that the proposed apparatus is applicable to any distributed frequency domain PN (Pseudo-random Noise) sequences. This includes any preamble, ranging for FDMA (Frequency Division Multiple Access), OFDMA (Orthogonal Frequency Division Multiple Access), and any combination of them, synchronized or unsynchronized, frequency division duplex (FDD) or time division duplex (TDD).


The above illustration provides many different embodiments or embodiments for implementing different features of the invention. Specific embodiments of components and processes are described to help clarify the invention. These are, of course, merely embodiments and are not intended to limit the invention from that described in the claims.


Although the invention is illustrated and described herein as embodied in one or more specific examples, it is nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made therein without departing from the spirit of the invention and within the scope and range of equivalents of the claims. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention, as set forth in the following claims.

Claims
  • 1. An apparatus for detecting uplink ranging codes, comprising: a first transform unit for transforming data received from a mobile station to generate first outputs;a cross-correlation unit for comparing the first outputs with possible ranging codes to generate second outputs;a screening unit for selectively passing the second outputs representing parts of the received data that match the possible ranging codes;a second transform unit for transforming the second outputs from the screening unit to generate third outputs; anda detection unit for detecting the ranging codes for the received data based on the third outputs.
  • 2. The apparatus of claim 1 wherein the first transform unit utilizes an algorithm of Fast Fourier Transform.
  • 3. The apparatus of claim 1 wherein the second transform unit utilizes an algorithm of Inverse Fast Fourier Transform.
  • 4. The apparatus of claim 1 further comprising a switch coupled to the cross-correlation unit for selectively sending the second outputs to the second transform unit bypassing the screening unit if a predetermined criterion is met.
  • 5. The apparatus of claim 4 wherein the predetermined criterion is met when a ranging code book providing the possible ranging codes has a size smaller than a predefined value.
  • 6. The apparatus of claim 4 wherein the predetermined criterion is met when the ranging codes detected by the detection unit is smaller than a predetermined threshold.
  • 7. The apparatus of claim 1 wherein the detection unit further estimates a time offset of the data received from the mobile station.
  • 8. The apparatus of claim 7 wherein the time offset is estimated by comparing the third outputs from the second transform unit with a set of predetermined signal distribution patterns of the possible ranging codes, using relative peak locations of the patterns.
  • 9. The apparatus of claim 1 wherein the detection unit further estimates a frequency offset of the data received from the mobile station.
  • 10. The apparatus of claim 1 wherein the detection unit further acquires power adjustment information in association with the mobile station based on the detected ranging codes.
  • 11. A method for a base station to detect uplink ranging codes from a mobile station, comprising: receiving data from the mobile station;transforming the data received with Fast Fourier Transform to generate first outputs;comparing the first outputs with possible ranging codes to generate second outputs;screening the second outputs for selectively passing the second outputs representing parts of the received data that matches the possible ranging codes, when a predetermined criterion is met;transforming the selectively passed second outputs with Inverse Fast Fourier Transform to generate third outputs; anddetecting the ranging codes for the received data based on the third outputs.
  • 12. The method of claim 11 further comprising bypassing the step of screening if the predetermined criterion is not met.
  • 13. The method of claim 12 wherein the predetermined criterion is met when a ranging code book providing the possible ranging codes has a size larger than a predefined value.
  • 14. The method of claim 12 wherein the predetermined criterion is met when the detected ranging codes is smaller than a predetermined threshold.
  • 15. The method of claim 11 further comprising estimating a time offset of the data received from the mobile station.
  • 16. The method of claim 15 wherein the time offset is estimated by comparing the third outputs with a set of predetermined signal distribution patterns of the possible ranging codes, using relative peak locations of the patterns.
  • 17. The method of claim 11 further comprising estimating a frequency offset of the data received from the mobile station.
  • 18. The method of claim 11 further comprising acquiring power adjustment information in association with the mobile station based on the detected ranging codes.
CROSS REFERENCE

The present application claims the benefit of U.S. Provisional Application Ser. No. 60/853,861, which was filed on Oct. 24, 2006.

Provisional Applications (1)
Number Date Country
60853861 Oct 2006 US