Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
QUADRIPHASE SPREADING CODES IN CODE DIVISION MULTIPLE ACCESS COMMUNICATIONS
Document Type and Number:
WIPO Patent Application WO/1999/066645
Kind Code:
A2
Abstract:
(57) Abstract Optimal code sequences are generated for use in spreading and de-spreading functions in a code division multiple access (CDMA) communications system. In particular, a family of quadriphase spreading codes is employed that provides a maximal number of spreading codes to achieve a high capacity in the CDMA communications system while at the same time having a minimal peak cross-correlation between any two spreading codes within that family to ensure cross-correlation interference is kept at or below acceptable levels. That optimal quadriphase spreading code family is the S(2) family of four phase code sequences of length L = 2?m-1¿, where m is an integer greater than or equal to 5. The size of the S(2) family of quaternary spreading codes is (L + 2)(L + 1)?2¿, and the maximum cross-correlation is 1 + 4$m(R)(L + 1). The spreading codes are preferably allocated to base stations using specific code subsets of the S(2) family having the same cross-correlation properties of the S(0) and/or S(1) family of codes. Spreading codes are advantageously extended by one or more code symbols as necessary or otherwise desirable. For example, to support variable transmission rate services, it is desirable to employ spreading codes whose length may be expressed as an integer multiple of each spreading factor in the mobile communications system. Since individual spreading codes have a length of 2?m¿ 1, one code symbol is added to the generated spreading code.

