<!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>December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Feasibility Study: Magnetic-Based Passenger Localization in Train Stations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Estefania Munoz Diaz</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francisco Jurado Romero</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lorena Perez Aguilar</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dmitry Gubenko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dina Bousdar Ahmed</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Communications and Navigation, German Aerospace Center (DLR)</institution>
          ,
          <addr-line>Wessling</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>2</volume>
      <issue>2021</issue>
      <abstract>
        <p>Train stations are a key element of any transport network because they concentrate a large amount of passenger trafic on a daily basis. Passenger localization in train stations is though limited nowadays by the lack of satellite reception indoors and underground. A possible solution could be to use magnetometers, since they are embedded in today's smartphones and are available in all urban environments. One of the most extended algorithms to perform magnetic localization is magnetic fingerprinting, however magnetic fingerprinting has not yet been proved viable in train stations. The aim of this article is to present a feasibility study of the possibility to apply magnetic fingerprinting in train stations to locate passengers. We have measured and analyzed the magnetic maps of diferent train stations in Munich, Germany. Our results show that, the functioning of the trains and the electric topology of the stations hinder the passenger localization using magnetic fingerprinting.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;magnetic localization</kwd>
        <kwd>urban multimodal localization</kwd>
        <kwd>magnetic fingerprinting</kwd>
        <kwd>magnetic map</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Passenger localization in train stations is limited nowadays by the lack of satellite reception
in indoor or underground environments, see Figure 1. Train stations are a core aspect of any
transport network since they concentrate a large amount of passenger trafic on a daily basis.</p>
      <p>An accurate localization in train stations would enable many location-based services, such
as finding specific shops in the station or guidance for visually impaired passengers. Travel
planning applications could indicate personalized commuting options depending on the physical
condition of each passenger or the multimodal chain chosen for each trip.</p>
      <p>
        The ubiquity of smartphones has enabled the development of localization systems for indoor
environments based, e.g. on inertial sensors [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], signal intensity levels, or most commonly a
combination of both [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3, 4</xref>
        ].
      </p>
      <p>Nonetheless, smartphones are also equipped with magnetometers and train stations have the
potential of presenting a characteristic magnetic field signature. The biggest advantage of
magnetometers is that they can be used in all scenarios, such as outdoors, indoors or undergrounds,
to provide a seamless navigation during urban trips. Therefore, we envision the possibility of
using the magnetic field to locate passenger in train platforms.</p>
      <p>Passenger localization based on magnetic fingerprinting has two main steps. A first step to
construct a map or database of magnetic field values at diferent positions of a specific area; e.g.
a train platform. The second step is the matching or inference of the measured magnetic field
to a specific position in the map or an entry in the database.</p>
      <p>Until now, there has been works that demonstrated the possibility of using the magnetic field
intensity and inertial measurements to track a pedestrian’s position in controlled environments
by means of a particle filter [5, 6, 7].</p>
      <p>These works have a common structure: the particle filter implements a movement model
based on dead-reckoning, which is based on inertial measurements. Then, the particles are
updated based on matching, i.e. comparing, the magnetic field intensity of each particle to the
one measured by the magnetometer. Those particles whose magnetic field is most similar to
the measured one are those which survive. The authors in [8] implement magnetic field map
matching based on a particle-filter as well. However, they use simultaneously three magnetic
maps, namely horizontal, vertical and direction maps, to position a robot.</p>
      <p>Magnetic field-based positioning can also be implemented without particle filters. For instance,
the authors in [9] use magnetic map matching to reduce the drift in an inertial localization
system based on smartphones. Other works go beyond the combination of magnetic field and
inertial measurements, and integrate signal intensity levels as well [10]. The authors in [11] in
contrast implement a hidden Markov Model to match the measured magnetic field intensity to
a magnetic map.</p>
      <p>To the best of our knowledge, the magnetic fingerprinting technique has not yet been applied
in train stations to locate passengers. Thus, the goal of this article is to present a feasibility
study of the possibility to apply magnetic fingerprinting in train stations to locate passengers.</p>
      <p>There is some infrastructure in train stations that may generate characteristic magnetic
signatures, e.g. metallic objects, such as pillars, bins or benches; or electrified structures, such as
mechanical stairs, lifts or ticket machines. However, the power line of the trains may destabilize
the magnetic map of the station.</p>
      <p>In order for the magnetic map of the train station to be suitable for localization purposes, it
has to fulfill the following characteristics:
• High spatial variation
• Low temporal variation</p>
      <p>The high spatial variation facilitates the mapping, because a low spacial variation implies
