## 1. Introduction

Earlier chapters may have described the fundamental principles of the SRM such as its stator, rotor configuration, construction, and basic operation. The shape of the inductance profile of a switched reluctance machine (SRM) along the air‐gap between stator and rotor poles depends on the resistance along the gap and pole‐widths of stator and rotor as shown in **Figure 1**. The control algorithm is developed based on this inductance profile with respect to rotor position. Motoring can be achieved between unaligned and aligned pole positions because of the positive slope of inductance. Similarly, along the negative slope from aligned to unaligned pole positions, generating torque can be produced [1].

During motoring operation, the machine produces positive torque between unaligned and the next aligned position in forward or reverse directions. In generation, the inductance will be decreasing in the direction of rotation resulting in negative torque. The current flow in the phase winding is always unidirectional; however, the current profiles for the motoring and generating modes are exactly the mirror image of each other along the aligned pole position for the same speed and symmetrical turn‐on and turn‐off angles as shown in **Figure 2**.

## 2. Classic converter topology

Since the torque developed in an SRM is independent of the direction of current flow, unipolar converters are sufficient to serve as the power converter circuit for the SRM. The most flexible and versatile four‐quadrant SRM topology is the classic bridge converter, which has two transistors and two freewheeling diodes per phase as shown in **Figure 3**. The transistor switches are turned on and off in each phase based on the controller output for torque and speed control of the SRM.

There are three modes of converter operation in each phase: magnetization, freewheeling, and demagnetization.

Magnetization period for motoring is when both the switches are turned on and the energy is transferred from the source to the motor phase winding as shown in

**Figure 4(a)**. For generation, the phase winding of the motor is excited initially to generate higher back‐emf than the DC‐link voltage (+*V*_{dc}) with the machine driven by a prime mover. The generated energy is delivered to the electrical side achieving generation.Freewheeling, for motoring operation at lower speeds, is accomplished by keeping one of the switches on and switching the other switch as shown in

**Figure 4(b)**. With only one switch on, the motor phase gets slowly demagnetized through the respective antiparallel freewheeling diode. For generating operation, one of the switches is turned off, whereas the other switch is turned on and off. With only one switch on, the motor phase gets slowly magnetized through the respective antiparallel freewheeling diode.Demagnetization is achieved by applying a negative DC‐link voltage to the phase winding with the two switches turned off as shown in

**Figure 4(c)**, helps in fast decay of current flowing through both the diodes.

The chopping operation involves switching of the transistors connected to the phase winding accordingly for current regulation depending on the motoring or generating operation. The possible phase voltages in this Pulse Width Modulation (PWM) operation would be +*V*_{dc} (for magnetization), 0 V (freewheeling), and −*V*_{dc} (for demagnetization). The phase current control is set by three levels, which include the reference current value “*I*_{ref}” and the upper and lower hysteresis band limits. The hysteresis band value is chosen based on the peak current value of the machine. The chopping operation is implemented for torque control below the based speed.

The single‐pulse mode of operation is possible when the machine is operated at high speeds. The possible phase voltages in this operation would be +*V*_{dc} (for magnetization) and −*V*_{dc} (for demagnetization). The current regulation is not possible in this operation because in motoring there may not be sufficient time to reach the desired current level at high speeds or in generating, when demagnetization occurs, there is no control over the diodes. The main advantage of this converter is its ability for independent control of each phase, which is particularly important when phase overlap is desired. It is more suitable for high‐voltage, high‐power drives.

## 3. Controller strategy

The effective performance characteristics from an SRM drive system can be obtained by proper positioning of the phase excitation pulses relative to the rotor position. The commutation angles (turn‐on angle “*θ*_{on},” turn‐off angle “*θ*_{off}”), total conduction period, and the magnitude of the phase current “*I*_{ref}” determine the average torque, torque ripple, and other performance parameters. The complexity of finding the control parameters depends on the chosen control method for a particular application. At low speeds, the current rises almost instantaneously after turn on because of the negligible back‐emf and the current must be limited by either controlling the average voltage or by regulating the current level. As the speed increases, the back‐emf increases and opposes the applied DC‐link voltage. Phase advancing is necessary to establish the phase current at the onset of rotor and stator pole overlap region. Voltage PWM is used to force maximum current into the machine to maintain the desired torque level.

