Accurate Prediction and Estimation of 3D-Repetitive-Trajectories using Kalman Filter, Machine Learning and Curve-Fitting Method

Aakriti Agrawal, Aashay Anil Bhise, Rohitkumar Arasanipalai, Lima Agnel Tony, Shuvrangshu Jana, Debasish GhosearXiv 2020

Abstract

Accurate estimation and prediction of trajectory is essential for the capture of any high speed target. In this paper, an extended Kalman filter (EKF) is used to track the target in the first loop of the trajectory to collect data points and then a combination of machine learning with least-square curve-fitting is used to accurately estimate future positions for the subsequent loops. The EKF estimates the current location of target from its visual information and then predicts its future position by using the observation sequence. We utilize noisy visual information of the target from the three dimensional trajectory to carry out the predictions. The proposed algorithm is developed in ROS-Gazebo environment and is implemented on hardware.

Introduction

Capturing a high-speed moving target—such as a rogue drone or specific fruit in an automated orchard—is a significant challenge in robotics. Standard tracking methods like the Kalman Filter are excellent at estimating the current state but often struggle to predict the future state of a target that has a speed advantage or when sensor data is noisy and intermittent.

This research identifies a specific opportunity: many autonomous targets follow repetitive, mathematically derivable paths. If a tracking system can recognize the geometry of the path (e.g., a lemniscate or a deltoid), it can move from reactive tracking to proactive interception, optimizing control effort and increasing the success rate of the capture.

Methodology

The proposed framework operates in three distinct phases to transition from raw sensor data to a high-fidelity predictive model.

1. Initial Tracking (EKF)

During the target's first loop, an Extended Kalman Filter (EKF) is used to estimate the target's position and velocity from noisy visual data. This phase focuses on data collection, building a sequence of observations that represent the target's initial trajectory.

2. Shape Classification (Machine Learning)

The collected data points are processed to identify the underlying geometric pattern. To handle 3D trajectories, the system uses Singular Value Decomposition (SVD) to find the plane of motion, rotating the 3D points into a 2D plane. These 2D coordinates are then fed into a feed-forward neural network.

Neural network architecture for trajectory shape classification.

The network is trained to classify the trajectory into one of nine "high-order" geometric categories. This classification provides a strong geometric prior for the final estimation stage.

3. Trajectory Refinement (Curve Fitting)

Once the shape is identified, the system applies the Levenberg-Marquardt algorithm—an iterative least-squares method—to solve for the specific parameters of that shape, such as radius, offset, and orientation.

Geometric curves and their corresponding mathematical equations used for trajectory fitting.

By fitting the noisy data to a precise mathematical model, the system can predict the target's position many steps into the future, enabling predictive guidance.

Results and Discussion

The system was validated using synthetic data, ROS-Gazebo simulations, and hardware implementations. Key findings include:

  • High Classification Accuracy: The neural network achieved a 98% accuracy in identifying the correct geometric shape from noisy point clouds.
  • Robust Curve Fitting: The Levenberg-Marquardt algorithm successfully estimated parameters for complex shapes like the Lemniscate of Gerono and the Nephroid, even under significant Gaussian noise.
  • Predictive Power: By leveraging geometric templates, the system outperforms standard tracking filters alone, allowing for proactive interception.

Limitations and Future Work

The current 3D-to-2D transformation assumes the repetitive trajectory lies on a flat plane. If a target follows a non-planar path, such as a corkscrew, the SVD-based rotation method would require adjustment. Additionally, the system is currently limited to a fixed library of nine shapes. Future work will focus on predicting target locations for more complex, non-standard trajectories.

Summary updated

BibTeX
@misc{agrawal2020accurate,
  author = {Aakriti Agrawal and Aashay Anil Bhise and Rohitkumar Arasanipalai and Lima Agnel Tony and Shuvrangshu Jana and Debasish Ghose},
  title = {{Accurate Prediction and Estimation of 3D-Repetitive-Trajectories using Kalman Filter, Machine Learning and Curve-Fitting Method}},
  year = {2020},
  eprint = {2009.00067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.00067},
}
Figure