AU2005203604B2 - Method and system for generating pseudorandom sequences - Google Patents

Method and system for generating pseudorandom sequences Download PDF

Info

Publication number
AU2005203604B2
AU2005203604B2 AU2005203604A AU2005203604A AU2005203604B2 AU 2005203604 B2 AU2005203604 B2 AU 2005203604B2 AU 2005203604 A AU2005203604 A AU 2005203604A AU 2005203604 A AU2005203604 A AU 2005203604A AU 2005203604 B2 AU2005203604 B2 AU 2005203604B2
Authority
AU
Australia
Prior art keywords
code
bit
pseudorandom
codes
index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
AU2005203604A
Other versions
AU2005203604A1 (en
Inventor
Edward L. Hepler
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
InterDigital Technology Corp
Original Assignee
InterDigital Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AU2002258723A external-priority patent/AU2002258723B2/en
Application filed by InterDigital Technology Corp filed Critical InterDigital Technology Corp
Priority to AU2005203604A priority Critical patent/AU2005203604B2/en
Publication of AU2005203604A1 publication Critical patent/AU2005203604A1/en
Application granted granted Critical
Publication of AU2005203604B2 publication Critical patent/AU2005203604B2/en
Assigned to INTERDIGITAL TECHNOLOGY CORPORATION reassignment INTERDIGITAL TECHNOLOGY CORPORATION Request for Assignment Assignors: INTERDIGITAL TECHNOLOGY CORP
Priority to AU2007251903A priority patent/AU2007251903A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

P001 Section 29 Regulation 3.2(2)
AUSTRALIA
Patents Act 1990 COMPLETE SPECIFICATION STANDARD PATENT Application Number: Lodged: Invention Title: Method and system for generating pseudorandom sequences The following statement is a full description of this invention, including the best method of performing it known to us:
I
METHOD AND SYSTEM FOR GENERATING PSEUDORANDOM SEQUENCES BACKGROUND OF THE INVENTION 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.
Figure 1 shows a code tree of OVSF codes that preserve the orthogonality between different channels. The OVSF codes can be defined using the code tree of Figure 1, whereby the channelization codes are uniquely described as Cch,SF,k, and where SF is the spreading factor of the code and k is the code number, 0 k SF- 1. Each level in the code tree defines channelization codes of length SF, corresponding to a spreading factor of SF in Figure 1.
The generation method for the channelization code is defined as: Cchl,0= 1, CC C C ch,1,0 Cch,2(n+l),O ch,2",O0 ch,2",O C C -C Cch,2(n+l),l ch,2",O h,2",O ch,2(n+1),2 ch,.2",l ch,2",l C C -C Cch,2(n+1),3 ch,2",l ch,2", Cch,2(n+1),2(n+l)-2 Ch Cch,2"- Cch,2(n+1),2(n+1)-1 Ch,2 -1 Ch,22-
I
2 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.
In a preferred embodiment the present invention provides a method for generating a pseudorandom code, the method including the steps of: generating a series of 2 M M-bit wide binary codes, starting from the lowest bit to the highest bit; selecting an M-bit wide binary index code corresponding to the index number of the pseudorandom code among a set of pseudorandom codes; and performing a logical operation between each of the 2 M codes and the index code in order to generate a 2M-bit wide pseudorandom code.
In a further aspect, the invention resides in a pseudorandom code generator, including: a code generator for generating a series of 2 M M-bit wide binary codes, starting from the lowest bit to the highest bit; an index code selector for selecting an M-bit wide binary index code corresponding to the index number of the pseudorandom code among a set of pseudorandom codes; and performing means for performing a logical operation between each code generated by said code generator and said index code, said performing means generating a 2M-bit wide pseudorandom code.
BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a prior art code tree for orthogonal variable spreading factor (OVSF) codes.
Figure 2 is a system for generating OVSF codes in accordance with the present invention.
Figure 3A is a system for generating OVSF codes having a spreading factor of 4.
Figure 3B is a system for generating OVSF codes having a spreading factor of 8.
Figure 4 illustrates the generation of the seventh code of the OVSF code tree having a spreading factor of 8.
Figure 5 is a diagram illustrating the expandability of the structure.
Figure 6 is a prior art code tree for Hadamard codes.
Figure 7 is an alternative embodiment of the present invention for generating both Hadamard and OVSF codes.
Figure 8 illustrates the generation of the forth code of the Hadamard code tree having a spreading factor of 8.
Figure 9 is a second alternative embodiment of the present invention for generating pseudorandom codes.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENT 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 Figure 2, a system 10 for generating pseudorandom sequences is shown. The system 10 includes a bit position counter 12, a multiplexer 14, a spreading factor selector 16, a bit-by-bit AND gate 18, an index selector 20 and an XOR gate 22. The counter 12 is a free-running binary counter that provides an output to a first input of the multiplexer 14. The counter 12 is initialized at 0 and runs "freely" as the desired OVSF code is generated.
Generation of a code is repeated as many times as needed in order to spread the data. For each instance that it is required to generate the code, the counter is initialized to zero. Alternatively, the counter 12 may be permitted to freely run, whereby the most significant bits that are not used may be ignored. This alternative will be explained in detail hereafter.
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 Figures 3A and 3B.
Referring back to Figure 2, the index selector 20 outputs a binary identification of the index or "branch" of the code tree that it is desired to generate. For example, as shown in Figure 1, if a spreading factor of 4 is desired, and it is also desired to generate the third branch of the code tree, the index selector 20 will output a two-bit binary sequence for the number 2, which is 10. Similarly, if a spreading factor of 8 and the fourth branch of the code tree are desired, the index selector 20 outputs a three-bit binary sequence for the number 3, which is 011.
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 Figures 3A and 3B, which illustrate the different functional configurations of the system 10 depending upon the desired spreading factor. These figures show the multiple bit output C1-CN from the counter 12 and the multiple bit output I1'-IM from the index selector 20. Referring to Figure 3A, if a spreading factor of 4 is desired, the spreading factor selector 16 controls the multiplexer 14 such that the multiplexer 14 outputs only the desired bits coming from the first two bit "positions" C, and C2 of the counter 12 to the AND gate 18. The bit positions C3- CN coming from the counter 12 are essentially "zeroed out" or ignored. Each desired bit from the counter 12 is taken in reverse order and is bit-by-bit ANDed with the desired bits from the index selector 20. For example, the first bit C, from the counter 12 is ANDed together with the second bit 12 from the index selector and the second bit C2 from the counter 12 is ANDed together with the first bit I1 from the index selector 20. Once all of the desired bits from the counter 12 have been bit-by-bit ANDed with the desired bits from the index selector 20, the AND gate 18 outputs to the XOR gate 22. The output of the XOR gate 22 is the code sequence having the desired bits. Each new bit of the code sequence is generated as the counter 12 is sequenced.
Referring to the second example as shown in Figure 3B, if a spreading factor of 8 is desired, the multiplexer 14 outputs the bits coming from the first three positions C1, C2 and C3 of the counter 12 to the AND gate 18. The first bit C, from the counter 12 is ANDed together with the third output 13 from the index selector 20. Likewise, the second bit from the counter C2 is ANDed together with the second bit 12 from the index selector 20. Finally, the third bit C3 from the counter 12 is ANDed together with the first bit I1 from the index selector 20. Once all of the desired bits from the counter 12 have been bit-by-bit ANDed with the desired bits from the index selector 20, the AND gate 18 outputs to the XOR gate 22. The output of the XOR gate 22 is the desired code sequence.
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 Figure 4. Reference should also be made to Tables 1-3 below for this example: SPREADING FACTOR DESIRED SF NUMBER OF BITS 2 1 4 2 8 3 16 4 32 64 6 128 7 256 8 TABLE 1
INDEX
BRANCH 13 12 11 First 0 0 0 Second 0 0 1 Third 0 1 0 Fourth 0 1 1 Fifth 1 0 0 Sixth 1 0 1 Seventh 1 1 0 Eighth 1 1 1 TABLE 2
COUNTER
C3 C2 C1 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 TABLE 3 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 Figure 1 as highlighted with the asterisk. This is identified in Figure 1 as Cch,8,6 which is 1, 1, 1. From Table 1, since the desired spreading factor is 8, the number of desired bits is 3. From Table 2, since it is desired to generate the seventh branch of the code tree, the output of the index selector as shown in Table 2 will be the binary sequence 1, 1, 0. The binary counter 12 then sequences through a binary count from 0 0, 0) to 7 1, 1) as shown in Table 3.
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 selector 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 selector 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 inan 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. This matches the seventh leg of the OSVF code tree shown in Figure 1.
It should be noted, referring to Figure 5, that this structure is expandable to any number of desired inputs. Alternatively, the system may be "oversized" as shown in Figure 5 whereby the bits of the counter 12 and the index selector that are not needed are essentially ignored. As shown in Figure 5, since only four bits C, C4 are required, bits C5 CN are either stopped from passing through the multiplexer 14, or are zeroed out. Additionally, only the desired bits C, C4 are reordered by the multiplexer 14. In a likewise matter only bits 11 14 will be "processed" by the AND gate since the remaining portions of the AND gate will be zeroed out due to the lack of an input from corresponding bits C5 CN. The output form the XOR gate 22 will be the desired code sequence bit.
Referring to Figure 6, a code tree for Hadamard sequences is shown. The codes of this code tree will generated is accordance with an alternative embodiment of the present invention shown on Figure 7.
Referring to Figure 7, a system 100 for generating several types of pseudorandom sequences is shown. As with the embodiment shown in Figure 2, the system 100 includes a bit position counter 12, a multiplexer 14, a spreading factor selector 16, a bit by bit AND gate, an index selector 20, and an XOR gate 22. However, this embodiment includes a mode switch 60 which switches between a first mode for generating OVSF codes and a second mode for generating Hadamard codes. When the mode selection switch 60 is in a first position, the system 100 operates in the manner identical to the system 10 shown in Figure 2, whereby the multiplexer 14 reverses the bit order of the bit output from the bit position counter 12. However, when the mode switch 60 is in a second position, the reordering of the bits is not performed by the multiplexer 14 and the bits are passed directly through the multiplexer 14 to the bit by bit AND gate 18. This is shown in Figure 8 whereby the straight dotted lines through the multiplexer 14 illustrate the bits being passed directly through the multiplexer 14 without being reordered.
An example of generating a Hadamard code will be explained with reference to Figure 8. For this example, it is desired to generate a code sequence having a spreading factor of 8, comprising the fourth leg of the code tree as shown in Figure 6 and as highlighted with the asterisk. This sequence is shown in Figure 6 as 0,1,1,0,0,1,1,0. From Table 1, since the desired spreading factor is 8, the number of desired bits is 3. From Table 2, since it is desired to generate the fourth branch of the code tree, the output of the index selector as shown in Table 2 will be the binary sequence 0,1,1. The binary counter 12 then sequences through the binary count from 0 0, 0) to 7 1, 1) as shown in Table 3.
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 Figure 6. These outputs may be optionally mapped whereby an output of 1 is mapped to minus 1 and an output of 0 is mapped to 1.
A second alternative embodiment of a system 200 for generating several types of pseudorandom sequences is shown in Figure 9. This system 200 includes the index selector 20, the bit by bit ANDgate 18 and the XOR 22.
However, the bit position counter 12, the multiplexer 14 and the spreading factor selector 16 have been replaced by a number generator 202 and a selector 204.
The number generator 202 stores a predetermined sequence of numbers, such as the numbers stored in Table 3, and sequentially outputs these numbers.
Accordingly, the number generator 202 can sequentially output the numbers stored in Table 3, or alternatively may output the "reordered" sequence of bits as shown in Table 4. The selector 204 can select between which sequence of bits to be output by the number generator 202. For OVSF codes a first sequence will be output; and for Hadamard codes a second sequence will be output. Although this embodiment necessitates the use of additional memory, it is less memory than would be required to store an entire code tree of pseudorandom sequences.
Additionally, although this embodiment has been explained with reference to pseudorandom codes having a spreading factor of 8, any desired sequence may be prestored in the number generator 202.
COUNTER
C3 C2 C1 0 0 0 1 0 0
I
o 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1 TABLE 4 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.

