Method and apparatus of cross-correlation

Information

  • Patent Grant
  • 8942318
  • Patent Number
    8,942,318
  • Date Filed
    Tuesday, October 22, 2013
    10 years ago
  • Date Issued
    Tuesday, January 27, 2015
    9 years ago
Abstract
Briefly, a method and apparatus to calculate cross-correlation values of complex binary sequences are provided. The apparatus may include a transformation unit and a cross-correlator. The cross-correlator may include a cross-correlation controller to provide, based on a type bit and a sign bit, a real component and/or an imaginary component of signals of complex binary sequences to a real accumulator and/or to an imaginary accumulator.
Description
BACKGROUND OF THE INVENTION

In wireless communication systems such as spread spectrum cellular communication systems, cross-correlators may be used to perform cross correlation between streams of sequences of spread spectrum signals. For example, in cellular wideband code division multiple access (WCDMA) systems a spread spectrum signal may include a coding sequence, for example, a pseudo-random code. In cellular wideband code division multiple access (WCDMA) systems, the pseudo-random code may be an M-sequence or a Gold Sequence which has good “noise like” properties and is simple to construct. Furthermore, the sequences of the spread spectrum signal may be the product of a 64 chip Walsh code (aimed at separating up to 64 different users per base) and a periodic pseudorandom noise (PN) sequence (aimed at separating the different bases).


Cross-correlators may be used to perform cross-correlation between the streams of sequences. However, existing hardware implementations of cross-correlators may include a large number of components and may consume large currents.


Thus, there is a need for hardware and/or software implementations for calculating cross-correlation values to mitigate the above-described disadvantages.





BRIEF DESCRIPTION OF THE DRAWINGS

The subject matter regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of operation, together with objects, features and advantages thereof, may best be understood by reference to the following detailed description when read with the accompanied drawings in which:



FIG. 1 is a schematic flowchart depicting a method according to an exemplary embodiment of the present invention;



FIG. 2 is a schematic illustration helpful in understanding a phase rotation according to some exemplary embodiments of the present invention; and



FIG. 3 is a schematic diagram of a receiver according to some exemplary embodiments of the present invention.





It will be appreciated that for simplicity and clarity of illustration, elements shown in the figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity. Further, where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements.


DETAILED DESCRIPTION OF THE INVENTION

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However it will be understood by those of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.


Some portions of the detailed description which follow are presented in terms of algorithms and symbolic representations of operations on data bits or binary digital signals within a computer memory. These algorithmic descriptions and representations may be the techniques used by those skilled in the data processing arts to convey the substance of their work to others skilled in the art.


Unless specifically stated otherwise, as apparent from the following discussions, it is appreciated that throughout the specification discussions utilizing terms such as “processing,” “computing,” “calculating,” “determining,” or the like, refer to the action and/or processes of a computer or computing system, or similar electronic computing device, that manipulate and/or transform data represented as physical, such as electronic, quantities within the computing system's registers and/or memories into other data similarly represented as physical quantities within the computing system's memories, registers or other such information storage, transmission or display devices.


It should be understood that the present invention may be used in variety of applications. Although the present invention is not limited in this respect, the circuits and techniques disclosed herein may be used in many apparatuses such as receivers of a radio system. Receivers intended to be included within the scope of the present invention include, by a way of example only, cellular radiotelephone receivers, spread spectrum receivers, digital system receivers and a like.


Types of cellular radiotelephone receivers intended to be within the scope of the present invention include, although not limited to, Code Division Multiple Access (CDMA), CDMA 2000 and wideband CDMA (WCDMA) cellular radiotelephone, receivers for receiving spread spectrum signals, and the like.


Turning to FIG. 1, a method of cross-correlating between at least two signals of complex binary sequences according to an embodiment of the invention is shown. Although the scope of the present invention is not limited in this respect, the method may begin with transforming quadrature phase shift keying (QPSK) sequences into two signals of complex binary sequences (block 100), if desired.


Although the scope of the present invention is not limited in this respect, the transforming of QPSK sequences into two signals of complex binary sequences may be demonstrated by the following equations. The following equation may be used to calculate a complex cross correlation between two QPSK complex sequences:










