Research Article

Time Allocation and Optimization in Time-Reversal Wireless Powered Communication Networks

Algorithm 1

Time allocation and optimization algorithm.
(1)Calculate with given and ;
(2)Initialize and such that lies in ;
(3)Repeat
(1) ;
(2) Initialize ;
(3) Compute using (19). If , go to step 4; if , update using (23)-(24);
(4) Compute using (23);
(5) Substitute into (24) and compute using (24);
(6) Check . If it is satisfied, let ; otherwise, go to step 5;
(7) Check . If it is satisfied, let ;
(4)Until, where is a given error tolerance.