<!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 />
    <article-meta>
      <title-group>
        <article-title>Floor Plan-free Particle Filter for Indoor Positioning of Industrial Vehicles</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ivo Silva</string-name>
          <email>ivo@dsi.uminho.pt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Adriano Moreira</string-name>
          <email>adriano.moreira@algoritmi.uminho.pt</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria Joa˜o Nicolau</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cristiano Penda˜o</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Algoritmi Research Center, University of Minho</institution>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Industry 4.0 is triggering the rapid development of solutions for indoor localization of industrial vehicles in the factories of the future. Either to support indoor navigation or to improve the operations of the factory, the localization of industrial vehicles imposes demanding requirements such as high accuracy, coverage of the entire operating area, low convergence time and high reliability. Industrial vehicles can be located using Wi-Fi fingerprinting, although with large positioning errors. In addition, these vehicles may be tracked with motion sensors, however an initial position is necessary and these sensors often sufer from cumulative errors (e.g. drift in the heading). To overcome these problems, we propose an indoor positioning system (IPS) based on a particle filter that combines Wi-Fi fingerprinting with data from motion sensors (displacement and heading). Wi-Fi position estimates are obtained using a novel approach, which explores signal strength measurements from multiple Wi-Fi interfaces. This IPS is capable of locating a vehicle prototype without prior knowledge of the starting position and heading, without depending on the building's floor plan. An average positioning error of 0.74 m was achieved in performed tests in a factory-like building.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;indoor positioning</kwd>
        <kwd>particle filter</kwd>
        <kwd>Wi-Fi fingerprinting</kwd>
        <kwd>sensor fusion</kwd>
        <kwd>industrial vehicles</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        visible Access Points (APs)) are obtained in known positions (reference points) which compose