Inventors:
POPOVIC BRANISLAV M
Application Number:
PCT/SE1999/001040
Publication Date:
December 23, 1999
Filing Date:
June 11, 1999
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ERICSSON TELEFON AB L M (SE)
International Classes:
H04B1/707; H04J13/18; H04B7/26; H04J13/10; H04W72/04; H04J13/00; (IPC1-7): H04B1/00
Domestic Patent References:
WO1995003652A11995-02-02
WO1994016513A11994-07-21
WO1995022210A21995-08-17
Foreign References:
US4529963A1985-07-16
US4460992A1984-07-17
US5615227A1997-03-25
US5598154A1997-01-28
US5164958A1992-11-17
US5778022A1998-07-07
Other References:
KUMAR P V ET AL: "LARGE FAMILIES OF QUATERNARY SEQUENCS WITH LOW CORRELATION" IEEE TRANSACTIONS ON INFORMATION THEORY, vol. 42, no. 2, March 1996 (1996-03), pages 579-592, XP002101094 USA
KUMAR P V ET AL: "LARGE FAMILIES OF QUATERNARY SEQUENCES WITH LOW CORRELATION" PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, TRONDHEIM, JUNE 27 - JULY 1, 1994,27 June 1994 (1994-06-27), page 71 XP000199052 INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS
HAMMONS A R ET AL: "ON A RECENT 4-PHASE SEQUENCE DESIGN FOR CDMA" IEICE TRANSACTIONS ON COMMUNICATIONS, vol. E76-B, no. 8, 1 August 1993 (1993-08-01), pages 804-813, XP000396882 cited in the application
NOVOSAD T: "A NEW FAMILY OF QUADRIPHASE SEQUENCES FOR CDMA" IEEE TRANSACTIONS ON INFORMATION THEORY, vol. 39, no. 3, 1 May 1993 (1993-05-01), pages 1083-1085, XP000383047
LUEKE H D: "LARGE FAMILIES OF POLYNOMIAL PHASE SEQUENCES WITH LOW CORRELATION" EUROPEAN TRANSACTIONS ON TELECOMMUNICATIONS, vol. 7, no. 3, 1 May 1996 (1996-05-01), pages 235-238, XP000592673
Attorney, Agent or Firm:
ERICSSON RADIO SYSTEMS AB (Common Patent Dept. Stockholm, SE)
Norin, Klas (Ericsson Radio Systems AB CommonPatent Dept. Stockholm, SE)
Download PDF:
Claims:
WHAT IS CLAIMED IS:
1. In a direct sequence spread spectrum (DSSS) mobile communications system in which a plurality of mobile radio stations communicate with one or more radio base stations located in corresponding geographic areas over a radio channel, each radio channel corresponding to one of a set of spreading codes, one or more of the radio stations, comprising: a spreading code generator providing quaternary spreading codes from a family <BR> <BR> <BR> <BR> of quaternary sequences of length L = 2'1, where in is an integer greater than ore equal to 5, having code elements from an alphabet {0,1,2,3}, generated by summing modulo4 three component sequences including a first component quaternary sequence a, a second component binary sequence b, and a third component binary sequence c, where the component binary sequences b and c are multiplied by 2 before the modulo4 summing; a spreader spreading an information signal to be transmit by the mobile radio using one of the quaternary spreading codes to provide a spread signal; and a despreader despreading a received signal using one of the quaternary spreading codes.
2. The radio station in claim 1; further comprising: a modulator modulating the spread signal onto a radio carrier, and a demodulator demodulating a received radio signal and providing the demodulated signal to the despreader.
3. The radio station in claim 1, wherein the family of quaternary spreading codes provides a maximal number of spreading codes of a particular length that have a minimal crosscorrelation.
4. The radio station in claim 3, wherein the size of the family of quaternary spreading codes is (L + 2) (L + 1) 2 and the maximum absolute crosscorrelation value for the family of quaternary spreading codes is.
5. The radio station in claim 1, wherein the first component quaternary sequence is defined by: ar (n) = hla (nl)h2a (n2)...hma (nm) (m od 4), n 2 m, where h is a first polynomial, the second component quaternary sequence is defined by: 2),n#e,bs(n)=g1b(n1)+g2b(n2)+...+b(ne)(mod where g is a second polynomial, the third component quaternary sequence is defined by: 2),n#e,ct(n)=f1ct(n1)+f2ct(n2)+...+ct(ne)(mod where f is a third polynomial.
6. The radio station in claim 5, wherein the code generator includes first, second, and third feedback shift registers that generate the first, second, and third component quaternary sequences, respectively, and wherein the corresponding initial states of the first, second, and third shift registers are determined are redefined for each of the spreading codes in the family of quaternary spreading codes.
7. The radio station in claim 1, wherein the radio station is a mobile radio station and one of the base stations assigns one of the spreading codes to the mobile radio station in response to a request to a communication involving the mobile radio station.
8. The radio station in claim 1, wherein spreading code generator maps the quaternary spreading code to a quadriphase spreading code.
9. The radio station in claim 1, wherein the code generator extends the length of the generated quaternary spreading codes.
10. The radio station in claim 9, wherein the generated quaternary spreading codes are extended by one quaternary symbol so that the quaternary spreading code length is a power of 2.
11. In a code division multiple access (CDMA) mobile communications system in which a plurality of mobile radio stations communicate with one or more radio base stations located in corresponding geographic areas over a radio channel, each radio channel corresponding to one of a set of spreading codes, one or more of the radio stations, comprising: a code generator selectively providing quadriphase spreading codes determined from an 5 (2) set of quaternary spreading codes having a maximal number of quaternary spreading codes with a minimal crosscorrelation; a spreader spreading an information signal to be transmit by the radio station using one of the quadriphase spreading codes allocated to the radio station to provide a spread signal; and a modulator modulating the spread signal onto a radio carrier.
12. The radio station in claim 11, further comprising: a demodulator demodulating a received CDMA signal from the radio carrier, and a despreader despreading the received CDMA signal using the one quadriphase spreading code to provide a received information signal.
13. The radio station in claim 11, wherein information signals to be transmit are allocated into a real data stream and an imaginary data stream, the radio station further comprising: a real channel spreader spreading the real data stream using a real channelization code; an imaginary channel spreader spreading the imaginary data stream using an imaginary channelization code; and a combiner combining outputs from the real and imaginary channel spreaders to generate a complex signal, wherein the spreader spreads the complex signal using the one quadriphase spreading code allocated to the mobile radio.
14. The radio station in claim 13, wherein the modulator is a quadrature phase shift keying (QPSK) modulator and wherein the complex signal is split into real and imaginary components which are then input to real and imaginary inputs of the QPSK modulator.
15. The radio station in claim 14, wherein the code generator maps the quaternary spreading code to a quadriphase spreading code.
16. The radio in claim 11, wherein the code generator extends the length of the S (2) quaternary spreading codes.
17. The radio station in claim 16, wherein the S (2) quaternary spreading codes are extended by one quaternary symbol so that the quaternary spreading code length is a power of 2.
18. In a code division multiple access (CDMA) communications system in which a plurality of communications devices communicate using allocated communications channels, each channel corresponding to one of a set of CDMA spreading codes, a method comprising: generating a family of original codes, each original code having a predetermined length, and extending the length of original codes from the family of spreading codes by a code symbol to generate a family of CDMA spreading codes.
19. The method in claim 18, wherein the extending further comprises: detecting the end of one of the original codes, and adding the code symbol to the end of one of the original codes.
20. The method in claim 18, wherein the added code symbol is the same for all of the original codes in the family.
21. The method in claim 18, wherein the added code symbol to the one original code is the same as the first code symbol in the one original code.
22. The method in claim 18, wherein the family of original codes has a length L = 2"'I and a single code symbol is added to the end of one of the original codes.
23. The method in claim 18, wherein the family of original codes are quadriphase codes, and each added code symbol used to extend the original code has four possible values.
24. The method in claim 18, wherein the family of original codes are an S (2) family of codes.
25. A CDMA code generator providing CDMA spreading codes, comprising: one or more feedback shift registers having m stages, where m is an integer, where an output of a last stage is fed back to an input of a first stage, the output of the one or more feedback shift registers corresponding to one of a family of codes, and electronic circuitry for adding an additional code symbol to the one code to provide an extended code corresponding to one of the CDMA spreading codes.
26. The CDMA code generator in claim 25, further comprising: a comparator detecting an end of the one code and signaling the electronic circuitry to add to the additional code symbol to the end of the one code.
27. The CDMA code generator in claim 25, further comprising: a counter generating a counter output at the end of an extended code period which causes the shift registers to be set respective initial states.
28. The CDMA code generator in claim 25, wherein the added code symbol is the same for all of the codes in the family.
29. The CDMA code generator in claim 25, wherein the added code symbol to the one original code is the same as the first code symbol in the one original code.
30. The CDMA code generator in claim 25, wherein the family of original <BR> <BR> <BR> <BR> codes has a length L = 2"'I and a single code symbol is added to the end of one of the original codes.
31. The CDMA code generator in claim 25, wherein the family of codes correspond to a family of quaternary sequences of length L = 2"'1, where m is an integer greater than or equal to 5, having code elements from an alphabet {0, 1,2,3 generated by summing modulo4 three component sequences including a first component quaternary sequence a, a second component binary sequence b, and a third component binary sequence c. wherein the one or more feedback shift registers includes first, second, and third feedback shift registers that generate the first, second, and third component quaternary sequences, respectively, with the output of the second and third shift registers being multiplied by 2 before the first, second, and third component quaternary sequences are modulo4 summed.
32. The CDMA code generator in claim 32, wherein the code generator maps the extended quaternary sequence to complex quadriphase CDMA spreading codes.
33. In a mobile communications system including plural base stations for communicating with mobile stations and employing spreading codes from a particular spreading code family for radio communications between the mobile stations and the base stations, a method comprising: allocating a first subset of the particular spreading code family to a first base station, and allocating a second subset of the particular spreading code family to a second base station, wherein the spreading codes in the first and second subsets have lower cross correlation than spreading codes in the particular spreading code family.
34. The method in claim 33, wherein the particular spreading code family corresponds to the S (2) code family and the first and second subsets are associated with one or both of the S (0) and S (l) code families.
35. The method in claim 34, wherein each of the first and second spreading code subsets is defined by three component sequences such that a first component sequence includes an index of r = + 1, where L is the spreading code length, and one or more of indices for the second and third component sequences are different for the first and second base stations.
36. The method in claim 33, further comprising: for a particular call, assigning a mobile station associated with the first base station an assigned code from the first subset of spreading codes; associating a flag with the assigned code; setting the flag to a first value when the mobile station is involved in the call; setting the flag to a second value after a prescribed time expires; and prohibiting assignment of the assigned code to another mobile station until after the prescribed time expires.
37. The method in claim 36, further comprising: setting the flag to the first value at the beginning of the call, and measuring the prescribed time from the beginning of the call.
38. The method in claim 36, wherein the mobile station employs the assigned code for the duration of the call even when the call is handedover to the second base station.
39. The method in claim 38, further comprising: setting the flag to the first value when the mobile is involved in the call; measuring the prescribed time from a time associated with the handover; and if the mobile station has not been in a handover during the call, the flag is set to the second value at the end of call.
40. In a mobile communications system including base station having plural sectors for communicating with mobile stations and employing spreading codes from a particular spreading code family for radio communications between the mobile stations and the base station, a method comprising: allocating a first subset of the particular spreading code family to a first base station sector, and allocating a second subset of the particular spreading code family to a second base station sector, wherein the spreading codes in the first and second subsets have lower cross correlation than spreading codes in the particular spreading code family.
41. The method in claim 40, wherein the particular spreading code family corresponds to the S (2) code family and the first and second subsets are associated with one or both ofthe S (0) and S (l) code families.
42. The method in claim 41, wherein each of the first and second spreading code subsets is defined by three component sequences such that a first component <BR> <BR> <BR> <BR> sequence includes an index oí r = L + 1, where L is the spreading code length, and one or more of indices for the second and third component sequences are different for the first and second base station sectors.
43. The method in claim 40, further comprising: for a particular call, assigning a mobile station associated with the first base station sector an assigned code from the first subset of spreading codes; associating a flag with the assigned code; setting the flag to a first value when the mobile station is involved in the call; setting the flag to a second value after a prescribed time expires; and prohibiting assignment of the assigned code to another mobile station until after the prescribed time expires.
44. The method in claim 43, further comprising: setting the flag to the first value at the beginning of the call, and measuring the prescribed time from the beginning of the call.
45. The method in claim 43, wherein the mobile station employs the assigned code for the duration of the call even when the call is handedover to the second base station sector.
46. The method in claim 45, further comprising: setting the flag to the first value when the mobile station is involved in the call ; measuring the prescribed time from a time associated with the handover : and if the mobile station has not been in a handover during the call, the flag is set to the second value at the end of call.
Description:
QUADRIPHASE SPREADING CODES IN CODE DIVISION MULTIPLE ACCESS COMMUNICATIONS FIELD OF THE INVENTION The present invention relates to spread spectrum communications, and more particularly, to the generation of optimal code sequences used to perform spreading and de-spreading functions in a code division multiple access communication.

