You are on page 1of 207

POLITECHNIKA

WARSZAWSKA
WARSAW UNIVERSITY OF TECHNOLOGY
Faculty of Electrical Engineering







ROZPRAWA DOKTORSKA
Ph.D. Thesis



Dariusz L. Sobczuk, M. Sc.

Application of ANN for Control of PWM
Inverter Fed Induction Motor Drives








WARSZAWA
1999



Warsaw University of Technology

Faculty of Electrical Engineering
Institute of Control and Industrial Electronics




Ph.D. Thesis


M.Sc. Dariusz L. Sobczuk




Application of ANN for Control of PWM
Inverter Fed Induction Motor Drives








Thesis supervisor
Prof. dr hab. Marian P. Kamierkowski



Warsaw Poland, 1999
Contents



1. Introduction 4
2. Mathematical description of induction motor 7
2.1. Introduction 7
2.2. Basics of induction motor model 7
2.2.1. Space vectors 7
2.2.2. Vector Equilibrium equations 9
2.2.3. Vector Equilibrium equations in per unit system 11
2.2.4. Orientation of the model 11
3. Basics of Artificial Neural Networks (ANN) 14
3.1. Introduction 14
3.2. Artificial neuron model 15
3.2.1. Activation function 16
3.3. ANN topologies 18
3.3.1. The layer of neurons 18
3.3.2. Linear filter 19
3.3.3. Multilayer Neural Networks (MNN) 20
3.4. Learning and training of ANN 21
3.4.1. Introduction 21
3.4.2. Learning algorithms for feedforward neural networks 22
3.5. Structures of Neuromorphic controllers 32
3.5.1. Introduction 32
3.5.2. Inverse control 34
3.5.3. Adaptive neurocontrol 38
4. ANN based current controllers (CC) 40
4.1. Introduction 40
4.2. Basics of CC in three-phase PWM converters 41
4.2.1. General requirements and performance criteria 41
4.2.2. Nonlinear current controllers 43
4.2.3. Linear current controllers 49
4.3. Off line trained neural comparator 54
4.3.1. Introduction 54
4.3.2. NN controller in three-phase ABC coordinates 54
4.3.3. NN controller in - coordinates 63
4.3.4. Results 64
4.3.5. Current controller based on single layer perceptron model 79
4.4. Optimal mode ANN CC 85
4.4.1. Optimal mode CC 85
4.4.2. Three layers NN controller trained by optimal PWM pattern 89


Contents




5. Speed estimation of induction motor 97
5.1. Introduction 97
5.2. Basic techniques of speed estimation 97
5.2.1. Open loop estimators 99
5.2.2. Closed loop estimators observers 102
5.2.3. Model Reference Adaptive Systems 107
5.2.4. Estimator based on Artificial Intelligence 109
5.3. ANN based speed estimators 113
5.3.1. Speed estimation with on-line ANN 113
6. ANN sensorless field oriented control of IM 120
6.1. Principle of field oriented control (FOC) 120
6.2. Block scheme description 125
6.2.1. General description 125
6.2.2. Description of block scheme implemented in practice 127
6.3. Design of current controller 130
6.3.1. Introduction 130
6.3.2. Decoupled current regulators 130
6.3.3. Controllers design for field oriented IM 131
6.3.4. Internal model control 133
6.4. Design of speed controller 136
6.4.1. Introduction 136
6.4.2. Design methods 137
6.5. Rotor and stator resistance adaptation 139
6.5.1. Introduction 139
6.5.2. Stator resistance adaptation 140
6.5.3. Rotor resistance adaptation 142
7. Simulation and experimental results 145
7.1. Introduction 145
7.2. The choice of the learning rate 145
7.3. Steady state behaviour 147
7.4. Dynamic behaviour 158
8. Conclusions 168
References 155
Appendices 170
A1. Description of the simulation program 170
A2. Laboratory setup 194
A3. Motor parameters 202
A4. Notation 203

1. Introduction
4

1. INTRODUCTION

The induction motor thanks to its well known advantages as simply construction,
reliability, raggedness and low cost has found very wide industrial applications.
Furthermore, in contrast to the commutator dc motor, it can also be used in aggressive
or volatile environments since there is no problems with spark and corrosion. These
advantages, however, are occupied by control problems when using induction motor
in speed regulated industrial drives. This is due primarily three reasons:
(a) - the induction motor is high order nonlinear dynamic system with internal
coupling,
(b) - some state variables, rotor currents and fluxes, are directly not measurable,
(c) - rotor resistance (due to heating) and magnetising inductance (due to saturation)
varies considerably with a significant impact on the system dynamics.
Therefore in the early 70s besides the simple scalar u/f=const control method, the
more complicated vector approaches have been developed. The field oriented control
(FOC) has been proposed almost in the same time by Hasse and Blaschke. In this
method the motor equations are transformed in the field coordinates system (which
rotates with the rotor flux vector). This transformation corresponds to the decoupled
torque production in separately excited DC motor. The disadvantage of this method is
its complicity. It is necessary to design the flux, torque, and two current controllers,
and of course make signals transformation to the field-oriented coordinate system.
Current Control (CC) technique of the Voltage Source (VS) Pulse Width Modulated
(PWM) inverters is the key problem in the FOC systems. There are many possibilities
to design CC, but only few are based on artificial neural network (ANN) approach.
Among the main advantages of the ANN controllers are fast signal processing,
learning and generalisation abilities, robustness and insensitivity to the load parameter
changes.
Currently, thanks to digital processor based control implementation induction motor
drives have reached the status of modern technology in a wide range applications
from low-cost to high performance systems. Recently, a very intensive research is
concentrated on the elimination of the mechanical speed sensor without distortion the
1. Introduction
5

dynamic performance of the speed control loop. The advantages of such sensorless
speed control drive can be summarized as follows:
- lower cost,
- reduced size of the drive motor,
- elimination of the sensor cable,
- higher reliability.
In recent years a lot of methods have been developed which allows to eliminate speed
sensors, because in many industrial applications it is neither possible nor desirable to
use a mechanical sensors. These methods can be generally divided in two groups:
closed loop sensorless speed control where the motor speed is estimated from other
measurable quantities as stator voltage and currents and open loop speed control with
slip compensation where the motor synchronous speed is controlled and the effect of
load torque changes on motor shaft speed is only compensated. For speed estimation
very often advanced observer technique or neural networks are applied. Slip
compensation methods, in contrast, are usually much simpler but cannot guarantee
good dynamic performances.
Among published papers only one is based on Neural Networks (NN) approach.
Therefore, the author has formulated the following tasks of the thesis:
Basing on the Artificial Neural Network approach, development of the current
controllers in field oriented controlled PWM voltage source inverter fed
induction motor,
Basing on the Artificial Neural Network theory, estimate the mechanical speed of
the induction motor, with the measuring of the stator currents and voltages.
In the both groups of problems the new original solutions have been proposed (the
author is the co-author of the patent no. P310512). To carry out this tasks at first the
simulation investigation have been performed, and after that the experimental set-up
has been design and the laboratory experiments have been done. Note that the
sensorless FOC of induction motor, described in this thesis, could be used in the high
performance motor drives of the electrical vehicles (for example hybrid cars) and in
the factories, in which the measurement of the mechanical speed is expensive or even
impossible.

1. Introduction
6

In the authors opinion the following results of the thesis are his original achievements:
Development in C language of simulation packet DSIM for the investigation
of PWM voltage source inverter fed induction motors control,
Development of the two types of the Artificial Neural Network Current
Controllers. The simulation study and experimental verification of these
approaches,
Development of the new Artificial Neural Network based induction motor
speed estimator. The simulation study and experimental verification of this
approach
Implementation of the closed loop field oriented control (FOC) with the
neural network based speed estimator (instead of the tachogenerator,
encoder or resolver) on experimental set up with floating point DSP
TMS320C31.
The thesis consists of eight chapters. Chapter 1 is an introduction. Chapter two is
devoted to the mathematical model of the induction motor. Chapter 3 is the simple
introduction to the Artificial Neural Network theory, which is used, in the further part
of this thesis. Chapter 4 describes the Current Controllers design methods. In the same
chapter two ANN based current controller design approaches are presented and the
simulation and experimental results are shown. In Chapter 5 the speed estimation
methods are described and discussed. The new ANN based speed estimator is shown
and compared with other methods. In Chapter 6 in turn the Field Oriented Control
(FOC) and its implementation is described and discussed in details. Finally in
Chapter 7 the simulation and experimental results in closed loop FOC with the neural
network based speed estimator are presented and studied. Chapter 8 includes
conclusions. Description of the simulation program and the laboratory set-up is given
in Appendix.



2. Mathematical description of induction motor
7

2. MATHEMATICAL DESCRIPTION OF INDUCTION MOTOR

2.1. Introduction

In this chapter the continuous model of induction motor will be presented and, in the
further part of this thesis, used as the controlled plant. This mathematical description
is based on the complex space vector in per unit (p.u.) notation [12]. The
mathematical model in the coordinates, which rotate with angular speed (
K
), is
presented. Finally some special cases, i.e. - and x-y coordinates are considered.


2.2. Basics of induction motor model
2.2.1. Space vectors

The induction motor model will be presented in space vector notation. Therefore, in
this subsection we introduce the short description of this approach.
A three-phase symmetric system can be replaced by one resultant space vector
represented as the complex number.
Let us:
T
C B A
, k , k k ] [ = k (2.1)

and the elements of this vector satisfy the condition:

0 = + +
C B A
k k k (2.2)

then a space vector is defined as

| |
C B A
k a k a k k
2
1
3
2
+ + = (2.3)

where a and a
2
are calculated using following formula:
2. Mathematical description of induction motor
8


2
3
2
1
2
3
2
1
3 / 4 2
3 / 2
j e a
j e a
j
j
= =
+ = =

(2.4)

It is obviously that space vector k is divided into real and imaginary parts:


jk k k + = (2.5)

Using eq. 1.2, eq.1.3 we can obtain

3
C B
A
k k
k
k k

=
=

(2.6)

and


k k k
k k k
k k
C
B
A
2
3
2
1
2
3
2
1
=
+ =
=
(2.7)

These equations describe transformations from ABC to and from to ABC
respectively.





2. Mathematical description of induction motor
9

2.2.2. Vector equilibrium equations

The following simplifying assumptions are made when deriving the set of equation
describing induction motor [12]:

Using above assumptions one can obtain the following equation of the motor [12]:


where:

m
denotes the rotor angular speed,

K
denotes the angular speed of reference frame K,

1. the motor under consideration is a symmetrical three-phase one;
2. only the basic harmonic is considered, while the higher harmonics of
the spatial field distribution and of the magnetomotive force (MMF)
in the air gap are disregarded;
3. the distributed stator and rotor windings are replaced by a specially
formed so-called concentrated coil;
4. the effects of anisotropy, magnetic saturation, iron losses and eddy
currents are neglected;
5. the coil resistances and reactances are taken to be constant.

(

+ =
+ =
+

+ =
+

+ =
L rK sK M
s
b
m
sK M rK r rK
rK M sK s sK
rK m b K
rK
rK r rK
sK K
sK
sK s sK
M I I L
m
p
J dt
d
I L I L
I L I L
p j
dt
d
I R U
j
dt
d
I R U
) Im(
2
1
) (
*
(2.8)
2. Mathematical description of induction motor
10


sK
denotes the the stator flux space vector in K frame,
I
sK
denotes the stator current space vector in K frame,
U
sK
denotes the stator voltage space vector in K frame,

r
denotes the rotor flux space vector in K frame referred to the stator circuit,
I

rK
denotes the rotor current space vector in K frame referred to the stator circuit,
U

rK
denotes the rotor voltage space vector in K frame referred to the stator circuit,
M
L
denotes the external torque on the motor shaft.

Motor parameters:
R
s
is stator winding self-resistance,
R

r
is rotor resistance referred to the stator circuit,
L
s
is stator winding self-inductance,
L

r
is rotor winding self-inductance referred to the stator circuit,
L
M
is main, magnetizing inductance,
p
b
is number of pole pairs,
m
s
is number of phase windings,
J is the moment of inertia.

2.2.3. Vector equilibrium equations in per unit system

Per unit (p.u.) systems are defined in terms of base units which most frequently
correspond to rated motor parameters (U
b
, I
b
,
mb
).
It is a standard procedure to use capital letters to denote the absolute physical
quantities and to represent the relevant quantities expressed in relative units by small
letters.
Thus, for instance, if
b
U
U
u = (2.9)
then U is an absolute physical value (in volts), U
b
the base quantity (in volts), and u
the dimensionless relative value. Using per unit system equations eq. 2.8 can be
rewritten in the following form
2. Mathematical description of induction motor
11


Note, that:
time t, T
M
and T
N
are expressed in absolute units,
l = x, the inductances in the flux-current equation are replaced by the reactances
corresponding to them,
the rotor quantities recalculated to the stator side are referred to the same base
units - for that reason the prime index is omitted.

2.2.4. Orientation of the model

When resolving vector equations, one can adopt an arbitrary coordinate reference
frame. The main applied coordinate systems are chosen as follows:
stator-fixed system of coordinates (-) (
K
= 0),
rotor-fixed system of coordinates (d-q) (
K
=
m
),
synchronous-rotating system of coordinates (x-y);
In the last case the coordinate system is oriented along one of the space vectors in the
motor. This vector could be:
the space vector for the stator currents
the space vector for the stator voltages
the space vector for the rotor currents
the space vector for the rotor flux linkages
Some of these possibilities will be presented.
| |
L sK
sK
M
m
sK M rK r
rK
rK M sK s
sK
rK
m K
rK
N rK r rK
sK
K
sK
N sK s sK
m i
T dt
d
i x i x
i x i x
j
dt
d
T i r u
j
dt
d
T i r u
=
+ =
+ =
+ + =
+ + =
) Im(
1
) (
*

(2.10)
2. Mathematical description of induction motor
12

2.2.4.1. Stator oriented model -

In this case
K
= 0 and the set of induction motor vector equation may be written as:


We can rewrite the above equations in the - coordinates as:



In the case of a cage rotor machine, we have additionally u
r
= 0 i.e. u
r
= u
r
= 0.
State variables could be chosen as follows:
| |
L s
s
M
m
s M r r
r
r M s s
s
r
m
r
N r r r
s
N s s s
m i
T dt
d
i x i x
i x i x
j
dt
d
T i r u
dt
d
T i r u
=
+ =
+ =
+ =
+ =
) Im(
1
*

(2.11)
| |
L s s s s
M
m
s M r r r
s M r r r
r M s s s
r M s s s
r m
r
N r r r
r m
r
N r r r
s
N s s s
s
N s s s
m i i
T dt
d
i x i x
i x i x
i x i x
i x i x
dt
d
T i r u
dt
d
T i r u
dt
d
T i r u
dt
d
T i r u
=
+ =
+ =
+ =
+ =
+ =
+ + =
+ =
+ =
) (
1




(2.12)
2. Mathematical description of induction motor
13


T
m s s r r
i i ] , , , , [

= x (2.13)

then the above equations may be rewritten in the following manner:


where

r s
M
x x
x
2
1 = (2.15)


L s r s r
r
M m
M
s
s
s
r s
r M s r
r
r s
r M
r m
r s
M
s
N
s
s
s
r s
r M s r
r m
r s
M
r
r s
r M s
N
s M
r
r
r
r
r
r m
r
N
s M
r
r
r m r
r
r r
N
m i i
x
x
dt
d
T
u
x
i
x x
r x r x
x x
r x
x x
x
dt
di
T
u
x
i
x x
r x r x
x x
x
x x
r x
dt
di
T
i x
x
r
x
r
dt
d
T
i x
x
r
x
r
dt
d
T
=
+
+

+ + =
+
+

+ =
+ =
+ =
) (
1

1

2
2 2
2
2
2 2
2



(2.14)
3. Basics of Artificial Neural Network (ANN)
14

3. BASICS OF ARTIFICIAL NEURAL NETWORK (ANN)

3.1. Introduction

Recently parallel distributed processing such as Artificial Neural Networks (ANN)
have received wide attentions in processing a complex data in very short time. ANN
models are composed of many linear or nonlinear computational elements (neurons or
nodes) operating in parallel. Parallelism, robustness, and learning ability are among
the main features, which determined wide applications for ANN to control of
industrial processes.
This Chapter is intended to provide a general introduction to neural networks.
Concepts of Artificial Neural Networks (ANN) are introduced, and their attributes are
described. Many types of ANN exist and the configuration that are most applicable to
the context of control problems are overviewed. The special interest from this point of
view has Multilayer Neural Network (MNN) with backpropagation learning
algorithm. Finally some structures of neuromorfic control will be presented.
Artificial Neural Networks have several important characteristics, which are of
interest to control engineers:


Modeling. Because of their ability to be trained using data records for the
particular system of interest.
Nonlinear systems. The nonlinear networks have the ability to learn
nonlinear relationship.
Multivariable systems. Artificial Neural Networks, by their nature, have
many inputs and many outputs and so can be easy applied to multivariable
systems.
Parallel structure. This feature implies very fast parallel processing, fault
tolerance and robustness.
3. Basics of Artificial Neural Network (ANN)
15

The above features are the main reason for the interest, which is currently being
concentrated in this field.

3.2. Artificial neuron model

The elementary computational elements, which create neural network, have many
inputs and only one output. These elements are inspired by biological neurons systems
and, therefore, are call neurons (or by analogy with directed graphs - nodes).

Inputs Weights Output
x
1
x
2

w
1
w
2
w
0
y
Bias
F
x
N
w
N


Fig. 3.1. Neuron model

The individual inputs x
j
weighted by elements w
j
are summed to form the weighted
output signal:

=
=
N
j 0
x
j
w
j
e (3.1)
and

1 x
0
= (3.2)

3. Basics of Artificial Neural Network (ANN)
16

where elements w
j
, are called synapse weights, can be modified during the learning
process.
The output of the neuron unit is defined as follows:

y = F(e) (3.3)

Note, that w
0
- is adjustable bias and F is activation function (also called transfer
function). Thus, the output, y, is obtained by summing the weighted inputs and
passing the results through a nonlinear (or linear) activation function F.
The activation function F map, a weighted sum's e (possibly) infinite domain
to a prespecified range. Although the number of F functions is possibly infinite, six
types are regularly applied in the majority of ANN: linear, step, bipolar, sigmoid,
hyperbolic tangent. With the exception of the linear F function, all of these functions
introduce a nonlinearity in the network by bounding the output within a fixed range.
In the next subsection some examples of commonly used activation functions are
briefly presented.

3.2.1. Activation functions

The linear F function (Fig. 3.2) produces a linearly modulated output from the input e
as described by equation

F(e) = e (3.3)

1
-1
-1 1
0
0
1
-1
0
-1 0 1
e
F
(e)
F
(e)
e


Fig. 3.2. Linear activation function
3. Basics of Artificial Neural Network (ANN)
17

where e ranges over the real numbers and is a positive scalar. If = 1, it is
equivalent to removing the F function completely. In this case:

=
=
N
j 0
x
j
w
j
y (3.4)

The step F function (Fig. 3.3a) produces only two, typically, a binary value in
response to the sign of the input, emitting +1 if e is positive and 0 if it is not. This
function can be described as:


=
otherwise 0
0 e if 1
) e ( F (3.5)

One small variation of Eq. 3.5 is the bipolar F function (see Fig. 3.3b)


=
otherwise 1 -
0 e if 1
) e ( F (3.6)

which replaces the 0 output value with a~-1.

1
-1
1
-1
0
0
-1 0 1 -1 0 1
e e
F
(e)
(e)
F
a) b)


Fig. 3.3. Step activation function

