## Abstract

This study describes an adaptive sliding mode control (ASMC) for the control of switched reluctance motor (SRM). The main objective is to minimize torque ripples with controller effort smoothness while the system is under perturbation by structured uncertainties, unknown parameters, and external disturbances. The control algorithm employs an adaptive approach to remove the need for prior knowledge within the bound of perturbations. This is suitable for tackling the chattering problem in the sliding motion of ASMC. In order to achieve control effort smoothness and more effective elimination of chattering, the algorithm then incorporates proper modifications in order to build a chattering-free robust adaptive sliding mode control (RASMC) using Lyapunov stability theory. A final advantage of the algorithm is that system stability and error convergence are guaranteed. The effectiveness of the proposed controller in improving robustness and minimizing ripples is demonstrated by numerical simulation. Experimental validation is used to demonstrate the efficiency of the proposed scheme. The results indicate that RASMC provides a superior performance with respect to speed tracking and disturbance rejection over the conventional sliding mode control (CASMC) in the face of uncertainties in model and dynamic loads.

### Keywords

- switched reluctance motor
- ripple minimization
- robust adaptive sliding mode control
- chattering elimination
- automotive application

## 1. Introduction

The past two decades witnessed a unique interest in using switched reluctance motors fueled by their several advantages over other motors. Therefore, one can expect them to play a more crucial role in the industry in the future. The rotor of switched reluctance motor (SRM) has no winding, which gives more preference to the machine, including smaller size, lower costs, higher speeds, and high-power density and reliability [1].

Double saliency structure, inherent magnetic saturation, and time variation of parameters induce nonlinear complexity and high uncertainties in the dynamic model. Furthermore, the load torque uncertainties in many applications such as variable payloads are inevitable. One biggest challenge in SRM drives is torque ripples. Therefore, compared with other methods like magnetic structure design to achieve minimized torque ripple performance, advanced control methods have been considered further, including model predictive control [2], fuzzy logic controller [3], internal model control [4], Lyapunov function-based robust controller [5], and H-infinity robust technique [6, 7]. Moreover, applications of nonlinear robust adaptive algorithms for SRM control have been proposed in [8, 9]. However, the sophisticated design of these methods is their disadvantage. Hence, appropriate simple nonlinear control design regarding uncertainties is necessary.

Recently, designing controllers based on variable structure system and sliding mode control (SMC) thanks to its features such as simplicity, high-speed feedback control that could be easily used along with motor switching circuit, and inherent robustness against nonlinear complex uncertain dynamic systems has been the focus of many researchers. Conventional SMC (CSMC) design for torque control considering ripple reduction is used in [10, 11, 12, 13, 14], but these methods unfortunately suffer from the chattering phenomenon. To solve this problem, several attempts are reported for SRM control that is briefly mentioned as follows.

Ref. [15] introduced robust variable structure control causing reduced torque ripple operation. However, the magnetic saturation is neglected. Ref. [16] proposed SMC-based flux linkage controller for switched reluctance motor. Advantage of chattering reduction is achieved by using boundary layer around the switch surface. However, this method creates a finite steady-state error [17]. The idea of using continuous sliding mode function is also presented in [18]. Fuzzy discontinuous SMC for this purpose is developed in [19], but the results show that chattering exists. Ref. [20] uses a dynamic sliding mode controller in the input of the speed controller instead of sign function, but external disturbance and system uncertainties are not considered. Ref. [21] developed chattering-free nonlinear sliding mode controller; however, it focused on permanent magnet synchronous motor. Higher order sliding mode control (HOSMC) is also proposed for alleviating the chattering problem [22, 23]. For example, [24] proposed second-order sliding mode control (SOSM) with super-twisting algorithm for speed control of SRM but unfortunately it only contains simulation results. Application of second-order sliding mode control with the focus on dynamic improvement of phase currents is also proposed in [25].