BACKGROUND AND SUMMARY OF THE INVENTION A direct sequence spread spectrum (DSSS) system is a wide-band system in which the entire frequency bandwidth of the system is available to each user all the time. A DSSS system employs a spreading signal that expands or"spreads"the bandwidth of the transmitted signal much more than it is required for the transmission of information symbols. The spreading signal is usually called a spreading or scrambling code or sequence. The term spreading code is generally adopted for this description. Different users in a DSSS system are distinguished using the different spreading codes. This is why DSSS systems are also referred to as Direct Sequence- Code Division Multiple Access (DS-CDMA) systems. In general, spreading codes are usually bi-phase, with elements belonging to the set {+ 1,-1}, or polyphase, with elements belonging to the set of complex numbers corresponding to equidistant points on the unit circle in the complex plane. For example, quadriphase corresponds to four points of unit length from the origin.

In general, there is a trade-off between increasing the number of spreading codes and decreasing interference. The number of spreading codes used to distinguish mobile station users, particularly on the uplink direction from a mobile station to a base

station, should be as large as possible. This is because more spreading codes provide more radio channels so that more mobile stations can communicate at the same time in the same geographic area. But increasing capacity in a CDMA system comes at a cost-- interference which reduces the quality of communication for all users. However, it is desirable that the amount of correlation between any two of the spreading codes be reduced to minimize the interference between the mobile stations communicating using those codes. More formally, the maximum, periodic, cross-correlation between any two spreading codes should be as low as possible.

The periodic cross-correlation, also called even correlation, is equal to a correlation output under the assumption that the data modulation format does not change during the correlation operation. In practice, successive data modulation symbols have random rather than periodic values. Therefore, an odd correlation function better represents the correlation output when a data symbol of interfering signal changes during the correlation operation. While both the even and odd correlation functions should be evaluated to obtain an interference measure for any two spreading codes assigned to a pair of mobile stations to determine the degree of cross- correlation, odd cross-correlation is difficult to determine theoretically for a given set of spreading codes. Therefore, the even correlation function is used to compare different families or sets of spreading codes to determine an optimal family/set.

The present invention provides an optimal set of spreading codes for use for example in a wideband-CDMA (WCDMA) mobile radio communications system.

Although this set of spreading codes may be employed in synchronized, downlink transmissions from the base station, it is particularly useful in the uplink direction from the mobile station to the base station where the different mobile stations are not mutually synchronized.'I'he optimal spreading code family provides a large number of codes that also have low cross-correlation between spreading codes for all possible time shifts between the different mobile stations. In this way, the mobile communications

system capacity is significantly increased while still providing satisfactory radio communications with minimum interference to/from the other mobile stations.

In a preferred embodiment, the optimal code family is the S (2) family of four-phase code sequences of length L = 2"'-1, where m is an integer greater than or equal to 5. The codes in the S (2) family are generated by summing modulo-4 three component sequences including a first component quaternary sequence a (n), a second <BR> <BR> component binary sequence b (n), and a third component binary sequence c (n), where<BR> <BR> <BR> <BR> the binary sequences b (n) and c (n) are multiplied by two before summing. The size of<BR> <BR> <BR> <BR> <BR> the family, i. e., the number of quaternary spreading codes, is (L + 2) (L +1) 2, and the maximum cross-correlation between any two of the codes is The three component sequences may be generated using corresponding linear feedback shift- <BR> <BR> <BR> <BR> register generators. The set of (L + 2) + 1)2 different S(2) sequences is obtained by combining the different component sequences produced by the different initial shift <BR> <BR> <BR> <BR> register states: (L + 2) initial states for an an sequence and (L + 1) initial states for forc(n)sequences.b(n)and As an example, the number of S(2) spreading codes having a length (L) of 255 chips is 16,842, 752 with a maximum, absolute, even cross-correlation of 65.

Over 16 million uplink spreading codes provides considerable system capacity. If one assumes that no more that 256 mobile stations will be served in a single base station sector, then 65,792 code sets may be re-used in the mobile communications system.

This large number of code sets provides considerable flexibility in network planning.

Although spreading codes from the S (2) family may be randomly selected and allocated to various users in a CDMA mobile communications system, a preferred example embodiment of the present invention allocates the spreading codes in accordance with a specific code allocation procedure that achieves more advantageous

results compared with random code selection. Assuming the entire mobile communications system employs the S (2) family of codes, specific spreading code subsets of the S (2) family of codes are allocated to each base station (or base station sector). The spreading code subsets have the same cross correlation properties of the S (O) and/or S (l) families of codes and provide reduced interference for mobile stations operating in the same base station (or same base station sector) as compared to randomly selected codes from the S (2) family of codes.

Capacity is one important aspect of a communications system, but services are also very important. There are certain services provided in mobile communications systems like WCDMA cellular systems that may require or support more than one data rate. For variable rate and other services, it is desirable to provide spreading codes whose length may be expressed as an integer multiple of each spreading factor in the mobile communications system. The spreading factor corresponds to the number of chips used to spread a single data symbol. Relatively short spreading codes, whose code period covers one or more data symbols, are desirable in order to support low-complexity, multi-user detection at the CDMA radio base stations.

One way of implementing multiple data rates is to use those data rates <BR> <BR> <BR> <BR> which allow corresponding spreading factors (SF) to be expressed as SF (k) = L/2t, where L is the length of each spreading codes in the code family and k is a positive integer and varies in proportion to the data rate. Therefore, the spreading code length should be some power of two. Having the spreading code length expressible as an integer multiple of each possible spreading factor in the system significantly alleviates overall synchronization in the receiver making it independent of the data rate. In other words, if the spreading code period contains an integer number of data symbols, data frame and data synchronization in the receiver are derived automatically when the receiver despreading sequence is synchronized with the incoming signal. Otherwise,

the data symbol position with respect to the (relatively small) spreading code period fluctuates over the time, i. e., it is different in consecutive spreading code periods. As a result, it is difficult to attach a single data synchronization signal to a spreading code period, and consequently, a separate circuit in addition to a code synchronization circuit must be employed to acquire and track data synchronization.

