This application claims priority of and the benefit of Taiwan Application No. 110146504, filed on December 13th, 2021, the entirety of which is incorporated by reference herein.
The present invention is related to communication precoding method, and in particular it is related to a method and an electronic device for generating codebook based on a discrete cosine transform.
In the future, increased data traffic will pose a huge challenge to the existing terrestrial network. Satellite communication systems are expected to have the capability to provide high data rates by operating in high frequency bands, which will be much higher than the bands currently used by the existing terrestrial communications. Low earth orbit (LEO) satellite communications, with orbits at altitudes from 500 to 2000 km, have recently attracted interest from the research and industrial communities due to its lower latency, path loss, and production and launching costs compared to geostationary earth orbit (GEO) and medium earth orbit (MEO) satellite communications.
For a feeder link in the LEO communication systems (i.e. the communication link between a LEO satellite and a gateway on the earth), antenna arrays equipped at both the satellite and the earth station can help increase capacity without addition frequency resources, thereby substantially increasing spectral efficiency. Conventionally, with MIMO antenna arrays applied at the LEO satellite and gateway on the earth, the beamforming techniques can make the power of the signal focus on certain directions, which helps improve spectral efficiency.
However, fully digital beamforming needs dedicated baseband and RF hardware for each antenna element, which leads to high costs and high power consumption when the number of antennas is large. It is therefore of critical importance to design low-complexity transmitter/receiver beamforming methods, particularly in the energy-scarce satellite systems.
In order to resolve the issue described above, the present invention provides a method for generating a codebook based on a discrete cosine transform. The method is suitable for an electronic device with a plurality of antennas. The method includes generating an identity matrix, the size of the identity matrix is related to the number of antennas of the electronic device; inputting a plurality of column vectors of the identity matrix into a discrete cosine transform formula to calculate a plurality of codeword elements corresponding to the column vectors; generating a plurality of codewords corresponding to the column vectors, the codewords corresponding to the column vectors comprise the codeword elements corresponding to the column vectors; multiplying the codewords by a coefficient related to the number of antennas; determining whether the calculation of all the codewords has been completed; and completing the codebook.
According to the method above, the discrete cosine transform formula is:
N is the number of antennas of the electronic device; Xi,k is the i-th codeword element of the k-th codeword; k is the index of the codewords, k = 0, 1, 2, ..., N - 1; i is the index of the codeword elements in one of the codewords, i = 0,1, 2, ... , N - 1; xi,n is the element in the n-th column and i-th row of the identity matrix.
According to the method above, the coefficient related to the number of antennas is:
C is the coefficient, and N is the number of antennas of the electronic device.
According to the method above, the step of determining whether the calculation of all the codewords has been completed, includes: determining that the calculation of all the codewords has been completed when k is equal to N - 1 and the calculation for i = 0~N - 1 is completed.
According to the method above, the method further includes: using a matching algorithm to select a codeword in the codebook based on a discrete cosine transform; using the codeword to generate a radio frequency precoding matrix, wherein the codeword is used as a column vector of the radio frequency precoding matrix; encoding radio frequency signals transmitted by the antennas of the electronic device based on the radio frequency precoding matrix; and transmitting the radio frequency signals through the antennas of the electronic device.
According to the method above, the matching algorithm is an Orthogonal Matching Pursuit (OMP) algorithm.
According to the method above, the matching algorithm selects the codeword based on channel state information between the electronic device and another electronic device.
According to the method above, the method further includes: calculating the least square value of the codeword to generate a baseband precoding matrix, wherein the codeword after taking the least square value is used as a column vector of the baseband precoding matrix; and precoding baseband digital signals based on the baseband precoding matrix.
The present invention also provides an electronic device. The electronic device includes a plurality of antennas and a processor. The antennas are configured to transmit radio frequency signals. The processor is configured to execute the following steps: generating an identity matrix, the size of the identity matrix is related to the number of antennas of the electronic device; inputting a plurality of column vectors of the identity matrix into a discrete cosine transform formula to calculate a plurality of codeword elements corresponding to the column vectors; generating a plurality of codewords corresponding to the column vectors, the codewords corresponding to the column vectors comprise the codeword elements corresponding to the column vectors; multiplying the codewords by a coefficient related to the number of antennas; determining whether the calculation of all the codewords has been completed; and completing the codebook. The processor controls the antennas to transmit the radio frequency signals.
According to the electronic device above, the processor is configured to execute further including: using a matching algorithm to select a codeword in the codebook based on a discrete cosine transform; using the codeword to generate a radio frequency precoding matrix, the codeword is used as a column vector of the radio frequency precoding matrix; encoding radio frequency signals transmitted by the antennas of the electronic device based on the radio frequency precoding matrix; and transmitting the radio frequency signals through the antennas of the electronic device.
According to the electronic device above, the matching algorithm is an Orthogonal Matching Pursuit (OMP) algorithm.
According to the electronic device above, the matching algorithm selects the codeword based on channel state information between the electronic device and another electronic device.
According to the electronic device above, the processor is configured to execute further including: calculating the least square value of the codeword to generate a baseband precoding matrix, the codeword after taking the least square value is used as a column vector of the baseband precoding matrix; and precoding baseband digital signals based on the baseband precoding matrix.
According to the electronic device above, the discrete cosine transform formula is:
N is the number of antennas of the electronic device; Xi,k is the i-th codeword element of the k-th codeword; k is the index of the codewords, k = 0, 1, 2, ... , N - 1; i is the index of the codeword elements in one of the codewords, i = 0,1, 2, ... , N - 1; xi,n is the element in the n-th column and i-th row of the identity matrix.
According to the electronic device above, the coefficient related to the number of antennas is:
C is the coefficient, and N is the number of antennas of the electronic device.
According to the electronic device above, when k is equal to N - 1 and the processor has finished the calculation for i = 0~N - 1, the processor determines that the calculation of all the codewords has been completed.
The disclosure can be more fully understood by reading the subsequent detailed description with references made to the accompanying figures. It should be understood that the figures are not drawn to scale in accordance with standard practice in the industry. In fact, it is allowed to arbitrarily enlarge or reduce the size of components for clear illustration. This means that many special details, relationships and methods are disclosed to provide a complete understanding of the disclosure.
Certain words are used to refer to specific elements in the specification and the claims. Those with ordinary knowledge in the technical field should understand that hardware manufacturers may use different terms to refer to the same component. The specification and the claims of the present invention do not use differences in names as a way to distinguish elements, but use differences in functions of elements as a criterion for distinguishing. The “comprise” and “include” mentioned in the entire specification and the claims are open-ended terms, so they should be interpreted as “including but not limited to”. “Generally” means that within an acceptable error range, a person with ordinary knowledge in the technical field can solve the technical problem within a certain error range, and basically achieve the technical effect. In addition, the term “coupled” herein includes any direct and indirect electrical connection means. Therefore, if it is described in the text that a first device is coupled to a second device, it means that the first device can be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices or connecting means.
The following description is the best embodiment expected of the present invention. These descriptions are used to illustrate the general principles of the present invention and should not be used to limit the present invention. The protection scope of the present invention should be determined on the basis of referring to the scope of the claims of the present invention.
In some embodiments, when the electronic device applicable to the method of the present invention includes N*N antennas (for example, an array antenna), the size of the identity matrix in step S100 is also N*N. Then, in step S102, the method of the present invention inputs a plurality of column vectors of the identity matrix into a discrete cosine transform formula to calculate a plurality of codeword elements corresponding to the column vectors. In some embodiments, the discrete cosine transform formula can be expressed by the following formula 1 and formula 2.
In formulas 1 and 2, N is the number of antennas of the electronic device applicable to the method of the present invention; Xi,k is the i-th codeword element of the k-th codeword; k is the index of the codewords, k = 0, 1, 2, ... , N - 1; i is the index of the codeword elements in one of the codewords, i = 0,1, 2, ... , N - 1; xi,n is the element in the n-th column and i-th row of the identity matrix.
In table 1, w0, wk and wN-1 are 3 of N codewords in the codebook. For example, the codeword wk can be:
In formula 3,
are 4 codeword elements among N codeword elements included in the codeword wk. In other words, in step S102, the method of the present invention can obtain the codeword elements corresponding to each codeword in the codebook according to formula 1 and formula 2, and obtain each codewords in the codebook in step S104. In some embodiments, the codeword w0 corresponds to the column vector of the first column of the identity matrix in step S100, and the codeword wk corresponds to the column vector of the (k+1)-th column of the identity matrix in step S100. Similarly, in the codeword wk, referring to formula 3, the codeword element ½ corresponds to the first element in the column vector of the (k+1)-th column of the identity matrix in step S100. The codeword element cos
corresponds to the second element in the column vector of the (k+1)-th column of the identity matrix in step S100, and so on.
Then, in step S106, the method of the present invention multiplies the codewords (for example, the codewords w0, wk and wN-1 in table 1) by a coefficient related to the number of antennas, such as a coefficient C, as shown in formula 4.
After that, in step S108, the method of present invention determines whether the calculation of all the codewords has been completed. In some embodiments, the method of the present invention determines that the calculation of all the codewords has been completed when k is equal to N - 1(that is, the calculation for k=0~N has been finished) and the calculation for i = 0~N - 1 is completed. Then, the method of the present invention approaches to step S110 to obtain the codebook as shown in table 1. When the method of the present invention determines that the calculation of all codewords has not been completed in step S108, the method of the present invention returns to step S102 to continue the calculation of the codeword elements.
After obtaining the codebook as shown in table 1, the method of the present invention further uses the obtained codebook to perform the following steps: using a matching algorithm to select a codeword in the codebook based on a discrete cosine transform; using the codeword to generate a radio frequency precoding matrix, the codeword is used as a column vector of the radio frequency precoding matrix; and transmitting the radio frequency signals through the antennas of the electronic device. In some embodiments, the matching algorithm is an Orthogonal Matching Pursuit (OMP) algorithm, but the present invention is not limited thereto. In some embodiments, the matching algorithm selects the codeword from the codebook obtained by the method of the present invention based on channel state information between the electronic device and another electronic device.
After obtaining the codebook as shown in table 1, the method of the present invention further uses the obtained codebook to perform the following steps: calculating the least square value of the codeword to generate a baseband precoding matrix, the codeword after taking the least square value is used as a column vector of the baseband precoding matrix; and precoding baseband digital signals based on the baseband precoding matrix.
In some embodiments, the processor 202 executes the calculations of formula 1 and formula 2 to obtain the codeword elements corresponding to the column vectors of the identity matrix. The processor 202 executes the calculation of formula 4 to obtain all the codewords included in the codebook 210. After the processor 202 obtains the codebook 210, then the processor 202 executes a matching algorithm to complete the functions of codeword matching 216 and taking the least square value 218. In some embodiments, the matching algorithm executed by the processor 202 is an Orthogonal Matching Pursuit (OMP) algorithm, but the present invention is not limited thereto. In some embodiments, the processor 202 executes the orthogonal matching pursuit algorithm 214 to select a codeword (that is, the function block of the codeword matching 216) in the codebook 210 based on the discrete cosine transform. Then, the processor 202 uses the selected codeword to generate a radio frequency precoding matrix 220. In some embodiments, the selected codeword is used as the column vector of the radio frequency precoding matrix 220.
In some embodiments, the orthogonal matching pursuit algorithm 214 selects the codeword based on channel state information 212 between the electronic device 200 and another electronic device (not shown). Then, the processor 202 encodes the radio frequency signals transmitted by the antennas 204 of the electronic device 200 based on the radio frequency precoding matrix 220 (that is, the function block of the radio frequency precoding 224). The processor 202 finally transmits the radio frequency signals to another electronic device through the antennas 204 of the electronic device 200. In some embodiments, the processor 202 further calculates the least square value of the selected codeword (that is, the function block of the least square 218) to generate a baseband precoding matrix 222. The codeword after taking the least square is used as the column vector of the baseband precoding matrix 222. After that, the processor 202 pre-codes the baseband digital signal based on the baseband precoding matrix 222 (that is, the function block of the base band digital precoding 226).
In some embodiments, the processor 202 performs the function of baseband digital precoding 226 on Ns baseband data streams (BB data streams). The baseband data streams after the baseband digital precoding 226 is distributed to the NTRF radio frequency links. Each of the radio frequency links includes a digital-to-analog converter 228 and a radio frequency processing circuit 230. The digital-to-analog convertor 228 can convert the baseband data stream into an analog signal, and the analog signal is filtered or amplified by the radio frequency processing circuit 230. Finally, the analog signal enters the function block of the radio frequency precoding 224, and is output by the antennas 204 after the analog precoding. In some embodiments, the electronic device 200 includes NT antennas 204 for transmitting the analog signal after the analog precoding to another electronic device.
When the electronic device 300 and the electronic device 302 both use MIMO system antennas, and the electronic device 300 pre-codes one data stream according to the existing codebook based on Discrete Fourier Transform (DFT), the relationship between the spectrum efficiency and SNR from the line segment 404 can be obtained. When the electronic device 300 and the electronic device 302 both use MIMO system antennas, and the electronic device 300 pre-codes two data streams according to the existing codebook based on DFT, the relationship between the spectrum efficiency and SNR from the line segment 406 can be obtained. When the electronic device 300 and the electronic device 302 both use MIMO system antennas, and the electronic device 300 pre-codes one data stream according to the existing codebook based on array response vectors, the relationship between the spectrum efficiency and SNR from the line segment 408 can be obtained. When the electronic device 300 and the electronic device 302 both use MIMO system antennas, and the electronic device 300 pre-codes two data streams according to the existing codebook based on array response vectors, the relationship between the spectrum efficiency and SNR from the line segment 410 can be obtained. When the electronic device 300 and the electronic device 302 both use single input a single output (SISO) system antenna, and the data stream is pre-coded according to the existing noise channel side code theorem, the relationship between the spectrum efficiency and SNR from the line segment 412 can be obtained. In the embodiment of
As shown in
As shown in
The method and electronic device of the present invention effectively generate a new codebook for the precoder. A set of orthogonal codewords based on DCT is designed in the codebook, so that when the OMP algorithm is used to search for codewords, the number of matrix multiplications can be greatly reduced, and better spectrum efficiency can be achieved than using existing methods.
In the several embodiments provided by the present invention, it should be understood that the disclosed system, device, and method can be implemented using other methods. The device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation. For example, multiple units or elements can be combined or integrated into another system, or some features may be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communicative connecting may be indirect coupling or communicatively connecting through some interfaces, device or units, and may be in electrical, mechanical, or other forms.
In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized either in the form of hardware or in the form of a software functional unit.
Although the present invention is disclosed above in the preferred embodiment, it is not intended to limit the scope of the present invention. Anyone with ordinary knowledge in the relevant technical field can make changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
110146504 | Dec 2021 | TW | national |