the building’s radio map. In the online phase, a Wi-Fi fingerprint is obtained, then it is
compared against the radio map using a similarity function (e.g. Euclidean or Manhattan
distance). Finally, a position is obtained using for example the k-Nearest-Neighbor (kNN)
algorithm. Due to the nature of Wi-Fi signals, fingerprinting is characterized by large maximum
errors and achieves mean errors between 2 m and 4 m [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The main disadvantage of this
technique is related with the construction and maintenance of the radio map, which are time
demanding tasks that take a significant efort to accomplish. The larger the building, the
longer it takes to properly construct the radio map. Since the radio map tends to degrade over
time, recalibration is required by collecting new Wi-Fi fingerprints. To overcome this issue,
some solutions explore collaborative ways of updating the radio map [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>The positioning and tracking of industrial vehicles have demanding requirements, namely,
a fast convergence time (the time it takes to find the absolute position of the vehicle with
an acceptable positioning error), a low maximum error, and coverage of the entire
operating area. In this paper, we address the indoor positioning of industrial vehicles, including
autonomous mobile robots, manned or even hybrid vehicles (can be both autonomously and
manually operated). To solve this problem, we propose a particle filter (PF) solution for the
fusion of motion data with Wi-Fi fingerprinting. It takes advantage of the Wi-Fi technology
that provides coverage of the entire operating area, which makes it afordable to deploy in large
industrial scenarios. In addition, vehicles are tracked using motion sensors, namely, an inertial
measurement unit (IMU) (providing heading) and a rotary encoder (providing displacement)
to improve accuracy. In our solution, no assumptions are made regarding the starting
position/heading, i.e. there is no initial information regarding the position and heading of the
vehicle. The absolute heading provided from the IMU sensor could be used, however it can be
afected by magnetic perturbations from large machinery in industrial environments. Since the
proposed solution will be deployed in an industrial scenario it should be capable of estimating
the position as well as the heading.</p>
      <p>The main contributions of this paper are threefold. First, the proposed solution achieves
better performance than traditional Wi-Fi fingerprinting for indoor tracking. Second, indoor
positioning and tracking of industrial vehicles is achieved without any assumption regarding the
starting position/heading. Third, in contrast with most particle filters, which take advantage
of the oflor plan to remove particles that have hit walls or obstacles, the proposed solution
does not depend on the building’s floor plan.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Diferent technologies may be used for localization and tracking in indoor environments, such
as, Wi-Fi [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], Wireless Sensor Networks [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and IEEE 802.15.4a [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Usually, filtering techniques
such as the Kalman filter or particle filter (PF) are used to perform the fusion of sensor data
for indoor positioning [
        <xref ref-type="bibr" rid="ref5 ref8 ref9">8, 5, 9, 10</xref>
        ]. Variations of these filtering techniques are often explored for
indoor positioning because, when properly configured, they are capable of estimating noise and
achieving an accurate estimated position. Kalman filters are suitable for linear problems where
the noise tends to be Gaussian. Extended and Unscented Kalman filters can be used in
nonlinear problems. In addition, PFs are commonly used to perform sensor fusion in non-linear
and non-Gaussian problems.
      </p>
      <p>The ubiquity of WLAN networks has led many researchers to explore Wi-Fi for indoor
positioning and tracking. In [11], several positioning solutions are compared against each
other in an of-site competition, in which teams implement their own algorithms using the
same training and evaluation data, collected with a smartphone. The solution with the best
results uses Wi-Fi fingerprinting based on the kNN algorithm, achieving a mean error of 3 m.</p>
      <p>
        Improved positioning performance is achieved when Wi-Fi is combined with other sensors.
In [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], odometry is combined with Wi-Fi fingerprinting and floor plan constraints in order to
estimate the position of autonomous robots. In the real-time phase, the robot’s location is
estimated using a Monte Carlo algorithm (particle filter) with Bayesian filtering [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. A mean
location error of 1.2 m was achieved in an experiment where the robot covered a trajectory
818 m long.
      </p>
      <p>Zou et al. [12], proposed a system based on pedestrian dead reckoning (PDR). Two
approaches may be used to provide position estimates: one that uses a PF to fuse Wi-Fi
fingerprinting with PDR, and another based on a PF that uses Wi-Fi nfigerprinting with PDR but
also adds iBeacon technology to improve position estimates. The proposed solution achieves a
mean error of 1.48 m and 0.60 m in performed tests using the former and the latter approaches,
respectively.</p>
      <p>Liu et al. [13] proposed a network-based indoor tracking system, which uses a PF to combine
inertial data with physical layer channel state information (CSI) from Wi-Fi signals. A mobile
device (smartphone) broadcasts Wi-Fi packets (with IMU timestamped data) to anchor nodes
that are distributed through the indoor environment. Anchor nodes send the packets to a
central server that extracts the CSI information from WiFi cards in anchor nodes, and finally
track the target with these two pieces of information. A mean error of 1.30 m was achieved in
experiments carried out in a building with 16x18 m.</p>
      <p>In [14], machine learning is used to merge Wi-Fi fingerprinting with PDR data. Initial
position and heading are estimated with the proposed algorithm that takes advantage of PDR
data to mitigate the weakness of Wi-Fi-based positioning. Performed experiments in a large
building (167x27 m) have revealed a mean error of 2.71 m.</p>
      <p>The main drawbacks of the above-mentioned solutions are that some use PDR which is not
applicable to vehicles because the movement models of vehicles and pedestrians are
diferent, and some solutions require additional infra-structure (iBeacons or anchor nodes) which
represent additional deployment and maintenance costs.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed Solution</title>
      <p>Particle filters are a type of Monte Carlo algorithms suitable for solving estimation problems in
non-linear non-Gaussian scenarios. In comparison to the Kalman filter, PFs have the advantage
of not relying on any local linearization technique or any crude functional approximation.
The disadvantage of PFs is that they are computationally expensive. However, with the
increasing computational capabilities, it is now possible to have real-time applications for
indoor positioning.</p>
      <p>A particle filter uses many particles with diferent weights which represent the probability
of the particle being in the real position. Initially, particles are dispersed throughout the space
and, as the vehicle starts moving, particles also move and start converging to an area where it
is more likely to be the vehicle’s true position. Updating particles’ positions and weights as the
vehicle moves around allows to remove particles from places where it is unlikely or impossible
for the vehicle to be at. The removal of particles is performed in a process called resampling.
In this process, particles with lower weights are removed and particles with higher weights are
copied to create new particles. The weighted average of the particles’ positions and headings
represents the estimated position and heading of the vehicle.</p>
      <sec id="sec-3-1">
        <title>3.1. Top level algorithm</title>
        <p>As introduced previously, the particle filter depends on three processes: sampling (when data
from sensors is received); updating particles’ weights; and resampling. The flowchart, in
Figure 1, depicts the top level algorithm of the proposed PF.</p>
        <p>A particle is defined as p = (w, x, y, h, ho), where w denotes the weight of the particle, (x, y)
represent the position coordinates of the particle in a Euclidean space (since we are considering
one single floor the z coordinate value remains fixed, hence it is not used), h represents the
heading of the particle and ho represents the heading ofset of the particle, which is used
because the initial heading is unknown.</p>
        <p>initialize particles</p>
        <p>Alg. 1</p>
        <p>start
get next
sample
ODO</p>
        <p>no
IMU</p>
        <p>no
WIFI
yes
yes
yes
update particles'
positions</p>
        <p>Eq. 1
update particles'
headings</p>
        <p>Eq. 2
update particles'
weights
Eqs. 3, 4
update vehicle
position and</p>
        <p>heading
Eqs. 11, 12
resample
Eqs. 6-8</p>
        <p>After particles have been initialized (see Section 3.2), the algorithm enters a loop that waits
for data coming from sensors. In this loop:
• Every time a new odometer sample is received, the positions of the particles are updated;
• Particles’ headings are updated when a new IMU sample is obtained;
• Particles’ weights are updated when a new Wi-Fi sample is obtained, then they are
subject to resampling;
• Finally, an estimated position and heading is obtained by combining the particles’
positions and headings. This process is performed after updating the particles’ headings,
defining the PF sampling rate which is a reasonable update interval (20 Hz) that does
not compromise computing performance.</p>
        <p>As an alternative to using the building’s floor plan to remove particles that have hit walls
or obstacles, we propose a diferent approach where the reference points used in Wi-Fi
fingerprinting are used to define areas where vehicles can navigate, therefore only a limited set of
points is necessary to define these areas. If particles move into areas where no reference points
exist, they must be removed. Navigable areas are defined by a set of reference points, where
each point covers the area of a circle with radius r.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Particles initialization</title>
        <p>Usually, particles are uniformly distributed throughout the navigable space when they are
initialized. This approach leads to large errors in initial iterations, as particles take some
time before converging into a small area. We explore a diferent approach, where particles are
created near reference points where it is more likely for the vehicle to be near. Algorithm 1
describes how particles are initialized.</p>
        <p>Algorithm 1: Initialize particles.
1: procedure Initialize Particles(W iF in, M )
2: c=centroid of first W iF in Wi-Fi position estimates
3: RP s=list of ref. points within a rini radius of c
4: np = M/#(RP s)
5: for rp in RP s do
6: for i = 1 until np do
7: w = 1/M
8: x = rp.x + rand(0, r)
9: y = rp.y + rand(0, r)
10: h = 0
11: ho = rand(− π, π )
12: p = (w, x, y, h, ho)
13: P = P ∪ {p} set of all particles</p>
        <p>In our experiments, the total number of particles (M ) considered is 3000, a distance of √2 m
and 4 m were defined as the r and rini values, respectively. The first value was chosen because
the reference points used to create the radio map are distributed in a grid with 1 m between
points. The second value (4 m) represents the typical mean error of a Wi-Fi fingerprinting
system. The number of Wi-Fi position estimates obtained before the initialization was defined
as W iF in=3. Each Wi-Fi position estimate was obtained using kNN with k=5.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Update particles’ positions</title>
        <p>Particles need to be moved to a new position with each new odometer sample. The position of
each particle is updated using a motion model, where the displacement is obtained from the
latest odometer sample, and using its current heading value:
x = x− 1 − (l + nl) ∗ sin(h)
y = y− 1 + (l + nl) ∗ cos(h)
(1)
where x− 1 and y− 1 represent the previous position coordinates of the particle, l represents
the displacement and nl represents zero-mean Gaussian noise added to the displacement. In
conducted tests, nl is defined by N(0, 0 .004 m).</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Update particles’ headings</title>
        <p>Once a new heading sample is received, particles’ headings are updated. A particle’s heading
includes the heading obtained from the IMU sensor, a random value and the random heading
ofset (which was generated when the particle was created):
h = θ + nθ + ho
(2)
(3)
(4)
where θ represents the latest heading sample from the IMU sensor, nθ represents zero-mean
Gaussian noise and ho is the heading ofset of the particle. In our experiments, nθ is
characterized by N(0, 0.05o).</p>
      </sec>
      <sec id="sec-3-5">
        <title>3.5. Update particles’ weights</title>
        <p>Particles’ weights are updated based on Wi-Fi position estimates. Whenever a particle is
further than r meters of any reference point within the indoor space, its weight is set to zero,
because it means that the particle has moved into an area where the vehicle cannot navigate
through. The r parameter depends on the distance between adjacent reference points.</p>
        <p>The current weight of a particle is updated based on the distance between the particle and
the latest Wi-Fi position estimate. The larger the distance between the particle and the latest
Wi-Fi position estimate, the lower its weight will be. The final weight of each particle depends
on the current weight value and on its previous value:</p>
        <p>w = (1 − α ) ∗ w− 1 + α ∗ (1 − dn)
where w− 1 represents the previous particle weight, dn is the normalized distance between
the particle and the latest Wi-Fi position estimate, and α is a value between 0 and 1 which
represents how much the current weight contributes to the particle weight, conversely, (1 − α )
represents how much the previous weight contributes to the particle’s weight. The normalized
distance, dn, is given by:
dn =</p>
        <p>d − min(D)
max(D) − min(D)
where d represents the distance between the particle and the latest Wi-Fi position estimate, and
D represents the set of distances between all particles and the latest Wi-Fi position estimate.
Warm-up
Once particles are initialized, the PF starts estimating the vehicle’s position. During the first
iterations, the confidence on the vehicle’s estimated position is low because the initial heading
is unknown and because the particles take some time to converge into a concentrated cluster.
Therefore, during the first iterations, the importance of Wi-Fi position estimates should be
higher when updating the particles’ weights. After this period, Wi-Fi position estimates can
be given a lower importance in updating the particles’ weights. This can be done by adjusting
the value of alpha in equation 3 over time, starting with alpha equal to one and reducing its
value during the warm-up period up to a minimum value (α min), as follows:
α (t) =
︃{ (1 − α min) ∗ (e− t/35) + α min , t &lt; twarm− up
α min
, t ≥ twarm− up
where t denotes the time since particles were created, α min denotes the value of α after
warmingup, and twarm− up defines the warm-up time. We have set α min = 0.05 and twarm− up = 180 s.</p>
      </sec>
      <sec id="sec-3-6">
        <title>3.6. Resampling</title>
        <p>Resampling particles has the purpose of removing particles with lower weights and replace them
with new ones in order to allow a faster convergence and to maintain the particle diversity.
Two parameters are used to define how particles are removed, the resample percentage and the
weight threshold. The first ( resample%) defines a percentage of particles with lower weights
that are removed. The second (wth) denfies a threshold where particles with weights lower
than it are removed.</p>
        <p>In the resampling process, two distinct cases (depicted in Figure 2) may occur depending
on the resample%, the wth and the particles’ weights. Figure 2 (a) shows the case in which
percentage of samples removed from the wth criteria is lower than resample%, while Figure 2 (b)
illustrates the opposite case.</p>
        <p>1
1
1
1
2
2
2
2
3
3
3
3
(5)
(6)
(ordered by decreasing weight)
(ordered by decreasing weight)
...</p>
        <p>...</p>
        <p>PPaarrttiicclleess  
(a)
((aa))
...</p>
        <p>...</p>
        <p>PPaarrttiicclleess  
((bb))
(b)
(ordered by decreasing weight)
(ordered by decreasing weight)
rreessaammppllee%%</p>
        <p>wwtthh
wwtthh rreessaammppllee%%</p>
        <p>MM--22</p>
        <p>MM--11</p>
        <p>M</p>
        <p>M
MM--22</p>
        <p>MM--11</p>
        <p>M
M</p>
        <p>In both scenarios, the particles removed due to the resample% (represented in green in
following a similar process as the one described in Section 3.2. The weight of new particles
near the Wi-Fi position estimate is defined by:
w =
︃{
wmin</p>
        <p>, dvw &gt; dmax
f (dvw) , dvw ≤ dmax
where dvw represents the distance between the vehicle’s latest position estimate (ρ vehicle) and
the Wi-Fi position estimate (ρ wifi), dmax defines the maximum allowed distance between
ρ vehicle and ρ wifi, and,
f (dvw) =
dmax − dvw
dmax</p>
        <p>× (wmax − wmin) + wmin
where the distance dvw is converted into a weight value between wmin and wmax, the lower the
distance the higher the weight value. This gives more emphasis to ρ wifi estimates when they
are closer to ρ vehicle and have a lower impact when ρ wifi is further away from ρ vehicle, which
occurs when ρ wifi is an outlier.</p>
        <p>IMU sensors are susceptible to magnetic perturbations which afect magnetometer readings,
consequently afecting the estimated heading, which usually leads to drift in the heading. Drift
can be minimized by assigning diferent heading ofsets to resampled particles because there
are particles that follow the real trajectory whilst others will move away from the trajectory or
move into non-navigable areas. Particles that follow the real trajectory are the ones that hold
the most likely heading ofset, therefore they will end-up having higher weights. To minimize
drift in the heading and improve heading estimation, resampled particles created around ρ wifi
have a new heading ofset, defined as:</p>
        <p>A combined sample can be obtained by computing the average of the RSSI values from each
interface:
where
where ho′ is the heading ofset of a randomly selected particle (from the subset of particles
with weight higher than wth) and nho represents a zero-mean Gaussian distributed random
angle. In our experiments, nho is defined by N(0, 8 ◦ ).</p>
        <p>When the resample% of particles is lower than the number of removed particles due to the
wth (Figure 2 (b)), it is necessary to create new particles (represented in purple in Figure 2 (b))
to maintain the total number of particles constant. These new particles are created from the
sub-set of particles that have weights higher than wth, which are randomly selected and copied.</p>
        <p>We have set the following parameters in the resampling process: dmax = 4 m, wmin = 0.05,
wmax = 0.5 and resample% = 0.1.</p>
      </sec>
      <sec id="sec-3-7">
        <title>3.7. Wi-Fi position estimation</title>
        <p>
          We have devised a new technique for improving positioning performance with Wi-Fi
fingerprinting. In this technique, described in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], fingerprints from multiple Wi-Fi interfaces are
merged into one Wi-Fi sample which is then compared with the samples from the radio map.
Since received signal strength values from distinct interfaces are not correlated (see [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]), we
can average them into a unique sample, which results in lower mean and maximum errors.
        </p>
        <p>Let us assume that N interfaces are used and that all of them collect a sample at the same
time instant.</p>
        <p>We define a Wi-Fi sample</p>
        <p>sit as the list of RSSI (Received Signal Strength
Indicator) values measured by interface i, from each of the R access points, in time instant t:
ho = ho′ + nho
sit = (︁ RSSI1i , ..., RSSIRi)︁
st =
︂( RˆS︂SI1, ..., RˆS︂SIR</p>
        <p>︂)
︂( RSSIj1 + ... + RSSIjN )︂
(8)
(9)
(10)
where RSSIi refers to the signal strength of AP i from the radio map sample (rm) and the
online test sample (t).</p>
        <p>The most similar radio map Wi-Fi samples are the ones used to find a Wi-Fi position
estimate. We use the kNN algorithm to find the position estimate based on the k most similar
radio map Wi-Fi samples:
∑︁k
ρ wifi(x, y) = i=1 ski(x, y) (13)
where ρ wifi(x, y) represents the Wi-Fi position estimate and s represents each of the k most
similar Wi-Fi radio map samples. In our experiments we set k = 5.</p>
      </sec>
      <sec id="sec-3-8">
        <title>3.8. Particle filter position estimation</title>
        <p>The weighted average of particles’ positions represents the vehicle’s estimated position, defined
as:</p>
        <p>The calibration phase comprises the collection of several combined Wi-Fi samples at known
reference points spread through the navigable space. In the real-time phase, the similarity of a
Wi-Fi sample is computed for all samples of the radio map. Manhattan similarity was chosen
as the similarity function, defined as:
(12)
(14)
(15)
ρ vehicle(x, y) =
∑︁M
i=1 pi(x, y) × pi.w
∑︁M</p>
        <p>i=1 pi.w
hvehicle = tan− 1
︄( ∑︁M</p>
        <p>i=1 sin(pi.h) × pi.w )︄
∑︁M</p>
        <p>i=1 cos(pi.h) × pi.w
where ρ vehicle(x, y) represents the vehicle’s position, pi(x, y) and pi.w refer to the position and
weight of the ith particle.</p>
        <p>Similarly, we obtain the estimated heading of the vehicle:
where hvehicle represents vehicle’s heading, pi.h and pi.w refer to the heading and weight of
the ith particle.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments</title>
      <p>We conducted experiments using a prototype of a vehicle that we refer to as mobile unit.
Before starting any experiments it was necessary to map and afix tags to the floor in the
testing scenario so that we could create the radio map and obtain ground truth information
when running experiments.</p>
      <sec id="sec-4-1">
        <title>4.1. Testing Scenario</title>
        <p>The PIEP building, shown in Figure 3, is located at the University of Minho and measures 50
by 20 m and is more than 8 m high. In many aspects, it is similar to a factory plant with large
machinery, plenty of metal structures and tools, and some large open spaces, therefore it is an
ideal scenario to conduct experiments.</p>
        <p>Eleven Wi-Fi APs operating in the 2.4 GHz frequency band, represented by the blue circles
in Figure 4, are present in the building. The set of reference points considered in the Wi-Fi
radio map are represented by the grey squares in Figure 4. The distance between adjacent
reference points is one meter, in most of the cases.</p>
        <p>20
15
10
5
0
path 1
path 2
path 3
path 4
AP
ref. point
-30
-20
-10
0
10
20</p>
        <p>Before performing tests, it was necessary to create a radio map by collecting 20 samples at
each reference point (around 4000 total samples). Each one of the samples includes merged RSS
values from five fingerprints, each one of them collected through a diferent Wi-Fi interface.</p>
        <p>We collected test data in four distinct trajectories, depicted in Figure 4. The duration of
each trajectory was 10, 6, 6 and 4 minutes respectively, and the travelled distance over all
trajectories sums up to almost 300 m. Data was collected by moving the mobile unit over
the trajectories at normal pedestrian speed (around 1 m/s). Ground truth data was manually
collected, with the help of a video camera pointed towards the floor where it recorded the
reference tags as the mobile unit moves over them.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Mobile Unit</title>
        <p>We have equipped a trolley with several sensors. It can be easily pushed to emulate the
movement of a vehicle in indoor environments. As shown in Figure 5, the mobile unit is
equipped with a Raspberry Pi Model 3B with integrated Wi-Fi interface as well as the following
sensors: four external Wi-Fi interfaces (Edimax EW-7811un) connected through a USB HUB;
an IMU (Xsens MTi-300 AHRS) to measure the heading; and an absolute encoder (US Digital
A2) to measure the displacement.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>The euclidean distance between the position estimate and the ground truth was used as the
positioning error metric. The PF solution was executed with data from each testing trajectory
ifve times and obtained similar results.</p>
      <p>Table 1 shows the PF positioning results of each trajectory which include position estimates
of all runs. The last two columns of the table (“All” and “After warm-up”) consider all position
estimates of all runs. For comparison, Table 2 shows Wi-Fi fingerprinting results, obtained
with k = 5.</p>
      <p>The proposed PF is capable of minimizing the main problems of Wi-Fi fingerprinting,
reducing overall the maximum error (from 18.12 m to 9.48 m) and achieving a great improvement in
the mean error (from 3.68 m to 1.47 m). The maximum error with the PF is still considerable
due to the warm-up period, in which particles are still converging.</p>
      <p>Regarding the results achieved with the PF, a significant improvement is observed (Table 1)
in the overall mean error after the warm-up time. The mean error is reduced from 1.47 m to
0.74 m because larger positioning errors, mostly observed during the warm-up period, are not
considered. This can be observed in Figure 6, that depicts the error variation over time in each
trajectory (includes all five runs). As expected, larger positioning errors are observed during
the initial phase when the PF is still converging. Once the PF converges, the positioning error
remains low, suggesting that better overall results would be achieved in longer experiments.
Industrial vehicles are expected to be in operation during long periods, therefore this last
metric (after warm-up) is the one that better represents the expected accuracy of our solution
in a real environment.</p>
      <p>0
100
300
400
0
100
200
300</p>
      <p>The PF estimated positions of trajectory 1 are depicted in Figure 7. As can be seen, initially
there is a higher error during the warm-up period, then the PF converges and the estimated
path follows the real trajectory closely.
10
9
8
7
) 6
m
r( 5
ro4
r
E3
2
1
0
8
7
6
)5
m
(4
r
o
rr3
E2
1
0
20
15
10
5
0
-30
-20
-10
0
10
20</p>
      <p>Figure 8, shows the CDF of the positioning error. The overall CDF curve of the PF has a
much higher maximum error (over 9 m) when comparing to the PF CDF after warm-up where
the maximum error is approximately 2 m.</p>
      <p>In the performed tests, we have considered that the initial heading is unknown, because
magnetic perturbations, if present, might afect the absolute heading estimated by the IMU
sensor. However, in scenarios where magnetic perturbations are not a concern, there are
applications where the initial heading is provided and reliable, for instance, electric industrial
vehicles usually charge in a docking station where they maintain their heading, hence knowing
the initial heading can speed-up the convergence time of the PF. In this context, we decided to
run the previous experiments with a known initial heading and achieved an overall mean error
of 0.85 m and 0.80 m (after warm-up). The main diference in these results is that the larger
errors are minimized, reducing the mean and maximum errors. When the initial heading is
known, the maximum error of trajectories 1, 2 3, and 4 is 1.58 m, 4.39 m, 1.42 m, and 1.87 m,
respectively.</p>
      <p>
        Table 3 shows the proposed solution compared with similar indoor positioning systems. The
best performance is achieved with the proposed PF (after warm-up). The solutions in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
and [13] achieve 1.20 m and 1.30 m mean error, followed by the proposed PF solution (when
considering also the warm-up period). A mean error of 2.71 m is achieved with the positioning
system [14], which uses PDR with Wi-Fi fingerprinting, hence, it cannot be applied to vehicles.
Finally, our fingerprinting implementation has achieved slightly worse results than the UMinho
Team, the winning team of Track 3 (smartphone-based of-site) IPIN 2017 Competition.
      </p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>We have presented a solution for the indoor positioning and tracking of industrial vehicles,
consisting of a particle filter that performs the sensory fusion of Wi-Fi and motion sensors’
data without depending on the floor plan of the building. In addition, the proposed solution
is capable of estimating the position and heading without knowledge of the initial position
and heading. Wi-Fi fingerprinting takes advantage of existing WLAN infra-structure and
allows to obtain an absolute position which is used to provide an initial position and to update
particles’ weights whenever a new Wi-Fi sample is obtained. Motion sensors (IMU and encoder)
allow an accurate tracking of the vehicle during the navigation through the industrial space.
We conducted experiments in a factory-like environment where we collected test data with
a vehicle-like prototype. An overall mean error of 0.74 m and maximum error of 2 m are
achieved when considering that the particle filter has already converged. The performance
achieved by our solution makes it suitable for the localization and tracking of vehicles in
industrial environments, allowing to improve day-to-day tasks performed by these vehicles.
It is also appropriate for supporting indoor navigation, however it does not have suficient
accuracy for tasks such as docking, which require higher accuracy. In the future, we intend
to develop a solution to improve the particle filter convergence time and to conduct further
experiments to validate this solution using real industrial vehicles.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work has been supported by FCT – Fundac˜a¸o para a Ciˆencia e Tecnologia within the
R&amp;D Units Project Scope: UIDB/00319/2020, the PhD fellowship PD/BD/137401/2018 and
the Technological Development in the scope of the projects in co-promotion no 002814/2015
(iFACTORY 2015-2018).
[10] E. Ivanjko, I. Petrovci,´ Extended Kalman filter based mobile robot pose tracking using
occupancy grid maps, Proc. Mediterr. Electrotech. Conf. - MELECON 1 (2004) 311–314.
doi:10.1109/melcon.2004.1346851.
[11] J. Torres-Sospedra, A. Jimen´ez, A. Moreira, T. Lungenstrass, W.-C. Lu, S. Knauth,
G. Mendoza-Silva, F. Seco, A. Per´ez-Navarro, M. Nicolau, A. Costa, F. Meneses, J. Farina,
J. Morales, W.-C. Lu, H.-T. Cheng, S.-S. Yang, S.-H. Fang, Y.-R. Chien, Y. Tsao,
OfLine Evaluation of Mobile-Centric Indoor Positioning Systems: The Experiences from the
2017 IPIN Competition, Sensors 18 (2018) 487. URL: http://www.mdpi.com/1424-8220/
18/2/487. doi:10.3390/s18020487.
[12] H. Zou, Z. Chen, H. Jiang, L. Xie, C. Spanos, Accurate indoor localization and tracking
using mobile phone inertial sensors, WiFi and iBeacon, 4th IEEE Int. Symp. Inert. Sensors
Syst. Inert. 2017 - Proc. (2017) 1–4. doi:10.1109/ISISS.2017.7935650.
[13] Z. Li, D. B. Acuna, Z. Zhao, J. L. Carrera, T. Braun, Fine-grained indoor tracking by
fusing inertial sensor and physical layer information in WLANs, 2016 IEEE Int. Conf.</p>
      <p>Commun. ICC 2016 (2016). doi:10.1109/ICC.2016.7511162.
[14] L. H. Chen, E. H. K. Wu, M. H. Jin, G. H. Chen, Intelligent fusion of wi-fi and inertial
sensor-based positioning systems for indoor pedestrian navigation, IEEE Sens. J. 14 (2014)
4034–4042. doi:10.1109/JSEN.2014.2330573.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Bahl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Padmanabhan</surname>
          </string-name>
          ,
          <string-name>
            <surname>RADAR:</surname>
          </string-name>
          <article-title>an in-building RF-based user location and tracking system</article-title>
          ,
          <source>in: Proc. IEEE INFOCOM 2000. Conf. Comput. Commun. Ninet. Annu. Jt. Conf. IEEE Comput. Commun. Soc. (Cat. No.00CH37064)</source>
          , volume
          <volume>2</volume>
          ,
          <year>2000</year>
          , pp.
          <fpage>775</fpage>
          -
          <lpage>784</lpage>
          . URL: http://ieeexplore.ieee.org/document/832252/. doi:
          <volume>10</volume>
          .1109/INFCOM.
          <year>2000</year>
          .
          <volume>832252</volume>
          . arXiv:
          <volume>1106</volume>
          .
          <fpage>0222</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Moreira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Silva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Meneses</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Nicolau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Pendao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Torres-Sospedra</surname>
          </string-name>
          ,
          <article-title>Multiple simultaneous Wi-Fi measurements in fingerprinting indoor positioning</article-title>
          ,
          <source>in: 2017 Int. Conf. Indoor Position</source>
          . Indoor Navig.,
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          , Sapporo, Japan,
          <year>2017</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          . URL: http: //ieeexplore.ieee.org/document/8115914/. doi:
          <volume>10</volume>
          .1109/IPIN.
          <year>2017</year>
          .
          <volume>8115914</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.</given-names>
            <surname>Torres-Sospedra</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Jimen´ez,
          <string-name>
            <given-names>S.</given-names>
            <surname>Knauth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moreira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Beer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Fetzer</surname>
          </string-name>
          , V.-C. Ta,
          <string-name>
            <given-names>R.</given-names>
            <surname>Montoliu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Seco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Mendoza-Silva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Belmonte</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Koukofikis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nicolau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Costa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Meneses</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ebner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Deinzer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Vaufreydaz</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.-K. Dao</surname>
          </string-name>
          , E. Castelli,
          <source>The Smartphone-Based Ofline Indoor Location Competition at IPIN</source>
          <year>2016</year>
          :
          <article-title>Analysis</article-title>
          and
          <string-name>
            <given-names>Future</given-names>
            <surname>Work</surname>
          </string-name>
          ,
          <source>Sensors</source>
          <volume>17</volume>
          (
          <year>2017</year>
          )
          <article-title>557</article-title>
          . URL: http://www.mdpi.com/1424-8220/17/3/557. doi:
          <volume>10</volume>
          .3390/s17030557.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Matos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moreira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Meneses</surname>
          </string-name>
          ,
          <article-title>Wi-Fi fingerprint similarity in collaborative radio maps for indoor positioning</article-title>
          ,
          <source>in: Inforum</source>
          <year>2014</year>
          ,
          <year>2014</year>
          , pp.
          <fpage>184</fpage>
          -
          <lpage>194</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Biswas</surname>
          </string-name>
          , M. Veloso,
          <article-title>WiFi localization and navigation for autonomous indoor mobile robots</article-title>
          ,
          <source>in: Proc. - IEEE Int. Conf. Robot. Autom.</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>4379</fpage>
          -
          <lpage>4384</lpage>
          . doi:
          <volume>10</volume>
          .1109/ ROBOT.
          <year>2010</year>
          .
          <volume>5509842</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Fu</surname>
          </string-name>
          , Z.-g. Hou,
          <string-name>
            <surname>G. Yang,</surname>
          </string-name>
          <article-title>An indoor navigation system for autonomous mobile robot using wireless sensor network</article-title>
          ,
          <source>in: 2009 Int. Conf. Networking, Sens. Control</source>
          ,
          <year>2009</year>
          , pp.
          <fpage>227</fpage>
          -
          <lpage>232</lpage>
          . URL: http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm? arnumber=4919277. doi:
          <volume>10</volume>
          .1109/ICNSC.
          <year>2009</year>
          .
          <volume>4919277</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>C.</given-names>
            <surname>Rohrig</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hess</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Kirsch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Kunemund</surname>
          </string-name>
          ,
          <article-title>Localization of an omnidirectional transport robot using IEEE 802.15.4a ranging and laser range finder</article-title>
          ,
          <source>in: 2010 IEEE/RSJ Int. Conf. Intell. Robot. Syst., IEEE</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>3798</fpage>
          -
          <lpage>3803</lpage>
          . URL: http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=5651981{%}5Cnhttp: //ieeexplore.ieee.org/xpls/abs{ }all.jsp?arnumber=5651981http://ieeexplore.ieee.org/ document/5651981/. doi:
          <volume>10</volume>
          .1109/IROS.
          <year>2010</year>
          .
          <volume>5651981</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Thrun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Burgard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Dellaert</surname>
          </string-name>
          ,
          <article-title>Robust Monte Carlo localization for mobile robots</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>128</volume>
          (
          <year>2001</year>
          )
          <fpage>99</fpage>
          -
          <lpage>141</lpage>
          . URL: https://linkinghub.elsevier.com/retrieve/ pii/S0004370201000698. doi:
          <volume>10</volume>
          .1016/S0004-
          <volume>3702</volume>
          (
          <issue>01</issue>
          )
          <fpage>00069</fpage>
          -
          <lpage>8</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Soh</surname>
          </string-name>
          , L. Xie,
          <article-title>Fusion of WiFi, Smartphone Sensors and Landmarks Using the Kalman Filter for Indoor Localization</article-title>
          ,
          <source>Sensors</source>
          <volume>15</volume>
          (
          <year>2015</year>
          )
          <fpage>715</fpage>
          -
          <lpage>732</lpage>
          . URL: http://arxiv.org/abs/1007.0085http://www.mdpi.com/1424-8220/ 15/1/715. doi:
          <volume>10</volume>
          .3390/s150100715. arXiv:
          <volume>1007</volume>
          .
          <fpage>0085</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>