Abstract
Unbalanced accelerations occurring during tram travel have a significant impact on passenger comfort and safety, as well as on the rate of wear and tear on infrastructure and rolling stock. Ideally, these dynamic forces should be monitored continuously in real-time; however, traditional systems require high-precision accelerometers and proprietary software-investments often beyond the reach of municipally funded tram operators. To this end, as part of the research project "Accelerometer Measurements in Rail Passenger Transport Vehicles", pilot measurement campaigns were conducted in Poland on tram lines in Gdańsk, Toruń, Bydgoszcz, and Olsztyn. Off-the-shelf smartphones equipped with MEMS accelerometers and GPS modules, running the Physics Toolbox Sensor Suite Pro app, were used. Although the research employs widely known methods, this paper addresses part of the gap in affordable real-time monitoring by demonstrating that, in the future, equipment equipped solely with consumer-grade MEMS accelerometers can deliver sufficiently accurate data in applications where high precision is not critical. This paper presents an analysis of a subset of results from the Gdańsk tram network. Lateral (x) and vertical (z) accelerations were recorded at three fixed points inside two tram models (Pesa 128NG Jazz Duo and Düwag N8C), while longitudinal accelerations were deliberately omitted at this stage due to their strong dependence on driver behavior. Raw data were exported as CSV files, processed and analyzed in R version 4.2.2, and then mapped spatially using ArcGIS cartograms. Vehicle speed was calculated both via the haversine formula-accounting for Earth's curvature-and via a Cartesian approximation. Over the ~7 km route, both methods yielded virtually identical results, validating the simpler approach for short distances. Acceleration histograms approximated Gaussian distributions, with most values between 0.05 and 0.15 m/s(2), and extreme values approaching 1 m/s(2). The results demonstrate that low-cost mobile devices, after future calibration against certified accelerometers, can provide sufficiently rich data for ride-comfort assessment and show promise for cost-effective condition monitoring of both track and rolling stock. Future work will focus on optimizing the app's data collection pipeline, refining standard-based analysis algorithms, and validating smartphone measurements against benchmark sensors.