that many entries of the stored map have similar values. The temporal variation on the contrary
needs to be low in order for the stored map to be stable over time.</p>
      <p>Section 1 is dedicated to the introduction. Section 2 is commited to describe our measurement
setup. Section 3 analyzes the diferent urban trains present in Munich. Section 4 is devoted to
the generation of the magnetic maps of the diferent train stations. Finally, Section explains 5
sums up the conclusions of this work.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Measurement Setup</title>
      <p>The measurements of the magnetic field have been performed with a rigid wooden structure,
which has four magnetometers fixed at 1.7 m, 1.4 m, 1.1 m und 0.8 m height, see Figure 2. The
chosen heights represent the height of the four most common smartphone positions, respectively
phoning, reading, pocket and hanging.</p>
      <p>The three-axis magnetometers have been calibrated. The calibration of the magnetometer is
of crucial importance in order to correct instrumentation errors and magnetic deviations, i.e. soft
and hard iron efects due to the host platform [ 12]. In order to calibrate the magnetometers, the
cardboard structure has been manually moved describing random paths covering all directions.
The recorded raw magnetic field measurements form a shifted ellipsoid if the magnetometers
are not calibrated. A least-squares algorithm is used to find the rotation, translation and scaling
factor to bring the ellipsoid to a sphere with radius equal to 1 centered in the origin. The
center of the sphere represents the biases of the three-axis magnetometer. The radius of the
sphere is used to normalize the uncalibrated magnetic measurements to the local magnetic field
intensity. The calibration process took take place in a disturbances-free environment, i.e. under
a homogeneous magnetic field.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Analysis of Diferent Urban Trains of the City of Munich</title>
      <p>For this work we consider diferent types of train networks of the city of Munich. There are
two types of urban trains in Munich: the subway (U-Bahn) that runs mostly underground in the
city area, and the suburban train (S-Bahn) that covers a wide area and often run aboveground.
In Table 1 we present the electric characteristics of these two train networks.</p>
      <p>Current
Electrification
Voltage
Intensity</p>
      <p>Suburban Train
Alternate
Catenary
15 000 V
16.7 A</p>
      <p>Subway
Direct
Rails
750 V
&gt;1000 A</p>
      <p>The suburban train network of the city of Munich is based on overhead contact wire, that
means, the current is transportated over the catenaries. The suburban train runs on alternate
current at 15 000 V. The subway network of the city of Munich is based on a rail contact wire,
that means, the current is transportated at the rail level. The suburban train runs on direct
current and drows more than 1000 A to accelerate and brake.</p>
      <p>In order to cover a representative subset of train stations, we have chosen three suburban
train stations: one in the suburbs, which is outdoors, and two underground stations, one in
the city center and one that is shared with subway lines crossing at a diferent level. We have
measured in two diferent subway stations (all underground): one belonging to a single line and
one station shared by two subway lines at the same level.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Generation of Magnetic Maps</title>
      <sec id="sec-4-1">
        <title>4.1. Static Measurements of Subway Stations</title>
        <p>In order to examine if the magnetic map of the platforms is suficiently invariant over time,
we have performed static measurements over 15 min. We have chosen this timespan to allow
measuring at least one train entering and leaving the station during these static measurements.
The chosen point to perform the static measurements is not located in the proximity of electrified
constructions that might add magnetic field perturbations, such as mechanical stairs or lifts.</p>
        <p>The static measurements at the Holzapfelkreuth subway station show that the magnetic
ifeld temporal variation is so high that the map obtained is no longer meaningful within a few
seconds. This is shown in Figure 3, where the blue line shows the norm of the three axis of the
magnetometer positioned at 1.1 m height. The shadowed blue areas represent the timespan
where the trains circulating on the adjacent track enter, stay and leave the station. The shadowed
orange area represents the timespan where the train circulating on the main track enters, stays
and leaves the station.</p>
        <p>Figure 3 shows with a blue line the norm of the three-axis magnetometer positioned at
1.1 m height. As the figure shows, high-amplitude temporal variations of the magnetic field
of the subway station are constantly measured. These temporal variations are due to trains
accelerating and braking in the station under observation and in nearby stations. The subway
stations are connected in Munich in groups of 10, therefore magnetic field generated by trains
moving in nearby stations can be as well measured. This is due to the very high current intensity
the subway needs to accelerate and brake, see Table1.</p>
        <p>This very high current intensity causes a strong magnetic field that can be measured not