Claims (14)

1. A method for generating a pseudorandom code, the method including the steps of: generating a series of 2 M M-bit wide binary codes, starting from the lowest bit to the highest bit; selecting an M-bit wide binary index code corresponding to the index number of the pseudorandom code among a set of pseudorandom codes; and performing a logical operation between each of the 2 M codes and the index code in order to generate a 2M-bit wide pseudorandom code.
2. The method of claim 1, wherein the number M is selected to correspond to a spreading factor.
3. The method of claim 2, wherein the code generated in step is reversed in order from the least significant bit to the most significant bit before performing the logical operation in step
4. The method of claim 3, further including the step of: selecting a mode between two modes, one mode for reversal of the bit sequence, and the other mode for non-reversal of the bit sequence, whereby reversal of the bit sequence only occurs when the mode for reversal of the bit sequence is selected.
The method of claim 2, wherein generation of the codes in step is performed by selecting a series of codes stored in a memory.
6. The method of claim 1, wherein the logical operation in step includes the steps of: ANDing each code generated in step and the selected index code by M AND gates 2 M times consecutively; and XORing the output from the AND gates 2 M times consecutively. r
7. A pseudorandom code generator, including: a code generator for generating a series of 2 M M-bit wide binary codes, starting from the lowest bit to the highest bit; an index code selector for selecting an M-bit wide binary index code corresponding to the index number of the pseudorandom code among a set of pseudorandom codes; and performing means for performing a logical operation between each code generated by said code generator and said index code, said performing means generating a 2M-bit wide pseudorandom code.
8. The pseudorandom code generator of claim 7, wherein said code generator is a counter.
9. The pseudorandom code generator of claim 7, wherein said code generator is a memory storing a series of 2 M M-bit wide binary codes.
The pseudorandom code generator of claim 7, further including a spreading factor selector for designating the number M.
11. The pseudorandom code generator of claim 7, further including a code reverser for reversing the order of the bit sequence generated by said code generator from the least significant bit to the most significant bit.
12. The pseudorandom code generator of claim 11, further including switching means for switching between two modes, one mode for reversal of the bit sequence, and the other mode for non-reversal of the bit sequence.
13. The pseudorandom code generator of claim 7, wherein said performing means includes: a plurality of AND gates for ANDing each code generated by said code generator and said index code; and a plurality of XOR gates for XORing the output from the AND gates.
14. A method for generating a pseudorandom code substantially as hereinbefore described with reference to figures 2 to 9. A pseudorandom code generator substantially as hereinbefore described with reference to figures 2 to 9. DATED this 12 th day of August 2005 INTERDIGITAL TECHNOLOGY CORP WATERMARK PATENT TRADE MARK ATTORNEYS 290 BURWOOD ROAD HAWTHORN VIC 4122 AUSTRALIA P23304AU00
AU2005203604A 2001-04-06 2005-08-11 Method and system for generating pseudorandom sequences Ceased AU2005203604B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
AU2005203604A AU2005203604B2 (en) 2001-04-06 2005-08-11 Method and system for generating pseudorandom sequences
AU2007251903A AU2007251903A1 (en) 2001-04-06 2007-12-20 System for generating pseudorandom sequences

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US60/282,349 2001-04-06
US10/046,601 2001-10-23
AU2002258723A AU2002258723B2 (en) 2001-04-06 2002-04-05 System for generating pseudorandom sequences
AU2005203604A AU2005203604B2 (en) 2001-04-06 2005-08-11 Method and system for generating pseudorandom sequences

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2002258723A Division AU2002258723B2 (en) 2001-04-06 2002-04-05 System for generating pseudorandom sequences

