Direct energy converter controllers for switched reluctance motor operation