Professional Documents
Culture Documents
An Introduction to Artificial
Intelligence and Its Applications to
Electric Drives
Dr. Shady Gadoue
Lecturer in Electric machines and Drives, Newcastle University, United Kingdom
E-mail: shady.gadoue@newcastle.ac.uk
http://www.ncl.ac.uk/eece/staff/profile/shady.gadoue
Contributors:
Dr Damian Giaouris, Prof. John Finch, Dr Salah Ethni and Idirs Musa (Newcastle Uni)
Amr Ashoush and Dr Ayman Samy (Alexandria University)
February 2011
TUM, Munich
1
SLED2011
Outline
Introduction to AI Techniques
Artificial Neural Networks
Fuzzy Logic
Genetic Algorithms
Particle Swarm Optimization
Applications of AI in Electric Drives
Controller Design
Sensolress Control of AC Drives
Fault Diagnosis and Fault Tolerant Control
Conclusions
February 2011
TUM, Munich
2
SLED2011
Artificial Neural
Networks
Fuzzy Logic
Applications
Control
Estimation
System Identification
Optimization
February 2011
Genetic
Algorithms
Particle Swarm
optimization
TUM, Munich
3
SLED2011
w1
w3
net
f(net)
x3
Activation
function
Inputs
y f net f wi xi b
i 1
w2
x2
y
+1
xn
Inputs: x1 ,x2,x3,,xn
net
net
Weights w1 ,w2,w3,,wn
Linear
Tan-Sigmoid
-1
net wi xi b w1 x1 w2 x2 w3 x3 ....... wn xn b
i 1
February 2011
TUM, Munich
4
SLED2011
Threshold
+1
b1
w112
o1
w112
w111
x1
w11
x1
b12
y1
y1
External
Inputs
y2
x2
o2
y2
x2
y3
o3
w431
w342
y3
x3
w431
w342
Delay
o4
Multi-layer feedforward NN
Applications
Estimation
System Identification (Static
mapping unless using tapped
delay inputs)
February 2011
Delay
Output
Layer
Recurrent NN
1
x1
w1
x2
w2
w3
Inputs
net
f(net)
x3
n
Hidden
Layer
Input
Layer
Activation
function
Applications
Control
System Identification
(Dynamic mapping)
xn
TUM, Munich
5
SLED2011
Learning algorithm
Unsupervised Learning
Pattern recognition
February 2011
TUM, Munich
6
SLED2011
Back propagation
+
x
error
Input
y^
Neural
Network
E
wij
wij
n: Learning Rate
Learning
Algorithm
February 2011
TUM, Munich
7
SLED2011
Applications
Control
Estimation
System Identification
Optimization
Drawbacks
Lack of design techniques
Computational effort
February 2011
TUM, Munich
8
SLED2011
Fuzzy Logic
Boolean and Fuzzy logic
B Temperatures Temperatures 25
Membership
Function
Boolean
100%
Temperature=24.99 ???
0%
25
February 2011
Temperature
TUM, Munich
9
SLED2011
Temperature=25
100 % Warm
Temperature=24
90 % Warm
Temperature=15
0 % Warm
Fuzzy
100%
0%
15
February 2011
25
Temperature
TUM, Munich
10
SLED2011
Membership Functions
Triangular
Trapezoidal
February 2011
Gaussian
Sigmoidal
TUM, Munich
11
SLED2011
Fuzzy Logic
February 2011
TUM, Munich
12
SLED2011
Automatic Control
Strategy
If-Then Rules
Advantages
Disadvantages
Applications
Nonlinearity
Uncertainty
Imprecision
No Mathematical
Model
Noisy systems
Systems with time
delays
Design techniques
Computational effort
Control
Estimation
System
Identification
Optimization
February 2011
TUM, Munich
13
SLED2011
February 2011
TUM, Munich
14
SLED2011
February 2011
TUM, Munich
15
SLED2011
Genetic Algorithms
Stochastic search technique that mimics the
mechanisms of natural selection.
Based on Evolution theory Survival of the Fittest.
GA is an effective and powerful technique to solve
optimization and search problems.
Advantages
Derivative free
Avoid local minimal
Applications
Optimization
Parameter tuning and estimation
February 2011
TUM, Munich
16
SLED2011
Genetic Algorithms
Start
Create Initial
Population
Generation
=0
Evaluate Fitness
Value
For each
Chromosome
Perform
Selection,
Crossover and
Mutation
Process
Gen = Gen+1
No
Yes
Stop
February 2011
f 200
x1 5 ; x 2 10 0001010
f 125
x1 1 ; x 2 1 1100101
f 2
x1 2 ; x 2 4 0111010
f 20
No copies (Die)
1 copy
2 copies
1 copy
4
3
1
2
Crossover points
Binary String
of individual 1
Binary String
of individual 2
Before Crossover
(Parents)
After Crossover
(Offsprings)
SLED2011
February 2011
TUM, Munich
18
SLED2011
February 2011
TUM, Munich
19
SLED2011
Particle:
Population:
Xi = [xi1,xi2 ,,xid].
pop = [X1, X2,,Xn].
Particle best:
Global best:
Particle velocity:
Vi = [ vi1,vi2,.., vid ].
k 1 x k v k 1
xid
id
id
wmax wmin
k
max
w w
* iter
iter max
February 2011
TUM, Munich
20
SLED2011
Start
End
NO
February 2011
TUM, Munich
21
SLED2011
February 2011
TUM, Munich
22
SLED2011
1. Conventional Methods
a. Trial and Error
b. Ziegler Nichols (Both methods)
c. Frequency Response
d. Root Locus Pole Assignment
February 2011
TUM, Munich
23
SLED2011
February 2011
TUM, Munich
24
SLED2011
Introduction
Why sensorless control?
Sensorless control strategies
MRAS speed observer
Simple implementation
Less computational effort
February 2011
TUM, Munich
25
Contributions andSLED2011
Novelty
February 2011
TUM, Munich
26
Introduction
SLED2011
Reference Model
(Voltage Model)
is
Adaptive Model
(Current Model)
r
+
L
prd r vsD RsisD Ls pisD
Lm
L
prq r vsQ RsisQ Ls pisQ
Lm
r
Adaptation
Mechanism
Adaptation Mechanism
rq rd rd rq
L
1
p rd m isD rd r rq
Tr
Tr
L
1
p rq m isQ rq r rd
Tr
Tr
ki
r (k p )
p
February 2011
TUM, Munich
27
SLED2011
Voltage Model
Current Model
Stator Voltage
Acquisition
Reference voltages
LPF
Nonlinear feedback
Integrator
Inverter
Nonlinearity
Dead Time
Threshold and
voltage drop
r L r vs R s i s dt L s i s
Lm
j
r
r L m i s
T r
T r
28
TUM, Munich
February 2011
SLED2011
Rotor flux NN
MRAS
vs
Reference Model
(Voltage Model)
vs
is
is
Adaptive Model
(Current Model)
NN Flux Observer
Adaptive Model
(Current Model)
r
PI Controller
Conventional MRAS
February 2011
PI Controller
NN MRAS
TUM, Munich
29
SLED2011
Rotor flux NN
MRAS
NN Flux Observer
VM Flux Observer
vsD k
L
prd r vsD RsisD Ls pisD
Lm
L
prq r vsQ RsisQ Ls pisQ
Lm
Pure integration
Parameter sensitivity
Stator voltage acquisition
CM performs well at low speed
No pure integration
vsD k 1
rd (k)
vsQ k
vsQ k 1
isD k
rq(k)
isD k 1
isQ k
isQ k 1
Input Layer
8 Inputs
Hidden Layer
25 Neurons
Output Layer
2 Outputs
CM Flux Observer
L
1
p rd m isD rd r rq
Tr
Tr
L
1
p rq m isQ rq r rd
Tr
Tr
February 2011
TUM, Munich
30
SLED2011
Rotor flux NN
MRAS
Network Structure
Trial error
8-25-2 Multi-layer FF
Network Training
Network Testing
Off-Line training
Using Matlab
Acceptable MSE
February 2011
TUM, Munich
31
SLED2011
Actual
VM
NN
0.5
0
-0.5
-1
-1.5
5.5
6.5
Actual
VM
NN
1
0.5
0
-0.5
-1
-1.5
5.5
6.5
Time (s)
Time (s)
1.5
1.5
Actual
NN
1
0.5
0
-0.5
-1
-1.5
5.5
6.5
Time (s)
TUM, Munich
32
SLED2011
15 kW 4-quadrant
DC Drive
3-phase Inverter
Encoder
7.5 Kw
I.M
C1
C2
DC
Machine
Rectifier Bridge
PWM
TMS320F240
DSP
Host PC
February 2011
ADC DAC
Power PC
400 MHz
TUM, Munich
33
SLED2011
60
40
Motor speed (rpm)
50
Reference
Encoder
Conv MRAS
NN-MRAS
60
40
30
20
20
0
-20
10
-40
0
-60
-10
37
37.5
38
38.5
39
39.5
Time (s)
40
40.5
41
21
21.5
22
22.5
Time (s)
23
23.5
24
SLED2011
2
Psird VM
Psird CM
1.5
1.5
1
d-axis rotor flux (wb)
1
d-axis rotor flux (wb)
Psird NN
Psird CM
0.5
0
-0.5
0.5
0
-0.5
-1
-1
-1.5
-1.5
-2
21
21.5
22
22.5
23
23.5
Conventional MRAS
February 2011
24
-2
21
21.5
22
22.5
23
23.5
24
NN MRAS
TUM, Munich
35
SLED2011
Sensorless Performance
NN-MRAS
Test1: Stair case speed transients from 100rpm to 0rpm to -100 rpm at no
load
Reference
Conv MRAS
Encoder
100
100
50
-50
Reference
NN MRAS
Encoder
50
-50
-100
-100
10
15
20
25
Time (s)
30
Conventional MRAS
February 2011
35
40
10
15
20
25
Time (s)
30
35
40
NN MRAS
TUM, Munich
36
SLED2011
40
40
Reference
Conv MRAS
Encoder
20
Motor speed (rpm)
20
-20
-40
-60
-80
Reference
NN MRAS
Encoder
-20
-40
-60
10
15
20
Time (s)
Conventional MRAS
February 2011
25
30
-80
10
15
20
25
30
Time (s)
NN MRAS
TUM, Munich
37
SLED2011
Conclusion
NN replacing Voltage model Flux observer: NN MRAS
February 2011
TUM, Munich
38
SLED2011
TRs
TLm
Ls Ls Lr Tr
TLm
w2
Ls Lr Tr
w3
TLm
Ls Lr r
w4
T
Ls
w1 1
Z-1
Z-1
isQ (k 1)
isD (k 1)
w
rd (k 1)
rq (k 1)
w3
rq (k 1)
isD (k )
rd (k 1)
w3
isQ (k )
w4
w4
vsQ (k 1)
vsD (k 1)
TUM, Munich
39
SLED2011
Induction Motor
(Reference Model)
is
+
Z-1
-1
Z-1
Neural Network
current observer
(Adaptive Model)
is
r
r
(back-propagation)
w3 (k ) iD (k ) rq (k 1) iQ (k ) rd (k 1)
w3 (k ) w3 (k 1) w3 (k ) w3 (k )
r (k )
Current Model
Lm
1 j
is
r
r
r
Tr
Tr
February 2011
Ls Lr
TLm
w3 (k )
T=200 s
=0.0005
=0.001
TUM, Munich
40
SLED2011
NN-Stator Current
MRAS
vs
Induction Motor
(Reference Model)
is
vs
Induction Motor
(Reference Model)
is
-1
-1
Z
Z-1
Z-1
Neural Network
Current Observer
(Adaptive Model)
is
Neural Network
Current Observer
(Adaptive Model)
is
Learning Algorithm
Current Model
NN-Current MRAS-CM
February 2011
Z-1
Z-1
Learning Algorithm
Neural Network
Flux Observer
NN-Current MRAS-NN
TUM, Munich
41
SLED2011
Experimental Results
40 rpm to 20 rpm step speed at no-load
80
80
Reference speed
Measured speed
Rotor Flux MRAS
70
70
60
Motor speed (rpm)
60
50
40
30
50
40
30
20
20
10
10
0
19
Reference speed
Measured speed
Current MRAS-CM
20
21
22
23
24
Time (s)
25
26
0
19
20
21
22
23
24
25
26
Time (s)
SLED2011
80
Reference speed
Measured speed
Rotor Flux MRAS
60
Motor speed (rpm)
60
40
20
40
20
-20
-20
37
Reference speed
Measured speed
Current MRAS-CM
37.5
38
38.5
39
39.5
Time (s)
40
40.5
February 2011
41
41.5
42
37
37.5
38
38.5
39
39.5
Time (s)
40
40.5
41
41.5
42
TUM, Munich
43
SLED2011
80
60
40
20
0
-20
50
0
-50
-40
-60
-100
40
-80
-100
40
42
44
46
Time (s)
48
50
52
44
46
Time (s)
48
50
52
-CM
rd
-CM
rq
-1
-2
40
February 2011
42
2
Rotor flux componenets (Wb)
Reference speed
Measured speed
Conv MRAS
Current MRAS-CM
100
Reference speed
Measured speed
Rotor Flux MRAS
100
42
44
46
Time (s)
48
50
52
TUM, Munich
44
SLED2011
rd (k)
vsQ k
vsQ k 1
isD k
rq(k)
isD k 1
isQ k
isQ k 1
Input Layer
8 Inputs
February 2011
Hidden Layer
25 Neurons
Output Layer
2 Outputs
TUM, Munich
45
SLED2011
0
-50
42
44
46
Time (s)
48
50
52
rq
-1
42
44
February 2011
46
Time (s)
48
50
0
-50
-100
40
42
44
46
Time (s)
48
50
-CM
rd
-CM
-2
40
50
-100
40
Reference speed
Measured speed
Conv MRAS
Current MRAS-NN
100
Motor speed (rpm)
50
100
52
52
-NN
rd
rq-NN
-1
-2
40
42
44
46
Time (s)
48
50
52
TUM, Munich
46
SLED2011
Sensorless Performance
Using CM Flux Observer
Using NN Flux Observer
200
200
Reference speed
Measured speed
Current MRAS-CM
50
0
-50
-100
100
50
0
-50
-100
10
15
20
25
Time (s)
30
35
-150
40
Reference speed
Measured speed
Current MRAS-CM
100
50
0
10
15
20
25
Time (s)
30
35
40
Reference speed
Measured speed
Current MRAS-NN
100
50
0
-50
-50
-100
150
-150
Reference speed
Measured speed
Current MRAS-NN
150
100
150
-100
10
15
20
Time (s)
25
30
10
15
20
25
30
Time (s)
TUM, Munich
47
SLED2011
Conclusion
TUM, Munich
48
SLED2011
February 2011
TUM, Munich
49
SLED2011
TUM, Munich
50
20
20
18
18
16
16
Rrb
14
Rrc
Rotor resistances
Stator resistances
SLED2011
14
12
10
8
6
4
2
5
13
17
21
25
29
33
10
8
6
4
RsB
2
0
0
1
12
RsA
RsC
Rra
37
13
17
21
25
29
33
37
0.06
0.05
Error (A.s)
0.04
0.03
0.02
0.01
0
1
13
17
21
25
29
33
37
The PSO algorithm successfully identifies the presence of the stator winding fault as
indicated by the high values of RsB, compared with RsA and RsC.
February 2011
TUM, Munich
51
SLED2011
isA c
isA m
-3
0.06
3
0.08
0.1
isB c
0.12
0.14
0.16
0.18
0.2
0.12
0.14
0.16
0.18
0.2
0.12
0.14
time (sec)
0.16
0.18
0.2
isB m
-3
0.06
3
0.08
0.1
isC c
isC m
-3
0.06
0.08
0.1
February 2011
TUM, Munich
52
SLED2011
B
C
February 2011
TUM, Munich
53
SLED2011
1.2
12
LA
RsB
Stator resistances
10
RsC
8
6
4
RsA
LB
LC
0.8
0.6
0.4
0.2
21
41
61
81
101
121
141
161
181
21
41
61
81
101
121
141
161
181
0.9
0.8
0.7
Error (A.s)
0.6
0.5
0.4
0.3
0.2
0.1
0
1
21
41
61
81
101
121
141
161
181
The PSO algorithm successfully identifies the presence of the stator short-circuit
winding fault as indicated by the low value of RsA compared with RsB and RsC and the
low value of LsA compared with LsB and LsC.
February 2011
TUM, Munich
54
SLED2011
12
isA c
isA m
-12
0.1
9
0.11
0.12
isB c
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.2
0.14
0.15
0.16
0.17
0.18
0.19
0.2
0.15
0.16
time (sec)
0.17
0.18
0.19
0.2
isB m
-9
0.1
9
0.11
0.12
isC c
0.13
isC m
-9
0.1
0.11
0.12
0.13
0.14
February 2011
TUM, Munich
55
SLED2011
February 2011
TUM, Munich
56
SLED2011
February 2011
TUM, Munich
57
SLED2011
motor phases.
Lower voltage level per phase leads to lower insulation.
Reduced torque pulsation.
Reduced stator current per phase without increasing the voltage per phase
lowering the dc link current harmonics and higher reliability.
The multi phase machine is a fault tolerant machine.
February 2011
TUM, Munich
58
SLED2011
February 2011
TUM, Munich
59
SLED2011
A1 1
1
I s1 A1 I ph
11
a a
10
ae
2
11
1
A2 I ph
11
A2 1
a10
a9
a8
a7
a6
a5
a4
a3
a2
a1
February 2011
TUM, Munich
60
SLED2011
February 2011
TUM, Munich
61
SLED2011
Conventional method
1.5
1.5
0.5
0.5
MMF, pu
MMF, pu
-0.5
-0.5
-1
-1
-1.5
60
120
180
240
Peripheral Angle, deg
February 2011
300
360
-1.5
60
120
180
240
Peripheral Angle, deg
300
360
TUM, Munich
62
SLED2011
Conventional method
February 2011
GA method
TUM, Munich
63
SLED2011
Conclusions
The paper presents a solution of optimum current distribution following
open phase fault for multi-phase machine using GA.
Comparison with the conventional method shows a good agreement
between both methods for the magnitude of the fundamental MMF and the
required phase current magnitude.
The solution obtained from GA method produces more sinusoidal and
more symmetrical flux distribution.
GA technique can be promoted to solve the problem with higher number
of disconnected phases to avoid complexity of the conventional method.
February 2011
TUM, Munich
64
SLED2011
February 2011
TUM, Munich
65