The block diagram for the general closed‐loop speed and current control of the SRM is shown in **Figure 5**. In speed control applications, an outer speed loop is added to the faster inner current loop. The inner loop creates desired currents in the stator windings necessary to achieve the desired speed specified by the outer loop. The inner current loop is implemented by current regulation, which consists of the current controller, the power converter, the SRM stator windings and the current sensing devices for feedback control. For current control, a simple hysteresis controller is illustrated here for simplicity and PI controller for outer speed control.

## 4. Modeling of SRM in finite element analysis

Flux 2D is a finite element analysis software by Magsoft Corporation [2] that allows the user to determine the various characteristic parameters of a machine based on the mechanical dimensions, material properties, and operating conditions of the machine [10]. The overall cross‐section of the machine is divided into many sections, such as shaft, rotor, air‐gap, stator, and so on, and individual properties are defined. At the intersections of each section and on the surface, the desired machine parameters of the SRM are calculated by virtually running the machine at a constant speed in small position steps. The finite element analysis gives the flux‐linkage and torque characteristics of the SRM with respect to rotor position and current level. These characteristics are used to build the SRM model in the form of look‐up table. The developed look‐up table model is used in the simulation of the machine model.

An Finite Element Analysis (FEA) package requires detailed input data as shown in **Table 1** for design and the results need skilled interpretation. The SRM operates in a series of strokes with “switched mode” excitations having no steady‐state reference where all its state variables are constant. The initial sizing of the geometry, static and magneto‐dynamic FEA and system‐level simulations should be considered simultaneously for the SRM design to meet the design requirements [3]. Other design objectives can be to optimize the torque density, power density, efficiency and to minimize torque ripple.

Modeling of SRM in Flux 2D involves eight steps: (a) geometry construction, (b) sectional design, (c) surface meshing, (d) stator and rotor material, (e) stator coil excitation circuit, (f) rotor physics definition, (g) solving for machine parameters, and (h) analysis of results [4].

## 5. Simulation of the SRM FEA model in Mat‐lab

Look‐up tables are developed for the machine model from the flux‐linkage and torque characteristics obtained from FEA. The flowchart showing the SRM simulation with FEA look‐up table‐based model is shown in **Figure 6**. The control logic for this simulation is similar to the geometry‐based machine model described below. The table for flux‐linkage characteristics consists of flux values at different current levels and rotor positions as shown in **Figure 7**. The table for torque characteristics consists of phase torque values for different current levels and rotor positions as shown in **Figure 8**. Depending on the mode of operation (motoring or generating), the respective rotor positions are considered appropriately.

### 5.1. Phase current interpolation

In the flux‐linkage table, the columns represent the phase current (in amperes) and the rows represent the rotor position (in degrees). The flux‐linkage values at different rotor positions are represented as rows between unaligned and aligned positions. Now depending on the rotor position and the flux‐linkage values, the two adjacent current columns are known. Finally, the phase current is interpolated from this data as shown in Eqs. (1)–(8). The interpolation algorithm is described below.

A set of four fluxes is obtained first from available data in flux‐linkage table. These are

The interpolated fluxes *fl*_{1}, *fl*_{2} are obtained from *fl*_{11}, *fl*_{12}, *fl*_{21}, *fl*_{22}, respectively, using the equation:

Here, *th _{a}* is in mechanical degrees.

The final phase current at fixed “*th*_{a}” is calculated as:

After determining the appropriate phase current value, the rate of change of flux‐linkage is computed based on the equation below. By integrating the above equation, the instantaneous phase flux‐linkages can be obtained.

### 5.2. Phase torque interpolation

Similar to phase current, the phase torque is also interpolated using the same procedure [12]. The interpolation equations with reference to the **Figure 8** below are given in Eqs. (9)–(11).

Here, *th*_{a} is in mechanical degrees.

The final phase torque at fixed “*th*_{a}” is calculated as:

## 6. Modeling of SRM in Mat‐lab

