In this paper, an adaptive neuro-fuzzy inference system (ANFIS) has been presented to speed control of a switched reluctance motor (SRM). SRMs have become an attractive alternative in variable speed drives due to their advantages such as structural simplicity, high reliability, high efficiency and low cost. But, the SRM performance often degrades for the machine parameter variations. The SRM converter is difficult to control due to its nonlinearities and parameter variations. In this study, to tackle these problems, an adaptive neurofuzzy controller is proposed. Heuristic rules are derived with the membership functions then the parameters of membership functions are tuned by ANFIS. The algorithm has been implemented on a digital signal processor (TMS320F240) allowing great flexibility for various real time applications. Experimental results demonstrate the effectiveness of the proposed ANFIS controller under different operating conditions of the SRM. (C) 2004 Elsevier Ltd. All rights reserved.