Sensorless Control of Single Switch-Based Switched Reluctance Motor Drive Using Neural Network
Sensorless Control of Single Switch-Based Switched Reluctance Motor Drive Using Neural Network
Abstract—Neural networks (NNs) have proven to be useful NN-based position estimation in SRMs has been in literature
in approximating nonlinear systems and in many applications, for some time [8], [9]. Nonlinear systems requiring a high
including motion control. Hitherto, NNs advocated in switched degree of control accuracy require higher order NNs to prop-
reluctance motor (SRM) control have a large number of neurons in
the hidden layer. This has impeded their real-time implementation erly approximate the system dynamics. Techniques for rotor
with DSPs, particularly at high rotational speeds, because of the position estimation and rotor position sensorless torque control
large number of operations required by the NN controller within in SRMs using NNs have been proposed and implemented at
a sampling interval. One of the ideal applications of NNs in SRM low speeds [1], [10], [11]. The main barrier to realization of a
control is in rotor position estimation using only current and/or sensorless SRM drive is the generation of a reliable flux linkage
voltage signals. Elimination of rotor position sensors is practically
mandatory for high-volume, high-speed, and low-cost applications estimate during operation [12], [13]. Flux linkage is derived
of SRMs, for example, in home appliances such as in vacuum from analytical techniques and other observation methods.
cleaners. In this paper, through simulation and analysis, it is Still, most position sensorless SRM control algorithms utilize
demonstrated that a minimal NN configuration is attainable to flux linkage because of its fundamental relationship to rotor
implement rotor position estimation in SRM drives. The NN is position. Sensorless control algorithms, which are described in
trained and implemented on an inexpensive DSP microcontroller.
NN training data, current, and flux linkage are obtained directly [12]–[14], attempt to accurately predict flux linkage. The flux
from the system during its operation. Furthermore, the chosen linkage estimator in this paper does not contain any hardware
method is implemented on a single-switch-converter-driven SRM integrators or lookup tables.
with two phases. This configuration of the motor drive is chosen Magnetic characteristics in SRMs are expressed by the re-
because it is believed that this is the lowest cost variable speed lationship among winding flux linkages versus phase winding
machine system available. Experimental verification of this motor
drive system is provided to demonstrate the viability of the pro- current versus rotor position. NNs utilizing flux linkage and
posed approach for the development of low-cost motor drives. current to train the NN to compute rotor position are described
in [15] and [16]. Conventional NNs require a large number of
Index Terms—Motor drives, neural networks (NNs), reluctance
motor. computations for position estimation due to the large number
of neurons in hidden layers (in much of the literature, it is not
uncommon to encounter 15–20 neurons in the hidden layer)
I. I NTRODUCTION that is required to model the SRM magnetic characteristics. The
proposed approach decreases the computational burden signifi-
I N RECENT years, neural networks (NNs) have found a
place in real-time control and system identification appli-
cations with the increase in microcontroller speed and
cantly by inserting a preprocessor in the NN. The preprocessor
generates a third input to the NN that is the product of the
capabilities. Current trends in control of variable speed motor phase current and flux linkage. It is shown that this approach
drive systems have shown that eliminating position sensors, reduces the total number of neurons in the NN. Consequently,
particularly in low-cost applications such as home appliances, the computational burden of the NN is decreased, as compared
is attractive to industry primarily because of cost and reliability to any other previous work, and a sensorless SRM drive for the
concerns [1]–[3]. A switched reluctance motor (SRM) with its intended application is accomplished.
low-cost structure having only steel on the rotor and stator, This paper also presents a novel technique for sensorless
and concentrated windings on the stator, makes it an ideal control of an SRM drive with a single-controllable-switch-
choice for low-cost applications like vacuum cleaners to high- based converter (SSC) using an NN. The intended market is
performance applications like flywheels [4]. The ability of NNs applications where absolute rotor position is not critical, such
to model nonlinear characteristics and compensate disturbances as low-cost appliances like vacuum cleaners. The drive system
and uncertainties makes it an ideal candidate for estimation of used in this paper consists of the SSC drive shown in Fig. 1 and
parameters in such systems [5]–[7]. two-phase SRM shown in Fig. 2 [17]. It has been demonstrated
that this converter can drive a two-phase SRM and provide four-
quadrant operation [18].
Manuscript received June 30, 2005; revised February 21, 2007. SRMs with different numbers of phases can also be con-
C. A. Hudson is with the Adaptive Technologies Inc., Blacksburg, VA 24060
USA (e-mail:[email protected]). trolled with the proposed sensorless control algorithm.
N. S. Lobo and R. Krishnan are with the Center for Rapid Transit Systems, This paper is organized as follows. Section II introduces the
The Bradley Department of Electrical and Computer Engineering, Virginia SRM and the converter topology used to illustrate the proposed
Polytechnic Institute and State University, Blacksburg, VA 24061 USA (e-mail:
[email protected]; [email protected]). sensorless method. Section III describes a conventional NN
Digital Object Identifier 10.1109/TIE.2007.903965 structure, including its drawbacks. It also demonstrates the
A. Motor Configuration
The SRM has eight stator poles with windings, four main
and four auxiliary. The auxiliary poles are shifted 45◦ from the
main poles. Only one set of diametrically opposite auxiliary
windings is utilized. Fig. 2 shows the motor and its winding
configuration. Additional information on magnetization char-
acteristics and performance is presented in [17]. The machine
is effectively utilized as a two-phase SRM, although the main
phase generates most of the torque in the machine. Auxiliary
windings provide starting torque and recover energy from the
main phase winding during the interval when controllable
switch S1 is OFF.
Fig. 1. Single-controllable-switch converter topology.
B. Derivation of System Equations
In this section, two sets of equations that model the behavior
of the motor in conjunction with the SSC are derived. Devices
are assumed to be ideal; hence, voltage drops and switching
transients are ignored. It is to be noted that the voltage drop
across the devices can be incorporated into the model if re-
quired, although the voltage drops are small compared to the
dc-link voltage. There are two modes of operation for the
converter, and they are detailed below.
1) Switch S1 ON
dλa
= Vdc − Ra ia (1)
dt
dλb
= Vc − Vdc − Rb ib (2)
dt
dVc ic
= (3)
dt C
ia ≥ 0, ib ≥ 0, ic = −ib (4)
dωm
J + B ωm = Te − Tl (5)
dt
Fig. 2. SRM configuration used for simulations and experimental
implementation.
ON, If ib > 0
D1 = OFF D2 =
OFF, If ib = 0.
TABLE I
COMPARISON BETWEEN TRAINING AND COMPUTATION FOR THE
CONVENTIONAL NN AND PROPOSED MINIMAL NN
Fig. 6. Comparison between outputs of typical and reduced NNs with mea-
sured position for inputs obtained from experimentally captured magnetization
characteristics.
TABLE II
COMPARISON BETWEEN SPEED AND INTERRUPT CYCLE COUNT
V. NN E RROR A NALYSIS When the starting algorithm determines the unaligned po-
sition, the sensorless speed control algorithm becomes opera-
Random samples from the experimentally captured mag- tional. 22.5◦ is the position in the motoring region, which is
netization data that are not part of the training set are used equidistant from the unaligned (0◦ ) position and the aligned po-
to compare the performance of the two trained NNs. This is sition (45◦ ). Three timers are the crux of the sensorless control
done to analyze the interpolation capability of the trained NNs. algorithm. The three timers implemented count interrupt cycles
Fig. 6 shows the simulated performance of the conventional that occur every 50 µs.
and reduced NNs. The reduced NN is implemented on the 1) Timer 1—Speed Timer: This timer measures the interval
experimental system with the Hall effect position sensors to between two consecutive 22.5◦ positions from the NN. The time
evaluate its performance. The measured rotor position is com- interval is used to calculate the speed of the motor. It is assumed
pared to the estimated rotor position from the reduced NN, and that the speed is constant between two successive 22.5◦ angular
a comparison between the two is shown in Fig. 7. The error positions. The 22.5◦ position is chosen as a reference for the
during steady-state speed operation is approximately 1.3◦ even estimation of speed, because the NN estimates position with
though the mean error from training the NN over the entire the least error for the range of angles between 20◦ and 35◦ for
speed and current range is approximately 3◦ . This is expected the current (ia ) range used in the drive system. This timer is
since NNs perform poorly at low speeds due to integration and reset at every 22.5◦ position. In order to estimate the speed
sampling errors. of the motor, a relationship between the number of interrupt
The instantaneous error between the actual rotor position and cycles and speed was established. Table II shows comparison
the NN estimation is shown in Fig. 8. between the measured motor speed and the interrupt cycle
count from the DSP. By using these data, the speed estimator is
VI. P OSITION S ENSORLESS C ONTROL A LGORITHM derived to be
A. Sensorless Starting Method 15 700
ωm . (13)
Interrupt Cycle Count
Since both the motor and the drive are targeted for low-cost
applications, it is necessary to implement an efficient sensorless 2) Timer 2—Commutation Timer: Once the speed is deter-
self-starting algorithm. The algorithm implemented for self- mined from timer 1, the time interval between the 22.5◦ position
Authorized licensed use limited to: National Institute of Technology- Delhi. Downloaded on October 17,2024 at 12:10:26 UTC from IEEE Xplore. Restrictions apply.
326 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008
Fig. 13. Self-starting results without load: Main winding current and
motor speed.
Fig. 14. Motor speeding up from standstill without load. Speed command
is 1500 r/min.
The rotor position estimation has the least error in the 22.5◦
position. The measured position shown in Fig. 12 is assumed
to be linearly varying between the two pulses from the Hall
effect sensors. Fig. 8 shows the low instantaneous error between
the measured and estimated rotor positions from the open-loop
Fig. 12. Open-loop speed control experimental results with no load (closed-
loop current control).
experiments.
The execution of the sensorless starting method is shown
in Fig. 13. The current spikes indicate the two voltage pulses
estimation, and filtering. The processor is set to run at 15 MIPS applied which cause the rotor to rotate. The two pulses cause the
and samples the main phase current and voltage at 20 kHz. rotor to speed up to 125 r/min, after which the startup algorithm
The sampling is adjusted to occur both at the switch turn-ON that detects the position of the minimum inductance is invoked,
and turn-OFF instants. Thus, the samplings of the system states followed by the sensorless speed control algorithm being ex-
occur at the midpoint of ON and OFF times as required by the ecuted. It is to be noted that the startup algorithm, which
flux linkage estimator. Performing the sampling at switch turn- detects the minimum inductance, is not executed at 125 r/min
OFF provides the means to obtain the maximum current state in every case; rather, it is executed after a preset delay from
during the PWM cycle. the second self-starting pulse. The injected current is kept low
Fig. 12 shows the winding current, flux linkage estimate in order to prevent saturation in the motor iron and to prevent
from integration, and the estimated position from the proposed negative torque from slowing the rotor down. Fig. 14 shows the
reduced NN which are captured by the DSP during open-loop main phase current and motor accelerating from standstill to
experiments. With a 1-A current command, the rotor speed is 1500 r/min.
approximately 1500 r/min. The rotor position that is estimated The experimental data in Fig. 15, which are captured by
by the minimal NN correlates well with the simulation results. the DSP during sensorless operation, correlate well with the
Authorized licensed use limited to: National Institute of Technology- Delhi. Downloaded on October 17,2024 at 12:10:26 UTC from IEEE Xplore. Restrictions apply.
328 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 55, NO. 1, JANUARY 2008
Fig. 15. Closed-loop speed and current results captured by the DSP when motor is accelerating from standstill without load.
VIII. C ONCLUSION
Sensorless speed control of an SSC-based SRM drive with
an NN position estimator is demonstrated. The key conclusions
of this paper are given below.
1) Sensorless speed control for an SRM is realized, using the
most minimal NN with no hidden layer and a preproces-
sor with one output. This is the first time, in motor drives
literature, that this has successfully been demonstrated.
This has reduced the number of computations required to
Fig. 16. Main winding current and rotor speed with load. Speed command is estimate rotor position from an input set.
1500 r/min (closed-loop speed and current, experimental results). 2) The minimal NN was trained with the data obtained from
the sensored operation with Hall effect sensors and no
encoder.
simulations shown in Fig. 10. The results prove that the pro- 3) The proposed position sensorless controller is realized
posed reduced NN is estimating the rotor position with a low with an inexpensive DSP microcontroller, as a result of
error. The results also reveal a transient error in the estimation the reduced computational requirements and simplicity of
of speed as the motor accelerates and the current decreases. the proposed control algorithm.
Fig. 16 shows the result of a load being applied to the motor 4) In order for the controller to be viable in low-cost envi-
during steady operation (at 1500 r/min). Consequently, the ronments, such as in home appliances, a low-cost SRM
motor speed decreases, and the main winding current increases. drive with an SSC converter and a two-phase SRM was
This is expected since the load applied to the motor was large, used as a prototype to demonstrate the working of the
and the current controller was not able to drive a current larger proposed sensorless controller.
than 3 A into the main windings because advanced angle ex- 5) The proposed closed-loop speed sensorless SRM drive
citations were not used in the experimental system. Hence, the system was modeled, simulated, analyzed, designed,
motor was not able to speed up to the commanded speed even tested, and experimentally verified and correlated.
though the system has both speed and current closed-loop con-
trol. Sensorless control performs well at a speed of 600 r/min
ACKNOWLEDGMENT
with the applied load. On disengaging the load, the rotor speed
increases to the commanded value of 1500 r/min. The authors would like to thank Panaphase Technologies
The results from the experimental tests show that the sen- LLC., for providing the converter and motor used in this
sorless control algorithm with self-starting successfully esti- research. The authors would also like to thank Ansoft Corpo-
mates the position for speed control. The proposed sensorless ration for the finite element software and Texas Instruments for
control technique is well suited for low-cost applications providing the DSP platform.
Authorized licensed use limited to: National Institute of Technology- Delhi. Downloaded on October 17,2024 at 12:10:26 UTC from IEEE Xplore. Restrictions apply.
HUDSON et al.: SENSORLESS CONTROL OF SINGLE SWITCH-BASED SRM DRIVE USING NN 329
Authorized licensed use limited to: National Institute of Technology- Delhi. Downloaded on October 17,2024 at 12:10:26 UTC from IEEE Xplore. Restrictions apply.