Torque Control in Harmonic Drives with Nonlinear Dynamic Friction Compensation