The sigmoid F function is a continuous, bounded, monotonic, nondecreasing function
that provides a graded, nonlinear response within a prespecified range. The most
common function is the logistic function:
3. Basics of Artificial Neural Network (ANN)
18

) e exp( 1
1
) e (
+
= F (3.7)

where > 0 (usually =1), which provides an output value from 0 to 1.
The alternative to the logistic sigmoid function is the hyperbolic tangent:

) e tanh( ) e ( = F (3.8)

which ranges from -1 to 1.

3.3. ANN topologies

In the biological brain, a large number of neurons are interconnected to form the
network and perform advanced intelligent activities. Artificial Neural Network is built
by neuron models and in most cases consists of neurons layers interconnected by
weighted connections. The arrangement of the neurons, connections, and patterns into
a neural network is referred to as a topology (or architecture).

3.3.1. The layer of neurons

Neural networks are organized into layers of neurons. Within a layer, neurons are
similar in two respects:
the connection that feed the layer of neurons are from the same source;
the neurons in each layer utilize the same type of connections and activation F
function.

A one-layer network with N inputs and M neurons is shown in Fig. 3.4.




3. Basics of Artificial Neural Network (ANN)
19

Inputs Neuron Layer Outputs
x
1
x
2

F

F
x
N
w
11
w
NM
y
M
y
2
y
1


Fig. 3.4. One layer network

In this topology, each element of the input vector X is connected to each
neuron input through the weight matrix W. The sum of the appropriate weighted
network inputs W*X is the argument of the activation F function. Finally, the neuron
layer outputs form a column vector Y. Note, that it is common for the number of
inputs to be different from the number of neurons, i.e. N M.

3.3.2. Linear filter

For the linear activation F function, with =1, the output of the neuron layer can be
described by the following matrix equation:

Y = W
k
X (3.9)

where

(
(
(

=
NM M M
k
w w w
w w w



2 1
N1 21 11
L
M M M
L
W (3.10)

3. Basics of Artificial Neural Network (ANN)
20

is the weight matrix.
Such a simple network can recognize M different class of patterns. The matrix W
k

define linear transformation of the input signals X
N
into output signals Y
M
.
This linear transformation can have an arbitrary form (for example Fourier transform).
Therefore, such a network can be viewed as a linear filter.

3.3.3. Multilayer Neural Networks (MNN)

A neural network can have several layers. There are two types of connections applied
in MNN:
Intralayer connections are connections between neurons in the same layer.
Interlayer connections are connections between neurons in different layers.
It is possible to build ANN that consist of one, or both, types of connections.
Organization of the MNN is classified largely into two types:
a feedforward network,
a feedback (also called recurrent) network.
When the MNN has connections that feed information in only one direction (e.g.,
input to output) without any feedback pathways in the network, it is a feedforward
MNN. But if the network has any feedback paths, where feedback is defined as any
path through the network that would allow the same neurons to be visited twice, then
it is call a feedback MNN.
An example of multilayer feedforward network is shown in Fig. 3.5.
Each layer has a weight matrix W
k
(l)
, a weighted input E
(l)
, and an output vector Y
(l)
,
where l is the layer number. The layers of a multilayer ANN play different roles.
Layers whose output is the network output are called output layers. All other layers
are called hidden layers. In many publications additional layer so called input layer is
introduced. This layer consists of input vector to the whole MNN (in this layer input
vector is equal to output vector).
Note that the output of each layer is the input of the next one.


3. Basics of Artificial Neural Network (ANN)
21

Layer 1 Layer 2 Layer 3
x
N
x
1
x
2
F F

F
F

F
F
w
11
1
w
NM
1
e
1
M
e
1
2
e
1
1
y
1
1
y
1
M
e
2
1
e
2
2
e
M
2
y
1
2
y
M
2
2
2
y
2
y
1
e
3
1
e
3
2
e
M
3
y
1
3
y
2
3
y
M
3

Fig. 3.5. Multilayer feedforward ANN.

Feedback ANN has all possible connections between neurons. Some of the weight can
be set to zero to create layers within the feedback network if that is desired. The
feedback network are quite powerful because they are sequential rather than
combinational like the feedforward networks. The output of such networks, because
of the existing feedback, can either oscillate or converge.
Finally we can note, that the Multilayer Linear Neural Network is equivalent to
Neural Network with one layer. So, it is senseless to use linear ANN with multiple
layers.

3.4. Learning and training of ANN

3.4.1. Introduction

One of the most important qualities of ANN is their ability to learn. Learning is
defined as a change of connection weight values that result in the capture of
information that can later be recalled. Several algorithms are available for a learning
process. Generally, the learning methods can be classified into two categories:
supervised and unsupervized learning.
3. Basics of Artificial Neural Network (ANN)
22

Supervized learning is a process that incorporates an external teacher and (or) global
information. The supervized learning algorithms include: error correction learning,
reinforcement learning, stochastic learning, etc.
Unsupervized learning, also referred to as self-organization, is a process that incorpo-
rates no external teacher and relies upon only local information during the entire
learning process. Examples of unsupervized learning include: Hebbian learning,
principal component learning, differential Hebbian learning, min-max learning and
competitive learning.
Most learning techniques utilize off-line learning. When the entire pattern set
is used to condition the connections prior to the use of the network, it is called off-line
learning. For example, the backpropagation training algorithm is used to adjust
connections in multilayer feedforward ANN, but it requires thousands of cycles
through all the pattern pairs until the desired performance of the network is achieved.
Once the network is performing adequately, the weight are stored and the resulting
network is used in recall mode thereafter. Off-line learning systems have the inherent
requirement that all the patterns have to be resident for training.
Not all networks perform off-line learning . Some networks can add new information
"on the fly" nondestructively. If a new pattern needs to be incorporated into the
network's connections, it can be done immediately without any loss of prior stored
information. The advantage of off-line learning networks is that they usually provide
superior solutions in difficult problems such as nonlinear classification, but on-line
learning allows ANN to learn during the system operation.
In this Section only the supervized learning algorithms based on error
correction for feedforward ANN will be described. This is because in control systems
mostly the feedforward ANN are applied.

3.4.2. Learning algorithms for feedforward neural networks

In the 1986 Rumelheart et. al. proposed a learning algorithm with the teacher of the
feedforward ANN to solve this problem by multilayering using a back-propagation
algorithm [149]. The back-propagation is a generalization of the Least Mean Squares
(LMS) algorithm. In this algorithm, an error function is defined and equal to the mean
3. Basics of Artificial Neural Network (ANN)
23

square difference between the desired output and the actual output of the feedforward
ANN. In order to minimize this error function, the backpropagation algorithm uses a
gradient search technique.

3.4.2.1. The Widrow-Hoff (standard delta) learning rule

Learning rule for one linear neuron

Let us consider the simplest case of ANN. It means, that the Neural Network consists
of one linear neuron with N inputs. We will study supervized learning process of this
network. So, it is convenient to introduce so-called teaching sequence. We can define
this sequence as follows:

}} , { , }, , { }, , {{
) ( ) ( ) 2 ( ) 2 ( ) 1 ( ) 1 ( P P
z z z T X X X K = (3.11)

where each element }, , {
) ( ) ( j j
z X consists of input vector X in the j-th step of learning
process, and appropriate desired output signal z.
In order to show the learning algorithm, we define the error function as:

=
=
P
j
j j
y z Q
1
2 ) ( ) (
) (
2
1
(3.12)

We can rewrite this equation in the following form:

=
=
P
j
j
Q Q
1
) (
(3.13)

where:

3. Basics of Artificial Neural Network (ANN)
24

2 ) ( ) ( ) (
) (
2
1
j j j
y z Q = (3.14)

Since Q is a function of W, the minimum of Q can be found by using the gradient
descent method:

i
i
w
Q
w

= (3.15)

where - is proportionality constant called learning rate.
For the j-th step of the learning process we can obtain:

i
j
i
j
i
j
i
w
Q
w w w

= =
+
) (
) ( ) 1 (
(3.16)

and using the chain rule:

i
j
j
j
i
j
w
y
y
Q
w
Q

) (
) (
) ( ) (
(3.17)

The first part shows the error changes in the j-th step of the learning process with the
output of the neuron and the second parts how much changing w
i
changes that output.
From Eq. 3.14 is:

) ( ) ( ) (
) (
) (
) (
j j j
j
j
y z
y
Q
= =

(3.18)

Since the linear network output is defined as:

) (
1
) ( ) ( j
k
N
k
j
k
j
x w y =

=
(3.19)
3. Basics of Artificial Neural Network (ANN)
25

than

) (
) (
j
i
j
x
w
y
=

(3.20)

Substituting Eq. 3.18 and Eq. 3.20 back into Eq. 3.17 one obtains

) ( ) (
) (
j j
i
j
x
w
Q
=

(3.21)

Thus, the rule for changing weights Eq. 3.16 is given by:

) ( ) ( ) ( j
i
j j
i
x w = (3.22)

or in vector form:

) ( ) ( ) ( j j j
X W = (3.23)

Finally, the algorithm for new values of the weight vector W can be written as:

) ( ) ( ) ( ) 1 ( j j j j
X W W + =
+
(3.24)

Learning rule for linear ANN

In the case of the linear ANN with M outputs and N inputs, we can introduce the
learning algorithm by results generalization of the previous paragraph. In this
paragraph the teaching sequence is define as follows:

}} , { , }, , { }, , {{
) ( ) ( ) 2 ( ) 2 ( ) 1 ( ) 1 ( P P
T Z X Z X Z X K = (3.25)

3. Basics of Artificial Neural Network (ANN)
26

where each element } , {
) ( ) ( j j
Z X consists of input vector X in the j-th step of learning
process, and appropriate desired output vector Z.

One can obtain on the analogy of Eq. 6.24 the following learning algorithm:

T j j (j) j
k
j
k
) ( ) (
) ( ) ( ) ( ) 1 (
X Y Z W W + =
+
(3.26)

One can define error vector:

) ( ) ( j (j) j
Y Z D = (3.27)

this vector consists of the following elements:

T j
M
j j j
] , , , [
) ( ) (
2
) (
1
) (
K = D (3.28)

where

) ( ) ( ) ( j
i
j
i
j
i
y z = (3.29)

is the difference between desired and actual i-th output in the j-th step of learning
process.
Finally substituting Eq. 3.27 to Eq. 3.26, the algorithm for new values of the weight
vector W can be rewritten as:

T j (j) j
k
j
k
) (
) ( ) ( ) 1 (
X D W W + =
+
(3.30)

where:
Y
(j)
- network output vector M 1 in the j-th step of learning process,
Z
(j)
- target vector M 1 in the j-th step of learning process,
X
(j)
- input vector N 1 in the j-th step of learning process,
3. Basics of Artificial Neural Network (ANN)
27

D
(j)
- error vector M 1 in the j-th step of learning process,

) ( ) 1 (
,
j
k
j
k
W W
+
- weights matrix M N in the j+1-th and j-th step of learning
process,
N - number of neurons,
M - number of inputs,
P - number of learning steps,
- learning rate.

The algorithm given by Eq. 3.30 is called the Widrow-Hoff learning rule [149]. Also,
because the amount of learning is proportional to the difference D
(j)
- or delta -
between the target and actual network output, the algorithm is often called the
standard delta rule [149].
The delta rule is the basis for most applied learning algorithms. As shown the standard
delta rule essentially implements gradient descent in a sum-squared error for linear
functions. In this case, without hidden layers, the error surface is shaped like a bowl
with only one minimum, so that the gradient descent is guaranteed to find the best set
of weights with hidden layers, however, it is not so obvious how to compute the
derivatives, and the error surface is not concave upward, so there is the danger of
getting stuck in local minima. Note, that the same algorithm (Eq. 3.32) one can use to
adapt weights in single layer perceptron with nonlinearity described by Eq. 6.6 or
Eq. 6.5.

Acceleration of the learning process

The algorithm described by Eq. 3.30 is a generalization of the Least Mean Squares
(LMS) algorithm using gradient search technique. In this case the learning process is
convergent, but this convergence is very slowly. However, we can have an effect on
the some features of the learning algorithm to improve learning convergence:
Selection of the initial value of the weight matrix
) 1 (
k
W . In the most cases, one can
assume that the initial values of this matrix should be selected at random and
3. Basics of Artificial Neural Network (ANN)
28

rather small. Very important condition is to avoid the same values of any pairs of
elements, i.e.
Selection of the learning rate coefficient . It is possible to change this value
during the time of the learning process. But in the many applications, it is enough
to assume a typical constant value of = 0.6.
Modification of the standard delta rule algorithm. One can improve the learning
process by adding the additional term to Eq. 3.30 proportional to momentum.
Momentum is defined by:

) 1 ( ) ( ) (
=
j
k
j
k
j
W W M (3.31)

Thus, the algorithm for new values of the weight vector can be written as:

) ( ) ( ) ( ) 1 (
) (
j T j (j) j
k
j
k
M X D W W + + =
+
(3.32)

The good results of the learning process are obtained with = 0.9 and = 0.6.

3.4.2.2. The generalized delta learning rule - backpropagation

Generalized delta rule has been developed for learning the layered feedforward ANN
with hidden layers [149]. In the first paragraph, we will derive a learning formula for
one nonlinear neuron using the consideration described in the previous section. In the
second paragraph, the actual generalized delta learning rule will be derived.

Learning rule for one nonlinear neuron

In the case of one nonlinear neuron the output in the j-th step can be expressed as:

) (
) ( ) ( j j
e F y = (3.33)

3. Basics of Artificial Neural Network (ANN)
29

where

=
=
N
i
j
i
x
j
i
w
(j)
e
0
) ( ) (
(3.34)

and F(.) is activation function.
We can use sigmoidal activation F function, which is continuous, nondecreasing and
differentiable function.
The derivative in Eq. 3.16 is product of two parts:

i
j
j
j
i
j
w
e
e
Q
w
Q

) (
) (
) ( ) (
(3.35)

From Eq. 3.34 we see that the second factor is:

i
N
k
k k
i i
j
x x w
w w
e
=

=1
) (
(3.36)

The first part of Eq. 3.35 can be written as:

) (
) (
) (
) (
) (
) (
) (
j
j
j
j
j
j
j
e
y
y
Q
e
Q

= (3.37)

By Eq. 3.33 we see that

) (
) (
) (
e F
de
d
e
y
j
j
=

(3.38)

is derivative of the activation function. In case of the sigmoid function this derivative
is very easy to calculate:

3. Basics of Artificial Neural Network (ANN)
30

) 1 ( ) (
) ( ) ( j j
y y e F
de
d
= (3.39)

The first factor in Eq. 3.37 we can calculate as:

) (
) ( ) (
) (
) (
j j
j
j
y z
y
Q
=

(3.40)

and substituting for the two factors in Eq. 3.37 we get:

) ( ) (
) ( ) ( ) (
e F
de
d
y z
j j j
= (3.41)

Finally Eq. 3.41 and Eq. 3.22 give us the description of the algorithm in the form:

) ( ) ( ) ( ) ( ) 1 (
) (
) (
j
i
j j j
i
j
i
x
de
e dF
y z w w + =
+
(3.42)

For the sigmoid activation function, we can rewrite Eq. 3.42 using Eq. 3.39 as:

) ( ) ( ) ( ) ( ) ( ) ( ) 1 (
) 1 )( (
j
i
j j j j j
i
j
i
x y y y z w w + =
+
(3.43)

Learning rule for nonlinear multilayer ANN

In the case of the nonlinear ANN with M outputs and N inputs, we can introduce the
learning algorithm by results generalization of the previous paragraph. For the output
layer this generalization is very simple:

) )( ( ) ( ) ( ) )( ( ) )( 1 (
) (
) (
L j
i
j
m
j
m
L j
im
L j
im
x
de
e dF
y z w w + =
+
(3.44)

3. Basics of Artificial Neural Network (ANN)
31

where L is the output layer number,
) ( ) (
,
j
m
j
m
y z are m-th components in the j-th step of
the desired and actual output, respectively.
For the hidden layer l we use the chain rule to write:

) 1 )( ( ) 1 )( ( ) 1 )( (
) )( (
) (
) 1 )( ( ) 1 )( (
) )( ( ) )( (
) (
) )( (
) )( (
) )( (
) (
) )( (
) (


+ + +
+ +

l j
mk
k
l j
k
l j
mk
k
l j
k
j
l j
i
i
l j
ik
l j
m k
l j
k
j
l j
m
l j
k
k
l j
k
j
l j
m
j
w w
e
Q
y w
y e
Q
y
e
e
Q
y
Q

(3.45)

In this case, substituting for the two parts in Eq. 3.37 yields:

) 1 )( ( ) 1 )( ( ) )( (
) (
+ +

=
l j
mk
k
l j
k
l j
m
w
de
e dF
(3.46)

Using Eq. 3.46, one can obtain the algorithm to adapt weights in the hidden layer l in
the j-th step:

) )( ( ) )( ( ) )( ( ) )( 1 ( l j
im
l j
m
l j
im
l j
im
x w w + =
+
(3.47)

where
) )( ( l j
m
one can calculate from Eq. 3.46.

Equations Eq. 3.44 and Eq. 3.46, Eq. 3.47 give an recursive algorithm for computing
the weights of the MNN. This algorithm is known as generalized delta rule [149].
Note, that in this case we can use the same improvements like in linear ANN (for
instance learning with momentum).



3. Basics of Artificial Neural Network (ANN)
32

3.4.2.3. The back-propagation training algorithm

The application of the generalized delta rule involves four phases:


The above given training algorithm is commonly known as error backpropagation
[143, 149].

3.5. Structures of Neuromorphic Controllers

3.5.1. Introduction

The recent efforts in applying neural networks to control of dynamics processes
resulted in the new field of neurocontrol, which can be considered as a nonconven-
tional branch of adaptive control theory. The attractively of neurocontrol for engineers
can be explained by three following reasons:


(1) - presentation phase: present an input training vector and calculate
each layer's output until the last layer's output is found.
(2) - check phase: calculate the network error vector and the sum squared
error Q
(j)
for the input vector. Stop if the sum of squared error for all P
training vectors (Eq. 3.12, Eq. 3.13, Eq. 3.14) is less than the specified
value or your specified maximum number of epoch has been reached.
Otherwise continue calculations.
(3) - backpropagation phase: calculate delta vectors for the output layer
using the target vector, then backpropagate the delta vector to
proceeding layers Eq. 3.46.
(4) - learning phase: calculate each layer's new weight matrix, then return
to first phase.
3. Basics of Artificial Neural Network (ANN)
33


Although several ANN architectures have been applied to process control, most of the
actual neurocontrol literature concentrates on multi layer neural networks (MNN).
This is because of the following basic reasons:


(1) biological nervous systems are living examples of intelligent adaptive
controllers,
(2) ANN are essentially adaptive systems able to learn how to perform
complex tasks,
(3) neurocontrol techniques are believed to be able to overcome many
difficulties that conventional adaptive techniques suffer when dealing
with nonlinear plants or plants with unknown structure.
MNN's are essentially feedforward structures in which the information
flows forward, from the inputs to the outputs, through hidden layers. This
characteristic is very convenient for control engineers, used to work with
systems represented by blocks with inputs and outputs clearly defined and
separated,
MNN's with a minimum of one hidden layer using arbitrary sigmoidal
activation functions are able to perform any nonlinear mapping between
two finite - dimensional spaces to any desired degree of accuracy,
provided there are enough number of hidden neurons. In other words,
MNN's are versatile mappings of arbitrary precision. In control, usually
many of the blocks involved in the control system can be viewed as
mappings and, therefore, can be emulated by MNN's with inputs and
outputs properly defined.
The basic algorithm for learning in MNN's, the back propagation
algorithm, belongs to the class of gradient methods largely applied in
optimal control, and is, therefore, familiar to control engineers.
3. Basics of Artificial Neural Network (ANN)
34

In this Chapter the main structures of neural controllers (also called neuromorphic
controllers) (NC), i.e., controllers based on an ANN structure, will be described.

3.5.2. Inverse control

The principle of the inverse neurocontroller is shown in Fig. 3.6. The neural network
MNN learn the inverse dynamic of the plant f
-1
(u) by using an appropriate training
signal (Fig. 3.6a). When training is performed the ANN's weight are fixed and the
network is used as a feedforward neural controller before the plant (Fig. 3.6b) to
compensate for the plant nonlinearity f(u).

a)
y
r
MNN
Plant
f(u)
u y
TRAINING SIGNAL
y y
r
b)
NC
f
-1
(u)
Plant
f(u)
u

Fig. 3.6. Principle of inverse control: a) training phase;
b) feedforward neural controller

The controller's training signal in Fig. 3.6a provides information needed for the NC to
learn the inverse dynamics of the plant in such a way that an error function J of the
plant output error e = y
r
- y is minimized. Bellow, three controller's training
configurations are briefly presented.
3. Basics of Artificial Neural Network (ANN)
35

3.5.2.1. Direct inverse control (off-line)

The inverse model is built up as shown in Fig. 3.7. and the plant output y for the
known input u is used for input to the MNN to obtain network output u
c
. The learning
process of MNN is carried out to minimize the overall error e
2
between u and u
c
.
Therefore, this method is also called general learning architecture [143].

a)
b)
u
c
NC
Plant
f(u)
u
y
e
-
+
y
r
u
c
NC
Plant
f(u)
u
y
e
-
+
P
CONTROLLER

Fig. 3.7. Direct inverse control architectures:
a) open loop training; b) closed loop training

The success of this method depends largely on the ability of the ANN to generalize or
learn to respond correctly to inputs that were not specifically used in the training
phase. In this architecture is not possible to train the system to respond correctly in
regions of interest because it is normally not known which plant inputs correspond to
3. Basics of Artificial Neural Network (ANN)
36

the desired outputs. Some improvement can be achieved by using closed loop training
architecture (Fig. 3.7b) [146].

3.5.2.2. Direct adaptive control (on-line)

To overcome the general training problems, the ANN learns during on-line
feedforward control (Fig. 3.8) [143]. In this method, the NC can be trained in regions
of interest only since the reference value is the input signal for the ANN. The ANN is
trained to find out the plant output that derives the system output y to the reference
value y
r
. The weights of the ANN are adjusted so that the error between the actual
system output and the reference value is maximal decreased in every iteration step.

y
r
NC
Plant
f(u)
u
y
e
- +

Fig. 3.8. Direct adaptive control

In this method, the dynamic model of the plant can be regarded as an additional layer.
Consequently, it is necessary to use some prior information such as the sensitive
derivatives or the Jacobian of the system in order to apply the back propagation
algorithm. The problem of direct inverse control is that since the ANN controls the
system directly by itself, the controlled system may be unstable at the first stage on
learning. Therefore, it is necessary to prepare the initial value of the weights for the
ANN in the controller, which may be acquired by prior off-line learning as supervized
control, in order to avoid instability.
3. Basics of Artificial Neural Network (ANN)
37

3.5.2.3. Feedback error training

In this method (Fig. 3.9.), the ANN is used as a feedforward controller NC and trained
by using the output of a feedback controller P as error signal.

y
r
NC
Plant
f(u)
u
y
e
+
P
CONTROLLER
-
+
+

Fig. 3.9. Feedback error learning configuration.

The problem of their feedback error learning as indirect inverse control is that they
used a priori knowledge as input to the ANN to handle dynamics. There are problems
with such knowledge in that the assumption is that plant dynamics are unknown.

3.5.2.4. Indirect adaptive control

Although in many practical cases the sensitive derivatives or the Jacobian of the
system can be easly estimated or replaced +1 or -1, that is the signum of the
derivative, this is not the general case. In the indirect adaptive control scheme shown
in Fig. 3.10., a ANN based plant emulator NE is used to compute the sensivity of the
error function J with respect to the controller's output. Since NE is a MNN, the
desired sensivity can be easly calculated by using back propagation algorithm.
Furthermore, the configuration in Fig. 3.10. useful when the inverse of the plant is ill
defined, i.e., the function f does not admit a true inverse.
3. Basics of Artificial Neural Network (ANN)
38

y
r
NE
Plant
f(u)
u
y
+
-
+
NC
-
e
c
e
e

Fig. 3.10. Indirect adaptive control

The NE should be off-line trained with a data set sufficiently rich to allow plant
identification, and then both the NC and NE are on-line trained. In a sense, the NE
performs system identification and, therefore, for rapidly changing systems, it is
preferred to update the NE more often than the NC.

3.5.3. Adaptive neurocontrol

In this subsection two configurations of adaptive controllers based on ANN's will be
presented. In Fig. 3.11. the structure of a neural self tuning regulator (STR) is shown.

y
r
NI
IDENTIFIER
Plant
f(u)
u
y
+
ADAPTIVE
CONTROLLER
-
e
e

Fig. 3.11. Neuro self tuning regulator (STR)
3. Basics of Artificial Neural Network (ANN)
39

The ANN is used to identify system parameters (NI) and tune the conventional
controller. In Fig. 3.12., in turn, a neural model reference adaptive control (MRAC)
system is presented.

y
r
NE
Plant
f(u)
u
y
+
-
+
NC
-
e
c
e
e
NC

Fig. 3.12. Example of neural MRAC system

In this structure both the controller NC and identifier NI use neural networks. The
overall system error e
c
between model reference y
m
and system outputs y is applied for
NC tuning, while error e
i
adjusts the neural network identifier NI.

4. ANN based Current Controllers (CC)
40

4 ANN BASED CURRENT CONTROLLERS (CC)

4.1 Introduction

Current Control (CC) technique of the Voltage Source (VS) Pulse Width Modulated
(PWM) inverters is the key problem in such high performance applications as: AC motor
drives and motion controllers, AC power supplies and active power filters. A review of
current control methods for VS-PWM inverters is presented by Kazmierkowski and
Dzieniakowski [129]. Recently, for current control the neural network (NN) approach has
been applied [111, 110, 115, 117]. Among the main advantages of the NN controllers are
fast signal processing, learning and generalisation abilities, robustness and insensitivity to
the load parameter changes.
The first NN current controller, based on off line trained (by back propagation
algorithm) three layer NN, has been proposed by Harashima et. al. [115] and it has
performance similar to delta modulators[117].
In this chapter the improvements of Harashima NN controller by application of a new
sampling technique and other learning technique is presented. This work shows as
well how the same properties can be achieved using instead of three layer a single
layer perceptron NN with precalculated weights. As results the time consuming
training procedure is eliminated.
In the second part the multilayer NN controller trained off-line by a model PWM pattern
generated using Optimal Current Controller (OC) is investigated. To overcome noise
problem in signal processing instead of EMF voltage, the flux and synchronous frequency
signals are applied as the NN inputs. It is shown that three layers (5-10-10-3 architecture)
feedforward NN controller has the best performance in this class of controllers.
The basic block scheme of the three phase VSI with PWM current control is shown in
Fig. 4.1.
By comparing the command i
Ac
(i
Bc
, i
Cc
) and measured i
A
(i
B
, i
C
) values of the phase
currents, the Current Controller generates the command states S
A
, S
B
, S
C
. for inverter
switching devices.

4. ANN based Current Controllers (CC)
41

i
A c
i
B
c
i
C c
PWM
Current
Regulator Inverter
Sourced
Voltage
3 ph.
Load

C
S
A
S
B
S
C
U
d
i
A
i
B
i
C

Fig. 4.1. Basic block scheme of the VSI PWM current control

4.2 Basics of Current Control (CC) in Three-Phase PWM Voltage
Source (VS) Converters

4.2.1 General Requirements and Performance Criteria

The accuracy of CC can be evaluated with reference to basic requirements, valid in
general, and to specific requirements, typical of some group of application.
General requirements of a CC are:
- no phase and amplitude errors (ideal tracking) in wide output frequency range,
- fast response to provide high dynamic of the system,
- limited or constant switching frequency to guarantee safe operation of converter
semi-conductor power devices,
- good DC-link voltage utilization.
The specific requirements for the most important applications can be summarized as
follows.
- VS PWM inverters:
AC motor control:
wide range of output frequency, variable AC side voltage (motor EMF), high
dynamic, decoupled x-y field oriented control structure, operation in PWM/square
wave transient region


4. ANN based Current Controllers (CC)
42

AC power supply/UPS:
narrow range of output frequency (UPS), reduced harmonic content (output filter),
fault protection.
- VS PWM line rectifiers and active filters:
constant AC side (line power) frequency 50/60Hz nearly constant amplitude and
waveform of AC side voltage, poorly damped AC side network, variable DC link
voltage (power filter).

The evaluation of CC may be done according to performance criteria which
include static and dynamic performance. Table 4.1 presents the static criteria in two
groups:
- those valid also for open loop voltage PWM (see e.g. [1,8,9,16])
- those specific for CC-PWM converters based on current error definition (denoted ).
The following parameters of the CC system dynamic response can be considered:
dead time,

settling time, rise time,

time of the first maximum and overshoot factor.
The foregoing features result both from the PWM process and from the response of
the control loop. For example, for dead time the major contributions arise from signal
processing (conversion and calculation times), and may be appreciable especially if
the control is of the digital type.

Table 4.1
Performance Criteria

CRITERIA DEFINITION COMMENTS
RMS

= [1/T (

2
+

2
)dt]
1/2

the r.m.s. vector error
J = 1/T [(

2
+

2
)]
1/2
dt
the vector error integral
N = imp
t 0,T
number of switchings
(also for nonperiodical)
I
hrms
= [1/T

(i
(t)

- i
1(t)
)
2
dt]
1/2

the r.m.s harmonic current
d = I
hrms /
I
hrms six-step
the distortion factor
d = [ h
i
2
(kf
1
)]
1/2
k1
synchronised PWM case
d = [

h
d
2
(f) df]
1/2
ff
1

nonsynchronised PWM case
h
i
(kf
1
)- discrete current spectra
h
d
(f) - density current spectra

4. ANN based Current Controllers (CC)
43

On the other hand, rise time is mainly affected by the AC side inductances of the
converter. The optimization of the dynamic response usually requires a compromise,
which depends on the specific needs. This may also influence the choice of the CC
technique according to the application considered.
In general, the compromise is easier as the switching frequency increases. Thus,
with the speed improvement of today's switching components (e.g. IGBT's), the
peculiar advantages of different methods lose importance and even the simplest one
may be adequate. Nevertheless, for some applications with specific needs, like active
filters, which require very fast response, or high power inverters where the
commutations must be minimized, the most suitable CC technique must be selected.

4.2.2 Nonlinear Current Controllers

A. Hard Switched Converters
1) Hysteresis Current Controllers
Hysteresis control schemes are based on a nonlinear feedback loop with two-level
hysteresis comparators (Fig. 4.2a) [61]. The switching signals S
A
,S
B
,S
C
are produced
directly when the error exceeds an assigned tolerance band h (Fig. 4.2b).
-
Three-phase
Load
U
DC
S
A
S
B
S
C
i
Cc
i
Bc
i
Ac
-
-
+
+
+
i
B
i
C
i
A

(a)
Hysteresis
band
state 0 state 1
+h -h
A
B
C
i
S

500
250
0
0 40 ms
a
b
c
N

(b) (c)
Fig. 4.2. Two-level hysteresis controller: block scheme (a), switching trajectory (b) Number of inverter
switchings N (c) for: a) three two-level hysteresis comparators, b) three-level comparatos and lookup table
working in stationary and c) rotating coordinates
4. ANN based Current Controllers (CC)
44

Variable switching frequency controllers
Among the main advantages of hysteresis CC are: simplicity, outstanding
robustness, lack of tracking errors, independence of load parameter changes, and
extremely good dynamics limited only by switching speed and load time constant.
However, this class of schemes, also known as free-running hysteresis controllers
[16], has the following disadvantages:
- the converter switching frequency depends largely on the load parameters and varies
with the AC voltage,
- the operation is somewhat rough due to the inherent randomness caused by the
limit cycle; therefore, protection of the converter is difficult [56].
It is characteristic of the hysteresis CC that the instantaneous current is kept exact in a
tolerance band except for systems without neutral leaders where the instantaneous
error can reach double the value of the hysteresis band [3,54]. This is due to the
interaction in the system with three independent controllers. The change of
comparator state in one-phase influences the voltage applied to the load in two other
phases (coupling). However, if all three current errors are considered as space vectors
[60], the interaction effect can be compensated, and many variants of controllers
known as space vector based, can be created [41,48,50,58, 63,68]. Moreover, if three-
level comparators with a look-up table are used, a considerable decrease in the
inverter switching frequency can be achieved [37,48,50,58,63]. This is possible
thanks to appropriate selection of zero voltage vectors [48] (Fig.4.2c).
In the synchronous rotating d-q coordinates, the error field is rectangular and the con-
troller offers the opportunity of independent harmonic selection by choosing different
hysteresis values for the d and q components [49,62]. This can be used for torque
ripple minimisation in vector controlled AC motor drives (the hysteresis band for the
torque current component is set narrower than that for flux current component).
Constant average switching frequency controllers
A number of proposals have been put forward to overcome variable switching
frequency. The tolerance band amplitude can be varied, according to the AC side
voltage [39,43,47,53-55,57,59,69,103], or by means of a PLL control (Fig.8).
An approach which eliminates the interference, and its consequences, is that of
decoupling error signals by subtracting an interference signal derived from the mean
inverter voltage u
N
(Fig.4.3) [54]. Similar results are obtained in the case of
4. ANN based Current Controllers (CC)
45