The SRM is always operated in the magnetically saturated mode to maximize the energy transfer. Knowledge of the magnetic flux linked by a phase is essential to develop a sophisticated SRM controller. The inherent magnetic non‐linearity of the SRM must be taken into account by accurate modeling of the machine characteristics [5]. The high degree of non‐linearity makes it [9] impossible to model the flux‐linkage or phase inductance by an SRM phase accurately. The phase inductance and flux‐linkage vary with rotor position due to stator and rotor saliencies and also vary with the instantaneous phase current because of magnetic saturation.

The analytical model developed by A. Radun is derived from the machine geometry and material magnetic property. The model uses an analytical solution for the flux linked and static torque produced by one SRM phase. Separate analytical models for the flux linked by a phase when its stator and rotor poles do overlap [6] and do not overlap [6] are combined to provide a complete model of a given SRM phase. When the poles overlap, saturation must be included, especially in the pole tips, whereas a linear representation can be used for the unsaturated regions. The flux linked by the SRM phase is determined from the sum of the main flux and the fringing flux that is linked to the phase. The analytical model could be used to calculate motor parameters.

The geometry‐based machine model allows extensive computer simulation studies during the machine and drives design stage. The general form of a geometry‐based analytical expression for flux‐linkage used can be shown as [6]:

(12) |

Where, *A*, *B*, *C*, *D*, and *E* are dependent constants. “*ξ*” stands for geometry and magnetic properties and “*θ*” stands for rotor position. Subscripts “m” and “f*”* are for main and fringing components of the flux‐linkage, respectively. This approach is important for modeling of the magnetic structure of the motor for the purposes of controller design and dynamic performance prediction.

The above model described is used in the mat‐lab simulation [7]. The block diagram of the simulation is shown in **Figure 9**. The modules for the simulation are the machine model, the speed and current controllers, the power converter, and the load model. The inputs to the machine model are the phase voltages, and the outputs are the phase currents, rotor position, and electromagnetic torque. In the machine model, the current derivatives *di/dt* are calculated based on the machine parameters, applied phase voltages, and the previous step phase currents and position information. The equations to calculate the phase torque, phase inductance, back‐emf and phase currents have been derived from the machine model. The fundamental inputs used for this simulation are the geometric parameters and operating conditions of the machine.

## 7. Simulation of the SRM analytical model in Mat‐lab

The controller generates the turn on, turn off, and phase current command based on a control algorithm and rotor position feedback information [11]. The sequence of phase turn‐on and turn‐off logic for each phase is simplified by wrapping the angles for once rotor pole period, i.e., −22.5 to 22.5^{°} based on the 12/8 pole SRM configuration shown in **Figure 10**. Since the machine has 12 stator and 8 rotor poles, the pole arc of each rotor pole is 45^{°}; therefore, the position is periodic within −22.5 to 22.5^{°} or 22.5 to −22.5^{°} depending on the direction of rotation (forward or reverse directions, respectively). Similarly, the position wrapping for phase *B* and *C* are shifted by 30 and 60^{°} (mechanical) respectively [8].

### 7.1. Motoring operation of the SRM

The best turn‐on and turn‐off angles are tuned for proper current and speed control based on the inductance profile of the machine [13]. The various operations involved in modeling the closed‐loop control of the SRM for motoring are active phase determination, phase switching, hysteresis current chopping, and PI speed control.

