A novel time delay estimation method for real-time nonlinear control systems