This application relates to the field of communication technologies, and in particular, to a precoding method and an apparatus.
In a multi-antenna multi-user transmission system, to avoid impact on orthogonality between a plurality of users caused when a transmit power of an antenna exceeds a maximum value, a base station generally performs maximum transmit power normalization processing on transmit powers of a plurality of antennas by using a power-limited eigenvector beamforming (PEBF) algorithm. That is, initial transmit powers of the plurality of antennas are divided by a transmit power of an antenna with a largest transmit power in the plurality of antennas. In this way, transmit powers of all the antennas except the antenna with the largest transmit power are reduced, which reduces a power utilization of the antennas, and results in a problem of power waste.
This application provides a precoding method and an apparatus, to improve a power utilization of antennas.
According to a first aspect, an embodiment of this application provides a precoding method, including: determining a generalized inverse matrix Hm+ of a channel value matrix Hm of K users in an mth iteration in J iteration operations, where m=1, 2, . . . , and J, 1≤J≤M−K+1, J is an integer, and M is a quantity of antennas; selecting, from a set S1m-1 based on Hm, an antenna index nm and an update coefficient αm corresponding to nm, where S1m-1 is a set of n unselected in antenna indexes n of the M antennas until an (m−1)th iteration ends; determining a weight matrix Wm based on Hm+ and αm; and assigning a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm, where Wopt is used to adjust transmit powers of at least J of the M antennas to a preset maximum transmit power P after the J iteration operations end.
According to the precoding method provided in this application, Wopt obtained through the J iteration operations can adjust the transmit powers of the at least J of the M antennas to the preset maximum transmit power P, thereby improving a power utilization of the M antennas.
In an embodiment, a product of Hm and Wm is a diagonal matrix or approximates to a diagonal matrix.
In an embodiment, the obtained Wopt can ensure orthogonality between the plurality of users.
In an embodiment, the determining a weight matrix Wm based on Hm+ and αm includes: calculating Wm by using a formula Wm=Wm-1+αmHm+, where Wm-1 is a weight matrix used in the (m−1)th iteration.
In an embodiment, when m is greater than 2, the determining Hm+ of Hm of K users includes: calculating Hm+ by using a formula
where Hm-1+ represents a generalized inverse matrix of a channel value matrix Hm-1 of the K users in the (m−1)th iteration, and βn
In an embodiment, complexity of a plurality of large matrix inversions can be reduced.
In an embodiment, the determining Hm+ of a channel value matrix Hm includes: setting, to zero, a column that is in an initial channel value matrix H of the K users and that corresponds to an antenna index n selected until the (m−1)th iteration ends, to obtain Hm; and calculating Hm+ based on Hm.
In an embodiment, the selecting, from a set S1m-1 based on Hm, nm and an update coefficient αm corresponding to nm includes: substituting M−m+1 n in S1m-1 into a formula one by one:
and
determining n making a smallest |α| as an antenna index nm selected in the mth iteration process, and determining the smallest |α| as αm.
In an embodiment, when m=J, the assigning a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm includes: r(Wopt,S1M-J+1)=r(WJ,S1M-J+1).
In an embodiment, after the row that is in Wm and that corresponds to nm is assigned to the (nm)th row in the final weight matrix Wopt, the method further includes: deleting rows that are in Wm and Hm+ and that correspond to nm; and deleting a column that is in Hm and that corresponds to nm.
In an embodiment, a set S2m-1 is set, M−m+1 numbers a in S2m-1 are in a one-to-one correspondence with M−m+1 n in S1m-1, and the selecting, from a set S1m-1 based on Hm, nm and an update coefficient αm corresponding to nm includes: substituting the M−m+1 numbers a in the set S2m-1 into a formula one by one:
and
determining n that is in S1m-1 and that corresponding to a making a smallest |α| as an antenna index nm selected in the mth iteration process, and determining the smallest |α| as αm.
In an embodiment, when m=J, the assigning a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm includes: r(Wopt, S1M-J+1)=r(WJ, S2M-J+1).
In an embodiment, before the J iteration operations are performed, the method further includes: performing normalization processing on transmit powers of the M antennas to obtain an original precoding weight matrix; calculating a power utilization of the transmit powers of the M antennas based on the original precoding weight matrix; and when the power utilization is less than a preset threshold, performing the J iteration operations.
According to a second aspect, this application provides an apparatus. The apparatus may be a network device, or may be a chip in the network device. The apparatus has a function of implementing the method according to the first aspect. The function may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The hardware or the software includes one or more modules corresponding to the function. The apparatus may include a first weight calculation module, a data weighting module, a power decision module, a second weight calculation module, and the like.
In an embodiment, when the apparatus is a network device, the first weight calculation module, the data weighting module, the power decision module, and the second weight calculation module may be integrated into a processor of the network device. In an embodiment, the network device further includes a memory. When the network device includes a memory, the memory is configured to store computer execution instructions, the processor is connected to the memory, and the processor executes the computer execution instructions stored in the memory, to enable the network device to perform the method in the first aspect.
In an embodiment, when the apparatus is a chip in the network device, the first weight calculation module, the data weighting module, the power decision module, and the second weight calculation module may be integrated into a processor of the chip. In an embodiment, the chip further includes a memory. When the chip includes a memory, the memory is configured to store computer execution instructions, the processor is connected to the memory, and the processor executes the computer execution instructions stored in the memory, to enable the chip in the network device to perform the method in the first aspect. In an embodiment, the memory is a memory inside the chip, for example, a register or a buffer, or the memory may be a memory located inside the terminal but outside the chip, for example, a read-only memory (ROM) or another type of static storage device that can store static information and instructions, or a random access memory (RAM).
Specifically, the first weight calculation module is configured to determine a generalized inverse matrix Hm+ of a channel value matrix Hm of K users in an mth iteration in J iteration operations, where m=1, 2, . . . , and J, 1≤J≤M−K+1, J is an integer, and M is a quantity of antennas; select, from a set S1m-1 based on Hm+, an antenna index nm and an update coefficient αm corresponding to nm, where S1m-1 is a set of n unselected in antenna indexes n of the M antennas until an (m−1)th iteration ends; determine a weight matrix Wm based on Hm+ and αm; and assign a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm, where Wopt is used by the data weighting module to adjust transmit powers of at least J of the M antennas to a preset maximum transmit power P after the first weight calculation module completes the J iteration operations.
In an embodiment, a product of Hm and Wm is a diagonal matrix or approximates to a diagonal matrix.
In an embodiment, that the first weight calculation module determines a weight matrix Wm based on H and αm includes: calculating Wm by using a formula Wm=Wm-1+αmHm+, where Wm-1 is a weight matrix used in the (m−1)th iteration.
In an embodiment, when m is greater than 2, that the first weight calculation module determines Hm+ of Hm of K users includes: calculating Hm+ by using a formula
where Hm-1+ represents generalized inverse matrix of a channel value matrix Hm-1 of the K users in the (m−1)th iteration, and βn
In an embodiment, that the first weight calculation module determines Hm+ of a channel value matrix Hm includes: setting, to zero, a column that is in an initial channel value matrix H of the K users and that corresponds to an antenna index n selected until the (m−1)th iteration ends, to obtain Hm; and calculating Hm+ based on Hm.
In an embodiment, that the first weight calculation module selects, from a set S1m-1 based on Hm, nm and an update coefficient αm corresponding to nm includes: substituting M−m+1 n in S1m-1 into a formula one by one:
and
determining n making a smallest |α| as an antenna index nm selected in the mth iteration process, and determining the smallest |α| as αm.
In an embodiment, when m=J, that the first weight calculation module assigns a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm includes: r(Wopt,S1M-J+1)=r(WJ,S1M-J+1).
In an embodiment, the first weight calculation module is further configured to: after the row that is in Wm and that corresponds to nm is assigned to the (nm)th row in the final weight matrix Wopt, delete rows that are in Wm and Hm+ and that correspond to nm; and delete a column that is in Hm and that corresponds to nm.
In an embodiment, a set S2m-1 is set, M−m+1 numbers a in S2m-1 are in a one-to-one correspondence with M−m+1 n in S1m-1, and that the first weight calculation module selects, from a set S1m-1 based on Hm, nm and an update coefficient αm corresponding to nm includes: substituting the M−m+1 numbers a in the set S2m-1 into a formula one by one:
and
determining n that is in S1m-1 and that corresponding to a making a smallest |α| as an antenna index nm selected in the mth iteration process, and determining the smallest |α| as αm.
In an embodiment, when m=J, that the first weight calculation module assigns a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm includes: r(Wopt,S1M-J+1)=r(WJ,S2M-J+1).
In an embodiment, the apparatus further includes the second weight calculation module and the power decision module. The second weight calculation module is configured to: before the first weight calculation module performs the J iteration operations, perform normalization processing on transmit powers of the M antennas to obtain an original precoding weight matrix. The power decision module is configured to calculate a power utilization of the transmit powers of the M antennas based on the original precoding weight matrix calculated by the second weight calculation module. The first weight calculation module is configured to: when the power utilization calculated by the power decision module is less than a preset threshold, perform the J iteration operations.
For technical effects of the apparatus provided in this application, refer to technical effects of the first aspect or the implementations of the first aspect. Details are not described herein again.
The processor mentioned anywhere above may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to control program execution of the method in the second aspect.
According to a third aspect, an embodiment of this application provides a computer storage medium. The computer storage medium stores a program used to implement the method in the first aspect. When the program runs in a network device, the network device is enabled to perform the method in the first aspect.
According to a fourth aspect, an embodiment of this application provides a computer program product. The program product includes a program, and when the program is run, the method in the first aspect is performed.
First, words such as “example” or “for example” below are used to represent an example, an illustration, or a description. Any embodiment or design solution described as “example” or “for example” in embodiments of this application should not be interpreted as being more preferable or more advantageous than another implementation or design solution. Exactly, use of the terms such as “example” or “for example” is intended to present a related concept in a specific manner.
Unless otherwise stated, in this specification, “/” usually represents that associated objects before and after “/” are in an “or” relationship. For example, A/B may represent A or B. The term “and/or” describes only an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: Only A exists, both A and B exist, and only B exists. In addition, in descriptions of this application, “a plurality of” refers to two or more.
The precoding method provided in this application is applied to a network device having a multi-antenna transmission module. The network device can support a fourth generation (4G) access technology, such as a long term evolution (LTE) access technology, or support a fifth generation (5G) access technology, such as a new radio (NR) access technology, or support a plurality of wireless technologies, such as an LTE technology and an NR technology. In addition, the network device may also be applied to a future-oriented communication technology.
The network device may be a base station, for example, an evolved nodeB (eNB) in a communication system based on the 4G access technology, a next generation nodeB (gNB) in a communication system based on the 5G access technology, a transmission reception point (TRP), a relay node or an access point (AP).
The processor 101 in this embodiment of this application may include at least one of the following types: a general-purpose central processing unit (CPU), a digital signal processor (DSP), a microprocessor, an application-specific integrated circuit (ASIC), a microcontroller unit (MCU), a field programmable gate array (FPGA), or an integrated circuit configured to implement a logic operation. For example, the processor 101 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The at least one processor 101 may be integrated into one chip or located on a plurality of different chips.
The memory 102 in this embodiment of this application may include at least one of the following types: a read-only memory (ROM) or another type of static storage device that can store static information and instructions, a random access memory (RAM) or another type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM). In some scenarios, the memory may alternatively be a compact disc read-only memory (CD-ROM) or another compact disc storage medium, an optical disc storage medium (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, and the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be configured to carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer. However, the memory is not limited thereto.
The memory 102 may exist independently, and is connected to the processor 101. In an embodiment, the memory 102 and the processor 101 may be integrated, for example, integrated into one chip. The memory 102 can store program code for executing the technical solutions in the embodiments of this application, and the processor 101 controls execution of the program code. Various types of computer program code to be executed may also be considered as drivers of the processor 101. For example, the processor 101 is configured to execute the computer program code stored in the memory 102, to implement the technical solutions in the embodiments of this application.
The transceiver 103 may be configured to support receiving or sending of an air interface signal between network devices, and the transceiver 103 may be connected to a plurality of antennas 105. The transceiver 103 includes a transmitter Tx and a receiver Rx. Specifically, one or more antennas 105 may receive a radio frequency signal. The receiver Rx of the transceiver 103 is configured to: receive the air interface signal from the antenna, convert the air interface signal into a digital baseband signal or a digital intermediate frequency signal, and provide the digital baseband signal or the digital intermediate frequency signal to the processor 101, so that the processor 101 further processes the digital baseband signal or the digital intermediate frequency signal, for example, performs demodulating processing and decoding processing. In addition, the transmitter Tx in the transceiver 103 is further configured to: receive a modulated digital baseband signal or digital intermediate frequency signal from the processor 101, convert the modulated digital baseband signal or digital intermediate frequency signal into an air interface signal, and send the air interface signal through the one or more antennas 105.
In the precoding method provided in this application, for M (M≥1) antennas of a network device, transmit powers of J selected antennas can be adjusted to a maximum transmit power through J (1≤J≤M−K+1, where J is an integer) iteration operations, and it can be ensured that transmit powers of M-J unselected antennas do not exceed the maximum transmit power. In other words, according to the precoding method provided in this application, powers of at least J of the M antennas can reach a full power, thereby improving a power utilization.
The precoding method and the apparatus provided in this application are illustrated below with reference to specific embodiments.
It is assumed that a network device has M (M≥1, where M is an integer) antennas, and antenna indexes n are respectively configured for the M antennas. For example, the antenna indexes of the M antennas are respectively 0 to M−1 (n=0, 1, . . . , and M−1), 1 to M (n=1, 2, . . . , and M), or other continuous/discontinuous values. When a quantity of users for whom the M antennas are spatially multiplexed is K (K≥1, where K is an integer), a maximum of M−K+1 iteration operations may be performed based on the precoding method provided in this application.
Step 201: The network device determines a generalized inverse matrix Hm+ of a channel value matrix Hm of the K users.
In this application, the channel value matrix Hm required in the mth iteration process may be first calculated, and then Hm+ is calculated based on Hm.
In an embodiment, a column that is in an initial channel value matrix H of the K users and that corresponds to an antenna index n selected until an (m−1)th iteration ends is set to zero, to obtain Hm, and then Hm is inverted to calculate Hm+.
In this application, for each iteration operation, the network device selects an antenna, and calculates a corresponding weight, to adjust a transmit power of the antenna to a maximum transmit power. Therefore, to avoid impact of a weight calculated in a current iteration process on a transmit power of an antenna that has been selected, a channel value corresponding to the antenna that has been selected may be set to zero.
For example, assuming that the antenna indexes n of the M antennas are respectively 1 to M, a set S1 may be set to represent a set of unselected n. Before the J iteration operations are performed, S1={1, 2, . . . , M}. Each time an iteration is performed, a selected n is deleted from S1. Then, S1 until the (m−1)th iteration ends may be represented by S1m-1, to record n unselected in the antenna indexes n of the M antennas until the (m−1)th iteration ends.
Then, Hm may be calculated by using the following formula (1):
H
m
=H diag{x1,x2, . . . ,xM} (1)
where xn represents a coefficient corresponding to an antenna index n. In the mth iteration process, when n∉S1m-1, xn=0; when n∈S1m-1, xn=1. The formula (1) indicates that columns corresponding to m−1 antennas selected until the (m−1)th iteration ends are set to zero.
After Hm is calculated by using the formula (1) Hm+ may be calculated based on Hm.
In an embodiment, the network device may perform a column deletion operation when each iteration ends. For example, after the (m−1)th iteration operation ends, a column that is in Hm-1 and that corresponds to an antenna index nm-1 selected in the (m−1)th iteration is deleted to obtain Hm. Then, Hm+ is calculated based on Hm.
In an embodiment, the network device may alternatively use a matrix inversion lemma, and obtain Hm based on a generalized inverse matrix Hm-1+ of a channel value matrix of the K users that is obtained in the (m−1)th iteration. In this way, complexity of a plurality of large matrix inversions is reduced.
For example, based on a matrix inversion lemma shown in the following formula (2):
the following formula (3) may be obtained:
where Hm-1+ represents the generalized inverse matrix of the channel value matrix Hm-1 of the K users in the (m−1)th iteration, and βn
In the first iteration process, that is, when m=1, the network device may directly obtain a corresponding generalized inverse matrix by using the initial channel value matrix H. When m is greater than 2, the network device may directly substitute Hm-1+ and βn
Step 202: The network device selects, from a set S1m-1 based on Hm+, nm and an update coefficient αm corresponding to nm.
For example, when Hm+ is calculated in a zero setting manner, the network device may substitute M−m+1 n in Sm-1 into the following formula (4) and/or formula (5) one by one:
and
determine n making a smallest |α| as an antenna index nm selected in the mth iteration process, and determine the smallest |α| as αm, where Wm-1 is a weight matrix used in the (m−1)th iteration.
In this application, the selected antenna index indicates that an antenna indicated by the antenna index is selected.
Alternatively, when Hm+ is calculated in a row deletion manner, a set S2m-1 may be set, and M−m+1 numbers a in S2m-1 are in a one-to-one correspondence with M−m+1 n in S1m-1 The network device may substitute the M−m+1 numbers a in the set S2m-1 into the following formula (6) and/or formula (7) one by one:
and
determine n that is in S1m-1 and that corresponds to a making a smallest |α| as an antenna index nm selected in the mth iteration process, and determine the smallest |α| as αm.
Step 203: Determine a weight matrix Wm based on Hm+ and αm.
For example, the weight matrix used in the mth iteration may be calculated by using the weight matrix Wm-1 used in the (m−1)th iteration and Hm+. For example, Wm may be calculated by using the following formula (8):
W
m
=W
m-1+αmHm+ (8)
In this application, on one hand, Wm needs to ensure orthogonality between the plurality of users.
Assuming that an initial weight matrix W0 is a zero matrix, in the first iteration, W1=W0+α1H+=α1H+, in the second iteration, W2=W1+α2H2+, and so on. It can be learned that the weight matrix is related to the generalized inverse matrix of the channel value matrix, and is a row-full rank matrix.
Such a theorem exists: If there is a matrix A and A is a row-full rank L×Q(L≤Q), there is a matrix B that is a row-full rank L×Q (where L-Q columns are zero vectors), a non-zero column vector of the matrix B is a submatrix of A. In other words, a non-zero column vector of B is a subset of columns of A. Then, AB+=IL.
The following proof (9) may be obtained based on the theorem:
AB
+=[A]c,d[B+]d,e=[B]c,f[B+]f,e=BB+=IL (9)
Wm-1 and Hm+ meet the condition of the foregoing theorem, and therefore, based on the theorem and the proof (9), it can be learned that:
where r(Hm+, n) represents an nth row of Hm+, and r(Wm-1, n) represents an nth row of Wm-1.
Then, based on the formula (10A) and the formula (8), it can be learned that a product of Hm and Wm is a diagonal matrix or approximates to a diagonal matrix. That is, when i=j, [HmWm]i,j≠0; when i≠j, [HmWm]i,j is equal to 0 or approximates to 0. Therefore, the weight matrix Wm calculated in the mth iteration process can ensure the orthogonality between the plurality of users.
On the other hand, Wm needs to ensure that a transmit power of an antenna indicated by nm selected in the mth iteration process can be adjusted to a maximum transmit power P, and transmit powers of antennas indicated by remaining antenna indexes in S1m-1 other than nm are less than or equal to P.
That is, nm in S1m-1 makes ∥r(Wm-1, nm)∥2=P, and a remaining n in S1m-1 other than nm makes ∥r(Wm-1, n)∥2≤P.
Then, an equation (10B) may be obtained:
f
m,n(α)=∥r(Wm-1,n)+αr(Hm+,n)+α∥2−P (10B)
For the equation (10B), nm making fm,n(α)=0 may be found, and a remaining n in S1m-1 other than nm makes fm,n(α)≤0.
Based on the following solving process:
it can be learned that the equation (10B) is a convex function and has one or two solutions. Then, the equation 8 is converted into a binomial solution formula, to obtain a formula (11) (that is, the foregoing formula (4) and formula (5)):
In the formula (11), an absolute value of the second term of the numerator is always greater than the first term, and therefore, α has a positive solution and a negative solution.
Each n in S1m-1 is substituted into the formula (4), the formula (5), or the formula (4) and the formula (5) one by one, to obtain corresponding α. After each n and the corresponding α are substituted into the equation (10B), a function curve of an antenna corresponding to each n in S1m-1 may be obtained. For example, it is assumed that S1m-1 includes four n: n1, n2, n3, and n4. After corresponding α is obtained based on the formula (4) and/or the formula (5), n1, n2, n3, n4, and corresponding α are substituted into the equation (10B). Functions of antennas indicated by n1, n2, n3, and n4 are shown in
Based on
Therefore, based on the formula (8) and the methods for calculating αm and determining nm that are provided in this application, the calculated Wm can ensure that the transmit power of the antenna indicated by nm can be adjusted to the maximum power P, and the transmit powers of the antennas indicated by the remaining antenna indexes in S1m-1 other than nm are less than or equal to P.
Step 204: The network device assigns a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm.
Wopt is used to adjust the transmit powers of the M antennas after the J iteration operations end. In this application, the row that is in Wm and that corresponds to nm can adjust the transmit power of the antenna corresponding to nm to P. Therefore, the row that is in Wm and that corresponds to nm may be assigned to the row that is in Wopt and that corresponds to nm, to ensure that Wopt can adjust the transmit power of the antenna corresponding to nm to P.
Then, when the J iterations end, after the transmit powers of the M antennas are adjusted by using Wopt, transmit powers of antennas selected in the J iteration processes can be adjusted to P.
It may be understood that if Hm is calculated based on the formula (1), each time an iteration is performed, a column corresponding to a selected antenna in a channel value matrix is set to zero. Therefore, a corresponding row in a weight matrix calculated in a subsequent iteration process is also set to zero. Therefore, the weight matrix calculated in the subsequent iteration process does not affect a transmit power of the antenna that has been selected. In other words, the antenna selected in the (m−1)th iteration process before the mth iteration is still maintained at P.
In an embodiment, after each iteration ends, the network device may alternatively delete rows corresponding to a selected antenna in a weight matrix obtained in the current iterative calculation and a generalized inverse matrix of a channel value matrix, and delete a column corresponding to the selected antenna in the channel value matrix.
For example, after the mth iteration ends, a column that is in Hm and that corresponds to nm is deleted, and rows that are in Wm and Hm+ and that corresponds to nm are deleted, to avoid impact of a subsequent iteration process on the transmit power of the antenna indicated by nm. In addition, calculation complexity of the subsequent iteration process can be reduced.
WJ in a Jth iterative calculation can ensure that a transmit power of a selected antenna is adjusted to P, and transmit powers of unselected antennas are less than or equal to P. Therefore, the network device may directly assign a row that is in WJ and that corresponds to nJ selected in the Jth iterative calculation and rows corresponding to M-J n unselected until the J iterations to rows in Wopt one by one. In this way, after the transmit powers of the M antennas are adjusted by using Wopt, the transmit powers of the antennas selected in the J iteration processes can be adjusted to P, and transmit powers of M-J remaining unselected antennas are less than or equal to P.
Iteration operations of the precoding method provided in this application are illustrated below respectively with reference to the zero setting and row deletion manners by using J=3 as an example.
When the zero setting manner is used, three iterations are as follows:
S301. Initialize parameters:
S10=[1, . . . ,M],W0=[0,0, . . . ,0,0]∈CM×K, and H=[h1H;h2H; . . . ;hKH]
where h1 represents a channel or a channel feature vector of a first user, h2 represents a channel or a channel feature vector of a second user, . . . , and hK represents a channel or a channel feature vector of a Kth user. The antenna indexes n of the M antennas are respectively 1, 2, . . . , and M, respectively corresponding to a first row, a second row, . . . , and an Mth row of the initial weight matrix W0.
S302. Start the first iteration, and calculate H1+ of H1:
In the first iteration process, the initial channel value matrix H may be used as the channel value matrix H1 used in the first iteration, and then H1+ is directly calculated based on H1. For example, an inverse matrix U1=inv(H1*H1H) of H1 is calculated, and then H1+ is calculated by using H1+=H1H*U1.
S303. Search for n1 that is in S10 and that makes a smallest |α|, and α1:
A for loop may be used to substitute the M antenna indexes n in S10 into a formula
one by one, to obtain [α1, n1]=argmin(|α|min).
S304. Update a weight matrix.
A weight matrix W1=W0+α1H1+=α1H1+ in the first iteration is calculated, where W1∈CM×K.
A row that is in W1 and that corresponds to n1 (that is, an (n1)th row in W1) is assigned to a row that is in Wopt (Wopt∈CM×K) and that corresponds to n1 (that is, an (n1)th row in Wopt). That is, r(Wopt,n1)=r(W1,n1).
S305. Delete n1 from S10 to obtain S11, that is, S11 includes M−1 remaining antenna indexes other than n1.
S306. Start the second iteration, and calculate H2+ of H2:
H2 is calculated based on the formula (1). Because n1∉S11 and xn
Then, H2+ is calculated based on H2. For example, an inverse matrix U2=inv(H2*H2H) of H2 is calculated, and then H2+ is calculated by using H2+=H2H*U2.
S307. Search for n2 that is in S11 and that makes a smallest |α|, and α2:
The for loop may be used to substitute the M−1 n in S11 into the formula (4) and/or the formula (5) one by one, to obtain [α2, n2]=argmin(|α|min).
S308. Update the weight matrix.
A weight matrix W2=W1+α2H2+ in the second iteration is calculated, where W2∈CM×K.
A row that is in W2 and that corresponds to n2 (that is, an (n2)th row in W2) is assigned to a row that is in Wopt and that corresponds to n2 (that is, an (n2)th row in Wopt). That is, r(Wopt,n2)=r(W2,n2).
S309. Delete n2 from S11 to obtain S12, that is, S12 includes M−2 remaining antenna indexes other than n1 and n2.
S310. Start the third iteration, and calculate H3+ of H3:
H3 is calculated based on the formula (1). Because n1∉S11, xn
Then, H3+ is calculated based on H3. For example, an inverse matrix U3=inv(H3*H3H) of H3 is calculated, and then H3+ is calculated by using H3+=H3H*U3.
S311. Search for n3 that is in S12 and that makes a smallest |α|, and α3:
The for loop may be used to substitute the M−2 n in S12 into the formula (4) and/or the formula (5) one by one, to obtain [α3, n3]=argmin(|α|min).
S312. Update the weight matrix.
A weight matrix W3=W2+α3H3+ in the first iteration is calculated, where W3∈CM×K.
A row that is in W3 and that corresponds to each n in S12 is assigned to a row that is in Wopt and that corresponds to each n in S12. That is, r(Wopt, S12)=r(W3, S12).
S313. The iteration ends.
So far, the output Wopt can adjust transmit powers of antennas corresponding to the antenna indexes n1, n2, and n3 in the M antennas of the network device to the maximum transmit power, and ensure that transmit powers of the M−3 remaining antennas are less than or equal to the maximum transmit power.
When the row deletion manner is used, three iterations are as follows:
S401. Initialize parameters:
S10=[1, . . . , M],
S20=[1, . . . , M],
W0=[0,0, . . . ,0,0]∈CM×K, and
H=[h1H; h2H; . . . ; hKH]
where h1 represents a channel or a channel feature vector of a first user, h2 represents a channel or a channel feature vector of a second user, . . . , and hK represents a channel or a channel feature vector of a Kth user. The antenna indexes n of the M antennas are respectively 1, 2, . . . , and M, respectively corresponding to a first row, a second row, . . . , and an Mth row of the initial weight matrix W0. The set S20 of numbers a corresponding to the antenna indexes (or the rows of the weight matrix) is set. Initially, M numbers in S20 are in a one-to-one correspondence with the M antenna indexes in S10.
S402. Start the first iteration, and calculate H1+ of H1:
In the first iteration process, the initial channel value matrix H may be used as the channel value matrix H1 used in the first iteration, and then H1+ is directly calculated based on H1. For example, an inverse matrix U1=inv(H1*H1H) of H1 is calculated, and then H1+ is calculated by using H1+=H1H*U1.
S403. Determine n1 and α1.
A for loop may be used to substitute the M numbers a in S20 into a formula
one by one, to obtain [α1,a1]=argmin(|α|min). n1 that is in S10 and that corresponds to a1 in S20 is determined as a selected antenna index. For example, a1 is 3. Then, corresponding n1 is 3.
S404. Update a weight matrix.
A weight matrix W1=W0+α1H1+=α1H1+ in the first iteration is calculated, where W1∈CM×K.
An (a1)th row in W1 is assigned to a row that is in Wopt (Wopt∈CM×K) and that corresponds to n1 (that is, an (n1)th row in Wopt). That is, r(Wopt, n1)=r(W1, a1).
S405. Obtain a column that is in H1 and that corresponds to n1 (that is, an (a1)th column in H1), that is, g1=c(H1,a1); delete a row that is in W1 and that corresponds to n1 (that is, an (a1)th row in W1), delete a row that is in H1+ and that corresponds to n1 (that is, an (a1)th row in H1+), and delete a column that is in H1 and that corresponds to n1 (that is, an (a1)th column in H1, to obtain H2; delete n1 from S10 to obtain S11, that is, S11 includes M−1 remaining antenna indexes other than n1; and update S20 to S21[1, . . . , M−1]. 1, 2, . . . , and M−1 in S21 are in a one-to-one correspondence with the M−1 antenna indexes in S11.
For example, when M=5, S10=[1,2,3,4,5] and S20=[1,2,3,4,5]. Initially, a number 1 in S20 corresponds to an antenna index 1 in S10, a number 2 in S20 corresponds to an antenna index 2 in S10, . . . , and a number 5 in S20 corresponds to an antenna index 5 in S10.
Assuming that a1=3 is obtained through calculation in S403, it corresponds to the antenna index 3 in S10. That is, n1=3 is determined. Then, in S404, r(Wopt, 3)=r(W1, 3) is performed. In S405, g1=c (H1, 3), a row that is in W1 and that corresponds to the antenna index 3 (that is, a third row in W1) is deleted, a row that is in H1+ and that corresponds to the antenna index 3 (that is, a third row in H1+) is deleted, and a column that is in H1 and that corresponds to the antenna index 3 (that is, a third column in H1) is deleted, to obtain H2. 3 is deleted from S10 to obtain S11, that is, S11 includes four remaining antenna indexes other than 3. That is, S11=[1,2,4,5]. S20 is updated to S21=[1,2,3,4] In this case, the number 1 in S21 corresponds to the antenna index 1 in S11, the number 2 in S21 corresponds to the antenna index 2 in S11, the number 3 in S21 corresponds to the antenna index 4 in S12, and the number 4 in S21 corresponds to the antenna index 5 in S11.
It should be noted that, if the generalized inverse matrix of the channel value matrix is calculated by using the formula (3), the column that is in H1 and that corresponds to n1 needs to be obtained for preparation, and the column that is in H1 and that corresponds to n1 is deleted to obtain H2, as described in S405. If the channel value matrix is first calculated and then the generalized inverse matrix of the channel value matrix is calculated, the column that is in H1 and that corresponds to n1 does not need to be obtained, and the column that is in H1 and that corresponds to n1 is directly deleted to obtain H2.
S406. Start the second iteration, and calculate H2+ of H2:
H2+ is calculated based on the formula (3) by using H1+. For example, after H1+ and βn
For ease of the third iterative calculation, an intermediate parameter U2=U1+(U1*g1)*G1 may be calculated herein for preparation.
S407. Determine n2 and α2.
The for loop may be used to substitute the M−1 numbers a in S21 into the formula
one by one, to obtain [α2, a2]=argmin(|α|min). n2 that is in S11 and that corresponds to a2 in S21 is determined as a selected antenna index.
S408. Update the weight matrix.
A weight matrix W2=W1+α2H2+ in the second iteration is calculated, where W2∈CM-1×K.
An (a2)th row (a row corresponding to n2) in W2 is assigned to a row that is in Wopt (Wopt∈CM×K) and that corresponds to n2 (that is, an (n1)th row in Wopt). That is, r(Wopt, n2)=r(W2, a2).
S409. Obtain a column that is in H2 and that corresponds to n2 (that is, an (a2)th column in H2), that is, g2=c(H2, a2); delete a row that is in W2 and that corresponds to n2 (that is, an (a2)th row in W2), delete a row that is in H2+ and that corresponds to n2 (that is, an (a2)th row in H2+), and delete a column that is in H2 and that corresponds to n2 (that is, an (a2)th column in H2, to obtain H3; delete n2 from S11 to obtain S12, that is, S12 includes M−2 remaining antenna indexes other than n1 and n2; and update S21 to S22=[1, . . . , M−2]. 1, 2, . . . , and M−1 in S21 are in a one-to-one correspondence with the M−1 antenna indexes in S11.
For example, based on the foregoing example, a2=3 is obtained through calculation in S407. Then, it corresponds to the antenna index 4 in S11. That is, n2=4 is determined. Then, in S408, r(Wopt, 4)=r(W2, 3) is performed. In S409, g2=c(H2, 3) a row that is in W2 and that corresponds to the antenna index 4 (that is, a third row in W2) is deleted, a row that is in H2+ and that corresponds to the antenna index 4 (that is, a third row in H2+) is deleted, and a column that is in H2 and that corresponds to the antenna index 4 (that is, a third column in H2) is deleted, to obtain H3. 4 is deleted from S11 to obtain S12, that is, S12 includes three remaining antenna indexes other than 3 and 4. That is, S12=[1,2,5]. S21 is updated to S22=[1,2,3]. In this case, the number 1 in S22 corresponds to the antenna index 1 in S12, the number 2 in S22 corresponds to the antenna index 2 in S12, and the number 3 in S22 corresponds to the antenna index 5 in S12.
S410. Start the third iteration, and calculate H3+ of H3:
H3+ is Calculated based on the formula (3) by using H2+. For example, after H2+ and βn
S411. Determine n3 and α3.
The for loop may be used to substitute the M−2 numbers a in S22 into the formula
one by one, to obtain [α3, a3]=argmin(|α|min). n3 that is in S12 and that corresponds to a3 in S22 is determined as a selected antenna index.
S412. Update the weight matrix.
A weight matrix W3=W2+α3H3+ in the third iteration is calculated, where W3∈CM-2×K.
A row that is in W3 and that corresponds to each n in S12 is assigned to a row that is in Wopt (Wopt∈CM×K) and that corresponds to each n in S12. That is, r(Wopt,S12)=r(W3,S22).
S413. The iteration ends.
Based on the foregoing example, a3=2 is obtained through calculation in S411. Then, it corresponds to the antenna index 2 in S12. That is, n3=2 is determined. Then, in S412, r(Wopt,S12)=r(W3,S22) is performed, and based on a correspondence between S22 and S12, a first row in W3 is assigned to a first row in Wopt, a second row in W3 is assigned to a second row in Wopt, and a third row in W3 is assigned to a fifth row in Wopt.
So far, the output Wopt can adjust transmit powers of antennas with the antenna indexes 2, 3, and 4 in the M antennas of the network device to the maximum transmit power, and ensure that transmit powers of remaining antennas with the antenna indexes 1 and 5 are less than or equal to the maximum transmit power.
Step 401: The network device performs normalization processing on transmit powers of the M antennas to obtain an original precoding weight matrix.
For example, if the network device performs normalization processing on the transmit powers of the M antennas based on a conventional PEBF algorithm, the obtained original precoding weight matrix is a PEBF weight matrix.
Step 402: The network device calculates a power utilization of the transmit powers of the M antennas based on the original precoding weight matrix.
The network device calculates, based on the PEBF weight matrix, a sum of transmit powers finally used by the M antennas, and divides the sum by a sum (MP) of maximum transmit powers allowed to be used by the M antennas, to obtain the power utilization of the transmit powers of the M antennas.
For example, the power utilization η may be calculated by using the following formula (12):
where Wi,j,k,PEBF represents a complex value of an ith antenna at a kth layer of PEBF weights of a jth RB, NRB represents a quantity of RBs, and Nj,L represents a layer quantity of the jth RB.
Step 403: The network device determines whether the calculated power utilization is greater than a preset threshold THr.
Step 404: When η<THr, perform J iteration operations.
Step 405: When η≥THr, perform data weighting on the transmit powers of the M antennas by using the original weight matrix.
Based on the example, as shown in
It should be noted that a power utilization of antennas, a throughput of a cell, and a spectral efficiency gain of a system can be effectively improved by using the precoding provided in this application.
For example,
Referring to
The first weight calculation module 901 is configured to determine a generalized inverse matrix Hm+ of a channel value matrix Hm of K users in an mth iteration in J iteration operations, where m=1, 2, . . . , and J, 1≤J≤M−K+1, J is an integer, and M is a quantity of antennas; select, from a set S1m-1 based on Hm+, an antenna index nm and an update coefficient αm corresponding to nm, where S1m-1 is a set of n unselected in antenna indexes n of the M antennas until an (m−1)th iteration ends; determine a weight matrix Wm based on Hm+ and αm; and assign a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm, where Wopt is used by the data weighting module 902 to adjust transmit powers of at least J of the M antennas to a preset maximum transmit power P after the first weight calculation module 901 completes the J iteration operations.
In an embodiment, a product of Hm and Wm is a diagonal matrix or approximates to a diagonal matrix.
In an embodiment, that the first weight calculation module 901 determines a weight matrix Wm based on Hm+ and αm includes: calculating Wm by using a formula Wm=Wm-1+αmHm+, where Wm-1 is a weight matrix used in the (m−1)th iteration.
In an embodiment, when m is greater than 2, that the first weight calculation module 901 determines Hm+ of Hm of K users includes: calculating Hm+ by using a formula
where Hm-1+ represents a generalized inverse matrix of a channel value matrix Hm-1 of the K users in the (m−1)th iteration, and βn
In an embodiment, that the first weight calculation module 901 determines Hm+ of a channel value matrix Hm includes: setting, to zero, a column that is in an initial channel value matrix H of the K users and that corresponds to an antenna index n selected until the (m−1)th iteration ends, to obtain Hm; calculating Hm+ based on Hm.
In an embodiment, that the first weight calculation module 901 selects, from a set S1m-1 based on Hm, nm and an update coefficient αm corresponding to nm includes: substituting M−m+1 n in S1m-1 into a formula one by one:
and
determining n making a smallest |α| as an antenna index nm selected in the mth iteration process, and determining the smallest |α| as αm.
In an embodiment, when m=J, that the first weight calculation module 901 assigns a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm includes: r(Wopt,S1M-J+1)=r(WJ,S1M-J+1).
In an embodiment, the first weight calculation module 901 is further configured to: after the row that is in Wm and that corresponds to nm is assigned to the (nm)th row in the final weight matrix Wopt, delete rows that are in Wm and Hm+ and that correspond to nm; and delete a column that is in Hm and that corresponds to nm.
In an embodiment, a set S2m-1 is set, M−m+1 numbers a in S2m-1 are in a one-to-one correspondence with M−m+1 n in S1m-1, and that the first weight calculation module 901 selects, from a set S1m-1 based on Hm, nm and an update coefficient αm corresponding to nm includes:
substituting the M−m+1 numbers a in the set S2m-1 into a formula one by one:
and
determining n that is in S1m-1 and that corresponding to a making a smallest |α| as an antenna index nm selected in the mth iteration process, and determining the smallest |α| as αm.
In an embodiment, when m=J, that the first weight calculation module 901 assigns a row that is in Wm and that corresponds to nm to a row that is in a final weight matrix Wopt and that corresponds to nm includes: r(Wopt,S1M-J+1)=r(WJ,S2M-J+1.)
In an embodiment, as shown in
The apparatus may be the network device in the embodiments of this application, for example, may be the network device shown in
Alternatively, the apparatus may be a chip in the network device in the embodiments of this application. The first weight calculation module 901, the data weighting module 902, the second weight calculation module 903, and the power decision module 904 may be integrated into a processor in the chip.
An embodiment of this application further provides a computer-readable storage medium. The methods described in the foregoing embodiments may be all or partially implemented by using software, hardware, firmware, or any combination thereof. If the methods are implemented in the software, functions used as one or more instructions or code may be stored in the computer-readable medium or transmitted on the computer-readable medium. The computer-readable medium may include a computer storage medium and a communication medium, and may further include any medium that can transfer a computer program from one place to another. The storage medium may be any available medium accessible to a computer.
In an embodiment, the computer-readable medium may include a RAM, a ROM, an EEPROM, a CD-ROM or another optical disc storage, a magnetic disk storage or another magnetic storage device, or any other medium that can be configured to carry or store required program code in a form of an instruction or a data structure and that may be accessed by the computer. In addition, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies (such as infrared, radio, and microwave) are used to transmit software from a website, a server, or another remote source, the coaxial cable, the optical fiber cable, the twisted pair, the DSL, or the wireless technologies such as infrared, radio, and microwave are included in a definition of the medium. Magnetic disks and optical discs used in this specification include a compact disk (CD), a laser disk, an optical disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc. The magnetic disks usually magnetically reproduce data, and the optical discs optically reproduce data by using laser light. The foregoing combinations should also be included within the scope of the computer-readable medium.
An embodiment of this application further provides a computer program product. The methods described in the foregoing embodiments may be all or partially implemented by using software, hardware, firmware, or any combination thereof. When the methods are implemented in the software, the methods may be all or partially implemented in a form of the computer program product. The computer program product includes one or more computer instructions. When the foregoing computer program instructions are loaded and executed on a computer, the procedures or functions described in the foregoing method embodiments are all or partially generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, user equipment, or another programmable apparatus.
The objectives, technical solutions, and benefits of the present invention are further described in detail in the foregoing specific embodiments. It should be understood that the foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made based on the technical solutions of the present invention shall fall within the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201910567028.6 | Jun 2019 | CN | national |
This application is a continuation of International Application No. PCT/CN2020/091271, filed on May 20, 2020, which claims priority to Chinese Patent Application No. 201910567028.6, filed on Jun. 27, 2019. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/091271 | May 2020 | US |
Child | 17643997 | US |