**Active phase determination:**The active phase to be turned on for power processing is based on the rotor position. Phase A aligned position is used as the reference (initialized to 0^{°}); therefore, phase C will be starting phase for motoring operation if going in forward direction of motion or phase B if going in reverse direction. When the phase is operating in its increasing inductance region and within the conduction period, it is said to be active. The turn‐on and turn‐off angles may change, and the period of phase operation may also vary depending on the torque demand and operating speed. The nominal phase conduction period is the stroke angle, which is 15^{°}for a 12/8 SRM.**Phase commutation:**In order to achieve precise control of phase current at various machine operating speeds, each active phase has to be operated between the optimum turn‐on and turn‐off angle positions. When the phase operation starts, the winding is excited until the current command is reached and then demagnetized when the phase operation is turned off. Chopping can also be implemented for torque control.**Current chopping:**Once the phase is excited with both switches turned on +*V*_{dc}is applied, the phase current will increase as the phase voltage dominates over the back‐emf resulting in positive*di/dt*as described by Eq. (13):When the current reaches the upper band [

*I*_{ref}+*band*/*2*], one of the switches is turned off, whereas the other switch is kept on for the phase current to decrease by freewheeling within the phase winding because of negative*di*/*dt*. When the current reaches the lower band [*I*_{ref}−*band*/*2*] due to 0 V, both the switches are turned on to increase the phase current. Both the switches are turned off when the phase has to commute upon approaching the turn‐off angle so that the phase current decays to zero quickly as shown in**Figure 12**. During motoring operation, the phase voltage applied across the phase winding by switching of transistors is shown in**Figure 11**. This procedure is repeated for next in‐coming phases.The machine rotor speed “

*ω*_{m}” and position “*θ*” is computed with the known moment of inertia “*J*” the total electromagnetic torque “*T*_{e}” developed by the machine, and the opposing load torque “*T*_{L}” using the equation;**PI speed controller:**A PI controller is used for speed control of the SRM for simplicity. The advantage with this controller is that the speed of the machine can be controlled with fast transient without overshoots and good stead state response. The PI speed control loop is in the outer loop generating the desired phase current command based on the speed as shown in closed‐loop block diagram**Figure 5**. Here, the desired current “*I*_{ref}” is not fixed, but changes based on the error between desired speed “*ω*_{ref}” and actual machine speed “*ω*”. The PI control parameters are tuned in the simulation**Figure 12**.

### 7.2. Generating operation of the SRM

Here, the SRM is mechanically coupled and driven by the prime mover at a constant speed. The various operations involved in modeling the braking operation of the SRM are active phase determination, phase commutation, and hysteresis current chopping [14].

**a. Active phase determination:** Generation is achieved during decreasing inductance region −*dL/dθ* from aligned to unaligned positions. The conduction angle in this region is chosen based on the control algorithm for desired braking operation. The same turn‐on and turn‐off angles are used for other phases with phase angle shifting. The turn‐on and turn‐off angles may change depending on the speed and generation current command.

b. **Phase commutation:** The phase operation in generation is quite different from motoring operation. When the phase switching is turned on, the winding is initially excited for some period and then generation is achieved with the excitation turned off. When the excitation is off, the phase winding is demagnetized through the diodes in order to capture the generated energy. Chopping mode with hysteresis current control can also be used for regeneration in the lower speed range.

**c. Current chopping:** The phase current control is implemented same as in motoring, but the freewheeling of phase currents is achieved differently. The back‐emf produced during the generation is negative; therefore, when the voltage across phase winding is 0 V, the rate of current change is positive resulting in magnetization. Similarly, with the phase voltage −*V*_{dc} the rate of current change is negative resulting in current decay based on Eq. [13].

The phase winding is initially excited for some period by applying *+V _{dc}* across the phase. When the phase excitation is turned off, the phase current will continue to increase even after the excitation period is finished and the current regulation follows until the phase operation is commuted. During current regulation, when the current reaches the upper band [

*I*

_{ref}+

*band*/

*2*], both the switches are turned off (−

*V*

_{dc}) and when the current reaches the lower band [

*I*

_{ref}−

*band*/

*2*], one of the switches is turned on (0 V) to freewheel the current within the phase winding. When the phase has to commute, both the switches are turned off (−

*V*

_{dc}) to let the phase current decay to zero soon and then set to 0 V, when the current reaches zero as shown in

**Figure 13**.

**d. Single‐pulse mode operation:** When the machine is operated above the based speed, it is forced to be in the single‐pulse mode. In this mode, the phase winding is initially excited with both the switches turned on (+*V*_{dc}) and then demagnetized with both the switches turned off (−*V*_{dc}). Here, the current cannot reach the desired level and decreases to zero when approaching phase commutation point.

## 8. Conclusion

A Switched Reluctance Machine is special DC machine with non‐linear characteristics. This chapter provides modeling approach of two different techniques, one based on the analytical equation and other based on finite element analysis. The techniques provide guidance on how to obtain the optimized commutation angles from the modeling and by utilizing them in the software simulation, the closed‐loop control of the SRM in motoring and generating operation are demonstrated. With the optimized commutation angles, precise control of speed, torque, and current in various operational modes in four‐quadrants like forward motoring, reverse motoring, forward generation and reverse generation are shown.