"discontinuous switching" operation, where decoupling is more easily obtained
without estimating load impedance [55]. Once decoupled, regular operation is
obtained and phase commutations may (but need not) be easily synchronized to a
clock.

LP
Filter
Driver
Upper
PD
Lower
PD
Switching
frequency
refrence
from other
phases
Hysteresis
control
to other
phases
+
+
+
+
+
+
+ -
-
pL R
1 -
+
Load
Impedance
Simulator

S
S
r
r


i
c
i


Fig. 4.3. Decoupled, constant average switching frequency hysteresis controller [54]

Although the constant switching frequency scheme is more complex and the main
advantage of the basic hysteresis control - namely the simplicity - is lost, these
solutions guarantee very fast response together with limited tracking error. Thus,
constant frequency hysteresis controls are well suited for high-performance, high
speed applications.
2) Controllers with On Line Optimization
This class of controllers performs a real time optimization algorithm and requires
complex on-line calculations, which usually can be implemented only on
microprocessors.
Minimum switching frequency predictive algorithm
The concept of this algorithm [92] is based on space vector analysis of hysteresis
controllers. The boundary delimiting the current error area in the case of independent
controllers with equal tolerance band +h in each of three phases makes a regular
symmetrical hexagon (Fig. 4.2b).
Suppose only one hysteresis controller is used - the one acting on the current error
vector. In such a case, the boundary of the error area (also called the switching or
error curve) might have any form (Fig. 4.4b). The location of the error curve is
determined by the current command vector i
sc
. When the current vector i
s
reaches a
4. ANN based Current Controllers (CC)
46

point on the error curve, seven different trajectories of the current are predicted, one
for each of seven possible (six active and zero) inverter output voltage vectors.
Finally, based on the optimisation procedure, the voltage vector which minimises the
mean inverter switching frequency is selected (Fig. 4.4c). For fast transient states the
strategy which minimises the response time is applied.
PWM
modulator
Calculation of
voltage
command
vector
Load
model
e i
s
-
+
i
sc
T
u
sc
Three-phase
Load
U
DC
-

(a)
Actual
trajectory
Error
area
i
sc
d
q

r

s
i
s
(t,u
k
) i
s
(t
0
,t
k
)
i
s
(t
0
)


(b)

PWM
modulator
Prediction of
the current
vector
trajectory
Load
model
Sampling
time
Error
area
T
e
i
s
-
+
i
sc
Three-phase
Load
U
DC

(c)

Fig 4.4. Predictive current controllers: Linear constant switching frequency controller (a),
an example of error area (b), Minimum switching frequency controller (c)




4. ANN based Current Controllers (CC)
47

Control with field orientation
The minimum frequency predictive CC can be implemented in any rotating or sta-
tionary coordinates. Like the three level hysteresis controller working in d-q field orien-
ted coordinates [49], a further switching frequency reduction can be achieved by the
selection of a rectangular error curve with higher length along rotor flux direction [96].
In practice, the time needed for the prediction and optimisation procedures limits the
achieved switching frequency. Therefore, in more recently developed algorithms, a re-
duced set of voltage vectors consisting of the two active vectors adjacent to the EMF
vector and the zero voltage vector are considered for optimisation without loss of
quality [8].
Trajectory tracking control
This approach, proposed in [89,90], combines an off-line optimized PWM pattern for
steady state operation with an on-line optimization to compensate for the dynamic
tracking errors of converter currents. Such a strategy achieves very good stationary
and dynamic behaviour even for low switching frequencies.
B) Soft Switched Resonant DC Link (RDCL) Converters
In soft switched RDCL three-phase converters with Zero Voltage Switching (ZVS),
the commutation process is restricted to the discrete time instants T when the DC link
voltage pulses are zero (Fig.2b). Therefore, special techniques called Delta
Modulation (DM) or Pulse Density Modulation (PDM) are used [70-82].
1) Delta Modulation (DM)
The basic scheme, the Delta Modulation-Current Controller (DM-CC) [74,82], is
shown in Fig. 4.5a. It looks quite similar to that of a hysteresis CC (Fig. 4.2a), but the
operating principle is quite different. In fact, only the error sign is detected by the com-
parators, whose outputs are sampled at a fixed rate so that the inverter status is kept
constant during each sampling interval. Thus, no PWM is performed; only basic voltage
vectors can be generated by the converter for a fixed time. This mode of operation gives
a discretization of the inverter output voltage, unlike the continuous variation of output
voltages which is a particular feature of PWM. One effect of the discretization is that,
when synthesizing periodic waveforms, a non-negligible amount of sub-harmonics is
generated [74,76,77]. Thus, to obtain comparable results, a DM should switch at a
frequency about seven times higher than a PWM modulator [76]. However, DM is very
simple and insensitive to the load parameters. When applied to three-phase inverters
with an insulated-neutral load, the mutual phase interference and the increased degree
4. ANN based Current Controllers (CC)
48

of freedom in the choice of voltage vector must be taken into account. Therefore,
instead of performing independent DM in each phase control, output vectors are chosen
depending not only on the error vector, but also on the previous status, so that the zero
vector states become possible [73]. Due to the S&H block applied after the ideal
comparator, the switching frequency is limited to the sampling frequency f
s
. The
amplitude of the current harmonics is not constant but is determined by the load
parameters, DC-link voltage, AC side voltage and sampling frequency.
-
Three-phase
Load
U
DC
S
A
S
B
S
C i
Cc
i
Bc
i
Ac
-
-
+
+
+
i
B
i
C
i
A
S&H
SH A
SH B
SHC

(a)

Conventional





SH
B
SH
C
SH
A








SH
B
SH
C
SH
A
Shifted
sampling sampling


(b)



(c)

Fig. 4.5. Delta modulation current controller: basic scheme (a), sampling techniques (b)
quality factors (c)

4. ANN based Current Controllers (CC)
49

If the sampling signal in the three-phase system is shifted 120 in each S&H block
(Fig.4.5b), only one of the inverter legs will change its state during the sample period
1/f
s
. This guarantees only adjacent and zero voltage vector selection, and
consequently a better quality of current waveform (lower RMS, J) at this same
sampling frequency f
s
(Fig.4.5c) [71]. It is noted that the DM-CC can also be applied
in the space vector based controllers working in either stationary or rotating
coordinates [75,79,81]. The main advantages of DM-CC are extremely simple and
tuning-free hardware implementation, and good dynamics.
2) Optimal discrete modulation algorithm
For the RDCL converters an optimal algorithm selects the voltage vector which
minimizes the RMS current error for each resonant pulse [80,93,106].
Voltage
vector
Calculation
of voltage
referen
vector
Load
model
e i
s
-
+
i
sc
Three-phase
Load
U
s
RDCL
Synch.
T
-

Fig. 4.6. Optimal (mode) discrete modulation controller for RDCL

As shown in [106] this is equivalent to selecting the nearest available voltage vector
commands u
sc
(T). So, instead of the PWM algorithm (Fig.4.4a) only the voltage
vector selector is required (Fig.4.6). However, errors and subharmonics typical of the
discrete modulation are obtained.

4.2.3 Linear Current Controllers


The linear controllers operate with conventional voltage type PWM modulators [21-
36]. In contrast to the nonlinear controllers (see Section 4.2.2), linear controller
schemes have clearly separated current error compensation and voltage modulation
parts. This concept allows us to exploit the advantages of open loop modulators
(sinusoidal PWM, space vector modulator, optimal PWM) which are: constant
4. ANN based Current Controllers (CC)
50

switching frequency, well-defined harmonic spectrum, optimum switch pattern and
DC link utilisation. Also, full independent design of the overall control structure as
well as open loop testing of the inverter and load can be easily performed. In the
linear group, the following controllers are described: PI stationary and synchronous,
state feedback, predictive with constant switching frequency.

A. Stationary controller PI
The Stationary Controller, also called the Ramp Comparison Current Controller,
uses three PI error compensators to produce the voltage commands u
Ac
,u
Bc
, u
Cc
for a
three-phase sinusoidal PWM (Fig.4.7) [5].
i
B
i
C
i
Cc
Carrier
i
A
Three-phase
Load
U
DC
S
A
S
B
S
C
u
Bc
u
Cc
u
Ac
i
Bc
i
Ac +
+
+
-
-
-

Fig. 4.7. Linear current controller: stationary PI

In keeping with the principle of sinusoidal PWM, comparison with the triangular
carrier signal generates control signals S
A
,S
B
, S
C
for the inverter switches. Although
this controller is directly derived from the original triangular suboscillation PWM
[19], the behaviour is quite different, because the output current ripple is fed back and
influences the switching times. The integral part of the PI compensator minimizes
errors at low frequency, while proportional gain and zero placement are related to the
amount of ripple. The maximum slope of the command voltage u
Ac
(u
Bc
, u
Cc
) should
never exceed the triangle slope. Additional problems may arise from multiple crossing
of triangular boundaries. As a consequence, the controller performance is satisfactory
only if the significant harmonics of current commands and the load EMF are limited
at a frequency well below the carrier (less than 1/9 [4]). The main disadvantage of this
technique is an inherent tracking (amplitude and phase) error. To achieve
4. ANN based Current Controllers (CC)
51

compensation, use of additional PLL circuits [24] or feedforward correction [29, 38]
is also made.
B. Synchronous Vector Controller (PI)
In many industrial applications an ideally impressed current is required, because
even small phase or amplitude errors causes incorrect system operation (e.g. vector
controlled AC motors). In such cases the control schemes based on space vector
approach are applied. Fig. 4.8a illustrates the Synchronous Controller, which uses two
PI compensators of current vector components defined in rotating synchronous
coordinates d-q [5,12,14,31,32,35]. Thanks to the coordinate transformations, i
sd
and
i
sq
are dc-components, and PI compensators reduce the errors of the fundamental
component to zero.
Three-phase
Load
PWM
modulator

ABC

ABC

dq

dq
PI
PI
-
-
+
+
i
sdc
i
sd
Current
regulator
Coordinate
transformation
sin

s
cos

s
U
DC
i
A
i
B
i
C
i
sqc
i
sq

(a)
Three-phase
Load
PWM
modulator

ABC

ABC
-
+
+
U
DC
i
A
i
B
i
C
K2
K1
K2
K1
i

i
c
i

i
c

c
u
c
u
c +
+
+
+
+
+
+
+
- i


(b)

Fig. 4.8. Synchronous PI current controllers: (a) working in rotating coordinates with
DC components, (b) working in stationary coordinates with AC components
4. ANN based Current Controllers (CC)
52

Based on work [34] (where it has been demonstrated that is possible to perform
current vector control in an arbitrary coordinates), a synchronous controller working
in the stationary coordinates - with ac components has been presented [33]. As
shown in Fig.4.8b by the dashed line, the inner loop of the control system (consisting
of two integrators and multipliers) is a variable frequency generator, which always
produces reference voltages u
c
, u
c
for the PWM modulator, even when in the
steady state the current error signals are zero.
In general, thanks to the use of PWM modulators, the linear controllers make a well
defined harmonic spectrum available, but their dynamic properties are inferior to
those of bang-bang controllers.

C. State Feedback Controller

The conventional PI compensators in the current error compensation part can be
replaced by a state feedback controller working in stationary [29] or synchronous
rotating coordinates [13,25,27,28,30].
i
sc
PWM
modulator
-
+
i
s
K
d
K
1
K
2
K
f
Disturbance
State
feedback
Integral part
Feedforward
u
sc
Three-phase
Load
U
DC

Fig. 4.9. State feedback Current controller

The controller of Fig. 4.9 works in synchronous rotating coordinates d-q and is syn-
thesised on the basis of linear multivariable state feedback theory. A feedback gain
matrix K=[K
1
,K
2
] is derived by utilising the pole assignment technique to guarantee
sufficient damping. While with integral part (K
2
) the static error can be reduced to
zero, the transient error may be unacceptably large. Therefore, feedforward signals for
the reference (K
f
) and disturbance (K
d
) inputs are added to the feedback control law.
4. ANN based Current Controllers (CC)
53

Because the control algorithm guarantees the dynamically correct compensation for
the EMF voltage, the performances of the state feedback controller are superior to
conventional PI controllers [27,28].

D. Predictive and Dead Beat Controllers
This technique predicts at the beginning of each sampling (modulation) period the
current error vector on the basis of the actual error and of the AC side (load)
parameters R,L,E. The voltage vector to be generated by PWM during the next
modulation period is thus determinated so as to minimize the forecast error
[60,102,105,107-109].
Hybrid CC combining predictive and hystersis techniques have also been proposed
[99].
1) Constant switching frequency predictive algorithm
In this case the predictive algorithm calculates the voltage vector commands u
sc
(T)
once every sample period T. This will force the current vector according to its
command i
sc
(Fig. 4.4c). The inverter voltage u
s
(T) and EMF voltage e(T) of the load
is assumed to be constant over the sample period T. The calculated voltage vector
u
sc
(T) is then implemented in the PWM modulator algorithm, e.g. space vector
[60,86,100,102] or sinusoidal modulator [107,108]. Note that while the current ripple
is variable, the inverter switching frequency is fixed (1/T). The disadvantage of this
algorithm is that it does not guarantee the inverter peak current limit.
2) Dead Beat Controllers
When the choice of the voltage vector is made in order to null the error at the end of
the sample period, the predictive controller is often called a dead beat controller
[85,94,95,97]. Among the additional information given to the controller, nonavailable
state variables (e.g. flux, speed) can be included. Their determination can require the
use of observers or other control blocks, which often may be shared with the control
of the entire scheme, as in case of AC drives [83,97].





4. ANN based Current Controllers
54

4.3. Off-line trained neural comparator

4.3.1. Introduction

In this section the application of off-line trained ANN working as a comparator in
current control loop of the PWM inverter will be presented. This idea has been
published by Harashima et al [115]. In this section this idea will be developed and
extended. In the first part, the configuration presented is the same as in [115] and a
block scheme of this system is shown. In the second part, in contrast to the previous
approach, we will introduce controller working in - coordinates. Finally simulation
results will be presented, and comparative study with delta modulator and hysteresis
comparators will be carried out. The new solutions based on the perceptron will be
presented as well, and will be shown, that such a simple NN is enough to implement
the Delta Regulator.

4.3.2. NN controller in three phase ABC coordinates

4.3.2.1. Current control scheme

Harashima et. al. [115] have proposed NN regulator (Fig. 4.10b) which should have
similar input-output relation to that of the hysteresis comparator (Fig. 4.10a).
The three layer (3-5-3 architecture) feedforward NN has been trained according to the
rules given in the Table 4.2 using back propagation algorithm [149].
After learning process, when the errors between the desired output and the actual NN
output were less than 1%, the NN has been applied as current regulator. However, for
the three phase symmetrical load (without zero leader) the sum of the instantaneous
current errors is always zero:

A
+
B
+
C
= 0

4. ANN based Current Controllers
55









K
K
K
S
A

A
S
B

B
S
C

C
SH
a)




A
S
A

B
S
B
S
C

C
K
K
K
SH
b)









K
K
K S&H
S&H
S&H
S
A

A
S
B

B
S
C

C
SH
c)

Fig. 4.10. Current regulators for three phase PWM inverters:
(a) three hysteresis comparators, (b) three layer feedforward NN regulator [6],
(c) Delta modulation Regulator (DR)
4. ANN based Current Controllers
56

Table 4.2
Learning table for three input ANN


INPUT OUTPUT VECTOR

A

B

C
V(S
A
,S
B
,S
C
)
1
V
7
(1,1,1)
*

2 - V
4
(0,1,1)
3
- V
6
(1,0,1)
4
- V
2
(1,1,0)
5
- - V
1
(1,0,0)
6 - - V
3
(0,1,0)
7 - - V
5
(0,0,1)
8 - - - V
0
(0,0,0)
*


Therefore, the current errors have never the same signs and NN regulator trained
according to the rules given in Table 4.2 cannot select inverter zero vectors V
0
(000)
and V
7
(111).
As a result, the NN regulator operates rather more similar to Delta Regulator (DR)
than to hysteresis comparator (see oscilogram presented in Fig. 4.11)
4.3.2.2. Learning rules

The performance of the NN regulator depends strong on the applied learning method.
In the previous Sections we discussed the NN regulator trained according to the rules
given in Table 4.2. This rules guarantee that NN learn "static" type of the input-output
relation and parameter determinate the accuracy around error zero crossing point.
However, other method can be applied in which a "PWM time pattern" generated by
model system (i.e. hysteresis or Delta Regulator) is used for NN learning . In this case
NN can be trained with different Number of Data Points (NDP). In Table II the result
of the comparison of two learning rules for the same Number of learning steps (NLS)
is presented.
4. ANN based Current Controllers
57

Hysteresis Regulator (a) NN Regulator (b)


Fig. 4.11 Simulated waveforms for current regulators (= 0.05)
I - i

, i

, II - u

, III - u

= f(u

) , IV -voltage vectors

4. ANN based Current Controllers
58

Table 4.3
Comparison of the learning rules

learning rules
Table 4.2
learning rules
PWM pattern

0.001 0.01 0.1

NDP

150 450
PSE 87% 87% 72% 94% 92%

NDP - number of data points; NLS - number of learning steps (NLS = 100000); PSE
- pattern selection efficiency factor.
The Number of Learning Steps (NLS) is assumed constant = hundred thousand. It can
be seen that Pattern Selection Efficiency factor

selection pattern of number Total
selection pattern correct of Number
= PSE ,

which shows how often the NN generates the "correct voltage vector", is better for
NN trained according to the rules given by "PWM time pattern" than by the rules
given in Table 4.2. However, the learning method according to rules given in
Table 4.2 is independent of system parameters and, therefore, is much simpler for
implementation.

4.3.2.3. Improved Neural Network Current Regulator

The discussion and results presented in the previous Section show that the NN
regulator proposed by Harashima has performance similar to that of Delta Regulator
(Fig. 4.10b). From the other side it is known that Delta Regulator never selects the
zero voltage vectors. This leads to poor quality of the output current generation and
creates 1 transition of the DC voltage. These transitions (corresponds to the
switching between not adjacent vectors i.e. V
1
V
3
, etc.) cause voltage stress on the
inverter devices, and, instantaneous reversal in DC link current. Also, as a result of
4. ANN based Current Controllers
59

not going to zero vector the Pulse Polarity Consistency Rules (PPCR) is violated. To
eliminate these disadvantages and force the NN regulator to select zero vectors and
only adjacent active vectors a modified sampling technique is proposed (Fig. 4.12.).








S&H
S&H
S&H
S
A
S
B
S
C
S
A
H S
B
H S
C
H
A

K
K
K
a)












b)


Fig. 4.12. Improved NN regulator : a) block scheme, b) modified sampling technique

When the sign of the NN outputs signals are sampled not at the same instant but with
a phase shift (Fig. 4.12b) i.e.2/3, the regulator output signals S
A
,S
B
,S
C
can have the
same values. The inverter under such control operates as shown in Table 4.4. and
illustrates in Fig. 4.14.
4. ANN based Current Controllers
60

Table 4.4
Voltage Vector Selection
For Improved NN Regulator

, , , , ,




,

,,


, ,


Fig. 4.13. Operation of the improved NN regulator from

Note that in contrast to conventional sampling case (Fig. 4.11b), the improved NN
regulator selects systematically the zero voltage vectors and always chooses adjacent
active vectors (see voltage vector time sequence and switching trajectory in -
coordinates Fig. 4.14b).
4. ANN based Current Controllers
61

(a) Delta Regulator (b) Improved NN Regulator


Fig. 4.14. Simulated waveforms for current regulators
I - i

, i

, II - u

, III - u

= f(u

), IV - voltage vectors

4. ANN based Current Controllers
62

The voltage vector state can be changed in the proposed method three times during
the sampling period, whereas in conventional approach only once. It means
increasing of the internal switching frequency, but the total number of switching in
period (and the mean switching frequency) does not change. Therefore, the harmonic
performance of this regulator is superior to the conventional NN since the zero vector
is being used to avoid 1 transitions.
This regulator, however, cannot guarantee conformance to the PPCR because the
precise point in time where the line to line voltage fundamental crosses zero cannot
be estimated without the knowledge of the counter EMF.

4.3.2.4. Comparison with three hysteresis controllers

As has been suggested in [115] the input-output relation of three teaching signal is
similar to that of the hysteresis comparator with hysteresis width of . Note, that
introduction of such a similarity is false. The reasons of this conclusion is as follows:


In the next subsection ANN controller in - coordinates is introduced. The
considerations described in this subsection are explained and developed.

The feedforward ANN presented in this Section cannot implements
characteristic with hysteresis, because the system presented is without
memory;
If the system is with symmetrical load, it does not choose zero vectors (i.e.
vector number 0 and 7), in spite of this, that we teach system such states.
The reason is, that it is not possible to obtain all values of error positive or
negative, because the sum of these errors has to be zero. So, this situation
is different as compared to hysteresis comparators;
in Table 4.2 has no correlation with width of the hysteresis;
The system presented is similar to delta modulator
4. ANN based Current Controllers
63

4.3.3. NN controller in coordinates

4.3.3.1. Current control scheme
The block diagram of an off-line trained ANN based current control has two inputs
and three outputs. This scheme is similar to the scheme presented in Fig. 4.10b
The differences between reference and actual currents for (i
ref
-i

) and (i
ref
-i

)
components are delivered to the blocks with gain factor K. The output signals of the
K-blocks are inputs to the ANN. So, the inputs to the ANN are amplified current
errors in coordinates. The ANN output signals, in turn, after digitization in
comparator blocks generates the inverter control signals S
A
, S
B
, S
C
.
4.3.3.2. Off-line training
The three-layer feedforward ANN with sigmoidal nonlinearities is trained by using
back propagation algorithm according to the rules given in Table 4.5.
Table 4.5
Learning table for two inputs ANN


INPUT OUTPUT VECTOR

V(S
A
,S
B
,S
C
)
1

2
1

2
3

V
5
(0,0,1)
*

2 - 0 V
4
(0,1,1)
3

2
1

2
3

V
3
(0,1,0)
4

2
1

2
3

V
6
(1,0,1)
5

0 V
1
(1,0,0)
6

2
1

2
3

V
2
(1,1,0)

4. ANN based Current Controllers
64

As training signals for the ANN the random generated inputs chosen from the Table
4.6 were applied.
Note that the same results can be obtained in a system described in previous
subsection after recalculating in - coordinates. Therefore, in fact, in this both cases,
the systems are approximations of delta modulator scheme.


4.3.4. Results

4.3.4.1. Comparison ANN with classical delta modulator and three hysteresis
controllers

The trained ANN is used in the PWM inverter current control loop. Furthermore, the
systems presented in Fig 4.10a and Fig 4.10c are used for comparison with ANN
controllers. The simulated oscillograms of actual currents, phase voltages errors and
quality indexes in two neural network systems and two delta modulators and with
hysteresis controller are presented in Fig. 4.15-Fig. 4.27 respectively

4.3.4.2. Quality indexes in ANN, classical delta modulator and three hysteresis
controllers

To compare two ANN controllers and delta modulator and hysteresis systems a
different quality factors are considered (see Table 4.1):
Nrs the number of switching in a period;
the integral vector error J.

In Table 4.6. quality factors in two ANN, delta modulation and hysteresis controllers
systems are presented. It can be seen, that there are no significant differences between
results obtained using ANN algorithms and Delta Regulator. Otherwise the hysteresis
system is different compared to three remaining ones.


4. ANN based Current Controllers
65






Table 4.6

Frequency
Regulator 5 Hz 25 Hz 50 Hz
J NRS J NRS J NRS
ANN regulator 0.0737 4522 0.0753 886 0.0739 425
ANN modified 0.0579 4472 0.0582 883 0.0593 424
Delta Regulator 0.0652 4518 0.0658 890 0.0667 431
DR modified. 0.0538 4513 0.0550 889 0.0554 427
Hysteresis Regulator 0.0667 2125 0.0660 430 0.0646 197

4. ANN based Current Controllers
66




Fig. 4.15. Behaviour of Neural Network current regulator for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
67




Fig. 4.16. Behaviour of Delta current regulator for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
68




Fig. 4.17. Behaviour of hysteresis current regulator for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
69




Fig. 4.18. Behaviour of modified Neural Network current regulator for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
70




Fig. 4.19. Behaviour of modified Delta current regulator for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)



4. ANN based Current Controllers
71




Fig. 4.20. Behaviour of Neural Network current regulator f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
72




Fig. 4.21. Behaviour of Delta current regulator for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
73




Fig. 4.22. Behaviour of hysteresis current regulator for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
74




Fig. 4.23. Behaviour of modified Neural Network current regulator for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
75




Fig. 4.24. Behaviour of modified Delta current regulator for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)



4. ANN based Current Controllers
76




Fig. 4.25. Behaviour of Neural Network current regulator f = 5 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
77




Fig. 4.26. Behaviour of Delta current regulator for f = 5 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
78




Fig. 4.27. Behaviour of hysteresis current regulator for f = 5 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) number of voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)


4. ANN based Current Controllers
79

4.3.5. Current Controller based on single layer perceptron model

4.3.5.1. Block scheme

The configuration of the proposed NN discrete current controller is shown in
Fig. 4.28a. In this very simple case the three inputs-three outputs, single layer NN
with hard nonlinearity activation functions (ideal comparators) corresponds to the
architecture known as perceptron [145].
When compare with Delta modulation discrete controller (Fig. 4.28b), the proposed
NN controller include additionally to w
A
, w
B
, w
C
weighted phase error connections,
only w
AB
, w
AC
,..., w
CB
weighted interphase connections. These typical for NN
interphase connections, however, have decided influence on the controller operation
and robustness.

4.3.5.2. Selection of NN weights

On the basis of the Fig. 4.28a the following equation describing NN inputs - outputs
relations can be obtain:

e
A
= w
A

A
+ w
BA

B
+ w
CA

C
, (4.1a)
e
B
= w
AB

A
+ w
B

B
+ w
CB

C
, (4.1b)
e
C
= w
AC

A
+ w
BC

B
+ w
C

C
, (4.1c)

where:

A
,
B
,
C
- instantaneous line current errors in phases A, B, C, respectively
w
A
, w
B
, w
C
- weight factors in phases A, B, C respectively
w
AB
, w
AC
,..., w
BC
- weight factors in interphase connections.