However, the length (L) of the codes in typical spreading code families is <BR> <BR> <BR> <BR> 2"'-1, like the S (2) spreading code family described above. For example, if m=8, the code length is 255. In order to obtain the advantages of optimal high capacity at minimal cross-correlation code interference as well as support the variable data rate applications, the present invention extends the length of each spreading code by a code symbol to make the spreading code length a power of 2. In a preferred example embodiment, an additional code symbol is added to the end of each spreading code.

More specifically, the extended spreading code is obtained by adding another code symbol after L symbols of the original (non-extended) code of length L.

In one example embodiment, the added code symbol may be fixed, i. e., have the same value, for all spreading codes in the family. In other example embodiments, the added code symbol has the same value as the first chip in the original spreading code. In the case of quaternary spreading codes like those in the S (2) family, the additional spreading code symbol may have four possible values, i. e., or 3.

Preferably, the value of the additional spreading code is selected to optimize the mutual cross-correlation between the extended spreading codes.

BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and other objects, features, and advantages of the invention will be apparent from the following description of preferred embodiments as well as illustrated in the accompanying drawings in which reference characters refer to the

same parts throughout the various views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.

Fig. 1 is a function block diagram of an example mobile communications system in which the present invention may be advantageously employed; Fig. 2 is a function block diagram of an example radio station transceiver in which the present invention may be advantageously employed; Fig. 3 is a function block diagram illustrating additional details of the spreader and modulator blocks shown in Fig. 2; Fig. 4 illustrates a unit circle diagram illustrating four quadriphase values in a complex plane; Fig. 5 is a flowchart diagram illustrating example procedures for providing a spreading code from an optimal S (2) spreading code family in accordance with the present invention; Fig. 6 is a schematic diagram illustrating in further detail the code generator shown in Fig. 2; Fig. 7 is a schematic diagram illustrating an extended spreading code generator in accordance with a fixed extended symbol example embodiment; and Fig. 8 is a schematic diagram illustrating an example extended spreading code generator in accordance with a periodic extended symbol example embodiment; Fig. 9 is a function block diagram illustrating example procedures in accordance with an extended spreading code embodiment of the present invention; and Fig. 10 is a graph illustrating a performance of the fixed and periodic extended spreading codes.

DETAILED DESCRIPTION OF THE DRAWINGS In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular embodiments, procedures, techniques, etc., in order to provide a thorough understanding of the present invention.

However, it will be apparent to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. For example, while the present invention is sometimes described in the context of a mobile radio station using uplink spreading codes, the present invention is equally applicable to other radio stations, e. g., radio base stations, and indeed, to any spread spectrum communications system. In other instances, detailed descriptions of well-known methods, interfaces, devices, and signaling techniques are omitted so as not to obscure the description of the present invention with unnecessary detail.

The present invention is described in the context of a universal mobile telecommunications system (UMTS) 10 shown in Fig. 2. A representative, connection- oriented, external core network, shown as a cloud 12 may be for example the Public Switched Telephone Network (PSTN) and/or the Integrated Services Digital Network (ISDN). A representative, connectionless-oriented external core network shown as a cloud 14, may be for example the Internet. Both core networks are coupled to corresponding service nodes 16. The PSTN/ISDN connection-oriented network 12 is connected to a connection-oriented service node shown as a Mobile Switching Center (MSC) node 18 that provides circuit-switched services. In the existing GSM model, the MSC 18 is connected over an interface A to a Base Station Subsystem (BSS) 22 which in turn is connected to radio base station 23 over interface A'. The Internet connectionless-oriented network 14 is connected to a General Packet Radio Service (GPRS) node 20 tailored to provide packet-switched type services. Each of the core network service nodes 18 and 20 connects to a UMTS Radio Access Network (URAN) 24 over a radio access network (RAN) interface. URAN 24 includes one or

more radio network controllers 26. Each RNC 26 is connected to a plurality of base stations (BS) 28 and to any other RNC's in the URAN 24.

In the preferred embodiment, radio access is based upon wideband, Code Division Multiple Access (WCDMA) with individual radio channels allocated using CDMA spreading codes. WCDMA provides wide bandwidth for multimedia services and other high rate demands as well as robust features like diversity handoff and RAKE receivers to ensure high quality. Each mobile station 24 is assigned its own spreading code in order for a base station 20 to identify transmissions from that particular mobile station as well as for the mobile station to identify transmissions from the base station intended for that mobile station from all of the other transmissions and noise present in the same area.

A CDMA radio station transceiver 30 in which the present invention may be employed is shown in Fig. 2 in function block format. Those skilled in the art will appreciate that other radio transceiver functions used in CDMA transceivers not particularly relevant to the present invention are not shown. In the transmit branch, information bits to be transmit are received by a spreader 32 which spreads those information bits over the available frequency spectrum, (for wideband CDMA this frequency band could be for example 5 MHz, 10 MHz, 15 MHz or more), in accordance with a spreading code generated by a spreading code generator 40. Controller 44 determines which spreading code should be provided by code generator 40 to spreader 32. The spreading code provided by code generator 40 corresponds to a radio channel in a CDMA communications system. Because a very large number of code symbols (sometimes called"chips") may be used to code each information bit, (depending on the current data rate in a variable data rate system such as a WCDMA system), the spreading operation considerably increases the data rate thereby expanding the signal bandwidth. The spread signal is provided to a modulator 34 which modulates the spread signal onto an RF carrier. An oscillator 42 generates an appropriate radio frequency carrier at a frequency selected by the controller 44. The modulated RF signal

is then filtered and amplified in RF processing block 36 before being transmitted over the radio interface by way of antenna 38.

Similar but reverse operations are carried out in the receive branch of the transceiver 30. An RF signal is received by antenna 38 and filtered in RF processing block 150. The processed signal is then demodulated to extract the baseband signal from the RF carrier in a demodulator 48 using a suitable RF carrier signal provided by the oscillator 44. The demodulated signal is de-spread in a de-spreader 46 in accordance with a code selected by the controller 44 and generated by the code generator 40. The de-spread signal corresponds to the received information bits at baseband which are then typically further processed. While individual functional blocks are shown in the radio station transceiver 30, those skilled in the art will appreciate that these functions may be performed by individual hardware circuits, by a suitably programmed digital microprocessor, by an application specific integrated circuit (ASIC), and/or by one or more digital signaling processors (DSPs).

Fig. 3 illustrates in schematic form further example details of the spreader 32 and the modulator 34. A similar schematic would apply to the demodulator 48 and the de-spreader 46 with opposite functions in the reverse direction.

Quadrature phase shift keying (QPSK) is used both for the data modulation (performed by spreader 32), and the spreading modulation (performed by quadrature modulator 34).

Fig. 4 illustrates four quadriphase points in the unit circle corresponding to the complex plane defined by a real axis I and an imaginary axis Q. The four quadriphase alphabet values correspond to where

