Robust model predictive control and observer for direct drive applications