0 SRM Control
0 SRM Control
Presented to
by
Research Supervisor
Dr. Marissa Condon
August 2005
Declaration
I hereby certify that this material, which 1 now submit for assessment on the
programme of study leading to the award of PhD in Electronic Engineering, is entirely
my own work and has not been taken from the work of others save and to the extent
that such work has been cited and acknowledged within the text of my work.
Signed:
ID No.:
Date:
Abstract
This thesis is concerned with the control of switched reluctance machines for both
motoring and generating applications. There are different control objectives in each case.
For motoring operation, there are two possible control objectives. If the SRM is being
employed in a servo-type application, the desire is for a constant output torque. However,
for low performance applications where some amount of torque ripple is acceptable, the
aim is to achieve efficient and accurate speed regulation. When the SRM is employed for
generating purposes, the goal is to maintain the dc bus voltage at the required value while
achieving maximum efficiency.
Preliminary investigative work on switched reluctance machine control in both motoring
and generating modes is performed. This includes the implementation and testing through
simulation of two control strategies described in the literature. In addition, an
experimental system is built for the development and testing of new control strategies.
The inherent nonlinearity of the switched reluctance machine results in ripple in the
torque profile. This adversely affects motoring performance for servo-type applications.
Hence, three neuro-fuzzy control strategies for torque ripple minimisation in switched
reluctance motors are developed. For all three control strategies, the training of a neuro-
fuzzy compensator and the incorporation of the trained compensator into the overall
switched reluctance drive are described. The performance of the control strategies in
reducing the torque ripple is examined with simulations and through experimental testing.
While the torque ripple is troublesome for servo-type applications, there are some
applications where a certain amount of torque ripple is acceptable. Therefore, four simple
motor control strategies for torque ripple-tolerant applications are described and tested
experimentally. Three of the control strategies are for low speed motoring operation
while the fourth is aimed at high speed motoring operation.
Finally, three closed-loop generator control strategies aimed at high speed operation in
single pulse mode are developed. The three control strategies are examined by testing on
the experimental system. A comparison of the performance of the control strategies in
terms of efficiency and peak current produced by each is presented.
I
Acknowledgements
I wish to express my sincere gratitude to my supervisor, Dr. Marissa Condon, for all
her guidance, advice and support throughout the duration of this project.
Many thanks to Jim Dowling for his help and support during my time in DCU.
I would like to thank PEI Technologies and DCU for financial support and assistance
during the course of this research.
I am very grateful to the staff in PEI technologies, Liam Sweeney, Ciaran Waters and
Claus Agersbaek, as well as my fellow postgrads for their help, support and
suggestions.
Sincere thanks to Anthony Murphy for his invaluable assistance in the construction of
the experimental rig.
Finally, I wish to thank my parents, family, girlfriend and friends for all their
encouragement over the last few years.
II
Contents
Abstract I
Acknowledgements II
Contents III
1 Introduction 1
1.0 Motivation and overview........................................................................... 1
3.1.1 M A T L A B ............................................................................... 46
3.1.2 Simulink................................................................................. 47
III
4 Torque ripple minimisation 75
4.0 Introduction.............................................................................................. 75
4.3 A N F I S ...................................................................................................... 82
4.6.1 6/4 three-phase SRM results for control strategy no. 1........... 89
4.6.2 12/8 three-phase SRM results for control strategy no. 1......... 94
4.8.1 6/4 three-phase SRM results for control strategy no. 2.......... 99
4.8.2 12/8 three-phase SRM results for control strategy no. 2 .......107
4.10.2 12/8 three-phase SR M results for control strategy no. 3... 124
IV
5.2.2 Power converter circuit employed...................................... 141
Bibliography 256
A1 Schematics.............................................................................................. 265
VI
C hapter One - Introduction
control strategies for the Switched Reluctance Machine (SRM) for operation both as a
simply changing the placement of the current pulses with respect to rotor position.
However, there are important differences in the control objectives and in the
or ripple in the torque profile. The magnitude and periodicity o f the torque ripple is
machine-dependent while the level of torque ripple deemed acceptable is very much
applications, the torque ripple is troublesome and is one of the primary reasons why
the SR M has seen little penetration in industry. For example, the target torque ripple
various approaches have been proposed for torque ripple reduction. Improvements in
the magnetic design o f the motor itself can lead to reduced torque ripple [(Byrne
1985), (Tormey 1991) and (Lee 2004)]. Furthermore, control strategy design for
torque ripple reduction has been one of the major research areas in relation to SRMs
Numerous control approaches for torque ripple reduction have been investigated and
machine [(Moreira 1992) and (Schramm 1992)], use o f mathematical models of the
SR M [(Rochford 1993), (Kjaer 1997), (Inane 1997), (Russa 1998) and (Bizkevelci
2004)] and on-line adaptive control techniques using complex algorithms [(Russa
1996) and (Mir 1999)], Neural Networks [(Reay 1993) and (O ’ Donovan 1994)] and
2001a)] are particularly suited to SRM control. With the advent o f new powerful
1
Digital Signal Processors (DSPs) at reduced prices, more advanced control algorithms
ripple minimisation control schemes that fully utilise the powerful DSP technology
currently available and which are aimed at low speed servo-type applications.
Reluctance (SR) motors are developed. As with any torque ripple reduction control
ensure low ripple. The three neuro-fuzzy control schemes achieve this by adding a
control loop. The parameters employed in the training o f the compensating current
signal profile and the manner in which the training is conducted differ for the three
control strategies. In the particular implementations described in this thesis, all three
line training. A torque estimator is employed in the training o f the compensators and,
in the case o f two o f the control strategies, also in the subsequent operation of the SR
drive. Simulated results confirm a significant reduction in the torque ripple for the
three control strategies. In addition, the performance of one of the control strategies is
verified by experimental implementation and testing. The three control schemes have
the advantage that a pre-existing model of the SRM , for example a model in the form
For certain motoring applications, some degree of torque ripple may be acceptable. In
this thesis, four simple SR motor speed control schemes for torque ripple-tolerant
applications are described and experimental results are presented. Three of these
control schemes are for low speed motoring operation while the fourth is aimed at
While there has been a considerable body o f work produced in the area of SR motor
according to one source (Fleadh Electronics 2004), o f the 4515 papers published on
SRMs, only 318 relate to the subject of SR generators. This thesis intends to make a
2
While the control objective when motoring is to achieve smooth torque production,
the objective when generating is to maintain the dc link voltage at the required value
to leading to lower energy consumption (supplying the same electrical output power
for a lower mechanical input power), it enables a smaller and lighter SR M to be used.
This thesis describes three possible generator closed-loop voltage control schemes
single pulse mode. In single pulse mode operation, no current regulation is employed
and the power switches are left turned on throughout the entire conduction cycle
producing a single pulse of current. The first control scheme is quite simplistic and
involves the selection o f a fixed turn-off angle (the rotor position where a phase
current is switched off) and the subsequent adjustment of the turn-on angle (the rotor
position where a phase current is switched on) to regulate the dc link voltage. The
second control scheme employs an inverse machine model that relates the firing
angles to the average dc link current, the dc link voltage and the generator speed.
Although both the simple and inverse model control strategies succeed in regulating
the dc link voltage as required, neither strategy enables operation at the preferred
optimum efficiency level. Thus, the final control scheme is aimed at achieving
enable characterisation of the machine (this could also be done through simulation if
given dc link current and rotational speed for a particular dc link voltage (in many
turn-off angle is varied in pursuit of the optimum efficiency point, the tum-on angle is
used to ensure regulation of the dc link voltage (as for the first simplistic control
strategy).
SR motor control over the years through the development o f three torque ripple
reduction control strategies for the SRM in motoring mode. In addition, the efficacy
3
investigation into the control of an SR generator, a research area that has had a
history of the development o f the SRM detailing the advances made since those first
additional sources.
According to (Miller 2001), the principle behind early ‘electromagnetic engines’ was
an attempt at converting the once-only attraction for an iron armature into continuous
motion and they were based on the horseshoe electromagnet of William Sturgeon
(1824) (Sturgeon 1825) and the improved version o f Joseph Henry. In essence, these
Pioneers in the area o f ‘electromagnetic engine’ design included Callan (an Irishman
whose early reluctance motors can still be seen at Maynooth College), Davidson (The
Penny Mechanic and Chemist 1843) and Taylor (Mechanic’s Magazine 1840) who all
electromechanical energy conversion efficiency. The large iron volumes used without
lamination led to excessive iron losses. In addition, at the end of each switching cycle
the stored inductive energy in the electromagnet had to be dissipated. While modem
SR motors have the means of feeding the stored energy back to the supply during the
waste fully in the form of arcing and sparking at the commutation switches. The other
major issue was the structural problems caused by the pulsating radial out-of-balance
magnetic forces.
The ring wound armature dc machine was invented by the Italian Pacinotti (1865) and
improved upon by Gramme (1869). This machine was far superior in performance to
4
the SR motor as it then existed and interest in the latter quickly declined. However,
the arrival o f silicon power switches in the 1960s led to a renewed interest in various
dc and variable speed drive configurations including what is now termed the
Dundee in the early 1960s that, according to (Miller 2001), contained ‘many of the
key features of modem reluctance machines and their drives’ . Research in the area of
SR motors began to gather momentum with several developments key to the rapid rise
of interest in this field. The development o f the power transistor was crucial in the
quest for efficient and reliable control of the machine. Similarly, the development of
conversion efficiency. Finally, the general expansion in the use of variable speed
drives in industry, automotive and residential applications drove research in that area
as a whole.
In the early 1970s, Professor Byrne and his colleagues at University College Dublin
through exploitation of magnetic saturation [(Byrne 1973) and (Byrne 1976)]. Since
has been verified [(Miller 1985) and (Stephenson 1989)]. Byrne also did valuable
work on machines with low phase numbers (Byrne 1973). A t around the same time,
Lawrenson and Stephenson at the University of Leeds began research on SRMs. This
1994, SR Drives Ltd. has produced about half of the commercial applications of
SRMs since the early 1980s (Miller 2001)). In 1980, Lawrenson et al. produced a
landmark paper (Lawrenson 1980) that examined SRMs in general and which
awakened worldwide interest in the subject. This paper addressed many design issues
such as the choice o f the number of phases etc. as well as describing the favorable
induction motor of the same size. This paper marked the beginning of the massive
resurgence in interest in the SRM. Indeed, the huge increase in the numbers of papers,
5
dissertations and patents post-1980 is clearly visible from Figure 1.1 and Figure 1.2
600
400-
Total publications = 4752
(11th January 2004)
100 -
jf* ^ ^ if*
Year of publication
Figure 1.1: Number o f published papers and theses over the years.
As can be seen, the numbers of patents published worldwide before 1980 was 275
compared to 6206 since 1980. The same source estimates the total number of papers
These numbers don’t do justice to the quality and significance of the work conducted
pre-1980 since the early work is more likely to contain higher levels of innovation.
However, the apparent dearth o f material pre-1980 is also due to the fact that much of
the research was published in unusual places and has had considerable time to become
‘lost’ or ‘forgotten’ (Miller 2001). Despite this, the numbers are reflective of the huge
6
700 h
^ ^ ^ ^ ^
Year of publication
As for the name ‘switched reluctance motor’ itself, according to (Miller 2001), the
first use of that term was in a paper published by S.A Nasar in 1969 (Nasar 1969) and
its use became increasingly widespread after publication o f the seminal paper by
Lawrenson et al. in 1980 (Lawrenson 1980). The term ‘switched reluctance motor’
Rather, the name refers to the switching of the phase currents, a necessary aspect of
operation. In the U S A , the term ‘variable reluctance motor’ is often employed while
the precise term ‘electronically commutated reluctance motor’ has been used on
As previously stated, one of the key factors in the reemergence o f the SR M has been
the considerable improvement in the design and analysis o f the S R M made possible
motor can be performed using finite element analysis while computer simulation
packages enable the dynamic operation and control of the integrated SR drive system
computer program, PC-SRD, that has been widely used over the last number of years
7
for the design and analysis of SRMs [(Miller 1990) and (Miller 1999)]. With this
program, SRMs and basic drive components can be sized and analysed in detail.
Considerable research effort over the years has also been invested in the design of the
power electronic converter for the SRM. Miller considered the effect of saturation on
addition, his team at the University of Glasgow introduced an inverter with only one
switching device per phase and with a total switch count o f N+l where N is the
number of phases (Miller 1988). This reduced switch count inverter was preceded by
the single switch per phase inverter assembled by Unnewehr and Koch (Unnewehr
1974). Meanwhile, Ray and Davis looked at the component cost for the power
inverter [(Ray 1979) and (Davis 1981)]. Various novel inverters have been designed
since with N, N + l, 1.5N and 2N switches [(Krishnan 1990), (Le-Huy 1990), (Pollock
1990), (Krishnan 1993), (Mir 1997), (Dessouky 1998), (De Oliveira 1999) and
(Deshpande 2000)]. However, despite the apparent cost saving in using only one
switch per phase, according to Miller very few (if any) o f the circuit configurations
with one switch per phase are used in commercial products because they require
auxiliary components, decrease efficiency and limit the control capability (Miller
2002). Both Vukosavic and Barnes have performed useful comparative evaluations of
many of the different SR M inverter topologies developed over the years [(Vukosavic
implementation o f complex algorithms and has paved the way for improved control of
the SR M (Bose 1986). Many attempts have been made to reduce the torque ripple
inherent in SR motor operation. While one way o f reducing the torque ripple is to
improve the magnetic design of the motor itself [(Byrne 1985), (Tormey 1991) and
ripple reduction (Husain 2002). In addition, recent years have seen significant
research into the operation o f the SRM without a position sensor. These ‘sensorless’
schemes are aimed at reducing the overall cost of the drive and making the SR M more
competitive with other variable speed drives. Removal o f the position sensor also
8
improves reliability enabling operation in harsh environments. Important early
contributions in this area include the chopping current detection technique (Acamley
1985), open-loop control (Bass 1986) and flux/current methods [(Hedlund 1991) and
(Lyons 1991)]. Many different methods of indirectly estimating the rotor position
have been proposed but they all make use of the inductance variation in one way or
While the vast majority of the literature focuses on the SR M operating as a motor,
there is still a considerable body of work investigating the development and control of
the instability o f the SR generator system for open-loop operation with fixed turn-on
and turn-off angles (Radun 1994). As a result, Radun emphasised the need for closed-
channel generating systems (Radun 1998). Nedic et al. performed interesting work on
magnets in various positions on the stator. The SR generator has also been and is
[(Kokemak 1999), (Besbes 2000), (Mese 2000), (De Vries 2001) and (Fahimi 2001)].
There is also considerable interest in wind energy [(Torrey 1993), (Cardenas 1995)
and (Cardenas 2004)] and aerospace applications [(MacMinn 1989), (Radun 1994),
(Ferreira 1995), (Radun 1997) and (Cossar 2004)]. A good overview of the
(Miller 2001).
Although there have been huge advancements in SR M technology over the last 40
years and a large body of published research, the SR M has yet to see widespread
acceptance for application in industry. Table 1.1 lists a few examples of where the
SR M has penetrated the market [(Miller 2002) and (Krishnan 2001)]. This is a very
short list compared to the one that could be drawn up for induction motors or
9
Products Company
Mining drives British Jeffrey Diamond
Plotter drive Hewlett-Packard
Air-handier A .O Smith
Fork lift/pallet truck drive Radio Energie
Centrifuge Beckman Instruments
E V drives Aisin Seiki
Megatorque direct-drive N S K Ltd
Several Mavrik Motors
Automotive cruise control D A N A Corp.
Washer drive Emerson/SRDL
Pum ps,HVAC motion control Emotron A/b
Floorcare Ametek Lamb Electric
High-speed motors and controllers A M C NEC/Densei
250kW low-speed drive Elektro Magnetix Ltd
General purpose industrial drives Oulton, Task Drives
Electric doors Besam A/b
Compressors Compare Broomwade
Industrial drives Sicmemotori
Train air conditioning Normalair Garrett
Weaving machine servos Picanol
There are several reasons why the SRM has yet to have a serious impact in industry.
Firstly, other technologies are firmly entrenched in the marketplace and have had
huge levels o f investment in tooling and infrastructure. Moreover, while there have
been great advances in knowledge and development o f the S R M over the last 40
years, competing technologies have also made enormous strides. Furthermore, while
the drive complexity for a SR M drive is comparable to that of the induction drive, the
theory and architecture of SR M controllers are not nearly as widely known and
according to M iller ‘only a handful of engineers understand the art o f designing these
Despite this, the examples in Table 1.1 show that there are applications where the
reached by M iller in (Miller 2002) is that, in the future, successful applications are
likely to follow the pattern o f those in Table 1.1, i.e. ‘a highly engineered drive whose
development cost must be borne by the application and whose unique features render
10
1.2 Outline of thesis
The objective o f the work detailed in this thesis is the development and testing of
control strategies for the SR M for operation both as a motor and as a generator.
with the construction o f an experimental rig. Having completed this, control strategies
for the S R M in motoring and generating modes were developed and tested through
the fundamental control of the machine are discussed. The dynamic operation of the
Chapter Three describes the initial investigative work into SR M control in both
motoring and generating modes. A nonlinear self-tuning model of the SRM that can
simulation. Two control strategies, one for motoring and one for generating, described
Chapter Four introduces Fuzzy Logic and explains the operation of the Adaptive
strategies are developed and their efficacy is tested through simulation with a full set
o f results provided.
Chapter Five describes the set-up used for experimental implementation and testing of
the control strategies. The properties of the SRM that is employed are described and
the key features of the DSP development board are outlined. A number o f power
electronic converters suitable for SRMs are reviewed and a description of the final
power converter selected is given. In addition, the method o f current sensing and
voltage measurement is examined while the manner in which rotor position and
rotational speed information are obtained is illustrated. Finally, the integration of the
11
SR M rig, power and measurement electronics, DSP, electronic load etc. into the
strategies. The simple starting algorithm employed for ‘start-up’ of the experimental
SR motor is described. Four simple speed control schemes covering low and high
speed operation and which are suitable for applications that can tolerate a certain
amount of torque ripple are outlined and experimental results are presented. A torque
testing o f one of the torque ripple minimisation control strategies that was previously
Chapter Seven addresses the subject o f SR generator control. Firstly, the generating
included.
Finally, Chapter Eight presents a summary of the thesis, conclusions and suggestions
12
Chapter Two - Operating principles of the SRM
2.0 Introduction
In this chapter, the principles of operation o f the switched reluctance machine are
introduced and the basic electromagnetic characteristics of the machine are described.
the mechanism of torque production. The basic power converter circuit is introduced
and the fundamental control mechanism of the machine is described in terms of the
has neither magnets nor windings and consists solely of magnetically soft, low loss
steel laminations stacked on a shaft. The stator (built from the same material as the
rotor) has windings on each pole and one phase of the motor consists of the series
connection of the stator windings on diametrically opposite poles. Both the stator and
rotor have salient poles, hence the machine is referred to as being doubly salient. The
cross-section of a simple regular 6/4 three-phase machine (6/4 implies six stator poles
and four rotor poles) is shown in Figure 2.1, which also clearly illustrates the coil
When current is passed through one of the phases a magnetic flux path is generated
around the stator, the rotor and in the air-gap between the stator and the rotor. The
=^ =^ (2.1)
(¡> BA jjA
where F is the magnetomotive force, (j) is the flux, H is the magnetic field strength, / is
the length o f the magnetic field path, B is the flux density, A is the cross-sectional area
13
The torque in an S R M is produced by the tendency o f the moveable part, i.e. the rotor,
to move to a position where the reluctance of the magnetic path is minimised (thereby
maximising the stator flux-linkage and phase inductance). The permeability of the
core material is much greater than the permeability of the air-gap between the rotor
and stator. Consequently, the rotor pole-pair adjacent to the energised stator pole-pair
seeks alignment since the aligned position is the position of minimum reluctance. The
direction of torque generated is a function of the rotor position with respect to the
energised phase and is independent of the direction of current flow through the phase
winding. When two rotor poles are aligned to a particular set of stator poles, another
set o f rotor poles is out of alignment with respect to a different set of stator poles. This
set of stator poles can then be excited to bring the second pair of rotor poles into
develop continuous torque in either direction of rotation. Clearly, the term ‘switched
reluctance machine’ does not mean that the reluctance itself is switched but rather it
refers to the sequential switching of current from phase to phase as the rotor moves.
intuitive to describe the operation o f the machine and the mathematical equations in
14
_ if/ _ N 0 _ NBA _ N yH A _ N jjH A _ N 2 _ N 2
~ i~ i ~ i i ~ H l / N ~ 1 / f i A ~ 9Î
where if/ is the flux-linkage and N is the number of turns on the phase winding. For
with rotor position with the regions of increasing and decreasing phase inductance
poles. Consider the simple 2/2 single-phase machine shownin Figure 2.2; The
machine is shown in the aligned and unaligned positions. The phase inductance varies
with rotor position in the manner shown in Figure 2.3. The phase inductance is its
minimum value in the unaligned position and is at its largest in the aligned position.
Figure 2.2: A single-phase 2/2 SRM showing the rotor in the aligned and unaligned
positions.
15
Inductance
Rotor Position
Figure 2.3: The variation of idealised inductance and torque with rotor position for a
constant phase current.
timing/placement of the current pulses. For motoring operation, the firing angles are
chosen so that current flows when the phase inductance is increasing which occurs as
the rotor and stator poles approach alignment. For generating operation, the firing
angles are chosen so that current flows when the phase inductance is decreasing which
occurs immediately after the rotor and stator poles have passed alignment. When
motoring, the rotor experiences torque in the direction of rotation whereas when
generating, the rotor experiences torque opposing rotation. It is clear that in order to
necessitate the use of a position sensor but it is possible to avoid this by using a
Figure 2.3 shows the variation of idealised inductance and torque with rotor position
for a constant phase current. Between positions S and A where the inductance is
to the start of overlap where the leading edge of the rotor pole is aligned with the first
edge o f the stator pole. Position A corresponds to full alignment while position E
indicates the end o f pole overlap. A t alignment, the inductance starts to decrease. If
the rotor is forced to continue past A , there is an attractive force between the rotor and
stator that produces a braking effect and consequently, a change in torque direction.
16
Effectively, the mechanical energy expended by the prime mover in pulling the rotor
pole away from the excited stator pole is converted to electrical energy i.e. generating
operation.
If motoring operation is desired, it is clear that these negative torque impulses must be
eliminated. Hence, the phase current must be reduced to zero before the A -E interval
when the poles are separating. Therefore, the ideal motoring current waveform should
be a series o f pulses. The position of the pulses coincides with the rising inductance
interval. Thus, an ideal motoring torque waveform has the shape shown in Figure 2.4.
Figure 2.4 also shows the idealised sawtooth waveform of the flux-linkage, y/=Li.
This is not a practical waveform as an infinite negative voltage would be required to
Figure 2.4: The idealised inductance, current, flux-linkage and torque for motoring
operation.
In practice, the inductance at S is non-zero but very small. Consequently, although the
quickly. The rectangular current waveform can then be approximated by chopping the
current along S-A. To avoid the production of negative torque the current must be
17
reduced to zero before alignment and this can be achieved by placing a negative
supply voltage across the phase just before alignment. The simple machine of Figure
2.2 can produce a non-zero average torque during rotation. However, the torque is
discontinuous and continuous rotation relies on either the momentum of the machine
when motoring or on the prime mover when generating. Similarly, the machine
cannot self-start from every rotor position. It is shown in Section 2.2 that torque can
torque is produced in the ‘dead-zone’ between E and S and the torque at the aligned
position A is also zero. To produce positive motoring torque from all rotor positions
and to ensure self-starting capability from all rotor positions, the full 360 degrees of
placed current pulses will produce continuous torque output. Figure 2.5 shows the
idealised inductance, current and torque waveforms for the three-phase 6/4 SRM of
Figure 2.1. A stroke is the cycle of torque production associated with each current
pulse. The number of strokes per revolution, S , is related to the number of rotor poles,
N r , and the number o f phases, P, by S=N rP. Hence, for the 6/4 three-phase machine
of Figure 2.1 5 = 4(3) = 12.
ii
r i |i...... !:
1 1B
Torque r * if j
& Phase Phase Phase Phase Phase Phase j Phase
I ... S_ _ _ 1 1 I: ;
Current A B lj C j A |j c j A
90° 180° R o to r
P o s itio n
Figure 2.5: The idealised inductance, current and torque waveforms for a three-phase
6/4 SRM.
18
2.2 Mathematical description of the SRM
The terminal voltage and torque equations form the basis of the mathematical
description of the SRM. A single phase is considered for simplicity and the results
may be extended for multiple phases. A number o f assumptions are made, specifically
that:
(1) the phases are magnetically independent; mutual coupling between phases is
(2.3)
where, v is the terminal voltage, i is the phase current, R is the phase resistance and \j/
is the flux-linkage. Magnetic saturation coupled with the effect of fringing flux around
y/ = y/{0,i) (2.4)
(2.5)
where dy/(9, i)/di is defined as the instantaneous inductance, L (6y i), and d6/dt is the
unaffected by the current i.e. there is no magnetic saturation, then L(0) = y//i. Thus,
19
In this equation, the three terms on the right-hand side represent the resistive voltage
drop, the inductive voltage drop and the induced emf or ‘back-em f, respectively. The
. dL(0) - i c. o K„ k where
i(0 f K„ R -dL(Q)
-------- (2.7)
do B B 36
series-excited dc machine except that, in the case of the SR M , the term ‘back-emf
variation of K b with position and current.K b is dependent on the operating point and
is obtained with constant current at that point. The instantaneous electrical power, vi,
is then:
The rate o f change o f magnetic stored energy at any instant is given by:
From the law o f conservation of energy, the mechanical power is equal to the
electrical input power after subtraction of both the resistive power loss, i2R, and the
rate of change of magnetic stored energy. Thus, the instantaneous mechanical power,
T = 1 ,2 dL{6)
(2.11)
2 dO
The torque waveform for the idealised inductance profile at constant current shown in
Figure 2.3 clearly follows the mathematical relationship o f equation (2.11). Moreover,
equation (2.11) indicates that the torque is independent of the sign of the phase current
and is instead determined by the sign of dL/dO. The absolute value of dL /d6
contributes to the amount of torque produced. For this reason, SRMs are generally
designed to have a large L max/T min ratio resulting in a large absolute value of dL /d6
and thus enabling high torque levels to be attained.
It is the dependence o f the torque on both position and current that results in the SR M
necessitating com plex control To produce a sm ooth torque output with minimum
ripple requires control schem es that carefully profile the phase currents o f the
individual phases so that the torques produced by each o f these phases sum to
produce the desired total torque.
Furthermore, equation (2.6) appears to indicate that from the terminals, each phase of
However, with L and e varying with both rotor position and current, the equivalent
circuit cannot be interpreted in the same manner as that o f a dc machine for instance.
V e
21
In short, the torque cannot be calculated from simple equivalent circuit considerations
and simulation of SR M drives requires the direct solution o f equations (2.3) and
(2.11). An alternative analysis that also takes into account magnetic saturation enables
the torque to be described in terms of the co-energy and is described in the next
section.
linkage versus current for a fixed rotor position. Before starting, it is necessary to
define the stored field energy, WF, as well as introducing the concept of co-energy,
W& Co-energy has no physical significance but it is often used to derive expressions
for torque in electromagnetic systems. The energy stored in the magnetic field may be
expressed as:
V
(2 . 12)
o
It may be interpreted graphically as the area between the magnetisation curve and the
flux-linkage axis as shown in Figure 2.7. The magnetic field co-energy is then the
area between the curve and the current axis and can be expressed as:
(2.13)
o
22
I Magnetisation
1 Curve
?i
Current (A)
Figure 2.7: The flux-linkage current plane showing the magnetic field stored energy
and the magnetic field co-energy.
Therefore, from Figure 2.7 the area defining the field energy and co-energy can be
described by the relation:
Now, consider a rotor movement from its original position, A, to a new position, B
(through an angular displacement AO). The magnetisation curves for both positions
are shown in Figure 2.8.
23
Figure 2.8: Flux-linkage current plane showing the effect of the rotor moving from
position A to position B.
Assuming that the current remains constant during the motion, the electrical energy,
We, exchanged with the supply is:
AWf -O B C -O A D (2.16)
The mechanical work done, AW m, is represented by the shaded area in Figure 2.8,
which, in fact, is equal to the change in electrical energy minus the change in the
magnetic field energy. Thus,
24
This value corresponds to the increase in the magnetic field co-energy i.e. AW m =
AWc- Also, the mechanical work done during the displacement AO, from A to B, can
be expressed as:
Therefore, in the limit when the angular displacement, AO, is very small => A0-^0,
T= (2.20)
i-CONSTANT
If a motor with no saturation is considered then all the magnetisation curves would be
straight lines and the stored magnetic field energy will equal the magnetic field co
energy at all times. Thus, at any rotor position the following would be true:
This expression for Wc implies that the expression for electromagnetic torque in
equation (2.20) reduces to:
T = ( 2 .22)
2 d0
which is identical to equation (2.11). The inductance only depends on position and is
independent of current.
The above analysis is carried out for a single phase of the SRM. For multi-phase
SRMs, the instantaneous torque equation becomes a summation of the form:
T = Y Tj (2-23)
.7=1
where 7} is the torque produced by the jth phase and m is the total number of phases.
25
2.3 Torque/speed characteristic
Like other motors, the torque produced by the SRM is limited by the maximum
allowed current and the rotational speed is limited by the available voltage supply.
The torque/speed characteristic of the SRM for motoring operation in one direction is
shown in Figure 2.9.
Speed
At low speed, the torque is controlled by regulating the current and rated torque can
be achieved up to a point known as the base speed. Because the back-emf of the SRM
increases with rotational speed, there comes a point where the limited supply voltage
can no longer force the current to the required level to achieve rated torque.
Essentially then, the base speed is the maximum speed at which maximum current and
rated torque can be achieved at the rated voltage. As the speed increases beyond base
speed and the back-emf increases still further, the conduction angle can be increased
to maintain constant power operation. Eventually however, the conduction angle can
no longer be increased, and the torque falls off more rapidly with a consequent fall-off
in the power. It is worth noting however that the SRM can still operate at very high
speeds under a small load. Although Figure 2.9 only shows the torque/speed
characteristic for motoring in a single given direction, the corresponding curve for
generating with the same direction of shaft rotation can be obtained by reflection in
the speed axis. Similarly, the characteristic for motoring and generating operation in
the opposite direction of rotation can be obtained by reflection in the torque axis.
Thus, four-quadrant operation of the SRM can be achieved.
26
2.4 Power converter
There are many different power converter circuits that can be used to excite the SRM,
each with its own particular advantages and disadvantages and a large body of
research exists documenting various design attempts for the SRM drive circuit
[(Vukosovic 1990) and (Barnes 1998)]. The different designs have a number of
similarities based on certain imposed conditions necessary for satisfactory SRM
operation. Since torque is independent of current direction, the converter needs only
to carry unidirectional current. However, since the flux-linkage must be returned to
zero at the end of each stroke, a negative voltage must be placed across the phase to
ensure that dy//dt < 0. It is important to ensure a high di/dt at the phase turn-off to
prevent the production of negative torque, which would lower the total average
torque. Since the phase inductance is high when the rotor is approaching the aligned
position, the application of a high demagnetising voltage is the most effective means
of increasing the turn-off di/dt. The most popular converter that accomplishes this
requirement is the ‘asymmetric half-bridge’ converter, which is also termed the
‘classic’ converter. A single phaseleg of the ‘classic’ converter is shown in Figure
2.10. Each phase is connected to an asymmetric half-bridge consisting of two
switches and two diodes (giving a total of 2N switches for an N phase machine) with
each phaseleg usually operating from the same voltage supply.
27
There are three possible states of operation for thè ‘classic’ converter:
State (1): Magnetisation. Both SI and S2 are on, the voltage across the phase winding
is v = Vs (Vs is the supply voltage) and current flows through the phase winding.
State (3): Forced Demagnetisation. This occurs when both SI and S2 are turned off.
D1 and D2 are forward biased and turned-on to allow current to flow through the
phase winding and back to the supply. The rate of demagnetisation is high as the
voltage across the winding is v = - Vs.
S1 \ D1
\ D2
28
The ‘classic’ converter has the advantage of providing independent control of phase
currents in motors having current overlap. Current can be supplied to one phase while
simultaneously demagnetising another phase allowing operation with any degree of
phase current overlap. Another advantage, which is common to all SRM converter
topologies and not just the ‘classic’ converter, is the fact that the switches are always
in series with the phase winding so at no time can a shoot-through fault occur. There
are many other converter topologies including N, (N+l), 1.5N and 2N switch
topologies (where N is the number of phases) as well as converters that employ
alternative approaches for producing the demagnetising voltage towards the end of
each stroke. A more in-depth examination of SRM converters, including the ‘classic’
converter as well as some of the other topologies, is performed in Chapter Five.
However, for the analysis of the dynamic operation of the SRM in Section 2.5, it will
be assumed that the ‘classic’ converter is employed.
Turn-on angle, Oon : The rotor position where a phase current is switched on.
Turn-off angle or commutation angle, Oo f f * The rotor position where the phase
current is switched off.
Conduction angle or dwell angle, Od. The angular difference between the turn-on and
turn-off angles i.e. dD = Ooff - Oon
Extinction angle, Oext • The rotor position where the phase current reaches zero.
For the following analysis, it is assumed that the ‘classic’ converter is employed and
hence the drive can apply three voltage levels to the phase winding, Vs, 0 or -Vs
(neglecting the voltage drops in the switches, diodes etc.). Only motoring operation
will be examined but the same principles apply to generating operation.
29
2.5.1 Low speed motoring
For low speed operation, the back-emf is too small compared to the supply voltage,
Vs, to limit the current and hence the current must be regulated by chopping of the
current waveform. Chopping means that the power switches are turned on/off, usually
at a much higher frequency than the fundamental frequency of the current waveform.
This has the effect of reducing the average voltage applied to the winding thereby
limiting the phase current. There are three possible states of operation of the converter
(as outlined in Section 2.4) and hence there are two possible modes of chopping
operation, known as hard chopping and soft chopping.
Soft chopping
The soft chopping strategy involves the chopping of a single power switch only. One
switch is tumed-on and left on until Oo f f is reached while the other switch is turned
on/off according to some pulsed signal from the controller. Hence the voltage across
the phase winding switches between V$ and 0. During the zero-volt period, the rate of
change of flux-linkage is low (equal to -Ri) and hence di/dt is relatively small.
Hard chopping
The hard chopping strategy involves driving both power switches with the same
pulsed control signal such that the pair of switches are turned on/off in unison. Hence,
the voltage across the phase winding switches between V$ and -Vs.
There are many methods of current regulation for low speed operation, all of which
employ current chopping. Popular methods of current control include voltage Pulse
Width Modulation (voltage PWM), current hysteresis and delta modulation.
Figure 2.12 and Figure 2.13 show the implementation of current control for a single
phase using soft chopping and hard chopping respectively. Each figure shows the
idealised inductance profile, the current reference or current command, IREFi produced
by the controller, the chopped current waveform, the resultant torque waveform, the
30
power switch states and the voltage across the phase winding. In each case, the
current regulation method employed is hysteresis control. For this type of control, at
least one of the two power switches is turned off when the current exceeds Iref + Ai/2
where Ai is called the hysteresis band. Similarly, when the current drops below I ref -
Ai/2 the switch is turned back on again.
31
Figure 2.12: Hysteresis current control for a single phase using soft chopping.
Figure 2.13: Hysteresis current control for a single phase using hard chopping.
33
In both Figures 2.12 and 2.13 the current starts to flow at the turn-on angle, shortly
after the unaligned position is reached. Once the current rises to the required level, it
is controlled via hysteresis control and the switch states and voltage across the
winding are shown clearly. It can be seen that the current falls faster within the
hysteresis band using hard chopping as opposed to soft chopping. Hence, soft
chopping enables the chopping frequency and dc link capacitor current to be reduced
for a given hysteresis band when compared to hard chopping. Notice also that no
torque is produced initially as the inductance is low and constant. As the rotor and
stator poles move closer together the inductance starts to increase, torque is produced
and is subsequently controlled by the phase current. The turn-off angle is a few
degrees before alignment and with both switches turned off, the current commutates
into the diodes and the reverse supply voltage is placed across the winding. The
current falls rapidly to zero with the extinction angle just before alignment to ensure
that no negative torque is produced. The flux-linkage current plane for chopped
current regulation is shown in Figure 2.14 with the loop being traversed in the anti
clockwise direction.
Figure 2.14: Flux-linkage current plane for a single phase for chopping operation at
low speed.
34
2.5.2 High speed motoring
As the speed increases beyond the base speed, the back-emf is large enough to limit
the current and hence, no current regulation is required. The power switches are left
turned on throughout the entire conduction cycle producing a single pulse of current
and hence this mode of operation is referred to as single pulse mode. At the turn-off
angle, both switches are turned off and the current is suppressed to zero by the
negative supply voltage across the winding. In the single pulse mode, the torque
produced by the motor can only be controlled by varying Oo n and Oo f f or
alternatively, by varying the supply voltage V$. Figure 2.15 shows the idealised
inductance as well as waveforms for the applied voltage, the phase current and the
torque produced during single pulse mode operation. The switches are closed shortly
after passing the unaligned position and the current rises rapidly due to the small
inductance and small back-emf. Initially, no torque is produced by the motor. As the
inductance starts to increase however, torque is produced. At the start of pole overlap,
the back-emf rises rapidly and soon exceeds the supply voltage. This results in a
negative di/dt and a fall in the current. The higher the speed of rotation the faster the
current will fall. This results in a corresponding fall in the torque produced. During
the conduction period, the flux-linkage rises linearly due to the constant supply
voltage across the phase winding. At the turn-off angle, both switches are opened and
the current commutates into the diodes and reduces to zero. The flux-linkage falls
linearly to zero because of the constant negative voltage across the winding. In high
speed operation, commutation must take place earlier than for low speed operation
(reducing the dwell angle) because of the reduced time for current suppression and the
desire to avoid large negative torque production. The trajectory in the flux-linkage
current plane corresponding to the single pulse mode operation of Figure 2.15 is
shown in Figure 2.16 where the loop is traversed in the anti-clockwise direction.
35
Figure 2.15: Single pulse mode control for a single phase for high speed motoring
operation.
36
Figure 2.16: Flux-linkage current plane for a single phase for single pulse mode
motoring control at high speed.
The various switching strategies outlined in this section are utilised in the complex
control schemes usually required for smooth control of the SRM. In Chapters Three,
Four, Six and Seven, control of the SRM for both the motoring and generating modes
is examined in detail and a number of control schemes are developed which
incorporate the basic switching strategies that have been outlined in this section.
T = i .2 a m (2.24)
2 dO
Equation (2.24) indicates that the torque does not depend on the direction of current
flow but rather on the relative positioning of phase current with respect to the
inductance profile. For generating operation, the firing angles are chosen so that
current flows when the phase inductance is decreasing which occurs immediately after
the rotor and stator poles have passed alignment. When generating, the rotor
37
experiences torque opposing the rotation of the prime mover. During normal
generator operation, a phase is excited before the rotor has aligned with the
corresponding stator pole pair. Typically, the excited phase draws its excitation
energy (through the electronic power converter to the machine) from the same dc link
that it will subsequently generate power back to (although this is not necessarily the
case). At some point after the rotor has passed alignment, the excitation source is
removed (the power electronic switches are turned off) and the phase generates into
the dc link via a pair of freewheeling diodes until the current returns to zero. In
essence, the work done by the prime mover in pulling the rotor poles away from the
excited stator poles is returned as electrical energy to the dc link. The energy returned
to the dc link includes the excitation energy plus additional generated energy. A good
generator control strategy synchronises the phase current with rotor position precisely
to ensure operation at the most efficient level and to minimise stress on the power
converter.
Figure 2.17 shows a single phaseleg of the ‘classic’ converter often employed in SR
generation along with the dc link capacitor, C, and the load. The various currents
marked in Figure 2.17 are defined in the forthcoming paragraphs.
38
The average load current is defined as II while iph is the instantaneous current flowing
in the phase winding. The integral of the excitation current, Im, over a single stroke is
determined as follows:
&OFF
I„ = \iphde (2.25)
&ON
The integral of the generated current, I out, over a single stroke is determined as
follows:
v tX T
OUT = (2.26)
Thus, the net generated current over a single stroke, Io, can be expressed as:
I q — I o u t ~ I in (2,27)
The ratio between the excitation power supplied from the dc link, P in.elec , and the
generated power returned to the dc link, Pqut,elec, is called the excitation penalty, e
(Kjaer 1994) and it can be expressed as:
£ _ P m ,E LE C = J jN _ = _ h N p .2 8 )
F OUT,ELEC I OUT ^ IN
It is clear that a small excitation penalty is desirable since it reduces losses. Three
possible current waveforms often observed during SR generation in single pulse mode
are shown in Figure 2.18 along with the idealised inductance profile. Oa and 0E refer
to the aligned position and the end of pole overlap position, respectively whilst 6on>
6 qff and Bext have the same meaning as before.
39
Figure 2,18: Three possible current waveforms often observed during SR generation
in single pulse mode.
The shape of these current waveforms can be explained with the help of the following
expression for the electrical dynamics of an SRM phase that was derived in Section
2 .2 :
v = iR + L(0) — + i a ^ ^ ~ (2.29)
dt 80
In this equation, the three terms on the right-hand side represent the resistive voltage
drop, the inductive voltage drop and the back-emf presented by the phase winding,
respectively. The back-emf, e, is equivalent to:
40
e = i o m . = icoKB where K B = ^ £ 1 (2.30)
89 8 3 86 ’
where K b is the back-emf coefficient. Clearly, the back-emf coefficient is the slope of
the inductance profile (the partial derivative is taken with the current held constant).
Thus, the back-emf coefflcent is positive during the region of increasing inductance
and negative during the region of decreasing inductance. In addition, the magnitude of
the back-emf varies with rotational speed and current magnitude. The different current
waveforms shown in Figure 2.18 are as a result of differences in the relative sign and
magnitude of the back-emf compared to the applied dc link voltage. During excitation
prior to the aligned position, the phase current builds up in the face of the back-emf
which reduces the effectiveness of the supplied voltage. For this reason, the turn-on
angle is often chosen well in advance of the aligned position (especially for high
speed operation) to enable the phase current to reach an adequate level before turn
off. The behaviour of the SR generator system during demagnetisation can be
assessed by comparing the relative magnitude of the back-emf and the dc link source
voltage. Rearranging equation (2.29) yields:
41
overlap ends at Ge, at which point the current starts to decrease. Finally, below the
base speed, the phase current will decrease after the switches are turned off at Go f f as
shown in Figure 2.18(c). Figure 2.18(c) shows the phase current when the sum of the
dc link voltage and the resistive voltage drop has a larger magnitude than the back-
emf as is often the case at low speeds (since the back-emf is proportional to rotational
speed). As can be seen, in this scenario the phase current starts to decrease
immediately at Go f f since — < 0. SR generation below the base speed necessitates
dt
multiple periods of excitation i.e. chopping of the current waveform. It is usual to use
hard chopping for phase current regulation. When hard chopping is employed, energy
is returned to the dc link every switching cycle. With soft chopping however, the
voltage across the phase winding switches between Vs and 0. During the zero-volt
period (freewheeling stage) there is no energy returned to the dc link. Essentially, soft
chopping results in the SR generator generating into its phase windings, which is of
no benefit.
According to (Miller 2001), the current waveform of Figure 2.18(a) has the smallest £
while (c) has the largest. Therefore, if the net generated current is equal for all three
cases, the current waveform of (a) is preferable due to its smaller losses.
Control of the SRM above base speed is more complicated for single pulse mode
generating operation than for single pulse mode motoring operation. For SR motoring
42
operation, the peak phase current can be directly controlled using the turn-on angle.
This enables separation of the duties of the turn-on angle and the conduction angle
(Sozer 2003). However, for SR generation above base speed, the peak phase current
will always occur around the point where the phase inductance decreases to its
minimum inductance value (Torrey 2002). There are many combinations of turn-on
angle and conduction angle that produce the same output power. Therefore, in SR
generator control, the issue is the determination of the best choice of the turn-on angle
and conduction angle.
(Radun 1994) discusses the instability of the SR generator system for open-loop
operation with fixed turn-on and turn-off angles. In essence, an increase in the dc link
voltage tends to increase the excitation current which in turn leads to an increase in
the generated current. The increase in generated current tends to increase the dc link
voltage still further providing the potential for instability. In addition, fixed firing-
angle generator operation with a large load can result in the dc link voltage decaying
to zero. For these reasons, closed-loop control of the SR generator must be employed.
43
(2) The main sources of heat are on the stator. This allows for greater ease of
cooling as the stator is easier to access than the rotor.
(3) According to (Krishnan 2001), the SRM’s power density is comparable to and
even slightly higher than induction machines but lower than permanent
magnet synchronous and brushless dc machines for speeds below 20,000rpm.
At higher speeds, the SRM improves to yield an equivalent or a higher power
density than these other machines.
(4) The phase inductance of the SRM is uniquely dependent on the rotor position
and the phase current. Thus, a number of sensorless position estimation
schemes have been developed (Husain 1996). All of these methods use the
instantaneous phase inductance variation information in some way to detect
the rotor position indirectly.
(5) The independence of torque with respect to current direction means that the
converter needs only to carry unidirectional current. For this reason, many
converter topologies with less than two switches per phase can be used to
operate the SRM leading to a reduction in cost. Also, shoot-through faults
cannot occur as the switches are always in series with the phase winding.
44
of enormous importance not only to the performance of the SRM drive but
also to the cost of the SRM drive.
45
Chapter Three - Initial investigative work
3.0 Introduction
In this chapter, the initial investigative work performed into SRM control in both
motoring and generating modes is described. The simulation package employed,
MATLAB/Simulink, is introduced. This is followed by a description of the simple
SRM model employed throughout the simulation work. Another SRM model, a
nonlinear self-tuning model of the SRM that can serve as a torque observer, is then
presented and its performance verified through simulation. The simulated results
arising from the implementation and testing of some SR control strategies described
in the literature are then presented. A self-tuning torque ripple minimisation controller
for the SRM in motoring mode is comprehensively tested. Finally, an SR generator
control strategy using an inverse model approach is described and simulated results
are presented.
3.1 MATLAB/Simulink
MATLAB/Simulink was the computer package used for simulation of the SRM and
its controller in motoring and generating modes. Brief descriptions of both MATLAB
and Simulink are presented in Sections 3.1.1 and 3.1.2 respectively.
The basic data element in MATLAB is an array that does not require dimensioning.
This enables the solution of many problems, especially those with matrix and vector
formulations, in a fraction of the time it would take to write a comparable program in
a scalar language such as C.
46
The MATLAB program incorporates a group of application-specific solutions called
toolboxes. These toolboxes are extensive collections of MATLAB functions (M-files)
that enable the application of specialised computational algorithms. They extend the
MATLAB environment to help in the solution of various categories of problems.
Areas in which toolboxes have been developed include digital signal processing,
control systems, power systems, communications, neural networks, fuzzy logic and
many others. These toolboxes are one of the primary reasons why MATLAB is very
popular with both university researchers and in industry.
The Simulink model structure is hierarchical, enabling models to be built using both
top-down and bottom-up approaches. A model can be viewed at a high level, while
increased model detail can be attained by double-clicking on blocks to move down
through the levels. After a model is built, it can be simulated, using a choice of
integration methods. Since MATLAB and Simulink are integrated, the model can be
simulated using the Simulink menus or alternatively, by entering commands in the
MATLAB command window. Using display blocks, the simulation results can be
viewed while the simulation is running. In addition, parameters can be changed ‘on
the fly’ and the effect on the system behaviour can be seen immmediately. The
simulation results can be saved in the MATLAB workspace for post-processing,
analysis and plotting.
47
3.2 Simple SRM model employed in the simulation work
Two SRM models were employed throughout the simulation work. One model is
derived using the SRM parameters and produces torque that is representative of the
SRM being modeled. The other model employed is a nonlinear self-tuning model that
involves fitting a general Fourier-type function to the torque produced by the SRM.
Hence, the second model can be employed as a torque estimator.
The first model employed is that described in (Roux 2000) and (Roux 2002). In these
papers, a simple model is derived from the nonlinear magnetisation characteristics of
an SRM. The ability of this simple model to accurately estimate the instantaneous
torque produced by the SRM is confirmed in both (Roux 2000) and (Roux 2002).
The model is formed from approximations of the magnetisation curves for the
unaligned and aligned positions. One curve is sufficient to approximate the
magnetisation curve for the unaligned position while two curves are required to
approximate the magnetisation curve for the aligned position. One is for the linear
part and one is for the nonlinear saturated part. Figure 3.1 shows the different curves
chosen to approximate the flux-linkage current curves at the aligned and unaligned
positions.
Figure 3.1: Approximated flux-linkage current curves for the aligned and unaligned
positions.
48
The curve representing the unaligned position (curve 1) is approximated by a straight
line such that, for any value of current, the flux-linkage, y/v(i), is described by:
M 0 =V (l l )
In the nonlinear saturated region, i > is, the flux-linkage current relationship is
described by a horizontal parabola (curve 3) with the equation:
V a (0 = V So + V4a('-'&) (3-3)
where a, y/s0 and is0 are constants that may be determined as follows:
The curves 2 and 3 in Figure 3.1 must have the same gradient at the point S.
Differentiating equations (3.2) and (3.3) and setting them equal at the point S yields:
where y/s and is are the values of the flux-linkage and current at the point S. A value
for the constant a may be determined from a second point, M, on the curve where M
is chosen to be in the region of the nominal current. The value of a is thus:
(3.6)
\ */
where y/Ms = y/M- Vs and ¿ms = iu ~ is and y/Mand îm are the values of the flux-linkage
and current at the point M.
where p is a constant equal to half the number of rotor poles. The expression for the
flux-linkage also assumes that 6 - 0 ±kn/p is defined as the aligned position and 6 =
7i/2p ±kn/p as the unaligned position where k is an integer.
The instantaneous phase torque can be calculated in terms of the flux-linkage from the
following equation:
(3.8)
50
For 0 < i < is, T{9,i) = -p {sm 2 p e )-{L A- L u y (3.10)
This simple SRM model was implemented in Simulink for a single phase of a 12/8
three-phase SRM. The parameter values for this SRM were as follows: p = 4 (half the
number of rotor poles), Lu = 0.2 ImH, La - 1.93mH, y/$ = 0.0388Wb, is - 20A, y/M-
0.07Wb and ¡m = 50A. A MATLAB function was written to automatically calculate
the values of a, y/s0 and is0 enabling the machine parameters (such as aligned and
unaligned inductances) to be easily modified if so desired. A supply voltage of 120V
was employed for magnetisation and demagnetisation of the phase winding. The
current, torque and flux-linkage waveforms for motor operation at lOOOrpm are
shown in Figures 3.2, 3.3 and 3.4. The turn-on angle (6 on) was 22.5 degrees before
alignment and the turn-off angle {Goff) was 8 degrees before alignment. The current,
torque and flux-linkage waveforms for generator operation at lOOOrpm are shown in
Figures 3.5, 3.6 and 3.7. The tum-on angle was 5 degrees before alignment and the
turn-off angle was 10 degrees after alignment.
51
Figure 3.2: Phase current waveform for motor operation at lOOOrpm with Gon = 22.5
degrees before alignment and Go f f = 8 degrees before alignment.
Figure 3.3: Phase torque waveform for motor operation at lOOOrpm with Gon = 22.5
degrees before alignment and Go f f ~ 8 degrees before alignment.
52
Figure 3.4: Phase flux-linkage waveform for motor operation at lOOOrpm with Oqn =
22.5 degrees before alignment and Oq f f = 8 degrees before alignment.
Figure 3.5: Phase current waveform for generator operation at lOOOrpm with Oon = 5
degrees before alignment and Oq f f ~ 10 degrees after alignment.
53
Figure 3.6: Phase torque waveform for generator operation at lOOOrpm with &on = 5
degrees before alignment and Oq f f = 10 degrees after alignment.
54
The torque-position-current characteristic for a single phase of the 12/8 three-phase
SRM model was determined and is shown below in Figure 3.8. As expected, positive
torque is produced between the angle of 22.5 degrees before alignment and the angle
of 0 degrees corresponding to the aligned position (motoring mode). At the aligned
position, the torque is zero. From the aligned position to 22.5 degrees after alignment,
negative torque is produced (generating mode).
55
The second model employed is that described in (Mir 1998) and which requires very
little a priori knowledge of the machine. This paper presents a nonlinear model with
on-line parameter estimation using recursive identification and it enables self-tuning
of an SRM without any additional instrumentation. The model can serve as a torque
observer and is unaffected by changes in the parameters of the machine or
inaccuracies in the rotor position.
The flux-1 inkage is a periodic function of rotor position, #, with a period of 27t/N
where N is the number of rotor poles. Therefore, the flux-linkage in each phase of the
machine can be represented by the following continuous function as:
(3.12)
where y/s is a constant whose magnitude is equal to or greater than the saturation flux-
linkage of the SRM and f(6) is a Fourier series function that is used to model the
position-dependent nonlinearities in the machine characteristics. The f(6) function can
be represented by:
where N is the number of rotor poles and the parameters a,b,c,d and e are variables
that are determined on-line.
(3.14)
¡^CONSTANT
56
The expression for flux-linkage can be substituted into the torque equation to give:
Vs d dem
T= (3.16)
m
All the variables in the torque equation are known or can be measured/calculated
except for the Fourier coefficients a,b,c>d and e. A system identification technique is
used to determine these parameters while the motor is running. The flux-linkage
model of equation (3.12) needs to be rearranged to use the least squares identification
method. Thus, equation (3.12) becomes:
//( * ) = In Vs (3.17)
Vs~V
The flux-linkage, %is required to calculate the logfunction onthe right-hand side of
equation (3.18)and this canbe determined throughnumerical integration of the
terminal measurements of voltage and current as follows:
=r (3.20)
57
where
(3.21)
Equation (3.20) is the basic model for the parameter identification and is linear with
respect to the parameter matrix, A, allowing its use in recursive least squares
identification. Recursive least squares identification employs a covariance matrix, P,
defined as:
(3.23)
The initial values in the covariance matrix P must be chosen to be greater than zero, a
is called the learning rate and can be chosen in the range 0.95 < a < 1.
58
Figure 3.9: Block diagram of the torque estimation method.
An alternative expression to equation (3.16) for the torque can be derived using the
magnetic circuit magnetomotive force decomposition as described in (Filicori 1993)
and the results of this derivation are also included in (Russa 2000) and (Russa 1998).
The phase torque is derived using the D’Alambert principle, which results in the
following expression:
V dm de
2 V s f (0)
(3.24)
where ^ is calculated from equation (3.12) using the measured phase current and the
updated parameter values a, b, c, d and e.
The nonlinear SRM model with on-line parameter identification was tested in
Simulink. In order to test the self-tuning abilities of this nonlinear model, it was
necessary to have a separate SRM model that would represent the behaviour of a
‘real’ motor. The first simple SRM model described in Section 3.2 was used for this
purpose. Figure 3.10 shows the simulated results for the torque produced by the
simple SRM model representing a ‘real’ motor and the torque produced by the self
tuning nonlinear model. As can be seen, the two torque profiles match after the first
electrical cycle. Thus, the nonlinear model is suitable for deployment as a torque
estimator. This model is in fact employed as a torque estimator in the torque ripple
minimisation schemes described in Chapters Four and Six.
59
Figure 3.10: Torque profiles for a single phase of the simple SRM model
representing the ‘real’ motor and the nonlinear SRM model with parameter
identification.
During the parameter identification process, the parameters a,b,c,d and e assume
values that account for the electromagnetic characteristics of the particular SRM being
modeled. Figure 3.11 shows the values of these parameters during steady-state
motoring operation for a single phase of the SRM. As can be seen, the parameters are
continuously updated. This ensures that the torque produced by the self-tuning
nonlinear model matches that of the simple SRM model representing the ‘real’ motor.
When the torque produced by the phase of the ‘real’ motor undergoing parameter
identification is zero, there is no change in the parameter values. However, when
phase torque is being produced, the parameters are updated as can clearly be seen in
Figure 3.11.
60
Time (seconds) x 10’3
61
Figure 3.12: Block diagram of the SRM torque ripple minimisation motor control
structure.
The torque reference signal, T*, is used to generate the desired torque for a chosen
phase or phases. The electronic commutator selects the most appropriate phases for
developing torque while maximising regions where more than one phase is used for
positive torque production. The torque controller estimates the phase torques using
equation (3.24) (with the updated parameter values a,b,c,d and e being employed).
The desired torque, I'I, for a particular phase k is obtained by subtracting the
estimated torque values produced by the other (N - 1) phases from the total torque
reference as follows:
T'k = T’ ~ f j j (3.25)
There are two modes of control involved in the production of the gate signals for the
power converter, hysteresis current control and voltage control. Essentially, each
phase conduction interval can be divided into three regions. During the torque
production interval, the current is regulated by a hysteresis controller. However,
during the commutation stage (of which there are two intervals), voltage control of the
phase is employed. During the first commutation interval, the controller forces a zero-
62
voltage to be applied to the phase. This enables torque to build up in the next phase
(resulting in a smooth transition of torque from one phase to the next). During the
second commutation interval, a negative voltage is applied to the phase. This rapidly
reduces the current to zero thereby avoiding the production of negative torque.
An important aspect of the torque controller is the production of the phase current
command, i In (Russa 2000), a mathematical expression relating the current
command to the desired phase torque, T**, is derived resulting in the following:
h~
m In 1 - 2T'kf 2(0)
V sf'iß )
(3.26)
where f(6) is the expression given in equation (3.13) and y/s is as defined in Section
3.3. This current command is used by the hysteresis current controller during the
torque production interval. Figure 3.13 shows a block diagram of the torque controller
(Russa 2000).
63
Once again, the motor model used to act as a ‘real’ SRM was the simple model
described in Section 3.2.
For both the 6/4 and 12/8 SRMs, the parameter identification routine was performed
for all three phases of the machine. However, when the identification routine was
performed for a single phase only and the results utilised for all the phases, there was
no degradation in the performance of the control strategy. For the 6/4 SRM, the torque
production interval during which the current is controlled using a hysteresis controller
was set from 45 degrees before alignment to 15 degrees before alignment. The zero-
voltage commutation interval was set from 15 degrees before alignment to 2.5 degrees
before alignment. At 2.5 degrees before alignment, the negative supply voltage was
applied to the phase until the current reduced to zero. Figure 3.14 shows the total
torque produced by the 6/4 SRM at a speed of 60rpm under a 0.5Nm load. Figure 3.15
shows the individual phase torque profiles for all three phases. Figure 3.16 shows the
current in a single phase of the SRM and the corresponding torque produced by that
phase. As can be seen, the current waveform isn’t flat-topped. It is instead profiled to
reduce the torque ripple.
64
6 01 0:2 0.3 0.4 0.5
Time (seconds)
Figure 3.14: Total torque produced by the 6/4 three-phase SRM model at a speed of
60rpm under a 0.5Nm load.
Figure 3.15: The individual phase torque profiles for all three phases produced by the
6/4 SRM model operating at a speed of 60rpm and under a 0.5Nm load.
Figure 3.16: The current in a single phase of the 6/4 three-phase SRM model and the
corresponding torque produced by that phase.
The control strategy was also implemented for a 12/8 three-phase SRM model. The
hysteresis current control region was from 22.5 degrees before alignment to 7.5
degrees before alignment. The zero-voltage commutation interval was set from 7.5
degrees before alignment to 1.5 degrees before alignment at which point the negative
supply voltage was applied. Figure 3.17 shows the total torque and the individual
phase torque profiles for operation at a speed of 60rpm and with a 0.8Nm load. A 6/4
three-phase SRM demands 12 current pulses per rotor turn. A 12/8 three-phase SRM
demands 24 current pulses per rotor turn. Therefore, for 6/4 and 12/8 three-phase
machines operating at the same speed, the torque pulsations in the 12/8 machine will
occur twice as often as in the 6/4 machine as can clearly be seen by comparing
Figures 3.14 and 3.17.
66
Figure 3.17: The total torque and the individual phase torque profiles produced by the
12/8 three-phase SRM model for operation at a speed of 60rpm and with a 0.8Nm
load.
In (Kjaer 1994), an inverse model of the SR generator that relates the firing angles,
Box and 6 q f f , for single pulse mode operation, to the average net generated current,
67
Io, the dc link voltage, and the rotational speed, co, is derived. In the closed-loop
generator controller described in (Kjaer 1994), a voltage controller outputs the
required average net generated current to account for the voltage mismatch and the
inverse model is then used to select the correct firing angles to produce the necessary
current. A limitation of the described approach, however, is that the inverse model is
obtained on the basis of a linear inductance profile. Under this assumption, it is shown
in (Kjaer 1994) that there is a quadratic relationship between theturn-on angle, Oon,
and the average net generated current, Io, as follows:
l o = V^ { A 0 l N + BdON+ c ) (3.27)
CO
where the coefficents A, B and C are mathematical expressions that are given in
(Kjaer 1994). Thus, it is possible to analytically deduce the tum-on angle using the
required average net generated current from equation (3.27).
Rather than follow this approach exactly, the assumption of a linear inductance profile
wasn’t made and the relationship between Oon and Io for a nonlinear model of a SRM
inclusive of saturation was obtained by means of simulation. The nonlinear model
employed in the simulation was that described in Section 3.2. While the use of a
nonlinear model is an obvious advantage, the method described in (Kjaer 1994) has
the advantage that no measurements are required and only geometry andunsaturated
unaligned and aligned phase inductances need to be known.
Results were obtained for an 8/8-pole single phase SR generator whose parameters
(0.8kW machine with phase resistance of 0.016Q and unaligned/aligned inductances
of 0.21/1.94mH) were chosen according to a prototype design described in (Miller
2001). Figure 3.18 shows the relationship between the tum-on angle and the average
net generated current for different turn-off angles at 100V. The solid line represents
the exact values obtained from simulations. The quadratic approximation is the
dashed line superimposed on the exact result. Two sets of curves are provided to
confirm the validity of the result for different turn-off angles (which are taken to be
fixed). Figure 3.19 shows similar results at 270V. These graphs indicate that the
68
relationship between average net generated current and turn-on angle for a nonlinear
model can still be adequately approximated using a quadratic.
20
Actual data curve
Curve fit
1 15
1—
3
O
■
<1)o " T u rn o ff ang le = 1 5 d e g re e s
20) 10-<
c<D
05
c<u 5
CD
<5>
CD
Turn-off an g le = 10 d e g re e s
< «
Figure 3.18: Relationship between the tum-on angle and average net generated
current for Vdc = 100V.
*******
Turn-off an g le = 15 d e g re e s
Turn-off angle = 10 d e g re e s
0 2 4 6 8
Turn-off angle (D egrees before alignm ent)
Figure 3.19: Relationship between the tum-on angle and average net generated
current for Vdc = 270V.
69
system shown in block diagram form in Figure 3.20 is applicable. F(0) is the
quadratic approximation to the exact relationship between the turn-on angle and the
average net generated current.
The closed-loop voltage control strategy employs a PI controller that outputs the
required net generated current, Io*, needed to bring the dc link voltage, Vdc, to the
desired level. The inverse machine model, F 1(Q), then selects the appropriate turn-on
angle that will produce the necessary current.
The control strategy was implemented and tested in Simulink for the 8/8 single-phase
SR generator. The dc link capacitor value was chosen to be 3500|^F. The PI controller
was implemented with anti-windup and a saturation block was employed to limit the
maximum required net generated current to 8A. The turn-off angle was fixed at 10
degrees after alignment. Figure 3.21 shows the dc link voltage for a reference voltage
of 100V. The generator rotational speed is lOOOrpm and a 100Q resistive load is
connected across the dc link capacitor. The ripple on the dc link voltage results from
the same dc link being used for excitation and generation i.e. the dc link voltage dips
when current is drawn for excitation and rises again during the generation period.
70
Figure 3.21: De link voltage for a 100V reference with operation at lOOOrpm and
with a 1OOQ. resistive load.
Figure 3.22 shows the steady-state phase current for operation with a reference
voltage of 100V, at a rotational speed of lOOOrpm and with a 100Q resistive load
connected across the dc link capacitor. The excitation turn-on and turn-off positions
are clearly shown.
71
Time (seco n d s)
Figure 3.22: Phase current for operation with 100V reference at a speed of lOOOrpm
and with a 100Q resistive load.
A critical test of the generator control system is its transient response to a change in
the load. Figure 3.23 shows the response of the generator control system to a step in
the load (from 1000 to 50Q) after 0.05 seconds for operation with a 100V reference
and at a speed of lOOOrpm. As can be seen, the dc link voltage recovers quickly.
During this recovery period, there is a significant increase in the phase current. This
increases the net generated current and therefore brings the dc link voltage back to the
commanded level as quickly as possible. When the dc link voltage has recovered to
100V steady-state, the phase current has a higher peak value than prior to the
reduction in the load impedance. This is as a consequence of needing to supply more
generated current.
72
Time (seco n d s)
Figure 3.23: Response of the generator control system to a step in the load (from
100Q to 50Q) after 0.05 seconds for operation with a 100V reference and at a speed
of lOOOrpm.
73
dc link voltage (V)
Time (seco n d s)
60 ------- 1----- ----------1----------------!----------------1--------------- 1----------------i----------------r-------------- T----------------1---------------T
Time (seco n d s)
Figure 3.24: Response of the generator control system to a step in the reference
voltage from 100V to 110V at a speed of lOOOrpm and with a 100Q resistive load.
74
Chapter Four - Torque ripple minimisation
4.0 Introduction
In this chapter, the implementation of three neuro-fuzzy control strategies for torque
ripple minimisation in SR motors is described. Firstly, Fuzzy Logic and the operation
of the Adaptive Neuro-Fuzzy Inference System (ANFIS) are explained. For each
control strategy, the training of a suitable neuro-fuzzy compensator for torque ripple
reduction and the incorporation of the trained compensator into the overall SR drive
are then described. The performance of the three torque ripple minimisation control
schemes is examined with simulations and the results are presented. Their efficacy is
tested under current-regulated speed control operation implemented using a PI
controller.
The concept of Fuzzy Logic was first introduced by Lofti Zadeh (Zadeh 1965) who
presented a way of processing data by allowing partial set membership rather than
crisp set membership. A classical crisp set, A , is defined as a collection of individual
elements of a superset, X, which satisfy certain conditions governing A (Vas 1999). A
crisp set can be characterised by the characteristic function, juc(x), such that
Thus, a crisp set, A y either totally includes or totally excludes any given element. As
such, the characteristic function of a crisp set corresponds to binary or bivalued logic.
An example of a classical crisp set is:
75
-4 = {x 14 < x < 10} (4.2)
In (Zadeh 1965), the idea of a fuzzy set was conceived by extending the notion of a
binary characteristic function to a multivalued membership function such that a fuzzy
set can contain elements with only a partial degree of membership. This corresponds
to any given element having a degree of membership on the continuous interval [0, 1]
where the endpoint of 0 means no membership, the endpoint of 1 corresponds to full
membership and there is an infinite number of membership values between 0 and 1.
Thus, a membership function, ju(x), is a curve which defines how each input point or
element is mapped to a membership value (or degree of membership) between 0 and
1. A fuzzy set is a set of ordered pairs (x, fi(x)) with the membership function
mapping each element of the domain, X, to a membership value between 0 and 1.
Thus, a fuzzy set can be expressed as:
B = { (x ,v { x ))\x z X } (4.3)
For example, if xj is an element of the fuzzy set B and xj has a membership value of
0.5 then the element xj belongs to the fuzzy set B by a degree of truth equal to 0.5.
The characteristic function of the crisp set A and the membership function of the
fuzzy set B are shown in Figure 4.1.
76
There are many different types of membership functions since the only condition that
must be satisfied is that it must vary between 0 and 1. There are smooth membership
functions (bell-shaped, sigmoid, Gaussian etc.) and non-smooth membership
functions (triangular, trapezoidal etc.). Two of the simplest membership function
shapes are triangular and trapezoidal and these are shown in Figure 4.2.
As can be seen, the triangular membership function can be described using just three
parameters, a, b and c and it can be represented mathematically as follows:
0 x <a
(x - a) l(b - a) a < x< b (4.4)
M t r i (•* ) —
(c -x )/(c -b ) b < x< c
0 x> c
Similarly, the trapezoidal membership function can be described using just four
parameters, a, b, c and d and it can be represented mathematically as follows:
0 x <a
( x - a ) f( b - a ) a < x < b
M trap( x ) 1 b < x <c (4.5)
(d-x)t(d-c) c <x <d
0 x >d
As already stated, Fuzzy Logic is a rule-based approach where the rules take the form
of ‘if-then’ statements such as:
77
If x is A and y is B then z is C
(4.6)
I f x is D or y is E then z is F
The ‘if-part’ of each rule (eg. 'ifx is A andy is B’) is called the antecedent or premise
while the ‘then-part’ of each rule (eg. ‘then z is C) is referred to as the consequent.
The interpretation of each rule involves a number of steps. Firstly, the antecedent
must be evaluated, a process which involves the fuzzification of the inputs.
Fuzzification essentially takes crisp input values and proceeds to resolve all the
statements in the antecedent to a degree of membership between 0 and 1. Figure 4.3
shows the membership functions of two fuzzy sets, A and B. Consider, for example,
that xj andy/ are crisp input values to the fuzzy sets A and B respectively. It is clear
from Figure 4.3 that xj andyj can be resolved to the following fuzzy values:
If there is only a single statement in the antecedent (eg. *if x is A ’), then this is the
support for the rule (also called the firing strength of the rule). However, if there is
more than one statement (eg. ‘if x is A and y is B') then Fuzzy Logic operators are
required to resolve the antecedent to a single number between 0 and 1. These
operators are the fuzzy equivalent of AND, OR and NOT operators in standard
boolean logic. Thus, it is possible to resolve the statement ‘A AND B \ where A and B
are fuzzy values limited to the range [0, 1], by using the function min(A, B). Similarly,
the operation ‘A OR B *can be replaced by max(A, B) while the operation "NOTA' can
78
be replaced by 1-A. Fuzzy Logic is a superset of standard boolean logic. If the fuzzy
values are kept at their extremes of 0 and 1, then the fuzzy operators return the same
values as the standard equivalent boolean operators. Table 4.1 verifies this by
showing the truth-tables for the standard AND, OR and NOT boolean operations and
their equivalent fuzzy operations when the fuzzy values, A and B, are kept at the
limits of 0 and 1. Of course in practice, the Fuzzy Logic operators are applied to fuzzy
inputs in the range [0, 1]. Figure 4.4 illustrates the effect of the min operator when
applied to inputs A and B (A and B are fuzzy values varying between 0 and 1) i.e.
min(A, B). If the min operator was applied to the fuzzy values in equation (4.7) then
the result would be as follows:
Table 4.1: Truth-tables for the standard AND, OR and NOT boolean operations and
their equivalent fuzzy operations.
Figure 4.4: Result of the min operation on inputs A and B i.e. min(A, B).
When the firing strength of each rule is known, the consequent of each fuzzy rule can
be found and a final crisp output obtained through aggregation of the consequents.
However, there are a number of different ways in which the consequent of each rule
79
can be inferred from the antecedent depending on the type of fuzzy reasoning
employed including (Jang 1993):
• Type 1: The consequent of each fuzzy rule assigns an entire fuzzy set to the output
(found by applying the min operation to the firing strength and the output
membership function of each rule). The overall fuzzy output is derived by
applying the max operation to the qualified fuzzy outputs of all the rules. Several
schemes have been proposed to choose the final crisp output based on the overall
fuzzy output with perhaps the most popular being the centroid of the area.
• Type 2: In a Sugeno-type system (Sugeno 1985), the output of each rule is a linear
combination of input variables plus a constant term. The final output is the
weighted average of each rule’s output. Thus, in this type of system, fuzzy sets are
only involved in the antecedent part of the ‘if-then’ rules.
Knowledge Base
Input O utput
FuZiiHcetton Defuzzification
cnsp 1 Database Rule taa&a cnsp
inference fingine
{Dscisiofwnaking unit)
fuzzy fuzzy
80
The Fuzzy Inference System (FIS) comprises five main functional blocks (Jang 1993).
These are the following:
• Rule base: The rule base contains a set of fuzzy ‘if-then’ rules that are developed
using the experience and knowledge of an ‘expert’.
• Database: The database contains the information that defines the membership
functions of the fuzzy sets used in the fuzzy rules.
• Fuzzification: The fuzzification block takes input signals (crisp quantities with
numerical values) and transforms them into fuzzy quantities. Essentially, this
block determines the degree to which each input belongs to each of the
appropriate fuzzy sets using the antecedent membership functions.
• Inference engine: This is the decision-making kernel of the FIS. The inference
engine evaluates the set of ‘if-then’ rules with each rule producing a fuzzy
quantity.
• Defuzzification: This block transforms the fuzzy results from the inference engine
into a nonfuzzy crisp output using the consequent membership functions.
The Mamdani fuzzy inference process represented by the block diagram of Figure 4.5
is the most commonly employed fuzzy inference method (Fuzzy Logic Toolbox
User’s Guide 2000). However, another popular method of fuzzy inference is that
introduced by Sugeno (Sugeno 1985). The Sugeno-type of fuzzy inference (Type 2 as
described in Section 4.1) is similar to the Mamdani-type in many respects with the
fuzzification of inputs and application of the fuzzy operators identical for both
systems. However, the output membership functions for a Sugeno-type FIS are linear
or constant. A first order Sugeno-type FIS has rules of the form:
81
where A and B are fuzzy sets in the antecedent while p, q and r are all constants
resulting in a consequent part that is described by a nonfuzzy equation of the input
variables x and y. The Sugeno-type system is computationally more efficient than a
Mamdani-type system and so the Sugeno-type system is better suited to the use of
adaptive techniques for constructing fuzzy models. These adaptive techniques can be
used to tune the membership functions to best model a set of input-output data. Such
an adaptive technique is the Adaptive Neuro-Fuzzy Inference System (ANFIS),
developed by Jang (Jang 1993), that is described in Section 4.3.
4.3 ANFIS
Consider an input-output data set obtained from a system whose behaviour it is
desired to model using a FIS. Since any membership function is defined by its
associated parameters, the accuracy of the modeling attempt for a given data set relies
on the particular membership function shapes chosen (triangular, trapezoidal, bell-
shaped etc.) as well as their individual associated parameters. Rather than choosing
the parameters associated with a given membership function arbitrarily, adaptive
neuro-fuzzy techniques enable the computation of membership function parameters
that best allow the FIS to model/track the input-output data.
One such neuro-fuzzy technique that enables system modeling is ANFIS. ANFIS is
similar to many other system identification techniques. Firstly, a parameterised model
structure is defined. In the case of ANFIS, this involves choosing initial membership
functions, defining the ‘if-then’ rules etc. The next step involves collecting a set of
input-output training data from the system to be modeled. Finally, ANFIS is
employed to train the FIS to emulate the training data by modifying the membership
function parameters until the desired minimum modeling error has been achieved
(Fuzzy Logic Toolbox Users Guide 2000). A block diagram of the ANFIS
architecture for a two-input, two-rule first-order Sugeno model is shown in Figure 4.6
(Hynes 1997). To reflect different adaptive capabilities, both square and circular
nodes are used in the block diagram of the ANFIS architecture. A square node has
parameters associated with it (which can be updated during the training procedure)
while a circular node has no parameters associated with it.
82
Layer 1 Layer 2 Layer 3 Layer 4 Layer 5
Figure 4.6: ANFIS architecture for a two-input, two-rule first-order Sugeno model.
As can be seen, the FIS shown in Figure 4.6 has two inputs, xi and X2 , and one output,
y. The rule base contains two Sugeno-type fuzzy ‘if-then’ rules whose outputs sum to
produce the overall output:
Thus, the ANFIS architecture consists of two parameter sets that may be trained:
1) The antecedent membership function parameters [eg. {a, b, c} for a triangular
membership function]
2) The consequent parameters [{p, q, r}]
The ANFIS training procedure employs a gradient descent algorithm to optimise the
antecedent parameters and a least squares algorithm to tune the consequent
parameters. Since two different algorithms are employed in the system modeling, the
training rule is often called a hybrid training rule. The consequent parameters are
updated first using a least-mean-squared error type algorithm and the antecedent
parameters are then updated by backpropagating the errors that still remain (Hynes
1997).
83
The ANFIS architecture consists of five layers (clearly labelled in Figure 4.6) with the
output of the nodes in each respective layer represented by O ™where i is the ith node
of layer m. All nodes in the same layer have the same functionality. The functionality
of the nodes in each layer is described now [(Jang 1993) and (Hynes 1997)].
84
Layer 5: Sum all the inputs from layer 4
In layer 5, the overall output is computed as the summation of all the rule outputs
from layer 4 (linear combination of the consequent parameters), i.e.,
0?=y =£yl ='£^f <415)
It is the last layer (layer 5) that enables solution of the consequent parameters using a
least squares algorithm. Equation (4.16) can be expressed in matrix form as:
Pi
<h
y = [w 1 * 1 WjX2 wi w 2x, w 2x 2 w2
r\
XW (4.17)
Pi
<h
A least squares regression technique is used to solve for the weight vector, W. Thus,
for each training epoch, w, and w2 are calculated. Equation (4.17) is then used to
solve for the consequent parameters. The rule outputs are then calculated using the
new updated consequent parameters and the error signals are propagated back through
the layers to update the antecedent parameters (using a gradient descent algorithm)
(Hynes 1997).
85
any method employed to reduce the torque ripple requires careful profiling/shaping of
the phase current waveforms.
(b)
Figure 4.7: Effect of adding a compensating current signal to the output reference
signal produced by the PI controller, (a) Constant I r e f = h i produces significant
torque ripple, (b) I r e f consisting of constant I pi and the compensating signal I c o m p
produces a ripple-free torque profile.
86
compensating signal is the required modification to the current control signal from the
PI controller necessary to produce a reduced-ripple torque profile. The compensating
signal is necessary because, in steady-state operation with a constant output from the
PI controller, the torque profile will have significant ripple. The compensating signal
profile is trained via the ANFIS neuro-fuzzy system prior to normal SRM operation.
For this control strategy, it is proposed to train the compensator off-line by passing
three parameters obtained from steady-state operation of the SRM to the ANFIS
system - torque, T, PI controller output current signal, Ip/, and rotor position
information, 0. The aim of the compensator training is to enable determination of the
current required to produce a specific torque at a specific position. Hence, the data is
passed to the ANFIS system in such a manner that the torque and rotor position
information are interpreted as inputs and the PI controller current signal is interpreted
as an output as shown in Figure 4.8. The data is subsequently modeled until an
acceptable error limit is reached.
o
--------------------------
w
►
ANFIS
T
------------------------- >
Once trained, the neuro-fuzzy compensator is incorporated into the SR drive. During
subsequent operation of the SR drive, the torque ripple (i.e. the torque signal with the
dc component removed), Tipple, and the rotor position, 0, are inputted to the
compensator, which produces the required compensating current signal to be added to
the PI controller current signal. A block diagram of the proposed neuro-fuzzy torque
ripple minimisation control strategy is shown in Figure 4.9.
87
strategy no. 1.
This neuro-fuzzy torque ripple minimisation control strategy is suitable for use with
SRMs whose torque-current-position characteristics are mildly nonlinear. This is
because, for any particular combination of torque ripple and rotor position, the
compensator outputs the same compensating current signal value regardless of the
average torque value. Furthermore, a high sampling rate is required to enable the
compensator to react to the constantly changing torque ripple and output the
appropriate compensating current signal.
Yalufe.
H55BMBJL
2.5Q
52 mH
9mH
inertia 1.07 x 10‘3 kg-m:
rated current 2.5 amp
rated voltage 12 0 volt d.c. bus
stator / rotor poles 1 2 /8
phases 3
89
position and the torque were as shown in Figure 4.10 and Figure 4.11. As can be seen
in Figure 4.10, the rotor position was in the range 0 - 2n radians.
Once the neuro-fuzzy compensator was trained, it was incorporated into the SR drive
system. For comparison purposes, the system was simulated with and without current
compensation for a wide range of values of rotor position and torque ripple. For SR
drive operation with current compensation, the compensating current signal produced
by the neuro-fuzzy compensator followed the curve shown in Figure 4.12.
90
Rotor Position (Radians) 0 -0.2 Torque Ripple (Nm)
Figure 4.12: Current compensation curve for the 6/4 three-phase SRM
The neuro-fuzzy control strategy was tested for operation under current-regulated
speed control implemented using a PI controller. Figure 4.13 shows the currents in
phases A and B when the SR drive system was simulated without current
compensation. As expected, the current profiles are flat-topped. Figure 4.13 also
shows the currents in phases A and B when the neuro-fuzzy compensator was
incorporated into the system. As can clearly be seen, the phase current shape is
modified due to the addition of the I c o m p current compensating signal to the constant
PI controller current signal.
91
Figure 4.13: Phase currents A and B for steady-state motoring at 60rpm with a
0.5Nm load with and without current compensation.
Figure 4.14 shows the torque produced by each of the three phases of the 6/4 SRM for
a load torque of 0.5Nm when there is no current compensation and when the neuro-
fuzzy compensator is incorporated into the SR drive. The profiles of the phase torques
change when the compensator is employed.
92
Figure 4.14: Torque in the individual phases for steady-state motoring at 60rpm with
a 0.5Nm load with and without current compensation.
The total torque produced by the SRM is the algebraic sum of the individual phase
torques. Thus, Figure 4.15 shows the steady-state torque produced by the 6/4 SRM
(for a load torque of 0.5Nm) when there is no current compensation. Figure 4.15 also
shows the steady-state torque produced by the 6/4 SRM when the neuro-fuzzy
compensator is incorporated into the drive. As can clearly be seen, there is a very
significant reduction in the torque ripple when the neuro-fuzzy compensator is
employed.
A numerical comparison of the ripple on the torque outputs with and without
compensation is desired. In (Miller 2001), the variance of the ripple is employed as
the performance gauge. In this thesis, the root-mean-squared (rms) error (which is the
square root of the variance) is calculated for both sets of data. The rms error is defined
as:
Yjripple]
rm s erro r = /=I (4 .1 8 )
93
where Tripplet is the torque ripple at each sample point and n is the total number of
samples. Tripplei is calculated from T - T where Tt is the torque at each sample point
and T is the mean torque value. For a load torque of 0.5Nm, the rms error is reduced
by slightly less than an order of magnitude, from 0.0242 to 0.0025, when
compensation is employed.
Figure 4.15: Torque produced by the 6/4 SRM for steady-state motoring at 60rpm
with a 0.5Nm load with and without current compensation.
94
Once the neuro-fuzzy system was trained, it was incorporated into the SR drive
system. For comparison purposes, the system was simulated with and without current
compensation for current-regulated speed control implemented using a PI controller.
Figure 4.16 shows the steady-state torque produced by the 12/8 three-phase SRM with
and without current compensation for operation at 180rpm with a load of 0.25Nm. As
for the 6/4 SRM, there is a very significant reduction in the torque ripple in the 12/8
SRM when the neuro-fuzzy compensator is employed. The rms error, defined in
equation (4.18), is reduced from 0.0131 to 0.0017.
Figure 4.16: The steady-state torque produced by the 12/8 three-phase SRM with and
without current compensation for motoring operation at 180rpm with a 0.25Nm load.
95
different. Figure 4.17 shows a block diagram of the neuro-fuzzy torque ripple
minimisation control strategy no. 2. As can be seen, the neuro-fuzzy compensator
selects the appropriate compensating current signal, I c o m p , based on the average
torque, T 'a v e r a g e , and the rotor position, 6 .
Figure 4.18: Basic block diagram of the ANFIS training method for neuro-fuzzy
control strategy no. 2.
96
current signal. On completion of the first simulation, the following steady-state data is
recorded - the average torque, T a v e r a g e , the rotor position, 6, and the torque ripple,
T r ip p le - The torque ripple is obtained by simply removing the dc component from the
total torque value. A vector, whose length is equal to that of each of the three recorded
parameter vectors, is then created and initialised to zero. This vector is used to hold
the compensating current signal values, Icom p> These are updated throughout the
training.
The torque ripple at each rotor position sample point is accurately known. Therefore,
at each sample point, the compensating current value is decremented if the torque
ripple is greater than zero while the compensating current value is incremented if the
torque ripple is less than zero. This produces an updated I c o m p data vector that can be
employed in the ANFIS training. Essentially then, the torque ripple is the error
information that is used to update the compensating current signal. The average
torque, rotor position and compensating current signal data is passed to the ANFIS
system in such a manner that the average torque and rotor position are interpreted as
inputs and the compensating current interpreted as an output as shown in Figure 4.18.
The data is modeled and an appropriate FIS is generated. The generated FIS is then
incorporated into the SR drive as the neuro-fuzzy compensator. The SR drive is
simulated with the compensating current signal generated by the neuro-fuzzy
compensator added to the same constant current reference value employed in the
original system simulation. The average torque, rotor position and torque ripple are
once again recorded. The compensating current signal data vector is further updated
according to the T r j p p l e information. The neuro-fuzzy compensator is then trained
again using ANFIS and the trained compensator is incorporated into the SR drive for
use during the next training iteration. Thus, each training iteration refines the
compensating current signal further, resulting in a reduction in the torque ripple
during each subsequent SR drive simulation. This training process is repeated until
the torque ripple has been reduced below some desired minimum value.
When the torque ripple has been brought within the desired error limits at each rotor
position for a particular average torque value, the current reference is incremented,
thereby increasing the average torque produced by the SRM, and the entire training
97
procedure is repeated. This is done for several discrete values of the average torque.
The desired compensating current signal is then known for every rotor position at
each discrete average torque value. The entire data set is then combined and passed to
the ANFIS system and the final neurofuzzy compensator is trained. Figure 4.19 shows
a flowchart describing the neuro-fuzzy compensator training procedure. In Figure
4.19, N is an integer that refers to the Mh training iteration. For N=l (first iteration),
the SR drive is simulated without any compensating current signal. However, for
N> 1, the neuro-fuzzy compensator trained during the previous training iteration is
incorporated into the SR drive for system simulation. When the torque ripple is
sufficiently small, the current reference is incremented and the training procedure is
repeated.
Unlike neuro-fuzzy control strategy no. 1, this control strategy is suitable for
employment with an SRM that has strongly nonlinear torque-current-position
characteristics. This is because the compensating current signal outputted by the
compensator at each rotor position changes with the average torque operating point.
98
4.8 Simulation results for control strategy no. 2
The control strategy was implemented and tested using the 6/4 three-phase SRM
model and the model of the 12/8 three-phase experimental SRM. The method of phase
conduction and commutation control described in Section 4.6 was employed in both
SRM control implementations.
99
hybrid training technique that incorporates the backpropogation algorithm and the
least-mean-squares algorithm.
Time (seconds)
■.............. 1---------------------- t — ~i---------------------r—
With compensating current after 10 training iterations
Figure 4.20: The torque produced by the 6/4 three-phase SRM without current
compensation, with current compensation after two training iterations and with
current compensation after eight training iterations for open-loop motoring operation
with a constant current reference of 1.75A.
100
Figure 4.21 shows the phase currents and corresponding phase torques produced by
the 6/4 SRM for open-loop motoring operation with a constant current reference of
1.75A without current compensation while Figure 4.22 shows the same waveforms
with current compensation. When the neuro-fuzzy compensator is employed, the
phase current shape is no longer flat-topped. As can be seen in Figure 4.22, the
addition of a suitable compensating current results in flat-topped phase torque
profiles. The compensating current signal that is added to the 1.75A constant
reference during steady-state operation is plotted against rotor position in Figure 4.23.
Figure 4.21: The phase currents and corresponding phase torques produced by the 6/4
SRM for open-loop motoring operation with a constant current reference of 1.75A
without current compensation.
101
Figure 4.22: The phase currents and corresponding phase torques produced by the 6/4
SRM for open-loop motoring operation with a constant current reference of 1.75A
with current compensation.
102
4.8.1.2 PI speed control tests
In Section 4.8.1.1, the neuro-fuzzy compensator was tested with the SR drive
operating in open-loop motoring mode with a constant current reference. For further
testing, the neuro-fuzzy compensator was incorporated into the SR drive operated
under current-regulated speed control implemented using a PI controller. The PI
controller was tuned manually. The resultant constants were P = 0.3 and I = 0.1. Once
again, the system was simulated with and without current compensation to enable
suitable comparison. For SR drive operation with current compensation, the
compensating current signal produced by the neuro-fuzzy compensator followed the
curve shown in Figure 4.24.
Average 0 4 80 90
Torque .(Nm) 0.2 50 60
0 o 10 ^0
Rotor Position (Degrees)
Figure 4.24: Current compensation curve for the 6/4 three-phase SRM.
The SR drive system was simulated with and without compensation for a load torque
of Tl = 0.5Nm and with a reference speed of caref = 60rpm. Figure 4.25 shows the
steady-state torque produced by the 6/4 SRM with and without current compensation.
As expected, when the neuro-fuzzy compensator is employed, a significant decrease
in the torque ripple is observed. Figure 4.26 shows the phase currents and phase
torques without current compensation during steady-state motoring operation. The
103
phase currents are controlled around the almost constant PI controller output signal
using delta modulation current control. The torque profile has considerable ripple.
Figure 4.27 shows the phase currents and phase torque profiles when the neuro-fuzzy
compensator is incorporated into the SR drive. The shape of the current waveforms is
such that flat-topped phase torques are produced. The torque ripple rms error is
reduced from 0.0242 to 0.0033 when compensation is employed.
roO.
■w
to .
E
rms error = 0.0033
£
s.,
(D
3cr 0
20 20.1 20.2 20.3 20.4 20.5 20:6 20.7 20.8 20! 9 21
Time (seconds)
Figure 4.25: Torque produced by the 6/4 SRM with and without compensation for
operation at 60rpm with a load torque of 0.5Nm.
104
20 -20.2 20.4 20.6 20.8 21
Time (seconds)
The phase currents and phase torque profiles for steady-state motoring
F ig u re 4.26:
Figure 4.28 shows the PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the current reference used by the delta
modulation current controller for steady-state motoring operation at 60rpm with a
0.5Nm load. The PI controller output signal is approximately constant in steady-state
since the motor speed is essentially constant and equal to the reference speed.
However, there is a small speed ripple and hence there is a small ripple on the PI
controller output signal as well. The final current reference is the sum of the PI
controller output current signal and the compensating current signal from the neuro-
fuzzy compensator.
106
;! 1 1 i
<
V.r=i
w-“—^ 1- -
“ ■CO
>-
8> '
,* f
Ü =J
)- -
) ........ 'i I ..........1................. .................1.....
20 20.2 20.4 20.6 20.8 21
Time (seconds)
1 ------------- -------- ---------- " r~....: ■1" i1 ................i......
Time (seconds)
Figure 4.28: The PI controller output current signal, the compensating current signal
produced by the neuro-fuzzy compensator and the final current reference used by the
delta modulation current controller for steady-state motoring operation at 60rpm with
a 0.5Nm load.
107
trapezoidal membership functions chosen for the average torque. The neuro-fuzzy
compensator was trained using the hybrid training technique that incorporates the
backpropogation algorithm and the least-mean-squares algorithm.
108
0.5 0.51 0.52 0.53 0.54 0.55 0;56 0.57 0.58 0.59 0.6
Time (seconds)
0.4 r - r---------- 1-----------!-----------!-----------;-----------r----------t -------
With compensating current after 10 training iterations
2 0.35
•Nr *vr
? 0.3
rms error = 0.0016
0.25
0.5 0.51 0!52 0;53 0:54 0.55 0.56 0.57 0.58 0.59 0.6
Time (seconds)
Figure 4.29: The torque produced by the 12/8 three-phase SRM without current
compensation, with current compensation after two training iterations and with
current compensation after ten training iterations for open-loop motoring operation
with a constant current reference of 2A.
109
Figure 4.31: The phase currents and corresponding phase torques produced by the
12/8 SRM for open-loop motoring operation with a constant current reference of 2A
without current compensation.
110
Figure 4.32: The phase currents and corresponding phase torques produced by the
12/8 SRM for open-loop motoring operation with a constant current reference of 2A
with current compensation.
Ill
Average
Torque (Nm) 15 20 25 ou.
Rotor Position (Degrees)
The SR drive system was simulated with and without compensation for a load torque
of 71 = 0.25Nm and with a reference speed of (0ref ~ 180rpm. Figure 4.34 shows the
steady-state torque produced by the 12/8 SRM with and without current
compensation. The rms error is reduced from 0.0131 to 0.0016 when current
compensation is employed. Figure 4.35 shows the phase currents and phase torques
without current compensation during steady-state motoring operation while Figure
4.36 shows the same waveforms when the neuro-fiizzy compensator is incorporated
into the SR drive.
112
Torque (Nm) - no compensation
0.3
0.2
0..1
0.2 -
rm serro r~ 0 ’0016i
01 “
i . i— .
°8 8.05 8.1 8.15
Time (seconds)
Figure 4.34: Torque produced by the 12/8 three-phase SRM with and without
compensation for operation at 180rpm with a load torque of 0.25Nm.
113
Phase Currents (A)
Phase Torques (Nm)
Figure 4.35: The phase currents and phase torque profiles for steady-state motoring
operation at 180rpm with a 0.25Nm load without current compensation.
114
Figure 4.36: The phase currents and phase torque profiles for steady-state motoring
operation at 180rpm with a 0.25Nm load with current compensation.
Figure 4.37 shows the PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the current reference employed by the
delta modulation current controller for steady-state motoring operation at 180rpm
with a 0.25Nm load. The final current reference is the sum of the PI controller output
current signal and the compensating current signal.
115
8.15
Time (seconds)
Time (seconds)
Figure 4.37: The PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the current reference employed by the
delta modulation current controller for steady-state motoring operation at 180rpm
with a 0.25Nm load.
116
I pi 9
C r ip p l e
Figure 4.39: Basic block diagram of the ANFIS training method for neuro-fuzzy
control strategy no. 3.
Figure 4.40 shows a flowchart detailing the training procedure for the neuro-fuzzy
compensator employed in neuro-fuzzy control strategy no. 3. The only difference in
the compensator training procedure for neuro-fuzzy control strategies 2 and 3 is in the
inputs to the ANFIS system. For neuro-fuzzy control strategy no. 3, the current
reference, I r e f , the rotor position, 0 , and the torque ripple, T r j p p l e , are recorded for
each training iteration when the SR drive is operating in open-loop motoring mode.
Before the first training iteration begins, a vector is created to hold the compensating
current values and is initialised to zero. The torque ripple, obtained by removing the
dc component from the total torque value, is used to update the compensating current
signal data vector, I c o m p , in the same manner as for the neuro-fuzzy control strategy
117
no. 2. Hence, for each training iteration, the compensating current value at each
sample point is decremented if the torque ripple is greater than zero while the
compensating current value is incremented if the torque ripple is less than zero. The
updated I c o m p data is then passed to the ANFIS system along with the current
reference and rotor position data for training. This data set is used to generate an
updated FIS that is incorporated into the SR drive as the neuro-fuzzy compensator.
The process of updating the I c o m p data vector, generating a new FIS and incorporating
the new FIS into the SR drive as the neuro-fuzzy compensator is repeated until the
torque ripple is reduced below the desired error limits at each rotor position for the
particular constant current reference. The training is performed for several discrete
values of the current reference. The final overall neuro-fuzzy compensator is obtained
by combining the data acquired at each current reference setpoint into a single data set
and passing it to the ANFIS system for training. Neuro-fuzzy control strategy no. 3 is
suitable for use with an SRM that has strongly nonlinear torque-current-position
characteristics.
Figure 4.40: Compensator training procedure for neuro-fuzzy control strategy no. 3.
118
4.10 Simulation results for control strategy no. 3
The control strategy was implemented and tested in MATLAB/Simulink using the 6/4
three-phase SRM model and the 12/8 three-phase experimental SRM model. The
method of phase conduction and commutation control described in Section 4.6 was
employed in both SRM control implementations.
119
(rms error = 0.0024), a result which is purely coincidental. The compensating current
signal that is added to the 1.75A constant current reference during steady-state
operation is plotted against rotor position in Figure 4.42.
Time (seconds)
o:45
With compensating current after 2 training iterations
z G.4
l;0.35
o rms error = 0.0056
0.5 0.6 0:7 0:8 0.9
Time (seconds)
0:45 i 1 I- 1
With compensating current after 8 training iterations
É, 0.4
0)
;l,0:35
o rms error = 0.0024
...................... i 1 1 ......... t..........
.5 0.6 0.7 0.8: 0.9 1
Time (seconds)
Figure 4.41: The torque produced by the 6/4 three-phase SRM without current
compensation, with current compensation after two training iterations and with
current compensation after eight training iterations for open-loop motoring operation
with a constant current reference of 1.75A.
120
Figure 4.42: The compensating current signal produced by the neuro-fuzzy
compensator for open-loop motoring operation of the 6/4 SRM with a constant current
reference of 1.75A.
121
PI Controller
Output Signal (A)
Figure 4.43: Current compensation curve for the 6/4 three-phase SRM.
The SR drive system was simulated with and without compensation for a load torque
of Tl = 0.5Nm and with a reference speed of (Oref = 60rpm. Figure 4.44 shows the
steady-state torque produced by the 6/4 SRM with and without current compensation.
As expected, when the neuro-fuzzy compensator is employed, a significant decrease
in the torque ripple is observed. The torque ripple rms error is reduced from 0.0242 to
0.0033 when compensation is employed.
122
20.4 20.6
Time (seconds)
Figure 4.44: Torque produced by the 6/4 SRM with and without compensation for
operation at 60rpm with a load torque of 0.5Nm.
Figure 4.45 shows the PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the final current reference used by the
delta modulation current controller for steady-state motoring operation at 60rpm with
a 0.5Nm load.
123
22 : 1 --------- i— - i■ 1
2.11 - -
IcS«
® -3
I -
-
It
ag )- -
)t ..................... 1 i i I
20 . 20.2 20.4 20.6 2d':a 21
1 ------ Time (seconds)
i--------— --------------1----- -- 1— :--------r~ — i-------------
Time (seconds)
Figure 4.45: The PI controller output current signal, the compensating current signal
produced by the neuro-fuzzy compensator and the final current reference used by the
delta modulation current controller for steady-state motoring operation at 60rpm with
a 0.5Nm load.
124
technique that incorporates the backpropogation algorithm and the least-mean-squares
algorithm.
125
T------------- 1------------- r
No compensating current
0.35-
0.5 0:51 0:52 0.53 0.54 0.55 0.56 0.57 0.58 0.59 0.6
Time (seconds)
1 ----------- 1----------- 1----------- 1-----------r
With compensating current after 2 training iterations
¿0:35
o
o
# 0.3
rms error = 0.0055
0
0.25
0,5 0.51 0.52 0.53 0.54 0:55
tim e (seconds)
0.56 0;5.7 0.58 0.59 0.6
0.4 1-----------!---------- 1---------- 1--------- “1---------- T-------
Figure 4.46: The torque produced by the 12/8 three-phase SRM without current
compensation, with current compensation after two training iterations and with
current compensation after ten training iterations for open-loop motoring operation
with a constant current reference of 2A.
126
4.10.2.2 PI speed control tests
The PI controller constants employed in the speed controller for the SRM (obtained
by manual tuning) were P = 0.1 and I = 0.1. The compensating current signal
produced by the trained neuro-fuzzy compensator followed the curve shown in Figure
4.48.
0.25-
S 0.15
ro
c
«Q>
<LD_ 0.05,
oZJ
u
fc . i
*/ fa r * * * * * v§t » r- * “Ä ' i * * *V I;
PI Control 1er
Output Signal (A) 20 '25 30 35 40 45
Rotor Position (Degrees),
Figure 4.48: Current compensation curve for the 12/8 three-phase SRM.
The SR drive system was simulated with and without compensation for a load torque
of Ti = 0.25Nm and with a reference speed of o)ref = 180rpm. Figure 4.49 shows the
steady-state torque produced by the 12/8 SRM with and without current
compensation. The rms error is reduced from 0.0131 to 0.0017 when current
compensation is employed. Figure 4.50 shows the PI controller output signal, the
compensating current signal produced by the neuro-fuzzy compensator and the
current reference employed by the current controller during steady-state operation.
127
Torque (Nrh) - no:compensation
Torque (Nm) - with compensation
Figure 4.49: Torque produced by the 12/8 three-phase SRM with and without
compensation for operation at 180rpm with a load torque of 0.25Nm.
128
Time (seconds)
Figure 4.50: The PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the current reference employed by the
delta modulation current controller for steady-state motoring operation at 180rpm
with a 0.25Nm load.
An obvious method for obtaining the torque information is to employ a torque sensor
but, in the majority of industrial applications, this is not economically viable. One
possible alternative to using a physical torque sensor is to employ a torque observer
that can calculate the total torque as well as the individual phase torques. Such an
129
observer is the nonlinear model with on-line parameter estimation developed for
SRMs by Mir (Mir 1998). This torque observer is described in Section 3.3 and the
results from simulations verify its efficacy. The observer involves using the recursive
least squares technique to continuously update the parameters of a nonlinear
mathematical model for a SRM using terminal measurements of the phase currents
and voltages. Thus, the model can adapt itself and tune itself to any SRM. An
example of this self-tuning ability can be seen in Figure 4.51. Figure 4.51 shows the
torque produced by phase A of the 12/8 three-phase SRM model when neuro-fuzzy
current compensation is employed (solid line). It also shows the estimated torque
produced by the self-tuning nonlinear model tuned to match the characteristics of the
SRM (dotted line). As can be seen, the two torque profiles match almost exactly.
Hence, the torque observer could be employed for estimation of the torque both
during the compensator training process (for all three neuro-fuzzy control strategies)
and during subsequent on-line operation of neuro-fuzzy control strategies no. 1 and
no. 2.
130
Time (seconds) Time (seconds)
Figure 4.51: Torque produced by phase A of the 12/8 three-phase SRM when torque
ripple minimisation is employed (solid line) and the. estimated torque produced by the
self-tuning nonlinear model tuned to match the characteristics of the SRM (dotted
line).
131
Neuro-fuzzy control strategy no. 1 uses the torque, T, the PI controller output current
signal, Ipi, and rotor position information, 6, for the compensator training. When the
training is complete and the neuro-fuzzy compensator is incorporated into the SR
drive, the torque ripple, T rjpple, and the rotor position, 6, are required by the
compensator to produce the required compensating current signal. Simulation results
indicate that this control strategy is very effective in minimising the torque ripple.
However, this strategy suffers from the disadvantage of requiring knowledge of the
torque signal for both the compensator training as well as for subsequent operation of
the SR drive (with the trained compensator included). A torque sensor could be
employed but this would greatly increase the overall cost of the drive. Alternatively, a
torque estimation algorithm could be employed. This is the preferred option but the
estimation algorithm must be highly accurate. In addition, implementation of such an
estimation algorithm results in an increased control cycle time for real-time operation.
Undoubtedly, the main drawback with using this control strategy in an experimental
set-up is that it is only suitable for SRMs with relatively linear torque-current-position
characteristics. Also, it requires a high sampling rate for effective operation. An
additional, more obvious, disadvantage of neuro-fuzzy control strategy no. 1 is the
extensive training process required in obtaining the compensating current function.
Neuro-fuzzy control strategy no. 2 uses the average torque, Ta v e r a g e , the rotor
position, 0 , the torque ripple, T r i p p l e , and the compensating current signal, I , in
comp
the compensator training process. The torque ripple is the error information used to
update the compensating current signal in each training iteration. During subsequent
operation of the SR drive system with the compensator included, the inputs are the
average torque value and rotor position. The correct compensating current signal is
returned by the neuro-fuzzy compensator. Simulation results prove the efficacy of this
control approach in minimising the torque ripple. Neuro-fuzzy control strategy no. 2
is suitable for use with highly nonlinear SRMs. Hence, it is clearly superior to neuro-
fuzzy control strategy no. 1. However, like neuro-fuzzy control strategy no. 1,
knowledge of the torque signal is required both during the compensator training
process and during subsequent on-line operation. As before, the instantaneous torque
can be measured using a torque sensor or calculated using an estimation algorithm.
132
The iterative and hence, time-consuming, nature of the training is an obvious
drawback.
Neuro-fuzzy control strategy no. 3 uses the current reference, I ref, the rotor position,
9,; the torque ripple, T r i p p l e , and the compensating current signal, I , in the
comp
compensator training. As for the neuro-fuzzy control strategy no. 2, the torque ripple
is the error information used to update the compensating current signal in each
training iteration. During subsequent operation of the current-compensated SR drive
system, the inputs to the neuro-fuzzy compensator are the PI controller current signal
and rotor position. Like neuro-fuzzy control strategy no. 2, this control strategy is
suitable for use with highly nonlinear SRMs with simulation results proving its
efficacy in reducing the torque ripple. Neuro-fuzzy control strategy no. 2 proved to be
marginally better than neuro-fuzzy control strategy no. 3 at reducing the torque ripple.
For example, for operation of the 12/8 three-phase SRM at 180rpm with a load of
0.25Nm, the rms error was 0.0016 for control strategy no. 2 compared to 0.0017 for
control strategy no. 3. In spite of this, neuro-fuzzy control strategy no. 3 is the best of
the three strategies examined in this chapter for one reason in particular. Although
knowledge of the torque signal is required during the compensator training process,
the torque signal doesn’t need to be known during on-line operation. Thus, the means
of obtaining the torque signal (a torque sensor or computationally intensive torque
estimation algorithm) can be eliminated once the compensator training is complete.
However, like neuro-fuzzy control strategy no. 2, neuro-fuzzy control strategy no. 3
has the disadvantage of having a lengthy iterative training process.
133
Chapter Five - Experimental set-up
5.0 Introduction
In this chapter, the experimental set-up used in the development and testing of the
control strategies is described. Firstly, the SRM employed is introduced and its
characteristics and parameters are described. An overview of the various power
converter configurations is included prior to a description of the actual converter
circuit employed. The relevant features of the DSP development board used in the
control of the SRM are then presented. The current sensing and voltage measurement
electronics are described as well as the method for deriving accurate rotor position
information. Accurate position information is essential for smooth control of the
machine. Finally, the overall experimental SRM system is presented. The complete
system comprises the SRM, the DSP development board, the power converter, the
measurement electronics, a dc machine, an electronic load, power supplies and so on.
Parameter Value
H55BMBJL
2.5Q
52 mH
'unaligned 9 mH
inertia 1.07 x 10’3 kg-m:
rated current 2.5 amp
rated voltage 120 volt d.c. bus
stator / rotor poles 12/8
phases 3
134
0 2 4
Current [amps]
Figure 5.1: Flux-linkage versus current for one phase of the SRM over one electrical
revolution.
The three-phase Emerson SRM is a suitable choice for the experimental work for a
number of reasons. Firstly, three-phase machines have good starting capability in
addition to enabling bi-directional operation (three phases are the minimum
requirement for bi-directional rotation). As the number of phases increases however,
the number of converter phase units and associated electronics also increases
proportionally. Thus, a three-phase drive is the cheapest drive, in terms of converter
components, that has bi-directional capability. The efficiency of a three-phase 6/4
machine is superior to that of a four-phase machine at high-speed operation. This is as
a result of reduced core losses due to a lower number of phase excitations per
revolution (Krishnan 2001). However, for a 12/8 three-phase machine with 24 strokes
per revolution, the losses are identical to that of an 8/6 four-phase SRM.
135
Figure 5.2: Cross-section of a 12/8 three-phase SRM.
Power converters used to feed SRMs need to satisfy certain basic criteria to be
considered as realistic candidates for employment in SRM applications. Energy
conversion in SRMs occurs in discrete cycles called strokes. For each stroke of the
motor, the power converter is required to first provide a positive voltage across the
phase winding that enables the current to rise in the minimum time. Secondly, the
converter must have the ability to reduce the applied voltage if the desired current
level is reached. Finally, at commutation, the stored energy must be removed rapidly
by reducing the current to zero as quickly as possible to avoid the production of
negative torque. Hence, the converter must apply a negative voltage across the phase
at turn off (Barnes 1998).
136
Since the converter needs only to carry unipolar or unidirectional current, the
possibility of operating with only one switch in series per phase arises. This compares
favourably from a cost viewpoint with converters for ac motors, which require at least
two switches per phase. In addition, the problem of shoot-though faults is eliminated
as the phase winding is always in series with a switch.
Several different converter topologies have been described in the literature, each with
its own merits and drawbacks. They differ from each other by the manner of phase
excitation as well as the means by which the stored magnetic field energy is recovered
during commutation. Several converter circuits that have received widespread interest
in the literature are now briefly outlined. This is followed by a description of the
actual power converter employed in the experimental work described in this thesis.
137
Figure 5.3: Three-phase ‘classic’ converter.
In (Miller 1988), a circuit configuration that reduces the number of switches and
diodes to N+l for an N phase motor is described. Figure 5.4 shows a three-phase
‘Miller’ converter. This converter has three operating states (magnetisation,
freewheeling and forced demagnetisation) that are analogous to those of the ‘classic’
converter. This topology offers the lowest kVA rating of the converter circuits
examined in (Vukosovic 1990). However, control of the converter is restricted. When
switch SA is conducting, a forced demagnetisation of any of the phases is impossible
with the result that two phases cannot conduct concurrently. In addition, the switch
SA and diode DA have higher power ratings than the other semiconductor devices.
SA ZA
A, D1 À 02 À D3-
DA 7 ^ SI S2 S3
The three-phase bifilar converter circuit shown in Figure 5.5 uses the fact that energy
stored in the magnetic field of the phase winding can be transferred to a closely
coupled second winding. It is the simplest converter circuit that achieves operation
with only one switch per phase (thereby minimising switch conduction losses and
reducing cost) and has been used extensively in stepper motor drives (Ehsani 1987).
To use this circuit, each phase stator pole pair requires a bifilar winding to be
connected with opposing polarity. Current builds up in the primary phase winding
when the switch turns on while the diode in series with the secondary is reverse
biased. When the switch turns off, flux continuity ensures current flow transfers from
the primary to the secondary with energy returning to the supply until the winding is
completed ,demagnetised. One disadvantage of the bifilar converter is that the
coupling between the primary and secondary windings is always imperfect leading to
voltage spikes at switch turn off (Ehsani 1987). In addition, bifilar windings require
additional slot volume reducing the power density of the SRM (Krishnan 2001) and
the number of connections between the motor and the converter is doubled (Ehsani
1987). :
Ph1 f c >■
Ph3 J C
A di A d2 ZW
Another converter configuration that requires only one switch and one diode per
phase is the split dc supply converter and a two-phase example of this topology is
shown in Figure 5.6. The circuit operation is as follows: phase 1 is energised by
turning on: SI with the current circulating through SI, phase 1 and capacitor Cl.
When SI is turned off the current flows through Dl, phase 1 and into the capacitor C2
charging it; in the process. A similar operation follows for phase 2. This converter
i
configuration has the disadvantage of derating the supply voltage by utilising only
half of its ¡value at any time (Krishnan 2001). Also, in order to balance the charge
across capacitors Cl and C2, an even number of phases is necessary. A fault in any
phase would unbalance the upper and lower levels. The consequence of this is that the
phases are less independent of each other than is the case with the converters
previously described (Ehsani 1987).
139
Figure 5.6: Two-phase split de supply converter.
The last circuit shown in Figure 5.7 is known as the C-dump converter and was first
described by Ehsani et al. (Ehsani 1987). The name is derived from its operation
whereby stored magnetic energy is dumped into a capacitor (Cl in Figure 5,7) before
being returned to the supply using a chopper circuit (consisting of SA, LI and DA in
Figure 5.7). It is an N+l switch converter that has the advantage of having the
minimum number of switches enabling independent phase control (Krishnan 2001).
The voltage across Cl can be maintained at a higher level than the supply voltage.
The main disadvantage of the C-dump converter is that the rate of demagnetisation is
limited by the difference between the voltage across capacitor Cl and the supply
voltage. In addition, losses in the chopper components decrease the efficiency of the
drive (Krishnan 2001).
SA
L1
Ph1 Ph2 5 A D2 Ph3 A D3 A DA Cl
S2 |*js S3
The SRM was obtained from a Maytag Neptune washing machine. The washing
machine also contained a Printed Circuit Board (PCB) that integrated the electronics
used to control the wash cycle of the washing machine (microprocessor etc.) with the
SRM drive electronics. The converter topology used was that of a ‘classic’ converter.
Rather than design a completely new converter circuit, it was decided to ‘reverse-
engineer’ the PCB (which didn’t have a schematic) and utilise only the relevant
electronics on the PCB for the converter implementation. Figure 5.8 shows a diagram
of the electronic circuit that accepts the input dc link supply voltage and uses it to
derive the low voltage supplies for the drive electronics from the dc link voltage
supply provided. Figure 5.9 shows a diagram of the electronic circuit for a single
phaseleg (Phase A) of the SRM power converter. The electronic circuits used for
phases B and C are identical.
Both Figure 5.8 and Figure 5.9 only show the relevant electronics. The PCB contained
a vast amount of other electronic components that were isolated from the electronics
employed in the project work by cutting tracks on the PCB. For example, the washing
machine was originally designed to operate from a 120VAC USA standard mains
supply. In this project, a dc power supply was employed instead. Therefore, the dc
supply was connected to the output of the bridge rectifier B1 as shown in Figure 5.8.
This rendered the input rectifier and filtering circuitry redundant.
As can be seen in Figure 5.9, IRF644 power MOSFETs (rated at 14A continuous
drain current and 250V drain-to-source breakdown voltage) were used as the
switching devices. These were driven using an IR2101 high voltage (600V), high
141
speed power MOSFET driver. The freewheeling diodes were high efficiency, fast
recovery BYW98-200 diodes with a continuous current rating of 3A at 200V.
Figure 5.8: Diagram of the electronic circuit that takes the input dc link supply
voltage and uses it to derive the low voltage supplies for the drive electronics.
142
Figure 5.9: Diagram of the electronic circuit for a single phaseleg (Phase A) of the
SRM power converter.
143
5.3 DSP controller
Two Analog Devices DSPs were employed in the experimental implementation of the
SRM control strategies: the ADSP-21990 and the ADSP-21992. Both of these chips
are mixed signal DSP controllers based on the ADSP-219x DSP Core and are suitable
for a variety of high performance industrial motor control and signal processing
applications. Essentially, the only difference between the two DSPs is that the ADSP-
21992 has a substantially larger program memory (32K words compared to 4K words
for the ADSP-21990). Hence, the rest of this section will only describe the
performance and capabilities of the ADSP-21992. The ADSP-21990 was employed in
the SR generator control while the SR motor control (which required significantly
more program memory) was implemented using the ADSP-21992.
144
■ 16-bit fixed point ADSP-219x DSP core, 160Mhz
■ 48K words of on-chip RAM (Configured as 32K Words on-chip 24-bit Program RAM
and 16K Words on-chip 16-bit Data RAM)
■ 8-Channel, 14-bit ADC with up to 20 MSPS sampling rate
■ Three 32-bit general-purpose timers
■ Three-phase 16-bit centre-based PWM generation unit with 12.5ns resolution
■ Dedicated 32-bit Encoder Interface Unit with companion Encoder Event Timer
■ Dual 16-bit auxiliary PWM outputs
■ 16 general-purpose Flag I/O pins
■ SPI communications port with Master or Slave operation
■ Synchronous Serial Communications Port (SPORT)
■ External Memory Interface
■ Controller Area Network (CAN) module fully compliant with V2.0B standard
■ Peripheral Interrupt controller
■ Programmable PLL and flexible clock generation
145
5.4 Current measurement
Accurate measurement of the three phase currents was achieved using Honeywell
CSNP661 closed-loop current sensors. These sensors are based on the Hall effect and
the zero magnetic flux method. The sensor has a transformer with a primary winding
and a secondary winding. The sensor outputs a secondary measuring current that is
proportional to the primary current. In this case, the primary current is the current
flowing in one phase of the SRM. The current carrying conductor to be measured is
placed through the aperture of the sensor. This produces a magnetic field that is
proportional to the current. The amount of secondary current required to reduce the
flux to zero in the sensor core is a measure of the primary current flowing in the
conductor multiplied by the ratio of primary to secondary windings. Essentially, the
secondary current (the output from the device) is a scaled duplicate, at any time
instant, of the primary current. A photo of a sample of Honeywell CSN series current
sensors including the CSNP661 is shown in Figure 5.11 (Honeywell CSN series
datasheet).
The CSNP661 provides 3.5kVrms electrical isolation between the primary (high
current) and secondary (electronic) circuits and measures current over a large range of
amplitudes and frequencies (dc to 150kHz). The nominal current rating of the
CSNP661 is 50A. The CSNP661 has a turns ratio of 1:1000. Thus, with a primary
current of 50A, a secondary current of 50mA is produced. For each phase, the wire
carrying the phase current was passed through the aperture in the sensor five times.
This meant that a phase current of 10A (50A/5 turns) resulted in a full-scale
secondary current of 50mA. A measuring resistance of 20Q was used to give an
146
output voltage range of 0 to ± IV, as required by the ADC on the EZ-KIT Lite board,
for phase currents in the range 0 to ±10A. Figure 5.12 shows the current measurement
circuit diagram for a single phase of the SRM. The CSNP661 was powered from
±12V supplies.
In addition to the three identical circuits built for measurement of the phase currents,
another similar circuit was designed and built to measure the average dc link current.
The average dc link current is required for certain generator control strategies
described in Chapter Seven. This circuit diagram is shown in Figure 5.13. As can be
seen, the 0 to ±1V output is now low pass filtered using LF353 op-amps to enable
calculation of the average current. The wire carrying the dc link current was passed
through the sensor aperture 15 times. Hence, a phase current of 3.33A (50A/15 turns)
resulted in a full-scale secondary current of 50mA.
147
Figure 5.12: Phase current measurement circuit diagram.
148
Figure 5.13; De link current measurement circuit diagram.
149
5.5 Voltage measurement
The control objective when the SRM is operating in generating mode is to maintain
the dc link voltage at the desired value while achieving maximum efficiency. It is
clear then that accurate measurement of the dc link voltage is a fundamental
requirement for the successful implementation of any SR generator control strategy. A
voltage measurement circuit was designed and built that outputs a voltage in the range
0 to IV, as required by the ADC on the EZ-KIT Lite board, corresponding to dc link
voltages in the range 0 to 100V. In addition, the circuit provides electrical isolation
between the high voltage dc link and the low voltage ADSP-21992 EZ-KIT Lite
board. The voltage measurement circuit diagram is shown in Figure 5.14.
150
Figure 5.14: De link voltage measurement circuit diagram.
5.6 Position sensor and speed estimation
Accurate rotor position information is of extreme importance for the smooth control
of the SRM when operating either as a motor or as a generator. The rotor position can
be determined using either a shaft position transducer or by implementing a sensorless
rotor position technique. Sensorless operation of SRMs has received considerable
attention in the literature over the years (Husain 1996). Sensorless operation has the
obvious advantage of reducing the overall cost of the SR drive by eliminating the
shaft position transducer. However, the main drawback of sensorless operation is the
often considerable real-time computation required and its effect on the starting and
running performance of the drive over wide ranges of speed and load torque. In the
work described in this thesis, rotor position information was derived independently
from two shaft position transducers, a simple slotted optical disk encoder and an
incremental encoder.
Figure 5.15 shows the movement of the encoder disk when the SRM is rotating in the
clockwise direction. The positions marked on the diagram, for example Amin and
Amaxyrefer to the points on the blade pattern corresponding to certain physical values.
The max values are the maximum inductance positions (in other words, complete
phase alignment) while the min values refer to the minimum inductance positions.
These positions were determined by using an inductance meter. The inductance on
each phase with respect to the rotor position was measured as the rotor was rotated
slowly. The maximum inductance positions for each phase were verified by pulsing
each phase so that the rotor moved to alignment. The position of the disk with respect
to the optocoupler was then recorded. The minimum inductance position is then 22.5
152
degrees from the maximum position (since this is a 12/8 SRM, the patterns repeat
themselves every 45 degrees). Figure 5.15 also shows an end elevation of the SRM.
Figure 5.16 shows the output signal from the encoder interface board as well as the
inverted encoder signal inputted to the timer on the ADSP-21992 EZ-KIT Lite board.
; □
Movement oi ¡he encoder Opto
blades during clockwise
rotation
Amax Bmin Cmax Amin Bmax Cmin Amax Bmin Cmax Amin
J
Amax Bmin Cmax Amin Bmax Cmin Amax Bmin Cmax Amin
Figure 5.16: Output signal from the encoder interface board and the inverted encoder
signal inputted to the timer on the ADSP-21992 board.
153
The widths of a succession of either high or low pulses were measured depending on
the direction of rotation (high pulses if running clockwise, low pulses if running anti
clockwise) using a general-purpose timer on the ADSP-21992. Through the sequence
of the last three ‘results’, the rotor position could be determined as shown in Table 5.3
where tl=last measured width, t2=second last measured width, t3=third last measured
width, rl=last result, r2=second last result and r3=third last result.
154
The incremental encoder has a circular track consisting of uniformly spaced
alternating dark and clear lines. The incremental encoder outputs two square waves
that are 90° out of phase with each other and these outputs are fed directly to the EIU
on the ADSP-21992. The EIU can be programmed to decode their relative phase to
determine the direction of rotation and count the quadrature states in each cycle. Thus,
a resolution equal to four times the line count on the encoder disk is achieved. The
shaft position at any instant is determined by the accumulated pulses from the starting
position.
For this project, a Heidenhain ROD426 encoder with a 4096 line count was used.
Thus, there are 16,384 increments per revolution of the rotating shaft (or 2048
increments every 45 degrees). This ensures very accurate position determination with
a resolution of 0.022 degrees. Figure 5.17 shows the differential quadrature pulse
signals outputted by the Heidenhain ROD426 encoder.
1 -+
JSL
Chi1' S:ddV‘1! ‘¿jH* 5.00 v : :iv1!i ¿.‘oms ¿hi 's' ' " 'i.ov 29 Mar 2005
14:27:32
Figure 5.17: The differential quadrature pulse signals (Channel 1 - pulse output A)
(Channel 2 - pulse output B) outputted by the Heidenhain ROD426 encoder.
Another track on the encoder disk is used to provide an index signal that occurs once
per revolution called a zero marker. This is used to derive absolute position
information. Figure 5.18 shows a typical incremental encoder (Optical encoders
2005).
155
Figure 5.18: Typical incremental encoder.
The EIU was initialised by writing the value 2047 to the EIUMAXCNT register. As
already mentioned, 2048 increments corresponds to 45 mechanical degrees. Thus,
when the up/down counter reached 2047, the counter was reset to zero. The counter
was also reset on the occurrence of the zero marker signal. This mode is selected by
setting bit 1 of the EIUCTRL register. To return a position between 0 and 45, the
running counter was read each control cycle. Its value was divided by 2048 and the
result was multiplied by 45.
156
(or one-eight of a revolution) is known. Since speed is distance/time, the speed in
revs/second can be found by dividing the number of revolutions through which the
rotor has rotated by the time taken to complete this distance. In this case, the number
of revolutions completed is 0.125 (45 degrees/360 degrees). The speed measurement
is extended to the standard revs/minute by multiplying the calculated speed in
revs/second by 60.
Figure 5.19 shows the estimated speed for the 512 values that were returned by both
speed estimation methods when the rotor turned through lA of a revolution (90
mechanical degrees) at a speed of approximately lOOOrpm. The solid line corresponds
to the speed estimated by the EET while the broken line is the speed estimated when
using the general-purpose timer.
157
i ' ’ ' 5 ! :! * 1 I 1 ' ■’ i ’' ’ ' ! ! ‘ j '
0 100 200 300 400 500
Sample Point (Num ber)
Figure 5.19: Estimated speed values returned by the EET estimation method (solid
line) and the general-purpose timer estimation method (broken line) for operation at
approximately lOOOrpm.
Speed estimation using the EET is superior to the method employing the general-
purpose timer for several reasons. Firstly, the speed measurement is updated far more
frequently when the EET is employed. This is important if, for example, there is a
sudden change in rotational speed in that it can be detected and dealt with more
quickly. In addition, the general-purpose timer is started at the first sampled position
between 0 and 0.5 degrees and stopped at the first sampled position between 44.5 and
45 degrees. Therefore, the exact distance travelled is likely to vary slightly (between
44 and 45 degrees), although any error will be relatively small. This isn’t the case for
the EET implementation where the distance travelled each time is identical.
158
USB
Measurement I
\j DSP Developmervt
and Interface
, ,1 Board
Boards f Encoder Position Feedback
?5 *! *i PC
j I
When motoring, a 70V, 4A power supply was used as the power source. When
generating, the dc link capacitor bank (approximately 41mF; consisting of eight
5100uF capacitors connected in parallel) had a Kikusui PLZ1003W electronic load
connected across it enabling exact control of the load current etc.
Originally, an interface circuit was designed and built that routed the measurement
and encoder signals from the associated electronics to the DSP and routed the gate
drive signals from the DSP to the power converter. This original interface board
didn’t optically isolate the DSP from the gate drive signals. As part of a project
undertaken by another student, a new interface board that optically isolated the drive
signals from the DSP and which provided a distribution point for the power supplies
used by the various measurement electronics and encoder circuitry was designed and
built. In addition, a power supply board that derived the various regulated power
supplies for the DSP, measurement electronics, encoder circuitry and interface board
was designed and built (described in the report (Murphy 2002)). This report also
describes the incorporation of all the electronics into a prototype assembly. Appendix
A shows the schematic drawings of both the original and updated interface boards, the
schematic drawings of the power supply circuitry as well as photos of the
experimental SRM development set-up.
159
Chapter Six - Experimental motor control
6.0 Introduction
In this chapter, the experimental implem entation o f several control strategies
developed for SR m otor operation is described. The ‘start-up’ algorithm employed in
the experim ental set-up for SR m otor start-up is presented. Four simple SR motor
speed control schemes for torque ripple-tolerant applications are described and
experimental results are presented. Three o f these control schemes are for low speed
m otoring operation while the fourth is aimed at high speed motoring in single pulse
the experimental implem entation o f the neuro-fuzzy control strategy no. 3 that was
previously described and tested through sim ulation in Chapter Four. The results
arising from the experimental implementation and testing o f the SR m otor torque
ripple m inim isation control strategy are presented.
encoder is em ployed for the rotor position determination as outlined in Section 5.6.2.
The use o f such an incremental encoder (as opposed to an absolute position encoder)
requires that a start-up technique/algorithm be em ployed to determine the starting
position o f the rotor. A simple, but highly effective, m ethod o f starting the motor,
which was implem ented successfully on the experimental SRM system is now
outlined.
The key idea behind this SRM start-up technique is to align one pair o f rotor poles
with a specific phase by excitation o f that particular phase winding. This provides a
applying two current pulses in quick succession. It is important that the excitation
period, Tpuise, be long enough to ensure a sufficiently large torque that can overcome
the load and friction and guarantee that the rotor poles reach alignm ent with phase A.
The aligned position o f phase A is then assigned the 0 degree point on the SRM by
160
writing to the EIUCNT LO register. As described in Section 5.6.2, a position between
0 and 45 degrees is returned every control cycle during subsequent SRM rotation after
the start-up algorithm is finished.
With the initial position of the rotor known, the direction of subsequent rotor
movement is determined by the firing sequence. For clockwise rotation of the SRM,
the three phases are excited in the sequence A-C-B. Alternatively, if anti-clockwise
rotation is desired, the phases are excited in the reversed sequence of A-B-C. To
ensure that the rotor begins rotation in the desired direction, the start-up algorithm
briefly excites either phase C (for clockwise rotation) or phase B (for anti-clockwise
rotation) to ensure that the rotor starts to move in the desired direction. At this point,
the start-up procedure is complete and the motor control algorithm takes over. Figure
6.1 shows a flowchart for the motor start-up procedure.
( START JJP()
V
Excite Phase A
for time Tpulse
initialise
E tU C N T J .0
register
Clockwise rotation
=> Excite Phase C
Anti-clockwise rotation \
=> Excite Phase B
RETURN
Figure 6.1: Flowchart of the SRM start-up procedure for motoring operation.
161
The start-up technique is relatively simple. However, the technique may not be
applied to certain load configurations. For example, this technique could not be
employed if the load can not tolerate reverse rotation during start-up. This is because,
when phase A is excited, the rotor will move towards alignment with phase A but the
direction of rotor movement is dependent on the initial position of the rotor poles with
respect to phase A. Consequently, motion can not be guaranteed to be in the forward
direction (Arefeen 1998).
162
a).
Figure 6.2: Block diagram of a simple control scheme for low speed motoring
operation.
The speed, co, is measured and compared to the reference speed, coref- The speed error
is then used by the PI controller to produce a current reference, I r e f , about which the
phase currents are controlled using delta modulation current control. The control
scheme shown in Figure 6.2 employs soft chopping in the delta modulation control
throughout the entire conduction angle, 6fc>, i.e. the voltage across the phase winding
switches between V$ and 0 . The initial turn-on angle, O on, is selected by the user as is
the turn-off angle, O o ff■ At O o ff, both power switches are switched off placing - V s
across the winding. This results in the current decreasing rapidly to zero.
The control strategy was implemented with the experimental 12/8 SRM set-up. The PI
controller was tuned manually. The resultant constants, P and I, were P = 0.002 and I
= 0.02. The control strategy was tested for different reference speeds with constant
firing angles of O on = 22.5 degrees before alignment (the unaligned position) and O o ff
= 4 degrees before alignment. These firing angles result in an overlap of 3.5 degrees
where two phases are controlled simultaneously before the phase that is approaching
alignment is switched off (demagnetised). Figure 6.3 shows the current in phase A,
the switch signals for phase A and a pulse waveform in which the pulse indicates the
aligned position of phase A for a reference speed of 300rpm. Figure 6.4 shows the
motor speed samples as calculated by the ADSP-21992 control program (using the
general-purpose timer method outlined in Section 5.6.3.1) during steady-state
operation for a reference speed of 300rpm. Each sample point in Figure 6.4 represents
an updated speed estimate that is calculated approximately every 45 degrees. As
described in Section 5.6 .3.2, the exact distance travelled by the rotor between the
163
speed sample points varies slightly (between 44 and 45 degrees) and this results in
ripple/difference in the speed estimates. Ideally, the speed samples would be constant.
Tek W L]U J25.0kS /S O A cqs
I------------------T {------} ------- !
310
E
Cl
TJ<U
& 300
in
o
o
290
50 100 150 200 250
Sample Point (Number)
Figure 6.4: Calculated motor speed for the simple motor control strategy with coref -
300rpm.
Figure 6.5 shows the current in phase A, the switch signals for phase A and a pulse
waveform where a pulse indicates the aligned position of phase A for a reference
speed of 650rpm. Figure 6.6 shows the three phase currents sampled by the ADC and
used by the ADSP-21992 control program in the delta modulation current control for
the same reference speed of 650rpm. Also shown in Figure 6 .6 is the current reference
(thick black line) outputted every control cycle by the PI controller. As can be seen,
164
the actual current waveform shown in Figure 6.5 and the sampled current waveforms
shown in Figure 6 .6 are very similar, verifying the accuracy of the ADC current
measurement. Figure 6.7 shows the motor speed as calculated by the ADSP-21992
control program during steady-state operation for a reference speed of 650rpm.
Tek amiS SO.OkS/s 1Oj) Acqs
Figure 6 .6 : The three phase current waveforms sampled by the ADC and used by the
ADSP-21992 in the delta modulation current control and the current reference (thick
black line) outputted every control cycle by the PI controller for a reference speed of
650rpm.
165
Sample Point (Number)
Figure 6.7: Calculated motor speed for the simple control strategy with coref =
650rpm.
While this simple control strategy has the obvious advantage of requiring no
characterisation or prior knowledge of the SRM (apart from geometrical machine
information such as the number of poles, phases etc.), it has a number of
disadvantages. Firstly, the employment of constant tum-on and turn-off angles results
in poor efficiency levels. Also, on examining Figures 6.3 and 6.5, it can be seen that
with a constant turn-off angle of Oo f f " 4 degrees before alignment, the current in
phase A when motoring at 300rpm reduces to zero in advance of the aligned position
whereas when motoring at 650rpm, current continues to flow for some time after the
rotor has passed alignment. To ensure higher positive torque production and to
prevent the production of negative torque, the phase current should return to zero just
as alignment is reached.
The appropriate turn-off angle that results in the reduction of the phase current to zero
at alignment was determined experimentally for motoring operation with a constant
166
mechanical load at several different speed setpoints. Figure 6.8 shows the relationship
between the desired turn-off angle and the motor speed when a turn-on angle of 2 2 .5
degrees before alignment was employed. Also shown in Figure 6.8 is a polynomial
approximation to the experimental data. A second order polynomial was employed
and it can be represented mathematically by equation (6 .1 ) (where the speed, co, is in
hundreds of rpm).
Figure 6 .8 : Actual and polynomial fit relationships between the motor speed and the
turn-off angle for a constant mechanical load that results in phase current reduction to
zero just before alignment.
A block diagram of the control scheme that enables the automatic selection of the
appropriate turn-off angle for any given motoring speed is shown in Figure 6.9. The
only difference in operation between the scheme shown in Figure 6.9 and that shown
in Figure 6.2 is in the calculation of O q f f •
167
Figure 6.9: Block diagram of the control scheme that enables the automatic selection
of the appropriate turn-off angle for low speed motoring operation that results in
phase current reduction to zero just before alignment.
This control scheme was tested experimentally for various operating speeds with the
PI controller constants unchanged from the simple control scheme (P = 0.002 and I =
0.02). Figure 6.10 shows the current in phase A, the switch signals for phase A and
the pulse waveform that indicates the aligned position of phase A for a reference
speed of 300rpm. B o n is chosen as 22.5 degrees before alignment and G o f f is
determined from the relationship in equation (6.1). The same waveforms are shown in
Figure 6.11 for a reference speed of 650rpm with constant Bon = 22.5 degrees before
alignment and B o f f is determined automatically as before. Figure 6 . 1 2 shows the
initial speed response of the experimental system to a 300rpm reference speed. The
signal shown in the graph is derived from a tachometer on the dc servomotor. The
shaft of the servomotor is coupled to the shaft of the 12/8 SRM in the experimental
set-up. The tachometer outputs a signal whose amplitude is proportional to speed
(12.5V per lOOOrpm). As can be seen in Figure 6.12, the speed settles to 300rpm in
under 3 seconds. The transient speed response of the system to a 650rpm speed
reference is shown in Figure 6.13. The speed of the motor settles to 650rpm rapidly
(approximately 4 seconds). By examining Figures 6.12 and 6.13, it is evident that
there is a non-monotonic response at the start of the transient. This occurs for the
following reason. At start-up, phase A is excited with a large current to ensure that the
torque produced is sufficient to overcome the load and friction and guarantee that the
rotor poles reach alignment for position initialisation. For the responses shown in
Figures 6.12 and 6.13, the load is relatively small and hence the SRM accelerates very
168
quickly at start-up leading to the sudden large jump in speed that is clearly visible in
the two figures. The motor control algorithm then takes over and controls the SRM
speed as desired.
169
Tek EflSISB so.o s/s ^ i Acqs
Figure 6.12: Transient speed response of the automatic turn-off angle control strategy
for low speed motoring with a 300rpm speed reference (the amplitude of the
tachometer signal is proportional to the speed - 1 2 .5 V/10 0 0 rpm).
Figure 6.13: Transient speed response of the automatic turn-off angle control strategy
for low speed motoring with a 650rpm speed reference reference (the amplitude of the
tachometer signal is proportional to the speed - 12.5V/1000rpm).
Examining Figures 6.10 and 6.11 and comparing them with Figures 6.3 and 6.5, it is
clear that at 300rpm, the current now flows until the aligned position while at 650rpm
the current no longer flows past the point of alignment, thereby avoiding the
production of negative torque. Thus, this control scheme results in improved
operation over the very simplistic scheme described in Section 6.2.1.1. However, this
particular control scheme is still limited. In its present form, a constant turn-on angle
(22.5 degrees before alignment was used but there is no rationale for this choice) must
170
be employed and the mechanical load must be constant. It is possible, however, to
extend this control scheme to operate with a changing load and variable turn-on angle.
At five different speed setpoints ranging from 200rpm to 600rpm (in increments of
lOOrpm), the appropriate turn-off angle that results in the reduction of the phase
current to zero at alignment was determined experimentally for motoring operation
with different mechanical loads when a tum-on angle of 22.5 degrees before
alignment was employed. Figure 6.14 shows the relationship between the desired
turn-off angle and the PI controller current reference at each motor speed setpoint.
The changing mechanical load is reflected in the PI controller current reference signal
values.
Figure 6.14: Relationship between the PI controller current reference and the turn-off
angle that results in phase current reduction to zero at alignment for each motor speed
setpoint.
171
At each motor speed setpoint, a second-order polynomial was employed to
approximate the experimental data. These polynomial approximations can be
represented mathematically by equations (6 .2 ) - (6 .6 ).
A block diagram of the control scheme that enables the automatic selection of the
desired turn-off angle for different motor speeds and loads is shown in Figure 6.15.
As can be seen, the calculation of O o f f requires knowledge of both the motor speed
and the PI controller current reference value. At motor speeds other than those
explicitly covered by equations (6.2) through (6 .6 ), interpolation is employed. For
example, at a motor speed of 250rpm, O o f f is calculated using linear interpolation of
the angles returned by the polynomial approximations at 2 0 0 rpm and 300rpm.
71
Figure 6.15: Block diagram of the extended automatic turn-off angle motor control
strategy that results in phase current reduction to zero at alignment for operation at
different motor speeds and with different mechanical loads.
172
The control strategy was tested experimentally for various operating speeds and
mechanical loads with the PI controller constants unchanged from before (P = 0.002
and I = 0.02). 6on is chosen as 22.5 degrees before alignment and the initial value of
Q o ff is chosen to be 3 degrees before alignment. When the motor ‘start-up’ procedure
is complete, the controller seeks to select the appropriate turn-off angle that results in
the phase current reducing to zero at alignment.
Figure 6.16 shows the current in phase A, the switch signals for phase A and the pulse
waveform that indicates the aligned position of phase A for a reference speed of
300rpm under a constant mechanical load. Figure 6.17 shows the turn-off angle
selected by the controller during steady-state operation at 300rpm for that particular
load. Figure 6.18 shows the current in phase A, the switch signals for phase A and the
pulse waveform that indicates the aligned position of phase A for a reference speed of
300rpm when the load is increased. The increased load results in an increase in the PI
controller current reference value and hence the controller must advance the turn-off
angle to ensure phase current suppression at alignment. Figure 6.19 shows the turn-off
angle selected by the controller during steady-state operation at 300rpm for the
increased load. The turn-off angle is advanced from approximately 2 degrees before
alignment with the original mechanical load to just over 4 degrees before alignment
when the load is increased.
173
Figure 6.16: Current in phase A (Channel 1 - lA/div), phase A switch signals
(Channels 2 and 4) and pulse waveform indicating the aligned position of phase A
(Channel 3) for a reference speed of 300rpm with constant Q o n = 22.5 degrees before
alignment and G q f f determined by the automatic turn-off angle controller.
"i i r r
100 150 250
Sample Point (Number)
Figure 6.17: The turn-off angle selected by the automatic turn-off angle controller
during steady-state operation at 300rpm.
174
Figure 6.18: Current in phase A (Channel 1 - lA/div), phase A switch signals
(Channels 2 and 4) and pulse waveform indicating the aligned position of phase A
(Channel 3) for a reference speed of 300rpm with constant O q n = 22.5 degrees before
alignment and 6 0 f f determined by the automatic turn-off angle controller when the
mechanical load is increased.
0)c
E
O)
c <
< CD 2.5
zs V>
£05 I i i r ] i i * T i i r
QCD
i
50 100 150 200 250
Sample Point (Number)
Figure 6.19: The turn-off angle selected by the automatic turn-off angle controller
during steady-state operation at 300rpm when the mechanical load is increased.
Figure 6.20 shows the current in phase A, the switch signals for phase A and the pulse
waveform that indicates the aligned position of phase A for a reference speed of
550rpm under a constant mechanical load. Figure 6.21 shows the same waveforms at
a reference speed of 550rpm when the load is increased. In both instances, the
controller selects the appropriate turn-off angle to reduce the current to zero at
alignment. The turn-off angle for the operation shown in Figure 6.20 is approximately
4.5 degrees before alignment and when the load is increased, with a subsequent
175
increase in phase current (as shown in Figure 6.21), it is advanced to slightly less than
7 degrees before alignment.
Cl Am pl
19.2m V
6 A p r 2005
1 9 :2 2 :4 2
C l. A m p l
3 6:4m V
i l L ^ .
i . ■ i i . i . i
6 A p r 2005
5 .0 0 V Ch4 500m V
1 9 :2 5 :5 5
176
The automatic turn-off angle control strategy described in Section 6.2.1.2 requires a
constant turn-on angle to be employed. In addition, for accurate operation, a constant
mechanical load is required. From Figures 6.16 through 6.21, it is clear that the
extended automatic turn-off angle control strategy just described has the major
advantage that it is capable of operating with a variable mechanical load. In addition,
the extended automatic turn-off angle control strategy can be operated without a fixed
turn-on angle. This is possible because the control strategy determines the appropriate
turn-off angle based on the current reference value at the particular speed at which the
motor is rotating. With a fixed turn-on angle and a constant motor speed, the current
reference increases with increasing load. Similarly, with a constant mechanical load
and a constant motor speed, the current reference changes with a change in the turn-on
angle. The controller reacts to a change in the current reference value by adjusting the
turn-off angle. The controller doesn't need to know if the shift in the current reference
value is caused by a change in the mechanical load or a change in the turn-on angle.
Figure 6.22 shows the current in phase A, the switch signals for phase A and the pulse
waveform that indicates the aligned position of phase A for a reference speed of
550rpm under a constant mechanical load when a tum-on angle of 16 degrees before
alignment is employed. Figure 6.23 shows the same waveforms for operation at
550rpm when Qon ~ 16 degrees before alignment and the mechanical load is
increased. In both cases, the controller selects the appropriate turn-off angle as
expected.
177
. j . i s■•^
T e k H E JU 5 o :o k S /s 5 Acqs
“ -------------------- T ---------- { - -------H
C l Am pl
2 1.6m V
£ u t i i LM i___
; .1
-' •Si..,i ... -j i.4
W ai U.'Cim^ ‘ ¿h2 ‘i M V
i ■¿.i , i
Ml*.06ms' ¿Hi > ! ‘ i f t m F 7 A p r 2005.
2
Ch3 5 .0 0 V Ch4 500m V 1 3 :4 7 ; 13
C l Am pl
3 2.8m V
178
6.2.1.4 Optimal efficiency control strategy
Although both the simple control strategy and the automatic turn-off angle control
strategy succeed in accurately controlling the speed of the motor, neither strategy
enables operation at the desired optimal efficiency level. For a given load, there are
many sets of firing angles that enable the SRM to rotate at the reference speed. While
each of these sets of firing angles produces the same amount of power, they draw
different rms phase currents from the power converter. Clearly, it is preferable to
choose firing angles that minimise the rms phase current, thereby achieving the goal
of maximum mechanical output power from minimum electrical input. In other
words, the objective is to maximise the torque per ampere produced by the SRM. A
control strategy that enables automatic selection of the firing angles for achieving
optimal efficiency is now described and experimental results are presented.
The reasoning behind the algorithm employed in this motor control strategy is best
explained using the idealised inductance profile and phase current waveform shown in
Figure 6.24. The angular interval where the inductance profile is at its minimum and
is unchanging corresponds to the interval during which there is no overlap of the rotor
and stator poles. At the angle Os, the leading edges of the rotor poles start to overlap
with the first edges of the stator poles and the inductance starts to increase. For
motoring operation, current must flow during this interval where the inductance is
increasing, resulting in the production of positive torque. According to Sozer, the
maximum torque for a given amount of current is produced at the start of pole overlap
as the rotor moves out of the minimum inductance position (Sozer 2003a). For this
reason, it is important to ensure that the phase current is at the reference value before
the rotor reaches ft-. This is achieved by choosing Qon in advance of 0$. It is important
however, not to turn on the current too far in advance since very little torque would be
produced initially due to the low and unchanging inductance (lowering efficiency).
179
Figure 6.24: The idealised inductance profile and phase current waveform for low
speed SR motoring operation.
Figure 6.25 shows the current reference versus tum-on angle for motor operation at
300rpm under a constant load and with a constant dwell angle of 60 = 14 degrees. The
same average torque is produced at each point on the graph. As can be seen however,
the choice of tum-on angle has a major effect on the magnitude of the current
reference outputted by the PI controller. Since the magnitude of the current reference
is directly proportional to the rms phase current, the most efficient operating point is
that with the lowest current reference. For the particular operating conditions used to
obtain the data shown in Figure 6.25, a tum-on angle of 16 degrees before alignment
is the most efficient. This tum-on angle provides sufficient time for the phase current
to rise to the reference value by ft, which for the 12/8 experimental SRM is at
approximately 15 degrees before alignment.
180
2.0
y A^ , j „ r , ( ^ , r~.-f 1 , , , , . ,
13; 14 15 16 17 18 19 20 21 22 23
Figure 6.25: Current reference versus tum-on angle for operation at 300rpm under a
constant load and with a constant dwell angle of ft> - 14 degrees.
The approach adopted for optimal efficiency control is the regulation of the tum-on
angle to ensure that the first peak of the phase current, which occurs at angle ft, is
aligned with the angle where the poles start to overlap, ft. The first peak of the phase
current occurs when the phase current reaches the reference value, Iref, for the first
time. The controller continuously monitors ft and automatically advances or delays
the tum-on angle to minimise the error between ft and ft. Examining the phase
current waveform shown in Figure 6.24, it is clear that the tum-on angle would need
to be delayed in order to move ft closer to ft. This approach is similar to that adopted
in (Sozer 2003 a). The dwell angle is kept constant for all operating conditions and
during the conduction interval the current is controlled using delta modulation current
control as before. A block diagram of the optimal efficiency motor control strategy is
shown in Figure 6.26.
181
speed motoring operation.
The control strategy was implemented on the experimental 12/8 SRM rig with PI
controller constants of P = 0.002 and I = 0.02. The increment/decrement in the turn-on
angle was chosen to be 0.005 mechanical degrees and the dwell angle was held
constant at 6 p = 14 degrees. The initial firing angles at start-up were 0 On = 22.5
degrees before alignment and G o ff =8.5 degrees before alignment with the controller
seeking to select the optimal efficiency angles once the motor is running. A number of
tests were performed to verify the efficacy of the control approach.
Figure 6.27 shows the current in phase A, the switch signals for phase A and a pulse
waveform indicating the aligned position of phase A for a reference speed of 300rpm
during steady-state operation of the optimal efficiency control strategy. Figure 6.28
shows the same waveforms for steady-state operation of the simple control strategy at
300rpm with constant firing angles of 0 o n = 22.5 degrees before alignment and O q f f =
8.5 degrees before alignment. From a visual inspection of the current waveforms in
Figures 6.27 and 6.28, it is clear that the rms phase current is significantly smaller for
the optimal efficiency control strategy than for the simple control strategy (as
expected). In fact, the rms phase current is 1.1A for the optimal control strategy
compared to 1.35A for the simple control strategy with the constant firing angles as
outlined. Figure 6.29 shows the turn-on angle selected by the optimal efficiency
controller during steady-state operation at 300rpm to ensure that the first peak of the
182
current waveform is at 6s. The turn-on angle converges from its initial value of 22.5
degrees before alignment at start-up to its steady-state value of approximately 16
degrees before alignment. It can be seen in Figure 6.25 that, at 300rpm, the lowest rms
phase current value occurs at 16 degrees before alignment.
Figure 6.30 shows the current in phase A, the switch signals for phase A and a pulse
waveform indicating the aligned position of phase A for a reference speed of 650rpm
during steady-state operation of the optimal efficiency control strategy. Figure 6.31
shows the turn-on angle selected by the controller during steady-state operation at
650rpm to ensure that the first peak of the current waveform is at 6s. The turn-on
angle converges from its initial value of 22.5 degrees before alignment at start-up to
its steady-state value of approximately 17.5 degrees before alignment.
T e k 0 E I H 2 S :0 k S /s
---------HT-4-------- -!
9 A cqs
(Channels 2 and 4) and pulse waveform indicating the aligned position of phase A
(Channel 3) for the optimal efficiency control strategy at a reference speed of 300rpm
and with constant Bd = 14 degrees.
183
Tek SEES 25:0kS/S ^ 4130 Acq^
c©
e 20
0)c
<C ££ 10
O <1)
c tn
? 1 iI i T [—|—t—
D 50 100 150 200 250
Sample Point (Number)
Figure 6.29: The turn-on angle selected by the optimal efficiency controller during
steady-state operation at 300rpm to ensure that the first peak of the current waveform
is at 0s.
184
Tek EHffiS 5 Q.oks/s 11 Acqs
oE
c
c. 20
oo><
®
<1 10
92
Ew
h-3 Oo>
Q>
<D t "T~ ] t i’ ■ « i r "T t -t
0 50 100 150 200 250
Sample Point (Number)
Figure 6.31: The turn-on angle selected by the optimal efficiency controller during
steady-state operation at 650rpm to ensure that the first peak of the current waveform
is at 9S.
This control strategy selects the optimal efficiency turn-on angle thus ensuring that it
is the most efficient SR motor control. In addition, no characterisation of the SRM is
required. Hence, the optimal efficiency control strategy is clearly superior to the
simple control strategy and the automatic turn-off angle control strategy.
185
6.2.2 High speed motoring - single pulse mode control
At higher motor speeds, the magnitude of the back-emf is sufficiently large to limit
the phase current and negate the requirement for current regulation. Assuming a
constant supply voltage, Vs, in single pulse mode, the SRM can only be controlled by
variation of the control variables, O o n and 6 o f f - At O on, both power switches are
closed (placing the supply voltage across the winding) and remain closed throughout
the entire conduction cycle. At O o f f , both switches are turned off and the phase is
demagnetised by the negative supply voltage placed across the winding. At high
speeds, O o f f must be advanced to ensure that the current has sufficient time to reduce
to zero by alignment, avoiding the production of negative torque. It is possible to
implement a very simple control scheme that requires no prior knowledge or
characterisation of the SRM. The turn-off angle is fixed and the turn-on angle is used
to control the rotational speed. A block diagram of this simple control scheme is
shown in Figure 6.32.
Figure 6.32: Block diagram of the single pulse mode motor control scheme.
Starting with Oon =22.5 degrees before alignment (the unaligned position), 6on is
advanced by a fraction of a degree (increasing the conduction angle) if the estimated
speed is less than the reference value and is delayed (decreasing the conduction
interval) if it is greater than the reference value. The increment/decrement in Oon
should be chosen to be relatively small (to keep speed ripple to a minimum) but large
enough to ensure a fast response of the controller to variation in the load or speed
reference. The control scheme was implemented on the ADSP-21992 with a
increment/decrement value of ASon = 0 .0 0 1 degrees.
186
Figure 6.33 shows the current in phase A, the switch signals for phase A, the
tachometer output signal and a pulse waveform that indicates the aligned position of
phase A for a reference speed of 700rpm with a constant O o f f = 1 0 degrees before
alignment. Figure 6.34 shows the tum-on angle for steady-state operation at 700rpm
with a constant O o f f =10 degrees before alignment. As can be seen, the tum-on angle
is approximately 21 degrees before alignment. Figure 6.35 shows the motor speed
calculated by the ADSP-21992 control program in the manner described in Section
5.6.3 during steady-state operation for a reference speed of 700rpm. Figure 6.36
shows the initial response of the experimental system to a 700rpm reference speed.
The speed of the motor quickly settles to 700rpm in approximately 0.5 seconds.
Tek Effilffl 25.0kS/S
F--T-
4 Acqs
3374
(Channel 2), the tachometer output signal (Channel 4 - 12.5V/1000rpm) and a pulse
waveform indicating the aligned position of phase A (Channel 3) for a reference speed
of 700rpm with constant O o f f =10 degrees before alignment.
E0> 20
c
MD>~~&
<c m
C <
? *£- o 10
0)
E
ftZJ Qw)
£o> “T ~
O0) 100 150 200 250
Sample Point(Number)
Figure 6.34: Tum-on angle for steady-state operation at 700rpm with constant Ooff
1 0 degrees before alignment.
187
Sample Point (Number)
Figure 6.35: Motor speed as calculated by the ADSP-21992 control program during
steady-state single pulse mode motoring operation for a reference speed of 700rpm.
Tokanj™ 50.0 s/s Acqs
Figure 6.36: Transient speed response of the experimental system for high speed
motoring with a 700rpm speed reference.
The simple control strategy succeeds in accurately controlling the rotational speed of
the motor. However, in the outlined strategy, the turn-off angle was chosen rather
randomly with the only criterion being that it should ensure current suppression
before alignment. For any operating speed, there are many conduction angles that can
be chosen to ensure operation at that particular speed. Possible future work could
involve further development of the simple control strategy such that the maximum
efficiency conduction angles are chosen for a particular operating speed and load. The
maximum efficiency angles could be determined either through simulation or
experimentation.
188
Finally, while both low speed motoring below the base speed and high speed single
pulse mode control have been examined experimentally, the transition between the
two modes of operation hasn’t been investigated. However, it is expected that there
would be a naturally smooth transition between, for example, the simple low speed
control scheme described in Section 6.2.1.1 and the single pulse mode control scheme
described above. The simple low speed motor control strategy controls the phase
current around the reference current produced by the PI controller. As the speed
increases, the phase currents may not be able to reach the demanded reference level
and hence, the controller will automatically enter single pulse mode operation. The
turn-on angle can then be used to control the speed as described for the high speed
motor control strategy. It is recommended that the transition between low speed
motoring control and single pulse mode control be investigated as part of future work.
189
simulation in Section 3.4. In addition, the torque estimation capability of the nonlinear
model is further verified in the simulation of the neuro-fuzzy torque ripple
minimisation control strategies as described in Section 4.11. The model can adapt and
tune itself to any SRM and enables estimation of the total torque as well as the
individual phase torques. As described in Section 3.3, there are essentially two parts
to the torque estimation algorithm.
where Vs is chosen equal to or greater than the saturation flux-linkage of the SRM
andf(6) is the Fourier series function:
where N is the number of rotor poles and the parameters a,b,c,d and e are
variables that are determined while the motor is running. The model parameters
are determined using recursive least squares identification as outlined in Section
3.3 and they assume values that account for the particular characteristics of the
SRM being modeled.
(2) Torque calculation: With the system identification algorithm returning the model
parameters, knowledge of y/s, the rotor position, 0; and the measured phase
current, /, enables estimation of the phase torque, T, from the following equation:
df(0)
Vs
T = J\y)
t . dl [i-(i+ n e ) Y ‘m ] (6.9)
190
where y/ is calculated from equation (6.7) using the measured phase current and
updated model parameter values.
For torque estimation using this nonlinear model, knowledge of the saturated flux-
linkage, y/s, is necessary. In addition, the flux-linkage, y/, is required to be known for
system identification and thus it must be calculated every control cycle. The
experimental method employed for determination of y/s and the algorithm for on-line
real-time calculation of ^are now outlined.
When a voltage is applied across a phase of the SRM, the rotor moves seeking
alignment with the excited phase and ‘locks’ itself in the aligned position. To find the
saturation point, the voltage across the phase was increased until a rapid increase in
the phase current was observed. In a phase current versus time plot on an
oscilloscope, the significant change in slope of the phase current would indicate that
the phase under test has gone into saturation.
The instantaneous voltage across the terminals of a single phase of an SRM winding
is related to the flux linked in the winding by:
where v is the terminal voltage, i is the phase current, R is the phase resistance and y/
is the flux-linkage.
If the iR loss is ignored (permissable because only an approximate value for if/s is
required), then equation (6 .1 1 ) simplifies to:
» * dt£ (6 -1 2 )
v = VPEAKcos(o)t) (6.13)
where Vpeak is the peak value of the applied voltage. Hence, the flux-linkage can be
represented by the equation:
w = iW s in ^ /) (6.14)
CO
where co ~ 2nf (in this case, / = 50Hz). Thus, the saturated flux-linkage may be
approximated by the maximum value of equation (6.14) i.e.:
= iW (6.15)
CO
^ = 90V2 ^ 0 _4 m (6.16)
2;r50
This approximate value for \f/s was then employed in the torque estimation algorithm.
192
6.3.2 Flux-linkage estimation
The torque estimation algorithm requires continuous knowledge of the flux-linkage
for all time. Equation (6.11) indicates that the flux-linkage for a particular phase can
be estimated using knowledge of both the phase voltage and phase current.
Rearranging equation (6.11) and integrating both sides results in the following:
(6.17)
This integration operation is performed using an update law such as the Forward
Euler to determine the flux-linkage:
(6.18)
Using the ‘classic’ converter, there are three possible states of operation (as outlined
in Section 2.4) namely magnetisation, freewheeling and forced demagnetisation. If
losses in the power switches and diodes are neglected, the voltage across the phase
winding is V$, 0 and -Vs during magnetisation, freewheeling and forced
demagnetisation, respectively. However, for more accurate flux-linkage estimation, it
is important to take losses in the semiconductor devices into consideration. Thus, the
voltage across the winding in each converter state can be approximated by the
following equations:
193
where Vdiode = 0.7V and Vtransistor = iRoson where Roson is the on-resistance of the
MOSFET. The on-resistance of the IRF644 MOSFETs employed in the experimental
‘classic’ power converter is Roson = 0.28Q. Since the maximum phase current is 4A,
the voltage drop, Vtransistor, is never more than 1.12V. For simplicity, the value for
Vtransistoris permanently set to 0.5 volts thereby avoiding the calculation of iRoson every
cycle. Although there is a subsequent loss in accuracy, the percentage error will be
small due to the relative magnitude of the error (<0.5V) when compared to the supply
voltage magnitude of 70V.
At low speed operation, the current is controlled around the PI controller current
reference value by soft chopping with the switch signals being generated by the
ADSP-21992 control program. Hence, the switching states are known at all times and
therefore, the mode of converter operation is also known. The voltage across the
phase at any time can be derived from these known switch states. The voltage, v, is
therefore estimated in each control cycle during the chopping and/or commutation
control stages.
Once the phase voltage is estimated and the current measured, the flux-linkage
estimate can be updated. The phase resistance is a known parameter and the
integration time-step, At, can be found by starting and stopping a timer. Hence, the
flux-linkage estimation can be implemented in C code on the ADSP-21992 in the
manner shown in Appendix C4.
Figure 6.37 shows the estimated flux-linkage for experimental operation of the SRM
at 400rpm under current-regulated speed control implemented using a PI controller
when the flux-linkage estimation method described above is employed. The current is
controlled using software-implemented delta modulation control. The firing angles
were 6qn =22.5 degrees before alignment and Oqff = 4 degrees before alignment.
194
Figure 6.37: Estimated flux-linkage for experimental operation of the SRM at
400rpm.
Hence, a number of steps were taken to minimise the impact of the identification
routine on the control cycle time. The nonlinear model described in the series of
mathematical equations in Section 3.3 employs five parameters. However, simulation
results indicate that there is minimal loss in accuracy if a three-parameter model is
employed. Thus, the Fourier series function of equation (6 .8 ) becomes:
195
The reduction in the number of parameters results in faster implementation. While
there is a subsequent loss in torque estimation accuracy, it is minimal. In addition,
identification was performed only for a single phase of the SRM (phase A) and the
results were utilised for all of the phases. This was validated through simulation
where little degradation in the performance of the control strategy was observed. The
validity of single-phase identification was also verified experimentally in (Mir 1998)
and (Russa 2000). Furthermore, the identification algorithm was split into fifteen
smaller constituent sections (all approximately equal in terms of execution time) that
are executed during consecutive control cycles. Therefore, the SRM model that is
employed for the torque estimation is updated only once in every fifteen control
cycles. This greatly reduces computation. The phase torques, however, are estimated
every control cycle. Figure 6.38 shows the a, b and c parameter values during steady-
state operation. Figure 6.38 also shows the values of the parameters a, b and c during
the first 250 control cycles as they start to diverge from their initial, arbitrarily chosen,
values of one. As can clearly be seen in Figure 6.38, the parameters are updated every
fifteen control cycles as expected.
196
0.01
* 0 005 Parameters a, b and c during
5 d \ steady-state operation
> -0 .005
6Q) -0.01
E«J -0.015 \
cü -0.02
-0,025 /'
-0.03
50 100 150 200 250 300 350 400 450 500
Sample point (Number)
Figure 6.38: Values of parameters a, b and c during the first 250 control cycles and
during subsequent steady-state operation.
197
modulation current control was approximately 2.25A. The flux-linkage for phases B
and C can be estimated using the nonlinear model from the measured current in each
phase and the parameters calculated from the system identification performed on
phase A.
Figure 6.39: Experimental results showing the actual flux-linkage estimated using the
method described in Section 6.3.2 as well as the flux-linkage estimated using equation
(6.7) for phase A when the nonlinear model is employed at 400rpm.
198
Cl Ampl
22.4mV
4 May 201
14:40:03
Figure 6.40: Current in phase A (Channel 1 - lA/div) that produced the flux-linkage
waveform shown in Figure 6.39 and the phase A switch signals (Channels 2 and 3) for
operation at 400rpm.
Figure 6.41 shows the experimental results for the torque (produced by phase A)
estimated using both equation (6.9) and equation (6.10) at 400rpm under software-
implemented delta modulation control. As can be seen, both expressions for the
estimation of the phase torque yield nearly identical results.
The total torque produced by the motor is the algebraic sum of the individual phase
torques. Figure 6.42 shows the estimated phase torques and the estimated total torque
for experimental operation at 400rpm under software-implemented delta modulation
control.
199
Figure 6.41: Experimental results showing the estimated torque (produced by phase
A) calculated using both equation (6.9) (dotted line) and equation (6.10) (solid line)
for motoring operation at 400rpm.
200
Figure 6.42: Experimental results showing the estimated phase torques and the
estimated total torque for motoring operation at 400rpm.
Figure 6.43 shows a block diagram of neuro-fuzzy control strategy no. 3. During
normal operation, the compensator selects the appropriate compensating current
signal, I c o m p , based on the PI controller current signal, I pi, and the rotor position, 0.
The ANFIS system is used to train the current compensator. Figure 6.44 shows a basic
block diagram of the ANFIS training approach.
201
i pi d
C r ip p l e
202
during the initial operation of the SR drive. The required data is recorded and the
I c o m p data vector is further updated. This procedure is repeated until the torque ripple
is reduced below some error threshold. The current reference is then incremented and
the entire training procedure is repeated.
The control strategy was first proposed in (Henriques 1999). In that paper, the torque
signal for the training procedure was obtained using a torque sensor. In the
experimental implementation described here, the torque is estimated using the method
described in Section 6.3. The torque is estimated off-line using data obtained during
steady-state operation of the SR drive. The identification parameters (a, b and c), the
three phase currents (lA, h and Iq) and the rotor position, 0, are buffered and saved in
the memory of the ADSP-21992. The data is then exported and the torque information
is estimated off-line using the MATLAB/Simulink package. The torque ripple is
easily calculated once the total torque information is known. The neuro-fuzzy
compensator is also trained off-line using the estimated torque ripple in addition to the
current reference, rotor position and compensating current data, which is exported
along with the data employed in the torque estimation,
203
The FIS representing the neuro-fuzzy compensator was initially implemented in C
code on the ADSP-21992. Thus, each control cycle, the appropriate compensating
current was calculated using the rotor position and current reference values. However,
this proved to be very computationally intensive and seriously degraded the
performance of the SR drive. Hence, it was decided to implement the neuro-fuzzy
compensator in the form of a look-up table. The look-up table uses the rotor position
and current reference as indices, thereby returning the correct compensating current
with minimal impact on the control cycle time.
204
1
_o.s
5.0.6
E
QJ
1o 0.4
0.2
0
0 200 400 600 800 1000 1200 1400;
Sample point (Number)
.1
0.8
sE
Z 0.6
a>
.§•0.4
iO
l—0.2
0
0 200 400 600 800 1000 12 0 0 1400
Sample point (Number)
Figure 6.45: The torque produced by the 12/8 three-phase SRM without current
compensation and with current compensation after only two training iterations for
open-loop motoring operation with a constant current reference of 2.5A.
205
1
0.8
IE
50.6
CD
EOA
t-o
0.2
0
0 200 400 600 800 1000 1200 1400
Sample point (Number)
1
_0.8
E
5 0 .6
<u
E0.4
i-o
0.2
Figure 6.46: The torque produced by the 12/8 three-phase SRM without current
compensation and with current compensation after six training iterations for open-
loop motoring operation with a constant current reference of 2 .5A.
206
Figure 6.47: The compensating current signal produced by the neuro-fuzzy
compensator after two training iterations and the compensating current signal
produced by the neuro-fuzzy compensator after six training iterations for open-loop
motoring operation with a constant current reference of 2.5A.
The compensating current signal is added to the constant current reference of 2.5A.
The effect of the compensating current signal on the phase current waveform is
demonstrated in Figures 6.48, 6.49 and 6.50. When no current compensation is
employed the phase current waveform is flat-topped as shown in Figure 6.48. The
phase current is controlled around the constant 2.5A reference. Figure 6.49 shows the
phase current waveform with current compensation after only two training iterations.
As can be seen, the phase current shape is altered from a flat-topped wavefrom to a
slightly fluctuating wavefrom profile. Figure 6.50 shows the phase current waveform
with current compensation when the fully-trained neuro-fuzzy compensator is
employed i.e. after six training iterations. The fluctuation in the current waveform
shape is more pronounced in Figure 6.50 when the fully-trained compensator is
employed than in Figure 6.49. The modified phase current waveforms result in phase
torques which sum to produce a reduced-ripple torque profile. Figure 6.51 shows the
207
torque produced by each of the three phases of the SRM for open-loop motoring with
a 2 .5 A constant current reference when there is no current compensation and when the
neuro-fuzzy compensator is incorporated into the SR drive.
Figure 6.49: Phase A current (0.5A/div) with current compensation after two training
iterations.
208
Figure 6.50: Phase A current (0.5A/div) when the fully-trained neuro-fuzzy
compensator is employed i.e. after six training iterations.
Figure 6.51: The torque produced by the individual phases for open-loop motoring
operation with a 2.5A constant current reference with and without current
compensation.
209
farther test the control strategy, the neuro-fuzzy compensator was incorporated into
the SR drive operated under current-regulated speed control implemented using a PI
controller. The PI controller constants were P = 0.002 and I = 0.02. For SR drive
operation with current compensation, the compensating current signal produced by the
neuro-fuzzy compensator followed the curve shown in Figure 6.52.
Figure 6.52: Current compensation curve for the 12/8 three-phase experimental SRM.
Figure 6.53 shows the steady-state torque produced by the SRM with and without
compensation for operation with a reference speed of 600rpm and with a constant
mechanical load. The almost constant PI controller output signal was approximately
2.75A. As expected, when the neuro-fuzzy compensator is employed, a significant
decrease in the torque ripple is observed. In fact, the rms error is approximately
halved from 0.1206 to 0.0615 when the neuro-fuzzy compensator is employed.
However, this reduction in the torque ripple is only a fraction of the reduction
observed when the control strategy is tested through simulation as described in
Chapter Four. In the simulations, the small sampling time employed results in the
phase current being controlled very precisely about the current reference. For the
experimental implementation, the current control is implemented on the ADSP-21992
210
using delta modulation. This has the advantage that no external analog/digital
hysteresis control circuit is required. However, the ADSP-21992 is also responsible
for the speed/torque control, commutation control etc. in addition to the delta
modulation current control. The implementation of the torque estimation algorithm to
enable visualisation of the phase torques further increases the control cycle time.
Consequently, there is ripple on each phase current waveform being controlled around
the reference value. This ripple on the phase current waveform produces torque ripple.
Figure 6.54 shows the PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the current reference used by the delta
modulation current controller for steady-state motoring operation at 600rpm with a
constant mechanical load. The current reference employed by the current controller is
the sum of the PI controller output signal and the compensating current signal.
1.5 ! r
rms,error = 0.1208
Q. yz.
o
8 0.9
^0.6
E
^0.3
0)3
E 0 J_____ L_ 1
£ 100 200 300 400 500 600 700 800 900 1000
oC
Sam pie point (Number)
Ü 15 i ---------------- r
a>
■c rms error = 0,0615
: f 12
0
1 0.9
* 0.6
E
^,0.3
a>
E 0 J_____ I_____ L
h-b ;0 100 200 300 400 500 600 ' 700
Sample point (Number)
800 900 1000
Figure 6.53: Steady-state torque produced by the SRM with and without
compensation for operation at 600rpm with a constant mechanical load.
211
1000
Figure 6.54: The PI controller output signal, the compensating current signal
produced by the neuro-fuzzy compensator and the current reference used by the delta
Figure 6.55 shows the phase A current when no current compensation is employed.
The phase current is controlled around the approximately constant PI controller output
current signal of approximately 2.75A. Figure 6.56 shows the phase A current when
the neuro-fuzzy compensator is incorporated into the SR drive. The effect of the
compensating current signal on the phase current waveform shape is clearly visible by
comparing Figures 6.55 and 6.56. The resultant phase torques produced in the
individual phases with and without current compensation are shown in Figure 6.57.
212
Figure 6.55: Phase A current (0.5A/div) without current compensation for operation
Figure 6.56; Phase A current (0.5A/div) for operation at 600rpm with a constant
mechanical load when the neuro-fuzzy compensator is incorporated into the SR drive.
213
Figure 6.57: Phase torque profiles for steady-state motoring operation at 600rpm with
and without current compensation.
Three of the four motor speed control strategies for torque ripple-tolerant applications
are aimed at low speed motoring. The fourth is intended for high speed motoring
operation in single pulse mode. The first low speed motor control scheme involves the
selection of fixed firing angles and the employment of a PI controller to control the
speed. The PI controller uses the speed error to produce a current reference about
which the phase currents are controlled using delta modulation current control. The
main advantage of this simple scheme is that no prior knowledge or characterisation
214
of the machine is required. Its main disadvantage is its poor efficiency levels as a
result of the employment of fixed firing angles. In addition, depending on the motor
speed and the mechanical load, the phase current may reduce to zero in advance of the
aligned position or some time after the rotor has passed alignment. This reduces the
average torque produced by the SRM.
The second low speed motor control strategy involves the experimental determination
of the turn-off angle that results in phase current reduction to zero at alignment for
different motor speeds and mechanical loads. At a given motor speed, any change in
the mechanical load is reflected in the current reference outputted by the PI controller.
A mathematical model of the experimental data is created that enables the controller
to automatically select the appropriate turn-off angle to ensure current suppression at
alignment based on the motor speed and the PI controller current reference signal.
This automatic turn-off angle control strategy can be operated without a fixed turn-on
angle. It enables large positive torque production. However, like the first simple
control strategy, it also suffers from the disadvantage of operation at non-optimum
efficiency levels. An additional disadvantage is the requirement of measurement and
curve fitting for determination of the mathematical model.
The final low speed motor control strategy for torque ripple-tolerant applications
enables operation at the desired optimal efficiency level. The control approach
involves the regulation of the turn-on angle to ensure that the first peak of the phase
current is aligned with the angle where pole overlap begins. This maximises the
torque per ampere produced by the SRM. The dwell angle is kept constant for all
operating conditions and the current is controlled using delta modulation control. The
main advantage of this control strategy is the improvement in efficiency. In addition,
no characterisation of the SRM is required. Thus, the optimal efficiency control
strategy is far superior to the first simple control strategy and the automatic turn-off
angle control strategy.
The high speed motor control strategy is simple to implement and requires no prior
knowledge or characterisation of the machine. The turn-off angle is fixed and the
tum-on angle is varied to control the rotational speed. The turn-off angle is chosen to
ensure current suppression before alignment. A disadvantage of this simple control
215
strategy is its operation at non-optimum efficiency levels. Future work could include
the experimental determination of the maximum efficiency conduction angles.
The lack of a torque sensor in the experimental set-up necessitated the employment of
another method for determination of the instantaneous torque. The nonlinear
mathematical model of the SRM with on-line parameter identification previously
tested through simulation was employed to estimate the instantaneous phase torques
and total torque. This torque estimator was employed in the experimental
implementation and testing of neuro-fuzzy control strategy no. 3.
Neuro-fuzzy control strategy no. 3 is aimed at minimisation of the torque ripple. The
control strategy employs a neuro-fuzzy compensator to select an appropriate
compensating current signal to be added to the PI controller output signal/The ANFIS
system is employed to train the compensator. The training procedure requires
knowledge of the torque ripple. However, neuro-fuzzy control strategy no. 3 doesn’t
require on-line torque estimation. For training, the torque is estimated off-line using
data obtained during steady-state operation of the SR drive. The torque ripple is easily
calculated from the estimated torque information. The neuro-fuzzy compensator was
initially tested for open-loop motoring operation with a constant current reference.
Further testing involved incorporating the compensator into the SR drive operating
under current-regulated speed control implemented using a PI controller. A significant
reduction in the torque ripple is observed when the neuro-fuzzy compensator is
employed.
216
Chapter Seven - Experimental generator control
7.0 Introduction
In this chapter, the experimental implementation and testing of three closed-loop SR
generator control strategies is described. Initially, the generating characteristics of the
12/8 three-phase SRM employed in the experimental set-up are described. The three
control schemes for SR generator control are then outlined and their performance is
examined by testing on the experimental SRM. Finally, a comparison of the three
control strategies in terms of the efficiency and peak current produced by each is
presented.
Figure 7.3 shows the load power versus dc link voltage for operation at 1500rpm with
constant firing angles of Oqn — 7.5 degrees before alignment and O o ff =7.5 degrees
after alignment. The electronic load was employed to maintain the dc link voltage at
the desired level for each sample point used in the graph. In Figures 7.1, 7.2 and 7.3
the load power is effectively equivalent to the net generated power as the voltage
across the dc link capacitor is held constant by the electronic load. This follows from
the capacitor equation:
which indicates that for a constant dc link voltage, iç = 0. Hence, the average dc link
current, /<?, is equal to the average load current,
Figure 7.1: Load power versus turn-on angle and turn-off angle for a rotational speed
of 900rpm with the electronic load used to maintain the dc link voltage at 60V.
,/\ >-
100
80
w 60
Ü 40 -
-Q
10
Figure 7.2: Load power versus tum-on angle and turn-off angle for a rotational speed
of 1500rpm with the electronic load used to maintain the dc link voltage at 50V.
218
dc link voltage (V)
Figure 7.3: Load power versus dc link voltage for operation at 1500rpm with constant
firing angles of O on = 7.5 degrees before alignment and O o ff = 7.5 degrees after
alignment.
Figure 7.4 shows both the phase A switch signal and the phase A current waveform
for operation at 900rpm at a dc link voltage of 60V (controlled using the electronic
load) and with fixed firing angles of Oon = 1.5 degrees before alignment and Ooff =
10 degrees after alignment. The current waveform resembles that of Figure 2.18(c)
whereby the current decreases immediately after O o ff is reached due to a small back-
emf value. Figure 7.5 shows the same two signals under the same operating
conditions with Oon advanced to 4 degrees before alignment. As can be seen, the
current waveform now resembles the flat-topped waveform of Figure 2.18(b) as a
result of the back-emf balancing with the dc link voltage. Figure 7.6 shows the same
two signals with the tum-on angle advanced even further such that Oon = 10 degrees
before alignment. The current waveform now resembles that of Figure 2.18(a) due to
the back-emf in the phase winding having a larger magnitude than the dc link voltage.
The net generated power for operation with Oon = 1-5, 4 and 10 degrees before
*
alignment was 33W, 59.9W and 146.4W respectively. Figure 7.7 shows the switch
signals for all three phases of the machine for operation at 900rpm and with O on - 7.5
degrees before alignment and O o ff - 7.5 degrees after alignment.
219
Tek EffilCT 25-0kS /s ^ 376 Acqs
Figure 7.4: Phase A switch signal (Channel 1) and phase A current waveform
(Channel 2 - 2A/div), speed = 900rpm, de link voltage = 60V, Oqn = 1.5 degrees
before alignment and Q qff = 10 degrees after alignment.
Figure 7.5: Phase A switch signal (Channel 1) and phase A current waveform
(Channel 2 - 2A/div), speed = 900rpm, dc link voltage = 60V, 0On = 4 degrees before
alignment and Q qff =10 degrees after alignment.
220
Figure 7.6: Phase A switch signal (Channel 1) and phase A current waveform
(Channel 2 - 2A/div), speed = 900rpm, de link voltage = 60V, 6on = 10 degrees
before alignment and Oqff =10 degrees after alignment.
Figure 7.7: Switch signals for all three phases of the machine for operation at 900rpm
and with 6on ~ 7.5 degrees before alignment and Oqff =7.5 degrees after alignment.
221
Figure 7.8 shows both the phase A switch signal and the phase A current waveform
for operation at 1500rpm at a dc link voltage of 50V (controlled using the electronic
load) and with fixed firing angles of 7.5 degrees before alignment and
Oo n = & o f f =
10 degrees after alignment. Figure 7.9 shows the same waveforms for operation under
identical conditions apart from the firing angles which were fixed at O on = 14 degrees
before alignment and O o ff =7.5 degrees after alignment. The net generated power
was 69.4W for the operation shown in Figure 7.8 and 85.4W for the operation shown
in Figure 7.9. Figure 7.10 shows the phase A switch signal as well as the summation
of the three phase currents for operation at 1500rpm at a dc link voltage of 50V with
fixed firing angles of Oon = 7.5 degrees before alignment and O o ff = 7.5 degrees after
alignment.
25.0kS/S 2 Acqs
Tek aEJU
! t ............... iy-.
Figure 7.8: Phase A switch signal (Channel 1) and phase A current waveform
(Channel 2 - lA/div), speed = 1500rpm, dc link voltage = 50V, O on = 7.5 degrees
before alignment and O o ff = 10 degrees after alignment.
222
TekHEJSB 25.0kS/s
I T - ......17 AcqsI].
Figure 7.9: Phase A switch signal (Channel 1) and phase A current waveform
(Channel 2 - lA/div), speed = 1500rpm, dc link voltage = 50V, O qn = 14 degrees
before alignment and O o ff = 7.5 degrees after alignment.
Figure 7.10: Phase A switch signal (Channel 1) and the waveform representing the
summation of all three phase currents (Channel 2 - 2A/div), speed = 1500rpm, dc link
voltage = 50V, Q on - 7.5 degrees before alignment and O o ff = 7.5 degrees after
alignment.
223
The SR generator controller is required to maintain the average dc link voltage
constant. However, the dc link capacitance has an integrating or smoothing effect on
the dc link voltage. Therefore, the generator controller requires a lower bandwidth to
control the dc link voltage than is required by the motor controller to control the phase
current (and the torque that is subsequently produced) (Miller 2001). For this reason,
it is possible to implement the generator control strategies described in this chapter
using the ADSP-21990 operating at 32MHz as opposed to the high-bandwidth motor
control that was implemented at 160MHz using the ADSP-21992. All of the control
strategies described in the following sections are aimed at SR generator operation in
single pulse mode.
Starting with some initial selected turn-on angle, the turn-on angle is advanced by a
fraction of a degree (increasing the conduction interval) if the measured dc link
voltage is less than the reference voltage level and is delayed (decreasing the
conduction interval) if the voltage is greater then the reference level. The initial turn
on angle should be chosen relatively close to the alignment position i.e. 2-3 degrees
before alignment. This prevents any possibility of the system generating such a large
current that overshoot of the dc link voltage could occur (as might be the case with a
large initial turn-on angle and a small load). The increment/decrement in the turn-on
angle should be chosen to be relatively small (to keep voltage ripple on the dc link to
an acceptable level) but large enough to ensure the fast response of the controller to
changes in the load or speed. It is also necessary to set maximum and minimum turn
224
on angles for safety purposes. A block diagram of this simple generator control
strategy is shown in Figure 7.11.
This control scheme was implemented on the ADSP-21990 with an initial selected
turn-on angle of 2.5 degrees before alignment, a turn-on angle increment/decrement
value of 0.05 mechanical degrees and a turn-off angle of 7.5 degrees after alignment.
Figure 7.12 shows the dc link voltage and the dc link current with a step in the load
from 0.3A to 2A at 1.2s followed by a step back down to 0.3A after 3.5s for a voltage
reference of 50V. Figure 7.13 shows the response of the system to a step in the
operating speed from lOOOrpm to 1400rpm after 1.6s. The dc link current, dc link
voltage and the generator speed are shown.
The main advantage of this simple control scheme is that no prior knowledge or
characterisation of the machine is required apart from, obviously, the number of
rotor/stator poles and the number of phases etc. Also, there is no need for dc link
current measurement. Its main disadvantage is its relatively low efficiency levels as a
result of the constant turn-off angle (although it will be efficient at the power level for
which the selected turn-off angle is the optimal angle from an efficiency viewpoint).
225
0 0.4 08 1.2 1:6 2 2.4 2.8
Time4(Seconds)
Figure 7.12: The dc link voltage and the dc link current with a step in the load from
0.3A to 2A at 1.2s followed by a step back down to 0.3A after 3.5s for a voltage
reference of 50V.
Time (Seconds)
Figure 7.13: Response of the experimental system to a step in the operating speed
from lOOOrpm to 1400rpm after 1.6s. The dc link current, dc link voltage and the
generator speed are shown.
226
7.3 Inverse model control strategy
In Section 3.5 of this thesis, a SR generator control strategy based on an inverse
model approach was tested through simulation. The suggested approach described in
that section built on that previously outlined in (Kjaer 1994). In that paper, Kjaer et al.
derive an inverse model of the SR generator which relates the firing angles for single
pulse operation to the average dc link current (also referred to as the average net
generated current), the dc link voltage and the generator speed. In Kjaer’s closed-loop
generator controller, a voltage controller outputs the required average dc link current
to account for the voltage mismatch and the inverse model is then used to select the
correct firing angles to produce the necessary current. A limitation of the approach
described in (Kjaer 1994), however, is that the inverse model is obtained on the basis
of a linear inductance profile. Under this assumption, it is shown in (Kjaer 1994) that
there is a quadratic relationship between the tum-on firing angle, Son, and the average
dc link current, Io, i.e.:
where co is the rotational speed, Vdc is the dc link voltage and the expressions for A, B
and C are as given in (Kjaer 1994). Thus, the required average dc link current can be
used to deduce the tum-on angle, Oqn, analytically using equation (7.2).
As for the simulation work described in Section 3.5, the assumption of a linear
inductance profile is not made here. Instead, the relationship between the tum-on
angle and the average dc link current is obtained by experimental means. Figure 7.14
shows the relationship between the average dc link current and the tum-on angle for a
fixed turn-off angle of 7.5 degrees after alignment. Also shown in Figure 7.14 is an
approximation to the real data curve that was obtained using a polynomial fit. This is
a first-order polynomial representation of the real data and as can be seen, the
approximation is quite good. In the simulation work described in Section 3.5, a
second order polynomial was employed as a curve fit. The reason that it is possible to
use a first order polynomial is because, as shown in Figure 5.1, the particular
characteristics of the 12/8 SRM employed are such that there is no saturation over the
operating current range. Using a first-order polynomial fit (as opposed to a second-
227
order polynomial fit as was employed in the simulation work and which would be
more accurate) reduces DSP control cycle time due to a reduction in the
computational requirements. The polynomial fit to the curve in Figure 7.14 is
represented by equation (7.3) where A = 2.278 and B = -3.042.
I o = ^ - ( A 0 m +B) (7.3)
CO
Figure 7.14: Actual and curve fit relationships between the turn-on angle and the dc
link current for a turn-off angle of 7.5 degrees after alignment and VdC= 50 V.
Having established the mathematical relationship between the turn-on angle and
average dc link current for a fixed turn-off angle, the generator control system shown
in Figure 7.15 is applicable. F(9) is the approximation to the exact relationship
between the tum-on angle and the average dc link current.
228
Figure 7.15: Block diagram of the inverse model control strategy.
The voltage controller (in this case a PI controller) outputs the required average
generated current, I q\ required to bring the dc link voltage, Vjc, to the demanded
level. The inverse machine model described by (Q) then selects the appropriate
turn-on angle to produce the necessary current.
The control strategy was implemented using the experimental set-up for a voltage
reference of 50V and a fixed turn-off angle of 7.5 degrees after alignment. The PI
controller was tuned manually. The resultant constants were P = 0.25 and I = 0.1. The
control strategy was then tested under different conditions to verify the control
algorithm.
Figure 7.16 shows the response of the experimental system to a sudden switch in the
load from 0.3A to 2A after 1.6s and back to 0.3A after 2.7s. The SR generator was
operating at 1400rpm and at a 50V reference voltage. Figure 7.17 shows the response
of the experimental system to a sudden step in generator speed from lOOOrpm to
1400rpm after 1.4s under a load of 2A and at a 50V reference level. Figure 7.18
shows the response of the experimental system to changes in the load current at a
generator speed of 1400rpm. The load is increased from 1A to 2A at 0.4s and reduced
to 0.3A after 1.5s. Figure 7.19 shows the response of the system when starting from
an initial dc link voltage of 40V to a reference voltage of 50V under a 0.3A load at a
speed of lOOOrpm. The overshoot in the dc link current is in part due to supplying the
load current but also, during the transient, the SR generator must charge the dc link
229
capacitor to the higher voltage level. The new voltage level is reached in
approximately 0.4s.
Although operation was quite good this control strategy suffers from operation at non
optimum efficiency levels in a similar manner to the simple control strategy. It also
has the additional disadvantage of requiring some measurement and curve fitting for
determination of the inverse model. This strategy also requires operation at a constant
voltage reference for accurate operation.
D C 'L in k Voltage^
4 0 V — - ....... .....................
Figure 7.16: Response of the experimental system to sudden switches in the load
from 0.3A to 2A and back to 0.3A for a speed of 1400rpm and at a 50V reference
voltage.
230
0 0.4 08 1.2 1.6 ,2 2.4.' 2.8 3.2 3.6 4
Tim e (Seconds)-
Figure 7.17: Response of the experimental system to a sudden step in generator speed
from lOOOrpm to 1400rpm under a load of 2A and at a 50V reference level.
50V
4QV
D C Link'-Voltage-
0:2 0.4- 0.6' 0 8 .........1 1.2 1.4 1.6 1,8 2
Tim e(Seconds)
Figure 7.18: Response of the experimental system to changes in the load current at a
generator speed of 1400rpm. The load is increased from 1A to 2A at 0.4s and reduced
to 0.3A after 1.5s.
231
C h i Zoom: 1.OX V éri 0.05X Horz
2.67 A
2A
1.34A
0.67A
OA
50 V
40 V
Figure 7.19: Response of the experimental system when starting from an initial dc
link voltage of 40V to a reference voltage of 50V under a 0.3A load and at a speed of
lOOOrpm.
232
with minimum rms phase current and hence, with maximum efficiency, for a
particular generator speed and dc link current.
Using the experimental set-up, the optimum turn-off angle was determined for various
generator speed (ranging from 800rpm to ISOOrpm) and dc link current (ranging from
0.3A to 2A) operating points. The voltage reference was 50V. Figure 7.20 shows the
optimum turn-off angle as a function of generator speed and average dc link current.
233
12
t*
& 9.5
Figure 7.20: Optimum turn-off angle as a function of generator speed and average dc
link current.
9 off = 14.8568 - 0.0006*6) - 7.7778 * ldciink fo r average dc link current < \A (7.3)
and
60FF = 8. 9158 - 0.0026 *co + 1.4264 * I dcUnk fo r average dc link current > 1A (7.4)
Figure 7.21 shows the optimum turn-off angle versus speed and average dc link
current for the least squares fitted mathematical model of the experimental data
(model represented by equations (7.3) and (7.4)). As can be seen, the curve is similar
to that of Figure 7.20 and produces turn-off angles very close to the actual optimal
turn-off angles.
234
0,5
-1 1.5
Average DC U r* Current (A) £ Speed (rpm)
Figure 7.21: Optimum turn-off angle versus speed and average dc link current for the
least squares fitted mathematical model of the experimental data.
Figure 7.22 shows a block diagram of the proposed optimal turn-off angle closed-loop
voltage control strategy. The average dc link current and dc link voltage are measured
and are inputted to the DSP. The position information is used to calculate the
operating speed. The dc link current measurement and speed are then used to calculate
the optimum turn-off angle from the least squares model. The measured dc link
voltage is compared to the reference voltage and the tum-on angle is advanced by a
fraction of a degree (increasing the conduction interval) if the measured dc link
voltage is less than the reference voltage level and is delayed (decreasing the
conduction interval) if it is greater then the reference level. As with the simple control
strategy, the increment/decrement in the tum-on angle should be chosen to be
relatively small (to keep voltage ripple on the dc link to an acceptable level) but large
enough to ensure a fast response of the controller to changes in the load or speed.
Because the turn-off angle is optimal for a given speed and dc link current, the tum-on
angle is then also guaranteed to give optimal efficiency (ensuring overall optimal
efficiency control).
235
Figure 7.22: Block diagram of the optimal turn-off angle SR generator control
strategy.
The control strategy was implemented for a voltage reference of 50V and a turn-on
angle increment/decrement value of 0.2 mechanical degrees was chosen. Equations
(7.3) and (7.4) were used to calculate the optimal turn-off angle. A number of tests
were performed to verify the efficacy of this control approach. The tests were
designed to examine the system’s ability to react to sudden large deviations in both
the load current and generator speed when the optimal control strategy is employed. If
the dc link voltage recovers quickly after the system experiences an extreme change in
either load or speed (or both), then it is safe to assume that it will cope well with
smaller variations and/or more slowly varying conditions. The response of the system
when generating first begins (with the dc link voltage considerably lower than the
desired reference value) is also examined.
Figure 7.23 shows the response of the experimental system to a sudden switch in the
load from 0.3A to 2A after 0.9s and back to 0.3A after 3s. The SR generator was
operating at 1400rpm and at a 50V reference voltage. Figure 7.24 shows the response
of the experimental system to a sudden step in generator speed from lOOOrpm to
1400rpm after 1.6s under a load of 0.3A and at a 50V reference level. Figure 7.25
shows the response of the experimental system to changes in the load current at a
generator speed of 1400rpm. The load is increased from 1A to 2A at 1.6s and reduced
to 0.3A after 3.5s. Figure 7.26 shows the response of the system when starting from
an initial dc link voltage of 40V to a reference voltage of 50V under a 0.3A load at a
236
speed of lOOOrpm. As for the inverse model strategy, the overshoot in the dc link
current is because, apart from supplying the load current, during the transient, the SR
generator must also charge the dc link capacitor to the higher voltage level. The new
voltage level is reached in under 0.4s. Figure 7.27 shows the response of the system to
a step in the speed from lOOOrpm to 1400rpm after 0.6s followed by a step in the load
current from 1A to 2A after 2.2s.
Because the optimal efficiency turn-off angle is always selected, this control scheme
offers the most efficient power generation possible. Like the inverse model method,
the scheme is dependent on operation at a constant reference voltage (which is the
case for the majority of generator applications). The control scheme also has the
disadvantage of requiring characterisation of the SRM.
237
Time (Seconds)
Figure 7.23: Response of the experimental system to a sudden switch in the load
from 0.3 A to 2A after 0.9s and back to 0.3 A after 3s. The SR generator was operating
at 1400rpm and at a 50V reference voltage.
1600rpm
1200rpm
Generator Speed
800rpm
. . . i . . . .
t ^D C Link Current
0.67A-
0A
50V
DC Link Voltage :
40V
0 0.4 0.8 1.2 1.6 2 2.4 2.8 3.2. 3 6 4
Time (Seconds)
Figure 7.24: Response of the experimental system to a sudden step in generator speed
from lOOOrpm to 1400rpm after 1.6s under a load of 0.3A and at a 50V reference
level.
238
Figure 7.25: Response of the experimental system to changes in the load current at a
generator speed of 1400rpm. The load is increased from 1A to 2A at 1.6s and reduced
to 0.3A after 3.5s.
Tim e (Seconds)
Figure 7.26: Response of the experimental system when starting from an initial dc
link voltage of 40V to a reference voltage of 50V under a 0.3 A load and at a speed of
lOOOrpm.
239
C h i Zoom: I. OXVért Ü.5X Hôrz
; D C Link Voltage ;
0 0.4 0.8' \2 1.6 2 2.4 2.8 3.2 3.6 4
Tim e.( Seconds)
Figure 7.27: Response of the experimental. system to a step in the speed from
lOOOrpm to 1400rpm after 0.6s followed by a step in the load current from 1A to 2A
after 2.2s.
The method for selecting the optimal turn-off angle that results in the waveforms
shown in Figures 7.23-7.27 is similar to that described in (Sozer 2003). In (Sozer
2003), an optimal turn-off angle selection based on a mapping of the optimum turn
off angle versus generator speed and dc power is described. Thus, the turn-off angle is
found using a curve fit to the collection of optimal angles for all speed and power
operating points. The control strategy employs a power control loop that operates
inside an outervoltage control loop. A PIcontroller usesthe voltage error signal to
produce a reference power value. Another PI controller is then employed to produce
the turn-on angle from the error between the reference power value and the measured
power. This strategy was the result of the continuation of the work first described in
(Mese 2000). It has the advantage that it can operate accurately at different voltage
references. However, it does require considerably more measurement and
characterisation of the SRM than the optimal efficiency control strategy presented in
this thesis.
240
chapter. The rms phase current is a good gauge of efficiency, as a lower rms phase
current will result in lower conduction and switching losses and consequently a higher
level of efficiency. Figure 7.28 shows the rms phase current as a function of dc link
current at a generator speed of 1500rpm for the three control strategies. Figure 7.29
shows the phase current waveform for the optimal efficiency control strategy at a
generator speed of 1500rpm and an average dc link current of 1A. Figure 7.30 shows
the phase current waveform for the simple control strategy with a turn-off angle of 12
degrees after alignment at a generator speed of 1500rpm and an average dc link
current of 1A while Figure 7.30 shows the phase current waveform for the same
simple control strategy with a turn-off angle of 7.5 after alignment. Figure 7.31 shows
the phase current waveform for the inverse model control strategy at a generator speed
of 1500rpm and an average dc link current of 1A.
Figure 7.28: rms phase current versus average dc link current for the three control
strategies at a generator speed of 1500rpm.
241
Figure 7.29: Phase current for the optimal efficiency control strategy at a generator
speed of 1500rpm and an average dc link current of 1A.
Figure 7.30: Phase current for the simple control strategy with a turn-off angle of 12
degrees after alignment at a generator speed of 1500rpm and an average dc link
current of 1A.
242
Figure 7.31: Phase current for the simple control strategy with a turn-off angle of 7.5
degrees after alignment at a generator speed of 1500rpm and an average dc link
current of 1A.
Figure 7.32: Phase current for the inverse model control strategy at a generator speed
of 1500rpm and an average dc link current of 1A.
243
From the results shown in Figure 7.28, it is clear that the optimal control strategy is
the most efficient over the majority of the range of average dc link currents at a
generator speed of 1500rpm. However, at some dc link current values, the simple
control strategy with a constant turn-off angle of 7.5 degrees after alignment proves to
be marginally more efficient. This is because a turn-off angle of 7.5 degrees after
alignment transpires to be the optimal efficiency turn-off angle for these particular dc
link current operating points at a generator speed of 1500rpm. The least squares fitted
mathematical model of the experimental data employed by the optimal control
strategy produces turn-off angles very close to the actual optimal efficiency angles but
there is obviously a slight error between the actual optimal angle and the one
outputted by the model. It is important to note that, for example, at lower speeds
where 7.5 degrees isn’t close to the optimum efficiency angle, the optimal control
strategy proves to be far more efficient than the simple strategy with a turn-off angle
of 7.5 degrees after alignment. As can clearly be seen from the graph, with a turn-off
angle of 12 degrees after alignment, the optimal control strategy would prove far more
efficient than the simple control strategy for the entire range of operation. The inverse
model control strategy (which has a constant turn-off angle of 7.5 degrees after
alignment) is the least efficient strategy at low dc link currents. However, as the dc
link current increases, its efficiency improves greatly and is only marginally less
efficient than the optimal control strategy and the simple control strategy (with a turn
off angle of 7.5 degrees after alignment) for dc link current values above 0.6A. The
inverse model strategy and simple control strategy with a turn-off angle of 7.5 degrees
would be expected to give similar rms current readings due to the fact that they have
the same turn-off angle of 7.5 degrees after alignment. Figures 7.29-7.32 show that
*
with an average dc link current of 1A and at a generator speed of 1500rpm, the
optimal control strategy current waveform has a similar shape to the current
waveforms of both the simple control strategy with a turn-off angle of 7.5 degrees
after alignment and the inverse model control strategy. This is the expected result, as
from inspection of Figure 7.20, 7.5 degrees is very close to the optimum turn-off
angle. The simple control strategy with a turn-off angle of 12 degrees after alignment
has a higher rms current value and this is reflected in its current waveform.
244
7.6 Peak current comparison
While achieving high efficiency is clearly extremely desirable, another important
aspect of SR generator control is its effect on the peak value of the phase current
waveform. Higher peak current values require the power converter to have a higher
VA rating, which consequently results in an increase in the cost of the converter.
Figure 7.33 shows the peak phase current versus average dc link current for the three
control strategies at a generator speed of 1500rpm. The test was carried out at
1500rpm, the upper level of the generating speed range, because for a given average
dc link current, the peak current tends to increase with speed. As can be seen, the
simple control strategy with a turn-off angle of 12 degrees after alignment has the
highest peak current values over the entire range of operation. The optimal efficiency
strategy, whose turn-off angle varies with average dc link current has relatively high
peak current values at lower and higher average dc link currents but has the lowest
peak values for the mid-range of the average dc link current. The simple control
strategy with a turn-off angle of 7.5 degrees after alignment and the inverse model
strategy have low peak current values purely as a result of the coincidental choice of
7.5 degrees as their constant turn-off angle. With a different turn-off angle, this is not
necessarily the case as evidenced by the result when a turn-off angle of 12 degrees is
used.
Figure 7.33: Peak phase current versus average dc link current for the three control
strategies at a generator speed of 1500rpm.
245
7.7 Summary and conclusions
In this chapter, three separate strategies for closed-loop voltage control of a SR
generator were presented and experimental results are given for a 300W 12/8 3-phase
SRM. The first control scheme involves the selection of a fixed turn-off angle and the
subsequent adjustment of the turn-on angle during operation to regulate the dc link
voltage. The main advantage of this simple scheme is that no prior knowledge or
characterisation of the machine is required apart from some simple geometrical
information regarding the number of phases etc. Its main disadvantage is its relatively
low efficiency levels (over most of its range of operation) as a result of the turn-off
angle being held constant (although high efficiency may be achieved at certain dc link
current operating points for which the turn-off angle is the optimal efficiency turn-off
angle).
The second control scheme is based on the use of an inverse machine model that
relates the firing angles to the average dc link current, the dc link voltage and the
rotational speed. A mathematical relationship between the tum-on angle and average
dc link current for a fixed turn-off angle was obtained experimentally. This
relationship was then used to select the appropriate tum-on angle to produce the
necessary dc link current required to keep the dc link voltage, Vdc, at the reference
value. The required average dc link current value, l o ', used in the tum-on angle
selection algorithm was the output of a manually tuned PI controller. Although
operation was satisfactory, it suffers from the disadvantage of operation at non
optimum efficiency levels as well as the additional disadvantage of requiring some
measurement and curve fitting for determination of the inverse model. The strategy
also requires operation at a constant voltage reference for accurate operation.
The final control scheme involves the experimental determination of the optimum
turn-off angle for various generator speed and dc link current operating points. A least
squares curve fit to the experimental data produces a mathematical model that outputs
the optimum efficiency turn-off angle for a particular speed and dc link current. The
turn-off angle is varied to obtain optimum efficiency and the tum-on angle is used to
ensure closed-loop voltage control of the dc link. The obvious advantage of this
method of SR generator control is the improvement in efficiency. Like the inverse
model method however, the scheme is dependent on operation at a constant reference
246
voltage (which is the case for the majority of generator applications). This scheme is
the best for efficient power generation.
It should be noted that the machine employed in the testing of the three control
strategies is a low power machine (300W). By virtue of this fact, the resistive voltage
drop would be more significant than in medium/high power machines. However, this
does not complicate the implementation of any of the control strategies. The simple
control strategy requires no previous characterisation of the machine and is easily
implemented. The inverse model control strategy and the optimal control strategy
both require a certain number of measurements to be taken to enable design and
implementation of the controller. However, these measurements obviously include the
inherent effect of the voltage drop and therefore, its effects are automatically taken
into account by the controller. Thus, all three control strategies can be used on low,
medium and high power machines.
Finally, the results arising from the work described in this chapter form the basis of a
paper published in COMPEL: The International Journal for Computation and
Mathematics in Electrical and Electronic Engineering in 2005. This paper provides a
good overview of SRG operation and details the development and experimental
implementation of three separate closed-loop voltage control schemes. The abstract of
the published paper is included in Appendix D.
247
Chapter Eight - Summary and conclusions
The SRM is a rugged, low-cost machine that has a simple mechanical construction.
However, in spite of these advantages, the SRM has yet to see widespread acceptance
in industry. The primary reason for this is the complexity of control required to
achieve high performance levels for servo-type applications. The behaviour of an
SRM is such that it has strong nonlinear magnetic characteristics. This results in
torque production that is nonlinearly dependent on both rotor position and phase
current. Hence, sophisticated electronic control of the SRMs is required to produce a
smooth torque output with minimum torque ripple. Consequently, the topic of torque
ripple reduction in SR motors has been the subject of considerable research activity
over the years. Presently, the ever-improving DSP and microprocessor technology is
enabling the implementation of more complex control algorithms than was previously
possible. In this thesis, the development of three neuro-fuzzy torque ripple
minimisation control strategies for SR motoring has been described. In addition, a
number of simpler control strategies suitable for torque ripple-tolerant applications
have been developed and tested.
The SRM is suitable for variable speed generator applications where reliability, fault
tolerance and the ability to operate at high speeds are important. The lack of windings
and magnets on the rotor enables high speed operation. The simple rotor construction
coupled with the absence of brushes results in a robust and reliable machine that
requires little maintenance. In addition, the possibility of generating into a shorted
winding can be avoided by simply removing the excitation. Despite this, the control
of SR generators has received considerably less attention in the literature to date than
that of SR motors. This thesis contributes to the area of SR generator control through
the development and testing of several control strategies.
In Chapter One, the motivation for the work described in this thesis was outlined. In
addition, the reasons behind the resurgence of interest in SR motors and generators in
recent years were fully explained.
In Chapter Two, the fundamental principles of operation of the SRM were introduced
248
and the electromagnetic characteristics of the machine were described. The basic
operation of the SRM in both motoring and generating modes was also described.
In Chapter Three, the two SRM models that were employed throughout the simulation
work described in this thesis were introduced. The first was a simple SRM model that
was derived from the nonlinear magnetic characteristics of an SRM. The second
model employed was a self-tuning nonlinear model with on-line parameter estimation
that can serve as a torque observer. Two control strategies, one for motoring and one
for generating, described in the literature were tested through simulation using
MATLAB/Simulink. For both control strategies, the simple SRM model was used to
represent a ‘real’ SRM.
The second control strategy that was implemented and tested was concerned with SR
generation. It employed an inverse machine model. This followed a similar approach
to that outlined in (Kjaer 1994) whereby a voltage controller outputs the required
average net generated current to bring the dc link voltage to the desired value and the
inverse model is then used to select the correct firing angles to produce the necessary
current. In (Kjaer 1994), the inverse model relating the firing angles for single pulse
mode operation to the average net generated current, the dc link voltage and the
rotational speed is derived on the basis of a linear inductance profile using
geometrical information and knowledge of the unsaturated aligned and unaligned
phase inductances. In the implementation described in Chapter Three, however, the
assumption of a linear inductance profile wasn’t made and the inverse model was
obtained by means of simulation. While the use of a nonlinear model is clearly
advantageous, this particular implementation has the disadvantage of requiring some
measurement and curve fitting for determination of the inverse model.
249
In Chapter Four, three neuro-fuzzy torque ripple minimisation control strategies were
developed and simulation results were presented for both a 6/4 three-phase SRM and
a 12/8 three-phase SRM. For all three strategies, the approach adopted was the
addition of a compensating current signal to the PI controller output current signal in a
current-regulated speed controlled drive. In each case, the compensating current
signal was trained off-line using the ANFIS system. However, the parameters
employed in the training process were different for all three control strategies as was
the manner in which the training was conducted.
Neuro-fuzzy control strategy no. 1 outputted the required compensating current signal
based on knowledge of the torque ripple and the rotor position. While this control
strategy proved effective in reducing the torque ripple, it is limited to use with SRMs
that have mildly nonlinear torque-current-position characteristics. In addition, it
required a high sampling rate for effective operation. A further disadvantage is the
extensive training process that is required. Furthermore, knowledge of the torque
signal for both the compensator training process and for subsequent operation of the
SR drive with the compensator included is required.
For operation of neuro-fuzzy control strategy no. 2, the inputs to the neuro-fuzzy
compensator were the average torque and the rotor position. A considerable reduction
in the torque ripple was observed when this control strategy was employed. In
addition, neuro-fuzzy control strategy no. 2 is suitable for use with highly nonlinear
SRMs and, as such, it is clearly superior to neuro-fuzzy control strategy no. 1.
However, like neuro-fuzzy control strategy no. 1, knowledge of the torque was
required both during the compensator training and during subsequent on-line
operation. A further disadvantage is the iterative and hence, time-consuming, nature
of the training process.
For neuro-fuzzy control strategy no. 3, the neuro-fuzzy compensator inputs were the
PI controller current signal and the rotor position with the resultant compensating
current produced effecting a significant decrease in the torque ripple. Like neuro-
fuzzy control strategy no. 2, this control strategy is suitable for use with highly
nonlinear SRMs. However, this control strategy is clearly superior to both neuro-
fuzzy control strategy no.l and no. 2 in that knowledge of the torque signal isn’t
250
required during on-line operation (although it is required during the compensator
training process). However, as for neuro-fuzzy control strategy no. 2, neuro-fuzzy
control strategy no. 3 requires a lengthy iterative training process.
In Chapter Five, the experimental set-up employed in the development and testing of
the control strategies was described. The 12/8 three-phase SRM employed was
introduced as well as the power converter circuit and DSP development board used in
the control of the SRM. The various measurement electronics employed and the
method for deriving the rotor position were also described. Finally, the overall set-up
comprising the SRM, a dc machine, the electronic circuitry and test equipment was
described.
In Chapter Six, several SR motor control strategies were described and experimental
results were presented. Initially, the simple ‘start-up’ algorithm employed was
described. Four simple SR motor speed control strategies aimed at applications that
can tolerate a certain amount of torque ripple were then described and tested. Three of
the four control strategies were intended for low speed motoring operation while the
fourth was aimed at high speed motoring in single pulse mode. In addition, the self
tuning nonlinear model introduced in Chapter Three was tested experimentally.
Finally, neuro-fuzzy control strategy no. 3 was implemented and tested with the
experimental system.
The first low speed motor control strategy employed fixed firing angles with a PI
controller controlling the speed by outputting a current reference about which the
phase currents were controlled using delta modulation current control. This simple
control scheme required no prior knowledge or characterisation of the machine.
However, it suffers from poor efficiency levels as a result of the employment of
constant firing angles.
The second low speed motor control strategy involved the experimental determination
of the turn-off angle that results in phase current reduction to zero at alignment for
different motor speeds and mechanical loads. A mathematical model of the data was
then created to automatically select the appropriate turn-off angle. This ensures large
positive torque production. However, this strategy suffers from operation at non
251
optimum efficiency levels as well as the requirement of measurement and curve
fitting for determination of the mathematical model.
The final low speed motor speed control strategy enabled operation at the desired
optimal efficiency level by maximising the torque per ampere produced by the SRM.
The dwell angle was kept constant and the turn-on angle was regulated to ensure that
the first peak of the phase current was aligned with the angle where pole overlap
begins. This control strategy is clearly superior to the other two strategies as a result
of the improved efficiency and the fact that no characterisation of the machine was
required.
The high speed motor speed control strategy was simple to implement and required no
prior knowledge or characterisation of the SRM. The turn-off angle was fixed and the
turn-on angle was varied to control the motor speed. While no effort was made to
ensure operation at optimal efficiency levels, future work could involve the
determination of the maximum efficiency conduction angles.
Finally, the self-tuning nonlinear SRM model that was tested through simulation in
Chapter Three was implemented with the experimental system. Its torque estimation
capability was then employed in the experimental implementation and testing of
neuro-fuzzy control strategy no. 3. Neuro-fuzzy control strategy no. 3 was chosen for
implementation as it was the best of the three torque ripple reduction control strategies
examined in Chapter Four. The training of the neuro-fuzzy compensator was
conducted off-line using data obtained during steady-state operation of the SR drive.
Neuro-fuzzy control strategy no. 3 was tested in open-loop motoring mode with a
constant current reference and again under current-regulated speed control
implemented using a PI controller. A significant reduction in the torque ripple was
observed when the neuro-fuzzy compensator was employed.
In Chapter Seven, three strategies for SR generator control were described and their
performance was examined by testing on the experimental SRM. The first control
scheme involved the selection of a fixed turn-off angle and the subsequent adjustment
of the turn-on angle to regulate the dc link voltage. No prior knowledge or
252
characterisation of the SRM was required. However, the fixed turn-off angle resulted
in relatively low efficiency levels.
The SR generator inverse model control strategy previously tested through simulation
in Chapter Three was tested experimentally. Despite producing satisfactory results, it
suffers from the disadvantage of operation at non-optimum efficiency levels as well as
the additional disadvantage of requiring measurement and curve fitting to determine
the inverse model. In addition, the strategy required operation at a constant voltage
reference for accurate operation.
The final control strategy involved the determination of the optimum efficiency turn
off angle for different generator speed and dc link current operating points. A
mathematical model was then produced that outputted the turn-off angle while the
turn-on angle was used to ensure closed-loop voltage control of the dc link. Like the
inverse model approach, this control strategy required extensive measurement and
. curve fitting and it was also dependent on operation at a constant reference voltage.
However, it did demonstrate improved efficiency when compared to the other two
strategies.
Overall, the thesis contributes to the area of SRM control through the development,
implementation and testing of a wide variety of control strategies for SR operation in
both motoring and generating modes. Three neuro-fuzzy control strategies were
developed and tested through simulation with one of the strategies, neuro-fuzzy
control strategy no. 3, also implemented and tested experimentally using the ADSP-
21992. The powerful ADSP-21992 DSP controller enabled the entire control
operation including speed/torque control, commutation control as well as chopping of
the power switches for current control to be implemented in software. This eliminated
the requirement for an external analog/digital hysteresis control circuit, which is
clearly beneficial in the quest for a cost-effective drive. Owing to the lack of a torque
sensor in the experimental system, a torque estimator was employed in the training of
the neuro-fuzzy compensator and for verification of the control strategy’s ability to
reduce the torque ripple. It is recommended that future work include the
implementation of the control strategy on an experimental system with a torque sensor
253
included to further validate the torque ripple reduction capability of the control
strategy.
High speed SR generation was examined through the development and experimental
implementation of three SR generator control strategies under single pulse mode
control. A comparison of the performance of the three control strategies in terms of
efficiency and peak phase current was presented. In Chapter Seven, the rms phase
current was employed as the gauge of efficiency. However, future work could include
the use of full efficiency measurements performed on the SR generator, taking both
copper losses and iron losses into account, to verify the results obtained in Chapter
Seven.
In addition to torque ripple reduction control at low motor speeds and high speed
generator control, a number of motor control strategies were developed for ripple-
tolerant applications. These control strategies cover both low speed and high speed
motoring and they were implemented and tested experimentally. However, no work
was conducted on low speed generator operation and as such it is an area that is
suitable for future work. It would be interesting, for example, to examine the
possibility of developing a low speed generator control strategy that would minimise
the dc link current ripple through shaping of the phase currents. If the desired phase
current waveforms could be determined, then the ANFIS system could be trained to
produce them in a similar manner to the torque ripple reduction control
implementations described in Chapter Four. Similarly, while a number of control
strategies were developed covering various modes of operation, the transition between
the different control strategies wasn’t examined. Future work could involve the
development of a ‘management controller’ that would guarantee that the correct mode
of operation is selected and ensure a smooth transition between the different operating
modes.
254
purpose applications such as an integrated starter/alternator in automotive or
aeronautical environments.
255
Bibliography
(Acamley 1985) Acamley P.P., Hill R.J. and Hooper C.W., Detection of rotor
position in stepping and switched motors by monitoring of current waveforms, IEEE
Transactions on Industrial Electronics, Vol. IE-32, No. 3, pp. 215-222, 1985.
(ADMC501 Specification 1.0 2001) Embedded DSP motor controller based on the
ADSP-219x DSP core, Specification 1.0, Embedded Control Systems Group, Analog
Devices Inc., January, 2001.
(ADSP-2199x chip info 2003) Mixed signal DSP controller with CAN: ADSP-21992,
Analog Devices Inc., 2003.
(Arefeen 1998) Arefeen M.S., Implementation of a current controlled switched
reluctance motor drive using TMS320F240, Texas Instruments Application Report:
SPRA282, Automotive/Industrial Applications, Digital Signal Processing Solutions,
September, 1998.
(Barnes 1998) Barnes M. and Pollock C., Power electronic converters for switched
reluctance drives, IEEE Transactions on Power Electronics, Vol. 13, No. 6, pp. 1100-
1111, 1998.
(Bass 1986) Bass J.T., Ehsani M. and Miller T.J.E., Robust torque control of a
switched-reluctance motor without a shaft-position sensor, IEEE Transactions on
Industrial Electronics, Vol. IE-33, No. 3, pp. 212-216, 1986.
(Besbes 2000) Besbes M., Gabsi M., Hoang E., Lecrivain M., Grioni B. and Plasse C.,
SRM design for starter-altemator system, Proceedings o f ICEM 2000, the Nth
International Conference on Electrical Machines, Espoo, Finland, Vol. 4, pp. 1931-
1935, 28 - 30 August, 2000.
(Bizkevelci 2004) Bizkevelci E., Leblebiciodlu K. and Ertan H.B., A sliding mode
controller to minimize SRM torque ripple and noise, Proceedings of ISIE 2004, IEEE
International Symposium on Industrial Electronics, Ajaccio, Corsica, pp. 1333 -
1338, 4 - 7 May, 2004.
(Bolognani 1996) Bolognani S. and Zigliotto M., Fuzzy logic control of a switched
reluctance motor drive, IEEE Transactions on Industry Applications, Vol. 32, No. 5,
pp. 1063-1068, 1996.
(Bose 1986) Bose B.K., Miller T.J.E., Szczesny P.M. and Bicknell W.H.,
Microcomputer control of a switched reluctance motor, IEEE Transactions on
Industry Applications, Vol. IA-22, No. 4, pp. 708-715, 1986.
(Byrne 1973) John Byrne and James Lacy, Electrodynamic system comprising a
variable reluctance machine, Patent No. GB1321110, The Patent Office, London, 20
June 1973.
256
(Byme 1976) Byrne J.V. and Lacy J.G., Characteristics of saturable stepper and
reluctance motors, Proceedings of the IEE Conference on Small Electrical Machines,
IEE Conference Publication No. 136, London, UK, pp. 93-96, 30-31 March, 1976.
(Byme 1985) Byme J.V., McMullin M.F. and O’ Dwyer J.B., A high performance
variable reluctance drive: a new brushless servo, Proceedings o f MOTOR-CON *85,
SATECH '85, the 7th International Intelligent Motion Conference, Chicago, IL, USA,
pp. 147-160, 21 - 25 October, 1985.
(Cardenas 1995) Cardenas R., Ray W.F. and Asher G.M., Switched reluctance
generators for wind energy applications, PESC '95 Record \ 26th Annual IEEE Power
Electronics Specialists Conference, Atlanta, USA, Vol. 1, pp. 559-564, 18 - 22 June,
1995.
(Cardenas 2004) Cardenas R., Peña R., Pérez M., Asher G.M., Clare J.C. and Wheeler
P.W., Control system for grid generation of a switched reluctance generator driven by
a variable speed wind turbine, Proceedings of IECON '04, the 30th Annual
Conference o f the IEEE Industrial Electronics Society, Busan, Republic of Korea,
CDROM Paper No. FB3-3, 2 - 6 November, 2004.
(Cossar 2004) Cossar C. and Sawata T., Microprocessor controlled DC power supply
for the generator control unit of a future aircraft generator with a wide operating speed
range, Proceedings o f PEMD *04, the 2nd International Conference on Power
Electronics, Machines and Drives, Edinburgh, U K , Vol. 2, pp. 458 - 463, 31 March -
2 April, 2004.
(Davidson 1843) ‘Davidson’s Electromagnetic Engine’: The Penny Mechanic and
Chemist, 23 September 1843, pp. 298-299 and 30 September 1843, p. 305.
(Davis 1981) Davis R.M., Ray W.F. and Blake R.J., Inverter drive for switched
reluctance motor: circuits and component ratings, IEE Proceedings, Part B, Electric
Power Applications, Vol. 128, No. 2, pp. 126-136, March, 1981.
(De Oliveira 1999) De Oliveira L.P.B., Da Silva E.R.C., Lima A.M.N. and Jacobina
C.B., New soft-switched power converter topologies for variable reluctance machine
drives, PESC *99 Record, 30th Annual IEEE Power Electronics Specialists
Conference, Charleston, SC, USA, pp. 826-831, 27 June - 1 July, 1999.
(Deshpande 2000) Deshpande V.V. and Young L.J., New converter configurations for
switched reluctance motors wherein some windings operate on recovered energy,
Conference Record o f IAS 2000, the 2000 IEEE Industry Applications Society 35th
Annual Meeting, Rome, Italy, Vol. 3, pp. 1578-1585, 8 - 12 October, 2000.
(Dessouky 1998) Dessouky Y.G., Williams B.W. and Fletcher J.E., A novel power
converter with voltage-boosting capacitors for a four-phase SRM drive, IEEE
Transactions on Industrial Electronics, Vol. 45, No. 5, pp. 815-823, 1998.
(De Vries 2001) De Vries A., Bonnassieux Y., Gabsi M., d'Oliveira F. and Píasse C.,
Switched reluctance machine for a car starter/alternator system, Proceedings of
257
ÎEMDC 2001, IEEE International Electric Machines and Drives Conference,
Cambridge, MA, USA, pp. 323-328, 18 - 20 June, 2001.
(Ehsani 1987) Ehsani M., Bass J.T., Miller T.J.E. and Steigerwald R.L., Development
of a unipolar converter for variable reluctance motor drives, IEEE Transactions on
Industry Applications, Vol. IA-23, No. 3, pp. 545-553, 1987.
(Ehsani 2002) Ehsani M. and Fahimi B.F., Elimination of position sensors in switched
reluctance motor drives: state of the art and future trends, IEEE Transactions on
Industrial Electronics, Vol. 49, No. 1, pp. 40-47, 2002.
(EZ-KIT manual 2003) ADSP-21992 EZ-KIT Lite evaluation system manual, Analog
Devices Inc., October, 2002.
(Fahimi 2001) Fahimi, B., A switched reluctance machine based starter/generator for
more electric cars, Proceedings of IEMDC 2001, IEEE International Electric
Machines and Drives Conference, Cambridge, MA, USA, pp. 73-78, 18 - 20 June,
2001.
(Ferreira 1995) Ferreira C.A., Jones S.R., Heglund W.S. and Jones W.D., Detailed
design of a 30kW switched reluctance starter/generator system for a gas turbine
engine application, IEEE Transactions on Industry Applications, Vol. 31, No. 3, pp.
553-561, 1995.
(Filicori 1993) Filicori F., Guarino Lo Bianco C. and Tonielli A., Modeling and
control strategies for a variable reluctance direct-drive motor, IEEE Transactions on
Industrial Electronics, Vol. 40, No. 1, pp. 105-115, 1993.
(Fleadh Electronics 2004), Brivit SRM database, http ://wwvv. brivi t. com/, Fleadh
Electronics, Leeds, UK, 2004.
(Fuzzy Logic Toolbox User’s Guide 2000) Fuzzy Logic Toolbox User’s Guide,
Version 2, September, 2000.
(Hancock 1990) Clyde Hancock and James Hendershot Jr, Pacific Scientific
Company, Newport Beach, CA, USA, Electronically commutated reluctance motor,
PCT International Patent No. W.O. 90/11641A1, 4 October, 1990.
(Hedlund 1991) Bengt Hedlund, Aktiebolaget Electrolux, Stockholm, Swede, A
method and a device for sensorless control of a reluctance motor, PCT International
Patent No. WO 91/02401A1, 21 February, 1991.
(Henriques 1999) Henriques L.O.A.P., Rolim L.G.B., Suemitsu W.I., Costa Branco
P.J. and Dente J.A., Neuro-fuzzy compensation of torque ripple in a switched
reluctance drive, Proceedings o f ElectrlMACS '99, the 6th International Conference
on Modelling and Simulation of Electric Machines, Converters and Systems, Lisbon,
Portugal, Vol. 3, pp. 19-23, 14 - 16 September, 1999.
(Henriques 2000) Henriques L.O.A.P., Rolim L.G.B., Suemitsu W.I. and Costa
Branco P.J., Torque ripple minimisation in a switched reluctance drive by neuro-fuzzy
258
compensation, IEEE Transactions on Magnetics, Vol. 36, No. 5, pp. 3592-3594,
2000 ,
(Henriques 2001) Henriques L.O.A.P., Costa Branco P.J., Rolim L.G.B. and Suemitsu
W.I., Automatic learning of pulse current shape for torque ripple minimisation in
switched reluctance machines, Proceedings o f ECC r01, European Control
Conference, Porto, Portugal, pp. 232-237, 4 -7 September, 2001.
(Henriques 2001a) Henriques L.O.A.P., Costa Branco P.J., Rolim L.G.B. and
Suemitsu W.I., Proposition of an offline learning current modulation for torque-ripple
reduction in switched reluctance motors: design and experimental evaluation, IEEE
Transactions on Industrial Electronics, Vol. 49, No. 3, pp. 665-676, 2002.
(Honeywell CSN series datasheet) Closed loop current sensors, CSN series, Sensing
and Control, Honeywell Inc.
(Husain 1996) Husain I., Indirect rotor-position estimation techniques for switched
reluctance motors - a review, Electromotion, Vol. 3, No. 2, pp. 94-102, 1996.
(Husain 2002) Husain I., Minimization of torque ripple in SRM drives, IEEE
Transactions on Industrial Electronics, Vol. 49, No. 1, pp. 28-39, 2002.
(Hynes 1997) Wesley Hynes J., MATLAB supplement to fuzzy and neural
approaches in engineering, Book, New York: Wiley, ISBN: 0471192473, 1997.
(Inane 1997) Inane N., Derdiyok A. and Ozbular V., Torque ripple minimisation of a
switched reluctance motor including mutual inductances via sliding mode control
technique, Proceedings of ISIE *97, IEEE International Symposium on Industrial
Electronics, Guimarâes, Portugal, Vol. 3, pp. 1024-1028, 7 - 11 July, 1997.
(Jang 1993) Jang J.S.R., ANFIS - Adaptive-Network-based Fuzzy Inference System,
IEEE Transactions on Systems, Man and Cybernetics, Vol. 23, No. 3, pp. 665-685,
1993.
(Kjaer 1994) Kjær P.C., Cossar C., Gribble J.J., Li Y. and Miller T.J.E., Switched
reluctance generator control using inverse machine model, Proceedings o f ICEM '94,
International Conference on Electrical Machines, Paris, France, Vol. 2, pp. 380-385,
5 -8 September, 1994.
(Kjaer 1997) Kjær P.C., Gribble J.J. and Miller T.J.E., High-grade control of switched
reluctance machines, IEEE Transactions on Industry Applications, Vol. 33, No. 6, pp.
1585-1593, 1997.
(Kokemak 1999) Kokemak J.M., Torrey D.A. and Kaplan M., A switched reluctance
starter/alternator for hybrid electric vehicles, Proceedings o f INTELLIGENT
MOTION '99, Powersystems World '99, 40th International Intelligent Motion
Conference, Chicago, IL, USA, pp. 74-80, 7- 11 November, 1999.
259
(Krishnan 1990) Krishnan R. and Materu P.N., Design of a single-switch-per-phase
converter for switched reluctance motor drives, IEEE Transactions on Industrial
Electronics, Vol. 37, No. 6, pp. 469-476, 1990.
(Krishnan 1993) Krishnan R. and Materu P.N., Analysis and design of a low-cost
converter for switched reluctance motor drives, IEEE Transactions on Industry
Applications, Vol. 29, No. 2, pp. 320-327, 1993.
(Krishnan, 2001) Krishnan R., Switched reluctance motor drives: modeling,
simulation, analysis, design and applications, Book, Industrial Electronics series, CRC
Press LLC, ISBN: 0-8493-0838-0, 2001.
(Lawrenson 1980) Lawrenson P.J., Stephenson J.M., Blenkinsop P.T., Corda J. and
Fulton N.N., Variable-speed switched reluctance motors, IEE Proceedings, Part B,
Electric Power Applications, Vol. 127, No. 4, pp. 253-265, July, 1980.
(Lee 2004) Lee J.W., Kim H.S., Kwon B.I. and Kim B.T., New rotor shape design for
minimum torque ripple of SRM using FEM, IEEE Transations on Magnetics, Vol. 40,
No. 2, pp. 754 - 757, 2004.
(Le-Huy 1990) Le-Huy H., Viarouge P. and Francoeur B., A novel unipolar converter
for switched reluctance motor, IEEE Transactions on Power Electronics, Vol. 5, No.
4, pp. 469-475, 1990.
(Lyons 1991) Lyons Jr J.P., MacMinn S.R. and Preston M.A., Flux/current methods
for SRM rotor position estimation, Conference Record o f IAS *91, the 1991 IEEE
Industry Applications Society 26th Annual Meeting , Dearborn, Michigan, USA, Vol.
1, pp. 482-487, 30 September - 4 October, 1991.
(MacMinn 1989) MacMinn S.R and Sember J.W., Control of a switched reluctance
aircraft starter-generator over a very wide speed range, Proceedings of IECEC '89,
IEEE 24th Intersociety Energy Conversion Engineering Conference, Washington DC,
USA, Vol. 1, pp. 631-638, 6 - 11 August, 1989.
(Mamdani 1975) Mamdani E.H. and Assilian S., An experiment in linguistic synthesis
with a fuzzy logic controller, International Journal o f Man-Machine Studies, Vol. 7,
No. l,pp. 1-13, 1975.
(Mese 2000) Mese E., Sozer Y., Kokemak J.M. and Torrey D.A., Optimal excitation
of high speed switched reluctance generators, Proceedings o f APEC 2000, IEEE 15th
Annual Applied Power Electronics Conference and Exposition, New Orleans, LA,
USA, Vol. 1, pp. 362-368, 6 - 10 February, 2000.
(Miller 1985) Miller T.J.E., Converter volt-ampere requirements of the switched
reluctance drive, IEEE Transactions on Industry Applications, Vol. LA-21, No. 5, pp.
1136-1144, 1985.
(Miller 1988) Miller T.J.E., Bower P.G., Becerra R.C. and Ehsani M., Four-quadrant
brushless reluctance motor drive, Proceedings o f PEVD '88, the 3rd International
260
Conference on Power Electronics and Variable Speed Drives, IEE Conference
Publication No. 291, London, UK, pp. 273-276, 13 - 15 July, 1988.
(Miller 1990) Miller T.J.E. and McGilp M.I., Nonlinear theory of the switched
reluctance motor for rapid computer-aided design, IEE Proceedings, Part B, Electric
Power Applications, Vol. 137, No. 6, pp. 337-347, November, 1990.
(Miller 1999) Miller T.J.E. and McGilp M.I., PC-SRD User’s manual, Version 7.0,
SPEED Laboratory, University of Glasgow, 1999.
(Miller 2001) Miller T.J.E., Electronic control of switched reluctance machines, Book,
Newnes Power Engineering series, Reed Educational and Professional Publishing Ltd,
ISBN: 0750650737, June, 2001.
(Miller 2002) Miller T.J.E., Optimal design of switched reluctance motors, IEEE
Transactions on Industrial Electronics, Vol. 49, No. 1, pp. 15-27, 2002.
(Mir 1997) Mir S., Husain I. and Elbuluk M.E., Energy-efficient C-dump converters
for switched reluctance motors, IEEE Transactions on Power Electronics, Vol. 12,
No. 5, pp. 912-921, 1997.
(Mir 1998) Mir S., Husain I., and Elbuluk M.E., Switched reluctance motor modeling
with on-line parameter identification, IEEE Transactions on Power Electronics, Vol.
34, No. 4, pp. 776-783,1998.
(Mir 1999) Mir S., Elbuluk M.E. and Husain I., Torque-ripple minimisation in
switched reluctance motors using adaptive fuzzy control, IEEE Transactions on
Industry Applications, Vol. 35, No. 2, pp. 461-468, 1999.
(Moreira 1992) Moreira J.C., Torque-ripple minimisation in switched reluctance
motors via b-cubic spline interpolation, PESC '92 Record. 23rd Annual IEEE Power
Electronics Specialists Conference, Toledo, Spain, Vol. 2, pp. 851-856, 29 June - 3
July, 1992.
(Murphy 2002) Murphy A.J., WP5n - Hardware description, PEI Technologies,
Dublin City University, Ireland, 2002.
(Nagel 1999) Nagel N.J. and Lorenz R.D., Complex rotating vector methods for
smooth torque control of a saturated switched reluctance motor, Conference Record of
IAS '99, the 1999 IEEE Industry Applications Society 34th Annual Meeting, Pheonix,
AZ, USA, Vol. 4, pp. 2591-2598, 3 - 7 October, 1999.
(Nasar 1969) Nasar S.A., DC switched-reluctance motor, Proceedings o f the IEE,
Vol. 116, No. 6, pp. 1048-1049, June, 1969.
(Nedic 2000) Nedic V. and Lipo T.A., Experimental verification of induced voltage
self-excitation of a switched reluctance generator, Conference Record o f IAS 2000, the
2000 IEEE Industry Applications Society 35th Annual Meeting, Rome, Italy, Vol. 1,
pp. 51-56, 8- 12 October, 2000.
261
(O’ Donovan 1994) O' Donovan J.G., Roche P.J., Kavanagh R.C., Egan M.G. and
Murphy J.M.D., Neural network based torque ripple minimisation in a switched
reluctance motor, Proceedings o f IECON '94, 20th IEEE International Conference on
Industrial Electronics, Control and Instrumentation, Bologna, Italy, Vol. 2, pp. 1226-
1231, 5 -9 September, 1994.
(Optical encoders 2005) Optical encoder types and how they function,
http://www.encoders.us/. 2005.
(Pollock 1990) Pollock C. and Williams B.W., A unipolar converter for a switched
reluctance motor, IEEE Transactions on Industry Applications, Vol. 26, No. 2, pp.
222-228, 1990.
(Radun 1994) Radun A.V., Generating with the switched reluctance motor,
Proceedings o f APEC '94, IEEE 9th Applied Power Electronics Conference and
Exposition, Vol. 1, pp. 41-47, 13-17 February, 1994.
(Radun 1997) Radun A.V., Ferreira C.A. and Richter E., Two-channel switched
reluctance starter/generator results, Proceedings o f APEC '97, IEEE 12th Annual
Applied Power Electronics Conference and Exposition, Atlanta, GA, USA, Vol. 1, pp.
546-552, 23 - 27 February, 1997.
(Radun 1998) Radun A.V., Ferreira C.A. and Richter E., Two-channel switched
reluctance starter/generator results, IEEE Transactions on Industry Applications, Vol.
34, No. 5, pp. 1026-1034,1998.
(Ray 1979) Ray W.F. and Davis R.M., Inverter drive for doubly salient reluctance
motor: its fundamental behaviour, linear analysis and cost implications, IEE Journal
on Electrical Power Applications, Vol. 2, No. 6, pp. 185-193, December, 1979.
(Reay 1993) Reay D.S., Green T.C.E. and Williams B.W., Applications of associative
memory neural networks to the control of a switched reluctance motor, Proceedings
of IECON '93, 19th IEEE International Conference on Industrial Electronics, Control
and Instrumentation, Maui, HI, USA, Vol. 1, pp. 200-206, 15 - 18 November, 1993.
(Rochford 1993) Rochard C., Kavanagh R.C., Egan M.G. and Murphy J.M.D.,
Development of smooth torque in switched reluctance motors using self-learning
techniques, Proceedings of EPE '93, 5th European Conference on Power Electronics
and Applications, IEE Conference Publication No. 377, Brighton, UK, Vol. 6, pp. 14-
19, 13 - 16 September, 1993.
(Roux 2000) Roux C. and Morcos M.M., A simple model for switched reluctance
motors, IEE Power Engineering Review, pp. 49-52, October, 2000.
(Roux 2002) Roux C. and Morcos M.M., On the use of a simplified model for
switched reluctance motors, IEEE Transactions on Energy Conversion, Vol. 17, No.
3, pp. 400-405, 2002.
(Russa 1998) Russa K., Husain I. and Elbuluk M.E., Torque-ripple minimisation in
switched reluctance machines over a wide speed range, IEEE Transactions on
Industry Applications, Vol. 34, No. 5, pp. 1105-1112, 1998.
262
(Russa 2000) Russa K., Husain I. and Elbuluk M.E., A self-tuning controller for
switched reluctance motors, IEEE Transactions on Power Electronics, Vol. 15, No. 3,
pp. 545-552, 2000.
(Schramm 1992) Schramm D.S., Williams B.W. and Green T.C.T., Torque-ripple
reduction of switched reluctance motors by phase current optimal profiling, PESC '92
Record' 23rd Annual IEEE Power Electronics Specialists Conference, Toledo, Spain,
Vol. 2, pp. 857-860, 29 June - 3 July, 1992.
(Sozer 2003) Sozer Y. and Torrey D.A., Closed loop control of excitation parameters
for high speed switched-reluctance generators, Proceedings o f APEC 2003, IEEE 18th
Annual IEEE Applied Power Electronics Conference and Exposition, Miami, FL,
USA, Vol. 1, pp. 75-82, 9 - 13 February, 2003.
(Sozer 2003a) Sozer Y., Torrey D.A. and Mese E., Automatic control of excitation
parameters for switched-reluctance motor drives, IEEE Transactions on Power
Electronics, Vol. 18, No. 2, pp. 594-603, 2003.
(Stephenson 1989) Stephenson M. and El-Khazendar M.A., Saturation in doubly
salient reluctance motors, IEE Proceedings, Part B, Electric Power Applications, Vol.
136, No. 1, pp. 50-58, January, 1989.
(Sturgeon 1825) Sturgeon W., Improved electro magnetic apparatus, Trans. Soc. Arts,
Manufactures & Commerce, Vol. XLIII, pp. 37-52, plates 3 & 4, 1825.
(Sugeno 1985) Sugeno M., Industrial applications of fuzzy control, Book, New York:
Elsevier Science Publications Co., 1985.
(Taylor 1840) ‘Taylor’s Electro-Magnetic Engine’: Mechanic’s Magazine, No. 874,
Saturday 9 May, 1840.
(Tormey 1991) Tormey D.P. and Torrey D.A., A comprehensive design procedure for
low torque-ripple variable-reluctance motor drives, Conference Record o f IAS VI, the
1991 IEEE Industry Applications Society 26th Annual Meeting, Dearborn, Michigan,
USA, Vol. 1, pp. 244-251, 30 September - 4 October, 1991.
(Torrey 1993) Torrey D.A., Variable-reluctance generators in wind energy systems,
PESC V3 Record, 24th Annual IEEE Power Electronics Specialists Conference,
Seattle, WA, USA, pp. 561-567, 20 - 24 June, 1993.
(Torrey 2002) Torrey D.A., Switched reluctance generators and their control, IEEE
Transactions on Industrial Electronics, Vol. 49, No. 1, pp. 3-14, 2002.
(Unnewher 1974) Unnewehr L.E. and Koch W.H., An axial air-gap reluctance motor
for variable speed applications, IEEE Transactions on Power Apparatus Systems, Vol.
PAS-93, No. 2, pp. 367-376, 1974.
(Using MATLAB 1999) Using MATLAB, Version 5, January, 1999.
(Using Simulink 1999) Using Simulink, Version 3, January, 1999.
263
(Vas 1999) Vas P., Artificial-intelligence-based electrical machines and drives, Book,
Oxford Science Publications, Oxford University Press, ISBN: 019859397, 1999.
(Vukosavic 1990) Vukosavic S.N. and Stefanovic V.R., SRM inverter topologies: a
comparative evaluation, Conference Record o f IAS '90, the 1990 IEEE Industry
Applications Society 25th Annual Meeting, Seattle, Washington, USA, Part II, pp.
946-958, 7 - 12 October, 1990.
(Zadeh 1965) Zadeh L.A., Fuzzy sets, Information and Control, Vol. 8, pp. 338-353,
1965.
264
Appendix A - Experimental system
Al: Schematics
P iï
-t?
tes 5s
r -t?
1 \ 1
tiW ti'
ir*
*?u
%
4 S?u
. rlf-—[5
![
265
266
Figure A.3: Schematic of the power supply circuit (sheet 1 of 2) (Murphy 2002).
267
Figure A.4: Schematic of the power supply circuit (sheet 2 of 2) (Murphy 2002).
268
A2: Photos of the experimental system
269
Figure A.7: Motor rig - dc motor and SRM coupled via their rotors.
270
Figure A.9: Experimental system.
272
Figure A.13: Interface electronics board.
273
274
Appendix B - ADSP-21992 EZ-KIT Lite evaluation board
For fast and efficient system development, Analog Devices developed an evaluation
board called the ADSP-21992 EZ-KIT Lite. This board was employed in the
experimental set-up for development and testing of the SRM control strategies. The
EZ-KIT Lite development board provides access to all the capabilities of the ADSP-
21992 processor. The board’s features include (EZ-KIT manual 2003):
The EZ-KIT Lite ’development board was designed for use in conjunction with the
VisuaIDSP-H- development environment. VisualDSP++, which runs on a Personal
Computer (PC), enables advanced code development and debugging tasks to be
performed. Access to the ADSP-21992 processor on the EZ-KIT Lite board from the
PC is achieved through a USB port or an optional JTAG emulator. A block diagram
of the ADSP-21992 EZ-KIT Lite development board is shown in Figure B.l (EZ-KIT
manual 2003).
It is clear that the ADSP-21992 is ideal for SRM control applications because of the
number of integrated special purpose and motor control peripherals. In the work
275
described in this thesis, a number of these special purpose units were employed in the
control of the SRM including the Analog-to-Digital Converter (ADC), the Encoder
Interface Unit (EIU), the Flag I/O peripheral unit and the general-purpose timers. A
brief description of each of these units is included below along with an explanation of
how the programmable clock generation circuit works.
n hk sj r~ t Pl2»»nj
□ c
pi
>< ^S <>2£ oI
P F 0 -P F 1 3
i
oex*5 =0cm Öo<i 03 Vi □
Jl'23
Q'ffy JP22
P6
CRJ
JTAG
52i
□
□I
□□
P ll
J i *j
mini IL-i
—hsiVi —
ajJW i
12*
a rn 'to a jw
ANALOG JUMPER KEY:
n f
mipi7
mJP18
“
CQjPi«
mim
U5
U«
am JPI2 rwml¥7
U6 13)im
tTT
□ DEVICES
ADSP-21WX
EZ I.ITF. BOARD
□3 :OPfc»
r » : JUMPER
IS
[D JP 19 123 (N2*3
M P2 fOSfVKiN
03
JWI U PWM OUTPUTS
P9 F.XTRRNAI. MRMORY INTERFACE ] p io
Figure B .l: Block diagram of the ADSP-21992 EZ-KIT Lite development board.
All eight analog inputs applied to the analog input connector on the EZ-KIT Lite
board (Connector P4 in Figure B.l) must be in the range from -IV to +1V. The
analog interface circuitry then converts the ±1V signals on the input connector to
signals centred on the ADSP-21992 reference voltage level (either the internally
derived IV level or the externally provided 1.024V level). Effectively, the analog
interface circuits offset the analog connector inputs by the reference voltage level.
276
A functional block diagram of the ADC unit of the ADSP-21992 is shown in Figure
B.2 (ADMC501 Specification 1.0 2001). As can be seen, the eight input signals are
divided into two banks of four signals. VINO-VITO makes up one bank while the
other is comprised of the signals on VIN4-VIN7. The internal multiplexors are used to
connect the various analog inputs to the ADC.
CAPT
CAP&
VREF
R’EFCDMQ
CML0
SENSE.»
CQMUX
NTFtOl.
I
sm A ai»c 4
T
COMKOJ, LU X K
ADC CO N TRO L
CONVST
STC R E G ISTCRS
a i r ;t im in g
CONTROL
T stiah i srin.iwxs
Figure B.2: Functional block diagram of the ADC unit of the ADSP-21992.
There are a number of different conversion modes that can be selected using bits 4-6
in the ADCCTRL register. However, during the course of this project only one mode
of operation was employed: simultaneous sampling mode (selected by clearing bits 4-
6). In this mode, two analog inputs (one from each four-signal bank) are sampled
simultaneously. VINO and VIN4 are sampled first followed by the pairs VIN1/VIN5,
VIN2/VIN6 and VIN3/VIN7 with two cycles of the ADC clock between the sampling
of one pair of analog signals and the next. After each pair of inputs are converted, the
277
12 -bit digital numbers are written to a dedicated 16-bit, 2 ’s complement, left-aligned
register i.e. the ADC register ADCO stores the converted result for the signal on VINO
etc. In addition, a dedicated bit is set in the ADCSTAT register. After the ADC has
finished with all of the channels, an interrupt may be generated. Alternatively, the
ADCSTAT can be polled to detect successful conversion of a given pair of inputs.
There are a number of ways in which the conversion process can be started,
determined by bits 0-2 in the ADCCTRL register. For the work described in this
thesis, the conversion process was started by setting bit 1 of the SOFTCONVST
register (a mode selected by setting bits 0-2 of the ADCCTRL register).
278
. .........
Encoder Loop i '¡mer Encoder Event 'Finier Block
Clock Divider
;,EETDIVyjg& .¿fd
Encoder Eveni
Timer
Time Oui
-EF.TT.
lîigïSSËRl =3 hike ‘-v. vtvt ■■ VV'.VAjM'Jii
|EEI1PEÜ‘TA>IÏ
Dccimator
EltTERIQP-
n
c
^ 1»
r
§ </5
wwwwmw
ww
««NNiiaiNMiiHa
«
as
III • UbbbbtAkb***•• llaiiaMRMNMkt
------------- 5
6
2
pud„ciuj
32-bit Quadrature
pad_eiub
O « UP/DOWN Counter
I
PR OG RAM M ABLE
NOISE
m m m m
Opad eius.►
pad_triuz FILTERING
The EIU includes a quadrature up/down counter whose value can be determined by
reading the 32-bit EIUCNT register. This counter can be reset by a zero marker signal
on the EIZ pin or alternatively, according to the contents o f a m aximum count register
EIUM AXCNT. The desired mode of operation can be selected using the dedicated
control bits in the EIU control register EIUCTRL. In order to initilise the EIU, in all
As can be seen in Figure B.3, the EIU also incorporates a 16-bit Encoder Loop Timer
that can be program m ed to time-out and reload at regular intervals. W hen the loop
tim er times out, an EIU loop tim er tim eout interrupt is generated which can be used to
control the tim ing o f particular control loops.
A nother im portant module within the EIU is the Encoder Event Timer (E E T ), which
enables the accurate tim ing o f successive events on the encoder inputs. The EET can
be program m ed to time the interval between two or more encoder pulses up to a
279
maximum of 255 encoder pulses. The number of pulses is set by writing to the 8-bit
EETN register and is useful for rotational speed estimation.
Each timer has one bi-directional chip pin, TMRO - TMR2. Each timer pin is
configured as an output pin in PWM_OUT mode and as an input pin in the
WDTHCAP and EXT CLK modes.
Each timer has seven 16-bit memory-mapped registers with six of these registers
paired to achieve 32-bit precision. Thus each timer has a 16-bit configuration register,
a 32-bit count register, a 32-bit period register and a 32-bit pulse-width register. The
timer configuration register, CFGRx (x=0,l,2), enables selection of the operating
mode of the individual timer (i.e. PWM OUT etc.).
In addition, there is a single Global Timer Status and Control Register, GSR, which
provides status and control functions for all three timers. The GSR is mapped to three
separate addresses and at the different addresses the GSR register is referred to as
GSRO, GSR1 and GSR2. The GSR register indicates the occurrence of an interrupt or
timer overflow and permits the timer to be enabled or disabled.
280
B4: Overview of the Flag I/O peripheral unit
The Flag I/O (FIO) unit is a parallel I/O interface that supports 16 bi-directional
general purpose I/O signals (PF0-PF15). Each flag bit can be individually configured
as an input or output depending on the contents of the direction (DIR) register. They
can also be used as a source for an interrupt.
When a flag is configured as an input, the FIO can be programmed to invert the input
value, latch a level or detect a signal edge (rising, falling or both) depending on the
contents of the POLAR, EDGE and BOTH registers. When a flag is configured as an
output, the output value is driven from the FLAG register. The 16-bit FLAG register
exhibits ‘sticky’ behaviour; only writing a ‘1’ to a bit can modify that bit. Writing a
4r to a bit of the FLAG register at the even address 0x0002 (FLAGC) clears the
FLAG bit while writing a ‘1’ to a bit of the FLAG register at the odd address 0x0003
(FLAGS) sets the FLAG bit. Writing a 'O’ to any bit in either FLAGC or FLAGS has
no effect. On. the EZ-KIT Lite board shown in Figure B.l, access to the 16 FIO
programmable flag pins on the ADSP-21992 chip is via connector P 8.
However, the huge number of assembly instructions required to perform all the
desired tasks associated with the various peripheral units would result in impenetrable
code and consequent development and debugging difficulties. For this reason, it was
decided to write C-callable assembly functions for many of the common tasks
281
performed by the peripherals. The manner in which this was done is illustrated with a
detailed example that is included in Appendix Cl.
Several functions similar to that outlined in Appendix Cl were written for each of the
peripherals employed in the SRM control. For each peripheral unit, the associated
functions were combined into a library file.
The ADSP-21992 on the EZ-KIT Lite board is supplied with a 32MHz input clock.
To ensure a high control bandwidth for the implementation of the complex SRM
control strategies, it was desirable to increase the DSP core clock frequency to its
maximum of 160MHz. The code written to increase CCLK to 160MHZ and HCLK to
its maximum of 80MHz is included in Appendix C2.
282
Appendix C - DSP C and assembly code
Cl: Writing C-callable assembly language functions
As explained in Appendix Bl, after each pair of ADC inputs are converted, each
resulting 12 -bit digital number is written to a dedicated 16-bit, 2 ’s complement, left-
aligned register. In the case of the signal on the VINO pin, the converted result is
written to the register ADCO. An assembly language function was written to read the
value in the ADCO register and the code is shown in Figure C.l.
.section/code program;
.Global _read_data_0; //Function declared as global.
_read_data_0:
IOPG=OxOD; //Access the correct page in memory.
AXl=IO(0x004); //Value in ADCO stored in AX1.
RTS; //Return command.
.read data O.end:
Figure C.l: C-callable assembly language function that reads the contents of ADCO.
An assembly source file must describe how code and data are mapped into the
memory on the ADSP-21992. Such mapping is accomplished using the .section
directive. Each .section name corresponds to an input section in the linker
description file. In this case, the .section directive is used to put the function in a
code section called ‘program’. The function must be declared as ‘global’ or else the
function could only be used within its own file. The name of the function is
‘_read_data_0’. In a C program this assembly function can be called using
‘read_data_0 () ’ i.e. the leading underscore is removed when calling the function
in the C program.
The DSP memory is divided into several pages and it is important to switch to the
correct page before reading or writing to an address. This is accomplished using the
‘IOPG’ command. The command ‘AX1 = 1 0 ( 0 x 0 0 4 ) ; ’ writes the 16-bit value
contained in the register at the address 0x004 to a register called AX1. To return a 16-
bit value the AX1 register must be used. Hence, when the return command ‘r t s ; ’ is
283
used, the program jumps back to the part of the program where the function example
was called and the value in the AX1 register is returned.
#include <signal.h>
#include<sysreg.h>
main ()
{
//Bypass mode enable and PLL shutoff.
asm("iopg = 0x00;");
asm("axl = 0x0120;") ;
asm("io(0x200) = axl;");
asm{"nop;");
Figure C.2: C code written to generate a DSP core clock frequency of 160MHz and a
peripheral clock frequency of 80MHz from a 32MHz input clock.
284
C3: C functions employed in current and voltage measurement
void meas_cur_a() //Function used to sample
//phase current A.
{
cur_a=read_data_0(); //Read ADCO register.
cur_a=cur_a»4; //Shift the 12-bit number.
temp=(float)cur_a;
Ia=10*temp/0x7FF; //Convert the sampled voltage
} //to the actual current value.
//5 turns on the sensor => 50/5=10
Figure C.3: C code function that converts the ADC sampled voltage from the phase
current measurement circuit and returns the phase A current value.
Figure C.4: C code that converts the ADC sampled voltage from the dc link current
measurement circuit and returns the corresponding measured current value.
Figure C.5: C code that converts the ADC sampled voltage output from the dc link
voltage measurement circuit and returns the actual measured dc link voltage value.
285
C4: Flux-linkage estimation
dt=(float)read_timer_l_CNTR{)*(0.00000001667); //Convert to time.
set_timer_l_GSSR(0x0800); //Disable timerl.
set_timer_l_GSSR(0x0400); //Enable timerl.
fluxa += (Va - Rph*Ia)*dt; //Va includes losses in
//diodes and switches.
if (fluxa < 0) fluxa=0;
Figure C.6: C code that estimates phase A flux-linkage using the measured phase
current and the estimated phase voltage.
if(out<0) return(out+45);
return (out);
)
Figure C.7: Function employed to return a position value between 0 and 45 degrees
using feedback from the incremental encoder.
Since the incremental encoder was attached to the dc machine (which was only
subsequently coupled to the SRM via the two rotors), the zero marker wasn’t aligned
with the aligned position of phase A. This position had been designated as the 0
degree point. Hence, it was necessary to determine an appropriate offset to add to the
output of the incremental encoder such that it produced the same positional value
(between 0 and 45 degrees) as the SRM slotted disk rotary encoder.
Figure C.8 shows the position returned by the SRM slotted disk encoder (the correct
position) and the position initially returned by the incremental encoder (which isn’t
aligned correctly). From the graph it is possible to determine that if 29.5 degrees is
subtracted from the incremental encoder result (or alternatively 15.5 degrees is added
to it) then the incremental cncodcr will producc the corrcct position. Figure C.9 shows
the result of putting in this position offset. As can be seen, the position now returned
286
by both encoders matches very well. In fact, Figure C.10 shows that there is only a
minute différence between the two positions relumed (in the region of 0.05 degrees).
This offset of 29.5 degrees was included in the ‘eposition () ' function code of
Figure C.7.
0 100 200
Sample point (Number)
Figure C.8: The position returned by the SRM slotted disk encoder (correct position)
and the position returned using the incremental encoder before the offset is added.
287
^ 5 0
0 100 200
Sample point (Number)
Figure C.9: The position returned using both the slotted disk encoder and the
incremental encoder when the offset of 29.5 degrees is added. The two lines overlap
and it is hard to distinguish between the values returned by both encoders.
Figure C.I0: The position returned using both the slotted disk encoder and the
incremental encoder when the offset of 29.5 degrees is added. This is the same as
Figure C.9 cxccpt the graph has been zoomed in on.
288
A ppendix D - Publications
Abstract
Purpose o f this paper This paper deals w ith the closcd-loop control o f a
switched rcluctancc generator (SRG).
Design/methodology'/approach The control objective when generating is to maintain
the dc link voltage at the required value while
achieving maximum efficiency. Three possible control
schemes are presented and their performance is
examined by testing on an experimental 12/8 3-phase
SRG.
Findings A very simple control schem e that requires no prior
characterisation o f the SRG. an approach based on the
use o f an inverse m achine model and finally, a control
scheme that is aimed at achieving optimal efficiency
are described and experim ental results for all three are
presented.
Research limitations/implications (if The inverse machine model control schcmc and the
applicable) optimal efficiency control schem e require operation at a
constant voltage reference for accurate operation
(although this is the case for many generator
applications). Possible future research might include
the expansion o f these control schemes to operation
with a variable voltage reference.
Practical implications The importance o f maximising efficiency is
(if applicable) emphasised with a clear method o f deriving the optimal
efficiency firing angles described.
What is original/value o f paper This paper provides a good overview o f SRG operation
through the experim ental implementation o f three
separate closcd-loop voltage control schemes, each of
which is desenbed in detail.
289
Refereed Conference Proceedings:
Kennedy E., Condon M. and Dowling J., Torque-ripple minimisation in switched
reluctance motors using a neuro-fuzzy control strategy, EPE 2003, Proceedings of the
European Conference on Power Electronics and Applications, Toulouse. France, 2 -
4 September, 2003.
Abstract
This paper presents a neuro-fuzzy control strategy for torque-ripple minimisation in
SRMs. The proposed technique adds a compensating signal to the output of a PI
controller in a current-regulated speed control loop. The compensating signal is
produced by a neuro-fuzzy compensator that is trained off-line prior to normal
operation. The neuro-fuzzy compensator is based on the ANF1S system. A torque
observer is employed in both the neuro-fuzzy compensator training process and
during subsequent operation of the SR drive with the trained compensator included.
Simulation results for both a 6/4 three-phase SRM and a 6/4 three-phase SRM
confirm a very significant reduction in the torque-ripple.
Kennedy E., Condon M. and Dowling J., A neuro-fuzzy control strategy for torque-
ripple reduction in switched reluctance motors, ISSC 2003, Proceedings of the Irish
Signals and Systems Conference, Limerick, Ireland, 30 June - 2 July, 2003.
Abstract
A novel neuro-fuzzy control strategy for torque-ripple minimisation in switched
reluctance motors is presented. A compensating signal is added to the output of a PI
controller in a current-regulated speed control loop. The neuro-fuzzy compensator is
trained off-line. Simulation results for a 12/8 three-phase SRM confirm a very
significant reduction in the torque ripple.
290
Kennedy E., Condon M. and Dowling J., Torque-ripple minimisation in switched
reluctance motors using a neuro-fuzzy control strategy, MS2003, Proceedings of the
IASTED International Conference on Modelling and Simulation, Palm Springs, USA,
24 - 26 February, 2003.
Abstract
A novel neuro-fuzzy control strategy for torque-ripple minimisation in switched
reluctance motors is presented. A compensating signal is added to the output of a PI
controller in a current-regulated speed control loop. The neuro-fuzzy compensator is
trained off-line. Simulation results for a 6/4 three-phase SRM confirm a very
significant reduction in the torque ripple.
Kennedy E., Condon M. and Dowling J., Control of switched reluctance starter-
generators, MIC2002, Proceedings of the IASTED International Conference on
Modelling. Identification and Control. Innsbruck, Austria, 18-21 February, 2002.
Abstract
The paper proposes a strategy for controlling an integrated starter-generator system.
The starter-generator system is based on the Switched Reluctance Machine (SRM)
and is intended for automotive applications. The main focus of the paper is the
development of a controller for the SRM when it is acting as a generator. The
adaptive control strategy proposed by Russa et al. [1] is chosen for the starting phase
when the SRM is acting as a motor. Once the engine reaches idle speed, the SRM
becomes a generator and a control strategy based on that proposed by Kjacr ct al. in
[2] is suggested. Kjaer et al. [2] derive a mathematical relationship between the firing
angles and the average generated current for a linear model of an SRM where
saturation and fringing effects are neglected. The present paper examines the
relationship between the turn-on angle and the average net generated current for a
more general SRM model that includes non-linearities and saturation effects. The
resultant relationship is subsequently used to develop a closcd-loop controller for the
Switched Reluctance Generator (SRG).
291