The deficiency of most designed controllers based on sliding mode is a result of the requirement of prior knowledge about upper bound of uncertainties and unmodeled dynamics. In other words, the regular SMC estimates upper bound of perturbations through calculation of switching gain to compensate their undesired effect. The gain increases with higher value of upper bound and leads to chattering phenomenon and control effort intensification. This may excite high frequency, which causes problems for hardware implementing. Chattering-free approaches for design SMC are classified in two major categories: interaction with switching gain selection and dynamic modification in sliding function [26]. In the case of switching gain selection, one useful approach is adaptive-based sliding mode controls (ASMC) [27, 28].

In this paper, it is further attempted to develop a SRM drive speed control aiming to torque ripple minimization. In doing so, a robust adaptive-based scheme was applied to overcome the uncertainties of model and load torque. The main idea lies in estimation of desired switching gain to reduce chattering. To make this, there is no need to know the upper bound of uncertainties. On the other hand, control gain is tried to be maintained as small as possible that is sufficient to counteract the uncertainties. The method is used successfully in AC electric drive [29, 30].

In recent years, there is a growing concern to integrate the chattering reduction techniques for building a unified effective method to yield chattering-free performance. For example, [31, 32] integrate HOSMC with gain adaptation techniques. RASMC, which replaces discontinuous sign function by continuous tanh function with incorporation of ASMC, is introduced in [33, 34]. Reference [35] proposed modified robust adaptive control, while the modification occurred in error dynamic definition not in switching function.

A robust adaptive controller by incorporating exponential function instead of discontinuous function is proposed in [36, 37]. Some changes are applied to the control law so that signals of closed-loop system would finally become uniformly bounded. This method is effective in reducing and smoothing the control effort by developing simple estimation of sliding gain despite unknown time-varying perturbations. The approach benefits from the low computational process.

This paper tries to employ RASMC for chattering-free speed control of SRM with high-accuracy robust tracking performance under structured uncertainties and perturbations. The proposed scheme can reject any applied unknown bounded, time-varying disturbances. Torque ripple minimization and transient response improvement are also tried to be achieved. Additionally, the presented method demonstrates control effort considerable smoothness. Asymptotic stability is retained by Lyapunov theory, and it is shown that states of the closed-loop system are bounded and asymptotically converge on zero. The validity and effectiveness of the proposed algorithm have been demonstrated by simulation and experiment. The implementation is presented using a 4KW, four-phase, DSP-based SRM drive system. The results verify the desired performance of proposed strategy by comparing with CASMC.

## 2. The dynamic model of SRM

The SRM possesses a simple design with salient poles on both the rotor and stator but without windings on its rotor. Operation is based on the tendency to stand in alignment with the rotor and stator poles which yields a stable position, and consequently, the reluctance is minimized. Torque production is due to the sequential excitation of diametrically opposite stator poles by a switching algorithm [25]. The basic sets of electrical and mechanical differential equations are used for dynamic modeling of SRM. The motor state–space dynamic model can be stated as

where * B*denotes the motor load friction,

## 3. Conventional adaptive sliding mode control design

In the conventional SMC, the upper bound of uncertainties is needed in controller design, whereas adaptive sliding mode method may estimate the bound of perturbations. By taking the uncertainties into account in the mechanical part of SRM dynamic model (1), one can write

where

Substituting the derivative of

Incorporating the uncertainties in (4) yields

By defining

The instantaneous torque

where

Now, define the Lyapunov function candidate

in which

where

and substitution in (9), one can obtain

Hence, adopting the adaptation law

in (11) gives

and the speed error

## 4. The proposed robust adaptive speed control for SRM

The previous section focused on using an adaptive scheme to estimate the upper bound of model uncertainties. However, the linear model of SRM is used, and only the mechanical uncertainties are considered.

This section proposes an effective solution for eliminating chattering by introducing the RASMC, with incorporating the exponential functions as an effective strategy to smoothen the control effort and reduce chattering. This algorithm is introduced to overcome both the mechanical and electrical uncertainties in the SRM model and the time-varying load torque disturbances. The upper bound of uncertainties is not required in the design procedure and is estimated by an adaptation mechanism to make the control gain small enough. The current dynamics can be written as [28]

