Robust nonlinear stick-slip friction compensation