4. ANN based Current Controllers
80

a)








S&H
S&H
S&H
SH SH SH
A B C
S
A
C
B
S
S e w
w
w
e
e

A A A
AB
B B
C C
C

b)








S&H
S&H
S&H
SH SH SH
A B C
S
A
S
S
B
C

B
C

c)











Conventional Modified


Fig. 4.28. Current controllers for three phase PWM inverters: (a) proposed NN
controller, (b) Delta modulation controller, (c) modified sampling technique


4. ANN based Current Controllers
81

Assuming equal values of weights:

w
A
= w
B
= w
C
= 1, (4.2a)
w
AB
= w
AC
= ... = w
BC
= -1, (4.2b)

the equations Eq.4.1a, Eq.1b, Eq.1c can be rewritten as follows:

e
A
=
A
-
B
-
C
, (4.3a)
e
B
= -
A
+
B
-
C
, (4.3b)
e
C
= -
A
-
B
+
C
. (4.3c)

However, for the three phase symmetrical load (without zero leader) the sum of the
instantaneous current errors is always zero:

A
+
B
+
C
= 0. (4.4)

Therefore, the equations Eq.4.3a, Eq.3b, Eq.3c can be represented as:

e
A
= 2
A
, (4.5a)
e
B
= 2
B
, (4.5b)
e
C
= 2
C
. (4.5c)

The last equations show clearly, that when the values of the phase and interphase
weights are equal (equations. Eq.4.2a, Eq.4.2b), the NN operates as conventional
Delta modulation controller without any interphase connections (Fig. 4.28b).
Assuming, however, that:

w
A
= w
B
= w
C
= k, (4.6a)
w
AB
= w
AC
= ... = w
BC
= -1, (4.6b)

4. ANN based Current Controllers
82

the equations Eq.4.3a, Eq.4.3b, Eq.4.3c can be written as:
e
A
= k
A
-
B
-
C
, (4.7a)
e
B
= -
A
+ k
B
-
C
, (4.7b)
e
C
= -
A
-
B
+ k
C
. (4.7c)

In this case, for k >> 1, when one error signal is lacking (for example
A
= 0) from
equations. Eq.4.7a, Eq.4.7b, Eq.4.7c and Eq.4.4 the following formulas can be obtain:

e
A
= -
B
-
C
, (4.8a)
e
B
= k
B
, (4.8b)
e
C
= k
C
. (4.8c)

Hence, the lacking error signal of phase A is reconstructed from the errors of other
two phases B and C. Therefore, NN controller has robust behaviour and is able to
operate correctly even when one of the error input signals is lacking.
Note, that here the robust behaviour of the controller is achieved using only the simple
one layer NN with precalculated weight factors, whereas in controller proposed by
Harashima et al. [115] the three layer feedforward NN (with 3-5-3 architecture)
trained by back propagation algorithm has been applied.

4.3.5.3. Results

The proposed NN current controller has been investigated by simulation and
implemented in hardware. The simulated and experimental waveforms for
investigated Delta and NN current controllers are shown in Fig. 4.29 and Fig. 4.30,
respectively. In both controllers a modified (shifted) sampling technique is applied.
This modified sampling technique force controller to select zero voltage vectors (not
possible in conventional Delta controller) and always chooses only adjacent active
vectors (see voltage vectors switching path u

= f(u

) in Figs. 4.29 and 4.30).


Note, that in contrast to the Delta controller, the proposed NN controller operate
correctly without phase A error signal
A
= 0.
4. ANN based Current Controllers
83

I - NN controller II - Modified delta controller


Fig. 4.29. Simulated waveforms for current controllers, when error signal in phase A
is lacking (
A
=0):
a) phase voltage u
s
, b) phase current i
s
, c) voltage vector path u
s
= f(u
s
),
d) current vector path i
s
= f(i
s
).

4. ANN based Current Controllers
84

a) I - NN controller a) II - Modified delta controller
b) b)
c) c)


Fig.4.30. Experimental waveforms for current controllers, for
A
=0:
a) phase voltage u
s
and phase current i
s
, b) voltage vector path u
s
= f(u
s
),
b) current vector path i
s
= f(i
s
).








4. ANN based Current Controllers
85

4.4. Optimal mode ANN CC

4.4.1. Optimal mode CC

In the case of such a type of controller an optimal algorithm in every sampling
interval T
s
selects voltage vector that minimise RMS current error (see the section 4.2.
as well). This is equivalent to selection the available inverter voltage vector that lies
nearest to command vector u
Sc
(t). The command vector is calculated by assumption
that the inverter voltage u
Sc
(t) and EMF voltage e
r
(T) of the load is constant over the
sampling interval T
s
. Based on the calculated u
Sc
(t) value the voltage vector selector
chooses the nearest available inverter voltage vector (Fig. 4.31.)


+
-





Calculation
of voltage
command
vector
Voltage
vector
load
model
3 ph.
load
VSI
i
sc
i
s
e
r
T
u
sc
selector
s
u


RDCL
synch.


Fig. 4.31. Optimal discrete modulation controller

Desired voltage vector can be calculated using motor parameters r
s
, l

and
electromotive force EMF according to the following equations:

e i r i i
t
l
u
c s s s c s c s
+ +

= ) ( (4.9a)
4. ANN based Current Controllers
86

e i r i i
t
l
u
c s s s c s c s
+ +

= ) ( (4.9b)
and
sc s c s c u
n
u u
( ) = +

2 2
(4.10a)
u
s c
s c
arctg
u
u
=

(4.10b)

Using these formulas it is possible to calculate for each inverter vector (seven
possibilities) the quality factor J:

J n
s c
u
n
s
u
n
s c
u
n
s
u
n
( ) ( ( ) ( ))
( ( ) ( ))
= +

2
2


(4.11)

and chose the vector, which minimise this index.
Note that:
n voltage vector number, u
sc
command voltage, u
s
- actual voltage.

If we assume that:

u S C s
n
u
n
u
n

( ) ( ) ( ) = (5.12a)
u s c s
n
u
n
u
n

( ) ( ) ( ) = (5.12b)

the equation Eq.4.11 has the following form:

J n n
u u
= +

2 2

( ) ( ) (5.13)

The above described procedure is repeated in each sampling time, and it implies, that
implementation of such a system requires very fast microprocessors.
The performance of optimal regulator is much better than in the case of Delta
Regulator. To illustrate this feature the simulation results obtained in both systems are
shown in Fig. 4.32 and Fig. 4.33 respectively.

4. ANN based Current Controllers
87


Fig. 4.32. Behaviour of current Delta Regulator for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)
4. ANN based Current Controllers
88



Fig. 4.33. Behaviour of current Optimal Regulator for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)

The presented oscillograms show that the behaviour of optimal regulator is much
better compare to Delta Modulator.
4. ANN based Current Controllers
89

4.4.2. Three layers NN controller trained by optimal PWM pattern

4.4.2.1. Description of the system

The optimal discrete current controller from Fig. 4.31 can be replaced by an off line
trained NN as shown in Fig. 4.34.





load
model
3 ph.
load
VSI
s
u


RDCL
synch.

+
-


NN
regulator
i
sc
i
s
( ( ( (
r
T
, ) , ) , ) , )
s




Fig. 4.34. Neural Network discrete modulation controller.

As controller two (5-10-3) and three (5-10-10-3) layers feedforward NN with
sigmoidal nonlinearity are investigated. Before using as controller, the NN was
trained (by back propagation algorithm [149]) with random selected data from the
optimal PWM pattern generated by simulated controller.
In the system with PWM supply there is a practical problem with noise. Therefore, in
signal processing instead of EMF voltage, the rotor flux
r
components and
synchronous frequency
s
signals are applied to the NN inputs. These signals are
used in conventional vector control schemes of AC motors [12].
4. ANN based Current Controllers
90

The multilayer feedforward NN has been trained using the back propagation
algorithm. The learning samples have been calculated before the learning process and
were created in the system with optimal discrete current regulator.

4.4.2.2. Results

The simulation results have been obtained in NN systems with one and two hidden
layers. In each of these cases ten neurons in these layers have been used. In the
figures Fig. 4.35-Fig. 4.40. the behaviour of the system for three frequencies and two
kinds of neural network are presented respectively. In these oscillograms the voltages,
currents and quality indexes are shown. Some of quality indexes are presented in the
Table 4.7 as well.

Table 4.7.
f Parameters
[Hz] PSE RMS J
50 - 0.05160 0.04685
Optimal Regulator 25 - 0.05038 0.04679
5 - 0.06056 0.05660
50 0.68 0.07675 0.06804
NN with one hidden layer 25 0.71 0.06851 0.06042
5 0.70 0.07811 0.07075
50 0.92 0.05433 0.04894
NN with two hidden layers 25 0.94 0.05224 0.04814
5 0.96 0.06084 0.05675

It can be seen that Pattern Selection Efficiency factor which shows how often the NN
generates the "correct voltage vector", is about 0.94 for three layers, and about 0.7 for
two layers NN. So, the performance of the NN controller only slightly differs from
Optimal Controller and is much better than for Delta Controller.

4. ANN based Current Controllers
91




Fig. 4.35. Behaviour of NN with two hidden layers for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)


4. ANN based Current Controllers
92




Fig. 4.36. Behaviour of NN with two hidden layers f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)


4. ANN based Current Controllers
93



Fig. 4.37. Behaviour of NN with two hidden layers for f = 5 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)


4. ANN based Current Controllers
94




Fig. 4.38. Behaviour of NN with one hidden layer for f = 50 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)


4. ANN based Current Controllers
95




Fig. 4.39. Behaviour of NN with one hidden layer for f = 25 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)


4. ANN based Current Controllers
96




Fig. 4.40. Behaviour of NN with one hidden layer for f = 5 Hz
a) i

, i

= f(t) , b) i

= f(i

) , c) u

= f(t) , d) u

= f(u

) ,
e) voltage vector = f(t) , f) RMS, J = f(t) , g)

2
= f t ( ) , h) NRS = f(t)

5. Speed estimation of induction motor
97

5. SPEED ESTIMATION OF INDUCTION MOTOR

5.1. Introduction

A variety of different method for sensorless IM drives has been developed in the past
few years [12, 14, 134, 135]. This Chapter gives a general review of different
techniques with special attention to ANN based speed estimators, and presents an
improved on line trained ANN estimator proposed and implemented by the author.

5.2. Basic Techniques of Speed Estimation

The operation of speed controlled IM drives without mechanical speed sensor
requires the estimation of state variables of the drive. This estimation is based
exclusively on measured motor voltages and currents, which are available in every
PWM inverter-fed drive system. Low performance, low cost sensorless drives can be
designed using simple algebraic estimators. However, high performance systems are
based on dynamic models for the estimation of the magnitude and special position of
magnetic flux in the stator or in the rotor as well as rotor counter EMF vector.
Development of speed sensorless IM control methods has been based on
different approaches and techniques. A historical review is presented in Tab. 5.1. The
development has been started with algebraic slip frequency estimation proposed by
Abbondanti and Brenner in 1975. The newest proposal by Ben-Brahim and
Kurosawa, based on ANN approach, is dated 1993 [130].
The most successful method (which is an extension of torque current estimation
proposed by Kazmierkowski and Koepcke for CSI [132]) is proposed by Othani et. al
and is used in Yasakawa standard inverter-fed drive systems.
The general classification of speed sensorless control techniques is shown in
Fig. 5.1. In this thesis only high performance methods based on open and closed loop
estimators are the subjects of consideration.




5. Speed estimation of induction motor
98

Table 5.1.
Review of Speed Sensorless Induction Motor Control

1975 A. Abbondanti
M. B. Brenner
Slip calculation - stationary
1982 R. Jtten, G. Mder Slip estimation - dynamic
(EMF - oriented control)
1983 M.P. Kazmierkowski
H.J. Kpcke
Torque current estimation
(EMF - oriented control)
1990 D. S. Zinger, F. Profumo
T. A. Lipo,D. W. Novotny
Speed estimation based on Space Harmonics
1991 W. Lotzkat V/Hz with active stator current control
1991 X. Xu + D.W. Novotny Direct Stator Flux Oriented-slip estimation
1992 L. Kreindler,
J. C. Moreira
A. Testa, T. A. Lipo
Stator Phase Voltage Third Harmonics
1992 B. Ohtani
C. Takada
K. Tanaka
Torque current and rotor flux estimation
Field oriented control
1995 H. Tajima, Y. Matsumoto
H. Umida , M. Kawano
Speed estimation from induced speed voltage e
T

1992 U. Baader
M. Depenbrock, G. Girse
DSC scheme with speed estimation from hysteresis torque
controller
1992 C. Schander MRAS - flux criterion
1994 F.Z. Peng
T. Fukao
MRAS - Reactive Power Criterion (no R
s
influence)
1991 G. Hanneberger
B.-J. Brunsbach
Th. Klepsch
Kalman Filter
1994 Y.R. Kim, S.K. Sul
M.H. Park
Extended Kalman Filter
1993 H. Kubata, K. Matsuse
T. Nakano
Full order adaptive speed obserwer with R
r
compensation
1993 T. Kanmachi
I. Takahashi
Estimation
m
= (i
r
p
r
)/(i
r

r
)
1990 S. Doki, S.I. Yong,
S. Sangwongwani et. al,
Adaptive Sliding Mode Observers
1994 J.W. Chooi
S.K. Sul
Estimation based on High Frequency Current Injection
1993 L. Ben-Brahim
R. Kurosawa
Neural Network Based Estimation

5. Speed estimation of induction motor
99

Sensorless Speed Control Techniques
Low performance
dynamic requirements
High performance
dynamic requirements
Constant V/Hz
control
Slip frequency
compensation
Estimators using
machine
imperfections
Open and closed
loop estimators
Estimators using
saliency effects
Estimators based on
space harmonics
Estimator based
on Artificial
Inteligence
Open loop
estimators
MRAS
Observers
(Luenberger ,
Kalman)
ANN based
estimator
Neuro-fuzzy
based estimator
Fuzzy logic
based estimator

Fig. 5.1. General classification of speed sensorless control techniques

5.2.1. Open loop estimators

In the books [12, 14] many open loop estimation methods based on IM model
is discussed. Below seven basic estimator equations are presented:

5. Speed estimation of induction motor
100


2 2
) (
arctan


r r
s r s r M
r
N
r
r
N
r s m
i i x
T
T
dt
d
T
+

|
|

\
|
= =
(5.1)


) (
) (
arctan
sx s s
s s s s s
r
N
s
s
N
r s m
i x
i i x
T
T
dt
d
T

|
|

\
|
= =
(5.2)


2 2
) (
arctan


r r
s r s r s
r
M
s
r
N
r
r
N
r s m
e e
i e i e x
x
x
T
T
e
e
dt
d
T
+
+

|
|

\
|
= =
(5.3)


) (
) (
arctan
sx s s s
s s s s s
s
r
N
s
s
N
r s m
i x e e
i e i e x
T
T
e
e
dt
d
T

|
|

\
|
= =
(5.4)


r
s M
r
r
N s M
r
r
s M
r
r
N s M
r
m
i x
dt
d
T i x
i x
dt
d
T i x

(
(
(
(



=
) (
) (

) (
) (
sgn (5.5)


2 2




r r
s r s r
sy
i i
i
+

= (5.6)

2 2


r r
s r s r
sy
e e
i e i e
i
+
+
= (5.7)

The accuracy of speed estimators using Eq.5.1-5.7 depends greatly on the motor
parameters used, and also on the scheme used for the estimation of the flux/EMF
components. The basic properties of open loop speed estimators are summarized in
the Tab. 5.2.


5. Speed estimation of induction motor
101

Table 5.2.
Basic open loop speed estimators

Method Parameter
sensitivity
Remarques
1 Based on rotor flux vector
estimation (Eq. 5.1)
r
s
, x
s
, T
r
,
x
M

Higher accuracy when
flux is calculated in polar
coordinates
2 Based on stator flux vector
estimation (Eq. 5.2)
r
s
, x
s
, T
r
,
x
s

Higher accuracy when
flux is calculated in polar
coordinates
3 Based on voltage induced by rotor
flux rotor EMF (Eq. 5.3)
r
s
, x
s
, T
r
,
r
M
x
x

Two integrations are
eliminated

4 Based on voltage induced by stator
flux stator EMF (Eq. 5.4)
r
s
, x
s
, T
r
,
x
s

Two integrations are
eliminated

5 Based on vector and scalar product
(Eq. 5.5)
r
s
, x
s
, T
r
,
x
M

Valid only for waveform
with harmonics
6 Based on torque current estimation
(Eqs. 5.6, 5.7)
r
s
, x
s
,
r
M
x
x

Only for Field oriented
Control Schemes

Note that four important parameters influence the accuracy of open loop estimators:
stator resistance r
s
, stator transient reactance x
s
, stator reactance x
s
and rotor time
constant T
r
. These parameters convary due to temperature (r
s
, r
r
), saturation (x
M
, x
s
,
x
r
) and skin effect (r
r
).
In low speed region, the accuracy of the open loop estimation is reduced, and in
particular, parameter deviations from their actual values have great influence on the
steady state and transient performance of the drive system, which uses an open loop
estimator. Higher accuracy is achieved if the stator flux is calculated by a scheme,
which avoids using of pure integrators (Fig. 5.2.). This leads to improved schemes
working with polar coordinates ] , [
s s
s
= (Fig. 5.3.). It is important, that in the
case of rotor field-oriented system stator flux must be recalculated to the rotor flux.
Finally, it should be noted that the robustness against parameter mismatch and noise
(in the measured signals) can be considerably improved by using closed loop
observers.

5. Speed estimation of induction motor
102

a)
rs

s
rs

s
is
is
us
us
_
_
1
T
N
1
T
N

b)

xy rs
is
is
us
us
isx
usx
usy
isy
rs
_
_
1
T
N

sin
cos
esx
esy
sx
sy
s
e

s
s sx
=

Fig. 5.2. Stator flux vector estimators: a) Stator flux estimator in cartesian coordinates
b) Stator flux estimator in polar coordinates

5.2.2. Closed loop estimators observers

Having an open loop estimator of a dynamic system state variables, by introducing a
correction term involving the estimation error, one obtains a closed loop estimator
which is referred to as an observer.
If the plant is considered to be deterministic, then the observer is deterministic
observer, otherwise it is a stochastic observer. The most popular observers are
Luenberger and Kalman types.
5. Speed estimation of induction motor
103

a)
Amplitude
Limiter

xy rs
is
is
us
us
isx
usx
usy
isy
rs
_
_
1
T
N

sin
cos
esx
esy
sx
sy
s
e

s
s sx
=

b)
+
+

c
c
s +
1
s
c
+
Limiter
y
LPF
T
d
dt
e
N
sx
sx

=
s sx
=

Fig. 5.3. Improved stator flux estimator in polar coordinates:
a) stator flux estimator with amplitude limiter, b) amplitude limiter

5.2.2.1. Luenberger Observer

Luenberger observer (LO) is of the deterministic type and basically is applicable to
linear time-invariant deterministic systems. The extended Luenberger observer (ELO)
is applicable to nonlinear time-varying deterministic system.

x i
u x x
s
s
C
B A
=
+ = &
(5.8)

where

5. Speed estimation of induction motor
104

