Analysis of relay-based feedback compensation of Coulomb friction