Wirelessly Powered Data Aggregation For IoT Via Over-The-Air Function Computation Beamforming and Power Control
Wirelessly Powered Data Aggregation For IoT Via Over-The-Air Function Computation Beamforming and Power Control
Abstract— As a revolution in networking, the Internet of Things Index Terms— Over-the-air computation, wireless power trans-
(IoT) aims at automating the operations of our societies by fer (WPT), multi-modal sensing, multiple-input multiple-output
connecting and leveraging an enormous number of distributed (MIMO), beamforming.
devices (e.g., sensors and actuators). One design challenge is
I. I NTRODUCTION
efficient wireless data aggregation (WDA) over the dense IoT
devices. This can enable a series of the IoT applications ranging
from latency-sensitive high-mobility sensing to data-intensive
distributed machine learning. Over-the-air (function) computa-
I N THE near future, tens of billions of Internet-of-
things (IoT) devices (e.g., sensors and actuators) are
expected to be deployed to automate the operations of our
tion (AirComp) has emerged to be a promising solution that societies and make the ambient environment smart. Among
merges computing and communication by exploiting analog-wave
addition in the air. Another IoT design challenge is battery others, there exist two design challenges for IoT. The first is
recharging for dense sensors which can be tackled by wireless fast wireless data aggregation (WDA), namely fast collection
power transfer (WPT). The coexisting of AirComp and WPT in and processing of data distributed at dense IoT devices by
the IoT system calls for their integration to enhance the perfor- wireless transmission. WDA is an enabling operation for a
mance and efficiency of WDA. This motivates the current work series of IoT applications such as fusion of sensing values in
on developing the wirelessly powered AirComp (WP-AirComp)
framework by jointly optimizing wireless power control, energy environmental monitoring [1], aggregation of mobile updates
and (data) aggregation beamforming to minimize the AirComp in federated machine learning [2], and distributed consensus
error. To derive a practical solution, we recast the non-convex in fleet driving [3]. Fast WDA is needed to regulate latency in
joint optimization problem into the equivalent outer and inner cases with ultra-dense devices and/or high mobility (e.g., for
sub-problems for (inner) wireless power control and energy sensors carried by drones or vehicles). A promising solution
beamforming, and (outer) the efficient aggregation beamforming,
respectively. The former is solved in closed form while the latter is over-the-air (function) computation (AirComp), which real-
is efficiently solved using the semidefinite relaxation technique. izes fast WDA by simultaneous transmissions and exploiting
The results reveal that the optimal energy beams point to analog-wave addition in a multi-access channel [22]. The
the dominant Eigen-directions of the WPT channels, and the other challenge for IoT is powering dense energy-constrained
optimal power allocation tends to equalize the close-loop (down- sensors for WDA and other operations. One attractive solution
link WPT and up-link AirComp) effective channels of different
sensors. The simulation demonstrates that the controlling WPT is wireless power transfer (WPT) using microwaves, whose
provides additional design dimensions for substantially reducing feasibility has been proved in practical sensor networks [4].
the AirComp error. To facilitate efficient implementation for IoT, it is natural to
tackle the two said challenges simultaneously by pursuing the
Manuscript received April 2, 2019; revised April 21, 2019; accepted
April 21, 2019. Date of publication May 7, 2019; date of current ver- fusion of two corresponding technologies: AirComp and WPT.
sion July 10, 2019. This work was supported in part by the Hong Kong The resultant design challenge lies in the joint optimization
Research Grants Council under Grant 17209917 and Grant 17259416, of their key operations at servers (or fusion centers), namely
in part by the Shenzhen Science and Technology Program under Grant
JCYJ20170817110410346, and in part by the Peng Cheng Laboratory under energy beamforming and power control for WPT, and (data)
Grant PCL2018KP002. This paper was presented in part at the IEEE aggregation beamforming for AirComp. This motivates the
Globecom Workshops, Abu Dhabi, 2018. The associate editor coordinating current work on developing a framework called wirelessly
the review of this paper and approving it for publication was D. Niyato.
(Corresponding author: Kaibin Huang.) powered over-the-air computation (WP-AirComp).
X. Li is with the Department of Electrical and Electronic Engineering In WP-AirComp framework, we consider an IoT system
(EEE), Southern University of Science and Technology, Shenzhen 518055, supporting down-link WPT and up-link AirComp. To be spe-
China, and also with the Department of EEE, The University of Hong Kong,
Hong Kong (e-mail: [email protected]). cific, a multi-antenna server transmits energy to power multiple
G. Zhu and K. Huang are with the Department of Electrical and sensors (or other types of devices) so that they can transmit
Electronic Engineering, The University of Hong Kong, Hong Kong sensing data for WDA at the server based on AirComp. The
(e-mail: [email protected]; [email protected]).
Y. Gong is with the Shenzhen Engineering Laboratory of Intelligent Infor- server controls the amount of energy harvested by sensors
mation Processing for IoT, Southern University of Science and Technology, via energy beamforming and power allocation to different
Shenzhen 518055, China (e-mail: [email protected]). beams. Since the transmit power of sensors depends on the
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org. harvested energy, the WPT operations affect the analog-signal
Digital Object Identifier 10.1109/TWC.2019.2914046 superposition in the array observations at the server.
1536-1276 © 2019 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3438 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3439
by prototyping [22] and addressing practical issues such as power transfer (SWIPT), which remains active. Recent studies
transmission synchronization over sensors [29]. focus on applying SWIPT to a series of communication
It is also worth mentioning that inspired by the success systems, including MIMO communication [9], [10], orthogo-
of AirComp in computation-centric sensor networks, the rel- nal frequency-division multiple access (OFDMA) [11], [12],
evant principles have been applied to design new schemes two-way transmission [13], relaying [14]–[16], and cogni-
for rate-centric communication networks. The compute-and- tive networking [17]. Practical SWIPT designs account-
forward relaying schemes as proposed in [30] decodes and ing for imperfect channel state information were devel-
forwards linear functions of the transmitted messages. The oped in [18]. More recently, WPT was also considered for
integer-forcing linear receiver designed in [31] spatial mul- unmanned aerial vehicle (UAV) assisted communication [19],
tiplexes lattice codewords. Furthermore, the well-known phys- where an UAV serves as a mobile relay and its transmit
ical layer network coding leveraging analog wave addition power and trajectory are jointly optimized to maximize the
generalizes the celebrated network coding schemes invented throughput.
for wired networks to wireless networks [32]. Another important application of WPT is in sensor
IoT will feature multi-modal sensing and the prevalence networks, with energy constrained sensors. Recharging the
of antenna arrays (especially highly compact millimeter-wave batteries of hundreds to thousands of sensors is a chal-
arrays) at both servers and devices [33]. A multi-modal sensor lenging problem that can be solved efficiently by WPT [4].
can simultaneous monitor multiple parameters of the envi- For multi-user WPT systems, energy beamforming at dif-
ronment (e.g., pressure, light, humidity, and pollution), or of ferent power beacons needs to be coordinated to enable
a user state (e.g., motion, location, and speech). The need efficient energy multicasting. To this end, a collaborative
of WDA over multi-modal sensors and other data-intensive energy-beamforming scheme is proposed in [20] for efficiently
IoT applications (e.g., federated machine learning) calls for powering a sensor network. For large-scale wirelessly powered
the acceleration of computation rates in AirComp. While sensor networks, a novel framework of backscatter sensing
prior works mostly target single-antenna sensor network and was recently proposed in [21], where low-cost passive sensors
support scalar-function AirComp, recent research has started upload their sensing data to a drone mounted reader by
to explore the possibility of using antenna arrays to enable the concurrently reflecting the beamed power signal from a power
vector-function AirComp. A technique called MIMO AirComp beacon in a designed probabilistic manner. Then statistical
leverages spatial degrees-of-freedom to spatially multiplex inference algorithms can be devised for sensing value recovery
multi-function computation (i.e., vector-function computation) without the knowledge of channel state information.
and reduce computation errors by noise suppression [28]. Though energy beamforming in wirelessly powered commu-
The key design challenge lies in the optimization of the nication and sensor networks have been widely investigated,
receive beamformer, called aggregation beamformer, with the most of prior work focuses on rate maximization via opti-
objective of minimizing the error of computed functions, mizing the WPT efficiency. The design of wirelessly powered
w.r.t., the desired result in (1). On the other hand, traditional in-network computation, such as WP-AirComp in this work,
multi-user MIMO beamforming aims at a different objective remains as uncharted area.
that is to minimize the sum distortion of individual data
symbols. The difference in objective results in a fundamental
III. S YSTEM M ODEL
shift in the beamforming design principle. To be specific,
multi-user beamforming attempts to decouple simultaneously In this section, we consider the mobile IoT system
transmitted symbols (or equivalently sum-rate maximization), illustrated in Fig. 1, where WP-AirComp is deployed for
yielding the classic zero-forcing or minimizing mean-squared- fast WDA. As shown in Fig. 1 (c), the mobile server is
error (MMSE) design [34]. In contrast, aggregation beam- multi-functional serving as a power beacon, an access point
forming tries to balance the effects of individual MIMO (AP) and a data fusion center. The server is provisioned
channels so as to accurately compute the function in (1). The with an array of NAP antennas. We consider both the cases
principle is reflected in the beamformer design in [28] that is of single-antenna and multi-antenna sensors, corresponding
obtained from the weighted sum of multi-user MIMO channels to the equivalent cases of MISO and MIMO channels. Let
projected onto a Grassmann manifold. NSN denote the number of antennas at each of total K
sensors. Time is divided into symbol durations, each of which
lasts t0 seconds and is called a (time) slot. WP-AirComp is
B. Energy Beamforming for Wirelessly Powered implemented based on the harvested-then-transmit protocol
Communication that alternates WPT and AirComp phases with fixed slots. The
WPT was originally developed for point-to-point power energy a sensor harvests in a WPT phase is applied to power
delivery using radio waves [5]. Recently, the technology has transmission in the following AirComp phase. The operations
been further developed to power communication networks [6]. of different sensors are synchronized using a reference clock
One research focus is energy beamforming, referring to the broadcast by the server (see e.g., [29]). The channel state
use of an antenna array at a transmitter to beam energy in information (CSI) is estimated individually at each sensor from
the direction of a targeted receiver [7], [8]. The integration broadcasted pilot signals and then passed to the AP subse-
of WPT with traditional wireless communication has created quently. For simplicity, channels are assumed to vary following
a new area, called simultaneous wireless information and the block-fading model. In other words, each channel remains
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3440 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
Fig. 1. A high-mobility IoT system aggregating distributed sensing data using WP-AirComp.
Let Gk ∈ CNAP ×NSN represent the MIMO channel for the B. AirComp Phase
link from the server to sensor k, and uk ∈ CNAP ×1 with Consider the AirComp phase as shown in the bottom callout
uHk uk = 1 denote the transmit beamforming vector. At sensor of Fig. 2. Each sensor records the values of L heterogeneous
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3441
parameters of an external time-varying process such as the
K
y = h (d1 , d2 , · · · , dK ) = f gk (dk ) , (4)
ambient environment, or a human being. The measurement
k=1
generates a vector symbol in each slot, represented by dk =
[dk1 , dk2 , ..., dkL ]T ∈ RL×1 for sensor k. Powered by WPT,
each sensor transmits vector symbols using its array to the
server. On the other hand, the server doubly serves as an AP where f (·) and {gk (·)} represent the post-processing
and a fusion center in the current phase. For WDA, the server and pre-processing functions (see Table I). Note that the
aims at computing a vector function of the distributed vector pre-processing functions are in general identical across
symbols {dk }K k=1 . Let y = [y1 , y2 , · · · , yL ] ∈ R
L×1
denote different sensors, i.e., gk (·) ≡ g (·), ∀k. For example,
the desired computation output, called the target-function we have gk (x) = x, ∀k for computing arithmetic
vector. Then y is a nomographic function, denoted as h , of K mean, and gk (x) = log(x), ∀k for geometric mean.
simultaneous observations of parameter , namely {dk }K k=1 . Let the vector symbol pre-processed and transmitted
Following the definition in (1), we have by sensor k using linear analog modulation be denoted as
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3442 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3443
vector channels for AirComp and WPT be denoted as hk ∈ The name of η is given based on the fact that reducing it
CNAP ×1 and gk ∈ CNAP ×1 respectively, and the aggregation suppresses the effect of channel noise by increasing symbol
beamformer vector as a ∈ CNAP ×1 . Then the original problem energy (or equivalently {b∗n } as observed from (10)). Since
in P1 is simplified for the MISO case as: minimizing η is equivalent to maximizing η1 , one can incor-
porate the power constraint into the objective function and
K
(P2) min aH hk bk − 12 + σn2 aH a have the following equivalent max-min problem:
a,{bk },{uk },{Pk } 2 2
k=1 max min γk uH
k gk hk f Pk
H
2 2 f ,{uk },{Pk } k
s.t. bk ≤ γk uH
k gk Pk , ∀k,
K
K
Pk ≤ P0 , s.t. Pk ≤ P0 , f H f = 1,
k=1
k=1
uH = 1, ∀k. k uk = 1, ∀k.
uH
k uk
Thought this problem has a simpler form, it remains non-
Problem P2 is solved in the next section. The insights are
convex. To tackle the challenge, we recast the problem into an
leveraged to develop a practical solution in Section VI. equivalent outer-inner sub-problems formulation, having the
Last, we remark that an alternative and also natural formu-
following form:
lation based on maximization of the receive signal-to-noise
⎧ 2 2
⎫
ratio (SNR) leads to strategies fundamentally different from ⎪
⎪ max min γk uHk gk hk f Pk ⎪
H
⎪
computation-error minimization. More details are given in ⎪
⎪ {uk },{Pk } k ⎪
⎪
⎪
⎨ ⎪
⎬
Section VII. K
(P3) max s.t. Pk ≤ P0 ,
⎪
f H f =1 ⎪ ⎪
⎪
⎪
⎪ ⎪
⎪
V. J OINT D ESIGN OF WPT AND A IR C OMP : MISO C ASE ⎪
⎩
k=1 ⎪
⎭
uk uk = 1, ∀k.
H
In this section, we consider the MISO case corresponding
to single-antenna sensors and solve the design problem in inner sub-problem
P2. To this end, a decomposition based solution approach is outer sub-problem
developed. The approach and the solution of problem P2 are
discussed in the following sub-sections. As shown in Fig. 3, the inner sub-problem solves the
optimal power allocation and energy beamforming, while the
outer sub-problem aims at further optimizing the aggregation
A. Decomposition Approach beamformer. The two sub-problems are tractable and solved
Problem P2 remains non-convex and difficult to solve separately in the following sub-sections.
directly. We overcome the difficulty by decomposing it into
two solvable sub-problems. To begin with, channel-inversion B. Optimal Wireless Power Control and Energy Beamforming
precoding conditioned aggregation beamforming is shown to A close observation of the inner sub-problem in P3 indicates
be optimal as follows. that the optimal energy beamforming can be firstly solved in
Lemma 2 (Optimal Sensor Precoder): For the MISO case, closed form, based on which the optimal power allocation can
given a data aggregation beamformer a, the computation error be then derived as a function of the normalized aggregation
is minimized by the following channel-inversion precoders at beamformer f . The first key result of this sub-section is
sensors: presented as follows.
1
b∗k = √ H , ∀k, (10) Proposition 1 (Optimal Energy Transmit Beamformer):
ηf hk Consider the MISO case. For each sensor, the optimal power
where f is defined by normalizing the aggregation beam- beam should point to the direction of the corresponding WPT
former, and η ∈ R+ is chosen to satisfy the sensor trans- channel, i.e.,
gk
mission power constraints in problem P2, i.e., to guarantee
√ u∗k = . (11)
that a = ηf . gk
Proof: In the inner sub-problem of P3, uH 2
k gk ≤
Proof: See Appendix A.
2 2
By substituting the result in Lemma 2, problem P2 can be uk gk with the equality holds if and only if uk has
transformed into the equivalent problem of minimizing the the same direction as gk .
variable η, called the denoising factor: By substituting (11), the inner sub-problem is transformed
min η into the following problem:
η,f ,{uk },{Pk }
1 (P4) max min γk gk 2 hH 2
k f Pk
2 {Pk } k
s.t. 2
≤ γk uH
k gk Pk , ∀k,
ηhH
k f
K
K s.t. Pk ≤ P0 .
Pk ≤ P0 , f H f = 1, k=1
k=1 To solve problem P4, a necessary condition for the optimal
k uk = 1, ∀k.
uH solution is derived as follows.
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3444 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
Fig. 3. Outer-inner problem in WP-AirComp design and the required signaling procedure.
Lemma 3 (Optimal Wireless Power Control): For the MISO it is important to select sensors with both reliable WPT and
case, given the aggregation beamformer f , the optimal power AirComp channels.
control should have the following form:
C C. Optimal Aggregation Beamforming
Pk∗ = 2 2
, ∀k, (12)
γk hH
k f gk Given the solution of the inner sub-problem in the preceding
sub-section, the outer sub-problem in P3 for aggregation
where C is some constant.
beamformer optimization can be simplified by substituting
Proof: See Appendix B.
the optimal energy beamformer in (11) and optimal power
Based on Lemma 3, problem P4 reduces to the following:
allocation in (14):
max C P0
C max K 1
K f
C k=1 γk f H hk 2 gk 2
s.t. ≤ P0 ,
γk hH 2
k gk
f 2 s.t. f H f = 1.
k=1
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3445
Algorithm 1 Gaussian Randomization Algorithm for MISO The proof of Lemma 6 is similar to that of Lemma 2 shown
WP-AirComp in Appendix A, thus omitted for brevity. Let F denote the
• Initialization: Given an SDR solution F̂∗ , and the num- normalized aggregation beamformer with tr(FFH ) = 1 and
√
ber of random samples M . thus A = ηF with η being the norm of A.Then problem
• Gaussian Random Sampling: P1 can be reduced to the following form by substituting (15):
(1) Perform eigen decomposition [VF̂ , ΣF̂ ] = eig(F̂∗ ).
(2) Generate M random vectors zm ∼ CN (0, I) with min η
η,F,{uk },
0 ∈ CNAP ×1 and I ∈ CNAP ×NAP . {vk },{Pk }
(3) Retrieve M feasible solutions {fm } from {zm } via 1 H −1
2
VF̂ Σ
1/2 H
zm
s.t. tr (F Hk HH k F) ≤ γk uH
k Gk vk Pk , ∀k,
fm = F̂
, m = 1, ..., M η
1/2 H
VF̂ Σ zm
F̂ K
(4) Select the best fm thatleads to the minimum objective, Pk ≤ P0 , tr(FFH ) = 1,
∗
= arg minm k=1 γ tr(h hH fm1f H )g 2 P0 .
K
namely fm k=1
k k k m k
∗
(5) Output f̃ = fm k uk = 1 ∀k, vk vk = 1 ∀k.
uH H
as the approximated optimal normal-
ized aggregation beamformer.
Note that the first set of power constraints in this problem
can be rewritten as:
Proof: See Appendix C. 1 γk uH Gk vk 2 Pk
≤ min Hk , (16)
Upon solving the problem P5 via a convex problem solver η k tr (F Hk HH F)−1
k
(e.g., the cvx toolbox in MATLAB) and attaining the globally
optimal solution F̂∗ , the next task is to retrieve from it a thus the minimum η in problem P2 is achieved when the above
feasible solution to the original problem denoted by f̃ . Since constraint is active (i.e., the equality holds). Since minimizing
the rank of F̂∗ might be larger than one, the Gaussian random- η is equivalent to maximizing η1 , one can move the power
ization algorithm proposed in [38] can be applied to extract constraint to the objective function and have the following
f̃ from F̂∗ . The main procedure of applying the algorithm to equivalent max-min problem:
the current design is summarized in Algorithm 1. γk uH G v 2 Pk
Remark 5 (Optimality of SDR Solution): It is worth point- max min k k kH
F,{uk },{vk },{Pk } k tr (FH Hk Hk F)−1
ing out that the SDR technique can lead to an optimal solution.
If a rank one F̂∗ is solved, the global optimal solution can
K
s.t. Pk ≤ P0 , tr(FFH ) = 1,
be immediately achieved by extracting the dominant eigen-
vector of F̂∗ as the normalized data aggregation beamformer,
k=1
k uk = 1 ∀k, vk vk = 1 ∀k.
uH H
i.e., f ∗ = [VF̂ ]:,1 . As shown in the simulation later, F̂∗ has a
high probability to be rank one. Similar to the MISO counterpart, this problem can be recast
Remark 6 (Complexity Analysis): According to
as the following outer-inner sub-problems:
[38], the complexity order of Algorithm 1 is
1/2
O(max{NAP , K}4 NAP log(1/)), where , NAP and ⎧ ⎫
⎪
⎪ γk uH Gk vk 2 Pk ⎪
K denotes the solution accuracy, number of AP antennas, ⎪
⎪ max min k ⎪
⎪
⎪
⎪ {uk },{vk },{Pk } k tr (FH Hk HH F)−1 ⎪
⎪
⎪
and number of sensors, respectively. ⎪
⎪
k ⎪
⎪
⎪
⎨ K ⎪
⎬
(P6) max s.t. Pk ≤ P0 ,
VI. J OINT D ESIGN FOR WPT AND tr(FFH )=1⎪
⎪ ⎪
⎪
⎪
⎪ k=1 ⎪
⎪
A IR C OMP : MIMO C ASE ⎪
⎪ ⎪
⎪
⎪
⎪ uH
uk = 1 ∀k, ⎪
⎪
⎪
⎩
k
⎪
⎭
In the preceding section, we consider the MISO case with vk vk = 1 ∀k,
H
single-antenna sensors. In this section, the results are extended
to the general MIMO case with multi-antenna sensors. In par- inner sub-problem
ticular, the original vector-function WP-AirComp problem in outer sub-problem
problem P1 is solved. The solution builds on the outer-inner
framework developed in the previous section. where the inner sub-problem contains MIMO power control
To further develop the framework for the MIMO case, and energy beamforming optimization, and the MIMO aggre-
the non-convex problem P1 is first simplified by show- gation beamformer design gives the outer sub-problem.
ing the optimality of the zero-forcing (channel inversion)
precoder conditioned on the aggregation beamformer as
A. Optimal Wireless Power Control and Energy Beamforming
follows.
Lemma 6 (Optimal MIMO Precoder): Given an aggrega- We firstly tackle the inner sub-problem in problem P6. The
tion beamformer A, the computation error is minimized by optimal energy transmit and receive beamformers are derived
the following zero-forcing precoders: as shown below.
Proposition 3 (Optimal MIMO Energy Beamformers): For
B∗k = (AH Hk )H (AH Hk HH
k A)
−1
, ∀k. (15) each sensor, the optimal energy transmit/receive beamformers
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3446 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
should point to the left/right dominant singular vector of the to a sensor k is inversely proportional to its effective close-loop
WPT channel matrix, namely, channel gain that combines the dominant singular value of
umax (Gk ) vmax (Gk ) WPT channel matrix Gk and the beamed AirComp channel
u∗k = and vk∗ = , (17) after aggregation beamforming, i.e., tr (FH H 1HH F)−1 (see
umax (Gk ) vmax (Gk ) ( k k )
Proposition 4).
where umax (Gk ) and vmax (Gk ) denote the left and right
dominant singular vectors of matrix Gk , respectively. B. Optimal Aggregation Beamformer
Proof: Starting from the well-known Rayleigh-quotient
inequality Given the solution of the inner sub-problem presented
above, the outer sub-problem in P6 for aggregation beam-
2 2 2 2
k Gk vk ≤ uk σmax (Gk )vk ,
uH (18) former optimization can be obtained by substituting the
optimal WPT strategies in (17) and (21) into problem P6.
where the equality holds if and only if uk and vk have
It follows that:
the same direction with the left and right dominant singular
vector umax (Gk ) and vmax (Gk ). Therefore, one can readily
K
tr (FH Hk HH k F)
−1
min 2
note that the objective in problem P6 can be maximized with F γk σmax (Gk )P0
k=1
respect to uk and vk by setting them as shown in (17), which
completes the proof. s.t. tr(FFH ) = 1.
By substituting (17) in Lemma 3, the inner sub-problem is This problem is difficult to solve due to the non-convex
−1
transformed into the following problem: objective involving tr((FH Hk HH k F) ). To overcome the
γ σ 2 (G )P difficulty, we adopt the following inequality relaxation of the
(P7) max min k max Hk k objective function:
{Pk } k tr (FH Hk Hk F)−1
−1 L
K
tr((FH Hk HHk F) )≤ , (22)
s.t. Pk ≤ P0 , λmin (HH
k FF Hk )
H
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3447
Algorithm 2 Gaussian Randomization Algorithm for MIMO strategies are fundamentally different. The strategy from SNR
WP-AirComp maximization tends to allocate more power to a sensor with
• Initialization: Given an SDR solution F̂∗ , and the num- better channel condition so as to maximize the sum effective
ber of random samples M . channel gain. In contrast, the strategy from computation error
• Gaussian Random Sampling: minimization in problem P3 attempts to equalize effective
(1) Perform eigen decomposition [VF̂ , ΣF̂ ] = eig(F̂∗ ). channel gain across different sensors (see Proposition 2).
(2) Generate M random matrices Zm ∼ CN (0, I) with This suggests the fundamental difference between WDA and
Zm ∈ CNAP ×L , 0 ∈ CNAP ×L and I ∈ CNAP ×NAP . conventional data communication.
(3) Retrieve M feasible solutions {Fm } from {Zm }
by extracting the L left dominant singular vectors from B. How Does WPT Help AirComp?
1/2
VF̂ ΣF̂ ZH m , denoted by Vm , and normalizing it by
√ As mentioned, wireless power control provides an additional
its norm L, namely Fm = √1L Vm , such that the design dimension for reducing the AirComp error. In the
constraint tr(Fm FHm ) = 1 can be enforced. sequel, we provide insights to understand the performance
(4) Select the best Fm that leads to gain from relevant design presented in the preceding sections.
∗
the minimum
K objective, namely F m = To help exposition, a benchmark scheme is considered that
arg minm k=1 γ σ2 (G )λmin (H LT
H F FH H )P T . equally allocates wireless power, i.e., Pk = PK0 . Consider the
k max k m k0 0
m k
(5) Output F̃ = F∗m as the approximated optimal aggregation beamformer design problem in problem P3. Note
normalized aggregation beamformer. that under equal power allocation, problem P3 is converted to
a NP-hard problem as shown below:
K
(P̃) min max
VII. F URTHER D ISCUSSION f k γk gk 2 hH
k f
2 P0
In this section, we provide further discussion to gain more s.t. f H f = 1.
insights into the properties of the WP-AirComp design in the Comparing the objective functions of problem P̃ and the one
preceding sections. with wireless power control gives:
K
1 K
A. Computation Error Minimization versus SNR ≤ max . (23)
Maximization k=1
γk gk 2 hH
k f 2P
0 k γk g k 2 hH f 2 P
k 0
An intuitive and alternative design criterion for In other words, wireless power control reduces the computa-
WP-AirComp could be one that maximizes the (total) tion error.
receive SNR at the server. This criterion, however, leads
to a completely different strategy from the counterpart that C. AirComp for Digital Communication
minimizes the computation error, as shown in the sequel.
Communication in existing wireless sensor network is
To clarify this point, we consider the simple MISO case for
mainly based on digital modulation technique such as quadra-
example. Let ρ denote the receive SNR and it can be defined
ture amplitude modulation (QAM), which can be understood
based on the channel model in (5) as follows:
as a quantized version of the analog amplitude modulation
K
bk 2 aH hk hH a required for AirComp. Therefore, it is also possible to imple-
ρ= k
ment the AirComp with the more commonly used QAM
σn2 aH a
k=1 modulation. This affects the AirComp by introducing an addi-
1
K
2 2
tional quantization noise to the computed value. Fortunately,
= γk uH
k gk hk f Pk ,
H
the noise effect is expected to vanish as the number of sensors
σn2
k=1
grows due to the implicit noise averaging mechanism in
√
where the second equality is attained by substituting a = ηf , AirComp.
and the power constraint bk 2 = γk uH 2
k gk Pk . Thus,
the SNR maximization problem can be casted as: VIII. S IMULATION
K In this section, the performance of our proposed
2 2
(Max SNR) max γk uH
k gk hk f Pk
H WP-AirComp framework is evaluated by simulation on
f ,{uk },{Pk } MATLAB, where the WPT and AirComp channel models
k=1
K are simulated based on (3) and (5), respectively. The perfor-
s.t. Pk ≤ P0 , mance metric is the normalized computation error, defined by
k=1 MSE/K with MSE given in (8). The simulation parameters
f f = 1,
H are set as follows unless specified otherwise. The number of
sensors is K = 5. In the MISO case, the number of antennas
k uk = 1, ∀k.
uH
at the server is set as NAP = 20. The number of computed
Although the above problem and problem P3 differ slightly functions is set to be L = 1 as only 1 antenna is available
only in the objective function, the resultant resource allocation at sensor side. In the MIMO case, the antenna setting at the
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3448 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
TABLE III
P ROBABILITY OF SDR S OLUTION B EING O PTIMAL
A. Baseline Schemes
We consider three baseline schemes designed based on
two classic approaches: antenna selection (AS) and eigen-
mode beamforming (EB). All three schemes assume the
channel-inversion data precoding in (10) or (15) and also
the optimal energy beamforming in (11) or (17) depending
on whether MISO or MIMO case is considered. The dif-
ference between the three schemes lie in the aggregation
beamformer and the wireless power allocation policy. Define
the sum-channel matrix Hsum = K k=1 Hk . For the first two
baseline schemes, the optimal power allocation is used by
solving the inner sub-problems of problem P3 and P6 under
the condition that the aggregation beamformer is set to be AS
or EB to enhance the receive SNR. The AS scheme selects
the L receive antenna observing the largest channel gains in
the sum channel Hsum , while the EB scheme selects the L
largest eigenmode of Hsum for AirComp and thus consists of
the L dominant left eigenvectors of Hsum . The third baseline
scheme assumes equal power allocation Pk = PK0 and solves
Fig. 4. The effects of server transmission power on the computation error
the resultant outer sub-problems of problem P5 and P8 to of AirComp.
attain the aggregation beamformer. For fair comparison, all
aggregation beamformers in the baseline schemes are scaled
to have the same norm. observed that the normalized computation error decreases with
the increasing maximum transmission power, which coincides
B. Optimality of the SDR Solution with the intuition that larger transmitting power will result
in higher SNR and thus less estimation error. Moreover,
Consider the MISO case in Section IV, the probability
of SDR solution for problem P5 to be globally optimal, our proposed solution outperforms all other baseline schemes
throughout the whole considered range of transmission power.
i.e., rank(F̂∗ ) = 1, is evaluated under various antenna settings
at the server as summarized in Table III. It can be observed Particularly, there are significant gaps between the base-
that the probability of SDR solution to be optimal is more line schemes of AS, EB and our proposed WP-AirComp
scheme, which demonstrate the merit of solving the outer
than 85% for different settings. Moreover, the probability is
observed to increase with the growth of the antenna numbers at sub-problem for aggregation beamformer optimization. Inter-
the server, which implies that equipping the server with more estingly, the gap between the baseline scheme of EPA and
the WP-AirComp scheme is relatively narrow, suggesting that
antennas will boost the AirComp accuracy to some extent.
optimizing the power allocation is not so critical in terms of
AirComp accuracy.
C. Computation Performance of WP-AirComp Fig. 5 further compares the proposed solution with all three
First, the performance of the normalized computation error baseline schemes under varying number of antennas at the
under varying maximum transmission power are evaluated server. It is observed that, for all four schemes, the normalized
in Fig. 4 for both the MISO and MIMO cases. It can be computation error monotonically decreases with the growth
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3449
Fig. 5. The effects of server antenna numbers on the computation error of Fig. 6. The effects of sensor numbers on the computation error of AirComp.
AirComp.
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3450 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
B. Proof of Lemma 3
Since 0 ≤ Pk ≤ P0 , there exists Pk such that,
∃ C, s.t., γk gk 2 hH 2
k f Pk = C, ∀k.
If γk gk 2 hH 2
k f Pk are not equal at the optimal point.
Assume that γmin gmin2 f H hmin 2 Pmin
∗
is the minimum
2 H 2 ∗
and γmax gmax f hmax Pmax is the maximum. Let
∗ ∗
Pmin = Pmin + δ and Pmax = Pmax − δ, where δ is small
enough to ensure that Pmin < Pmax . Without violating the
power constraint,
Fig. 8. The effects of imperfect CSI on the computation error of AirComp.
γmin gmin2 f H hmin 2 Pmin
> γmin gmin2 f H hmin 2 Pmin
∗
.
By such contradiction, equal γk gk 2 f H hk 2 Pk∗ is proved
σe2 = 0.25 and σe2 = 0.5 reflecting the mild, moderate and to be the optimal strategy.
severe CSI estimation error, respectively. It can be observed
that while the computation error of AirComp increases with
C. Proof of Lemma 5
the imperfectness level, our design is robust against imperfect
CSI, especially at the mild and moderate cases. It is worth According to [39], tr(hk hH k F̂) can be regarded as a linear
pointing out that the robustness of the AirComp can be further function of F̂. Since the channel gain cannot be negative,
enhanced by using robust optimization techniques in [40], i.e., hk 0, combining with the constraint 0
F̂
I,
which, however, is out of the scope of this paper. tr(hk hH
k F̂) is always positive. Based on the composition
1
rule of scalar functions, γ tr(h hH F̂)g 2
is convex. Since
k k k k P0
IX. C ONCLUDING R EMARKS the summation keeps the convexity, the objective function of
In this paper, we have proposed the WP-AirComp frame- problem P5 is convex. Combining with the convex constraints
work for the joint design of wireless power allocation, energy leads to the result.
and aggregation beamforming for effective WDA in IoT
systems. The framework design is tractable via an intelligent D. Proof of Lemma 7
decomposition of the original non-convex problem into an Since 0 ≤ Pk ≤ P0 , there exists Pk such that,
outer-inner form separating the complex design into sub- γ σ 2 (G )P
problems. The decomposition approach not only yields useful ∃ C, s.t., k max Hk k = C, ∀k.
insights into the optimal solution structure, but also approaches tr (FH Hk Hk F)−1
2
globally optimum with a high probability. The additional γk σmax (Gk )Pk
If tr((F Hk HH
are not equal at the optimal point.
design dimension created by wireless power control is shown
H
k F)
−1
)
2 ∗
γ σmax (Gmin )Pmin
to be able to boost the AirComp accuracy. The work points to Assume that tr min is the minimum and
( (FHH HH F)−1
min min )
the promising new research area of WP-AirComp where many 2
γmax σmax (Gmax )Pmax ∗
∗
tr((FH Hmax HH −1 ) is the maximum. Let Pmin = Pmin + δ
interesting research issues warrant further investigation, such max F)
∗
as sensor scheduling, sensor clustering, and multiple servers and Pmax = Pmax − δ, where δ is small enough to ensure that
cooperation. Pmin < Pmax . Without violating the power constraint,
2
γmin σmax (Gmin )Pmin γ σ 2 (G )Pmin ∗
A PPENDIX > min max min .
tr (F Hmin Hmin F)
H H −1 tr (F Hmin Hmin F)−1
H H
A. Proof of Lemma 2 γ σ2 (G )P ∗
By such contradiction, equal tr (Fk Hmax k k
is proved to
Given the computation-error minimization objective pro- ( Hk HH
k F)
−1
)
vided in (8), it is easy be the optimal strategy.
K to note that both the first and the second
terms within, i.e., k=1 aH hk bk −12 and aH a are positive.
As a result, for any given data precoder a, we have the E. Proof of Lemma 8
following inequality: According to [39], λmin (HH k F̂Hk ) can be regarded as a
K concave function of F̂. Since the channel gain cannot be
aH hk bk − 12 + σn2 aH a ≥ σn2 aH a. (24) negative, i.e., Hk 0, combining with the constraint 0
k=1 F̂
I, λmin (HHk F̂Hk ) is always positive. Based on the com-
It is easy to verify that setting {bk } to have the zero-forcing position rule of scalar functions, the equivalent MSE function
structure in (10) enforces for each sensor γ σ2 (G )λ L (HH F̂H )P is convex. Since
k max k min k k 0
the summation keeps the convexity, the objective function of
K
aH hk bk − 12 = 0, problem P8 is convex. Combining with the convex constraints
k=1 leads to the result.
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
LI et al.: WIRELESSLY POWERED DATA AGGREGATION FOR IoT VIA OVER-THE-AIR FUNCTION COMPUTATION 3451
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.
3452 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 18, NO. 7, JULY 2019
Authorized licensed use limited to: Sungkyunkwan University. Downloaded on August 10,2022 at 15:50:26 UTC from IEEE Xplore. Restrictions apply.