(

= =
(

=
=
= = =
1 0
0 1
, ] [
] [
] [ , ] [ , ] [
22 21
12 11
I 0 I C
A A
A A
A
T
s s s
T
r r r
T
s s s
T
r
s
u u u
i i i i x




(5.9)

m
^
u
s
B
+ -
I/s
A
+
+
C
K
+
i
s
i
s
Adaptive scheme
Induction
Motor
^

r
^

m
(r
s
,T
r
)



Fig.5.4. Block diagram of adaptive flux and speed observer

Based on a Lyapunov function

c e e V
m m
T
/ ) ( + = (5.10)

where c is positive factor, and applying the conventional procedure of pole placement
technique, the gain matrix K can be calculated as follows:

(


=
(

+
+
=
0 1
1 0
,
4 3
2 1
J
J I
J I
K
k k
k k
(5.11)
5. Speed estimation of induction motor
105

with

1
) 1 (
1 1
) 1 (
1 1
) 1 (
) 1 (
1 1
) 1 (
2
4
2
3
2
1

=
|
|

\
|

+
(

|
|

\
|

=
=
|
|

\
|

r
M s
m
r s r
M s
r
M
r
M s
r s
m
r s
x
x x
k
x
x x
x
x
x x
k
k
k
(5.12)

where

r
r
r
r
s
s
r r s s
r
x
r
x
r
x
x x x x
=

=
= =
r r s
, ,
, ,


(5.13)

In a discrete implementation, however, for small sampling time and low speed,
accurate computation is required. This is because of stability problems which can
occur (roots are close to stability limit). Therefore, another pole-placement procedure
has to be used, which ensures that the low speed roots are select away from the
stability limit.
5.2.2.2. Extended Kalman Filter (EKF)

The EKF is a recursive optimum stochastic state estimator, which can be applied for
common state and parameter estimation of nonlinear dynamic systems in real time by
using measured signals with random distributed noise. Of course, it assumes that the
measurement noise w and disturbance noise v (Fig. 5.5) are uncorrelated.

5. Speed estimation of induction motor
106

A(x)
^
u
s
B
+ -
I/s
+ +
C
K
+
i
s
i
s
^
x x
^ ^
.
B
A(x)
I/s
C
x
.
+
x
v
w
+ + +
+
Induction Motor

Fig. 5.5. Block diagram of EKF


In fact the EKF is a variant of the Kalman Filter, but the extended KF can be used for
a nonlinear systems. In the speed adaptive flux observers, the speed is considered as a
state variable. The design procedure is complicated and includes the following steps
for the discrete EKF algorithm
Selection of discretized IM model,
Determination of the noise and state covariance matrices,
Implementation of the EKF algorithm
Tuning

The most important features of the ELO and EKF can be summarized as below

5. Speed estimation of induction motor
107

ELO EKF
Can be used in a majority of industrial
systems since they can be considered
as deterministic
Its performance can be chosen by
selection the gain matrix; fast
convergence and robust design can be
obtained
Lower computational requirements
(no matrix inversion as in the EKF)
It is large flexibility in design of the
ELO, because of existed redundancy
in the gain matrix specification
It is effective for an industrial systems
which can be considered as stochastic
Its performance is adjusted by tuning
the covariance matrices
Because of fact that a limitation
implying optimality condition has to
be satisfied, it is no design flexibility
The nonlinear nature of the IM and an
ad hoc tuning of covariance matrix
may result in non-optimal estimator
and a bias problem

5.2.3. Model Reference Adaptive Systems (MRAS)

Another method to increase the accuracy of the open loop estimators discussed in
section 5.2.1, is application of an closed loop approach. The Model Reference
Adaptive System (MRAS) constitutes a wide class of the closed loop flux and speed
observers.
As can be seen in Fig.5.6. in a MRAS system, some state variables x (e.g. rotor flux
vector components ] [


r r
x = or back EMF components ] [
r r
e e x = ) of
IM (calculated from the monitored voltage vector u
s
and current vector i
s
) are
estimated in a Reference Model (RM) and then compared to state variable x
estimated in an Adaptive Model (AM). The error between these state variables is then
in an Adaptation Algorithm to obtain estimated speed
m
which adjusts the AM.
Adaptive algorithm is derived by using Popovs hyperstability criterion.
5. Speed estimation of induction motor
108

Reference
Model

u
s
Adaptive
Model
i
s
i
s
Adaptation
Algorithm

^
m
x
x



Fig.5.6. Block scheme of MRAS based speed estimator

Depending of the definition of the error signal for speed tuning, several types of the
MRAS can be defined

= =
= =
+ = =
+ = =
=
r r r s r
r r r s r
r r r r r
r r
r r r
e e e dt i d e
e e e i e
je e e e e
j
with ) / Im(
with ) Im(
with ) Im(
with ) Im(
*
4
*
3
*
2
*
1



(5.14)

where denotes the quantities estimated by the AM

*
denotes conjugate complex quantities.

Basic features of MRAS speed estimation algorithms given by Eq.5.x are
summarized in Tab. 5.3. The
3
algorithm is insensitive to stator resistance changes
and, therefore, seems to be most attractive. Also, it has been shown that when for
rotor FOC schemes the same value of T
r
as in the MRAS speed observer is used, then
5. Speed estimation of induction motor
109

the drive system will be robust to the T
r
changes as well. Another
4
algorithm is
insensitive to leakage reactance x

changes. However, it requires calculation of stator


current i
s
derivative, which in PWM inverter fed IM is strong noisy signal.
Finally, it should be pointed out that MRAS based structures also create basics
for Artificial Intelligence estimators, which are discussed in the next section 5.2.4.

Table 5.3.
MRAS speed estimation algorithms

Adaptation criterion Parameter
sensitivity
Computational
requirements
Remarques

1

) Im(
*
1
r r
=

r
s
, x

, T
r
,
r
M
x
x


High

Initial
condition and
drift problem
(pure
integration)

2

) Im(
*
2 r r
e e =

r
s
, x

, T
r
,
r
M
x
x


Medium

No pure
integration
problem

3

) Im(
*
3 s r
i e =

x

, T
r
,
r
M
x
x


Low

r
s
effect is
eliminated


4

) / Im(
*
4
dt i d e
s r
=

r
s
, T
r
,
r
M
x
x


Medium

x

effect is
eliminated



5.2.4. Estimators based on Artificial Intelligence (AI)

There are many possibilities of using AI based speed estimators. One can use ANN
approach or neuro-fuzzy or fuzzy logic schemes. In this thesis only the ANN based
estimators are described.
ANN speed estimators have the following advantages compare to the classical
solutions:
The calculation time can be shorter, because of the parallel processing,
The system can calculate almost correctly, even if the information is not complete
(redundancy of the system)
5. Speed estimation of induction motor
110

The ANN can work as low pass filter, so one do not need the additional filters,
The development time of such an estimator is rather short comparing to classical
solutions,
The systems based on ANN are robust to parameter variations and noise.

The block diagram of sensorless control of induction motor based on ANN
speed estimation is shown in Fig.5.7. The speed command signal
mc
is compared
with estimated value
m
and the error is delivered to the speed controller. As input
signals to the ANN speed estimator are stator voltage and current vectors. The actual
speed
m
is measured by tachogenerator for testing only.
NN Based
Speed
Estimator
Speed &
Vector
Controller
+
-

mc

m

i
s
u
s
IM
u
d
VSI

m


Fig.5.7. Sensorless control of PWM inverter-fed IM based on ANN speed estimator

One can use the ANN estimator in on-line and off-line fashion. In the system,
which works on-line the ANN is used as MRAS, and mechanical speed is
proportional to weights of this neural network. The block diagram is very similar to
Fig.5.6 and it is shown in Fig.5.8.

5. Speed estimation of induction motor
111

Reference
Model

u
s
ANN
i
s
i
s
Learning
Algorithm

^
m
x
x



Fig.5.8. Block scheme of an on-line ANN based speed estimator

As Adaptive Model the one layer linear ANN is used. More detailed description of
this approach is shown in the next section.
In the off-line approach a three-layer feedforward ANN is used, and the
mechanical speed is the output of the neural network. The input vector to the ANN
could be as follows:

T
s s s s
s s s s in
k i k i k i k i
k u k u k u k u
] ) 1 ( ) 1 ( ) ( ) (
) 1 ( ) 1 ( ) ( ) ( [

=


x
(5.15)

The block diagram of this approach is presented in Fig. 5.9.

Because of the its simplicity, and the advantages of an ANN in the further part
of this thesis only approaches based on ANN are detailed described and used in real
system.

5. Speed estimation of induction motor
112

IM

m
^

mc
u
s
(k) i
s
(k)
i
s
(k)

rc
-
+
Control Inverter
ANN based
speed
estimator
Z
1
Z
1
i
s
(k-1)
u
s
(k-1)
u
s
(k)


Fig.5.9. Block scheme of an off-line ANN based speed estimator

5. Speed estimation of induction motor
113

5.3. ANN based speed estimators

5.3.1. Speed estimators with on-line ANN

In this part of the thesis three methods based on an on-line ANN is presented. The
first approach has been originally published by Ben-Brahim and Kurosawa [130] and
is based on two flux models. The second method is a small modification of the first
one, but with big improvement in the length of the learning time.
The third method is the new method originally invented by the author, and is
based on stator current calculations.

5.3.1.1. Method based on two flux models

The concept proposed in [130] is based on two independent rotor flux simulators
[12]:
- voltage model

T
N
(d
ru
/dt) = (x
r
/x
M
)[u
s
- r
s
i
s
- x
s
T
N
(di
s
/dt)] (5.16)

- current model

T
N
(d
ri
/dt) = [-(T
N
/T
r
) + j
m
]
ri
+ (T
N
x
M
/T
r
) i
s
(5.17)

where:
T
r
= (T
N
x
r
/r
r
) rotor time constant,
T
N
= (1/2F
SN
) = (1/ 250 Hz) nominal time constant,
= 1- (x
M
x
M
/x
r
x
s
) leakage factor.

The block diagram of the NN speed estimator is shown in Fig.5.10.

5. Speed estimation of induction motor
114

Flux Model
+
-
i
s
u
s
Neural Netwok
with
Weight
m
^

ru


ri
z
-1


Fig.5.10 . Block diagram of the NN based speed estimator

The discrete current model of rotor flux one can calculate from Eq.5.17.

ri
(k) = [(1-T
s
/T
r
)+j
m
T
s
/T
N
]
ri
(k-1)+(T
s
x
M
/T
r
) i
s
(k-1) (5.18)

where T
s
is the sampling time.
The model based on Eq.5.18 is similar to neural network. One weight is proportional
to mechanical speed, and the output is
ri
[130].

ri
(k) = w
1

ri
(k-1) + w
2
j
ri
(k-1) + w
3
i
s
(k-1) (5.19)

The error output is given by

e(k) =
ri
(k) -
ru
(k) (5.20)

Therefore, to calculate estimated mechanical speed
m
one can use back propagation
training algorithm [144].
The ANN in this case has very simple form and is presented in Fig.5.11.

5. Speed estimation of induction motor
115

W1
W3
W2
LA

m
^
x
1
x
2
x
3
_
_
x
1
=
R
x
2
R
=
j
x
3
= i
s
(k-1)
(k-1)
(k-1)
_
_
_



Fig.5.11. Structure of linear ANN used in on-line speed estimation method

Using back propagation learning method one can get following formula:

2
2 2 2

) (
w
T
T
w e e w w
s
N
m
ri ri
=
+ + =



(5.21)

where is called learning rate and - momentum factor.
Note, that one can use the same NN to estimate T
r
instead of mechanical speed.




5. Speed estimation of induction motor
116

5.3.1.2. Improved method based on two flux models

In this method in contrast to the method presented in 5.3.1.1, the block diagram of NN
based speed estimator is a little bit different. The improvement is presented in
Fig.5.12, and it implies much better behavior of this estimator.

Flux Model
+
-
i
s
u
s
Neural Network
with
Weight
m

ri


ru
Z
1


Fig.5.12 . Block diagram of the modified NN based speed estimator

5.3.1.3. Method based on current estimation error

The new method presented in this paper is based on stator current calculation:

s s s
r r
N M
r m
r
N
r
M s
s
u i r
T x
T x
j
T
T
x
x
dt
i d
x +
|
|

\
|
+
|
|

\
|
=
2
(5.22)

This equation one can use to calculate the estimate value of stator current, using
Eq.5.16 to obtain rotor flux value.



5. Speed estimation of induction motor
117

Flux estimation
i
s
u
s
+
-
Neural Network
with weight
m
^
z
-1
z
-1
i
s
i
s
i
s
r
^

Fig. 5.13. Block diagram of the new NN based speed estimation method


W1
W3
W2
LA

m
^
x
1
i
s

W4
x
3
x
4
x
2
x
4
= u
s
(k-1)
x
1
=
R
x
2
R
=
j
x
3
= i
s
(k-1)
(k-1)
(k-1)
_
_
_
i
s
_
^


Fig.5.14. Structure of linear ANN used in new on-line speed estimation method



5. Speed estimation of induction motor
118

Therefore, the discrete model of stator current is as follows:

) 1 ( ) 1 (

1
1
) 1 ( ) (

2
+
(
(

|
|

\
|
+
+
|
|

\
|
=
k u
x T
T
k i
T
T
r
T x
T x
x
k
T
T
j
T
T
x x
x
k i
s
s N
s
s
N
s
s
r r
s M
s
r
N
s
m
r
s
s r
M
s

(5.23)

This equation can be rewrite in NN form, with one weight proportional to mechanical
speed
m
.

) 1 ( ) 1 ( ) 1 ( ) 1 ( ) (

4 3 2 1
+ + + = k u w k i w k j w k w k i
s s
r r
s
(5.24)

The block scheme of new calculation method of speed estimation based on Eq.5.23 is
presented in Fig. 5.13. The linear ANN is shown in Fig. 5.14.

Note that current estimation error

) ( ) (

) ( k i k i k e
s s
= (5.25)

is used to NN tuning.
Therefore, one can calculate estimated speed using the following formula:

2
2 2 2

) (
w x
x
x
T
T
w e e w w
s
M
r
s
N
m
ri ri



=
+ + =
(5.26)

Instead of estimate mechanical speed, using this NN one can estimate motor
parameters.



5. Speed estimation of induction motor
119

5.3.1.4. Comparison of two presented methods

The structure of the new method described in 5.3.1.3. is similar to the method
presented in 5.3.1.1 [130]. The differences are as follows:
a) different error signals for NN tuning,
b) more NN weights in new method,
c) NN depends on more number of motor parameters in new method.
d) using above approaches to estimate motor parameters, more information we can
get from the new method (especially information about stator resistance, which
can be used to parameter adaptation, as is shown in next chapter).




6. ANN sensorless Field Oriented Conrol of IM
120

6 ANN SENSORLESS FIELD ORIENTED CONTROL OF IM

6.1 Principles of field oriented control (FOC)

6.1.1 Introduction

In this chapter the short description of vector control will be presented. The field
orientation concept (vector control) [126, 122] is widely used for high-performance
control of ac motors. The main feature of field oriented approach is to enable
decoupling control of torque and flux similar to the control of a separately excited dc
motor.
In the further part the block diagrams of direct and indirect FOC will be described,
and the design of current and speed controllers will be shown.

6.1.2 FOC description

The principle of vector control method is based on a mathematical model of induction
motor in the rotating reference coordinate frame. It is very convenient to select the
angular speed of the coordinate system
K
=
s
. In this case the coordinate system is
oriented along the space vector of the rotor flux linkages
r
(see fig. 6.1).
We can assume that:

rx r
r
= = (6.1)
and
0 =
ry
(6.2)

Let us assume, moreover, that it is a cage motor, i.e.

0 = =
ry rx
u u (6.3)
6. ANN sensorless Field Oriented Conrol of IM
121

i
X
Y
i
y
i
x
i
i

s
s
s
s
s



Fig. 6.1. Vector diagram of induction motor

If we for the sake of simplicity omit the equation of stator voltage (current control),
than the rest of equation we can write as:

From these equations, it can be noted, that i
sx
is control signal of rotor flux dynamic
and i
sy
is control signal of electromagnetic torque m, where

sy r
r
M
i
x
x
m = (6.5)
and
r
is a slip frequency.
r
sy
r
M r
m s r
L sy r
r
M m
M
s M
r
r
r
r
r r
N
i
x
x r
m i
x
x
dt
d
T
i x
x
r
x
r
dt
d
T

= =
=
+ =
(6.4)
6. ANN sensorless Field Oriented Conrol of IM
122

The whole description of the motor (with stator voltage equations) can be calculated
as follows:


Where

|
|

\
|
=

r
r
arctan (6.7)

is the phase position of the
r
space vector in - coordinates.
The block scheme, which represents equations Eq. 6.4, is shown in Fig. 6.2.
If we compare this system and the separately excited dc we can note some similarities.
In x-y frame the rotor flux
r
is at rest and is directed along x-axis. If the stator
current rotate with the synchronous angular speed (steady state), then we obtain
motionless vectorial graph in the field coordinates x-y
r
sy
M
r
r
m N
sy
s r
sy sx
M
r
r
sy
r s
r M s r
sx m r m
r s
M
sy
N
sx
s r
sy
M
r
r
sy m sx
r s
r M s r
r
r s
r M sx
N
sx M
r
r
r
r
r r
N
i
x
x
r
dt
d
T
u
x
i i
x
x
r
i
x x
r x r x
i
x x
x
dt
di
T
u
x
i
x
x
r
i i
x x
r x r x
x x
r x
dt
di
T
i x
x
r
x
r
dt
d
T

+ =
+

+
=
+
+ +
+
=
+ =
1

1

2
2 2
2
2
2 2
2
(6.6)
6. ANN sensorless Field Oriented Conrol of IM
123


Fig. 6.2. Block diagram of induction motor in x--y field coordinates


These considerations give us the following analogies:










i
sx
component of the stator current vector in induction motor corresponds
to the exciting current in the separately excited dc motor,
i
sy
component of the rotor current vector in induction motor corresponds
to the armature current in the separately excited dc motor.
6. ANN sensorless Field Oriented Conrol of IM
124

The basic control properties of induction motor can be presented as:




The relationship between i
sx
component and rotor flux
r
is not static. The
dynamic is represented by the first order system with the rotor time
constant T
r
, where:

N
r
r
r
T
r
x
T = (6.8)

therefore, i
sx
component is equal to the magnetizing current

M
r
Mr
x
i

= (6.9)

only in steady state,
The torque m and flux
r
are dependent on the stator current vector i
s
and
cannot be controlled independent,
It is good idea to make decoupling, in such a way, that the change of i
sx

component does not influence on i
sy
component and vice versa. In this case
we can control rotor flux using i
sx
control signal, and torque using i
sy
. If we
additionally keep the value of i
sx
as constant, the situation is analogous to
the separately excited dc motor.
6. ANN sensorless Field Oriented Conrol of IM
125

6.2 Block scheme description

6.2.1 General description

The basics of the field-oriented control have been presented in the previous section.
The main feature of this approach is the coordinate transformation, which allows to
calculate the decoupled field oriented coordinates i
sx
, i
sy
of the vector stator current to
the fixed stator frame i
s
,i
s
:


Depending to the way of rotor flux angle calculations one can distinguish two kinds of
field oriented control:
Direct field oriented control (DFOC) (Fig. 6.3)
Indirect field oriented control (IFOC) (Fig. 6.4)

FIELD
ORIENTED
CONTROLLER
INVERTER
IM
ROTOR FLUX
MEASURMENT OR
ESTIMATION
TACHO

s
REFERENCE
FLUX
REFERENCE
TORQUE
DIRECT FIELD ORIENTED CONTROL
VOLTAGE
CURRENT
m


Fig. 6.3. Structure of direct field oriented control (DFOC)

i
s
= i
sx
cos
s
- i
sy
sin
s
(6.10a)
i
s
= i
sx
sin
s
+ i
sy
cos
s
(6.10b)
6. ANN sensorless Field Oriented Conrol of IM
126


FIELD
ORIENTED
CONTROLLER
INVERTER IM
SLIP
FREQUENCY
CALCULATION

TACHO
VOLTAGE CURRENT
+ +

r

m

s
REFERENCE
FLUX
REFERENCE
TORQUE
INDIRECT FIELD ORIENTED CONTROL

S


Fig. 6.4. Structure of indirect field oriented control (IFOC)


In DFOC system (Fig. 6.3.) the rotor flux vector is directly measured or estimated
from stator voltages and currents. The rotor flux vector angle is then calculated from
the rotor flux coordinates.
In IFOC system (Fig. 6.4.) the rotor flux angle

S
is estimated using the reference
values of flux and torque (the slip frequency model) and the value of mechanical
speed
m
.

S
=

(
m
+
r
) dt ; (6.11)

and

sxc
syc
r
r
r
i
i
x
r
= (6.12)


6. ANN sensorless Field Oriented Conrol of IM
127

6.2.2 Description of block schemes implemented in practice

In previous subsection the general schemes of the direct and indirect field oriented
control have been presented. Now the more detailed description of the control
structure will be discussed.
In the Fig. 6.5 block diagram of DFOC is shown. Note that as speed controller the PI
regulator is used. The current regulators control currents in field oriented frame.
These regulators are decoupled. The structure and the way of tuning these regulators
will be presented in the next section.


V
E
C
T
O
R
M
O
D
U
L
A
T
O
R
IM
~
PI
xy

u
sc
u
sc 1

rc
xy
ABC

S
A
S
B
S
C

u
sin
cos
sin
cos

u
dc
2/3
U , I
i
syc
i
sxc
me
c
u
sxc
u
syc
-
-

-

re
f
r
VSI
cos
sin
i
sx
i
sy

S
FLUX
ESTIMATOR
i
s
i
s
u
sc
u
sc

re
f
PI
r
u
s
u
s
,
D
E
C
O
U
P
L
E
D


P
I
C
U
R
R
E
N
T

C
O
N
T
R
O
L
r
u
sc
u
sc
ref
1
x
M
rc

u


Fig. 6.5. Block scheme of the direct field oriented (DFOC)

In the Fig. 6.6. the block scheme of the indirect field oriented control is presented.
The control blocks are similar to these presented in Fig. 6.5. Only difference is the
way of coordinates transformation calculation as it was mentioned in previous
subsection.
6. ANN sensorless Field Oriented Conrol of IM
128

V
E
C
T
O
R
M
O
D
U
L
A
T
O
R
1/s
IM
~
PI
xy

u
sc
u
sc
1
T i
r sxc
1

rc
xy

ABC

S
A
S
B
S
C
sin
cos
sin
cos

u
dc
2/3
U , I
i
syc
i
sxc
me
c
u
sxc
u
syc
-
-

-

ref

r
VSI
cos
sin
i
s
i
s
i
sx
i
sy

s
rc

S
u
s
,
u
sc
u
sc
D
E
C
O
U
P
L
E
D

P
I
C
U
R
R
E
N
T

C
O
N
T
R
O
L
ref
1
1
XM

u
u
s

u

Fig. 6.6. Block scheme of the Indirect Field Oriented Control (IFOC)
V
E
C
T
O
R
M
O
D
U
L
A
T
O
R
1/s
IM
~
PI
xy

u
sc
u
sc
1
T i
r sxc
1

rc
xy

ABC

S
A
S
B
S
C
cos
sin
cos

u
dc
2/3
U , I
i
syc
i
sxc
me
c
u
sxc
u
syc
-
-

-

ref

r
VSI
cos
si n
i
s
i
s
i
sx
i
sy

s
rc

S
i
s
i
s
u
sc
u
sc
ANN BASED
SPEED
ESTIMATOR
u
sc
u
sc

m
^

m
^
D
E
C
O
U
P
L
E
D

P
I
C
U
R
R
E
N
T

C
O
N
T
R
O
L
L
E
R
S
ref 1
XM
s
s
s
s
s
s

u
u
s

u
u
s
si n

Fig. 6.7. Block scheme of the speed sensorless Indirect Field Oriented Control (IFOC)
with ANN based speed estimator
6. ANN sensorless Field Oriented Conrol of IM
129

In the Fig. 6.7. the block scheme of sensorless indirect field oriented control is shown.
As the speed estimator is used neural network based system described in chapter 5.
This system has been implemented in laboratory. The results obtained in experiments
will be described in the next chapter.


6.3 Design of current controller

6.3.1 Introduction

In this section the design methodology for the current regulators will be presented.
The current regulators are very important part of the field oriented based control
systems (see Fig. 6.5Fig. 6.7). The good dynamic behavior and proper results in
steady state operation are desired to good operation of the whole system.
The review of current regulators has been presented in chapter four. In this section our
interest is limited to the linear PI controllers, and we assume that in the system exists
vector modulator which controls PWM voltage source inverter.


6.3.2 Decoupled current regulators

For decoupled torque and flux control the rotor flux and torque current have to
be properly controlled. The basic requirements for current controllers can be specified
as follows:
Fast response which assure the high dynamics of the system,
Overload protection,
The instantaneous changes of the currents should be controlled,
Load parameter compensation,
Sinusoidal waveform.
In practical implementation the PI regulators are used very often because of their
simple structure, simplicity of tuning process and robustness.
6. ANN sensorless Field Oriented Conrol of IM
130

Unfortunately the x and y stator voltage components are coupled to each other. It
means, that any changes of the voltage component in x (y) axes results in changes of
the both current components (x and y). This implies that the classical design methods
of linear and decoupled systems are not valid.
In Fig 6.8 the decoupling system is presented. The more detailed description of this
system will be presented in the further part of this section.
Due to limited dc voltage of the voltage source inverter the PI controllers have to
include anti windup protections. This kind of protection is achieved by updating only
the integral terms as long as saturation in the voltage is not detected.


PI
anti windup
PI
anti windup
i
sxc
i
syc
i
sx
i
sy
u
sxc
u
syc
-
+
x
x

s

Fig. 6.8. The current controllers with decoupling


6.3.3 Controller design for field oriented IM

In the sake of the current regulators synthesis, it is necessary to make analysis of the
voltage equation of field oriented induction motor.
6. ANN sensorless Field Oriented Conrol of IM
131



The first two equations we can rewrite in complex form:

s
r
m
r
r
r
M
s s
r
sy
M
r
r
s s m s
r
r M s r s
N s
u j
x
r
x
x
i x
i
x
x
r
j
i x j i
x
r x r x
dt
i d
T x
+
|
|

\
|
=
+ +
+
+




2
2 2
(6.14)

and because the last equation in Eq. 6.13 is fulfilled, the equation Eq. 6.14 has the
following form

s
r
m
r
r
r
M
s s s s
r
r M s r s
N s
u j
x
r
x
x
i x j i
x
r x r x
dt
i d
T x
+
|
|

\
|
=
+
+
+




2
2 2
(6.15a)

If we introduce notation

r
sy
M
r
r
m N s
sy
s r
sy sx
M
r
r
sy
r s
r M s r
sx m r m
r s
M
sy
N
sx
s r
sy
M
r
r
sy m sx
r s
r M s r
r
r s
r M sx
N
i
x
x
r
dt
d
T
u
x
i i
x
x
r
i
x x
r x r x
i
x x
x
dt
di
T
u
x
i
x
x
r
i i
x x
r x r x
x x
r x
dt
di
T

+ = =
+

+
=
+
+ +
+
=
1

1

2
2 2
2
2
2 2
2
(6.13)
6. ANN sensorless Field Oriented Conrol of IM
132


2
2 2
s
r
r M s r
im
x x
x
r x r x
r

=
+
=
(6.15b)
finally we obtain

s
r
m
r
r
r
M
s s s im
s
N
u j
x
r
x
x
i x j i r
dt
i d
T x +
|
|

\
|
= + +

(6.16)

Eq. 6.16. can be rewritten in the matrix form:

(
(
(

+
(

+
+
=
(

r m
x
x
r
x
r x
sy
sx
im s
s im
sy
sx
r
M
r
r M
i
i
r sx x
x r sx
u
u




2
(6.17)
Note that this system is coupled because the matrix is not diagonal. Therefore it is
impossible to control both current components separately. In this section the part of
the Eq. 6.17. with the rotor flux will be treated as the constant distortion and will be
not taken into account in the dynamic behaviour investigation. Let us call the output
signals of the v
x
and v
y
respectively. If we omit the part with rotor flux the equation
Eq. 6.17 obtains the following form

(

+
(

=
(

sx s
sy s
y
x
sy
sx
i x
i x
v
v
u
u

(6.18)

and

(

+
+
=
(

sy
sx
im
im
y
x
i
i
r sx
r sx
v
v

0
0
(6.19)

The whole current controller with decoupling in Fig. 6.8 is presented. The matrix
transfer function of the decoupled current controlled induction motor is equal
6. ANN sensorless Field Oriented Conrol of IM
133


I
r sx
r sx
r sx
s G
im
im
im
o
+
=
(
(
(
(

+
+
=

1
1
0
0
1
) ( (6.20)

where I is identity matrix.

6.3.4 Internal model control

6.3.4.1 General description of Internal Model Control

The structure of internal model control is presented in Fig. 6.9. In this approach the
internal model G
i
(s) is used in parallel; with controlled object G
o
(s). Additional the
IMC controller C(s) is used in outer loop. Note that G
o
(s), G
i
(s) and C(s) are transfer
function matrices.


y(t)
r(t)
+
-
C(s) G(s)
G
i
(s)
+
-
u(t)

Fig. 6.9. The basic scheme of IMC regulator

6. ANN sensorless Field Oriented Conrol of IM
134

y(t)
C(s) G(s)
G
i
(s)
G
r
(s)
u(t)
+
+
r(t)
+
Fig. 6.10. Equivalent scheme in classic control structure

There is interesting that this scheme is the special case of the classical control
structure (see Fig. 6.10), where the regulator has the following transfer function.

G
r
(s)=[I-C(s) G
i
(s)]
-1
C(s) (6.21)

Additional we assume that internal model is exactly the same like the controlled
object i.e.

G
i
(s)=G
o
(s) (6.22)
In this case closed-loop system has the following transfer function

G
c
(s)=G
o
(s)C(s) (6.23)

Note, that if we assume the closed loop transfer function as multivariable first orders
system i.e.
I
s
s LP s G
c
+
= =
1
1
) ( ) ( (6.24)

then the behavior of the system is dependent only on one time constant, and the tuning
is very simple.

6. ANN sensorless Field Oriented Conrol of IM
135

6.3.4.2 Design of current loop with internal model approach

In the case of induction motor, after decoupling the open loop transfer function is
defined by equation Eq. 6.20. If we substitute this formula to equation Eq. 6.21 and
assume the closed loop system defined by equation Eq. 6.24, we can obtain

I
s
r sx
s
s G I
s
I s G
im
o r


+
=
+
(

+
=

1
1
) (
1
1
) (
1
1
(6.25)

or in different form

I
s
x
s G
im
r
x
r
(
(
(

+ =

1
1 ) ( (6.26)

It means that to control i
sx
and i
sy
currents we should use the PI controllers with the
same parameters

N
im
ic pc
T
r
x
T
x
K

= = , (6.27)

where the K
pc
is the gain factor of the PI controller, and T
ic
is the time constants of this
controller.
Note that in this case we have the desired transfer function of the closed loop system
(Eq. 6.24) which is useful in tuning of the speed control part. Furthermore because of
this that decoupled system is the first order system, we do not need to use more
complicated regulators. As result the design of PI controller is unique.




6. ANN sensorless Field Oriented Conrol of IM
136

6.4 Design of speed controller

6.4.1 Introduction

In Fig. 6.11 the simplified scheme of the speed controller is shown. The error between
speed reference and measured speed (or estimated speed in the case of speed
sensorless control) is feed to PI regulator which output is torque command. Using the
current controller described in previous section the whole electrical part of induction
motor is reduced to the first order system with time constant .

K
p
T
i
T
M
m
e

mref
K
o


Fig. 6.11. The simplified diagram of speed controller

The mechanical part is represented by the integrator with mechanical time constant,
which is created due the inertia of the rotor. The transfer function of the open loop
system is given by the following formula

( ) s sT
K
s G
M
o
o
+
=
1
) ( (6.28)
The continues PI regulator has the transfer function which is shown in equation

|
|

\
|
+ =
s T
K s G
i
p c
1
1 ) ( (6.29)

In the case of such system very often the symmetry or modulus criterion are used.
6. ANN sensorless Field Oriented Conrol of IM
137

Other method is very good known in classical control theory Ziegler-Nichols method
(in continues case) or similar to this method Takahashi algorithm (in discrete case).

6.4.2 Design methods

6.4.2.1 Symmetry and modulus criterion

The most popular criterions in tuning PI regulators in drive system are symmetry and
modulus criterion. In speed control the symmetry criterion is used more often then
modulus criterion. The parameters of PI controllers tuned using these criterions are
collected in the Table 6.1

Table 6.1. Modulus and symmetry criterions

Modulus
Criterion
Discrete
Modulus
Criterion
Symmetry
Criterion
Discrete
Symmetry
Criterion
K
p
/K
o

2
M
T

s
s M
T
T T
+

2
5 . 0

2
M
T

s
M
T
T
+ 2

T
i
T
M
T
M
-0.5T
s
4 4+2T
s


Where T
s
is the sampling time in discrete regulator.
Note, that in the case of symmetry criterion the additional first order filter of the
reference value is used. Time constant of this filter should be equal T
i
.
For T
M
< 4 the modulus criterion is more useful,
For << T
M
it is better to apply the symmetry criterion.
6.4.2.2 Zigler-Nichols and Takahashi algorithms

Another popular algorithms are Ziegler-Nichols (continues case) and Takahashi
(discrete case). The parameters of P, PI and PID controllers tuned using these
criterions are collected in the Table 6.2 and Table 6.3. respectively.

6. ANN sensorless Field Oriented Conrol of IM
138

Table 6.2. Ziegler-Nichols algorithm
K
p
/K
o
T
i
T
D

P

M
T


PI

M
T
9 . 0
3.3


PID

M
T
2 . 1
2

0.5


Table 6.3. Takahashi algorithm
K
p
/K
o
T
p
/T
i
T
D
/T
p

P
s
M
T
T
+


PI
2
) 5 . 0 (
135 . 0
5 . 0
9 . 0
s
s M
s
M
T
T T
T
T
+


2
) 5 . 0 (
27 . 0
s p
o s M
T K
K T T
+


PID
2
) 5 . 0 (
3 . 0
5 . 0
2 . 1
s
s M
s
M
T
T T
T
T
+


2
) 5 . 0 (
6 . 0
s p
o s M
T K
K T T
+

s p
o M
T K
K T
5 . 0

6.4.2.3 PI and IP controllers

Instead of the PI controller sometimes is better use the IP controller, which is similar
to PI. In this controller only the error signal is integrated and the proportional part is
applied to the output signal (see Fig. 6.12).

K
p
T
i
s
PLANT
r y
K
p

Fig. 6.12. The block diagram of IP controller
6. ANN sensorless Field Oriented Conrol of IM
139

It is easy to show, that IP controller is equivalent to PI regulator with the first order
filter in the input. The equivalent circuit is shown in Fig. 6.13.

PLANT
K
p
T
i
r
T
i
y


Fig. 6.13. The equivalent of IP controller

Note that:
1. The controller tuned by the symmetry could be build using the IP structure
2. Where we add to the remain groups of PI controllers first order filter in the input
we can obtain lower overshooting. This give us the possibility to use IP regulator
with the same tuning criterions like in PI case.

6.5 Rotor and stator resistance adaptation

6.5.1 Introduction

The speed estimator, which is used in the system presented in Fig. 6.7. was
presented in section 5.3. It is easy to see that the following motor parameters have the
influence on this estimator:
Rotor resistance r
r
,
Stator resistance r
s
,
Main inductance x
M
,
Leakage inductance x
s
.
Two of these parameters x
M
and x
s
do not vary with temperature, and can be
measured precisely. Therefore, the main problem is to make speed identification
robust to stator and rotor resistance variations. The solution of this task is to apply the
6. ANN sensorless Field Oriented Conrol of IM
140

same neural network (Eq. 5.23), which was used for speed estimation. Unfortunately,
it is impossible to calculate at the same time instant the value of motor speed and the
rotor resistance (or rotor time constant). The reason of this phenomenon can be
explained based on Fig. 5.13 and Fig. 6.7. It is obvious, that the neural network must
set the value of mechanical speed in the way, which assure correct field-oriented
current transformation. Therefore, the estimated synchronous speed and the load angel
should have the correct value. These conditions we can write in the following form:

r r r r
sx
sy
s s
T T
i
i
tg

) ( and = = = = (6.30)

From these equations we can conclude that:
It is impossible to separate the rotor time constant and slip frequency.
Even, if the rotor time constant is not correct, the current transformation work still
good and there is no influence on the torque production.
The error of the speed in closed loop caused by the rotor time constant mismatch
is as follows:

2
) (

1
r
e
r r r
r
r
m
r r
T
T
e

=
|
|

\
|
= (6.31)

Note, that this error is small, in high speed region with the small value of the load
torque. The influence of the speed and load torque on the speed estimation error is
presented in Fig. 6.14 and Fig.6.15.

6.5.2 Stator resistance adaptation

Stator resistance can be obtained using the same ANN scheme (Fig. 5.13.), which
was constructed to the speed estimation. In this case the Eq. 5.23. can be written as:
6. ANN sensorless Field Oriented Conrol of IM
141


Fig. 6.14. The relative speed estimation error for 1.3 1.15, 0.85, , 7 . 0

=
r
r
r
r
respectively
Motor load torque m
L
=0.2


Fig. 6.14. The relative speed estimation error for 1.3 1.15, 0.85, , 7 . 0

=
r
r
r
r
respectively
Motor load torque m
L
=0.5.

6. ANN sensorless Field Oriented Conrol of IM
142


) 1 ( ) 1 (
1
1
) 1 ( )) 1 ( ) 1 ( ( ) (

+
(

|
|

\
|

+ =
k u
x T
T
k i
T
T
r
x
k
T
T
j k i x k
T
T
x x
x
k i
s
s N
s
s
N
s
s
s
r
N
s
m s M r
r
s
s r
M
s

(6.32)

This equation can be rewrite in NN form, with one weight w
3
including r
s
and one
weight proportional to mechanical speed
m
(w
2
).

) 1 ( ) 1 (
) 1 ( )) 1 ( ) 1 ( ( ) (

4 3
2 1
+
+ + =
k u w k i w
k j w k i x k w k i
s s
r
s M
r
s

(6.33)

It is possible to estimate the mechanical speed and stator resistance in one time, using
back-propagation learning algorithm for the ANN defined by Eq. 6.33, and setting
only weights w
2
and w
3
. This approach gives us the adaptation of the stator resistance
in the following form:

2 1 1
) ( w i e i e r r
s s s s
+ + =

(6.34)

where e is defined by Eq. 5.25 and
1
is the learning rate for stator resistance. This
adaptation should be performed only in low speed region, where the influence of the
stator resistance on the system behaviour is significant. In other situation the
adaptation mechanism should be turn off, because using of this estimator for high
speeds can give not correct value of estimation.

6.5.3 Rotor resistance adaptation

As it was mentioned, it is impossible to estimate rotor resistance and
mechanical speed simultaneously. There are two ways, to omit this problem [135]:
By adding additional ac signal to flux command component
By tracking the changes of stator resistor estimated value.
6. ANN sensorless Field Oriented Conrol of IM
143

The first method is more complicated, and it is not very easy for implementation. The
second approach is very simple, but it has the disadvantage that we must know the
ratio of the values of stator and rotor resistance. The changes of these resistances are
caused by the temperature variations. For this reason, there is the good approximation
to assume that this ratio is constant and equal r
sr
.
The algorithm is as follows:
1) Calculate the estimation of r
s
according to Eq. 6.34.
2) Calculate the estimation of rotor resistance according to
s sr r
r r r = (6.35)

These calculations are performed only in low speed region, where the influence of
stator resistance is more significant. The adaptation process for speed
m
=0.05 and
load torque m
L
=0.2 is presented in Fig. 6.36. and Fig. 6.37.
Note that the above procedure is possible only in the proposed ANN presented in
Fig. 5.14. and not possible in structure proposed in [130] (Fig. 5.11).


Fig. 6.36. The r
r
adaptation process in IFOC system with ANN speed estimator.
Mechanical speed
m
=0.05 and load torque m
L
=0.2
6. ANN sensorless Field Oriented Conrol of IM
144


Fig. 6.37. The r
r
adaptation process in IFOC system with ANN speed estimator.
Mechanical speed
m
=0.05 and load torque m
L
=0.2

7. Simulation and experimental results
145

7. SIMULATION AND EXPERIMENTAL RESULTS


7.1. Introduction

In this chapter the simulation and experimental results obtained in the system
described in Chapter 6 will be shown. The parameters of this system are presented in
Appendix A3. The experimental set-up is described in Appendix A2. The steady state
behaviour as well as the dynamic waveforms will be presented and discussed. The
influence of the learning rate on the speed estimator is shown, and the short
discussion, how to choose this coefficient is made.


7.2. The choice of the learning rate

The influence of learning rate on the NN estimator behaviour in steady state
operation is shown in Fig. 7.1. It can be observed that the higher learning rate causes
bigger ripples in estimated speed. However, the dynamic behaviour of the estimator
with the smaller learning rate could be not correct and the estimated speed could not
follow the real mechanical speed of the induction motor. This situation is presented in
Fig. 7.2., where the dynamic results of the NN speed estimator are shown.
It is possible to conclude that the learning rate should be big enough to achieve fast
response of speed estimator and small enough to avoid big ripples in steady state
operation. In the system, which is presented in this thesis, the value of the learning
rate is assumed =0.1.






7. Simulation and experimental results
146




Fig. 7.1. Influence of learning rate on the NN estimator behaviour in steady state
(=0.02, =0.2, =2.0 from upper to lower figure respectively).
On the left experimental results. On the right simulation results


Fig. 7.2. Influence of learning rate on the NN estimator behaviour in dynamic state
Speed step response: lower fig.-speed from encoder, upper fig.-speed from estimator.
left fig. present results for =0.01, rigth fig. present results for =0.001

7. Simulation and experimental results
147

7.3. Steady state behaviour

The simulation and experimental results obtained in steady state for the system
described in the previous chapter are presented in Fig. 7.3-Fig. 7.20.
The first part of these graphs (Fig. 7.3.-Fig. 7.11) corresponds to the system
with measured speed taken to the feedback and coordinate transformation. These
investigations have been performed to show the behaviour of the FOC system,
without influence of the speed estimation. In these graphs estimated speed, stator
phase current, rotor flux component and electromagnetic torque are shown, for
different values of the mechanical speed and load torque. Note that the bahaviour of
the system in steady state is correct and the simulation results are similar to the
experimental ones.
The second part of graphs (Fig. 7.12-Fig. 7.20) corresponds to the system with
estimated speed taken to the feedback and coordinate transformation. These results
confirm the good behaviour of neural network speed estimator.


Figure 7.3 Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 1 . 0 = ; u p m
L
. 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
148


Figure 7.4 Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 5 . 0 = ; u p m
L
. 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.


Figure 7.5 Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 0 . 1 = ; u p m
L
. 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
149


Figure 7.6. Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 1 . 0 = ; u p m
L
. 2 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.7. Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 5 . 0 = ; u p m
L
. 2 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
150


Figure 7.8. Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 0 . 1 = ; u p m
L
. 2 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.9. Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 1 . 0 = ; u p m
L
. 5 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
151


Figure 7.10. Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 5 . 0 = ; u p m
L
. 5 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.11. Steady state for the induction motor controlled via FOC with the encoder
speed signal taken to feedback and transformation ( u p
m
. 0 . 1 = ; u p m
L
. 5 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
152


Figure 7.12. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 1 . 0 = ; u p m
L
. 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.13. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 5 . 0 = ; u p m
L
. 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux,
4) electromagnetic torque.
7. Simulation and experimental results
153


Figure 7.14. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 0 . 1 = ; u p m
L
. 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.15. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 1 . 0 = ; u p m
L
. 2 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
154


Figure 7.16. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 5 . 0 = ; u p m
L
. 2 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.17. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 0 . 1 = ; u p m
L
. 2 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.
7. Simulation and experimental results
155


Figure 7.18. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 1 . 0 = ; u p m
L
. 5 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

Figure 7.19. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 5 . 0 = ; u p m
L
. 5 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

7. Simulation and experimental results
156


Figure 7.20. Steady state for the induction motor controlled via FOC with estimated
speed signal taken to feedback and transformation ( u p
m
. 0 . 1 = ; u p m
L
. 5 . 0 = ).
Experimental and simulation results:
1) estimated speed, 2) stator phase current, 3) rotor flux component,
4) electromagnetic torque.

In the end of this subsection the rms of speed estimation error divided by the
measured speed in percent (rms%), and the mean value of error modulus divided by
measured speed in percent (jeps%) as the function of mechanical speed in steady state
is presented. Note, from these graphs (Fig. 7.21, Fig. 7.22.), that in the wide range of
the speed region the estimation error is below 1%. Only for the small values of the
speed and the values lying in neighborhood of the
m
=1 p.u., the error is bigger.
In the small speed region the bigger error is caused by the influence of the rotor flux,
which in this region is calculated not precisely.
The other reason of the bigger estimation error is in high-speed region. In this case the
influence of the sampling time caused, that the calculations for faster signals are
performed with the raised error.


7. Simulation and experimental results
157


Fig. 7.21. The rms%=(e
est,rms
/
m
)*100% as the function of the mechanical speed in
steady state.

Fig. 7.22. The jeps%=(e
est,jeps
/
m
)*100% as the function of the mechanical speed in
steady state.
7. Simulation and experimental results
158

7.4. Dynamic behaviour

The simulation and experimental results obtained in dynamic state for the induction
motor controlled via FOC are presented in Fig. 7.23-Fig. 7.40.
The presented graphs, as in previous subsection, are divided into two parts. The first
part of graphs (Fig. 7.23.-Fig. 7.31) corresponds to the system with measured speed,
and the second part (Fig. 7.32-7.40) with the estimated speed, taken to the feedback
and coordinate transformation. The speed step responses and speed reversals are
presented in Fig. 7.23.-Fig. 7.26 and Fig. 7.32.-7.35. respectively. The response time
of the system with estimator is only about 10% longer compare to this one with speed
sensor. Besides, in Fig. 7.27. and Fig.7.36. the load torque step response is drawn. In
these graphs reference and mechanical speed, rotor flux magnitude and
electromagnetic torque are shown. In this case the speed error area is a little bit bigger
in system with estimator. Note, that the bahaviour of the system in dynamic state and
the results confirm the good behaviour of neural network speed estimator.
The rest of graphs (Fig. 7.28-Fig. 7.31 and Fig. 7.37-Fig. 7.40) show the decoupling
of the current controllers in x and y-axes

Figure 7.23. Speed step response for the induction motor controlled via FOC with the
encoder speed signal taken to feedback and transformation ( 1 . 0 0 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) rotor flux amplitude,
4) electromagnetic torque.
7. Simulation and experimental results
159


Figure 7.24 Speed step response for the induction motor controlled via FOC with the
encoder speed signal taken to feedback and transformation ( 6 . 0 0 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.

Figure 7.25. Speed reversal for the induction motor controlled via FOC with the
encoder speed signal taken to feedback and transformation ( 1 . 0 1 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.

7. Simulation and experimental results
160


Figure 7.26. Speed reversal for the induction motor controlled via FOC with the
encoder speed signal taken to feedback and transformation ( 5 . 0 5 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.

Figure 7.27. Load torque step response for the induction motor controlled via FOC
with the encoder speed signal taken to feedback and transformation ( 4 . 0 0 . 0 =
L
m ).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.
7. Simulation and experimental results
161


Figure 7.28. Decoupling in y-axis with the encoder speed signal taken to feedback and
transformation. Experimental results ( 5 . 0 1 . 0 =
sxc
i , time=1s):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.

Figure 7.29. Decoupling in y-axis with the encoder speed signal taken to feedback and
transformation. Experimental results ( 5 . 0 1 . 0 =
sxc
i , time=5ms):
1) x-axis reference current, 2) x-axis current , 3) y-axis reference current ,
4) y-axis current
7. Simulation and experimental results
162


Figure 7.30. Decoupling in x-axis with the encoder speed signal taken to feedback and
transformation. Experimental results ( 3 . 0 3 . 0 =
syc
i , time=1s):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.


Figure 7.31. Decoupling in x-axis with the encoder speed signal taken to feedback and
transformation. Experimental results ( 3 . 0 3 . 0 =
syc
i , time=5ms):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.
7. Simulation and experimental results
163


Figure 7.32. Speed step response for the induction motor controlled via FOC with the
estimated speed signal taken to feedback and transformation ( 1 . 0 0 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) rotor flux amplitude,
4) electromagnetic torque.

Figure 7.33. Speed step response for the induction motor controlled via FOC with the
estimated speed signal taken to feedback and transformation ( 6 . 0 0 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) rotor flux amplitude,
4) electromagnetic torque.

7. Simulation and experimental results
164


Figure 7.34. Speed reversal for the induction motor controlled via FOC with the
estimated speed signal taken to feedback and transformation ( 1 . 0 1 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.

Figure 7.35. Speed reversal for the induction motor controlled via FOC with the
estimated speed signal taken to feedback and transformation ( 5 . 0 5 . 0 =
m
).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.
7. Simulation and experimental results
165


Figure 7.36. Load torque step response for induction motor controlled via FOC with
the estimated speed signal taken to feedback and transformation ( 4 . 0 0 . 0 =
L
m ).
Experimental and simulation results:
1) reference speed, 2) mechanical speed, 3) amplitude of rotor flux,
4) electromagnetic torque.


Figure 7.37. Decoupling in y-axis with estimated speed signal taken to feedback and
transformation. Experimental results ( 5 . 0 1 . 0 =
sxc
i , time=1s):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.

7. Simulation and experimental results
166


Figure 7.38. Decoupling in y-axis with estimated speed signal taken to feedback and
transformation. Experimental results ( 5 . 0 1 . 0 =
sxc
i , time=5ms):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.


Figure 7.39. Decoupling in x-axis with estimated speed signal taken to feedback and
transformation. Experimental results ( 5 . 0 5 . 0 =
syc
i , time=1s):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.

7. Simulation and experimental results
167


Figure 7.40. Decoupling in x-axis with estimated speed signal taken to feedback and
transformation. Experimental results ( 5 . 0 5 . 0 =
syc
i , time=5ms):
1) x-axis reference current, 2) x-axis current, 3) y-axis reference current,
4) y-axis current.

8. Conclusions
168

8. CONCLUSIONS

The research results presented in this thesis based on the simulation and experimental
investigations can be summarized as follows:

In case of the ANN based PWM current controllers:
ANN COMPARATOR
The neural network (ANN) based controllers are an interesting alternative to
the conventional regulators;
The main advantages of the ANN controllers include robustness, learning
ability and insensitiveness to the parameter changes;
The off-line trained multi-layers nonlinear ANN comparator has operation
characteristics similar to the delta modulators. This is because the feedforward
ANN cannot implement characteristic with hysteresis. Therefore, to obtain
comparable accuracy of the current generation as in controller with three
hysteresis comparators much higher switching frequency has to be applied.
The simple perceptron based ANN can be applied instead of the multilayer
ANN. The results obtained in these two models are almost the same.
OPTIMAL MODE ANN
The NN optimal regulator switches only between adjacent active vectors and
zero voltage vectors. There are no 1 transitions in the line to line voltage
which reduces the stress on the inverter switching devices,
The RMS current error of the proposed optimal NN regulator is superior to the
conventional Delta Regulator and the NN regulator presented in Section 4.3.
Three layers feedforward NN is able to regulate PWM inverter output current
very well without on-line calculations needed in the case of the Optimal
Regulator and have almost the same control quality as this optimal regulator.
The off-line NN can work faster, in the hardware implementation based on
microprocessor or DSP system, compare to the Optimal Regulator. From this
reason one can expect possibility of increasing the PWM frequency.
8. Conclusions
169

In case of the ANN based speed estimator

In the case of the sensorless Field Oriented Control (FOC)

Application of artificial NN speed estimators for PWM inverter-fed
induction motors creates many new schemes.
One of the simplest NN estimator schemes is based on combination of
the voltage and current rotor flux estimation proposed in [115].
This thesis shows the possibility of improvement of the classical
scheme, using new structure (Section 5.3). The implementation of the
improved system and new NN method based on digital signal processor
TMS320C31 is presented and experimental results are shown.
The speed tracking by the ANN based estimator is good in steady state
and in dynamical state.
The steady state operation and dynamical behaviour is correct.
There is a very fast torque response,
The system allows the independent control of rotor flux and motor
torque,
There is no problem with start and stop of the system,
Even without speed sensor the system behaviour is correct in low speed
region,
Sensorless FOC of induction motor, described in this thesis, could be
used in the high performance motor drives of the electrical vehicles (for
example hybrid cars) and in the factories, in which the measurement of
the mechanical speed is expensive or even impossible
References
170

REFERENCES

Books and Overview Papers

[1] B. K. Bose, Power Electronics and Variable Frequency Drives. IEEE Press,
1996.
[2] B. K. Bose, Power electronics and electrical AC drives. Englewood Cliffs,
Prentice Hall, 1986.
[3] D. M. Brod and D.W. Novotny, "Current control of VSI-PWM inverters", IEEE
Trans. on Ind. Appl., vol. IA-21, No. 4, pp. 562-570, 1985.
[4] H. W. van der Broeck, H. Ch. Skudelny and G. Stanke, "Analysis and
realization of a pulse width modulator based on voltage space vectors". IEEE
Trans. Ind. Appl., vol. 24, No. 1, pp. 142-150, 1988.
[5] H. Bhler, Einfhrung in die Theorie geregelter Drehstrom-Antriebe, Bd. 1, Bd.
2. Basel - Stuttgart, Birkhauser, 1977.
[6] H. Ertl, J. W. Kolar and F. C. Zach, "Analysis of different current control
concepts for forced commutated rectifier (FCR)" in PCI Conf. Proc., pp.
195-217, 1986.
[7] J. Holtz, W. Lotzkat and A. M. Khambadadkone, "On continous control of
PWM inverters in the overmodulation range including the six-step mode", in
IEEE Trans. on Power Electronics, vol. 8, No. 4, pp.540-553, 1993.
[8] J. Holtz, "Pulsewidth modulation for electronic power conversion", in Proc. of
the IEEE, vol. 82, No. 8, Aug., pp. 1194-1214, 1994.
[9] F. Jenni, D. Wst, Steuerverfahren fr selbstgefhrte Stromrichter. B.G.
Teubner, Stuttgart, 1995.
[10] D. Jouve, J. P. Rognon, D. Roye, "Effective Current and Speed Controllers for
Permanent Magnet Machines: A Survey", in IEEE-APEC Conf., pp. 384-393,
1990.
[11] M. P. Kazmierkowski, M. A. Dzieniakowski, "Review of Current Regulation
Methods for VS-PWM inverters", in IEEE-IECON'94 Conf. Rec., pp. 567-575,
1994.
[12] M. P. Kazmierkowski, H. Tunia, Automatic Control of Converter-Fed Drives.
Amsterdam, ELSEVIER, 1994.
[13] D. C. Lee, S. K Sul and M. H. Park, "Comparison of AC current regulators for
IGBT inverter". PCC'93 Conf. Rec., Yokohama, pp. 206-212, 1993.
[14] W. Leonhard, Control of Electrical Drives. Springer Verlag, Berlin, Second
Edition, 1996.
[15] L. Malesani and P. Tomasin, "PWM current control techniques of voltage
source converters - a survey". IEEE IECON'93 Conf. Rec., Maui, Hawaii, pp.
670-675, 1993.
[16] J. D. M. Murphy and F. G. Turnbull, Control Power Electronics of AC Motors.
Pergamon Press, 1988.
[17] D. W. Novotny and T. A. Lipo, Vector Control and Dynamics of AC Drives,
Clarendon Press, Oxford, 1996.
[18] S. Ogasawara, H. Akagi, A. Nabae, "A novel PWM scheme of voltage inverter
based on space vector theory", EPE Conf., pp. 3.1197-1202, 1989.
References
171

[19] A. Schnung and H. Stemmler, "Static frequency changers with subharmonic
control in conjunction with reversible variable speed a.c. drives". Brown Boweri
Rev., Aug/Sept., pp. 555-577, 1964.
[20] A. M. Trzynadlowski, "An Overview of Modern PWM Techniques for Three-
Phase Voltage Control-led, Voltage-Source Inverters", in Proc. IEEE-ISIE'96,
Warsaw, Poland, pp. 25-39, 1996.

PI and State Feedback Controllers

[21] Y. Baudon, D. Youve and J. P. Ferrieux, "Current control of permanent magnet
synchronous machines. Experimental and simulation study". IEEE Trans.
Power Electronics, vol.7, no.3, pp. 560-567, 1992.
[22] J. H. Choi, B. J. Kim, "Improved Digital Control Scheme of Three Phase UPS
Inverter Using Double Control Strategy", in Proc. APEC, 1997.
[23] J. W. Choi and S. K. Sul, "New current control concept -Minimum time current
control in 3-phase PWM converter". IEEE PESC, pp. 332-338, 1995.
[24] P. Enjeti, P. D. Ziogas, J. F. Lindsay and M. H. Rashid, "A novel current
controlled PWM inverter for variable speed AC drives", IEEE-IAS Conf. Rec.,
Denver, pp. 235-243, 1986.
[25] P. Feller, "Speed control of an ac motor by state variables feedback with
decoupling", in Proc. IFAC on Control in Power Electronics and Electrical
Drives, Lausanne, pp. 87-93, 1983.
[26] J. Holtz and B. Bayer, "Optimal pulsewidth modulation for AC servos and
low-cost industrial drives", in IEEE-IAS Conf. Rec., Houston, pp. 1010-1017,
1992.
[27] D. C. Lee, S. K. Sul and M. H. Park, "High Performance Current Regulator for a
Field-Oriented Controlled Induction Motor Drive", IEEE Trans. Industry Appl.,
Vol. 30, No. 5, 1994.
[28] D. C. Lee, S. K. Sul and M. H. Park, "Novel current regulation for a
field-oriented controlled inductio motor drive". ISPE'92 Conf. Proc., pp.
135-141,1992.
[29] R. D. Lorenz and D. B. Lawson, "Performance of feedforward current
regulators for field oriented induction machine controllers". IEEE Trans. on Ind.
Appl., vol. IA-23, 1987, pp. 537-662.
[30] J. Moerschel, "Signal processor based field oriented Vector Control for an
induction motor drive", in Proc. EPE-Conference, Firenze, Italy, pp.
2.145-2.150, 1991.
[31] L. Norum, W. Sulkowski and L. A. Aga, "Compact realisation of PWM-VSI
current controller for PMSM drive application using low cost standard
microcontroller", in IEEE-PESC Conf. Rec., Toledo, pp. 680-685, 1992.
[32] C. T. Rim, N. S. Choi, G. C. Cho and G. H. Cho, "A Complete DC and AC
Analiysis of Three-Phase Controlled-Current PWM Rectifer Using Circuit D-Q
Transformation", IEEE Trans. Power Electronics, Vol. 9, No. 4, 1994.
[33] T. M. Rowan and R. J. Kerkman, "A new synchronous current regulator and an
analysis of current regulated PWM inver-ters". IEEE Trans. Ind. Appl., vol.
IA-22, no. 4, pp. 678-690, 1986.
References
172

[34] D. Schauder, and R. Caddy, "Current control of voltage-source inverters for fast
four-quadrant drive performance," IEEE Trans. Industry Appl., vol. IA-18, no.
1, pp. 163-171, 1982.
[35] R. B. Sepe and J. H. Lang, "Inverter Nonlinearities and Discrete-Time Vector
Current Control", IEEE Trans. Industry Appl., Vol.30, No.1, 1994.
[36] N. R. Zargari, G. Joos, "Performance Investigation of a Current-Controlled
Voltage-Regulated PWM Rectifer in Rotating and Stationary Frames", in IEEE-
IECON, pp.1193-1198, 1993.

Hysteresis and Sliding Mode Controllers

[37] A. Ackva, H. Reinold and R. Olesinski, "A simple and self-adapting
high-performance current control scheme for three-phase voltage source
inverters". IEEE PESC'92 Conf. Rec., Toledo, pp. 435-442, 1992.
[38] C. Andrieux and M. Lajoie-Mazenc, "Analysis of different current control
systems for inverter-fed synchronous machine". EPE Conf. Rec., Brussels, pp.
2.159-2.165, 1985.
[39] B. K. Bose, "An adaptive hysteresis-band current control technique of a voltage-
fed PWM inverted for machine drive system," IEEE Trans. Ind. Electronics,
vol. 37, no. 5, pp. 402-408, 1990.
[40] M. Carpita and M. Marchesoni, "Experimental Study of a Power Conditioning
System Using Sliding Mode Control", IEEE Trans. Power Electronics, Vol.11,
No. 5, 1996.
[41] T. Y. Chang, T.C. Pan, "A practical vector control algorithm for -based
induction motor drives using a new space vector controller", IEEE Trans. on
Ind. Electronics, vol. 41, No. 1, pp. 97-103, 1994.
[42] C. Chiarelli, L. Malesani, S. Pirondini and P. Tomasin, "Single-phase,
three-level, constant frequency current hysteresis control for UPS applications".
EPE'93 Conf. Rec., Brighton, pp. 180-185, 1993.
[43] T. W. Chun and M. K. Choi, "Development of Adaptive Hysteresis Band
Current Control Strategy of PWM Inverter with Constant Switching
Frequency". IEEE-APEC, San Jos, pp. 194-199, 1996.
[44] E. Gaio, R. Piovan, and L. Malesani, "Comparative analysis of hysteresis
modulation methods for VSI current control," in Proc. IEE Machines and Drives
Conference, (London), pp. 336-339, 1988.
[45] V. J. Gosbell, P. M. Dalton, "Current Control of Induction Motors at Low
Speed", IEEE Trans. on Ind. Appl., vol. 28, no. 2, pp. 482-489, 1992.
[46] S. L. Jung, Y. Y. Tzou, "Sliding Mode Control of a Closed-loop Regulated
PWM Inverter under Large Load Variations", in Proc. IEEE-PESC, 1993.
[47] A. Kawamura and R. G. Hoft, "Instantaneous feedback controlled PWM
inverters with adaptive hysteresis". IEEE Trans. on Industry Applications, Vol.
IA-20, pp. 769-775, 1984.
[48] M. P. Kazmierkowski, M. A. Dzieniakowski and W. Sulkowski, "Novel space
vector based current controllers for PWM-inverters", IEEE Trans. Power
Electronics, vol.6, no.1, pp.158-166, 1991.
[49] M. P. Kazmierkowski, and W. Sulkowski, "A novel vector control scheme for
transistor PWM inverted-fed induction motor drive," IEEE Trans. Ind.
Electronics, vol. 38, no. 1, pp. 41-47, 1991.
References
173

[50] B.-H. Kwon, T.-W. Kim, and J.-H. Youn, "A Novel SVM-Based Hysteresis
Current Controller", IEEE Trans. on Power Electronics, vol. 13, No. 2, pp. 297-
307, 1998.
[51] M. Lajoie-Mazenc, C. Villanueva and J. Hector, "Study and implementation of
hysteresis control inverter on a permanent magnet synchronous machine".
IEEE/IAS Ann. Mtg., Conf. Rec., Chicago, pp. 426-431, 1984.
[52] L. Malesani, P. Mattiavelli, P. Tomasini, "High-performance Histeresis
Modulation Technique for Active Filters", IEEE-APEC'96 Conf., pp. 939-946,
1996.
[53] L. Malesani, L. Rossetto, L. Sonaglioni, P. Tomasin, A. Zuccato, "Digital,
adaptive hysteresis current control with clocked commutations and wide
operating range", IEEE Trans. on Industrial Application, vol.32, No.2, pp.
1115-1121, 1996.
[54] L. Malesani and P. Tenti, "A novel hysteresis control method for current
controlled VSI PWM inverters with constant modulation frequency", IEEE
Trans. on Industry Applications, Vol.26, No.1, pp. 88-92, 1990.
[55] L. Malesani, P. Tenti, E. Gaio, R. Piovan, "Improved current control technique
of VSI PWM inverters with constant Modulation frequency and extended
voltage range", IEEE Trans. on Ind. Appl., Vol. 27, No. 2, pp. 365-369, 1991.
[56] W. Mc Murray, "Modulation of the chopping frequency in dc choppers and
inverters having current hysteresis controllers", IEEE Trans. Ind. Appl., vol
IA-20, no. 4, pp. 763-768, 1984.
[57] I. Nagy, "Novel Adaptive Tolerance Band Based PWM for Field Oriented
Control of Induction Machines", IEEE Trans. on Industrial Electronics, vol. 41,
no. 4, pp. 406-417, 1994.
[58] C. T. Pan and T. Y. Chang, "An improved hysteresis current controller for
reducing switching frequency". IEEE Trans. on Power Electronics, vol. 9, no. 1,
pp.97-104, 1994.
[59] E. Perssen, N. Mohan, B. Ben Banerjee, "Adaptive tolerance-band control of
standby power supply provides load-current harmonic neutralization," in IEEE-
PESC Conf. Rec., (Toledo, Spain), pp. 320-326, 1992.
[60] G. Pfaff, A. Weschta and A. Wick, "Design and experimental results of a
brushless ac servo drive". IEEE Trans. Ind. Appl., vol. IA-22, no. 4,
pp. 814-821, 1984.
[61] A. B. Plunkett," A current controlled PWM transistor inverted drive," in IEEE-IAS,
Ann. Mtg., Conf. Rec., pp. 785-792, 1979.
[62] J. Rodriguez, and G. Kstner, "Nonlinear current control of an inverted-fed
induction machine," Etz-Archiv, vol. 9, no. 8, pp. 245-250, 1987.
[63] C. Rossi and A. Tonielli, "Robust Current Controller for Three-Phase Inverter
Using Finite-State Automation", IEEE Trans. Industrial Electronics, Vol. 42,
No. 2,1995.
[64] N. Sabanovic-Behlilovic, T. Ninomiya, A. Sabanovic and B. Perunicic, "Control
of Three-Phase Switching Converters, A Sliding Mode Approach", in Proc.
IEEE-PESC, pp. 630-635, 1993.
[65] S. Salama and S. Lennon, "Overshoot and limit cycle free current control
method for PWM inverter". in Proc. EPE'91, Firenze, pp. 3.247-3.251, 1991.
References
174

[66] A. Tripathi and P. C. Sen, "Comparative analysis of fixed and sinusoidal band
hysteresis current controllers for voltage source inverters". IEEE Trand. on
Industrial Electronics, vol. 39, no.1, pp. 63-73,1992.
[67] K. Tungpimolrut, M. Matsui and T. Fukao, "A simple limit cycle suppression
scheme for hysteresis current controlled PWM-VSI with consideration of
switching delay time". IEEE/IAS Ann. Mtg., Conf. Rec., Houston, pp.
1034-1041,1992.
[68] D. Wst and F. Jenni, "Space vector based current control schemes for voltage
source inverters". IEEE PESC'93 Conf. Rec., Seattle, pp. 986-992, 1993.
[69] Q. Yao and D. G. Holmes, "A simple, novel method for
variable-hysteresis-band current control of a three phase inverter with constant
switching frequency". IEEE/IAS Ann. Mtg. Conf. Rec., pp. 1122-1129, 1993.

Delta Modulation Controllers

[70] D. M. Divan, G. Venkataramanan, L. Malesani and V. Toigo, "Control
strategies for synchronized resonant link inverters". IPEC'90, Conf. Rec.,
Tokyo, pp. 338-345, 1990.
[71] M. A. Dzieniakowski and M. P. Kazmierkowski, "Microprocessor-based novel
current regulator for VSI-PWM inverters". IEEE/PESC Conf. Rec., Toledo, pp.
459-464, 1992.
[72] P. Freere, D. Atkinson and P. Pillay, "Delta current control for vector controlled
permanent magnet synchronous motors". IEEE-IAS'92 Conf. Rec., Houston, pp.
550-557, 1992.
[73] T. G. Habetler and D. M. Divan, "Performance characterization of a new
discrete pulse modulated current regulator". IEEE IAS'88 Conf. Rec., Pittsburgh,
pp. 395-405, 1988.
[74] M. Kheraluwala and D. M. Divan, "Delta modulation strategies for resonant link
inverters". IEEE PESC'87 Conf. Rec., pp. 271-278, 1987.
[75] R. D. Lorenz and D. M. Divan, "Dynamic analysis and experimental evaluation
of delta modulators for field oriented ac machine current regulators". IEEE-
IAS'87 Conf. Rec., Atlanta, pp. 196-201, 1987.
[76] A. Mertens, "Performance analysis of three phase inverters controlled by
synchronous delta-modulation systems," IEEE Trans. Industry Appl., vol. 30,
no. 4, 1994
[77] A. Mertens and H.Ch. Skudelny, "Calculations on the spectral performance of
sigma delta modulators". IEEE-PESC'91 Conf. Rec., Cambridge, pp. 357-365,
1991.
[78] M. A. Rahman, J. E. Quaice, M. A. Chowdry, " Performance Analysis of Delta
Modulation PWM Inverters", IEEE Trans. on Power Electronics, vol. 2, no. 3,
pp. , 1987.
[79] G. Venkataramanan and D. M. Divan, "Improved performance voltage and
current regulators using discrete pulse modulation". IEEE-PESC Conf. Rec.,
Toledo, 1992, pp. 601-606, 1991.
[80] G. Venkataramanan, D. M. Divan, T. M. Jahns, "Discrete Pulse Modulation
Stategies for High Frequency Inverter Systems", IEEE-PESC Conf. Rec., pp.
1013-1020, 1989.
References
175

[81] X. Xu, and D. W. Novotny, "Bus utilisation of discrete CRPWM inverters for
field oriented drives", in IEEE-IAS Ann. Mtg., Conf.Rec., pp. 362-367, 1988.
[82] D. Ziogas, "The delta modulation technique in static PWM inverters," IEEE
Trans. Industry Appl., vol. IA-17, no. 2, pp. 199-204, 1982.

Predictive and On Line Optimized Controllers

[83] L. Ben-Brahim and A. Kawamura, "Digital current regulation of field-oriented
controlled induction motor based on predictive flux observer", in IEEE IAS Ann.
Mtg. Conf. Rec., pp. 607-612., 1990.
[84] L. J. Borle and C. V. Nayar, "Zero Avarage Current Error Controlled Power
Flow for AC-DC Power Converters", IEEE Trans. on Power Electronics, vol.
10, No. 6, pp. 725-732, 1996.
[85] K. P. Gokhale, A. Kawamura and R. G. Hoft, "Dead beat microprocessor
control of PWM inverter for sinusoidal output waveform synthesis". IEEE
Trans. Ind. Appl., vol. IA-23, no. 5, pp. 901-909, 1987.
[86] T. G. Habetler, "A space vector based rectifier regulator for AC/DC/AC
converters", in Proc. EPE Conf., Firenze, pp. 2.101-2.107, 1991.
[87] W. Hofmann, "Practical Design of the Current Error Trajectory Control for
PWM AC-Drives", in Proc. IEEE-APEC, pp. 782-787, 1996.
[88] D. G. Holmes and D. A. Martin, "Implementation of a Direct Digital Predictive
Current Controller for Single and Three Phase Voltage Source Inverters". IEEE-
IAS Ann. Mtg, San Diego, pp. 906-913, 1996.
[89] J. Holtz and B. Bayer, "Fast Current Trajectory Tracking Control Based on
Synchronous Optimal Pulsewidth Modulation", IEEE Trans. Industry Appl.,
Vol.31, No.5. 1995.
[90] J. Holtz, and B. Bayer, "The trajectory tracking approach - a new method for
minimum distortion PWM in dynamic high power drives," IEEE Trans.
Industry Appl., vol. 30, no. 4, 1994.
[91] J. Holtz and E. Bube, "Field oriented asynchronous pulsewidth modulation for
high performance ac machine drives operating at low switching frequency",
IEEE Trans. on Ind. Appl., vol. IA-27, no. 3, pp. 574-581, 1991.
[92] J. Holtz and S. Stadtfeld, "A predictive controller for the stator current vector of
ac machines fed from a switched voltage source", in Proc. IPEC, Tokyo, pp.
1665-1675, 1983.
[93] M. Kassas, M. Wells, M. Fashoro, "Design and simulation of current regulators
for induction motors using the error magnitude voltage vector correction
(EMVVC)" in IEEE-IAS Ann. Mtg., Conf. Rec., pp. 132-138, 1992.
[94] T. Kawabata,T. Miyashita and Y. Yamamoto, "Dead beat control of three phase
PWM inverter". IEEE Trans. Power Electronics, vol. 5, no. 1, pp. 21-28, 1990.
[95] A. Kawamura, T. Haneyoshi and R. G. Hoft, "Deadbeat controlled PWM
inverter with parameter estimation using only voltage sensor". IEEE-PESC,
Conf. Rec., pp. 576-583., 1986.
[96] A. Khambadkone, J. Holtz, "Low switching frequency high-power inverter
drive based on field-oriented pulse width modulation", EPE Conf., pp. 4.672-
677, 1991.
References
176

[97] J. W. Kolar, H. Ertl and F. C. Zach, "Analysis of on- and off-line optimized
predictive current controllers for PWM converter system". IEEE Trans. Power
Electronics, vol. 6, no. 3, pp. 454-462, 1991.
[98] O. Kukrer, "Discrete-Time Current Control of Voltage-Fed Three-Phase PWM
Inverters", IEEE Trans. Power Electronics, Vol. 11, No. 2, 1996.
[99] H. Le-Huy and L. Dessaint, "An adaptive current control scheme for PWM
synchronous motor drives: analysis and simulation", IEEE Trans. on Power
Electronics, Vol. 4, No. 4, pp. 486-495, 1989.
[100] H. Le-Huy, K. Slimani, P. Viarouge, "Analyse and Implementation of a Real-
Time Predictive Current Controller for Permanent-Magnet Synchronous Servo
Drives", IEEE Trans. Industrial Electronics, Vol. 41, No.1, 1994.
[101] I. Miki, O. Nakao, and S. Nishiyma, "A new simplified current control method
for field oriented induction motor drives", in IEEE-IAS Ann. Mtg., Conf.Rec.,
pp. 390-395,1989.
[102] H. R. Mayer and G. Pfaff, "Direct control of induction motor currents - design
and experimental results". EPE Conf., Brussel, pp. 3.7-3.12,1985.
[103] A. Nabae, S. Ogasawara and H. Akagi, "A novel control scheme of
current-controlled PWM inverters", IEEE Trans. on Ind. Appl., vol. IA-2, no. 4,
pp. 697-701, 1986.
[104] D. S. Oh, K. Y. Cho, M. J. Youn, "A Discretized Current Control Technique
with Delayed Voltage Feedback for a Voltage-Fed PWM Inverter", IEEE Trans.
on Power Electronics, Vol. 7, No. 2, pp. 364-373, 1992
[105] G. Pfaff and A. Wick, "Direct current control of ac drives with pulsed frequency
converters". Process Automat., Vol. 2, pp. 83-88, 1983.
[106] S. K. Sul, B. H. Kwon, J. K. Kang, K. J. Lim, and M. H. Park, "Design of an
optimal discrete current regulator", in IEEE-IAS Ann. Mtg., Conf. Rec.,
pp. 348-354, 1989.
[107] R. Wu, S. B. Dewan and G. R. Slemon, "A PWM ac-dc converter with fixed
switching frequency", IEEE Trans. on Industry Applications, vol. 26, no. 5, pp.
880-885, 1990.
[108] R. Wu, S. B. Dewan and G. R. Slemon, "Analysis of a PWM ac to dc voltage
source converter under the predicted current control with a fixed switching
frequency", IEEE Trans. on Industry Applications, vol. 27, no. 4, pp. 756-
764.,1991.
[109] L. Zhang, F. Hardan, "Vector controlled VSI-fed AC drive using a predictive
space-vector current regulation scheme", IEEE-IECON, pp. 61-66, 1994.

Neural Networks and Fuzzy Logic Controllers

[110] Buhl, and R. D. Lorenz, "Design and implementation of neural networks for
digital current regulation of inverter drives", in IEEE-IAS Ann. Mtg., Conf. Rec.,
pp.415-421, 1991.
[111] B. Burton, R. G. Harley, G. Diana, J. R. Rodgerson, " Implementation of a
neural network to adaptively identify and control VSI fed induction motor stator
currents," in IEEE-IAS Ann. Mtg, Conf. Rec., Denver, pp. 1733-1740, 1994.
[112] B. Burton, F. Karman, R. G. Harley, T. G. Habetler, M. A. Brooke and R.
Poddar, "Identification and Control of Induction Motor Stator Currents Using
References
177

Fast On-Line Random Training of a Neural Network," IEEE Trans. on Ind.
Applications, Vol. 33, No. 3, pp. 697-704, 1997.
[113] M. A. Dzieniakowski and P. Z. Grabowski, "Fuzzy Logic Controller with State
Recognation for Three Phase PWM-VSI", in IEEE-ISIE'96 Conf., Warsaw, pp.
438-443, 1996.
[114] M. A. Dzieniakowski, M. P. Kazmierkowski, "Self-tuned Fuzzy PI Current
Controller for PWM-VSI", in Proc. EPE'95, Sevilla, pp. 1.308-1.313, 1995.
[115] F. Harashima, Y. Demizu, S. Kondo and H. Hashimoto, "Application of neural
networks to power converter control". IEEE IAS'89 Conf. Rec., San Diego, pp.
1087-1091, 1989.
[116] Y. Ito, T. Furuhashi, S. Okuma and Y. Uchikawa, "A digital current controller
for a PWM inverter using a neural network and its stability". IEEE-PESC Conf.
Rec., San Antonio, pp. 219-224, 1990.
[117] M. P. Kazmierkowski, D. L. Sobczuk, M. A. Dzieniakowski, "Neural Network
Current Control of VS-PWM Inverters", in Proc. EPE'95, Sevilla, pp. 1.415-
1.420, 1995.
[118] S. S. Min, K. C. Lee, J. W. Song and K. B. Cho, "A fuzzy current controller for
field-oriented controlled induction machine by fuzzy rule". IEEE PESC'92
Conf. Rec., Toledo, pp. 265-270, 1992.
[119] S. Saetieo, D. A. Torrey, "Fuzzy Logic Control of a Space Vector PWM
Current Regulator for Three Phase Power Converters", in Proc. IEEE-APEC,
1997
[120] D. R. Seidl, D. A. Kaiser, R. D. Lorenz, "One-Step Optimal Space Vector PWM
Current Regulation Using a Neural Network", in IEEE-IAS Ann. Mtg, Conf.
Rec., pp.867-874, 1994.
[121] Y. Y. Tzou, "Fuzzy-Tuning Current-Vector Control of a 3-Phase PWM
Inverter", in Proc. IEEE-PESC, pp. 326-331, 1995.

Field Oriented Control

[122] F. Blaschke, "Das Verfahren der Feldorientirung zur Regleung der
Asynchronmaschine", Siemens Forschungs und Ent-wicklungsberichte, 1(1): pp.
184-193, 1972.
[123] R. De Doncker, D. W. Novotny, "The Universal Field Oriented Controller",
IEEE Trans. on Ind. Applications, Vol. 30, No. 1, pp. 92-100, 1994
[124] G. O. Garcia, R. M. Stephan and E. H. Watanabe, "Comparing the Indirect Field
Oriented Control with a Scalar Method. IEEE Trans. on Industrial Electronics,
Vol. 41, No. 2, pp. 201-207, 1994
[125] F. Harashima, "Power Electronics and Motion Control - A Future Perspective",
in Proceedings of the IEEE, vol. 82, no. 8, August 1994, pp.1107-1111.
[126] K. Hasse: "Drehzahlgelverfahren fur schnelle Umkehrantriebe mit strom-
richtergespeisten Asynchron - Kurzchlusslaufer-motoren", Reglungstechnik, 20:
pp. 60-66, 1972.
[127] J. Holtz, "Speed Estimation and Sensorless Control of AC Drives.
IEEE/IECON'93 Conf. Rec., pp. 649-654, 1993
[128] M. P.. Kazmierkowski, W. Sulkowski, "Novel Vector Control Scheme for
Transistor PWM Inverter-Fed Induction Motor Drive," IEEE Trans. on Ind.
Electronics, Vol. 38, No. 1, pp. 41-47, 1991.
References
178

[129] M. P. Kazmierkowski, M. A. Dzieniakowski, "Review of Current Regulation
Techniques for Three Phase PWM Inverters", in Proc. IEEE/IECON'94,
Bologna, pp. 567-575, 1994

Speed Sensorless

[130] L. Ben-Brahim and R. Kurosawa, "Identification of induction motor speed using
neural networks," in PCC-Yokohama, pp. 689-694, 1993.
[131] L. Ben-Brahim, S. Tadakuma, A. Akdag, Speed control of induction motor
without rational transducers, IEEE Trans. On Ind. App, vol 35, No 4, pp. 844-
850, jul/aug 1999.
[132] A. B. Kasprowicz, M. P. Kazmierkowski, S. Kanoza, "Speed Sensorless Direct
Torque Control of DC Link Resonant Inverter-Fed Induction Motor Drive," in
Proc. IEEE Intern. Symposium on Industrial Electronics ISIE'96, Warsaw,
Poland, pp. 186-189, 1996.
[133] M. P. Kazmierkowski, H.-J. Koepcke, "Current source inverter-fed induction
motor drive system controlled without speed sensor," in European Conference
on Power Electronics EPE, Brussels, Belgium, Conf. Rec., pp. 3.345-3.350,
1985.
[134] M. P. Kazmierkowski, M. A. Dzieniakowski, A. B. Kasprowicz, S. Kanoza,
"Speed Sensorless Control of DC Link Resonant Inverter-Fed Induction Motor
Drives," in Proc. PEMC'96, Budapest, Hungary, pp. 110-114 , 1996.
[135] K. Rajashekara et. al.: "Sensorless Control of AC Motor Drives. Speed and
Position Sensorless Operation," IEEE Press, 1996.
[136] Dariusz L. Sobczuk, Pawel Z. Grabowski: DSP Implementation of Neural
Network Speed estimator for Inverter fed Induction Motor, IEEE-IECON
Conference Record, pp. 981-985, 1998
[137] T. Orowska-Kowalska, M. Pawlak, Implementation of Neural Network speed
estimator with help of TMS320C Digital Signal Procesor, EDPE Conf. Rec.,
pp. 292-297, 1999
[138] T. Orowska-Kowalska, P. Migas, Influence of Neural Network structure on
the induction motor speed estimator quality, EDPE Conf. Rec., pp. 23-31, 1999
[139] T. Orowska-Kowalska, M. Pawlak, Induction motor speed estimation based
on neural identification method, Electrimacs Conf. Rec., pp. II-45-II-50, 1999
[140] T. Orowska-Kowalska, P. Wojsznis, Cz. T. Kowalski, Comparative study of
different flux estimators for sensorless induction motor drive, Electrimacs
Conf. Rec., pp. II-51-II-56, 1999

Artificial Neural Networks basics

[141] A. Abdulaziz and M. Farsi: "Dynamic modeling and control for a class of non-
linear systems using neural nets", in Proc. PESC93 , pp.543-547, 1993
[142] Zhou Guozhong, Sun Yaming: A Combined Learning Algorithm for Multi-
Layered Neural Networks, in Proc IEEE-IECON91, pp. 1492-1495, 1991.
[143] T. Fukuda, and T. Shibata, "Theory and application of neural networks for
industrial control," IEEE Trans. on Ind. Electronics, vol. 39, no. 6, pp. 472-489,
1992.
References
179

[144] H. N. Koivo: "Adaptive control and neural networks - Tutorial", in Proc
IECON91, pp. 69-82, 1991
[145] R. P. Lippmann, "An introduction to computing with neural nets," IEEE ASSP
Magazine, April, pp. 4-22, 1987.
[146] T. S. Low, T. H. Lee, and H. K. Lim, "A methodology for neural network
training for control of drives with nonlinearitites," IEEE Trans. on Ind.
Electronics, vol. 39, no. 2, pp. 243-249, 1993.
[147] K. S. Narandera and K. Parthasarathy: "Identification and control of dynamical
systems using neural networks", IEEE Transaction on Neural Networks, vol. 1,
no. 1, pp. 4-27, 1990.
[148] P. E. Raiskila and H. N. Koivo", "Properties of a neural network controller -
Tutorial", IEEE-IECON Conference Record, pp. 84-88, 1991
[149] D. E. Rumelhart and J. L. McClelland, "Parallel Distributed Processing.
Explorations in the Microstructure of Cognition, vol. 1: Foundations, (Chapters
2, 8 and 11)", MIT Press, 1986
[150] S. Shin and H. Nishimura, "Neuro-adaptive control for general nonlinear
discrete-time systems", IEEE-IECON Conference Record, pp. 1454-1458, 1991
[151] J. Tanomaru and S. Omatu, "Process control by on-line trained neural
controllers", IEEE Transaction on Industrial Electronics, vol. 39, no. 6, pp.
511-521, 1992
[152] P. J. Werbos, "Artificial neural networks: General Capabilities and Control
Applications - Tutorial", IEEE-IECON Conference Record, pp. 5-66, 1991
[153] B. Widrow and M. A. Lehr, "30 Years of adaptive neural networks: perceptron,
madaline, and backpropagation", Proceedings of IEEE, vol. 78, no. 9, pp. 1415-
1442, 1990.
A1. Description of the simulation program
180

A1. Description of the simulation program

A1.1. Structure of the Program

Program consist of the following files:
Main file (include parts described in Sections A1.1 - A1.3.) file rootmain.c
Control part (section A1.4) file rootster.c
Configuration and data files files readpar.c, simfile.c
Graphics file simgraph.c
Menu file simmenu.c
Procedure for differential equations solution (RKF45) file rkf45.c

Declaration of variables and procedures are located in following overhead files:
rootdef.h, rootdefe.h, rootmain.h, sim.h, simfile.h, simgraph.h, simmenu.h.
It should be noted that user could modify all source and header files with the first part
of the name root-

A1.2. Configuration and Data Files

A1.2.1. Introduction

The program allows you to read the configuration parameters and data from
one file and write it to other file(s). After the program is run such a parameters and
data as configuration, graphics, load, control, numerical, are read from the following
files:

root.cfg
graph.dat
mot.dat
rootctrl.dat
rootnum.dat
rootint.dat


A1. Description of the simulation program
181

A1.2.2. Configuration File

A1.2.2.1. Listing configuration file root.cfg

# Config file created by C:\USR\ROOT.EXE

graph.dat
mot.dat
rootctrl.dat
rootnum.dat
rootint.dat
root

names
PAGE 1 WINDOW 1
PAGE 1 WINDOW 2
PAGE 1 WINDOW 3
PAGE 1 WINDOW 4
PAGE 2 WINDOW 1
PAGE 2 WINDOW 2
PAGE 2 WINDOW 3
PAGE 2 WINDOW 4

file
time isalf isbet ubet ualf vec nrs

screen 2 2 2 2
time omega_m 1 1 red
time isalf 1 2 red
time me 1 3 red
time psira 1 4 red
psira psirb 2 1 red
isalf isbet 2 2 red
ualfc ubetc 2 3 red
ualf ubet 2 4 red

scale
1 1 0 1.2
1 2 -8 8
1 3 -5 5
1 4 -1.2 1.2
2 1 -1.5 1.5 -1.5 1.5
2 2 -10 10 -10 10
2 3 -3 3 -2 2
2 4 -3 3 -2 2
A1. Description of the simulation program
182

A1.2.2.2. Description of the configuration file root.cfg.

File root.cfg (see Section A1.2.1) includes:
h # comments line;
h names of data files, as: graphic file (graph.dat), induction motor parameters
file (mot.dat), numerical file (rootnum.dat), control file (rootctrl.dat), integer file
(rootint.dat);
h initial name of the file (here for example root) in which (if required by user)
simulation results are stored (program automatically extents the name with three
digits of simulation number: 001, 002, etc.);
h names of graphics windows;
h variables which should by stored in file during simulation;
h number of windows for graphic pages.
For example command: screen 2 2 1 2,
means that there are 2x2 diagrams versus time in graphic window
No 1 (time), and 1x2 function diagram in graphic window No 2;
h axes definitions for diagrams. On the one diagram several function can be
shown, but in the same scale.
For example line: time me 1 3 red,
means that diagram 3 in graphic window No 1 present the torque me versus time,
with red colour.
h scales definition for each axes. For the first graphic page, which present
diagrams versus time, only Y scale is required. For the second page scaling for X
and Y axes should be defined.

A1.2.3. Data files

A1.2.3.1. Listing data files

h File graph.dat with graphic parameters :

A1. Description of the simulation program
183

# parameter file created by C:\USR\ROOT.EXE

graphdrv 1
graphmode 1
npage 1
page_op 1
bkc1 7
bkc2 3
blc -1
ac 1
bc 3
ec 1
hc 9
gc 8
tc 9
pc 1
stc 8
gls 1
gul 17500
flag_hw 4
mlbc 1
mlfc 7
mwidth 15
iwidth 15
dwidth 25
doslines 10
doswidth 50
mboption 1
mbfc 14
mbtc 1
fsg 4
fsm 4
fc 1
mc 14
gridx 1
gridy 1
nxt 5
nyt 10
xnmb 3
ynmb 3
vnmb 3
dstep 10

h File mot.dat with induction motor parameters:

# parameter file created by C:\USR\ROOT.EXE
A1. Description of the simulation program
184


rs 0.0314
xs 2.184
rr 0.0464
xr 2.237
xM 2.133
Tm 0.2
omega_n 314.159
n_s 1
mL 0

h File rootctrl.dat with control parameters:

# parameter file created by C:\USR\ROOT.EXE

ud 2.5
tgen 0.0002
amps 1
ampsin 0.85

h File rootint.dat with integer parameters:

# parameter file created by C:\USR\ROOT.EXE

flag_f 0
npl 0
flag_ctrl 0
flag_dscrt 0
max_nsub 50

File rootnum.dat with numerical data:

# parameter file created by C:\USR\ROOT.EXE

tb 0
te 0.17
tsamp 1e-05
tprint 1e-05
tstop 1e4
relerr 1e-06
abserr 1e-06
omega_m 0.0
psira 0.0
psirb 0.0
isalf 0.0
isbet 0.0
theta 0.0
A1. Description of the simulation program
185

A1.2.3.2. Short description of selected parameters

Most important graphic parameters are:
graphics driver selection:
graphdrv 0 - Hercules
1 - VGA
2 - SVGA16
3 - SVGA256
4 - VESA16
For:
- graphdrv 0 ( Hercules graphics),
following parametr should be set:
- graphmode 0 dla HERCMONOHI 720*348, mono, 2 graphic pages;
- graphdrv 1 (VGA graphics),
following parametr should be set:
- graphmode 0 dla VGALO 640*200, 16 colours, 4 graphic pages;
- graphmode 1 dla VGAMED 640*350, 16 colours, 2 graphic pages;
- graphmode 2 dla VGAHI 640*480, 16 colours, 1 graphic page;
- graphdrv 2 (tzn. SVGA16),
following parametr should be set::
- graphmode 0 dla SVGA 320*200, 16 colours;
- graphmode 1 dla SVGA 640*200, 16 colours;
- graphmode 2 dla SVGA 640*350, 16 colours;
- graphmode 3 dla SVGA 640*480, 256 colours;
- graphmode 4 dla SVGA 800*600, 16 colours;
- graphmode 5 dla SVGA 1024*768, 16 colours;
- graphdrv 3 (tzn. SVGA256),
following parametr should be set:
- graphmode 0 dla SVGA 320*200, 256 colours,
- graphmode 1 dla SVGA 640*400, 256 colours;
- graphmode 2 dla SVGA 640*480, 256 colours;
- graphmode 3 dla SVGA 800*600, 256 colours;
A1. Description of the simulation program
186

- graphmode 4 dla SVGA 1024*768, 256 colours;
Selection of graphic pages number:
- npage = number of pages - 1;
if npage is 0 then we have options:
- page_op 0 without second graphic page;
- page_op 1 second page below the first ones;
- page_op 2 second graphic page on the right relative to the first;
- page_op 3 without first graphic page;
header mode - flag_hw;
grid on/off - gridx, gridy;
number of ticks on axes - nxt, nyt;
number of significant digits on axes and overheads (window title) - xnmb, ynmb,
vnmb;
windows width - ...width (i.e. all variables with this ending);
colours - ...c (i.e. all variables with this ending);
how often the results are displayed - dstep;
Induction motor parameters:
resistances and reactances - rs, xs, rr, xr, xM;
mechanical (acceleration) time constant - Tm;
nominal speed - omega_n;
reference synchronous speed - n_s;
load torque - mL;
Control parameters:
DC link voltage - ud;
triangular carrier period - tgen;
sinus wave amplitude - ampsin;
triangular carrier amplitude - amps;
Integer parameters:
writing to file - flag_f;
number of output file - npl;
A1. Description of the simulation program
187

control selection - flag_ctrl;
discrete or continuous system - flag_dscrt;
maximum steps number in RKF45 numerical procedure - max_nsub;
Numerical parameters:
starting and final simulation time - tb, te;
sampling time - tsamp;
how often results will be written to file - tprint;
simulation stops - tstop;
relative and absolute accuracy of RKF45 numerical procedure - relerr, abserr;
initial values of state variables:
- mechanical angular speed of IM - omega_m;
- rotor flux in alpha-beta coordinates - psira, psirb;
- stator current in alpha-beta coordinates - isalf, isbet;
- position of IM shaft - theta;

A1.3. Description of selected variables

Variable, which we can read from file and change during program execution,
are calculated in each step and can be presented as diagrams (oscillograms) or written
to output file in text format. In the program are integer and real variables.
As example of real variables used in the program are:
Stator flux components in alpha-beta coordinates - psisa, psisb;
electromagnetic torque - me;
inverter output voltages in alpha-beta coordinates - ualf, ubet;
inverter output voltages (3-phase) - uA, uB, uC;
inverter voltage commands in alpha-beta coordinates - ualfc, ubetc;
voltages commands (3-phase)- uAc, uBc, uCc;
stator current amplitude (modulus) - is;
stator currents (3-phase) - iA, iB, iC;
time - time.
A1. Description of the simulation program
188

As example of integer variables used in the program are:
switch states of inverter - d1, d2, d3;
number of applied inverter voltage vector - vec;
number of inverter switchings - nrs;

A1.4. Menu options

The program can change and store selected parameters. In each moment of
execution the program can be stopped (by appropriate button) and arbitrary graphics
and/or simulation parameters can be changed. Also, the results can be observed.
Additionally, each variable or parameter can be seen in edition window. It is possible
to write and read new and old configuration files as well as data files with name given
by user.
Examples of Menu options:
P (or M-P) - activation of parameter window. To change arbitrary parameter,
write the name of the parameter, push Enter and write the new
value.
F (or M-F) - activation of parameter and configuration window sub-menu:
G - write current graphics parameters to file with user defined name;
M - write current induction motor parameters to file with user defined
name;
N - write current numerical parameters to file with user defined
name;
T - write current control parameters to file with user defined name;
I - write current integer parameters to file with user defined name;
C - write all current parameters to files with user defined names. This
option is equivalent to all above and S option;
D - write all current parameters to files with extension dft.
Configuration data are written to the file default.cfg;
S - actualization of configuration parameters in configuration file to
current values;
A1. Description of the simulation program
189

L (or M-L) - activation of reading parameters and configuration file window
submenu:
G - read new graphics parameters from file with user defined name;
M - read new induction motor parameters from file with user defined
name;
N - read new numerical parameters from file with user defined name;
T - read new control parameters from file with user defined name;
I - read new integer parameters from file with user defined name;
C - read new configuration parameters from configuration file with
user defined name;
D - read all parameters from configuration file default.cfg;
S - change configuration parameters to current values existing in
configuration file;
O (or M-O) - activation of changes and view window submenu:
1) name of output file in which variable will be stored during simulation;
2) list of variables which values will be stored during simulation;
3) window variables and coulors of diagrams in selected windows;
4) axes scaling in selected windows;
5) windows names;
Modification of variables according to 2) and 3) can be done using commands as
add, new, del. To remove all window variables, a command clear can be used.
N - change name of output file;
F-W - view of variables, which values will be stored during simulation;
V-W - view of window variables and diagram colours in selected
window;
A-W - view of axes scaling in selected windows;
D-W - view of selected windows names;
O-M - selection (modification) of variables, which values will be stored
during simulation.
For example, to introduce a new variable isalf, write: add isalf
To create a new set of variables, write for example:
new isalf isbet
A1. Description of the simulation program
190