only at the platform level, but also in another levels. These results have been observed as
well at the platform and at the shops level of the subway station Muenchner Freiheit. The
high-amplitude temporal variations of the magnetic field of subway stations makes it unfeasible
to generate a stable magnetic map, needed for the localization of passengers based on magnetic
ifngerprinting.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Static Measurements of Suburban Train Stations</title>
        <p>We have performed static measurements of 15 min duration in one point of the centric
underground suburban train station Marienplatz depicted in Figure 1.</p>
        <p>Figure 4 shows the blue line that represents the norm of the three axis of the magnetometer
positioned at 1.1 m height. The blue line for the suburban train stations seems to be thicker for
suburban trains than for the subway, however, this efect is due to the sinusoid created by the
alternate current. The shadowed orange areas represent the timespan where the train enters,
stays and leaves the station. In this platform there is only one track in one direction, therefore
only main track. As Figure 4 shows, medium-amplitude temporal variations of magnetic field
are constantly measured.</p>
        <p>We have performed static measurements at the platform of the Rosenheimer Platz suburban
train station, located in the city center and at the Gauting suburban train station, located in the
suburbs of Munich, obtaining similar results.</p>
        <p>The low-amplitude temporal variations of the magnetic field of the suburban train station
shown in Figure 5 are constantly measured. These temporal variations are due to trains
accelerating and braking in the station under observation and in nearby stations. Comparing this
ifgure with the results obtained for the train station Marienplatz, see Figure 4, one can see that
the temporal variations of the latter are of greater amplitude.</p>
        <p>The train station Marienplatz is placed in the urban area of the city and shares station with
the subway. Despite of the fact of the suburban train platform not being at the same floor as
the subway platform, the strong magnetic field of the subway line can be measured as well at
the suburban train platform. Therefore, for shared stations, the resulting magnetic map of the
suburban train platform includes medium-amplitude temporal variations of the magnetic field
due to the proximity of the subway platform.</p>
        <p>All in all for the non-shared suburban train stations, the amplitude of the temporal variations
caused by trains accelerating and braking in the station under observation and in nearby stations
is in average 8 µT. That means that the spatial variations of the magnetic map of the station
should be greater than this value in order for the map to be useful for passenger localization.</p>
        <p>The next step is to create a map of a suburban train station to analyze the spatial variation
of the magnetic field. In view of the obtained results, we have decided to continue our study
with the Gauting suburban train station, since the Rosenheimer Platz suburban train station in
Munich city center is much more transited by trains and passengers.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Magnetic Map of Suburban Train Stations</title>
        <p>In order to analyze a representative part of a train station, we have decided to generate the
longitudinal map of the train platform with the aim of analyzing its spatial variation. We have
chosen a grid of 0.5 m spacing, producing a map of 110 points. We have chosen this grid spacing
because it is the minimum meaningful accuracy for passenger localization taking into account
the human body dimensions.</p>
        <p>Each grid point represented in Figure 6 is computed as the average of the values measured
during 5 s in static. In addition, each longitudinal map has been measured eight times and the
eight realizations have been averaged in order to reduce the influence of the trains.</p>
        <p>Figure 6 shows the recorded magnetic map at diferent heights, namely 1.7 m, 1.4 m, 1.1 m
und 0.8 m, that correspond with the smartphone positions phoning, reading, pocket and hanging,
respectively. This magnetic map has been created with the wooden structure shown in Figure 2.</p>
        <p>In order to analyze the temporal variation of the resulting map over a longer timespan, we
have carried out four more measurements during two months. No significant changes have
been observed in the resulting magnetic maps obtained during that period, being the mean
standard deviation for all measured grid points is 0.39 µT.</p>
        <p>Even if the resulting magnetic map of the non-shared suburban train platforms has proven
to be static over time, its spatial variations are mainly in the range of 8 µT for all measured
magnetometer heights, as shown in Figure 6. Taking into account that the average amplitude
of the temporal variations of the magnetic field caused by trains is as well in the range of 8 µT,
see Figure 5, the use of magnetic fingerprinting for passenger localization in suburban train
platforms is hindered.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>In this work we present a feasibility study of the possibility to generate magnetic maps of train
stations to locate passengers using magetic fingerprinting. We have analyzed diferent types of
urban trains of the city of Munich.</p>
      <p>On the one hand, we have observed that high-amplitude temporal variations of the magnetic
ifeld of the subway are measured. These temporal variations are always present and are due to
trains accelerating and braking in the station under observation and in nearby stations. Thus, it
is not possible to generate a stable magnetic map of subway stations.</p>
      <p>On the other hand, low-amplitude temporal variations caused by trains accelerating and