The example spreader 32 in Fig. 3 includes two biphase (+/-1) information streams to be demodulated separately, such as a traffic data stream and a control data stream, which are input to respective multipliers 52 and 54 in order to be spread and IQ multiplexed. The traffic and control data streams are spread by different channelization codes and them mapped to the I and Q branches. Channelization codes are employed to separately identify and distinguish the real and imaginary information streams at the receiver, even if there is imperfect I and Q phase synchronization at the receiver. In the situation where plural traffic and control data streams are to be transmit in parallel from a single mobile user, (e. g., multicode transmissions--intended for very high data rates), plural orthogonal channelization codes are used to make the necessary parallel code channels. The channelization codes can be based on so-called Orthogonal Variable Spreading Factor (OVSF) codes which maintain orthogonality even if different spreading factors are used. The channelization codes are common for all mobile stations.

The I and Q information streams represent the real and imaginary parts of a complex data stream to be transmit over a CDMA radio channel. In the present description, separate real and imaginary information streams and corresponding different channelization codes have been employed to generate a complex signal to be spread using a corresponding radio CDMA spreading code. However, the signal need not be complex. Indeed, the present invention may be employed to spread any type of information signal.

The spreading code generated by spreading code generator 40 is employed by the complex multiplier 60 to spread the complex information signal. The complex multiplier 60 in a QPSK data modulator performs complex multiplication between the complex data stream I + jQ and a complex spreading code (e. g., temporarily allocated to a mobile station) to provide the spread signal output to the modulator 34. Quadrature modulator 34 splits the spread signal into real (I) and imaginary (Q) streams which are processed by a corresponding pulse shaping filter 62,

64, such as a root-raised cosine filter, and then provided to respective mixers 66 and 68 which also receive in-phase and quadrature versions of the RF carrier. The modulated carrier quadrature signals are summed in summer 70 and output to the RF processing block 36.

As mentioned above, the number of CDMA spreading codes used to distinguish mobile station users, particularly on the uplink direction from a mobile station to a base station should be as large as possible to allow more mobile stations to communicate at the same time in the same geographic area. On the other hand, the number of spreading codes cannot be too large; otherwise, there is too much interference generated among mobile stations to have an acceptable communication.

The present invention provides a set of spreading codes with an optimal balance: a relatively large number of spreading codes with only minimal periodic cross-correlation between any two of the spreading codes in the family.

For comparison, parameters of various bi-phase and quadriphase spreading code families are shown in Table I below. The alphabet size corresponds to the number of different values that each code symbol may assume. For bi-phase codes, the alphabet size is two; for quadriphase codes the alphabet size is four. The sequence length (L) is the number of code symbols ("chips") in each code and for all code <BR> <BR> <BR> <BR> <BR> <BR> families in the Table I is equal to 2"'-1, where m is a positive integer whose possible values may be restricted depending on how the particular code family is constructed. <BR> <BR> <BR> <BR> <P>The family size (M) is the number of codes in a particular spreading code family. The larger the family size M, the greater the capacity. The maximum absolute cross- correlation (c"aY) is the maximum, periodic, cross-correlation between any two spreading codes in the spreading code family.

TABLE I Spreading Alphabet Sequence Length Family Size (M) Max. Abs. Cross- Code Size (p) Length(L) Restriction Corr.(Cmax) Family Gold 2 mod2L+21+#2#L+1m=1 Gold 2 2m-1 m = 2 mod 4 L + 2 1 + 2#L+1 Gold-like 2 mod4L+11+2#l+1m=0 Reciprocal 2 2"'-1 n7 = 0 mod 2 L + 2 2#L+1-1 Gold-like Small 2 mod2#L+11+#L+1m=0 Kasam i 2m-1m=2mod4(L+2)#L+11+2#L+1Large2 Kasami 2m-1m=0mod(L+2)#L+1-11+2#L+1Large2 Kasami 22m-1m=0mod2(L+2)2#L+11+4#L+1VeryLarge Kasami Very Large m=0mod2(L+2)2#L+1#2(1+4#L+1)2m-1 Kasami Family s (o) 4 None L + 2 42m-1m#3(L+2)(L+1)1+2#L+1FamilyS(1) Family S(2) 4 2m-1 m#5 (L+2)(L+1)2 1+4#L+1

Based on this analysis of various characteristics of these code families, the inventor determined that the S(2) family of spreading codes offers the optimal <BR> <BR> compromise between the largest number (M) of spreading codes, (L + 2) (L + 1) 2, and the smallest cross-correlation, In other words, for the S (2) spreading codes, the ratio of the number of spreading codes to the cross-correlation peak is maximized for a given spreading code length L. The S (l) and S (2) spreading code families are obtained by generalizing from the construction of the S (0) family of

quadriphase spreading codes. The S (2) spreading code family includes the S (l) family, which is the subset of (L + 2) (L + l) spreading codes obtained by combining different a(n) and b (n) component sequences. The S (2) and S (l) spreading code families include the S (O) family, which is the subset of (L + 2) spreading codes obtained by different initial states of an a(n) component sequence shift-register. The S (0) spreading code family has the same number of spreading codes as the Gold spreading code family, but the S (O) family has a smaller cross-correlation at least by factor of V2.

In order to provide a better understanding of the present invention, construction of the S (2) family of spreading codes is now described. Let <BR> <BR> <BR> <BR> h(x)=xm+h1xm-1 +... +hn,- I X + h, where hk, X E Z4, be a primitive polynomial over<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> Z4 of degree m, where Z4 is the set of integers {0,1,2,3}, i. e., the ring of modulo-4 integers. A list of all the primitive polynomials over Z4 up to degree m = 15 can be found in"On a Recent 4-Phase Sequence Design for CDMA,"Hammons et al., IEICE Trans. Commun., vol. E76-B, no. 8, pp. 804-813. The mth-order linear recurrence <BR> <BR> <BR> <BR> a,. (n) over Z4, defined by h (x) as<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> 4),n#m,(1)ar(n)=h1a(n-1)-h2a(n-2)-...-hma(n-m)(mod produces a quaternary sequence of period L = 2m-1. The above recurrence may be implemented using a shift register with feedback connections.

There are L + 2 cyclically distinct sequences which can be obtained from the recurrence defined in equation (1) by choosing an appropriate initial state of the recurrence, i. e., of the shift register. The initial state r,. is a vector of m elements, which can be represented as

#1@=[ar(m-1),ar(m-2),...ar(0)].

The L + 2 initial states #0,#1,#2,...,#L+1 can be chosen according to the following algorithm where and <BR> <BR> <BR> <BR> <BR> <BR> #2=3,#0=1,#1=2, <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> 1-xL-1,(modh(x0,mod4)(4)#3=1-x,#4=1-x2,...,#L+1= <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> The set of sequences {a,. (n)} dcfined by equations (1)- (4) represents the S (0) family of sequences whose parameters are given in Tablé 1.