To delete a variable write for example: del isalf
S-M - selection (modification) of window variables and coulors of
diagrams in selected window.
For example to select in window 1 on the 1st graphic page
electro-magnetic torque waveform drawn with red line: select
submenu: Page 1 Window 1,
and than write in edit window: add time me RED
C-M - selection of axes scaling in selected window. For the first graphic
page only Y scale is required (time diagrams) whereas for second
graphic page both X and Y scaling is necessary.
For example to change scale in the 2
nd
window on the 1
st
graphic
page, write: 1 2 -0.5 0.5
And for the 1
st
window of the 2
nd
graphic page, write:
2 1 0 0.15 -0.01 0.01
W-M - change name of selected window.
V(or M-V)- - activation of view window submenu:
1) name of configuration file;
2) names data files;
3) first part of name of output file;
4) all parameters and variables;
5) location of root.exe file in catalog
C -name of current configuration file;
G - name of current graphic parameters file;
R - name of current induction motor parameters file;
N - name of current numerical data file;
T - name of current control data file;
I - name of current integer parameters file;
O - initial name of output file;
P -activation of edit window to view all parameters and variables;
S - location of the file root.exe in catalog.

A1. Description of the simulation program
191

A1.5. Design example using ANN-LAB software

As the example, how to use this program to simulate the ANN optimal mode current
controller (see section 4.4), the algorithm divided in few steps is presented as follows.

