Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add velocity feedback in motor control #37

Open
andreadelprete opened this issue Oct 17, 2017 · 0 comments
Open

Add velocity feedback in motor control #37

andreadelprete opened this issue Oct 17, 2017 · 0 comments

Comments

@andreadelprete
Copy link
Collaborator

Currently the motor controller is a pure torque control, meaning that the desired current is a function of the desired and estimated joint torques only (plus friction compensation, which of course depends on velocity). A simple trick used by many people at the DRC to improve tracking was to add a velocity feedback term. The reference motor velocities dq_mot were computed by integrating the desired accelerations computed by the inverse-dynamics controller ddq_des. However, to avoid the drift of dq_mot, they used a leaky integrator expressed by this first-order ODE:

ddq_mot = a * (dq - dq_mot) + ddq_des

where dq_mot is the integral of ddq_mot. The leaking rate a determines the rate at which the in-
tegral drifts towards the estimated velocity dq. In [1] they have set a to 75 for the lower body joints and 0 for the upper body joints to account for the different actuator impedances.

[1] "Optimization-Based Whole-Body Control of a Series Elastic Humanoid Robot", Hopkins, Leonessa, Lattimer, and Hong, http://www.worldscientific.com/doi/pdf/10.1142/S0219843615500346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants