Single-Chip Microprocessor Control for Switched Reluctance Motor Drive