The set of sequences {a,. (n) of length 255 can be generated by a degree 8 primitive polynomial over Z4. The primitive polynomial of degree 8, which provides the simplest feedback connections of the corresponding shift-register generator, is as follows: h(x)=x8+x5+3x3+x2+2x+1.(5) The S family of sequences {yu(n)}, u = 0,1,..., (L + 2) (L + I)-1, is the generalization of the S (O) sequence family obtained by combining the quaternary sequences from the set {ar(n0}, r=0, 1,2,..., (L + 1), with the binary sequences

{b5 (n)}, s 0,1,2,..., 2,..., L, of the same length. The exact algorithm is given by the followingrelation: 4),n=0,1,...,L-1..(6)yu(n)=ar(n)+2bs(n)(mod The sequences bs (n) are obtained by a linear recurrence over Z2, defined by the polynomial g (x) = xe + glxe-l +... + ge_lx + 1 as <BR> <BR> <BR> <BR> <BR> 2),n#e,(7)bs(n)=g1b(n-1)+g2b(n-2)+...+b(n-e)(mod <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> where e < m is a minimum integer satisfying (3 mod (2"'-1) = 3.

The polynomial g (x) is related to the polynomial h (x) and is obtained from the polynomial g (x), given by according to the following relation For h (x) given by equation (5), the corresponding g (x) is equal to g(x)=x8+x7+x5+x+1.(10) The set of L + I distinct (but not cyclically distinct) sequences bus (n) is defined by the <BR> <BR> <BR> appropriate initial states of the recurrence defined in equation (7). T he L + 1 initial states #0,#1,#2,...,#L are defined as

#0=0,#1=1,<BR> <BR> <BR> (11)<BR> <BR> h(x),mod2).#2=x,#3=x2,...,#L=xL-1,(mod The actual initial state [bs(m-1), bs(m-2),...,bs(0)] is given by the coefficients of corresponding polynomial S5 defined by equation (11) according to the following notation: a5 =bs(m-1)xm-1 + (-2)+...+(0) The S(2) family of sequences -1,v=0,1,2,...,(L+1)(L+1)2 is a further generalization using the S(0) and S (l) families. It is obtained by combining the sequences from the previously defined sets {a,. (n)} and {b5 (n)} with additional set {ct (n)} of L + 1 binary sequences, according to the following relation: 4),(12)zv(n)=ar(n)+2bs(n)+2ct(n)(mod n=O, 1,..., L-1.

An enumeration algorithm for the set S (2) can be defined by <BR> <BR> <BR> <BR> <BR> <BR> v=r.2<+..2+/<BR> <BR> <BR> <BR> <BR> <BR> <BR> r=0,1,2,...,Z.+l s=0,1,2,..., L <BR> <BR> <BR> t=0,1,2,..., L<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> The sequences c, (n) are obtained by a linear recurrence over Z2, defined polynomialf(x)=xe+f1xe-1+...+fc-1x+1asbythe 2),n#e,(14)ct(n)=f1ct(n-1)+f2ct(n-2)+...+ct(n-1)(mod