A1.5.1. General information about the ANN model:

A1.5.1.1. Limitations

There are some limitations in the ANN structure:
max number of neurons 40
max number of weights 300
max number of inputs 10
max number of outputs 10

A1.5.1.2. ANN structure (file: int.DATA)

Weights description is: w xyz,
where x denoted No. of layer, y denoted No. of input connection, z denoted No. of
output connection
x y z are numbers 0 9

A1.5.1.3. Data scaling:

There are adjustable gain factors on ANN inputs: kr0 - kr9


A1. Description of the simulation program
192

A1.5.2. Off-line trained ANN design procedure for using as PWM Current
Controller

The simulation algorithm consists of the following steps:

A1.5.2.1. Creating a training file: nnf000.asc

Run opt.exe with data file opt.cfg for 3 (or more) values of speed (steady state),
Store the simulation results as files nnf001.asc, nnf002.asc, nnf003.asc (by stetting
flag_f to 1, and variable npl to 1,2,3 respectively)
Create a sum file under DOS:
nnf001.asc+nnf002.asc+nnf003.asc, and change the name of the resulting file to:
nnf000.asc

A1.5.2.2. Training ANN

Execute opt.exe with data file nn3w.cfg for different:
- learning factors eta,
- forgetting factors mu.
Usually training time is about 10 s
Save data (F) and create numerical data (N) file weights.dat
Edit file weights.dat and change the regulation time (tb start and te final time) which
is much shorter compare to training time
A1.5.2.3. Running ANN as PWM Current Controller