braking in the station under observation and in nearby stations are constantly measured in
suburban train stations. Even if the magnetic map of non-shared suburban train stations is
proven to be stable over time, the magnitude of the temporal variations produced by trains is
very similar to the magnitude of the spatial variation of the magnetic map, hindering this way
the passenger localization in suburban train stations using magnetic fingerprinting.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Acknowledgement</title>
      <p>The authors would like to thank SWM, the local mobility provider of the city of Munich, and
particularly the department "Strategie &amp; Mobility Lab" for their help in measuring and analyzing
the obtained results.
[4] A. A. Panyov, A. A. Golovan, A. S. Smirnov, Indoor positioning using Wi-Fi fingerprinting
pedestrian dead reckoning and aided INS, in: 2014 International Symposium on Inertial
Sensors and Systems (ISISS), IEEE, 2014. doi:10.1109/isiss.2014.6782540.
[5] M. Frassl, M. Angermann, M. Lichtenstern, P. Robertson, B. J. Julian, M. Doniec, Magnetic
maps of indoor environments for precise localization of legged and non-legged locomotion,
in: 2013 International Conference on Intelligent Robots and Systems (IROS), IEEE/RSJ,
2013.
[6] S.-E. Kim, Y. Kim, J. Yoon, E. S. Kim, Indoor positioning system using geomagnetic
anomalies for smartphones, in: 2012 International Conference on Indoor Positioning and
Indoor Navigation (IPIN), IEEE, 2012. doi:10.1109/ipin.2012.6418947.
[7] E. L. Grand, S. Thrun, 3-axis magnetic field mapping and fusion for indoor localization, in:
2012 IEEE International Conference on Multisensor Fusion and Integration for Intelligent
Systems (MFI), IEEE, 2012. doi:10.1109/mfi.2012.6343024.
[8] H.-S. Kim, W. Seo, K.-R. Baek, Indoor positioning system using magnetic field map
navigation and an encoder system, Sensors 17 (2017) 651. doi:10.3390/s17030651.
[9] J. Kuang, X. Niu, P. Zhang, X. Chen, Indoor positioning based on pedestrian dead reckoning
and magnetic field matching for smartphones, Sensors 18 (2018) 4142. doi: 10.3390/
s18124142.
[10] Y. Li, Y. Zhuang, H. Lan, Q. Zhou, X. Niu, N. El-Sheimy, A hybrid WiFi/magnetic
matching/PDR approach for indoor navigation with smartphone sensors, IEEE Communications
Letters 20 (2016) 169–172. doi:10.1109/lcomm.2015.2496940.
[11] S. Shahidi, S. Valaee, GIPSy: Geomagnetic indoor positioning system for smartphones, in:
2015 International Conference on Indoor Positioning and Indoor Navigation (IPIN), IEEE,
2015. doi:10.1109/ipin.2015.7346761.
[12] V. Renaudin, M. H. Afzal, G. Lachapelle, Complete Triaxis Magnetometer Calibration
in the Magnetic Domain, Journal of Sensors. Hindawi Publishing Corporations. (2010).
doi:10.1155/2010/967245.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Ma</surname>
          </string-name>
          , Y. Wu,
          <string-name>
            <given-names>R.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <article-title>Comparison of pedestrian tracking methods based on foot-and waist-mounted inertial sensors and handheld smartphones</article-title>
          ,
          <source>IEEE Sensors Journal</source>
          (
          <year>2019</year>
          )
          <fpage>1</fpage>
          -
          <lpage>1</lpage>
          . doi:
          <volume>10</volume>
          .1109/jsen.
          <year>2019</year>
          .
          <volume>2919721</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Zou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Xie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Spanos</surname>
          </string-name>
          ,
          <article-title>Accurate indoor localization and tracking using mobile phone inertial sensors, WiFi and iBeacon</article-title>
          ,
          <source>in: 2017 IEEE International Symposium on Inertial Sensors and Systems (INERTIAL)</source>
          , IEEE,
          <year>2017</year>
          . doi:
          <volume>10</volume>
          .1109/isiss.
          <year>2017</year>
          .
          <volume>7935650</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Correa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Munoz</given-names>
            <surname>Diaz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. Bousdar</given-names>
            <surname>Ahmed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Morell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Lopez</given-names>
            <surname>Vicario</surname>
          </string-name>
          ,
          <article-title>Advanced pedestrian positioning system to smartphones and smartwatches</article-title>
          ,
          <source>Sensors</source>
          <volume>16</volume>
          (
          <year>2016</year>
          )
          <year>1903</year>
          . doi:
          <volume>10</volume>
          .3390/s16111903.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>