<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Work-in-Progress in Hardware and Software for Location Computation, June</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Preliminary Results of 5G Direction of Arrival Estimation using In-Situ Calibration with USRP</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alda Xhafa</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fran Fabra</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>José A. López-Salcedo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gonzalo Seco-Granados</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universitat Autònoma de Barcelona (UAB), IEEC-CERES</institution>
          ,
          <addr-line>Bellaterra</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>0</volume>
      <fpage>6</fpage>
      <lpage>08</lpage>
      <abstract>
        <p>The demand for high-precision location information in indoor positioning systems such as logistics, security, emergency etc., has increased the use of 5G systems as an alternative technology solution to the satellite-based positioning technologies. The 5G mobile networks provide more accurate and reliable positioning location in conditions of obstacles and changes. In this paper, the direction of arrival has been used for these localization approach. A description of In-Situ calibration of linear array antennas to enable direction of arrival estimation with 5G signals is provided. Despite the widely employed antenna arrays in 5G to facilitate the measurement of the direction of arrival (DOA), its performance is often degraded by array errors. Therefore, having coherent phases, accurate array manifold response, and delay and frequency ofset OFDM waveform correction is a mandatory requirement to perform direction of arrival estimation. We provide an experimental validation of the calibration process and evaluate the DoA estimation performance using measurement data. In addition, we present a comparison among the performance of DoA estimation without calibration, when only the calibration of RF channel error is performed and when the full calibration including the antenna error calibration is done. It is then demonstrated via real test with commercial hardware equipment that an average reduction of 40% for DOA estimation error can be achieved by the proposed In-Situ calibration.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In the recent years, with the rapid development of smart devices and technologies, there has been
a strong demand on indoor Location-Based Services (LBS) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] such as logistics, autonomous
vehicles, localized sensing, as well as accurate indoor localization within buildings during
emergency situations. Initially, the global navigation satellite systems (GNSS) have been the
extensively used technology for LBS. Although these technologies can provide good location
services, their performance is limited to the outdoor environment only. In indoor and in
dense urban areas, the accuracy of the satellite-based positioning technologies degrades due to
obstacles and environment changes by objects and multipath efects [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] in signal propagation.
Therefore, the need for accurate and reliable location information has surge the use of 5G
systems [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">3, 4, 5</xref>
        ] as an efective solution for precise positioning, in concrete the direction of
arrival (DOA) [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ] signal measurement.
      </p>
      <p>
        The radio direction finding is closely related with the use of multiple antennas enabling high