where

where

where the nonlinear functions

in which

As a preliminary step to design procedure, rewrite (16) despite the time-varying external disturbance

The uncertain nonlinear term

where

Hence, the SRM nonlinear dynamic model (18) takes the form

The goal is to design a controller that adaptively tunes the controller gain while all the closed-loop signals are bounded.

Assumption 1. The time-varying augmented parameter

Assumption 2. Without loss of generality, assume

Considering

From a physical viewpoint, it is true to assume the positivity of (22) in the range of operation [10], i.e.,

Moreover, consider the fact that the rotor pole arc of the used SRM is larger than its stator pole arc, and the inductance profile does not contain the flatness characteristic. Hence, the coefficient of partial derivative of inductance to position in the produced electromagnetic torque

is always positive.

** Theorem.**Consider the uncertain, nonlinear SRM dynamic model (21). The reference speed tracking, without any steady-state error, is ensured by using the control law

where

where

** Proof.**Choosing the Lyapunov function

where

By Eq. (21), the error dynamics may be written as

Substituting the error dynamics (27) in (26), one obtains

By assumption 1,

Substituting control law (23) in (29) yields

It is straightforward to prove that the inequality

which can be rewritten as

Replacing the update law (24) in (32) gives

Now, integrating (33) in

and consequently

which implies that

For any small (near zero) bound

So, the tracking error is bounded, i.e.,

Remark 1. The exponential terms, formed by

Remark 2. From a theoretical viewpoint, choosing any

## 5. Simulation results

Simulation results are presented here for a SRM with the parameters, given in Appendix B using MATLAB/Simulink. The block diagram of the closed-loop drive control system, using the proposed RASMC, is shown in Figure 4. In the following, the system performance is evaluated despite the variation of load torque, as an external disturbance, and compared with that of CASMC. To this end, the CASMC parameters are selected as

### 5.1 Tracking performance and disturbance rejection study

To demonstrate the performance of the SRM drive with the proposed control scheme, the load torque is abruptly increased from 5 to 10 Nm at 0.05 sec, as an external disturbance, while the reference speed is 200 rpm. The performance of CASMC and RASMC is compared in Figure 5. The chattering phenomenon in control effort is completely removed by the RASMC, as depicted in Figure 5(b).

To demonstrate the effectiveness of using acceleration error in control method, a trapezoidal reference including accelerated part is also used to test the controllers. Figure 6 shows the response of the system to a four-quadrant trapezoidal reference speed profile. It is shown that the speed response with the proposed RASMC is more precise and smoother than CASMC, obtained by adopting the acceleration closed-loop control.

The capability of RASMC in external load disturbance rejection, demonstrated in Figure 7, shows that a considerable robustness against the external load is achieved, compared with the CASMC. Due to the increased uncertainties of the system caused by the increase in the load torque, there is a speed error at 0.05 sec. Figure 8 shows the adaptation of the procedure of the proposed adaptive-based controllers, to overcome such system perturbations.

### 5.2 Robustness against parametric uncertainty

To investigate the behavior of RASMC under parametric variations, the inertia of the motor * B*, and the stator resistance are increased by 100% of the nominal values. Such variations are effectively compensated by the proposed RASMC, as illustrated in Figure 9.

### 5.3 Rejection of time-varying load perturbations

Applying the load torque with the mean torque values of 10 Nm in 200 RPM and 7 Nm in 500 RPM is shown in Figures 10 and 11, respectively. In both cases, the load torque, applied to the motor, is perturbed by a Gaussian noise with variance of 1 Nm. These kinds of load torque perturbations are selected to emulate the electric vehicle driving torque condition [30]. The results show only a small ripple remains in the steady state by applying the RASMC.

## 6. Experimental study

