Design Considerations Of Universal Controller For Switched Reluctance Motor And Permanent Magnet Brushless Direct Current Dc Motor