Stability of Electric drives