Go to file: om3.cfg (or om3a.cfg) and write in the numerical data (3 row) the name
of the new created in point 2 file weights.dat with ANN weights.
Run opt.exe with data file om3.cfg
Observe the performance factors: PSE and PR.
If PSE is lower as 0.75 reaped the procedure and go to point 1.

A1. Description of the simulation program
193

A1.6. Summary

The presented program has following features and advantages:
is written in C language,
fast operation,
high numerical accuracy,
user friendly graphic interface,
simply extending and modification of existing controllers,
easy implementation even complex control structures,
possibility to read and write parameters to files,
flexible graphics configuration,
possibility to change parameters values during simulation.

A2. Laboratory setup
194

A2. Laboratory setup.

A2.1. System configuration

The practical results have been made on the laboratory setup based on the
dSpace board DS1102 which is controlled by Texas Instrument TMS320C31 3rd
generation floating-point Digital Signal Processor (master processor) and the
TMS320P14 (slave processor).
F
e
e
d
b
a
c
k

s
i
g
n
a
l
s
DSP SYSTEM
dSPACE
TMS 320C31
R
S
2
3
2
RS232
Inverter
Host computer
DC motor
Local computer
Tachogenerator
Encoder
Measurement system
R
e
f
e
r
e
n
c
e

s
i
g
n
a
l
s
Induction motor
Reversable
converter

Fig. A2.1 Laboratory setup
A2. Laboratory setup
195

Fig.A2.1 presents the system configuration that consists of the following components:
- Machine kit induction motor and the DC motor as a load,
- 3 phase inverter with IPM modules,
- Reversable converter for DC motor control,
- dSpace DC1102 board inside PC,
- Isolated system between dSpace board and the inverter,
- Measurement system builds on the LEM converters.

A2.2. Inverter

The power circuit contains two Mitsubishi Electric modules: one as a rectifier and
the second one as an inverter based on IGBT transistors. The IPM consists seven
transistors, the extra one works as a security in case to high DC voltage.
B W V U
R1
R2
D1

D2

D3

D4

D5

D6


RELAY 4PST





C1
+

C2
+
C11
1.5u/750V
T1
IGBT



T2
IGBT



T3
IGBT



T7
IGBT



T6
IGBT



T5
IGBT



T4
IGBT



D7











RT1
t
RT3

t
RT2

t

Fig. A2.2 High power circuit

The optic fibbers are used as interface between PWM-VSI and the DSP controller
board, which provide good isolation between dSpace board and inverter. The inverter
parameters are as follows:
- Voltage 1200 V,
- Current 50 A,
- Switching frequency 15kHz,
- Dead time 3s.

A2. Laboratory setup
196

A2.3. dSpace DS1102 board.

The dSPACE is based on the Texas Instrument TMS320C31 3rd generation
floating-point Digital Signal Processor (master processor) and the TMS320P14 (slave
processor). The master processor builds the main processing unit providing fast
instruction cycle time for numeric intensive algorithms. The slave processor is
responsible for PWM signal generation. A PC is used for software development and
the results visualisation.
The dSpace board consists of the following components:
- A/D converters,
- D/A converters,
- I/O circuits,
- Encoder co-operation circuit.

TMS320C31
128kx32
RAM
JTAG
Interface
S
e
r
i
a
l
i
n
t
e
r
f
a
c
e
TMS 320P14
Digital I/O
16-bit ADC 1
16-bit ADC 2
12-bit ADC 3
12-bit ADC 4
12-bit DAC 1
12-bit DAC 2
12-bit DAC 3
12-bit DAC 4
Encoder 1
Encoder 2
A
n
a
l
o
g
/
d
i
g
i
t
a
l

I
/
O

c
o
n
n
e
c
t
o
r
Filter
PC/AT BUS
J
T
A
G
c
o
n
n
e
c
t
i
o
n
PC/AT Interface
Filter

Fig. A2.3 DS 1102 board block scheme
A2. Laboratory setup
197

A2.3.1. The TMS320C31 DSP

The TMS320C31 third generation floating-point DSP is a high performance member
of Texas Instruments TMS320 family of VLSI digital signal processor. It performs
parallel multiply and ALU operations on integers or floating-point numbers in a single
cycle. The TMS320C31 supports a large address space with various addressing modes
allowing the use of high-level languages for application development. Some key
features of the TMS320C31 are:
- 50 ns single cycle instruction execution time,
- object code compatible with the TMS320C30,
- Two 1K x 32-bit dual access on-chip data RAM blocks,
- 64 x 32 bit floating-point/integer multiplier and ALU,
- 32-bit barrel shifter,
- Eight 40-bit accumulators,
- Two independent address arithmetic units,
- 2- and 3- operand instructions,
- Serial port,
- DMA controller for concurrent DMA and CPU operation,
- Four external interrupts,
- Two 32-bit timers.

A2.3.2. A/D Subsystem

The DS1102 contains two types of ACDs:
- Two 16-bit autocalibrating sampling A/D converters with integrated
sample/holds,
- Two 12-bit sampling A/D converters with integrated sample & holds.
All ADCs have single ended bipolar inputs with +-10V input span. All return lines are
connected to system ground.

A2. Laboratory setup
198

Sample
&
Hold
12-bit
A/C
Sample
&
Hold
12-bit
A/D
Sample
&
Hold
16
A/D
+
EEPROM DAC
+
EEPROM DAC
Sample
&
Hold
16 - bit
A/D
calibration
calibration
serial
parallel
serial
parallel
IN
IN
IN
Offset&Gain
calibration
Offset
calibration
IN

Fig. A2.4 Block diagram of the AD subsystem

The DS1102 contains two 16-bit charge redistribution ADCs with integrated
sample/holds. Each of the ADCs contains a 16-bit successive approximation (SAR)
type AD converter, a sample/hold circuit and a microcontroller based autocalibraction
circuit. The converter achieves a conversion time of 10 s. There is also the second
pair 12-bit charge distribution successive approximation ADCs with integrated
sample/hold circuits and a digitally controlled offset calibration units. Each converter
achieves a conversion time of 3 s.

A2. Laboratory setup
199

A2.3.3. D/A Subsystem.

The DS1102 contains a quad 12-bit DAC with programmable output voltage ranges.
The DA subsystem consists of four data registers, four output registers, a mode
register and a strobe bit in the IOCTL register.

Data
register
Data
register
Data
register
Data
register
Output
register
12-bit
D/A
12-bit
D/A
12-bit
D/A
12-bit
D/A
prog. Output
range
prog. Output
range
prog. Output
range
prog. Output
range
Output
register
Output
register
Output
register
Control logic Control
+
+
+
+
EEPROM
&
DAC
offset
calibration
INPUT
Reference
Gain
calibration
O
U
T
P
U
T

Fig. A2.5 Block diagram of the DA subsystem.

The DACs have single ended voltage outputs with +- 10 V span. The return lines of
the outputs are connected to system ground. Each DACs features a set of two back to
back registers, a data register connected to the data inputs and an output register
connected to the DA converter. This allows to sequentially preload new output values
and then to update the DAC outputs simultaneously by copying the contents of the
data registers to the output registers by a common transfer strobe. The DA subsystem
features a digital controlled offset and gain calibration unit. The circuit is intended to
be used to eliminate the offset and gain errors of the DACs. The calibration unit
A2. Laboratory setup
200

consists of an EEPROM device connected to a DAC. It is adjusted during
manufacturing and doesnt need to be changed under normal operating conditions.

A2.3.4. Incremental encoder subsystem.

The DS1102 contains two incremental sensor interfaces to support optical incremental
sensors commonly used in position control. Each interface contains line receivers for
the input signals, a digital noise pulse filter eliminating spikes on the phase lines, a
quadranture decoder which converts the sensors phase information to count-up and
count-down pulses, a 24-bit output latch.
Ph 0
Ph 90
INDEX
DSP INT
Line
receiver
Noise filter
Quadranture
decoder
24-bit position
counter
24-bit output
latch
Line
receiver
25 MHz
RESET STROBE

Fig. A2.6 Block diagram of an incremental encoder interface.

The minimum encoder state width is 120 ns resulting in a maximum count frequency
of 8.3 MHz. Noise pulses shorter than 80 ns are eliminated by the digital noise pulse
filter.
A2.3.5. Software

The control algorithm is done in high level C language. There are also two others
programs made by dSpace: Cockpit and Trace.
Cockpit is a Windows based graphical application purposive to change program
internal variables. This software provide:
- processor memory cell state tracking,
- processor registers and ports state tracking,
- interactive modification of chosen variables.
A2. Laboratory setup
201

DSP MEMORY
D
S
P
a
p
p
l
i
c
a
t
i
o
n
Data
code
DSP MEMORY
D
S
P
a
p
p
l
i
c
a
t
i
o
n
Data
code
C
o
c
k
p
i
t

a
l
l
o
c
a
t
e
d
b
u
f
f
e
r
serwis code
data
buffer
COCKPIT
INACTIVE
COCKPIT
ACTIVE
TRAPU TRAPU
RETS

Fig. A2.7 Implementation of COCKPIT on the DSP

A piece of service code is downloaded to the DSP board (see Fig. A2.7 ). The purpose
of this is to copy the contents of all required variables to a small buffer in the DSP
memory. This buffer can be read as one block of data by Cockpit, so that the
communication between the host computer and the signal processor board is
minimized.

Trace is the Windows based application purposive to presentation all DSP programs
signals and variables. This program can be used as an oscilloscope. The basis function
is the same as a Cockpit program.


A3. Motor parameters
202

A3. MOTOR PARAMETERS


A3.1. Parameters used in Chapter 4

DC link voltage = 2.5 pu

Induction motor parameters data (pu):
r
r
= 0.0464
r
s
= 0.0314
x
r
= 2.237
x
s
= 2.194
x
M
= 2.133
T
M
= 0.4 s

A3.2. Parameters used in Chapter 7

DC link voltage = 1.74 pu

Induction motor parameters data (pu):
r
r
= 0.0543
r
s
= 0.0543
x
r
= 1.96
x
s
= 1.88
x
M
= 1.96
T
M
= 0.1 s

T
s
=350s
A4. Notation
203

A4. NOTATION

A4.1. Symbols

i - current, p.u. value
- i
r
- rotor current space vector
- i
rx
, i
ry
- rotor current vector components of the induction motor in
field-oriented x, y coordinates
- i
r
, i
r
- rotor current vector components of the induction motor in
stationary , coordinates
- i
s
- stator current space vector
- i
sx
, i
sy
- stator current vector components of the induction motor in
field-oriented x, y coordinates
- i
s
, i
s
- stator current vector components of the induction motor in
stationary , coordinates
r - resistance, p.u. value
- r
r
- rotor resistance
- r
s
- stator resistance
T - time constant, absolute value
- T
M
- inertia time constant of the electric motor
- T
N
- nominal time constant
- T
r
- rotor electromagnetic time constant of the induction motor
- T
s
- sampling time
u - voltage, p.u. value
- u
r
- rotor voltage space vector
- u
rx
, u
ry
- rotor voltage vector components of the induction motor in
field-oriented x, y coordinates
- u
r
, u
r
- rotor voltage vector components of the induction motor in
stationary , coordinates


A4. Notation
204

- u
s
- stator voltage space vector
- u
sx
, u
sy
- stator voltage vector components of the induction motor in
field-oriented x, y coordinates
- u
s
, u
s
- stator voltage vector components of the induction motor in
stationary , coordinates
x - reactance, p.u. value calculated for nominal frequency
- x
M
- induction motor main reactance
- x
r
- rotor windings self-reactance
- x
s
- stator windings self-reactance
- x

- total leakage reactance of the induction motor


- neural network learning rate
- flux, p.u. value
-
r
- rotor flux space vector
-
rx
,
ry
- rotor flux vector components of the induction motor in field-
oriented x, y coordinates
-
r
,
r
- rotor flux vector components of the induction motor in
stationary , coordinates
-
s
- stator flux space vector
-
sx
,
sy
- stator flux vector components of the induction motor in field-
oriented x, y coordinates
-
s
,
s
- stator flux vector components of the induction motor in
stationary , coordinates
- total leakage factor
- angular speed, p.u. value
-
m
- angular speed of the motor shaft
-
r
- slip angular speed
-
s
- synchronous angular speed



A4. Notation
205

A4.2. Rectangular coordinate systems

x, y - field-oriented (rotated) coordinates
, - stator-oriented (stationary) coordinates

A4.3. Indices

M - main, magnetizing
m - mechanical
N - nominal value
r - rotor
s - stator

A4.4. Abbreviations

ANN - artificial neural network
DFOC - direct field-oriented control
FOC - field-oriented control
IFOC - indirect field-oriented control
MNN - multilayer neural network
PWM - pulse-width modulation
VSI - voltage-sourced inverter

You might also like