Está en la página 1de 8

JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX A: THE DQ TRANSFORMATION Page 193


Appendix A.
THE DQ TRANSFORMATION
A.1. Definition
The constant-power dq transformation for a three-phase system is:

+
+
=
2
1
2
1
2
1
)
3
2
sin( )
3
2
sin( ) sin(
)
3
2
cos( )
3
2
cos( ) cos(
3
2


r r r
r r r
dq
T , (A.1)
where
r
is the rotating coordinate angle defined as:
0
0

+ =
t
r
dt , (A.2)
: coordinate angular frequency.

0
: initial position angle of the coordinate axes.
When is constant, such as in applications with direct connection to the utility,
this transformation can be expressed as follows

+ + + +
+ + + +
=
2
1
2
1
2
1
)
3
2
sin( )
3
2
sin( ) sin(
)
3
2
cos( )
3
2
cos( ) cos(
3
2
0 0 0
0 0 0


t t t
t t t
dq
T . (A.3)
JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX A: THE DQ TRANSFORMATION Page 194
A.2. Power Conservative Transformation
The dq transformation is an orthogonal transformation since it accomplishes the
propriety
T 1
dq dq
T T =

. The internal product remains invariable under such kind of


transformation. Thus, given
1 1
x T x
dq r
= and
2 2
x T x
dq r
= , the internal product
> <
r r 2 1
, x x

is:
> < = > < = > < = > < = > <
2 1 2
-1
1 2
T
1 2 1 2 1
, , , , , x x x T T x x T T x x T x T x x
dq dq dq dq dq dq r r
. (A.4)
Similarly, the instantaneous power of a set of three-phase voltages and currents is:
[ ]
ph ph
c
b
a
c b a c c b b a a
i
i
i
v v v i v i v i v p i v
T
=

= + + = , (A.5)
and applying the dq transformation to the variables:
( ) ( )( ) ( )( ) .
T T T 1 T 1 T T
phr phr ph dq dq ph ph dq dq ph ph dq dq ph ph ph
p i v i T T v i T T v i T T v i v = = = = =


(A.6)
In addition, when the sum of the three currents is zero, the homopolar current
component (i
o
) is also zero. Therefore, calculation of the instantaneous power is
simplified as follows:
[ ]
q q d d o o q q d d
o
q
d
o q d phr phr
i v i v i v i v i v
i
i
i
v v v p + = + + =

= = i v
T
. (A.7)
A.3. Transformation of a State-Space-Formulated System
A.3.1. General Application
A three-phase system in the state-space representation can be transformed into
the dq components as in the following. The standard state-space notation is:
u B x A x + =
dt
d
, (A.8)
and the relationship with the transformed variables is:

r dq r dq dq r
x T x T x x T x
T 1
and = = =

. (A.9)
Substituting x from (A.9) into (A.8):
JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX A: THE DQ TRANSFORMATION Page 195
r r r r r
dt
d
u B x A x + = , (A.10)
in which:
. and ,
1 1 1
= =
dq dq r dq dq dq dq r
dt
d
BT T B T T T A T A (A.11)
Solving for the term
1
dq dq
dt
d
T T with the definition of T
dq
given in (A.3):


= =

0 0 0
0 0
0 0
T 1

dq dq dq dq
dt
d
dt
d
T T T T . (A.12)
The new matrices of the transformed system are:
T T
and
0 0 0
0 0
0 0
dq dq r dq dq r
BT T B AT T A =

+ =

. (A.13)
A.3.2. Application to the Three-Level System
The three-level system formulated in (2.22) is:
0
0
0
0
1
1
1
1
0 0
0
1
0
0 0
1
0 0
0 0
0 0
N
c c
b b
a a
c
b
a
c
b
a
v
L
L
L
v e
v e
v e
L
L
L
i
i
i
L
R
L
R
L
R
i
i
i
dt
d

, (A.14)
in which the matrices can be identified as follows:
. and ,
,
1
0 0
0
1
0
0 0
1
,
0 0
0 0
0 0
,
0
0
0
2
0
0
0
1
2 1

= =

=
N
N
N
c c
b b
a a
c
b
a
v
v
v
v e
v e
v e
L
L
L
L
R
L
R
L
R
i
i
i
u u
B B A x
(A.15)
JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX A: THE DQ TRANSFORMATION Page 196
Applying (A.9) and (A.13), the vectors and matrices become:

.
3
0
0
and ,
,
1
0 0
0
1
0
0 0
1
,
0 0
0
0
,
0
2 1
2 1

= =

=
N
r
o o
q q
d d
r
r r r
o
q
d
r
v v e
v e
v e
L
L
L
L
R
L
R
L
R
i
i
i
u u
B B A x

(A.16)
As a result, the new state-space representation of the system is as follows:
0
3
0
0
1
0 0
0
1
0
0 0
1
0 0
0
0
N
o o
q q
d d
o
q
d
o
q
d
v
L
v e
v e
v e
L
L
L
i
i
i
L
R
L
R
L
R
i
i
i
dt
d

. (A.17)
JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX B: THE TWO-DIMENSIONAL SPACE-VECTOR TRANSFORMATION Page 197
Appendix B.
THE TWO-DIMENTIONAL SPACE-VECTOR
TRANSFORMATION
B.1. Definition
The two-dimensional SV transformation is defined as follows:
3
2
3
2
j
c
j
b a
e x e x x x

+ + =
r
, (B.1)
in which the variables x
a
, x
b
and x
c
are a set of three-phase components, either
voltages or currents.
This transformation is sometimes multiplied by the coefficient 2/3 in order
normalize the length of the resulting vector. The coefficient 3 2 is also used.
B.2. Influence of Harmonics in the Vector
A balanced set of three-phase components with addition of a generic h order
harmonic and a common component f(t) is given as:
( ) ( )

+ + + + + =
+

+ + + =
+ + + + =
, ) ( )
3
2
( cos

)
3
2
cos(

and , ) ( )
3
2
( cos

)
3
2
cos(

, ) ( cos

cos

1 1
1 1
1 1
t f h X X x
t f h X X x
t f h X X x
h h c
h h b
h h a


(B.2)
JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX B: THE TWO-DIMENSIONAL SPACE-VECTOR TRANSFORMATION Page 198
which can be also expressed as follows:
( ) ( ) ( ) ( )

+
+
+
+
=
+
+
+
+
=
+
+
+
+
=

+
|
.
|

\
|
+

+
|
.
|

\
|
+
|
.
|

\
|
+ +
|
.
|

\
|
+ +

+
|
.
|

\
|

+
|
.
|

\
|

|
.
|

\
|
+
|
.
|

\
|
+
+ + + +
. ) (
2

and , ) (
2

, ) (
2

3
2
3
2
3
2
3
2
1
3
2
3
2
3
2
3
2
1
1
1 1
1 1
1 1
t f
e e
X
e e
X x
t f
e e
X
e e
X x
t f
e e
X
e e
X x
h h
h h
h h
h j h j
h
j j
c
h j h j
h
j j
b
h j h j
h
j j
a



(B.3)
Applying (B.1) to this set of variables the following expression is obtained:
( )
( )
( )
( )
( )
.
3
2
1 cos 2 1
3
2
1 cos 2 1
2

and
2

3
with ,
1 1
1 1
)
`

|
.
|

\
|
+ + +

|
.
|

\
|
+ =
= + =
+ +
+
h h
h j h j
h
h
j
h
e h e h
X
x
e
X
x x x x



r
r r r r
(B.4)
It can be observed that the common component f(t) has disappeared in the
obtained vector. As a result, in the case of transforming voltages, the reference
potential of v
a
, v
b
and v
c
does not affect the obtained vector. Therefore, the point
taken as a reference for the three variables can be changed with no effect on the
voltage-vector representation.
Triplen order harmonics, h={3, 6, 9, 12, }, have neither influence in the vector,
since 0 =
h
x
r
for these order of components.
Triplen-plus-one order harmonics, or h={4, 7, 10, 13, }, produce direct
rotational vectors with the same frequency as the harmonic, such that:
( )
h
h j
h
h
e
X
x
+
=
2

3 r
, (B.6)
while triplen-minus-one order harmonics, or h={2, 5, 8, 11, }, produce reverse
rotational vectors, as follows:
( )
h
h j
h
h
e
X
x
+
=
2

3 r
. (B.7)

JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX B: THE TWO-DIMENSIONAL SPACE-VECTOR TRANSFORMATION Page 199
B.3. Equivalences in the First Sextant
Assuming no distortion in the scalar components 0

=
h
X 1 h , and 0
1
= , the
resulting vector is represented by:


j
j
c
j
b a
e
X
e x e x x x
2

3
1 3
2
) (
3
2
) ( ) ( = + =

+
r
. (B.8)
An equivalent vector in the first sextant can be found for any vector. These
equivalences are very useful for processing all of the calculations in the first sextant.
The relationships are described in Table B.1.
The equivalent vector in the first sextant can be obtained just interchanging the
scalar variables when applying the two-dimensional transformation. The rotational
direction of the equivalent vector depends on the number of variables that have been
interchanged; thus, if the reference vector is in the 3
rd
sextant or 5
th
sextant, the
equivalent vector in the first sextant is also a direct rotational vector. In contrast, for
2
nd
, 4
th
and 6
th
sextants, the equivalent vector is a reverse rotational vector.
The equivalences given in Table B.1 have the reflexive propriety. Thus,
interchanging the three-scalar components of the equivalent vector in the first sextant
in the opposite direction than in Table B.1, the original vector in the corresponding
sextant is obtained.
JOSEP POU TECHNICAL UNIVERSITY OF CATALONIA

APPENDIX B: THE TWO-DIMENSIONAL SPACE-VECTOR TRANSFORMATION Page 200
Table B.1. Equivalent vector in the first sextant
Reference Vector in the 2
nd
Sextant:
3
2
3


Translation from the 2
nd
Sext. into the 1
st
Sext.:

a b
b a
x x
x x

Equivalent Vector in the 1
st
Sextant:
)
3
2
(
1 3
2
3
2
1
2

3



= + + =
j j
c
j
a b
e
X
e x e x x x
r


xa
xb
xc
1
st
Sextant
2
nd
Sextant
3
rd
Sextant
4
th
Sextant
5
th
Sextant
6
th
Sextant
Reference Vector in the 3
rd
Sextant:


3
2

Translation from the 3
nd
Sext. into the 1
st
Sext.:

b c
a b
c a
x x
x x
x x

Equivalent Vector in the 1
st
Sextant:
)
3
2
(
1 3
2
3
2
1
2



= + + =
j j
a
j
c b
e
X
e x e x x x
r


xa
xb
xc
2
nd
Sextant
3
rd
Sextant
4
th
Sextant
5
th
Sextant
6
th
Sextant
1
st
Sextant
Reference Vector in the 4
th
Sextant:
3
4

Translation from the 4
nd
Sext. into the 1
st
Sext.:

a c
c a
x x
x x

Equivalent Vector in the 1
st
Sextant
)
3
4
(
1 3
2
3
2
1
2

3



= + + =
j j
a
j
b c
e
X
e x e x x x
r


xa
xb
xc
2
nd
Sextant
3
rd
Sextant
4
th
Sextant
5
th
Sextant
6
th
Sextant
1
st
Sextant

Reference Vector in the 5
th
Sextant:
3
5
3
4


Translation from the 5
th
Sext. into the 1
st
Sext.:

a c
c b
b a
x x
x x
x x

Equivalent Vector in the 1
st
Sextant:
)
3
4
(
1 3
2
3
2
1
2



= + + =
j j
b
j
a c
e
X
e x e x x x
r


xa
xb
xc
2
nd
Sextant
3
rd
Sextant
4
th
Sextant
5
th
Sextant
6
th
Sextant
1
st
Sextant

Reference Vector in the 6
th
Sextant:

2
3
4

Translation from the 6
nd
Sext. into the 1
st
Sext.:

b c
c b
x x
x x

Equivalent Vector in the 1
st
Sextant:
) 2 ( 1 3
2
3
2
1
2

= + + =
j
j
b
j
c a
e
X
e x e x x x
r


xa
xb
xc
2
nd
Sextant
3
rd
Sextant
4
th
Sextant
5
th
Sextant
6
th
Sextant
1
st
Sextant