The present invention generally relates to wireless communication systems. In particular, the invention relates to time division duplex (TDD) and frequency division duplex (FDD) systems which use orthogonal variable spreading factor (OVSF) codes and Hadamard codes to spread data for transmission and includes an improved system for generating such codes.
Many types of communication systems, such as FDD and TDD communication systems, use one or more families of pseudorandom codes to spread data for transmission. These codes are used in various places throughout the communication system in both the transmitter and the receiver. Several of the more commonly used families of codes include OVSF codes and Hadamard codes.
The generation method for the channelization code is defined as:
The rightmost value in each channelization code word corresponds to the chip transmitted first in time. The OVSF code to be used is a function of the spreading factor, the number of channels being utilized and the channel type.
One method for generating OVSF codes is to utilize the mathematical description above. However, such matrix manipulations are computationally expensive and require extremely fast and expensive hardware to perform. Additionally, when a computational unit is fixed in hardware for such a purpose, it generally cannot be utilized for other purposes. This adds to system complexity and results in an overall system design that is unnecessarily complex and expensive.
Accordingly, a convenient means is needed to quickly and efficiently generate OVSF codes. It would also be desirable for such means to be adaptable to the generation of other types of codes, such as Hadamard sequences.
SUMMARY
The present invention comprises both a system and a method which quickly and efficiently generate OVSF codes using a register which contains the identification of code tree leg of the desired code and a counter which sequences through the leg. The system generates the codes on demand, while requiring very little hardware resources.
Additionally, the same system and method are adaptable to generate Hadamard sequences.
Presently preferred embodiments are described below with reference to the drawing figures wherein like numerals represent like elements throughout. Additionally, the preferred embodiment of the present invention will be explained with reference to the generation of OVSF and Hadamard codes. However, those of skill in the art should realize that the same principles may be applied to other families of codes, and the present invention should not be strictly limited to the exemplary embodiments described herein.
Referring to
The spreading factor selector 16 provides an output to the second input of the multiplexer 14, which identifies how many bits from the counter 12 the multiplexer 14 should output. For OSVF code generation, the multiplexer 14 also reverses the bit order of the output bits, such that the output bits are provided in reverse order. This is graphically illustrated by the dotted lines within the multiplexer 14 in
Referring back to
The output of the index selector 20 and the output of the multiplier 14 are ANDed together by the bit-by-bit AND gate 18. This is an output to the XOR gate 22, which is actually an XOR “tree”, comprising a plurality of XOR gates as is well known by those of skill in the art.
The system 10 in accordance with the present invention is shown in more detail in
Referring to the second example as shown in
Although the system 10 made in accordance with the present invention can be used to generate OVSF codes having spreading factors of any length, for simplicity the foregoing detailed example will be explained with reference to a spreading factor of 8. This requires a three-bit spreading factor selector 16, a three-bit counter 12 to sequence through the bits, a three-input AND gate 18 and a three-input XOR gate 22 as shown in
For this example, it is desired to generate a code sequence having a spreading factor of 8, comprising the seventh leg of the code tree shown in
The first bit of the sequence Cch,8,6 will be generated by ANDing the binary sequence 000, (which when reversed still yields 000), from the counter 12 with the binary sequence 110 from the index select 20. The XOR of the bits results in an output of 0. The second input of 001 is reversed yielding 100, and is ANDed with the binary sequence 110 from the index select 20, resulting in 100. The XOR of these bits results in an output of 1. Likewise, the third input of 010 is reversed yielding 010 and when ANDed with 110 and XORed, results in an output of 1. The fourth input of 011 is reversed yielding 110 and when ANDed with 110 and XORed results in an output of 0. The fifth input of 100 is reversed yielding 001 and when ANDed with 110 and XORed results in the output of 0. The sixth input of 101 is reversed yielding 101 and when ANDed with 110 and XORed results in an output of 1. The seventh input of 110 is reversed yielding 011 and when ANDed with 110 and XORed in an output of 1. Finally, the eighth input of 111 is reversed yielding 111 and when ANDed with 110 and XORed results in an output of 0.
As a result of this repetitive process, the sequence output will be 0, 1, 1, 0, 0, 1, 1, 0, (keeping in mind the rightmost bit is generated first in time). These outputs are subsequently mapped, whereby an output of 1 is mapped to −1 and an output of 0 is mapped to 1. Accordingly, the sequence used for spreading is 1, −1, −1, 1, 1, −1, −1, 1. This matches the seventh leg of the OSVF code tree shown in
It should be noted, referring to
Referring to
Referring to
An example of generating a Hadamard code will be explained with reference to
The same ANDing and XORing process is performed as was described with reference to the generation of the OVSF codes, except that the bits from the counter 12 are not reversed. This results in an output from the system 100 of 0, 1, 1, 0, 1, 1, 0. This correctly matches the fourth leg of the Hadamard code prestructure shown in
A second alternative embodiment of a system 200 for generating several types of pseudorandom sequences is shown in
While the present invention has been described in terms of the preferred embodiment, other variations which are within the scope of the invention as outlined in the claims below will be apparent to those skilled in the art.
This application is a continuation of U.S. patent application Ser. No. 10/046,601 filed Oct. 23, 2001, which claims the benefit of U.S. Provisional Patent Application No. 60/282,349, filed on Apr. 6, 2001, which is incorporated by reference as if fully set forth.
Number | Name | Date | Kind |
---|---|---|---|
5311176 | Gurney | May 1994 | A |
5602833 | Zehavi | Feb 1997 | A |
5751761 | Gilhousen | May 1998 | A |
6014408 | Naruse et al. | Jan 2000 | A |
6091757 | Cudak et al. | Jul 2000 | A |
6115410 | Naruse | Sep 2000 | A |
6262751 | Chan | Jul 2001 | B1 |
6552996 | Kim et al. | Apr 2003 | B2 |
6567017 | Medlock et al. | May 2003 | B2 |
6646579 | Doetsch et al. | Nov 2003 | B2 |
6667708 | Schooler et al. | Dec 2003 | B2 |
6798737 | Dabak et al. | Sep 2004 | B1 |
6829289 | Gossett et al. | Dec 2004 | B1 |
6850238 | Bryant et al. | Feb 2005 | B2 |
6879576 | Agrawal et al. | Apr 2005 | B1 |
6885691 | Lyu | Apr 2005 | B1 |
6956890 | Lattuca et al. | Oct 2005 | B2 |
6980582 | Cai | Dec 2005 | B2 |
7248698 | Hepler | Jul 2007 | B2 |
20030105532 | Doetsch et al. | Jun 2003 | A1 |
20050237919 | Pettendorf et al. | Oct 2005 | A1 |
Number | Date | Country |
---|---|---|
2000-0073311 | Dec 2000 | KR |
0158070 | Aug 2001 | WO |
03013037 | Feb 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20070258593 A1 | Nov 2007 | US |
Number | Date | Country | |
---|---|---|---|
60282349 | Apr 2001 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10046601 | Oct 2001 | US |
Child | 11827895 | US |