Switched reluctance motor – controller and driver