Chapter 7
Chapter 7
Practical Issues
Problem 2.
Conditions
Vd 300V Tdead 3 s
Vd
2
Phase current
−2A
+Gating
−Gating
0 0.9μs 3μs
3 1
Vd Vd
3.6 2 2
Pole voltage
Vd
2
Phase current
−2A
+Gating
−Gating
0 3μs
Problem 3.
s c e
ie
c c idsf
e
e
ds
e s c iqsf
e
i
qs
c
c
idsf
e
c s c e idsf e
Hence, e 2 e
iqsf s 2c s c e e s c e iqsf
2 2
.
Problem 4.
Conditions
Vd 300V f c 5kHz
Three-phase Y connected RL R 1 L 1mH
Vas* 100 cos 200 t V
2
Vbs* 100 cos 200 t V
3
2
Vcs* 100 cos 200 t V
3
Chapter7. Practical Issues
80 I as
60 I as_samp
40
20
Current (A)
-20
-40
-60
-80
-100
0 0.005 0.01 0.015 0.02
Time (s)
2) Plot the instantaneous a-phase current and its sampled one if the current is filtered
for t=0~20ms
(2) Filtered A-phasecurrent sampling
100
80 I as
60 I asf_samp
40
20
Current (A)
-20
-40
-60
-80
-100
0 0.005 0.01 0.015 0.02
Time (s)
3) Plot the instantaneous a-phase current and its sampled one if the current is filtered
and delayed by Tdelay for t=0~20ms
Chapter7. Practical Issues
80
60
40
20
Current (A)
-20 I as
-40 I asf_samp_delay
-60
-80
-100
0 0.005 0.01 0.015 0.02
Time (s)
85
80
Current (A)
75
Ias
Ias_samp
70 Iasf_samp
Iasf_samp_delay
65
60
0.01 0.0102 0.0104 0.0106 0.0108 0.011 0.0112 0.0114 0.0116 0.0118 0.012
Time (s)
Problem 5.
Conditions
R 0.5 L 5mH
bw 200 rad / s Tsamp 300 s
Digital delay Tp 1.5Tsamp
Refer [11] and P7_5.m file.
Chapter7. Practical Issues
1) Calculate the pole of the transfer function when e 60 rad / s and
e 600 rad / s .
The time delay effect can be described by Fig. 7 in [11].
Fig. 7. Complex vector block diagram of a synchronous current regulator without compensation [11]
Using the block diagram in Fig. 7 of [11] of chapter 7, the closed loop transfer function can
be written as follow.
e
idqs GC GX GP
idqs 1 GX GP GC je L
e*
K p s Ki
GC eTsamp
K e , Tsamp
2
s sin
j1.5 T
eTsamp 2
e e samp
1
where GX and K p Lbw
K e , Tsamp 1 sTp
K i Rbw
1
GP
Ls R je L
e
idqs
K p s Ki e
j1.5eTsamp
e*
idqs
sK e , Tsamp 1 sTp Ls R je L K p je L s K i e j1.5eTsamp
From the transfer function above, we can obtain the zero and poles for each e condition.
Zero -100 rad/s
Poles when e 60 rad / s
-2570.2 -375.71i -102.95 -1.3581i -760.15 +188.57i rad/s
Poles when e 600 rad / s
-4038.9 -1509.6i 545.5 -328.27i 60.083 -47.036i rad/s
Chapter7. Practical Issues
200
-200
-400
Imaginary (rad/s)
-600
-800
-1000
zero
-1200 poles when e=60
poles when e=600
-1400
-1600
-5000 -4000 -3000 -2000 -1000 0 1000
Real (rad/s)
Due to this compensation, the closed loop transfer function is changed to as follow.
GC GX GP K e , Tsamp e
e j1.5eTsamp
idqs
1 GX GP GC je L K e , Tsamp e
e* j1.5eTsamp
idqs
K p s Ki
s 1 sTp Ls R je L K p je L s K i
Zero -100 rad/s
Poles when e 60 rad / s
-99.975 -1.0636i -2511.4 -291.81i -821.93 +104.37i rad/s
Poles when e 600 rad / s
-97.754 -9.9855i -2919.4 -2273.2i -416.19 +398.27i rad/s
Chapter7. Practical Issues
500
-500
Imaginary (rad/s)
-1000 zero
poles with compensation when e=60
-2000
-2500
-3000 -2500 -2000 -1500 -1000 -500 0
Real (rad/s)
3) Discuss the effect of the time delay to the performance of the current regulation
The delay caused by the processing and the PWM output results in error at the output
voltage vector not only in magnitude but also in phase. If the switching frequency and
sampling frequency are large enough compared to the synchronous frequency e , the delay
1
effect can be neglected. However, if the ratio between sampling frequency, s ,
2 Tsamp
and synchronous frequency, e , is decreases, the stability of the current control system is
getting worse. And the ratio is further decreases, the system would be unstable.
Problem 6.
1) Derive (7.21), (7.22) and (7.26) [10].
From (3.1) and (3.4),
2 2 2
idse ias cos e ibs cos e ias ibs cos e
3 3 3
2 2 2 2
ias cos e cos e ibs cos e cos e
3 3 3 3
where e et .
A B A B
Using cos A cos B 2sin sin ,
2 2
Chapter7. Practical Issues
2
2 e
2 3 2 2 e 2
idse ias 2sin sin ibs 2sin sin
3 2 3
2 3
2
3 ias sin e 3 ibs sin e
3 3
Using sin A B sin A cos B cos A sin B ,
2
idse ias sin e cos 3 cos e sin 3 ibs sin e
3
2 1 3
ias sin e ias cos e ibs sin e
3 2 2
2 3 1
ias cos e ias ibs sin e
3 2 2
3 1
ias ias ibs
cos e sin
2 2
D 2 e
3 D D
2 2 2
iqse ias sin e ibs sin e ias ibs sin e
3 3 3
Using sin A cos A ,
2
2 2 2
iqse ias cos e ibs cos e ias ibs cos e
3 2 2 3 2 3
2
ias 2 ias ibs ibs 2 sin e
3 2
2
ias 2 ias ibs ibs 2 cos e
3
If the current regulation is perfect, there is no steady state error between reference and
_ AD idqs .
e e*
feedback, that is, idqs
The current reference is given by the relationship Te* KT iqse* . And the real torque is
generated by real current, that is, Te KT iqse .
Chapter7. Practical Issues
Thus the torque error can be defined by the difference between the torque reference and the
real torque, Te Te* Te .
Te KT iqse* iqse
KT iqse _ AD iqse
KT iqse iqse iqse
2
Te KT iqse KT ias 2 ias ibs ibs 2 cos e
3
2) Derive (7.31), (7.32)
Derivation of (7.31)
i idqs
e e
dqs _ AD idqs
e
2
e je (ias _ AD aibs _ AD a 2ics _ AD ) (ias aibs a 2ics )
3
2 je
e ias (1 a 2 ) ibs (a a 2 ) Eq.(3)
3
1 3 3 3 3
i edqs [{ ( ) cos( ) ( )sin( ) ( ) cos(2 e ) ( )sin(2 e )}
3 2 2 2 2
3 3 3 3
{ ( )sin( ) ( ) cos( ) ( )sin(2 e ) ( ) cos(2 e )}]
2 2 2 2
And
ka kb ka kb I 1
i edqs 1 I cos e
sin 2 t
2 sin
2ka kb ka kb 3 3
k k k k I 1
+ j 1 a b I sin a b e
cos 2 t
2 cos
2ka kb ka kb 3 3
Derivation of (7.32)
Chapter7. Practical Issues
Te Te* Te
2 2 Lr
3 P L2m e* e* e e
ids iqs ids iqs
e*
Under the perfect current regulation ids ids
e
_ AD , idqs iqs _ AD .
e* e
e*
Hence, ids = ids
e e
+ids e*
, iqs = iqs
e e
+iqs .
And, Te
3 P L2m e* e*
2 2 Lr
ids iqs (ids
e*
ids
e e*
)(iqs iqs
e
)
3 P L2m
2 2 Lr
ids
iqs iqs
e e*
iqds ids
e e* e
iqs
e
.
Under the assumption that the error current due to scaling is small,
Te
3 P L2m
2 2 Lr
ids
iqs iqs
e e* e e*
ids .
i edqs
*
i edqs _ AD e je i abc
s
_ AD
2
e je (ias _ AD aibs _ AD a 2 ics _ AD )
3
2 je
e ias _ AD (1 a 2 ) ibs _ AD (a a 2 )
3
=I cos( ) jI sin( )
e*
And ids I cos( ), iqs
e*
I sin( ).
Finally, Te
3 P L2m
2 2 Lr
ids
e
I sin( ) iqs
e
I cos( )
(a)
Chapter7. Practical Issues
40
Teref
Torque[N-m]
20 Te
-20
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time[s]
1000
Wrpm
Speed[r/min]
500
-500
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time[s]
- d,q axis current reference, real d-q axis current and measured current
20
10
Current[A]
Ieds ref
0
Ieds
-10
Ieds_AD
-20
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time[s]
30
Ieqs ref
20
Current[A]
Ieqs
10
Ieqs_AD
0
-10
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time[s]
Chapter7. Practical Issues
0.45
0.4
0.35
0.3
Flux[Wb-t]
0.25
0.2 LAMedrref
LAMedr
0.15
0.1
0.05
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time[s]
1.8
1.6
1.4
magnitude [N-m]
1.2
0.8
0.6
0.4
0.2
0
0 5 10 15 20 25 30 35 40 45 50
frequency [Hz]
- Real torque
FFT results of real torque
2
1.8
1.6
1.4
magnitude [N-m]
1.2
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
Chapter7. Practical Issues
1.8
1.6
1.4
1.2
magnitude [A]
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
1.8
1.6
1.4
1.2
magnitude [A]
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
Chapter7. Practical Issues
1.8
1.6
1.4
1.2
magnitude [A]
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
1.8
1.6
1.4
1.2
magnitude [A]
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
Chapter7. Practical Issues
1.8
1.6
1.4
1.2
magnitude [A]
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
1.8
1.6
1.4
1.2
magnitude [A]
0.8
0.6
0.4
0.2
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
Chapter7. Practical Issues
- Flux reference
FFT results of flux ref
0.1
0.09
0.08
0.07
magnitude [Wb-t]
0.06
0.05
0.04
0.03
0.02
0.01
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
- Real flux
FFT results of real flux
0.1
0.09
0.08
0.07
magnitude [Wb-t]
0.06
0.05
0.04
0.03
0.02
0.01
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]
Chapter7. Practical Issues
7
magnitude [r/min]
0
0 10 20 30 40 50 60 70 80 90 100
frequency [Hz]