where e < m is a minimum integer satisfying (5 mod (2ni _ 1) =5. The polynomial f (x) is related to the polynomial h (x) and is obtained from the polynomial f (x), given by according to the following relation For h (x) given by equation (5), the corresponding f (x) is equal to f(x)=x8+x7+x5+x4+1.(17) The set of L + 1 distinct (but not cyclically distinct) sequences c, (n) is defined by the appropriate initial states of the recurrence (14). These initial states are already defined by equation (11).

The above constructions for the S (2) spreading code family produce quaternary codes with elements belonging to the set {0, 1,2,3. To obtain complex quadriphase spreading codes having a constant envelope, with real and imaginary parts being bi-phase values, i. e., with elements belonging to the set the following transformation is applied s2(n)=ej#/4#ej#/2#x(n)(18)

With this mathematical explanation of how the 5 (2) family of spreading codes is constructed, reference is now made to a Mobile Call routine (block 80) illustrated in function block format in Fig. 5. Initially, a mobile station requests a traffic channel (TCH) by sending a traffic channel request over a random access channel (RACH) (block 82). The random access channel has one or more corresponding spreading codes which the mobile station employs to transceive over that random access channel. In response to the mobile's request, the base station sends over the random <BR> <BR> <BR> <BR> access channel to the mobile station the number"v"of a spreading code Zv (n) from<BR> <BR> <BR> <BR> <BR> <BR> <BR> the S (2) spreading code family (block 84) corresponding to an allocated radio channel.<BR> <BR> <BR> <BR> <BR> <BR> <P>Z,, (n) is defined in equation (12), and v is defined in equation (13) above. Using the spreading code number v, the mobile station determines the ordinal numbers r, s, and t which uniquely identify the initial states of shift registers used to generate the three component sequences a,. (n), bs (n) *and c, (l) denned above in equations (1), (7) and (14), respectively. Those three component sequences are combined to provide a <BR> <BR> <BR> <BR> corresponding 5 (2) quaternary spreading code zv (n) in accordance with equation (12)<BR> <BR> <BR> <BR> <BR> <BR> <BR> (block 88). rhc 5 (2) quatcrnary splcadillg codc is then mappcd to a corresponding quadriphase spreading code (block 90) and used to spread/de-spread (depending upon transmit or receive operation currently being performed in the mobile station) information using the generated quadriphase spreading code (block 92).

Fig. 6 illustrates an example shift register implementation of a code generator 40 for generating S (2) quadriphase spreading (and de-spreading) codes in accordance with one example embodiment of the present invention. Code generator 40 includes three linear, feedback shift registers 100,102, and 104. Each shift register includes eight memory elements (shift stages) 0-7. At the beginning of each chip interval, the content of each memory element is moved (shifted) to the adjacent, right- hand memory element. The outputs of the memory elements are multiplied by the coefficients of the respective recurrence equation and then summed modulo 4 (or 2).

The result of summation is stored in the left-most memory element at the beginning of the subsequent chip interval.

Shift register 104 implements the linear recurrence a, (n) defined in equation (1). Shift register 102 generates the , (n) sequences, and shift register 100 generates the ct (n) sequences in accordance with equations (7) and (14). The outputs of shift registers 100 and 102 are multiplied by two in respective multipliers 106 and 108. Each of the three sequences output by the corresponding three shift registers is <BR> <BR> <BR> <BR> summed in summer 110 to generate an 5 (2) quaternary code which is converted to a<BR> <BR> <BR> <BR> <BR> <BR> <BR> corresponding 5 (2) quadriphase spreading code by way of mapper 112. Of course, the<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> S (2) quaternary code output depends on the actual initial state set in the shift registers which are determined in accordance with equations (2), (3), (4), (11). Those initial states may be input into the appropriate shift registers by the transceiver controller 44, which sets the appropriate values of the ajustable parameters in the transmitter and receiver, both in the mobile and base station transceivers. Although in a preferred embodiment, the spreading code generator 40 is implemented using shift registers which generate the necessary S (2) spreading codes as needed, those S (2) spreading codes could be generated in avance, stored in memory, and retrieved using a table lookup function.

Thus, the present invention provides a family of quadriphase, CDMA spreading codes that provide a maximal number of CDMA spreading codes of a particular length having a minimal cross-correlation. At the same time, these spreading codes have a small signaling alphabet which is very convenient for the practical implementation of the spreader and the despreader. <BR> <BR> <BR> <BR> <BR> <BR> <P> Although the 5 (2) family of spreading codes may be allocated randomly,<BR> <BR> <BR> <BR> <BR> <BR> <BR> a preferred embodiment allocates codes from the 5 (2) family in a more advantageous fashion. As shown above, the S (1) and S (0) spreading code families are subsets of the

S (2) code family and have better cross-correlation properties, and therefore produce less interference between mobile users. Table 1 above shows that the S (l) code family and the S (0) code family have one half and one fourth of the maximum absolute cross- correlation as the 5 (2) code family, respectively.

In this preferred embodiment, the large number of codes provided by the <BR> <BR> <BR> <BR> S2 (2) family is employed by the mobile communications system, but specific subsets of<BR> <BR> <BR> <BR> <BR> <BR> the S (2) codes are allocated to particular base stations or base station sectors.

Consequently, depending on the number of mobile users in a particular area of a CDMA cellular network, service quality is improved, i. e., less interference between mobile users connected to the same base station or base station sector. For example, the mobile <BR> <BR> <BR> <BR> communications system may use 5 (2) spreading codes of length L = 255. A first base<BR> <BR> <BR> <BR> <BR> <BR> <BR> station BSO is allocated the subset of 5 (2) codes defined by the component sequences<BR> <BR> <BR> <BR> <BR> <BR> having indices r = 256 ; s = 0 ; and t = 0. In other words, BSO is allotted the "pure"S (0) family of codes. A second neighboring base station BS I is allocated <BR> <BR> <BR> <BR> another subset of S (2) spreading codes defined by the component sequences<BR> <BR> <BR> <BR> <BR> <BR> corresponding to indices r = 256;. v = 1 ; and t = 0. The second base station codes are very similar to the pure S (0) codes, (the S (O) codes are multiplied chip-by- chip with a common component sequence b, (n)), and have essentially the same <BR> <BR> <BR> <BR> characteristics. As a result of this 5 (2) code subset allocation, the cross-correlation<BR> <BR> <BR> <BR> <BR> <BR> between those allocated S (2) codes for each base station is the same as for the S (O)<BR> <BR> <BR> <BR> <BR> <BR> <BR> code family, i. e., less cross-correlation between codes as compared to that for the 5 (2) family in general.

Using such an S (2) subset code allocation strategy, mutual interference between mobile stations connected to the same base station is minimized, and the interference between the base stations is also bounded according to the properties of the

S (2) codes. The S (2) subset code allocation strategy may be generally defined as follows: each BS (or BS sector) has at least L + 2 spreading codes from the 5 (2) family defined by three component sequences having an index r = (), 1,2..., L + 1 and indices s and t that are unique for each base station (or base station sector), i. e., the indices s and t have different integer values for different base stations.

While this subset code allocation scheme is advantageous in that it reduces cross-correlation between mobile users in a base station/sector as compared to <BR> <BR> <BR> <BR> the general S (2) code family, hand-over situations require some special provision. For the duration of a call, the mobile station keeps the same spreading code allocated at the beginning of the call by the source base station/sector even if the mobile changes from the original source base station during hand-over to a destination base station. Using the code allocated by the source base station while connected to the destination base station may produce interference greater than that for the S (0) family. But that interference is still no greater than that defined for the S2 (2) code set.

In the hand-over situation where the source base station allocated a particular spreading code to the mobile station, the source base station is prevented from allocating that same spreading code before the handed-over mobile station finishes the call to avoid the situation where two mobile stations are assigned the same code. One way of accomplishing this is for the source base station to assign a time-out flag to each available spreading code. The time-out flag is set, meaning that the code may be allocated to another mobile only if a predefined time interval has passed since the code was allocated. Alternatively, the flag has a non-zero time-out value only when the mobile is in handover with the time out interval commencing at the time of handover.

Either way, the same code is prevented from being assigned to two mobile stations at the same time when the mobiles are connected to the neighboring base stations.

The construction of the S (2) or other family of spreading codes produces spreading codes that each have a length L = 2"'-1. Consequently, each code's length is not a power of 2. However, in a CDMA system that supports different data rates over the same physical radio channel depending on which of different services is currently operating, the spreading code length should be expressed as a multiple of each spreading factor existing in the multi-rate CDMA system. The spreading factor is the number of chips (plural chips are used to spread one data bit) within the data symbol.

One way of implementing multiple data rates is to use those data rates that permit the corresponding spreading factors (SF) to be expressed as ) =Z./2', where the variable k is proportional to the data rate. Moreover, since the number of chips within the data symbol should be an integer, the spreading sequence length should be a power of 2.

Consequently, spreading code sequences belonging to the 5 (2) family should be extended with one quaternary symbol for optimal use in a multi-rate CDMA system. The present invention resolves this need by providing a spreading code extension without increasing the maximum cross-correlation between spreading codes in the spreading code family, with minimum hardware implementation complexity.

In a preferred embodiment that tries to reduce hardware implementation complexity, the spreading code symbol is added to the end of the original spreading code in order to extend the code by one symbol. Of course, the length of the original spreading code could be extended by adding a code symbol to other locations in the original code. In other words, extended spreading codes may be obtained by adding an additional spreading code symbol, after the L symbols of the original, non-extended spreading code of length L = 2"'-1.

In one fixed code extension example embodiment, the additional spreading code symbol is fixed, i. e., the same for all spreading codes. In the case of quaternary codes like the S (2) family of spreading codes, the additional spreading code symbol can have four possible values. The particular code symbol value, i. e., chip value, may be chosen to minimize the mutual cross-correlation between extended sequences in a set i. e., the 5 (2) sequences.

An example of the fixed code extension embodiment is shown in Fig. 7 for original S (2) spreading codes of length 255 where like reference numbers refer to like elements from Fig. 6. The code generator 40'in Fig. 7 includes comparator 120 connected to the outputs of each memory element of the shift register 104 which <BR> <BR> <BR> <BR> <BR> generates the component sequence a,. (n). In addition, a corresponding register 122<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> containing the initial state rr of the shift register 104 is connected to the remaining available inputs of the comparator 120. Still further, a switch block 124 is connected at one input terminal to the output of summer 110. The other input terminal is connected to the fixed code symbol value x, and the output of the switch is connected to mapper 112. Outputs from comparator 120 suspend the shifting operation of all three registers 100,102, and 104 as well as control the state of the switch 110. <BR> <BR> <BR> <BR> <BR> <BR> <BR> <P> In operation, the comparator 120 detects the end of an original S(2)<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> spreading code by detecting the end of component sequence a,. (n). Only the<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> component sequence ar (n) has the same period as the S (2) spreading code. The other<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> two component sequences, b, (n) and c, (n), have shorter periods which are contained<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> in the period of an S2 (2) spreading code, and therefore, they are not used to detect the<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> end of S2 (2) spreading code. The end of component sequence ar (n) is detected by detecting the subsequent periodic occurrence of the same state of the shift register 104 which was loaded in register 104 at the initialization of the code generator 40 operation.

During the initialization of the code generator 40, all three shift registers 100,102,

and 104 are loaded with the corresponding initial states and then released to run in parallel. However, only the internal state of the shift register 104 is monitored by the comparator 120.

When the end of the original spreading code is detected by the comparator 120, the comparator 120 generates a shift suspend operation during the next spreading code symbol cycle. At that time, the extension symbol x, which can be any one of the set of values 0,1,2, or 3, is added to the end of the code when the switch 124 is momentarily connected to the x terminal in accordance with an output from the comparator 120. During that time, the internal states of all three shift registers remain unchanged. As a result, the S (2) spreading code is extended by one symbol for a total of 256 symbols which is a power of 2, i. e., 28 = 256. After inserted chip interval, three shift registers start shifting from the corresponding initial states without actual re- loading of those initial states.

Fig. 8 shows an example of a periodic code extension embodiment in which the original spreading code is extended by a single chip whose value is the same as that of the first symbol in the original spreading code. The structure and operation of the code generator 40"shown in Fig. 8 is similar to that described above for the code generator 40'shown in Fig. 7. However, the switch 124 is not employed; nor is there any external source"x"that supplies the extra chip. Instead, when the end of the original spreading code is detected by the comparator 120, the corresponding output of the code generator 40 represents the extended (256-th) chip value. The shifting in all shift registers is suspended during the next chip cycle so the same state, equal to the initial state, appears in the first chip cycle of the next spreading code period. After the inserted chip interval, the three shift registers continue shifting from their corresponding initial states without actually re-loading those initial states.

Accordingly, an additional symbol code equal to the first symbol in the original spreading code is inserted after the last symbol in the original spreading code

with no added hardware. This same periodic extension may be implemented using a modulo counter, modulo-256 in this example where L = 255, (more generally the modulus of the counter is equal to the period of the extended spreading code), which indicates the end of extended spreading code. In operation, the shift registers are reinitialized as usual at the end of the code period and generate as the next chip output the first chip of the code as determined by the initial states of the shift registers. But after this first chip is output, (thereby extending the generated spreading code by onc chip), the counter generates an output that causes the shift registers to re-load their respective initial states so that the extended code generation operation is again re- started.

Reference is now made to an extended code routine (block 200) which illustrates an example procedure in accordance with the present invention. Initially, a family of original spreading codes is generated, each code having a length L (block 202). For each generated spreading code, the end of that original spreading code is detected (block 204). Shifting and linear feedback operations in the code generator are momentarily suspended (block 206). A decision is made in block 208 whether the fixed spreading code extension procedure or the periodic spreading code extension procedure described in the two example embodiments immediately above is selected.

For periodic spreading code extension, a spreading code symbol equal to the first symbol in that code is added to the end of the spreading code (block 210). For a fixed spreading code extension, a fixed code symbol is added to the end of the spreading code (block 212). The code extension process is repeated for each generated code (block 214). Of course, once the decision has been made as to the particular type of extension, the decision in block 208 no longer need be made.

For the S (2) family of spreading codes, both of the extension procedures described above can be performed easily and with minimal hardware. These extended S (2) codes provide the necessary flexibility to optimize multirate communications while permitting the largest number of users balanced with minimal cross-correlation

between extended codes. Because the cross-correlation properties of extended codes is difficult to predict theoretically, the following performance evaluation of extended S (2) spreading codes is done numerically.

The performance of the fixed and periodic spreading code extensions is considered now in conjunction with Fig. 10 and is based on the calculation of the average bit error probability Pe in a multiple access system with K concurrent users.

The bit error probability calculation is implemented relying on a numerical evaluation of an analytical formula that includes (K-2)-fold convolution of the code-pair cross- correlation probability density function as follows: where Eb is the data bit (spreading sequence) energy, No is the additive white Gaussian noise power spectral density, and f, (z) is the multiple access interference probability density function (PDF). The function f, (z) is obtained by (K-2)-fold convolution of the code-pair cross-correlation PDF/,,,. (z'), i. e., K-I f, (z) fpar (z) fpair (z) fpair (Z)' (20) A BPSK data modulation format and time shifts between users corresponding to the integer multiples of the code symbol (chip) period were assumed so that the cross-correlation probability density function can be presumed discrete. The cross-correlation probability density function was obtained by counting all the different

values of the real part of even and odd cross-correlations within a given set of spreading codes. Cross-correlation probability density function was evaluated for the extended S spreading codes (which form a subset of S (2) spreading codes) of length L = 32.

It was found that both the fixed and periodic extension approaches have <BR> <BR> <BR> <BR> about the same performance. The average bit error probability Pe for K = 4 concurrent users using periodically extended S (l) sequences of length 32, as well as S (l) sequences extended by a fixed symbol (equal to 3) is shown in Fig. 10. Comparing performance between the non-extended and extended S sequences, one would <BR> <BR> <BR> <BR> expect, based on the maximum absolute period cross-correlation (C), that thc noll- extended spreading codes should have better performance because they have a smaller <BR> <BR> <BR> <BR> Cniax value. If the number of users is K = 4, the periodically extended spreading codes produce a slightly higher average bit error rate. However, when the number of users increases to K = 6, the extended codes surprisingly produce a lower average bit error rate than non-extended spreading codes. This latter relationship remains valid for all other numbers of users greater than 6 which is another advantage of the extended spreading code embodiments of the present invention. The explanation may lie in the properties of the odd cross-correlation function, which dominantly influences the shape of the code-pair cross-correlation probability density function fpair(z'), both for the non-extended and extended spreading codes. The shape of the multiple access <BR> <BR> <BR> <BR> interference probability density function f, (z), which directly determines the average bit error rate, is influenced both by the shape of the function fpair(z') and by the number of self-convolutions of/,,. (2-) in equation (20), i. e., by the number of concurrent users.

While the present invention has been described with respect to a particular embodiment, those skilled in the art will recognize that the present invention is not limited to the specific embodiments described and illustrated herein. Different formats,

embodiments, and adaptations besides those shown and described as well as many modifications, variations, and equivalent arrangements may also be used to implement the invention. Therefore, while the present invention has been described in relation to its preferred embodiments, it is to be understood that this disclosure is only illustrative and exemplary of the present invention and is merely for the purposes of providing a full and enabling disclosure of the invention. Accordingly, it is intended that the invention be limited only by the spirit and scope of the claims appended hereto.