Vehicle Trajectory Optimization Based on Limiting Average Algorithm

Xingdong Wang, Shuo LiuIEEE Access 2021

Introduction

Global Positioning System (GPS) data is the backbone of modern urban infrastructure, supporting logistics, ride-sharing, and traffic management. However, raw GPS data is frequently corrupted by noise. This noise typically falls into two categories: accidental noise (sharp outliers caused by signal multipath) and periodic noise (high-frequency jitter). Additionally, high-frequency sampling creates significant data redundancy, straining server memory and processing capabilities. This paper proposes a hybrid pipeline to address both noise and redundancy through a combination of limiting filtering, moving average smoothing, and the Douglas–Peucker algorithm.

Methodology

The proposed optimization pipeline consists of three sequential stages designed to refine raw trajectory data:

  1. Limiting Filtering: This initial stage targets accidental noise. By comparing each new data point to its predecessor against a threshold $A$, the system identifies and replaces outliers with the previous valid value, preventing "chaotic broken lines."
  2. Moving Average Algorithm: To mitigate periodic jitter, a sliding window of size $N$ is applied. The authors use a "limiting average" approach where the limiting filter precedes the moving average to ensure outliers do not skew the mean.
  3. Douglas–Peucker Algorithm: After denoising, the trajectory is compressed using the Douglas–Peucker algorithm. This identifies critical points that define the path's geometry and discards redundant points that fall within a specified distance of the simplified path.
Visual representation of the Douglas–Peucker algorithm stages for trajectory thinning.

Key Insights: The Smoothing Trade-off

A critical finding of the study is the impact of the window size ($N$) in the moving average stage. While larger values of $N$ result in smoother trajectories, excessive smoothing can cause the path to "drift" from the actual road. The authors identified $N=8$ as the optimal balance for highway data. Furthermore, applying the Douglas–Peucker algorithm after denoising ensures that the thinning process preserves the true path rather than fitting to noise.

Comparison of original noisy trajectory data versus denoised results with different window sizes (N).

Experimental Results

The algorithm was tested using real-world GPS data from a highway in Foshan, China, comprising 241 initial trajectory points. Performance was measured using Mean Square Error (MSE), Root Mean Square Error (RMSE), and Mean Absolute Error (MAE).

  • Superior Accuracy: The "limiting average" method achieved an MSE of approximately 8.86e-10, significantly lower than the 2.97e-09 recorded for the Savitzky-Golay filter.
  • Data Compression: The Douglas–Peucker stage reduced the dataset from 241 to 170 points—a 29% reduction—without compromising visual fidelity on the Cesium map engine.

Conclusion

The hybrid limiting average and Douglas–Peucker pipeline provides a robust solution for cleaning and compressing vehicle trajectory data. By effectively handling both accidental and periodic noise while reducing data volume, this approach enhances the efficiency of large-scale location-based services. Future work will focus on automating parameter selection for $A$ and $N$ to adapt to diverse urban environments.

Summary updated

BibTeX
@article{wang2021vehicle,
  author = {Xingdong Wang and Shuo Liu},
  title = {{Vehicle Trajectory Optimization Based on Limiting Average Algorithm}},
  journal = {IEEE Access},
  year = {2021},
  doi = {10.1109/access.2020.3047386},
}
Figure