1. Field of Invention
The invention relates to a spreading factor communication method and, in particular, to a spreading factor communication method that generates spreading codes.
2. Related Art
The rapid development of mobile phones all over the globe has spawned great advances in the wireless communication technology. The success of the widely used second generation (2G) mobile communication system nowadays does not only influence modern life, but also speeds up the development of the third generation (3G) mobile communication system. In the 3G wireless communications, important techniques include CDMA2000, the wideband-CDMA (W-CDMA) compatible with the 2.5G GSM network, and the China TD-SCDMA, all based upon the code division multiple access (CDMA).
However, people are not completely satisfied with the so-called 3G technology. With higher demands for wireless communications and to provide better services, many international manufacturers have started researches in more advanced techniques, called the beyond 3G techniques. These techniques will fix problems in the 3G system. For example, they will increase the usage efficiency of the frequency spectrum, the bandwidth of transmissions, the transmission speed. They will further have time vision duplex (TDD), global roaming, and higher service quality.
For example, the high speed and multirate properties in the 3G system are those beyond the reach of a 2G system. However, in order to have higher bit transmission ability, multicarrier modulation techniques have been proposed. This is because the multicarrier modulation techniques have the advantages of avoiding multipath attenuation and suppressing narrow column bandwidth interference. Incorporating the multicarrier modulation techniques into the CDMA technology is therefore an important part of the 3G wireless communications.
An issue that determines whether the beyond 3G wireless communication will be successful is how to effectively integrate the multicarrier modulation techniques with the original CDMA technology.
For example, in the spreading applications of one base station to multiple mobile stations, one mobile station has to use multiple spreading codes for encoding and decoding data in multiple carriers in order to have spreading data transmissions. In this case, to achieve the multirate transmission requirement, the base station has to allocate spreading codes of different lengths to mobile stations with different transmission speed needs or providing a mobile station with multiple spreading codes. To avoid interference among the spreading codes of different lengths, an ideal method is to let all mobile stations use spreading codes orthogonal to each other. Nonetheless, how to effectively allocate and transmit the spreading codes to the mobile stations determines the cost for constructing the whole communication system.
Since the communication bandwidth is very precious, directly transmitting spreading codes with a huge amount of data to the mobile stations during the communication process is very uneconomic. On the contrary, if all available spreading code tables, such as a whole code tree, are stored at the mobile stations, the cost of the equipment will increase, restricting its applications on the market.
In summary, how to find a spreading code generating and transmission method for the multicarrier and multirate CDMA system is a valuable work in the field.
An objective of the invention is to provide a multicarrier and multirate communication method that enables effective transmissions of spreading codes between the base station and mobile stations.
According to a preferred embodiment of the invention, the communication method is implemented on a CDMA multirate communication system and includes at least the following steps.
First, an index tag whose length determines a transmission rate is transmitted to several mobile stations. The mobile station constructs an index tag matrix according to the index tag. The index tag matrix is multiplied with a generating matrix to generate a spreading factor matrix. Each row of the index tag matrix corresponds to an associated row in the spreading factor matrix, while each row in the spreading factor matrix corresponds to a carrier. The spreading factor matrices are orthogonal to one another to prevent signal interference among the mobile stations. The mobile stations use the rows of the spreading factor matrix to decode spreading data on several carriers.
The index tags can be constructed according to the Gray code as nodes in a code tree. In other words, the base station only needs to transmit a Gray code to a mobile station for it to generate the corresponding index tag matrix accordingly. In an example of the Gray code tree construction, all mobile stations have the same generating matrix. One uses submatrices of the generating matrix for index tag matrices of different sizes because these generating matrices are merged into the same matrix.
Consequently, the invention has at least the following advantages. First, the base station can quickly transmit the spreading codes to mobile stations. At the same time, the mobile stations only need to store one generating matrix. Secondly, the disclosed device has a simple circuit. However, it supports the needs required by a multirate and multicarrier CDMA communication system. Moreover, the positions of index tags in the code tree help determining whether they will interfere with each other. Therefore, the base station can use a circuit to effectively allocate the spreading codes.
These and other features, aspects and advantages of the invention will become apparent by reference to the following description and accompanying drawings which are given by way of illustration only, and thus are not limitative of the invention, and wherein:
In the following paragraphs, we use a multirate and multicarrier CDMA communication system as an example to demonstrate features of the invention.
For example, if the bit to be transmitted to the mobile station A 102 is a (with the value of +1 or −1), the spreading code of it on the first carrier is (+1, −1). If the bit to be transmitted to the mobile station B 102 is b (with the value of +1 or −1), the spreading code of it on the first carrier is (+1, +1). The spreading factor in this example is 2. The chip code of a on the first carrier after spreading is (+a, −a); likewise, the chip code of b on the first carrier after spreading is (+b, +b). The sum of the chip codes of a and b is (a+b, −a+b). This is the spreading data sent out via the first carrier in a wireless method by the base station 100.
After the mobile station A 102 receives the spreading data from the first carrier, it is multiplied by the spreading code (+1, −1) characteristic of the mobile station A 102 to obtain a+b+a−b=2a. On the other hand, after the mobile station B 102 receives the spreading data from the first carrier, it is multiplied by the spreading code (+1, +1) characteristic of the mobile station B 102 to obtain a+b−a+b=2b. Therefore, even if data for different mobile stations 102 are in the air, each mobile station can readily restore the required data using the appropriate spreading code.
Analogously, if there are four spreading codes with low correlation coefficients, four mobile stations 102 can share the same bandwidth to transmit data a, b, c, and d without interfering with one another. If the four spreading codes are orthogonal to one another, the receiver will obtain respectively 4a, 4b, 4c, and 4d after decoding. However, a third party will obtain a random-like result with 4-dimensional interference due to the lack of the spreading codes. In other words, through careful selection of spreading codes, several mobile stations can share the same bandwidth for transmitting data. As long as the receiver has the corresponding spreading code, the data can be readily restored.
According to
To avoid signal interference among different mobile stations 102, the spreading codes sharing the same carrier are orthogonal to each other in the ideal situation. The smaller the spreading factor is (i.e. the shorter the length of the spreading code is), the faster transmission rate (e.g. for multimedia signal transmissions) it can support. On the other hand, the larger the spreading factor is (i.e. the longer the length of the spreading code is), the slower transmission rate (e.g. text signals) it can support.
In order to support multirate transmissions, mobile stations 102 using different transmission speeds are assigned with spreading codes of different lengths. Since the allocation of spreading codes of different lengths is relatively complicated, we use a code tree to organize them for more efficient spreading code allocation. We show how one construct a code tree as follows.
The generation of N×N 2-D orthogonal variable spreading codes AN×N(i)(iε{1, 2, . . . , N}) with a base N starts from two orthogonal matrices A2×2(1) and A2×2(2):
where N=2k, k is a positive integer, “+” represents “+1” and “−” represents “−1”.
The steps of generating 2-D orthogonal codes with N=22 (i.e. k=2) are schematically shown as follows:
where {circle around (X)} represents the Kronecker product of two matrices BM
Therefore, the 2-D orthogonal spreading code with a length of N=2k can be generally written as:
It should be pointed out that the A2×2(1) and A2×2(2) used above are only for the purpose of illustration. Any people skilled in the art can interchange or replace the columns and rows of A2×2(1) and A2×2(2). As long as the outlined recursive generation method is satisfied, the aforementioned properties will remain. For example, one can rewrite “+” and “−” of A2×2(1) and A2×2(2) by “−” and “+,” respectively. Moreover, the Kronecker product can be replaced by some other operation that can recursively generate the above-mentioned matrices.
The number of rows in the above spreading factor matrix is the number of carriers being used, the number of columns represents the spreading factor. The spreading factor needs not to be the same as the number of carriers. In the following, we show how one constructs the code tree in the case of M not equal to N.
The generation of M×N 2-D orthogonal variable spreading codes AM×N(i)(ε{1, 2, . . . , M}) with a base N can also start from the two orthogonal matrices A2×2(1) and A2×2(2) in (A01) and (A02):
where M=2k, N=2k+α, k and α are positive integers.
Using M=2 and N=21+α (α≧1), the roots (k=1) of 2-D orthogonal codes can be generated according to the recursive rules in Eqs. (A12) and (A13):
A2×2
A2×2
If 2k+1×2k+1 is replaced by 2k+1×2k+1+α, the recursive steps are very similar to Eqs. (A08) and (A09). Normally, A2
Of course, the above-mentioned A2×2(1) and A2×2(2) are for illustration purpose only. One can find other orthogonal matrices to replace A2×2(1) and A2×2(2). Through recursive relations, one can still obtain a code tree with the same effect.
In other words, these 2-D codes cannot be simultaneously used in the same channel. When a 2-D code is assigned, the others cannot be assigned as the mother codes or child codes of it. This ensures the orthogonality of the codes. If one arbitrarily assigns a larger spreading factor code to a mobile station that requires a lower speed, it will cause a problem for the assignment of smaller spreading factor codes. Suppose A8×8(2) is assigned to a mobile station, the child codes generated from A8×8(2), {A16×16(3), A16×16(4), A32×32(5), . . . , A32×32(8)}, cannot be assigned to the mobile stations in need of smaller speeds. Moreover, the mother codes of A8×8(2), {A2×2(1), A4×4(1)}, also cannot be assigned to mobile stations in need to higher speeds. That is, the number of codes that can be used by other mobile stations is not only determined by the assigned codes in the code tree, it is also determined by the relation among the mother and child codes of these assigned codes.
The above-mentioned code tree has no problem in construction and indeed satisfies the requirements of building a multirate and multicarrier CDMA communication system. However, if the whole code tree exists in the mobile stations 102, it will increase the cost in circuit designs. On the other hand, it also wastes precious bandwidths if one directly sends the required spreading codes to the mobile stations 102 each time.
In the method disclosed herein below, one only needs to store a generating matrix at the mobile stations 102, not the whole code tree. The spreading code assignment is achieved by simply transmitting the index tags to the mobile stations 102.
First, the index tags whose lengths indicate the required transmission rates, are transmitted to the corresponding mobile stations 102 (step 702). The mobile station 102 constructs an index tag matrix according to the received index tag (step 704). Afterwards, the mobile station uses the index tag matrix and an internal generating matrix to generate a spreading factor matrix (step 706). Each row of the index tag matrix corresponds to a row in the spreading factor matrix, each row of which corresponds to a carrier. The spreading factor matrices are orthogonal to each other. After completing the above steps, the mobile stations use the rows in the spreading factor matrix to decode data carried on several carriers (step 708).
In other words, the mobile stations 102 store only generating matrices in the method. When the base station 100 assigns the spreading codes to the mobile stations 102, there is no need to send the whole spreading factor matrix to the mobile stations 102. The spreading code assignment is achieved by sending an index tag.
Using the following means, one can map the index tags to the whole code tree. All the mobile stations 102 only need to keep a largest generating matrix because the generating matrices required for other levels of the code tree are submatrices of the largest generating matrix.
One way to construct the index tags is to use the Gray code series. The Gray code is a binary series whose adjacent numbers are only different by one bit. Basically, one set of Gray codes can be imagined as a Hamilton path of a super cube.
In
In the following, we explain how the index tags of the code tree correspond to the final spreading factor matrix. The roots of the code tree are 2-D orthogonal spreading codes with M=N. That is, the 2-D Walsh codes can be represented as:
where the subscript shows the matrix size, (0) and (1) are the indices of two codes in the first level. “0” and “1” in Eqs. (A14) and (A15) represent “+” and “−” of (A01) and (A02), respectively.
Through the correspondence means disclosed above, 00 in the first row of (A14) is marked as the Gray code 0 and 01 in the second row as 1. Likewise, 01 in the first row of (A15) is marked as the Gray code 1 and 00 in the second row as 0. Therefore, the index tag matrix of (A14) and (A15) are expressed as:
where the subscript is the first level. The superscript (0) and (1) are the indices of the two codes in the first level.
The code tree of 2-D orthogonal spreading codes can be marked with the corresponding index tag matrices or the 1-D Gray code index in order to show whether two codes have the relation of mother and child codes. As shown in
. . . are the Gray indices. The purpose of these codes is to determine whether the Gray code index of some code is the header of that of another code.
is the header of
and
Therefore, we know the 2-D orthogonal spreading code D4×4(1) is the mother code of D8×8 (2) and D8×8 (3). Moreover, one can find another method for generating the index tag matrix in
where Tk(0) and Tk+1(0) are the Gray index matrices of the 2-D orthogonal spreading codes with the Gray index tags in the k-th and (k+1)-th level being all 0. 02
For example, suppose one wants to obtain the Gray index matrix of the 2-D orthogonal spreading code with the Gray code indices
and
in the second level (k=2). First, T2(0) is obtained from T1(0). However,
We see that the Gray code indices of D4×4(0) and D4×4(1) are
and
respectively. These two tags differ by one bit, the second bit. Therefore, one can perform the binary complement operation on the second column of T2(0), obtaining the Gray index matrix D4×4(1).
We also see that the index tag of D4×4(2) is
which is different from that of D4×4(0),
by two bits. Therefore, one can perform the complement operation on T2(0). The result is the index tag matrix D4×4(2).
In each level, the index tag matrices differ for different index tags. In the example disclosed herein, one only need to determine the first index tag matrix on the left of each level. Other index tag matrices can be obtained by adding the index tags to the first index tag matrices. That is, each index tag has its own index tag matrix. Each row of the index tag matrix corresponds to the spreading code used in some carrier.
After obtaining the index tag matrices, a generating matrix is stored to rapidly obtain the spreading codes so that the index tag matrix multiplied by the generating matrix gives the spreading codes. In this example, the relation between the generating matrices of any two adjacent levels (k≧1) is
where Gk and Gk+1 are the generating matrices in the k-th and (k+1)-th levels.
The generating matrices of all the levels are recursively produced using (A22). That is, the generating matrix G2 of the second level is obtained from the generating matrix G1 of the first level. Likewise, the generating matrix G3 of the third level is obtained from the generating matrix G2 of the second level, and so on.
Up to now, we have explained how to generate the index tags, the index tag matrices, and the generating matrices. In the following, we explain to how use an actual circuit to accomplish the above ideas.
Suppose the block code of (N,K) represents a set of 2K code words of length N. Any linear code of (N,K) can be generated using a K×N generating matrix G. In the 1-D orthogonal spreading codes, the 2k codes in the k-th level are generated from the linear codes of (2k,k). This idea can be generalized to 2-D orthogonal spreading codes. Therefore, the j-th orthogonal spreading code in the k-th level can be generated using the following formula:
D2
That is,
where 0≦j≦2k−1, 0≦m≦2k−1, and 0≦n≦2k−1.
Suppose one wants to generate the 2-D Walsh code D4×4(0) with the Gray code tag
in the second level (k=2). First, the Gray index matrix T2(0) of D4×4(0) is obtained from T1(0) of D2×2(0) according to Eq. (A24). However,
Furthermore, (A24) is the generating matrix of the second level (k=2) Therefore, the Gray index matrix of the code multiplied by the generating matrix of the level gives the required 2-D Walsh code:
in the second level.
In
Besides, when the number of carriers is smaller than the spreading factor, i.e. M is not equal to N, the roots in the code tree (α=0) have to be changed in order for the encoder to generate the index tag matrices of all M≠N 2-D orthogonal variable spreading codes. The roots of the code tree (α≠0) can be obtained from the modified roots using (A12) and (A13). However, the above-mentioned construction method can still be used to generate all the 2-D orthogonal spreading codes in the code tree. The 2-D orthogonal spreading codes generated using this method can be correctly used as long as it is in a synchronous system.
For example, in the α=0 code tree, the original roots (A14) and (A15) can be changed to the 2-D orthogonal spreading codes in (A30) and (A31) as the new roots of the code tree. According to (A12) and (A13), we can obtain the roots (A32) and (A33) of the code tree (α=1).
Besides, the above-mentioned construction method can use the Kronecker products of (A32), (A33) and (A14), (A15) to generate the 4×8 2-D orthogonal spreading codes in the second level. The operation procedure is as follows:
Therefore, this construction method can be repeatedly used to generate all of the 8×16, 16×32, etc, 2-D orthogonal spreading codes in the third level, fourth level, etc. Thus, the index tag matrices of the M≠N 2-D orthogonal spreading codes can be generated using the encoder.
When using the encoder to generate M≠N 2-D orthogonal spreading codes (2×4, 2×8, 4×8, 4×16, etc), one has to know the index tag matrix associated with each code and the generating matrix of each level. The index tag matrix can be obtained using the index tag matrix of the above-mentioned 2-D Walsh code. That is, in order to obtain the index tag matrix of the M≠N 2-D orthogonal spreading code, one can extract the series in the odd row from the index tag matrix of the M=N 2-D Walsh code. The matrix thus formed is the index tag matrix of the corresponding 2-D orthogonal spreading code. For example, in the α=1 code tree, the 2×4 index tag matrix of the 2-D orthogonal spreading code can be obtained from the first row and the third row in the 4×4 index tag matrix of the 2-D Walsh code. The matrix thus formed is the 2×4 index tag matrix of the 2-D orthogonal spreading code. The 4×8 index tag matrix of the 2-D orthogonal spreading code can be obtained from the first, third, fifth, and seventh rows in the 8×8 index tag matrix of the 2-D Walsh code. The matrix thus formed is the 4×8 index tag matrix of the 2-D orthogonal spreading code. Following this reasoning, we obtain all the index tag matrices corresponding to the codes in the code tree. In the α=2 code tree, using the first and fifth rows of the 8×8 index tag matrix of the 2-D Walsh code we obtain the 2×8 index tag matrix of 2-D orthogonal spreading code. The 4×16 8×32, etc, index tag matrices of 2-D orthogonal spreading codes can be obtained using the same method. Moreover, one can also use the index tag matrices of roots (i.e. the 2×21+α 2-D orthogonal spreading codes) and Eq. (A38) or (A39) to obtain all the index tag matrices in the code tree.
where j is the index of 2-D orthogonal spreading codes with the range 0≦j≦2k−1.
The generating matrix has to be a matrix with a number of columns same as the code length of the 2-D orthogonal spreading codes to be generated. For example, to generate a 4×8 2-D orthogonal spreading code, one should use a 3×8 generating matrix for (A25).
in the second level (k=2), one simply multiplies the index tag matrix of the code with the generating matrix of the second level. The index tag matrix is
and the generating matrix of the level is
Therefore, the 2-D orthogonal spreading code is
While the invention has been described by way of example and in terms of the preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
93101079 A | Jan 2004 | TW | national |
This application is a Divisional patent application of application Ser. No. 10/859,136, filed on 3 Jun. 2004 now U.S. Pat. No. 7,450,491.
Number | Name | Date | Kind |
---|---|---|---|
7280467 | Smee et al. | Oct 2007 | B2 |
7593451 | Kwon et al. | Sep 2009 | B2 |
7764594 | Walton et al. | Jul 2010 | B2 |
20040240378 | Kei Ng et al. | Dec 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20080198812 A1 | Aug 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10859136 | Jun 2004 | US |
Child | 12068775 | US |