accuracy of position and orientation estimation, a strict requirement in the level of accuracy
in 5G systems. An important prerequisite for antenna array base DoA estimation is phase
coherence [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. In practical systems, when dealing with radio-frequency front end hardware,
the relative phase among receiver channels is object to severe degradation due to the system
hardware and radio conditions. On the hardware side, the accuracy and stability of the radio
front end phase synchronization depends on the drift in the clocks driving each RF chain,
manufacturing inaccuracies and temperature dependency. On the antenna side, the gain-phase,
mutual coupling, antenna element position error, manufacturing imperfections may further
contribute to the ofset error. On the signal processing side, most of the algorithms for DoA
estimation rely on a perfectly known antenna response restricted to an ideal antenna array. Any
mismatch with the real antenna model [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] will deteriorate the DoA estimation performance.
Moreover, the radio environment (i.e. multipath and interference) and misalignment in frequency
and time domain can additionally constitute a significant source of DOA error. Therefore, to
compensate the time varying phase ofset as well as other gain and phase uncertainties due to
the aforementioned limitations, a calibration process is needed to be carried out.
      </p>
      <p>
        The calibration of antennas means that their antenna response is determined. The antenna
calibration is mostly carried out in a controlled environment, i.e., without multipath propagation
and interference, e.g., a dedicated measurement chamber. However, the antenna response is
also afected by the surroundings. Therefore, it is important to measure the entire system, e.g.,
in a near-field measurements chamber, to obtain a better antenna response. This method can be
costly. A more practical and less costly form to calibrate the antennas, is the In-Situ calibration
method [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], where transmitters are used with a known direction to calibrate the antennas, but
no propagation condition is known. The mutual coupling [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and antenna element position
error is introduced. However, this method is restricted to antenna arrays error models. In
contrast to the previous method, the calibration of antennas is usually done performing the
self-calibration that estimates the antenna parameters together with the DoA. This method
attempts to avoid the calibration of antennas in a dedicated environment. However, it sufers
from severe limitations from the lack of identification of antenna element and propagation
conditions [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
      </p>
      <p>In this paper, we show the process of the In-Situ calibration of a linear array antenna of
4 elements to achieve high accuracy DoA estimation for the purpose of indoor positioning
in conditions of multipath and interference efects. The sounding reference signal (SRS) for
positioning in the uplink has been used for the estimation of angle of arrival, where an analytical
model of time, frequency, and phase error of the array multichannel receiver has been done. The
preliminary results of the 5G direction of arrival using the In-Situ calibration corrections has
been presented followed by a discussion on the antenna response observability as well as DoA
estimation performance and to showcase the advantage of using calibration error corrections.</p>
    </sec>
    <sec id="sec-2">
      <title>2. System Model</title>
      <p>
        In this work, an indoor DoA estimation scenario, where the uplink 5G signal is transmitted
using an Universal Software Radio Peripheral (USRP) hardware N310 [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] from Ettus Reseach
through one single channel node is considered. The selected transmitter has three master
clock rates that allow a higher diversity in-sample rate, which makes it suitable when dealing
with 5G signals where sampling rate and bandwidth are important. The transmitted signal
through GNU Radio [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], an open-source software package, is received from a linear array
antenna employed in a multichannel receiver. Since phase-coherence is very important in
DoA estimation, a phase-coherent multichannel receiver, NI-2955 USRP [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] from National
Instruments is selected. The channels should be synchronized in phase and time. This can be
achieved through a configuration of Local Oscillators (LO) to enable the LO sharing capability
of the receiver, limited to the USRP model.
      </p>
      <sec id="sec-2-1">
        <title>2.1. Signal Model</title>
        <p>
          We consider a 5G uplink reference signal (SRS) signal composed by 4 SRS symbols, each
occupying  subcarriers, with  being the total number of subcarriers available for modulation.
The subcarriers are symmetrically arranged around the central frequency. Note that, according
to 3GPP standard [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], 4 SRS symbols is the maximum that can be transmitted in one slot. The
SRS is derived from the low peak-to-average power ratio (PAPR) Zadof-Chu sequence whose
entries are allocated at a specific time and frequency unit, also known as the physical resource
unit, in the resource grid of the OFDM transmission scheme. Each entry of the Zadof-Chu
sequence will be allocated to physical resource unit in a resource block (RB) according to the
parameters set following the configuration rules in 3GPP TS 38.211 [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. The RB is the smallest
logical block of the orthogonal frequency-division multiplexing (OFDM) grid, and it is composed
of 12 subcarriers. The whole OFDM grid is composed of 14 OFDM symbols that constitutes one
slot in time domain. Each Zadof-Chu entry has been mapped to the corresponding resource
element with a span of two subcarriers between two adjacent Zadof-Chu sequence entries for
each of the SRS symbols used. This is because, in frequency domain, the bandwidth for SRS can
be adjusted and interleaving is permitted. The 5G NR also allows a swift arrangement of the RB
used to allocate the SRS symbol and therefore the allocation bandwidth of the reference signal
can be less than the total 5G bandwidth. In this work, a full-band SRS transmission has been
used.
        </p>
        <p>The subcarrier spacing is defined as Δ = 1/, with  being the duration of the OFDM
symbol without cyclic prefix (CP). CP is a repetition sequence of the last  samples of the
OFDM symbol that is placed at the beginning of the same symbol in order to prevent the
inter-symbol interference from the previous OFDM symbol. The resource allocation pattern of
the SRS signal used for transmission starts from the 11-th symbol until the 14-th symbol. Table
2 gives the configuration parameters to generate the uplink SRS signal.</p>
        <p>Finally, the digital base-band of the i-th OFDM symbol in time-domain:
[] =</p>
        <p>1
fft
2fft − 1
∑︁
=− fft
2</p>
        <p>[] ·  2fft (− ),
with  = 0, 1, . . . ,  +  − 1 being the sample index of an OFDM symbol, and m-th
the OFDM subcarrier index, is generated using the IFFT. The digital signal s is transmitted
by one source, periodically at a fixed repetition of time (with 4 SRS symbols per slot), at a
predefined DoA and impinges on an antenna array of  elements. The received time-domain
multichannel SRS signals are transformed to the frequency domain using FFT and removing the
CP from each OFDM symbol. The stream at the -th radio channel of the receiver is denoted as
x = [1,, 2,, ..., ,] ∈ C,1, where , represents the received complex data SRS
symbol at n-th receiving channel and m-th sub-carrier. The received signal at each received
channel can be written also as:
, = ()( +  ) ·  · ΔΦ′ · ^ + ,,
(1)
(2)
where () = √︀()Φ() is the antenna response at n-th front-end channel composed by
the gain pattern () and phase pattern Φ(), ( +  ) is the delayed transmitted signal
() received at n-th front-end channel,  is the carrier frequency ofset of the received signal
at n-th front-end channel, Φ() is the phase ofset introduced by the front-end hardware,
and ^ represent the rest of phase ofset afecting in the error of antenna response such as
antenna non-idealities including mutual coupling, manufacturing, as well imperfections and
surrounding structure of the installation, multipath and/or interference. Lastly,  represents
the noise at n-th receiving channel and m-th subcarrier. Each radio channel of the receiver
represents a separated baseband received signal provided by the hardware front end. They are
arranged into a single matrix X = [x1; x1; ...; xN] ∈ C, .</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Phase-coherence Configuration</title>
        <p>As previously stated, the array modeling errors that greatly depends on DoA estimation
performance can be divided into two main error sources: one part induced by the antenna elements
and the other part induced by the the synchronization of channels in phase and time at the
receiver side. The phase and amplitude imbalances between channels are needed to be corrected.
Therefore, the multichannel receiver should be configured to enable the LO sharing between
channels across multiple daughter-boards and eventually enabling the phase-aligned operation.
There are several possible LO configurations that can be performed in NI-2955:
• Independent, where each channel will use its own LO and the LO input ports will be
disabled.
• Import, where channels will use the LO provided at the corresponding import ports.
• Shared and Export, where channels will use the same LO from first channel, whose LO
will be exported to their LO output ports.
• Re-import, where the LO from first channel is exported and both channels will use the LO
provided at the corresponding import ports.
• Shared, where both channels of the same daughter-board will use the same LO from first
channel of the channel couple.</p>
        <p>In order to achieve coherent phases among the four channels, LO-sharing ability is enabled.
One pair of channels is configured with Shared and Export and the other pair is set to Import.
Then, the LO signal from the first pair is injected to the other pair with external cables through
the corresponding LO ports. Another error source that efects in the phase alignment is the
sampling rate. The received signals at all front ends should be sampled at the same time instant.
NI-2955 provides a re-sampling process that allows to use a wide range of sampling rates. The
USRPs include options for using an internal or external clock reference with the added ability
to export the clock reference and time base. In this work, the receiver NI-2955 uses its internal
clock giving a frequency accuracy of 2.5pmm.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. In-Situ Calibration Process</title>
      <p>
        The main focus in this work is to investigate the accuracy of DoA estimation in a realistic
indoor environment, whose performance is influenced to a large extent by the calibration
phase. The calibration procedure consists of three steps: RF channel error calibration; delay and
carrier phase ofset estimation and compensation of the received signal at each of n-th received
channels; and antenna error calibration. All the calibration procedures involve placing the
transmitter and the receiver hardware at a known distance and DoA, and performing repeated
DoA measurements distributed over all possible directions limited to the sector coverage area
of the environment, i.e., in the present case, − 90∘ to 90∘ with an angular separation of 5∘ .
All the measurements are conducted in a indoor working environment with line-of-sight
(LOS) propagation conditions. The transmitted waveform has been generated following the
configuration parameters and conditions set by the 5G standard as explained in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. In the
following subsections, details on each calibration process are provided. We mainly consider
the imperfect array response from the antennas and the RF channel errors. These errors
are compensated with RF channel coeficients that are pre-measured and calculated prior to
calibration of the antenna’s efect. Specific configuration of the hardware is needed to enable
the phase coherence option.
      </p>
      <sec id="sec-3-1">
        <title>3.1. RF Channel Error Calibration</title>
        <p>The wideband 5G signal is conducted to the RF channels of the receiver by connecting all
antenna ports of USRP-Rx NI-2955 via coaxial cables with a power splitter. The transmission of
the 5G SRS signal is done through a single antenna port of USRP N310, at predefined system
parameters: carrier frequency, sampling rate and transmission gain. The transmit power for
this experiment is − 15 dBm. On the receiver’s side, each radio channel acquire the baseband
stream provided by the hardware front-end at carrier frequency and sampling rate set in the
transmission part and predefined reception gain; and store them in a custom binary data format
with inphase/quadrature (I&amp;Q) samples of 16 bits each. Both in transmission and reception, the
transmission gain is set so that it avoids the distortion of the signal. The acquisition of the data
stream of each radio channel is done in a sustained way for a predefined duration. The start
and the end of the received OFDM signals define the phase of the waveform in the time domain.
The phase diference between channels corresponds to the angle of the maximum peak of the
cross correlation between one of the channels taken as reference with the rest of the channels.
Because of the LO configuration explained in 2.2, all phases should be aligned.</p>
        <p>The RF coeficients are measured by directly conducting the 5G uplink signal to the received
RF channels. Since the LO configurations ensure the phase coherence during all time (even after a
new power-cycle of the receiver maintaining the same system parameters), the diferential
phaseshift between the channel taken as reference and the rest of RF channels at the receiver’s side is
pre-measured before undergoing the calibration process of the antennas. These coeficients will
be then compensated in both calibration and DoA estimation procedure. These coeficients are
measured as the strongest correlation peak between the received waveform at the reference
channel with the received waveform at the rest of the receiver RF channels. The calibration
ofsets are computed for every snapshot of the received data stream with duration of one slot
and the average value of the computed coeficients is taken as a final calibration reference.</p>
        <p>The USRP N310 has been deployed on a PC with an Intel i5-9500 CPU @ 3GHz and 32GB of
RAM memory. The NI-2955 has been deployed on a PC with an Intel i7-10700 CPU @ 2.9GHz
and 32GB of RAM memory. The latter has Windows 10 OS installed, while the other system
has Ubuntu 22.04 LTS OS installed. The hard drives employed are Solid Stated Drives (SSD)
NVMe-based of Category 3, enabling a sustained writing rate.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Time and Frequency ofset estimation</title>
        <p>The baseband I&amp;Q samples are checked to estimate and establish the time and frequency
synchronization to the uplink received signal with a local replica signal as a reference. Firstly,
a coarse estimate of time and frequency ofset is done in the time domain. No demodulation
of the received waveform is performed to estimate the errors. Then a fine estimation and
correction process is undertaken to refine the initial estimates and increase precision. This
process synchronize the received data streams at each of the RF channels to the beginning of
radio frame.</p>
        <p>The initial carrier frequency ofset (CFO) estimation is performed by the strongest correlation
peak between the received waveform with the local replica of the signal. The CFO is estimated
by making a search over a frequency range of residual carrier frequency to estimate, i.e. from
where  is the discrete time delay in samples. The process is repeated for each set of frequencies
in the search range. The coarse time ofset is chosen to be the one that gives the strongest
correlation values and the corresponding correction frequency being the coarse frequency
ofset. Then, a data interpolation is performed in order to make a fine estimation of time and
frequency ofset around the coarse estimation value. The accuracy of the carrier frequency
ofset estimation is limited to the subcarrier spacing.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Antenna error calibration</title>
        <p>Apart from the RF channel errors induced by the multichannel receiver, the efect of the mutual
coupling between antenna elements, the location perturbations and beam-pattern errors of
antenna elements, as well as other radio conditions, the antenna errors are direction-dependent.
The estimation of DoA is done evaluating the phase ofsets across receiving antennas. The
receiving array elements (an uniform linear array (ULA) with a half-wavelength spacing) are
swiveled within a specified sector coverage and a predefined angular step. For each of the known
DoA to estimate, after RF channel error, and time and frequency ofset correction, the phase
ofsets caused by free-space propagation are evaluated and compensated to the received data
stream. The channel response of array antenna at the receiver side is used to estimate the actual
array manifold and compared with the true manifold a(). The mismatch between manifolds
(i.e., deviation of the actual manifold from the ideal one) will serve as a reference metric for
correcting the array response during the DoA estimation. The calibrated array manifold a^()
aims to delineate the true array response with the array error computed and corrected in the
searching-based DoA estimation algorithms. The searching-based DoA estimation algorithm, in
concrete the multiple signal classification method (MUSIC), can directly employ this calibrated
array manifold. The calibrated array manifold can be expressed as
( ) = ∑︁ [] · * [ +  ],
^ = arg max{|( )|2},
(3)
(4)
(5)
− Δ to Δ with a step of one tenth of Δ that represents the value of the subcarrier spacing.
For each of the frequencies in the search range, a compensation on the received signal is applied
and a correlation of the corrected received signal [] with a shifted and conjugated version of
the reference signal [] is computed. The resulting correlation is defined by
where [] is a circular shifted of the local replica waveform resulting in a matched filter of the
OFDM signal. The estimated delay can be expressed as</p>
        <p>a^() = ( ()) · a(),
with  () = [1, ^2 , ..., ^ ] being the mismatch array error correction obtained from the
InSitu calibration process and a() = [1,  − 2 ()

, ...,  − 2 (− 1)()

] being the theoretical
antenna response where  is the antenna element distance. Then, dominant spectral peaks are
used to find the DoAs.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experimentation set-up</title>
      <p>The calibration process has been conducted in an 56 m2 empty laboratory room of the ofice
building, where a single transmitter and receiver are placed within a distance of 5 m (see 1(a)
and 1(b)). A sector of 180∘ , i.e., − 90∘ to 90∘ with an angular step of 5∘ corresponding to 37
4.5
5
4
5m</p>
      <p>Rx
pilot angles of arrival evenly distributed is considered. Note that the sector coverage is limited
by the scenario where the experiments are performed. The receiver is placed near the wall,
at one side of the room and the transmitter is placed 3 m away from the other side as in 1(b).
To obtain diferent DoA, the array manifold at the receiver side is swiveled. The SRS signal
is transmitted periodically every 1 millisecond during 2 sec from the single antenna port of
USRP-Tx N310. The system parameters used are a carrier frequency of 2.4875 GHz, transmission
gain of 65 dB, and sampling rate of 30.72 Msps, corresponding to 25 MHz bandwidth with Fast
Fourier Transform (FFT) length 2048. Both the transmitter and receiver utilize the same antenna
modules, omnidirectional monopole antennas. The single transmitter antenna is mounted
directly on one of the transmission channels of USRP-Tx N310, while on the receiver’s side the
antennas are mounted in a platform with a separation of / 2 between elements of the antenna.
Two sets of measurements for each of the pilot angles of arrival are taken. The first set of
data stream will serve to perform calibration of the antenna errors and the other set will be
used to evaluate the performance of DoA estimation under the conditions of calibration and
non calibration. The phase ofsets between antennas are computed by averaging over phases
of subcarriers with the same carrier frequency. All experiments are carried out under LOS
condition.</p>
      <p>Because an ISM radio band is used for transmission, the presence of interference is inevitable.
During the experimentation process, the presence of a signal at center frequency of 2.479
GHz of 2 MHz bandwidth has been detected. To improve the resolution ability, interference
correction is undertaken by choosing only the subcarriers that does not contain the interference
after the demodulation of the waveform.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Experimental results</title>
      <p>The experiments have been conducted twice: one to compute the mismatching between ideal
array manifold response, and the other to investigate the impact of calibration in DoA estimation,
as well as the impact of the multipath condition in the estimation accuracy. Figure 2 shows the
theoretical array response for each of the incident direction; the corresponding experimental
array response and the estimated array phase error from the expected value. The latter will
serve as a mismatch parameter to correct the phase error coming from the antennas. These
results are computed after correcting the phase ofset between channels coming from the RF
channels. Results show that, even in conditions of multipath and interference, the computed
steering vector follows the behavior of the theoretical one that considers an ideal antenna
response. Note that the interference is eliminated by excluding the subcarriers that contain the
interference signal.</p>
      <p>The presence of multipath efects in the propagation delay of a reference signal at each
=1   · − 2 Δ  , with   being the
m-th subcarrier of the signal has a phase shift of ∑︀
propagation delay of k-path, K being the total number of paths of the propagation channel and
  being the absolute amplitude of the k-th signal. In severe multipath conditions, the efect
of propagation delay for each of the subcarriers is 5.3∘ within successive subcarriers. For the
incident angles in between the angles, at which the tests are performed, an interpolation within
the range of array modeling errors set of data (computed during antenna error calibration
process) is done. All these inaccuracies depend on the performance of the DoA estimation,
reflected in the results shown in Figure 3. Results show a significant improvement in DoA
estimation accuracy with a maximum of 46.74% when applying only the RF channel error
corrections. The large improvement in the accuracy of DoA estimation show the high phase
ofset that the received RF channels apply and therefore a severe degradation on the angle of
arrival is faced. Moreover, an additional reduction of error estimation of maximum 25.9% is
noted when the antenna error correction is applied, especially in cases close to the end-fire
array where unsatisfactory performance is expected. The maximum error estimation deviation
reaches ± 17.32 degrees and it reduces up to less than one degree (± 0.58) when applying the full
calibration corrections estimated during In-Situ calibration. These results show the importance
of the calibration process enabling the stability and accuracy of the DoA estimation since the
measured antenna array manifold severely deviates from the nominal manifold. Therefore, the
In-Situ measurements cause improvement of the incident angles as it captures the real array
responses more precisely by using the post-established in-field measurements.</p>
      <p>All in all, the preliminary results show that with only calibrating the received RF channels, a
significant improvement is achieved. A precise estimation is achieved when the antenna errors
are also considered in the DoA estimation process.</p>
      <sec id="sec-5-1">
        <title>Experimental phase ofset</title>
      </sec>
      <sec id="sec-5-2">
        <title>Theoretical phase ofset Manifold mismatch</title>
      </sec>
      <sec id="sec-5-3">
        <title>Experimental phase ofset</title>
      </sec>
      <sec id="sec-5-4">
        <title>Theoretical phase ofset</title>
      </sec>
      <sec id="sec-5-5">
        <title>Manifold mismatch</title>
        <p>Array manifold Ch0-Ch1</p>
      </sec>
      <sec id="sec-5-6">
        <title>Experimental phase ofset</title>
      </sec>
      <sec id="sec-5-7">
        <title>Theoretical phase ofset</title>
      </sec>
      <sec id="sec-5-8">
        <title>Manifold mismatch</title>
        <p>− 20 0 20
Direction of arrival (degree)
Array manifold Ch0-Ch2
− 20 0 20
Direction of arrival (degree)
Array manifold Ch0-Ch3
200</p>
        <p>− 20 0 20
Direction of arrival (degree)
40
60
80
100</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>In this work we presented the preliminary results of 5G DoA estimation using In-Situ calibration
metric for the purpose of accurate indoor positioning solution even in conditions of multipath
and interference in signal propagation. Moreover, the required steps to achieve coherent phases
between RF channel of a universal radio receiver are presented. The obtained results show a
significant improvement of DoA estimation accuracy because of calibration. The calibration
process fully exploits the bandwidth resources provided by 5G signal to resolve the presence
of interference in the measurement data. We believe this is an important step to provide high
precision DoA estimation and therefore an accurate positioning location. Moreover, it is shown
a scalable solution to calibrate universal hardware and antenna arrays.</p>
      <p>RF-channel calibration RF-channel &amp;Antenna-error calibration
80
)
e
reg 60
e
d
l(a 40
v
i
r
r
fa 20
o
e
lgn 0
a
d
ta − 20
e
m
i
se − 40
t
e
g
re − 60
a
v
A</p>
      <p>80</p>
      <p>80
− 50 0 50
Direction of arrival (degree)</p>
      <p>− 50 0 50
Direction of arrival (degree)</p>
      <p>− 50 0 50
Direction of arrival (degree)</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work was supported in part by the Spanish Agency of Research (AEI) under the Research and
Development projects PID2020-118984GB-I00/AEI/10.13039/501100011033 and
PDC2021-121362I00/AEI/10.13039/501100011033; and mobility grant SEBAP (Societat Económica Barcelonesa
d’Amics del País).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>El-Sheimy</surname>
          </string-name>
          and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          , “
          <article-title>Indoor navigation: State of the art and future trends,” Satell</article-title>
          . Navig., vol.
          <volume>2</volume>
          , art. no.
          <issue>7</issue>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>23</lpage>
          , May
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J. A.</given-names>
            del
            <surname>Peral-Rosado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>López-Salcedo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Seco-Granados</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zanier</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Crisci</surname>
          </string-name>
          ,
          <article-title>"Evaluation of the LTE positioning capabilities under typical multipath channels,"</article-title>
          <source>2012 6th Advanced Satellite Multimedia Systems Conference (ASMS) and 12th Signal Processing for Space Communications Workshop (SPSC)</source>
          , Vigo, Spain,
          <year>2012</year>
          , pp.
          <fpage>139</fpage>
          -
          <lpage>146</lpage>
          , doi: 10.1109/ASMS-SPSC.
          <year>2012</year>
          .
          <volume>6333065</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E. S.</given-names>
            <surname>Lohan</surname>
          </string-name>
          , “
          <article-title>A comparative study of 3D UE positioning in 5G new radio with a single station</article-title>
          ,
          <source>” Sensors</source>
          , vol.
          <volume>21</volume>
          , no.
          <issue>4</issue>
          , p.
          <fpage>1178</fpage>
          ,
          <string-name>
            <surname>Feb</surname>
          </string-name>
          .
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Koivisto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Costa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Werner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Heiska</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Talvitie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Leppanen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Koivunen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Valkama</surname>
          </string-name>
          , “
          <article-title>Joint device positioning and clock synchronization in 5G ultra-dense networks</article-title>
          ,
          <source>” IEEE Trans. Wireless Commun.</source>
          , vol.
          <volume>16</volume>
          , no.
          <issue>5</issue>
          , pp.
          <fpage>2866</fpage>
          -
          <lpage>2881</lpage>
          , May
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>E. Y.</given-names>
            <surname>Menta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Malm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Jantti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ruttik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Costa</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K.</given-names>
            <surname>Leppanen</surname>
          </string-name>
          , “
          <article-title>On the performance of AoA-based localization in 5G ultra-dense networks</article-title>
          ,
          <source>” IEEE Access</source>
          , vol.
          <volume>7</volume>
          , pp.
          <volume>33</volume>
          <fpage>870</fpage>
          -
          <lpage>33</lpage>
          880, Mar.
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hua</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Hsu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Liao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Yao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Yeh</surname>
          </string-name>
          , and H. Liu, “
          <article-title>Direction-of-Arrival Estimator using Array Switching on Software Defined Radio Platform</article-title>
          ,” in
          <source>2011 IEEE International Symposium on Antennas and Propagation (APSURSI)</source>
          ,
          <year>July 2011</year>
          , pp.
          <fpage>2821</fpage>
          -
          <lpage>2824</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>M.-C. Hua</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.-H. Hsu</surname>
          </string-name>
          , and H.-C. Liu, “
          <article-title>Implementation of Direction-of-</article-title>
          <source>Arrival Estimator on Software Defined Radio Platform,” in 2012 8th International Symposium on Communication Systems, Networks Digital Signal Processing (CSNDSP)</source>
          ,
          <year>July 2012</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          .K.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Ettus</surname>
          </string-name>
          .
          <article-title>Ettus Research Knowledge Base: USRP N300/N310</article-title>
          . Available: https://kb.ettus. com/N300/N310.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Pohlmann</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Staudinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Caizzone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Dammann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            , &amp;
            <surname>Hoeher</surname>
          </string-name>
          ,
          <string-name>
            <surname>P. A.</surname>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>Bayesian In-Situ Calibration of Multiport Antennas for DoA Estimation: Theory and Measurements</article-title>
          .
          <source>IEEE Access</source>
          ,
          <volume>10</volume>
          ,
          <fpage>37967</fpage>
          -
          <lpage>37983</lpage>
          . https://doi.org/10.1109/access.
          <year>2022</year>
          .
          <volume>3164520</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Product</surname>
          </string-name>
          documentation-NI.
          <year>NI2955</year>
          . https://www.ni.com/docs/de-DE/bundle/usrp-2955- specs/page/specs.html.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Z.-M. Liu</surname>
          </string-name>
          and Y.
          <string-name>
            <surname>-Y. Zhou</surname>
          </string-name>
          , “
          <article-title>A unified framework and sparse Bayesian perspective for direction-of-arrival estimation in the presence of array imperfections,”</article-title>
          <source>IEEE Trans. Signal Process.</source>
          , vol.
          <volume>61</volume>
          , no.
          <issue>15</issue>
          , pp.
          <fpage>3786</fpage>
          -
          <lpage>3798</lpage>
          , Aug.
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Xie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Trinkle</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B. W.-H.</given-names>
            <surname>Ng</surname>
          </string-name>
          , “
          <article-title>DOA estimation under mutual coupling of uniform linear arrays using sparse reconstruction,” IEEE Wireless Commun</article-title>
          .
          <source>Lett.</source>
          , vol.
          <volume>8</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>1004</fpage>
          -
          <lpage>1007</lpage>
          , Aug.
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>I.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Baxter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ellingson</surname>
          </string-name>
          , H.-G. Park,
          <string-name>
            <given-names>H. S.</given-names>
            <surname>Oh</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Kyeong</surname>
          </string-name>
          , “
          <article-title>An experimental study of antenna array calibration</article-title>
          ,
          <source>” IEEE Trans. Antennas Propag.</source>
          , vol.
          <volume>51</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>664</fpage>
          -
          <lpage>667</lpage>
          , Mar.
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>P.</given-names>
            <surname>Heidenreich</surname>
          </string-name>
          and
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Zoubir</surname>
          </string-name>
          , “
          <article-title>High-resolution direction finding of coherent sources in the presence of model errors using alternating projections</article-title>
          ,” in
          <source>2009 IEEE/SP 15th Workshop on Statist. Signal Process</source>
          .,
          <string-name>
            <surname>Cardif</surname>
            ,
            <given-names>UK</given-names>
          </string-name>
          , Aug.
          <year>2009</year>
          , pp.
          <fpage>521</fpage>
          -
          <lpage>524</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <source>[15] 3GPP, “Study on NR positioning enhancements (Release</source>
          <volume>17</volume>
          ),” http://www.3gpp.org/DynaReport/38857.htm, 3rd Generation Partnership
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Usage</surname>
            <given-names>Manual - GNU</given-names>
          </string-name>
          <string-name>
            <surname>Radio</surname>
          </string-name>
          . https://wiki.gnuradio.org/index.php/Usage_Manual.
          <source>Project (3GPP)</source>
          ,
          <source>Technical Report (TR) 38.857</source>
          ,
          <string-name>
            <surname>Mar</surname>
          </string-name>
          .
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <fpage>3GPP</fpage>
          ,
          <string-name>
            <surname>“</surname>
            <given-names>NR</given-names>
          </string-name>
          ;
          <article-title>Physical channels</article-title>
          and modulation,” http://www.3gpp.org/DynaReport 38211.htm,
          <source>3rd Generation Partnership Project (3GPP)</source>
          ,
          <source>Technical Specification (TS) 38</source>
          .
          <fpage>211</fpage>
          ,
          <string-name>
            <surname>Jun</surname>
          </string-name>
          .
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>De</surname>
            <given-names>Angelis</given-names>
          </string-name>
          , Guido &amp; Angelis, Alessio &amp; Händel, Peter &amp; Carbone,
          <string-name>
            <surname>Paolo.</surname>
          </string-name>
          (
          <year>2010</year>
          ).
          <article-title>Estimation of the Calibration Parameters for an UWB Indoor Positioning System</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Eberhardt</surname>
            ,
            <given-names>Michael</given-names>
          </string-name>
          &amp; Eschlwech, Philipp &amp; Biebl,
          <string-name>
            <surname>Erwin.</surname>
          </string-name>
          (
          <year>2016</year>
          ).
          <article-title>Investigations on antenna array calibration algorithms for directionofarrival estimation</article-title>
          .
          <source>Advances in Radio Science. 14. 181190. 10</source>
          .5194/ars141812016.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>