Related Child Applications (1)

Application Number Title Priority Date Filing Date
AU2007251903A Division AU2007251903A1 (en) 2001-04-06 2007-12-20 System for generating pseudorandom sequences

Publications (2)

Publication Number Publication Date
AU2005203604A1 AU2005203604A1 (en) 2005-09-01
AU2005203604B2 true AU2005203604B2 (en) 2007-09-20

Family

ID=35006433

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2005203604A Ceased AU2005203604B2 (en) 2001-04-06 2005-08-11 Method and system for generating pseudorandom sequences

Country Status (1)

Country Link
AU (1) AU2005203604B2 (en)

Also Published As

Publication number Publication date
AU2005203604A1 (en) 2005-09-01

Similar Documents

Publication Publication Date Title
US7643638B2 (en) System for generating pseudorandom sequences
AU2002258723A1 (en) System for generating pseudorandom sequences
KR20010043433A (en) Sequence generator
KR100525799B1 (en) Frequency hopping sequence generator
AU2005203604B2 (en) Method and system for generating pseudorandom sequences
AU2007251903A1 (en) System for generating pseudorandom sequences
JPH11177529A (en) Hadamard code generating circuit
EP1652065B1 (en) Device and method for composing codes
JP3790514B2 (en) Pseudo random sequence generation system
US7729235B2 (en) Method and apparatus for OVSF code generation
AU741394B2 (en) Quasi-orthogonal code mask generating device in mobile communication system
US7173900B1 (en) Method and apparatus for chip generation of a chip sequence
KR100424628B1 (en) Apparatus and method for generating spreading code in mobile communication system
Chen et al. On algorithms searching for quasi-optimal subfamilies of GMW sequences suitable for CDMA applications
Kourtis et al. New synchronization technique for baseband code division multiplexing
KR19990075502A (en) Gold Code Generator Using Mask and Code Searching Method Using Same

Legal Events

Date Code Title Description
TC Change of applicant's name (sec. 104)

Owner name: INTERDIGITAL TECHNOLOGY CORPORATION

Free format text: FORMER NAME: INTERDIGITAL TECHNOLOGY CORP

FGA Letters patent sealed or granted (standard patent)
MK14 Patent ceased section 143(a) (annual fees not paid) or expired