A SRM with same parameters of Appendix B is implemented to experimentally verify the proposed control scheme. The experimental setup is based on a fixed-point TMS320F2812 DSP, which is compatible with Simulink [31]. Such platform includes four dual pulse-width-modulation (PWM) channels (eight channels total), four analog-to-digital converters (ADCs), and a speed encoder input.

Figures 12 and 13 illustrate the laboratory setup and the general layout of the DSP-based drive system, respectively. The experimental hardware, used for evaluating the 8/6 SRM drive, consists of the following sections:

(i) The asymmetrical converter, implemented by using IXSH 35N120A IGBT with a gate driver TLP250 and fast power diodes DSEI 20-12A with a reverse recovery time, less than 40 nanoseconds. (ii) Hall-type galvanic isolation CSNE151–104 Honeywell sensors for measuring the phase currents. A ten-bit absolute encoder Autonics EP50S8, used to determine the rotor position with high accuracy. (iii) The results are obtained under the speed loop switching frequency of 10 kHz and the current loop of 1 kHz. The DC link voltage is kept constant at 280 V.

Some experimental results are presented here by implementing the RASMC and CASMC, from a comparison viewpoint. The numerical values of the parameters, obtained in the simulation studies by trial and error, are used here in the experimental investigations. Figures 14(a) and 15(a) demonstrate the speed response, respectively, under an abrupt external load change from 5 to 10 Nm at 0.05 sec and under a step change in the reference speed from 100 to 200 RPM. Since a torque sensor was not available, for the electromagnetic torque, only armature current of DC generator as a load is depicted in Figure 14(a). Stepping the armature current from 2.7 to 5.2 A is equal to stepping load torque from 5 to 10 Nm. The results show that the RASMC significantly improves the robustness performance. As expected, the RASMC successfully eliminates the chattering in the control efforts, as shown in Figures 14(b) and 15(b). By comparing the results of experimental work with those of the simulation study, the demonstration in Figure 5 is confirmed. Briefly discussing, the results of implementing RASMC not only confirm the better performance in smoothing the control effort but also demonstrate the disturbance attenuation property. As a confirmatory data, Figure 16(a) and (b) depicts the waveforms of experimental current and voltage of two phases for CASMC and RASMC, respectively. It is obvious that the current and voltage signals are smoother by using the RASMC.

## 7. Conclusion

Two nonlinear adaptive sliding mode control algorithms are developed for speed control of SRM in the application of EVs, especially in urban areas that the speed is low and the driving torque is highly fluctuated. This condition is emulated by applying a Gaussian noise to perturb the load torque. First, a conventional adaptive sliding mode control is designed to yield a chattering-free control algorithm. However, linearized SRM model is used, and only mechanical uncertainty of SRM dynamic model is considered.

To implement a high-performance control algorithm for removing these drawbacks, a robust adaptive sliding mode control, namely, RASMC, is proposed. An augmented time-varying uncertainty is defined taking into account the SRM full nonlinear dynamic model and the system uncertainties as well as time-varying load perturbation.

The upper bound of defined augmented uncertainty is not required to be known to make the control gain small enough in order to decrease the chattering and efforts of the controller. Moreover, the exponential terms in sliding function are used to prevent chattering in the control signal. The proposed controller is capable of achieving torque ripple minimization with reduced smooth control effort. The simulation and experimental results also confirm the robustness properties against model uncertainties and time-varying load torque disturbances with significant improvement in speed control loop transient response.

As stated in Section 3, the Lyapunov function is defined in (8) as

where

Finally it can be simplified as

Parameters | Value |
---|---|

Rated power | 4 kW |

RMS rated phase current | 9 A |

Rated DC link | 280 V |

Number of poles | 8/6 |

Phase stator resistance | 0.75 Ω |

Rotational inertia (J) | 0.008 Nms^{2} |

Viscous friction (B) | 0.00078 Nms |

Aligned inductance | 0.114 mH |

Unaligned inductance | 0.0136 mH |