Nonlinear variable structure filter for the online trajectory scaling