Real-Time Numerical Differentiation of Sampled Data Using Adaptive Input and State Estimation
Shashank Verma, Sneha Sanjeevini, E. Dogan Sumer, Dennis S. Bernstein
TL;DR
This work tackles real-time numerical differentiation under unknown signal and noise characteristics by introducing adaptive input estimation with an adaptive Kalman filter (AIE/ASE). The method jointly estimates the input derivative $d_k$ and system state $x_k$ while online-adjusting covariances via residuals, and it encompasses NSE, SSE, and ASE variants. Across two-tone harmonic signals and CarSim vehicle data, AIE/ASE consistently outperforms conventional baselines such as Backward-Difference, Savitzky–Golay, and High-Gain-Observer methods, especially when noise characteristics vary. The proposed framework enables robust, model-free derivative estimation in digital control, with practical impact on real-time estimation tasks and vehicle dynamics applications.
Abstract
Real-time numerical differentiation plays a crucial role in many digital control algorithms, such as PID control, which requires numerical differentiation to implement derivative action. This paper addresses the problem of numerical differentiation for real-time implementation with minimal prior information about the signal and noise using adaptive input and state estimation. Adaptive input estimation with adaptive state estimation (AIE/ASE) is based on retrospective cost input estimation, while adaptive state estimation is based on an adaptive Kalman filter in which the input-estimation error covariance and the measurement-noise covariance are updated online. The accuracy of AIE/ASE is compared numerically to several conventional numerical differentiation methods. Finally, AIE/ASE is applied to simulated vehicle position data generated from CarSim.
