Cooperative wireless network sub-channel power distribution method based on wireless energy collection
Technical Field
The present invention relates to a power allocation technology in a wireless network, and in particular, to a method for allocating power of a sub-channel of a cooperative wireless network based on wireless energy collection.
Background
With the rapid development of wireless communication technology, the problem of limited energy of wireless networks has become a challenge in limiting the development of wireless communication technology. Aiming at the problem of limited energy of a wireless network, two main ideas are mainly available in the industry at present, wherein the first is to use a battery with larger capacity, and the method is limited by the shape and the size of the battery; another is to introduce wireless energy harvesting techniques to address the problem of wireless network energy starvation. In recent years, wireless energy harvesting has been on the history arena, and unlike traditional battery-driven communication systems, wireless networks can harvest energy from the environment, such as solar, wind, tidal, etc., through wireless energy harvesting techniques. However, these energy acquisitions are greatly affected by geographical and weather factors and have unstable characteristics, so wireless energy harvesting from reliable radio frequency signals is of increasing interest. Meanwhile, as wireless communication devices have exploded, demands for network throughput by various wireless network systems have increased. And many users may experience low quality service performance due to channel loss such as path loss, shadowing, and small scale fading.
In order to solve these problems, a method for allocating power of a sub-channel is proposed in article Cooperative Resource Allocation in Cognitive Radio Networks With Wireless Powered Primary Users (cooperative resource allocation of cognitive radio network with wireless powered primary user) published in journal IEEE Wireless Communications Letters by Ding Xu et al, 10, in which the entire communication time slot is divided into two sub-time slots, and in the first sub-time slot, the entire power of the cooperative user is allocated to one sub-channel for communication, while an energy collecting user collects energy from radio frequency signals of the cooperative user; in the second sub-slot, the cooperating user and the energy harvesting user communicate simultaneously. The method has higher complexity because the time length of the two sub-time slots is optimized through a one-dimensional search algorithm; at the same time, the method allocates all power of the cooperative user to one subchannel in the first sub-slot, which reduces throughput of the cooperative user.
Disclosure of Invention
The invention aims to provide a cooperative wireless network sub-channel power distribution method based on wireless energy collection, which can solve the problem of limited energy of a wireless network without sustainable energy sources, and can efficiently distribute resources of channels and energy so as to achieve the aim of maximizing throughput of cooperative users and reduce computational complexity.
The technical scheme adopted for solving the technical problems is as follows: a method for cooperative wireless network subchannel power allocation based on wireless energy harvesting, comprising the steps of:
step 1, in a cooperative wireless network, a cooperative user and an energy collection user exist, wherein the cooperative user consists of a cooperative user transmitter and a cooperative user receiver, and the energy collection user consists of an energy collection user transmitter and an energy collection user receiver; the bandwidth of the total channel of the cooperative wireless network is marked as B, and the time length of one time slot of the cooperative wireless network is marked as tau; the total channel is then divided equally into N sub-channels, each sub-channel having a bandwidth ofThe noise power spectral density of the total channel and the sub-channel is recorded as n 0 The method comprises the steps of carrying out a first treatment on the surface of the Dividing the time slot into two sub-time slots, and recording the time length of the 1 st sub-time slot as tau 1 The time length of the 2 nd sub-slot is denoted as tau 2 Satisfy τ=τ 1 +τ 2 The method comprises the steps of carrying out a first treatment on the surface of the In the 1 st sub-time slot, the cooperative user transmitter and the cooperative user receiver communicate through a sub-channel, and the energy collecting user transmitter collects energy from the radio frequency signal transmitted by the cooperative user transmitter; in the 2 nd sub time slot, the cooperative user transmitter and the cooperative user receiver communicate through a sub channel, and meanwhile, the energy collection user transmitter and the energy collection user receiver communicate through a sub channel, and the sub channel used for communication by the cooperative user is different from the sub channel used for communication by the energy collection user; wherein B is in Hz, τ is in seconds, N is a positive integer, n=2 k K is a positive integer greater than or equal to 1, ">In Hz, n 0 In dBm/Hz, τ 1 ∈[0.3τ,0.5τ],τ 1 And τ 2 In seconds;
step 2, orderA set of sequence numbers representing subchannels allocated to the energy-harvesting users for communication in the 2 nd sub-slot; then initialize +.>Make->The initial value of (1, 2, …, N);
step 3, meeting the minimum throughput of the energy collection userUnder the condition of (1) calculating the minimum energy used by the energy harvesting user transmitter when the sequence number belongs to +.>The transmission power allocated to each sub-channel in (1) is set so that the number of the ith sub-channel is +.>The transmit power allocated on the ith sub-channel when the energy harvesting user transmitter uses the minimum energy is recorded as +.> Wherein i is a positive integer, "> e is natural logarithm, M E Representation->The total number of elements contained in the composition, sign "||"for absolute value sign>Representing channel coefficients on an ith sub-channel when communicating between the energy harvesting user transmitter and the energy harvesting user receiver;
step 4, based on the step 3, judging that the serial number belongs to when the energy collection user transmitter uses the minimum energyIf the transmission power allocated to each sub-channel is not less than zero, executing step 5; otherwise, find the sub-channel corresponding to the transmission power less than zero, then the serial number of the sub-channel is found from +.>And (3) returning to the step (3) to continue execution;
step 5, at minimum throughput of satisfying energy harvesting usersUnder the condition of (2), calculating the minimum energy required by the energy collection user, denoted as E min ,/>
Step 6, orderA set of sequence numbers indicating subchannels allocated to the cooperative users for communication in the 1 st sub-slot; then initialize +.>Make->The initial value of (1, 2, …, N);
step 7, calculating as collaboration userThe transmission power allocated by the transmitter on each sub-channel in the 1 st sub-slot is recorded as the transmission power allocated by the transmitter on the i' th sub-channel in the 1 st sub-slot for the cooperative userIf the sequence number of the ith sub-channel belongs to +.>Then->If the sequence number of the ith sub-channel does not belong to +.>Then->Wherein i 'is a positive integer, i' is {1,2, …, N }, p C,max Representing the maximum allowed transmit power of the cooperating user transmitter,/->M C1 Representation->Total number of elements contained in +.>Representing channel coefficients on the i' th sub-channel when communicating between the cooperating user transmitter and the cooperating user receiver in the 1 st sub-slot;
step 8, based on the step 7, judging that the sequence number of the cooperative user transmitter in the 1 st sub-time slot belongs toWhether the transmission power distributed on each sub-channel is not less than zero, if yes, executing step 9; otherwise, find the hair less than zeroSub-channels corresponding to the radio power, and then the serial numbers of the sub-channels are found out from +.>And (3) returning to the step (7) to continue execution;
step 9, calculating the energy collected by the energy collection user transmitter, which is marked as E h ,Wherein ζ represents the energy harvesting efficiency of the energy harvesting user transmitter, +.>Representing channel coefficients between the cooperating user transmitter and the energy harvesting user transmitter on the ith' sub-channel;
step 10, judging E h Whether or not to be not less than E min If yes, go to step 12; otherwise, executing the step 11;
step 11, from the transmitter for the cooperative user in the 1 st sub-slot in sequence numberFinding out the minimum transmitting power from the transmitting power distributed on each sub-channel; then from->Finding out the channel coefficient with the largest absolute value; then the minimum transmitting power is reassigned to the sub-channel corresponding to the channel coefficient with the largest absolute value, so that the transmitting power assigned to the cooperative user transmitter on the sub-channel corresponding to the minimum transmitting power in the 1 st sub-time slot is 0, and the transmitting power assigned to the cooperative user transmitter on the sub-channel corresponding to the channel coefficient with the largest absolute value in the 1 st sub-time slot is the transmitting power originally assigned plus the minimum transmitting power, and when the sequence number of the sub-channel corresponding to the channel coefficient with the largest absolute value does not belong to->The sequence number is added to +.>In (a) and (b); returning to the step 9 to continue execution; wherein j is a positive integer, j is more than or equal to 1 and less than or equal to N,>representing the channel coefficient between the cooperating user transmitter and the energy harvesting user transmitter on sub-channel 1,/and>representing the channel coefficients on the j-th sub-channel between the cooperating user-transmitter and the energy-harvesting user-transmitter,representing channel coefficients between the cooperating user transmitter and the energy harvesting user transmitter on an nth sub-channel;
step 12, orderA set of sequence numbers representing subchannels allocated to the cooperative users for communication in the 2 nd sub-slot; then initialize +.>Make->The initial value of (1, 2, …, N);
step 13, calculating that the cooperative user transmitter belongs to the sequence number in the 2 nd sub-time slotThe transmission power allocated to each sub-channel in the system is set to be the i' th sub-channel sequence number belonging to +.>The transmit power allocated on the ith "subchannel in the 2 nd sub-slot for the cooperating user transmitter is recorded as +.> Wherein i' is a positive integer, ++>M C2 Representation->Total number of elements contained in +.>Representing channel coefficients on an i "th sub-channel when communicating between the cooperating user transmitter and the cooperating user receiver in a 2 nd sub-slot;
step 14, based on step 13, determining that the sequence number of the cooperative user transmitter in the 2 nd sub-slot belongs toWhether the transmission power allocated on each sub-channel is not less than zero at all, if yes, executing step 15; otherwise, find the sub-channel corresponding to the transmission power less than zero, then the serial number of the sub-channel is found from +.>The step (3) is carried out again after the deletion;
step 15, calculating the transmitting power of the energy collecting user transmitter, which is denoted as p EH ,
Step 16, reinitializationMake->The initial value of (1, 2, …, N) is to remove all the parts belonging to +.>A set of elements remaining after the element in (a);
step 17, calculating that the energy-harvesting user transmitter belongs to the sequence number in the 2 nd sub-slotThe transmission power allocated on each sub-channel in (a) is set to be the ith * The sequence number of the sub-channel belongs to->The user transmitter will collect energy in the 2 nd sub-slot in the i < th ] * The allocated transmit power on the sub-channel is denoted +.> Wherein i is * Is a positive integer> Representing communication between an energy harvesting user transmitter and an energy harvesting user receiver at an ith * Channel coefficients on the sub-channels;
step 18, based on step 17, determining that the energy-harvesting user transmitter belongs to the 2 nd sub-slot in sequence numberEach sub-channel in (a)Whether the transmission power allocated on the upper part is not less than zero, if yes, executing step 19; otherwise, find the sub-channel corresponding to the transmission power less than zero, then the serial number of the sub-channel is found from +.>The step 17 is returned to for continuous execution;
step 19, based on step 18, calculating the actual throughput of the energy harvesting user, denoted R EHU ,
Step 20, judging R EHU Whether or not to be greater than or equal toIf yes, completing the transmission power distribution of the cooperative user transmitters on the sub-channels used for communication by the cooperative users in the 1 st sub-time slot, the transmission power distribution of the cooperative user transmitters on the sub-channels used for communication by the cooperative users in the 2 nd sub-time slot, the transmission power distribution of the energy collecting user transmitters on the sub-channels used for communication by the energy collecting users in the 2 nd sub-time slot, and ending; otherwise, go to step 21;
step 21, communicating between the energy harvesting user transmitter and the energy harvesting user receiver when the sequence number belongs toFinding out the channel coefficient with the largest absolute value from the channel coefficients on each sub-channel; then the serial number of the sub-channel corresponding to the channel coefficient with the largest absolute value is increased from +.>Middle move to +.>In (a) and (b); and returning to the step 13 to continue execution.
Compared with the prior art, the invention has the advantages that:
1) In the 1 st sub time slot, the cooperative user utilizes a plurality of sub channels to carry out effective resource allocation, so that the method can lead the cooperative user to achieve higher throughput under the same condition.
2) The method of the invention fixes the time length of the two sub time slots, and the time length of the 1 st sub time slot can select any time length value in the range of [0.3 tau, 0.5 tau ], and the time length of the two sub time slots is not required to be optimized by utilizing a one-dimensional search algorithm, thus having lower calculation complexity.
3) In the cooperative wireless network based on the wireless energy collection technology, the method of the invention ensures that the throughput of the cooperative user is maximized by distributing the sub-channels and the power to the energy collection user and the cooperative user in different sub-time slots, and meanwhile, the energy collection user obtains the energy for communication by itself through the wireless energy collection technology, thereby solving the problem of limited energy of the energy collection user.
Drawings
FIG. 1 is a schematic diagram of a cooperative wireless network based on wireless energy harvesting technology;
FIG. 2 is a flow chart of the method of the present invention;
fig. 3 is a graph comparing performance curves of throughput of cooperating users as a function of energy harvesting efficiency of an energy harvesting user transmitter using the method of the present invention and the method proposed by Ding Xu et al, respectively.
Detailed Description
The invention is described in further detail below with reference to the embodiments of the drawings.
The invention provides a cooperative wireless network sub-channel power distribution method based on wireless energy collection, wherein fig. 1 shows a cooperative wireless network based on a wireless energy collection technology, and fig. 2 shows a flow block diagram of the method, and the method comprises the following steps:
step 1, in a cooperative wireless network, a cooperative user and an energy collection user exist, wherein the cooperative user consists of a cooperative user transmitter and a cooperative user receiver, and the energy collection user consists ofAn energy harvesting user transmitter and an energy harvesting user receiver; the bandwidth of the total channel of the cooperative wireless network is marked as B, and the time length of one time slot of the cooperative wireless network is marked as tau; the total channel is then divided equally into N sub-channels, each sub-channel having a bandwidth ofThe noise power spectral density of the total channel and the sub-channel is recorded as n 0 The noise power spectral density of the total channel is the same as the noise power spectral density of each sub-channel; dividing the time slot into two sub-time slots, and recording the time length of the 1 st sub-time slot as tau 1 The time length of the 2 nd sub-slot is denoted as tau 2 Satisfy τ=τ 1 +τ 2 The method comprises the steps of carrying out a first treatment on the surface of the In the 1 st sub-time slot, the cooperative user transmitter and the cooperative user receiver communicate through a sub-channel, and the energy collecting user transmitter collects energy from the radio frequency signal transmitted by the cooperative user transmitter; in the 2 nd sub time slot, the cooperative user transmitter and the cooperative user receiver communicate through a sub channel, and meanwhile, the energy collection user transmitter and the energy collection user receiver communicate through a sub channel, and the sub channel used for communication by the cooperative user is different from the sub channel used for communication by the energy collection user; wherein B is in Hz, τ is in seconds, N is a positive integer, n=2 k K is a positive integer greater than or equal to 1, in this example taking k=5, ++>In Hz, n 0 In dBm/Hz, τ 1 ∈[0.3τ,0.5τ],τ 1 And τ 2 In seconds; given a cooperative wireless network, B, τ and n 0 Are known.
Step 2, orderA set of sequence numbers representing subchannels allocated to the energy-harvesting users for communication in the 2 nd sub-slot; then initialize +.>Make->The initial value of (1, 2, …, N).
Step 3, meeting the minimum throughput of the energy collection userUnder the condition of (1) calculating the minimum energy used by the energy harvesting user transmitter when the sequence number belongs to +.>The transmission power allocated to each sub-channel in (1) is set so that the number of the ith sub-channel is +.>The transmit power allocated on the ith sub-channel when the energy harvesting user transmitter uses the minimum energy is recorded as +.> Wherein i is a positive integer, "> e is natural logarithm, M E Representation->The total number of the elements contained in the element is represented by the absolute value symbol, ++>Representing energy harvesting user transmitters and energy harvestingChannel coefficients on the ith sub-channel when communicating between user receivers; given a cooperative wireless network +.>And->Are known; if there is a sub-channel with sequence number not belonging to +.>Let +.>The transmit power allocated on the subchannel when the energy harvesting user transmitter uses the minimum energy is 0.
Step 4, based on the step 3, judging that the serial number belongs to when the energy collection user transmitter uses the minimum energyWhether or not the allocated transmit power on each sub-channel in (if +.>If the number of the sub-channels is 10, judging whether the transmission power distributed on the 10 sub-channels is not less than zero, if yes, executing the step 5; otherwise, find the sub-channel (possibly 1 or more) corresponding to the transmission power smaller than zero, then the sequence number of the found sub-channel is from +>And (3) returning to the step (3) to continue execution.
Step 5, at minimum throughput of satisfying energy harvesting usersUnder the condition of (2) calculating energyThe minimum energy required by the user is collected and is marked as E min ,/>
Step 6, orderA set of sequence numbers indicating subchannels allocated to the cooperative users for communication in the 1 st sub-slot; then initialize +.>Make->The initial value of (1, 2, …, N).
Step 7, calculating the transmission power allocated to each sub-channel in the 1 st sub-time slot for the cooperative user transmitter, and recording the transmission power allocated to the i' th sub-channel in the 1 st sub-time slot for the cooperative user transmitter asIf the sequence number of the ith sub-channel belongs to +.>Then->If the sequence number of the ith sub-channel does not belong to +.>Then->Wherein i 'is a positive integer, i' is {1,2, …, N }, p C,max Representing the maximum allowed transmit power of the cooperating user transmitter,/->M C1 Representation->Total number of elements contained in +.>Representing channel coefficients on the i' th sub-channel when communicating between the cooperating user transmitter and the cooperating user receiver in the 1 st sub-slot; given a cooperative wireless network, p C,max And->Are known.
Step 8, based on the step 7, judging that the sequence number of the cooperative user transmitter in the 1 st sub-time slot belongs toWhether or not the allocated transmit power on each sub-channel in (if +.>If the sequence number of the 10 sub-channels is included, judging whether the transmission power distributed by the cooperative user transmitter on the 10 sub-channels is not less than zero, and if so, executing the step 9; otherwise, find the sub-channel (possibly 1 or more) corresponding to the transmission power smaller than zero, then the sequence number of the found sub-channel is from +>And (3) returning to the step 7 to continue execution.
Step 9, calculating the energy collected by the energy collection user transmitter, which is marked as E h ,Wherein ζ represents the energy harvesting efficiency of the energy harvesting user transmitter, +.>Representing channel coefficients between the cooperating user transmitter and the energy harvesting user transmitter on the ith' sub-channel; zeta and +.>Are known.
Step 10, judging E h Whether or not to be not less than E min If yes, go to step 12; otherwise, step 11 is performed.
Step 11, from the transmitter for the cooperative user in the 1 st sub-slot in sequence numberFinding out the minimum transmitting power from the transmitting power distributed on each sub-channel; then from->Finding out the channel coefficient with the largest absolute value; then the minimum transmitting power is reassigned to the sub-channel corresponding to the channel coefficient with the largest absolute value, so that the transmitting power assigned to the cooperative user transmitter on the sub-channel corresponding to the minimum transmitting power in the 1 st sub-time slot is 0, and the transmitting power assigned to the cooperative user transmitter on the sub-channel corresponding to the channel coefficient with the largest absolute value in the 1 st sub-time slot is the transmitting power originally assigned plus the minimum transmitting power, and when the sequence number of the sub-channel corresponding to the channel coefficient with the largest absolute value does not belong to->The sequence number is added to +.>In (a) and (b); returning to the step 9 to continue execution; wherein j is a positive integer, j is more than or equal to 1 and less than or equal to N,>representing a relationship between a cooperating user transmitter and an energy harvesting user transmitterChannel coefficient on 1 subchannel, +.>Representing channel coefficients on the jth sub-channel between the cooperating user-transmitter and the energy harvesting user-transmitter,/and>representing the channel coefficients between the cooperating user transmitter and the energy harvesting user transmitter on the nth sub-channel.
Step 12, orderA set of sequence numbers representing subchannels allocated to the cooperative users for communication in the 2 nd sub-slot; then initialize +.>Make->The initial value of (1, 2, …, N).
Step 13, calculating that the cooperative user transmitter belongs to the sequence number in the 2 nd sub-time slotThe transmission power allocated to each sub-channel in the system is set to be the i' th sub-channel sequence number belonging to +.>The transmit power allocated on the ith "subchannel in the 2 nd sub-slot for the cooperating user transmitter is recorded as +.> Wherein i' is a positive integer, ++>M C2 Representation->Total number of elements contained in +.>Representing channel coefficients on an i "th sub-channel when communicating between the cooperating user transmitter and the cooperating user receiver in a 2 nd sub-slot; given a cooperative wireless network +.>Is known; if there is a sub-channel with sequence number not belonging to +.>The transmit power allocated to the cooperating user transmitter on this subchannel in the 2 nd sub-slot is made 0.
Step 14, based on step 13, determining that the sequence number of the cooperative user transmitter in the 2 nd sub-slot belongs toWhether or not the allocated transmit power on each sub-channel in (if +.>If the sequence number of the 10 sub-channels is included, judging whether the transmission power distributed by the cooperative user transmitter on the 10 sub-channels is not less than zero, if so, executing the step 15; otherwise, find the sub-channel (possibly 1 or more) corresponding to the transmission power smaller than zero, then the sequence number of the found sub-channel is from +>And (3) returning to the step (13) to continue execution.
Step 15, calculating the transmitting power of the energy collecting user transmitter, which is recorded asp EH ,
Step 16, reinitializationMake->The initial value of (1, 2, …, N) is to remove all the parts belonging to +.>The set of elements remaining after the element in (c).
Step 17, calculating that the energy-harvesting user transmitter belongs to the sequence number in the 2 nd sub-slotThe transmission power allocated on each sub-channel in (a) is set to be the ith * The sequence number of the sub-channel belongs to->The user transmitter will collect energy in the 2 nd sub-slot in the i < th ] * The allocated transmit power on the sub-channel is denoted +.> Wherein i is * Is a positive integer> Representing communication between an energy harvesting user transmitter and an energy harvesting user receiver at an ith * Channel coefficients on the sub-channels; if there is a sub-channelSequence number is not +.>The transmit power allocated to the energy harvesting user transmitter in the 2 nd sub-slot on that sub-channel is made 0.
Step 18, based on step 17, determining that the energy-harvesting user transmitter belongs to the 2 nd sub-slot in sequence numberWhether or not the allocated transmit power on each sub-channel in (if +.>If the energy collection user transmitter comprises the sequence numbers of 10 sub-channels, judging whether the transmission power distributed on the 10 sub-channels by the energy collection user transmitter is not less than zero, and if so, executing a step 19; otherwise, find the sub-channel (possibly 1 or more) corresponding to the transmission power smaller than zero, then the sequence number of the found sub-channel is from +>And the step 17 is returned to continue execution.
Step 19, based on step 18, calculating the actual throughput of the energy harvesting user, denoted R EHU ,
Step 20, judging R EHU Whether or not to be greater than or equal toIf so, transmission power allocation of the cooperative user transmitter on the subchannel used for communication by the cooperative user in the 1 st sub-slot, transmission power allocation of the cooperative user transmitter on the subchannel used for communication by the cooperative user in the 2 nd sub-slot, and energy harvesting user transmission on the subchannel used for communication by the energy harvesting user in the 2 nd sub-slot are completedThe transmitting power distribution of the machine is finished; otherwise, step 21 is performed.
Step 21, communicating between the energy harvesting user transmitter and the energy harvesting user receiver when the sequence number belongs toFinding out the channel coefficient with the largest absolute value from the channel coefficients on each sub-channel; then the serial number of the sub-channel corresponding to the channel coefficient with the largest absolute value is increased from +.>Middle move to +.>In (a) and (b); and returning to the step 13 to continue execution.
The feasibility and effectiveness of the method of the invention is further illustrated by the following simulations.
Figure 3 shows a graph comparing the throughput of cooperating users with the energy harvesting efficiency of the energy harvesting user transmitter using the method of the invention and the method proposed by Ding Xu et al, respectively. In the simulation, the bandwidth of the total channel is b=180 kHz, and the total channel is equally divided into n=32 subchannels, i.e. the bandwidth of each subchannel isNoise power spectral density n 0 = -174dBm/Hz, the maximum allowed transmit power of the cooperative user transmitter is p C,max =23 dBm, the lowest throughput of the energy harvesting user is +.>Time length τ of 1 st sub-slot 1 =0.4τ. As can be seen from fig. 3, in both methods, the throughput of the cooperating users increases with the energy harvesting efficiency of the energy harvesting user transmitter, but the performance of the method of the present invention is significantly better than that of the method proposed by Ding Xu et al. The method of the invention is indeed a good improvement of energy harvesting techniquesThroughput of cooperating users of the cooperating wireless network.