A clock state estimator for PTP time synchronization in harsh environmental conditions