METHOD AND APPARATUS FOR SPREADING AND DESPREADING DATA IN A SPREAD-SPECTRUM COMMUNICATION SYSTEM

Abstract: A current mode of operation is provided to a Walsh spreader (203), and based on the current mode of operation, the Walsh spreader (203) either varies a Walsh code at a symbol rate, or holds the Walsh code constant. During multi-carrier transmission a first symbol within a data stream (210) is spread with a first Walsh code, while symbols immediately preceding and following the first symbol are spread by another, differing Walsh code. The sequence of Walsh codes exiting the spreader (201) is further scrambled by a pair of Pseudo-Noise (PN) codes (224) that are held constant for three Walsh code periods during multi-carrier transmission, and are not held constant during direct-spread transmission.

Description: METHOD AND APPARATUS FOR SPREADING AND DESPREADING DATA IN A SPREAD-SPECTRUM COMMUNICATION SYSTEM Field of the Invention The present invention relates generally to communication systems and, in particular, to a method and apparatus for spreading and despreading data in a spread-spectrum communication system. Related Inventions The present invention is related to MULTI-MODE TRANSMITTER AND RECEIVER, having Serial No. 09/199,006 filed on November 24, 1998 and assigned to the assignee of the present invention. Background of the Invention Next generation spread-spectrum communication systems incorporate both a direct-spread and a multi-carrier option for transmission. One such communication system currently being developed with direct-spread and multi- carrier capabilities is the next generation Code-Division Multiple-Access (CDMA) cellular communication system, more commonly referred to as cdma2000, or IS95C. During direct-spread transmission the communication systems transmit information over the bandwidth of interest by using a single short code. Unlike direct-spread transmission, multi-carrier transmission transmits information over the bandwidth of interest by using multiple short codes. For multi-carrier transmission, each portion of the user's data that is spread with a single short code is transmitted within its own frequency band. Such a multi-carrier transmitter and receiver is shown in FIG. 1. As shown, data stream 101 enters demultiplexer 103. where it is sent to three separate spreaders 105. Each spreading circuitry 105 utilizes its own. unique Walsh code as well as a common pseudo-noise (PN) code when spreading data stream 101. After low-pass filtering and digital-to-analog conversion, each data path is mixed to a separate frequency by mixers 107. The output of mixers 107 is a portion of data stream 101, mixed to a unique frequency. After bandpass filtering, the output from mixers 107 is summed by summer 109 and transmitted as signal 121 comprising three separate frequency bands, each frequency band utilizing a unique short code. During reception, the three separate frequency bands 121 are received by receiver 120 and downconverted to a single frequency by mixers 125. After filtering and analog-to-digital conversion, the three signal paths are despread utilizing three separate despreaders (not shown), each using a similar PN code and a unique Walsh code. The use of multiple spreaders 105 in multi-mode transmitters, makes multi-mode devices very expensive. Therefore a need exists for a method and apparatus for spreading and despreading data in a communication system utilizing both direct-spread and multi-carrier transmission, that is less costly than prior-art multi-mode transmitters and receivers. Brief Description of the Drawings FIG. 1 is a block diagram of a prior-art transmitter and receiver that utilizes a multi-carrier form of transmission. FIG. 2 is a block diagram of a multi-mode transmitter front end in accordance with the preferred embodiment of the present invention. FIG. 3 is a block diagram of a multi-mode transmitter back end in accordance with the preferred embodiment of the present invention. FIG. 4 is a block diagram of a multi-mode receiver front end in accordance with the preferred embodiment of the present invention. FIG. 5 is a block diagram of a multi-mode receiver back end in accordance with the preferred embodiment of the present invention. FIG. 6 is a flow chart illustrating operation of the transmitter of FIG. 2 and FIG. 3 in accordance with the preferred embodiment of the present invention. FIG. 7 is a flow chart illustrating operation of the receiver of FIG. 4 and FIG. 5 in accordance with the preferred embodiment of the present invention. Detailed Description of the Drawings To address the need for a method and apparatus for spreading and despreading data in a communication system a current mode of operation is provided to a Walsh spreader, and based on the current mode of operation, the Walsh spreader either varies a Walsh code at a symbol rate, or holds the Walsh code constant. During multi-carrier transmission a first symbol within a data stream is spread with a first Walsh code, while symbols immediately preceding and following the first symbol are spread by a another, differing Walsh code. The sequence of Walsh codes exiting the spreader is further scrambled by a pair of PN codes that are held constant for three Walsh code periods during multi-carrier transmission, and are not held constant during direct-spread transmission. Utilizing Walsh codes that vary at the symbol rate, based on a transmission mode and a PN code that is held constant for multiple Walsh codes, based on the transmission mode allows for the three prior-art spreaders of FIG. 1 to be replaced by a single, less expensive spreader. The present invention encompasses a method for spreading data in a spread-spectrum communication system. The method comprises the steps of determining a current mode of operation and spreading data with a time-varying spreading code that varies at a symbol rate when operating in a first mode of operation, otherwise spreading data with a non varying spreading code. The present invention additionally encompasses a method for despreading data in a spread-spectrum communication system. The method comprises the steps of determining a current mode of operation and despreading data with a spreading code that is held constant for a plurality of symbols when operating in a first mode, otherwise despreading the data with a third despreading code that varies at the symbol rate. The present invention additionally encompasses an apparatus for spreading data in a spread-spectrum communication system. The apparatus comprises a first spreader having a current mode of operation as an input and outputting spread data based on the current mode of operation. In the preferred embodiment of the present invention the spread data is spread with a spreading code that varies at a symbol rate when operating in a first mode of operation, otherwise the spread data is spread with a non varying spreading code. Finally, the present invention encompasses an apparatus for despreading data in a spread-spectrum communication system. The apparatus comprises a first despreader having a current mode of operation as an input and outputting despread data based on the current mode of operation. In the preferred embodiment of the present invention the despread data is despread with a spreading code that is held constant for a plurality of symbols when operating in the first mode, otherwise despread with a third spreading code that varies at the symbol rate. In the preferred embodiment of the present invention a transmitter and receiver are provided that utilize a direct-spread RF section for multi-carrier transmission. Prior to describing a transmitter and receiver in accordance with the preferred embodiment of the present invention the following text and equations are provided to set the necessary background for utilization of the preferred embodiment of the present invention. In a multi-carrier transmission, the resulting signal (Y) can be represented as: Y = X,e^- Λ " + X 2 e w + X,e Ji0 +Λ) ' = ( ,e- Δr + X 2 + X 3 e 1& ' )e J0 » , (1) where Y and X X,, X 3 are complex I+jQ quadrature signals. After up- conversion, the signal can be defined as: Y = (I + jQ)e jω °' where ω 0 is π ' f ,' f J 0 o is the center frequency of an equivalent direct spread / J o signal. Δ is the frequency offset between the carriers and t is time. Expressing the exponent in equation (1) as sine and cosine equivalents, equation (1) becomes: I + jQ = X, (cos(-Δt) + j sin(-Δt)) + X 2 + X 3 (cos(Δt) + j sin(Δt)) , where • is the frequency offset between the carriers, which in the preferred embodiment is 1.5 MHz. Switching to the real and imaginary components I+jQ = (Iι+jQι)(cos(-At) +; ' sin(-Δt)) + (I 2 +jQ 2 ) + (h + jQ 3 )(cos(At) +;'sin(Δt)). Multiplying and combining real and imaginary: /, cos(Δt) + Q, sin(Δt) + j(Q, cos(Δt) - /, sin(Δt)) + I 2 + jQ 2 + I 3 cos(Δt) - Q 3 sin(Δt) + j(Q 3 cos(Δt) + 7 3 sin(Δt)) = / + jQ. Deriving the I and Q components of the combined multi-mode transmission: / = (/, +/ 3 )cos(Δt) + / 2 +(O^ -O sin(Δt) (2) ρ = (2 1 +β 3 )cos(Δt) + β 2 + (/, -/ I )sin(Δt) . (3) Thus, the I and Q components of a multi-carrier signal can be represented as shown in equations (2) and (3). In the preferred embodiment of the present invention equations (2) and (3) are utilized to provide a multi-mode transmitter and receiver that uses a direct-spread RF section for multi-carrier transmission. Turning now to the drawings, wherein like numerals designate like components, FIG. 2 is a block diagram of multi-mode transmitter front end 200 in accordance with the preferred embodiment of the present invention. In the preferred embodiment of the present invention, front end 200 has replaced the prior-art spreaders 105 with spreading circuitry 202. During operation, data stream 210 is received by Walsh spreader 201 at a particular symbol rate. Data stream 210 typically includes convolutionally encoded and interleaved voice converted to data by a vocoder, pure data, or a combination of the two types of data. Spreader 201 multiplies each data symbol within data stream 210 by an orthogonal code. In the preferred embodiment of the present invention, a 64-aπ. or 256-ary Walsh code is utilized for direct and multi-carrier spreading, respectively, however in alternate embodiments of the present invention, any M- ary Walsh code may be utilized. In M-ary orthogonal encoding, interleaved and scrambled data symbols are each replaced by a M symbol orthogonal code. These orthogonal codes preferably correspond to Walsh codes from a MxM Hadamard matrix wherein a Walsh code is a single row or column of the matrix. Spreader 201 repetitively outputs a Walsh code 222 which converts a single input data symbol to a series of chips. In the preferred embodiment of the present invention Walsh code 222 is varied at the symbol rate during multi-carrier transmission, and is held constant (i.e., a single Walsh code) during direct-spread transmission. More particularly, a current mode of operation is provided to Walsh spreader 203, and based on the current mode of operation, spreader 203 either varies a Walsh code at a symbol rate, or holds the Walsh code constant. During multi-carrier transmission a first symbol within data stream 210 is spread with a first Walsh code, while symbols immediately preceding and following the first symbol is spread by a another, differing Walsh code. Additionally, in the preferred embodiment of the present invention during multi-carrier transmission all Walsh codes comprise 256 chips. During direct-spread transmission, a single Walsh code is utilized to spread all symbols within data stream 210. In the preferred embodiment of the present invention, the Walsh code utilized for direct- spread transmission comprises 64 chips. The sequence of Walsh codes exiting spreader 201 is further scrambled by a pair of PN codes 224 to generate an I-channel and Q-channel spread sequence. In the preferred embodiment of the present invention, PN codes comprise a time varying code that is utilized to distinguish transmission from a particular cell. All forward channels in a communication system utilize the same PN code, however, the code is shifted in time between cells within the communication system. In the preferred embodiment of the present invention, PN code 224 is held constant for three Walsh code periods during multi-carrier transmission, and is not held constant during direct-spread transmission. More particularly, during multi- carrier transmission, three consecutive Walsh codes share the same time-varying PN code, as if they were transmitted simultaneously, while direct-spread transmission varies the PN code with every Walsh code. The I-channel and Q-channel code spread sequences are passed to switch 214 where they are directed based upon the current mode of operation. For direct- spread transmission, demultiplexer 209 is bypassed, and the current I and Q streams are output to the transmitter back end. However, for multi-carrier transmission, the I and Q stream is demultiplexed into multiple I and Q components so that three consecutive I and Q streams are sent to a transmitter back end simultaneously. In the preferred embodiment of the present invention, each I and Q component of the simultaneous streams (e.g., I], I 2 , I 3 , , Q l5 Q 2 , Q 3 ) represents the baseband portion of a multi carrier signal. For example, the Ii and Qi streams contain data that, for prior- art systems, would be broadcast within a single frequency band in a multicast transmission Thus, in an n-carπer multicast system, the I, and Q, streams contain data representing every ι+3k symbol from data stream 210, where k is an integer and l is an integer between 1 and n. The preferred embodiment of the present invention utilizes spreading circuitry 202, having Walsh codes that vary at the symbol rate, or are held constant, based on a transmission mode Additionally, spreading circuitry 202 utilizes a PN code that is held constant for multiple Walsh codes, or is allowed to vary, based on the transmission mode The utilization of such spreading circuitry allows for the three prior-art spreaders of FIG. 1 to be replaced by a single, less expensive spreader. FIG 3 is a block diagram of transmitter back end 300 utilized during multi-carrier transmission in accordance with the preferred embodiment of the present invention In the preferred embodiment of the present invention switch 214 directs each I an Q component to transmitter back end 300 during transmission As shown, transmitter back end 300 comprises summers 301-307, mixers 309-315. summers 317 and 319 filters 321-323, D/A converters 325-327, filter 331, and mixers 333 During multi-carrier transmission, multiple I and Q components that were output from er front end 200 enters receiver back end 300 Receiver back end 300 outputs the I and Q components of the transmitted signal as defined in equations (2) and (3) More particularly, Ij is summed with I 3 by summer 301, Q 3 is subtracted from Qi by summer 303, Q is added to Q 3 by summer 305, and h is subtracted from Ii by summer 307 The outputs of summers 301 and 305 enter mixers 309 and 313, respectively, where they are mixed by cos(*t) Similarly, the outputs of summers 303 and 307 enter mixers 311 and 315, respectively, where they are mixed by sιn( 9 t) The output from mixers 309 and 311 enter summer 317 where they are summed along with the I 2 component, resulting in signal 318. The output from mixers 313 and 315 enter summer 319 where they are summed along with the Q 2 component, resulting in signal 320. Signals 318 and 320 enter filters 321 and 323 respectively, where they are filtered. During direct-spread transmission, the I and Q stream bypasses summers 301-307, mixers 309-315, and summers 317-319, and enters filters 321 and 323 respectively. In the preferred embodiment of the present invention filters 321 and 323 are filters that provide the correct band shape for the appropriate spreading factor as defined in RTT cdma2000 proposals. The outputs from filters 321 and 323 are determined by specification and the nature of the combined signals. In the preferred embodiment of the present invention the total bandwidth is 3/2*, or 2.25 MHz. The resulting filtered signals are D/A converted by converters 325-327, resulting in I and Q components similar to those in equations (2) and (3). The I and Q components are then mixed to frequency by mixers 333, and radiated by an antenna (not shown) to complete transmission of data stream 210. As is evident, the transmitter back end 300 in accordance with the preferred embodiment of the present invention utilizes much of the same circuitry for both direct-spread, and multi-carrier transmission. More particularly, the three signal paths of prior-art transmitter 100 (consisting of six low-pass filters, six D/A converters, six mixers) have been replaced by a single signal path (comprising filters 321-323, D/A converters 325-327, and mixers 333). FIG. 4 is a block diagram of multi-mode receiver front end 400 in accordance with the preferred embodiment of the present invention. During operation, signal Y is transmitted in either a multi-carrier, or direct-spread format. For both formats, mixers 401 downconvert, and A/D converters 405 digitally convert the I and Q signal stream. In the preferred embodiment of the present invention switch 437 serves to route the I and Q digital stream based on the current mode of operation. In particular during direct-spread reception, switch 437 simply routes the digital stream to a receiver back end, without further processing. During multi-carrier reception, switch 437 routes the I and Q digital stream to signal extractors 431 and 433, as well as low-pass filter 435. In the preferred embodiment of the present invention signal extractors 431 and 433 comprise mixers 407-421 and summers 423-429. During operation the I digital stream is mixed with cos(*t) by mixers 407 and 415. Additionally the I digital stream is mixed with sin(*t) by mixers 413 and 421. Similarly, the Q digital stream is mixed with cos( » t) by mixers 411 and 419, and mixed with sin(*t) by mixers 409 and 417. The output from mixer 409 is subtracted from the output of mixer 407 by summer 423, and the outputs from mixers 411 and 413 are added by summer 425. Similarly, the output from mixer 421 is subtracted from the output of mixer 419 by summer 429, and the outputs from mixers 415 and 417 are added by summer 427. The outputs from summers 423-425 are filtered by filter 439, resulting in the I x and Q, components of the transmitted signal (Y). Similarly, the outputs from summers 427-429 are filtered by filters 443, resulting in the I 3 and Q 3 components of the transmitted signal (Y). The I 2 and Q 2 components of the transmitted signal (Y) are obtained by directing the I and Q digital stream through filters 441. The I], I , 1 3 , Qi, Q 2 , and Q 3 streams are directed to a receiver back end as shown in FIG. 5. FIG. 5 is a block diagram of multi-mode receiver back end 500 in accordance with the preferred embodiment of the present invention. During operation, switch 514 has a current receive mode as an input, and serves to direct the de-multiplexed multi-carrier path, or the direct-spread path to despreading circuitry 502. The I channel and Q channel spread sequence enters despreading circuitry 502 where it is descrambled by a pair of PN codes 524. In the preferred embodiment of the present invention, PN code 524 is held constant for three Walsh code periods during multi-carrier reception, and is varies at the symbol rate during direct-spread reception. More particularly, during multi-carrier reception, three consecutive Walsh codes share the same time-varying PN code, as if they were received simultaneously, while direct-spread reception varies the PN code with every Walsh code. The resulting despread signal is then provided to Walsh despreader 503. A current mode of operation is provided to Walsh despreader 503, and based on the current mode of operation, despreader 503 either varies a Walsh code at a symbol rate, or holds the Walsh code constant. During multi-carrier reception a first symbol within the data stream will be despread with a first Walsh code (or its inverse), while symbols immediately preceding and following the first symbol will be despread by a second, differing Walsh code (or its inverse). Additionally, in the preferred embodiment of the present invention during multi-carrier reception all Walsh codes utilized comprise 256 chips. During direct-spread reception, a single Walsh code (or its inverse) is utilized to despread all symbols within the data stream . In the preferred embodiment of the present invention, the Walsh code utilized for direct-spread reception comprises 64 chips. FIG. 6 is a flow chart illustrating operation of the transmitter of FIG. 2 and FIG. 3 in accordance with the preferred embodiment of the present invention. The logic flow begins at step 601 where it is determined if a current mode of operation is a multi-carrier mode of operation. In the preferred embodiment of the present invention, the current mode of operation can be either a direct-spread or a multi- carrier mode of operation. Next, data stream 210 is received by a first spreader (Walsh spreader 201) and is spread with a time-varying spreading code that varies at a symbol rate (step 603) when the transmitter is operating in a first mode of operation, otherwise data stream 210 is spread with a non varying spreading code (step 604). In particular, during multi-carrier operation data stream 210 is spread with a Walsh code that varies at a symbol rate when the transmitter is operating in a multi-carrier mode, and spread with a non-varying Walsh code when the transmitter is operating in a direct-spread mode of operation. Next, the spread data is further spread with a second spreading code (step 605) that is held constant for a plurality of symbols when operating in the first mode, otherwise the spread data is further spread with a third spreading code (step 606) that varies at the symbol rate. More particularly, the spread data is further spread with a PN code that is held constant for three symbol periods when operating in a multi-carrier mode, otherwise the spread data is further spread with a time-varying PN code that varies at the symbol rate. Continuing, at steps 607 and 608, a plurality of I and Q components. representative of signal 210 is received at receiver back end 300. If receiver back end 300 is operating in a direct-spread mode, the I and Q components are simply filtered and D/A converted (step 609). However, if receiver back end 300 is operating in a multi-carrier mode, then at step 610 multiple I and Q components are summed and subtracted from each other and mixed with sine and cosine functions, forming signals 318 and 320. In particular Ii is summed with I 3 by summer 301, Q 3 is subtracted from Qi by summer 303, Qi is added to Q 3 by summer 305, and I 3 is subtracted from I] by summer 307. The outputs of summers 301 and 305 enter mixers 309 and 313, respectively, where they are mixed by cos(*t). Similarly, the outputs of summers 303 and 307 enter mixers 311 and 315, respectively, where they are mixed by sin(*t). The output from mixers 309 and 311 enter summer 317 where they are summed along with the I 2 component, resulting in signal 318. The output from mixers 313 and 315 enter summer 319 where they are summed along with the Q 2 component, resulting in signal 320. Finally, at step 611 the two signals (signals 318 and 320) are filtered and D/A converted. FIG. 7 is a flow chart illustrating operation of the receiver of FIG. 4 and FIG. 5 in accordance with the preferred embodiment of the present invention. The logic flow begins at step 701 where it is determined if a current mode of operation is a multi-carrier mode of operation. In the preferred embodiment of the present invention, the current mode of operation can be either a direct-spread or a multi- carrier mode of operation. If, at step 701 it is determined that the current mode of operation is not a multi-carrier mode of operation, then the logic flow continues to step 705, otherwise the logic flow continues to step 703 where the I and Q streams are mixed with sine and cosine functions, summed, and subtracted from each other as described above with reference to FIG. 4. In particular, the I digital stream is mixed with cos(*t) by mixers 407 and 415. Additionally the I digital stream is mixed with sin(*t) by mixers 413 and 421. Similarly, the Q digital stream is mixed with cos(*t) by mixers 411 and 419, and mixed with sin(*t) by mixers 409 and 417. The output from mixer 409 is subtracted from the output of mixer 407 by summer 423, and the outputs from mixers 411 and 413 are added by summer 425. Similarly, the output from mixer 421 is subtracted from the output of mixer 419 by summer 429, and the outputs from mixers 415 and 417 are added by summer 427. The outputs from summers 423-425 are filtered by filter 439, resulting in the l x and Q : components of the transmitted signal (Y). Similarly, the outputs from summers 427-429 are filtered by filters 443, resulting in the I 3 and Q 3 components of the transmitted signal (Y). The I 2 and Q 2 components of the transmitted signal (Y) are obtained by directing the I and Q digital stream through filters 441. Continuing, based on the current mode of operation the I and Q data is then despread with a spreading code (step 707) that is held constant for a plurality of symbols when operating in the first mode, or the data is despread with a spreading code (step 705) that varies at the symbol rate. More particularly, the data is despread with a PN code that is held constant for three symbol periods when operating in a multi-carrier mode, otherwise the data is despread with a time- varying PN code that varies at the symbol rate. Based on the current mode of operation, the despread data is either further despread with a time-varying code that varies at a symbol rate (step 711) when the transmitter is operating in a first mode of operation, otherwise the data stream is further despread with a non varying spreading code (step 713). In particular, during multi-carrier operation despread data is further despread with a Walsh code that varies at a symbol rate when the receiver is operating in a multi-carrier mode, and further despread with a non-varying Walsh code when the receiver is operating in a direct-spread mode of operation. While the invention has been particularly shown and described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims: Claims 1. A method for spreading data m a spread-spectrum communication system, the method comprising the steps of: determining a current mode of operation; and spreading data with a time-varying spreading code that varies at a symbol rate when operating in a first mode of operation, otherwise spreading data with a non varying spreading code 2 The method of claim 1 further comprising the step of further spreading the data with a second spreading code that is held constant for a plurality of symbols when operating in the first mode, otherwise further spreading the data with a third spreading code that varies at the symbol rate. 3 The method of claim 1 further comprising the step of further spreading the data with a Pseudo-Noise (PN) code that is held constant for a plurality of symbols when operating in the first mode, otherwise further spreading the data with a PN code that varies at the symbol rate. 4 The method of claim 1 wherein the step of spreading data with the spreading code comprises the step of spreading data with a Walsh code that varies at a symbol rate when operating in a first mode of operation, otherwise spreading data with a non varying Walsh code 5 The method of claim 1 wherein the step of determining the current mode of operation comprises the step of determining if the current mode of operation is a direct-spread mode of operation or a multi-carrier mode of operation 6 An apparatus for spreading data in a spread-spectrum communication system the apparatus comprising a first spreader having a current mode of operation as an input and outputting spread data based on the current mode of operation, wherein the spread data is spread with a spreading code that varies at a symbol rate when operating in a first mode of operation, otherwise the spread data is spread with a non varying spreading code 7. The apparatus of claim 6 further comprising a second spreader having spread data as an input and outputting further spread data, wherein the further spread data is spread with a second spreading code that is held constant for a plurality of symbols when operating in the first mode, otherwise the further spread data is spread with a third spreading code that varies at the symbol rate. 8. The apparatus of claim 7 wherein the second spreader further spreads the spread data with a Pseudo-Noise (PN) code that is held constant for a plurality of symbols when operating in the first mode, otherwise varies at the symbol rate. 9. The apparatus of claim 6 wherein the first spreader spreads data with a Walsh code that varies at a symbol rate when operating in a first mode of operation, otherwise spreads data with a non varying Walsh code. 10. The apparatus of claim 6 wherein the current mode of operation comprises a direct-spread mode of operation or a multi-carrier mode of operation

Inventors: CORKE ROBERT JOHN, LUZ YUDA YEHUDA, ROTSTEIN RON, CORKE, ROBERT, JOHN, LUZ, YUDA, YEHUDA, ROTSTEIN, RON
Applicants: MOTOROLA INC, MOTOROLA INC.
Application year: 1999
Main classification: H04B15
IPC codes: H04B1, H04J11, H04L5, H04L27