CC


(

n
,
d

)


=




i
=
0


L
-
1






S
1



(

n
+
i

)


·


S
2
*



(

n
+
i
+
d

)








Equation





1








wherein:


S1(n), S2(n) are two signals of complex sequences with given complex values of ±A±j·A;


L is the number of cross correlation terms; and


d is the delay between the two sequences.


Equation 1 may be further developed in the following manner:










CC


(

n
,
d

)


=





i
=
0


L
-
1






S
1



(

n
+
i

)


·


S
2
*



(

n
+
i
+
d

)




=

2
·




i
=
0


L
-
1







S
~

1



(

n
+
i

)


·



S
~

2
*



(

n
+
i
+
d

)










Equation





2








As demonstrated by Equation 2, the cross correlation sequences S1(n), S2(n) may be replaced by two signals of complex binary sequences {tilde over (S)}1(n), {tilde over (S)}2(n). The content of the signals {tilde over (S)}1(n), {tilde over (S)}2(n) may be depicted by the following equation:

{tilde over (S)}1I(n)=(S1I(N)+S1Q(n))/2
{tilde over (S)}1Q(n)=(−S1I(n)+S1Q(n))/2
{tilde over (S)}2I(n)=(S2I(n)+S2Q(n)/2
{tilde over (S)}2Q(n)=(−S2I(n)+S2Q(n))/2  Equation 3

wherein notation/may denote an in-phase component of signals {tilde over (S)}1(n), {tilde over (S)}2(n) and notation Q may denote a quadrature phase component of signals {tilde over (S)}1(n), {tilde over (S)}2(n). Furthermore, it should be known to one skilled in the art that notation/may represent a real component of signals {tilde over (S)}1(n), {tilde over (S)}2(n), and notation Q may represent an imaginary component of signals {tilde over (S)}1(n), {tilde over (S)}2(n) signals.


Although the scope of the present invention is not limited in this respect, transformation of QPSK sequences to complex binary sequences may be performed by ±(π/4) phase rotation of QPSK sequences, as described below with reference to FIG. 2.


Turning to FIG. 2, an illustration helpful for describing rotation of QPSK sequences according to embodiments of the present invention is shown. Although the scope of the present invention is not limited in this respect, FIG. 2 shows ±(π/4) rotations of QPSK sequence values. However, in other embodiment of the present invention, ±(π/4) rotation of 16 quadrature amplitude modulation (QAM) sequences or other suitable forms of sequence rotation may be performed, if desired. More practically, QPSK values X1, X2, X3, and X4 may be rotated to be on either an imaginary axis or a real axis. For example, X1 may be rotated to be on the real axis, X2 may be rotated to be on the imaginary axis, X3 may be rotated to be on the real axis and X4 may be rotated to be on the imaginary axis. It should be understood to one skilled in the art that rotating of QPSK sequence values may be analogues to transforming of QPSK sequences to real or imaginary components of a complex binary sequence, if desired.


Furthermore, the rotation may be utilized to simplify the cross correlation calculations, as described by the following equation:













S
~

1



(

n
+
i

)


·



S
~

2
*



(

n
+
i
+
d

)



=

{







S
~


1

I




(

n
+
i

)


·



S
~


2

I




(

n
+
i
+
d

)









S

1

I




(

n
+
i

)


=


S

1

Q




(

n
+
i

)



,



S

2

I




(

n
+
i
+
d

)


=


S

2

Q




(

n
+
i
+
d

)










-
j

·



S
~


1

I




(

n
+
i

)


·



S
~


2

Q




(

n
+
i
+
d

)









S

1

I




(

n
+
i

)


=


S

1

Q




(

n
+
i

)



,



S

2





I




(

n
+
i
+
d

)





S

2

Q




(

n
+
i
+
d

)









j
·



S
~


1

Q




(

n
+
i

)


·



S
~


2

I




(

n
+
i
+
d

)









S

1

I




(

n
+
i

)





S

1

Q




(

n
+
i

)



,



S

2





I




(

n
+
i
+
d

)


=


S

2

Q




(

n
+
i
+
d

)












S
~


1

Q




(

n
+
i

)


·



S
~


2

Q




(

n
+
i
+
d

)









S

1

I




(

n
+
i

)





S

1

Q




(

n
+
i

)



,



S

2





I




(

n
+
i
+
d

)





S

2

Q




(

n
+
i
+
d

)












Equation





4








As may be seen in Equation 4, the complex binary sequence signals {tilde over (S)}1(n), {tilde over (S)}2(n) are either purely real or purely imaginary, which may reduce the number of real and/or imaginary multiplications required for performing complex multiplication from four to one.


Turning back to FIG. 1, the method may continue with transforming a complex sequence into a sign bit and a type bit representation (block 110). For example, as shown in FIG. 2, a rotation and transformation of the value X1 may generate a sign bit “plus” and a type bit “real”. Furthermore, a rotation and transformation of the sequence X4 may generate a sign bit “minus” and a type bit “imaginary”. Although the present invention is not limited in this respect, rotation and transformation of sequences may be performed in single operation, if desired. However, in other embodiments of the invention rotation and transformation may be performed by separate operations. In addition, in one embodiment of the present invention, the type bit and the sign bit may be used to provide a real component and/or an imaginary component of the complex binary sequences to real and/or imaginary accumulator, respectively (block 120).


Although the scope of the present invention is not limited in this respect, at least two accumulators may be used, a first accumulator may be used to output a real component of cross-correlation results and the second accumulator may be used to output an imaginary component of cross-correlation results.


The cross-correlation results may be multiplied by two, as demonstrated by Equation 2 (block 130). It should be understood by one skilled in the art that the above described method may be implemented by hardware and/or by software. An example of an embodiment of the present invention that may use a combination of hardware and software will now be described.


Turning to FIG. 3, a block diagram of a receiver 300 according to an embodiment of the present invention is shown. Although, the scope of the present invention is not limited in this respect, receiver 300 may include an antenna 310, a transformation unit 315 that may include transformers 320, 330, and a cross-correlator 400. Cross-correlator 400 may include a cross-correlation controller 340, an accumulation unit 345 that may include a real accumulator 350 and an imaginary accumulator 360 and amplifiers 370, 380.


Although the scope of the present invention is not limited to this example, for simplicity of description, receiver 300 will be described as a WCDMA receiver. Antenna 310 may receive signals, for example, pilot signal, dedicated channel signal, or the like, that may include QPSK sequences. In some embodiments of the present invention antenna 310 may be a dipole antenna, if desired. However, other types of antennas may be used.


A demodulator (not shown) may output two signals, S1(N) and S2*(N+D), of QPSK sequences. Transformers 320 and 330 may receive signals S1(N) and S2*(N+D) of the QPSK sequences and may transform the QPSK sequences into two signals of complex binary sequences {tilde over (S)}1(n) and {tilde over (S)}2*(n), respectively. The transformation of QPSK sequences to complex binary sequences may be performed by ±(π/4) phase rotation of the QPSK sequences, as described in detail with reference to FIG. 2 above. Furthermore, transformers 320 and 330 may provide control bits such as, for example, sign bits 325 and 335 and type bits 327 and 337, to cross-correlation controller 340.


Although the scope of the present invention is not limited in this respect, cross-correlation controller 340 may provide complex binary sequences via ports 341, 346 and may enable or disable accumulators 350, 370 with ports 342, 347, respectively. More particularly, cross-correlation controller 340 may selectively control which accumulator may be active, using enable signals via ports 342, 347, according to sign bits 325, 335 and type bits 327, 337. An example of such a selective control is described with reference to Table 1 below.


Although the scope of the present invention is not limited in this respect, in some embodiments of the present invention, a representation as shown in Table 1 below may be stored in a memory (not shown). In addition, in other embodiments of the present invention, a representation as shown in Table 1 below may be implemented by hardware and/or by software.















TABLE 1












Real
Image



Sign
Sign
Type
Type
Accumulator
Accumulator



Bit
Bit
Bit
Bit
(350)
(360)















Index
(325)
(335)
(327)
(337)
Input
Enable
Input
Enable





 0
Plus
Plus
Real
Real
A
On

Off


 1
Plus
Plus
Real
Image

Off
A
On


 2
Plus
Plus
Image
Real

Off
A
On


 3
Plus
Plus
Image
Image
-A
On

Off


 4
Plus
Minus
Real
Real
-A
On

Off


 5
Plus
Minus
Real
Image

Off
-A
On


 6
Plus
Minus
Image
Real

Off
-A
On


 7
Plus
Minus
Image
Image
A
On

Off


 8
Minus
Plus
Real
Real
-A
On

Off


 9
Minus
Plus
Real
Image

Off
-A
On


10
Minus
Plus
Image
Real

Off
-A
On


11
Minus
Plus
Image
Image
A
On

Off


12
Minus
Minus
Real
Real
A
On

Off


13
Minus
Minus
Real
Image

Off
A
On


14
Minus
Minus
Image
Real

Off
A
On


15
Minus
Minus
Image
Image
-A
On

Off










In Table 1 the following notation used:
  • “Index” represents indices of the complex binary sequence;
  • “Sign Bits” (325, 335) represent the sign of the transformed sequence;
  • “Type Bits” (335, 337) represent weather the transformed bit of the complex binary sequence is “Real” or “Image” (i.e., imaginary);
  • “Input” represent which binary sequence may be provided to which of the accumulators; and
  • “Enable” represents whether or not the accumulator is enabled by the enable bit.


Although the scope of the present invention is not limited in this respect, cross-correlation controller 340 may select the complex binary sequences according to Table 1. The selected sequences may be inputted to the selected accumulators 350 and/or 360, to be accumulated. Real accumulator 350 and imaginary accumulator 360 may produce the total Real/Image cross correlation results, respectively.


In addition, accumulators 350 and 360 may include an up/down counter and an AND gate (not shown). The AND gate may enable the up/down counter operation. However, it should be understood that other accumulator implementations may be used. Although, the scope of the present invention is not limited in this respect, multipliers 370, 380 may multiply the results of cross-correlation preformed by cross-correlation controller 340, real accumulator 350 and imaginary accumulator 360 by two, as depicted by Equation 2.


While certain features of the invention have been illustrated and described herein, many modifications, substitutions, changes, and equivalents will now occur to those of ordinary skill in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.

Claims
  • 1. An apparatus comprising: one or more antennas configured to receive signals transmitted over a cellular telecommunications network;a demodulator configured to (i) demodulate signals received by the one or more antennas, and (ii) generate a first input signal and a second input signal;a transformation unit configured to (i) rotate a phase of phase shift keying (PSK) sequences of the first input signal by one of +π/4 and −π/4 to generate a first signal of complex sequences, (ii) rotate a phase of PSK sequences of the second input signal by one of +π/4 and −π/4 to generate a second signal of complex sequences, and (iii) based on the first signal of complex sequences and the second signal of complex sequences, generate (A) one or more sign bits and (B) one or more type bits, wherein the one or more sign bits comprise (i) a first sign bit generated based on a sign of the first signal of complex sequences, and (ii) a second sign bit generated based on a sign of the second signal of complex sequences, andwherein the one or more type bits comprise (i) a first type bit generated based on whether the first signal of complex sequences has real component or imaginary component, and (ii) a second type bit generated based on whether the second signal of complex sequences has real component or imaginary component; anda cross-correlator configured to cross-correlate the first signal of complex sequences and the second first signal of complex sequences.
  • 2. The apparatus of claim 1, wherein the transformation unit is configured to rotate the phase of the PSK sequences of the first input signal and the second input signal, the PSK sequences being quardrature phase shift keying (QPSK) sequences.
  • 3. The apparatus of claim 1, wherein the transformation unit is configured to generate the first signal of complex sequences and the second signal of complex sequences, the complex sequences being complex binary sequences.
  • 4. The apparatus of claim 1, wherein the apparatus is a cellular receiver for use in the cellular telecommunications network.
  • 5. An apparatus comprising: one or more antennas configured to receive signals transmitted over a cellular telecommunications network;a demodulator configured to (i) demodulate signals received by the one or more antennas, and (ii) generate a first input signal and a second input signal;a transformation unit configured to (i) rotate a phase of phase shift keying (PSK) sequences of the first input signal by one of +π/4 and −π/4 to generate a first signal of complex sequences, (ii) rotate a phase of PSK sequences of the second input signal by one of +π/4 and −π/4 to generate a second signal of complex sequences, and (iii) based on the first signal of complex sequences and the second signal of complex sequences, generate (A) one or more sign bits and (B) one or more type bits; anda cross-correlator configured to cross-correlate the first signal of complex sequences and the second first signal of complex sequences, wherein the cross-correlator comprises:a cross-correlation controller configured to receive the one or more sign bits and the one or more type bits, andbased on the one or more sign bits and the one or more type bits, selectively provide (i) real components associated with the first signal of complex sequences and the second signal of complex sequences to a first accumulator, and (ii) imaginary components associated with the first signal of complex sequences and the second signal of complex sequences to a second accumulator, andan accumulation unit comprising the first accumulator configured to (i) receive the real components associated with the first signal of complex sequences and the second signal of complex sequences to the first accumulator, and (ii) generate a real cross-correlated signal, andthe second accumulator configured to (i) receive the imaginary components associated with the first signal of complex sequences and the second signal of complex sequences to the first accumulator, and (ii) generate an imaginary cross-correlated signal.
  • 6. The apparatus of claim 5, wherein the cross-correlation controller is further configured to: selectively activate, at any given time, any one of the first accumulator and the second accumulator.
  • 7. The apparatus of claim 6, wherein: the transformation unit is further configured to, based on the first signal of complex sequences and the second signal of complex sequences, generate (i) one or more sign bits and (ii) one or more type bits; andthe cross-correlation controller is configured to, based on (i) the one or more sign bits and (ii) the one or more type bits, selectively activate any one of the first accumulator and the second accumulator.
  • 8. The apparatus of claim 5, wherein the cross-correlator further includes: a first multiplier configured to multiply the real cross-correlated signal by a first multiplication factor; anda second multiplier configured to multiply the imaginary cross-correlated signal by a second multiplication factor.
  • 9. The apparatus of claim 8, wherein: the first multiplier is configured to multiply the real cross-correlated signal by the first multiplication factor such that first multiplication factor is two; andthe second multiplier is configured to multiply the imaginary cross-correlated signal by the second multiplication factor such that second multiplication factor is two.
  • 10. A method comprising: receiving, by one or more antennas, signals transmitted over a cellular telecommunications network;demodulating signals received by the one or more antennas to generate a first input signal and a second input signal;rotating a phase of phase shift keying (PSK) sequences of the first input signal by one of +π/4 and −π/4 to generate a first signal of complex sequences;rotating a phase of PSK sequences of the second input signal by one of +π/4 and −π/4 to generate a second signal of complex sequences;based on the first signal of complex sequences and the second signal of complex sequences, generating (i) one or more sign bits and (ii) one or more type bits such that the one or more sign bits comprises (i) a first sign bit generated based on a sign of the first signal of complex sequences, and (ii) a second sign bit generated based on a sign of the second signal of complex sequences, andthe one or more type bits comprises (i) a first type bit generated based on whether the first signal of complex sequences has real component or imaginary component, and (ii) a second type bit generated based on whether the second signal of complex sequences has real component or imaginary component; andcross-correlating the first signal of complex sequences and the second first signal of complex sequences.
  • 11. The method of claim 10, wherein rotating the phase of PSK sequences of the first input signal and the second input signal further comprises: rotating the phase of PSK sequences of the first input signal and the second input signal, the PSK sequences being quardrature phase shift keying (QPSK) sequences.
  • 12. A method comprising: receiving, by one or more antennas, signals transmitted over a cellular telecommunications network;demodulating signals received by the one or more antennas to generate a first input signal and a second input signal;rotating a phase of phase shift keying (PSK) sequences of the first input signal by one of +π/4 and −π/4 to generate a first signal of complex sequences;rotating a phase of PSK sequences of the second input signal by one of +π/4 and −π/4 to generate a second signal of complex sequences; andcross-correlating the first signal of complex sequences and the second first signal of complex sequences, wherein cross-correlating the first signal of complex sequences and the second first signal of complex sequences comprises: providing (i) real components associated with the first signal of complex sequences and the second signal of complex sequences to a first accumulator, and (ii) imaginary components associated with the first signal of complex sequences and the second signal of complex sequences to a second accumulator,accumulating, by the first accumulator, the real components of the first signal of complex sequences and the second signal of complex sequences to generate a real cross-correlated signal, andaccumulating, by the second accumulator, the imaginary components of the first signal of complex sequences and the second signal of complex sequences to generate an imaginary cross-correlated signal.
  • 13. The method of claim 12, further comprising: based on the first signal of complex sequences and the second signal of complex sequences, generating (i) one or more sign bits and (ii) one or more type bits; andbased on (i) the one or more sign bits and (ii) the one or more type bits, selectively activating, at any given time, any one of the first accumulator and the second accumulator.
  • 14. The method of claim 12, further comprising: multiplying (i) the real cross-correlated signal by a first multiplication factor, and (ii) the imaginary cross-correlated signal by a second multiplication factor.
  • 15. The method of claim 12, further comprising: multiplying (i) the real cross-correlated signal by a first multiplication factor, the first multiplication factor being two, and (ii) the imaginary cross-correlated signal by a second multiplication factor, the second multiplication factor being two.
CROSS-REFERENCES TO RELATED APPLICATIONS

The present disclosure is a continuation of and claims priority to U.S. patent application Ser. No. 13/599,824, filed Aug. 30, 2012, now U.S. Pat. No. 8,576,954, issued Nov. 5, 2013, which is a continuation of and claims priority to U.S. patent application Ser. No. 12/268,973, filed Nov. 11, 2008, now U.S. Pat. No. 8,259,851, issued Sep. 4, 2012, which is a continuation of and claims priority to U.S. patent application Ser. No. 11/624,550, filed Jan. 18, 2007, now U.S. Pat. No. 7,466,769, issued Dec. 16, 2008, which is a continuation of and claims priority to U.S. patent application Ser. No. 10/254,974, filed Sep. 26, 2002, now U.S. Pat. No. 7,203,253, issued Apr. 10, 2007, which are incorporated herein by reference.

US Referenced Citations (15)
Number Name Date Kind
5305349 Dent Apr 1994 A
5574399 Oura et al. Nov 1996 A
5619507 Tsuda Apr 1997 A
6034635 Gilhousen Mar 2000 A
6236687 Caso et al. May 2001 B1
6351498 Yamao et al. Feb 2002 B1
6363100 Ohki et al. Mar 2002 B1
6363106 Popovic et al. Mar 2002 B1
6404821 Dent Jun 2002 B1
6473506 Hook et al. Oct 2002 B1
6563858 Fakatselis et al. May 2003 B1
6625239 Shiraishi et al. Sep 2003 B1
7457385 Feher Nov 2008 B2
20020095640 Arad et al. Jul 2002 A1
20030067962 Yellin Apr 2003 A1
Foreign Referenced Citations (2)
Number Date Country
WO0060738 Oct 2000 WO
WO0103294 Jan 2001 WO
Non-Patent Literature Citations (5)
Entry
“Cross Correlation”,Retrieved on Dec. 14, 2011 at <<http://en.wikipedia.org/wiki/Cross—correlation>>, 4 pgs.
Dao, “Specific Arithmetics in Radices +/−4”, In the Proceedings of the Eighteenth International Symposium on Multiple-Valued Logic, 1988, pp. 134-139.
Jamil, “The Complex Binary Number System”, IEEE Potentials, vol. 20, Issue 5, 2001, pp. 39-41.
Jamil, et al., “Towards Implementation of a Binary Number System for Complex Numbers”, In the Proceedings of the IEEE Southeastcon, 2000, pp. 268-274.
International Search Report of International Application No. PCT/US03/22500, dated Dec. 3, 2003.
Continuations (4)
Number Date Country
Parent 13599824 Aug 2012 US
Child 14060308 US
Parent 12268973 Nov 2008 US
Child 13599824 US
Parent 11624550 Jan 2007 US
Child 12268973 US
Parent 10254974 Sep 2002 US
Child 11624550 US