Interactive explainer
The Clarke transformation, abc to αβ0
Three phase values, , and , are one point in a cube. Look at the cube straight down its diagonal and the point's shadow is the vector , , and its height above the plane is the zero sequence, : that is the Clarke transformation. Turn the cube below, press Down the diagonal, and watch it become the αβ plane.
From the courses Analysis and Control of Modern Power Electronics Dominated Power Systems (UPC Barcelona) and Electrical Machine Modelling (FTN Novi Sad).
abc space · drag to turn
The αβ plane
| a = 0.77 | b = 0.17 | c = -0.94 |
| α = 0.77 | β = 0.64 | 0 = 0.00 |
A circle of radius 1.00, turning forward; no zero sequence.
Phasors
Against time
What it is
The Clarke transformation writes three phase quantities, voltages or currents, as two components in a plane, and , and a zero-sequence component, . It is also called the alpha–beta or αβ0 transformation, and some books call the third component (αβγ). On this page phase is a cosine and the scaling is amplitude-invariant, the in front:
Row by row, , and . The phases are , and , so at a balanced set's vector lies on the axis. Where the and the come from is below.
The inverse Clarke transformation
The way back is the inverse. Its third column adds the zero sequence back into every phase; leave it out, as a two-row inverse does, and whatever the three phases had in common is gone.
Why a balanced set is a circle
Put a balanced set, , into (1) and the cosines combine into and , with . Three waves become one vector of constant length turning at : the space vector. With the in front its length is the phase amplitude, which is why this scaling is called amplitude-invariant. If and are swapped (sequence acb), the vector turns the other way.
The picture in abc space
Take as the coordinates of a point, with the three axes square to each other. The cube in the figure has its corners at , so each of its faces is one phase at its limit. A balanced set always sums to zero, so its point stays in the plane , which passes through the origin square to the diagonal and cuts the cube in a regular hexagon of radius , its corners at and its turns. Clarke's and are two square axes in that plane: along , phase 's own axis seen in the plane, and along , from toward . The zero sequence is the point's height above the plane, along .
Press Down the diagonal and you look along . The cube's outline becomes a regular hexagon of radius with a corner on each phase axis, the axes , and land apart, the corners and both land on the centre, and the scene is the αβ plane, to the right and up. A balanced set of amplitude 1 draws a circle of radius in abc space, and that circle touches the inner hexagon's six edges, each where one phase reaches : the inner hexagon is as far as a balanced set can go with no phase leaving the cube. Press From the side and the plane is a line. Every phase axis rises out of it at , and the zero sequence is the point's height.
Amplitude-invariant and power-invariant
Those three unit axes are the rows of the power-invariant form, with in front:
This matrix only turns abc space: its inverse is its transpose, lengths are kept, and power needs no factor. The amplitude-invariant form is the same turn followed by a shrink, by in and and by in , which keeps the phase amplitude and costs a in the power. The scaling switch in the figure above moves the ticks on the axes, never the point. Both forms are in use; drives and converter control mostly write the first, and a paper says which it means, or should.
| Amplitude-invariant | Power-invariant | |
|---|---|---|
| In front of the matrix | ||
| A balanced set's vector | long | long |
| Instantaneous power | ||
| Instantaneous reactive power | ||
| Inverse | (2) | the transpose of (3) |
Unbalanced phases: an ellipse and a zero sequence
With unequal amplitudes or angles the vector no longer keeps its length. Written as one complex number, it is a forward-turning part and a backward-turning part, the positive and negative sequences and of the phasors:
So it traces an ellipse with semi-axes and . Whatever the phases sum to goes into and nowhere else: the zero sequence is what the αβ plane can't hold. Clarke separates the zero sequence; it does not separate positive from negative sequence, which stay mixed in and . That is the work of symmetrical components, or of a Park frame turning with the vector.
The zero sequence and the third harmonic
Add the same signal to all three phases, a common offset or a third harmonic , and the point moves along , straight out of the plane. and don't see it, since each of their rows sums to zero, and sees nothing else: it is exactly what was added. With each phase peaks at 1.20 while the vector keeps to its circle of 1. With each phase peaks at , lower than the sine it started from, which is why an inverter adds it (below).
Harmonics: which way each one turns
A balanced -th harmonic delays phase by of its own period. For that is the same as : the harmonic is a positive sequence and turns forward in the plane, times as fast as the fundamental. For it is : a negative sequence, turning backward. For it is a whole turn, the three phases carry the same wave, and all of it goes into . Riding on the fundamental's circle, a harmonic of 0.2 draws bumps if it turns forward and if it turns backward, so the 5th and the 7th both draw six, between 0.8 and 1.2. Seen from a frame turning with the fundamental, both are a ripple at six times its frequency, which is why they come as a pair in a drive's and .
With two current sensors
A drive with no neutral wire has , so it measures two currents and works out the third. Put into (1):
This is the form motor-control libraries use, and it is exact while the three currents sum to zero. With a neutral, in a four-wire system or with a fault to earth, is no longer zero, and (5) is wrong by in and by in , at every instant (worked example 2).
What the plane is used for next: the inverter's hexagon
A two-level inverter connects each phase leg to the top or the bottom of its DC link, or from the link's midpoint: eight states, the cube's eight corners scaled by . Through (1), the six with legs both up and down land on the corners of a hexagon, from the centre and apart; and , all legs together, land on the centre, since what all three legs share is zero sequence. It is the cube seen down the diagonal once more. Measured to the load's star point instead of the midpoint, the phase voltages lose that common part, and and stay the same.
Sine PWM keeps each phase's average inside , so it reaches a balanced set of peak, the dashed circle. A common part added to all three legs, the third harmonic above or the centring that space vector modulation does, slides the point along and keeps it inside the cube while the αβ vector grows to , the hexagon's inner circle: times as far. Which states to use and for how long is space vector modulation, a subject of its own.
Who writes it which way
Sources differ in the factor in front, the sign of the second axis, and whether phase is a cosine or a sine. Read off the row of the source you have, and map it onto this page.
| Who | In front | Second axis | Phase a | To map it onto this page |
|---|---|---|---|---|
| This page | , by the switch | cosine | ||
| Clarke 1943; Duesterhoeft, Schulz and Clarke 1951 | the same | phasors | the same | |
| Wikipedia; O'Rourke and others 2019 | both | the same | cosine | the same; zero row or |
| Yazdani and Iravani | , as the space phasor | the same | cosine | the same, with no zero row |
| MathWorks (Simscape Electrical, Motor Control Blockset) | ; power-invariant as an option | the same; with two inputs, (5) | sine in its figures | its vector starts behind ours |
| PSCAD | "Standard" or "Power Invariant" | the same | not stated | the same |
| Typhoon HIL | three modes: , with a zero row of , orthonormal | the same | sine in its figure | choose the mode |
| Microchip; TI; Altair Embed | amplitude-invariant | two currents, (5) | not stated | ours while |
| Krause and others (qd0) | order : is our , | cosine | change the second axis's sign | |
| FTN Novi Sad, Modelling of Electrical Machines (its ) | the same | — | written the way back, : transpose it |
Where it comes from
Three axes, 120° apart. Draw each phase as an arrow along its own axis, at , at and at , and add the three tip to tail. These are the axes of a machine's three windings, and the sum is the direction and strength of the field they make together.
For a balanced set of amplitude the sum is long at the angle , since . Putting in front makes it :
Its real part is the first row of (1), since , and its imaginary part the second, since and . That is all the is. The same field could come from two windings square to each other with the turns, which is what and are.
The zero row. , so a part common to all three phases adds nothing to (6): it never reaches or . The third row measures that part, , so that nothing is lost and (1) can be inverted.
The same as a turn of abc space. , and are three unit directions square to each other, , and , and the matrix whose rows they are, (3), only turns abc space, so lengths and power are kept. The usual form (1) turns the same way and then shrinks and by and by ; the is , one from the turn's rows and one from the shrink. The cube shows the same: a unit balanced set's circle has a radius of in abc space, and of that is 1. The shrink is also , the angle between a phase axis and the plane: each phase's axis is foreshortened by it when you look down the diagonal.
Try this
- Leave the phases balanced and playing, and press Down the diagonal. The cube turns until its outline is a hexagon and the scene is the αβ plane. The point's circle touches the smaller hexagon, where the plane cuts the cube, each time a phase reaches ±1.
- Raise phase a's amplitude to 1.3, then press From the side. The circle stretches into an ellipse along , 1.20 by 1.00, and a zero sequence of 0.10 peak appears: from the side the plane is a line and is the point's height above it, the dashed drop.
- Set phase b's angle to +40°, with the amplitudes equal. The ellipse tilts, since the negative sequence now has an angle of its own, and the phases no longer sum to zero either.
- Switch the scaling to power-invariant. The ticks on α and β move in to the point's true distance, and the circle reads 1.22: the numbers are now the point's coordinates along the axes in the cube. The point itself doesn't move.
Worked examples
A 400 V network. The line voltage is 400 V rms, so a phase's peak is V. At the three phases are
and (1) gives
The vector is V long at : the phase amplitude, at the angle . Power-invariant, (3) gives V and V, a vector 400.00 V long: the line voltage's rms value.
Now let phase rise 20 %, to 391.92 V peak, the others as they were. At the same instant V, and V, V (phase has no part in ), and V. Over a period is a cosine of 21.77 V peak, in step with phase , and the vector traces an ellipse 370.15 by 326.60 V.
Two sensors and a neutral
A four-wire system with phase open: , , . At , A and A, and the neutral carries -5.00 A back. The full transformation (1) gives
The two-sensor form (5) gives A and A: too large by 1.667 in and by 2.887 in . At the full form gives 1.667, 2.887 and A, the two-sensor form 5.000 and 8.660: the error is and at every instant.
A third harmonic of 0.2
The numbers of my course's 3-D Clarke script, as cosines: for . At and :
Each phase peaks at 1.20, yet is 1 at both instants and at every other: the vector never leaves its circle. The harmonic is all in , swinging three times a period.
One inverter state
A 700 V DC link, state : leg up, and down. To the link's midpoint the legs are at V, and (1) gives V, V and V. To the load's star point the phases are V: the same and , no zero sequence.
Sine PWM on this link reaches a balanced set of 350.00 V peak; a third harmonic or space vector modulation 404.15 V. The 400 V network of the first example needs 326.60 V, so it takes the common part to drive it from 700 V.
Mistakes people make
The mistake
, called .
Why it's wrong
That is Krause's axis in the order , the negative of . Drawn as it mirrors the plane, and a positive-sequence set turns clockwise.
The right one
, or name the axis and write the order .
The mistake
Amplitude-invariant and , then .
Why it's wrong
That is two thirds of the power: 5,629.17 W where the phases deliver 8,443.75 W (325 V, 20 A, ).
The right one
, or use the power-invariant form, where no factor is needed.
The mistake
on the row only: and .
Why it's wrong
The two rows are then scaled differently, and a balanced set draws an ellipse 1.5 times as tall as it is wide instead of a circle.
The right one
The same factor on both rows: .
The mistake
and where a neutral carries current.
Why it's wrong
The two-sensor form assumes . With a neutral it is wrong by in and in (worked example 2).
The right one
Measure all three currents and use (1); keep .
The mistake
"Clarke removes the unbalance", or "Clarke needs a balanced system".
Why it's wrong
It takes out the zero sequence only. A negative sequence stays in and , as the ellipse, and any set of three values, balanced or not, has its , and .
The right one
Clarke splits off the zero sequence; separating positive from negative takes symmetrical components or a frame that turns.
The mistake
Going back with the two-row inverse, leaving out.
Why it's wrong
Whatever was common to the three phases is gone: comes back as .
The right one
Use the full inverse (2), or be sure the phases sum to zero.
The mistake
Line voltages , , fed in as if they were phase voltages.
Why it's wrong
The vector comes out times longer and ahead.
The right one
Use phase voltages, or divide by and turn back .
The mistake
A formula written for cosines used on phases written as sines.
Why it's wrong
, so the vector starts at and everything after it, Park and the PLL, is a quarter turn off.
The right one
Write the phases the way the formula's source writes them, or add the where the angle is used.
The same in Python
import numpy as np
V, wt = 400 * np.sqrt(2 / 3), np.radians(30) # a 400 V network's phase peak, at ωt = 30°
abc = V * np.cos(wt + np.radians([0, -120, 120])) # phase a is a cosine
T = 2 / 3 * np.array([[1, -1 / 2, -1 / 2],
[0, np.sqrt(3) / 2, -np.sqrt(3) / 2],
[1 / 2, 1 / 2, 1 / 2]]) # amplitude-invariant
alpha, beta, zero = T @ abc
print(np.round([alpha, beta, zero], 2) + 0) # α, β, 0
print(np.round(np.hypot(alpha, beta), 2), np.round(np.degrees(np.arctan2(beta, alpha)), 2))
Tp = np.diag([np.sqrt(3 / 2), np.sqrt(3 / 2), np.sqrt(3)]) @ T # power-invariant
print(np.allclose(Tp @ Tp.T, np.eye(3)), np.round(np.hypot(*(Tp @ abc)[:2]), 2))It prints:
[282.84 163.3 0. ]
326.6 30.0
True 400.0The first worked example's numbers; the power-invariant matrix times its transpose is the identity, and its vector is the line voltage's 400 V.
Questions people ask
What is the Clarke transformation formula?
, and : equation (1), in the amplitude-invariant scaling, with phase a cosine. The power-invariant form (3) multiplies and by and by .
Is the alpha–beta (αβ0, αβγ) transformation the same thing?
Yes. "Clarke transformation", "alpha–beta transformation", "abc to αβ0" and "αβγ" name the same matrix; the names differ by book and by country. What can differ between two sources is the factor in front and the sign of (the table).
What is the inverse Clarke transformation?
Equation (2): , , . Power-invariant, the inverse is the transpose of (3). A converter's controller uses it to turn the αβ voltage it wants into three phase references.
What is the difference between the Clarke and Park transformations?
Clarke's and stand still, so a balanced set is a vector turning at and its components are sines. Park turns the axes with the vector, by an angle , so the same set becomes two constant values, and , which a PI controller can hold. Park is Clarke followed by that turn.
Amplitude-invariant or power-invariant: which one?
Amplitude-invariant when you want the vector's length to read as a phase peak, as drives and grid converters mostly do; then power carries a . Power-invariant when you want power and impedances to come out with no factor, as machine theory often does. Neither is wrong; mixing them is (mistake 2).
Can it be done with two current sensors?
Yes, when the three currents sum to zero, as in a three-wire machine or converter: and , equation (5). With a neutral it is wrong by and (worked example 2).
How is it done in MATLAB and Simulink?
Simscape Electrical and the Motor Control Blockset each have a Clarke Transform block and an Inverse Clarke Transform block, amplitude-invariant by default, with the power-invariant form as an option; the Motor Control Blockset's takes two currents or three, and with two it uses (5). MathWorks draws the phases as sines, so its vector starts behind this page's (mistake 8). In a script, multiply by the matrix, as in the Python above.
Where it's used
Wherever a three-phase machine or converter is controlled. Field-oriented control of induction and permanent-magnet motors measures two or three currents, takes Clarke, then Park, and controls flat d and q values with PI controllers. A grid-connected inverter does the same with the grid's voltage, and its phase-locked loop starts from and . Space vector modulation chooses the switching states from where the reference vector is in the αβ plane. Instantaneous power theory (p–q theory) computes active and reactive power and the currents an active filter must inject from αβ quantities.
It belongs to the courses on power-electronics-dominated grids and on electrical machine modelling; my course materials for both are linked below. In Analysis and Control of Modern Power Electronics Dominated Power Systems, the folder Weeks 2 to 4 holds the course's own 3-D Clarke script, "Script_Clarke_3D_Base.m", which draws the cube, the plane and the path from five fixed cameras; two more, "Third_harmonic.m" and "visualizeThreePhaseHarmonics.m", add a third harmonic to every phase and a fifth in negative sequence; the Simulink model "Model1_Clarke_Park.slx" has one Clarke/Park block, with a switch between the two, on a 400 V grid; and the brief of Activity 1 asks for all of it in time and in the cube. The scripts and the model write the second axis as , Krause's axis, so read it there as (mistake 1). The folder Activity 0 is my own report on the same subject: the space phasor, the cube's circle and the harmonics.
In Serbian, Electrical Machine Modelling teaches it in the folder Lectures, "2 - Opšta teorija električnih mašina.pdf", section 1.4: Clarke's is the real decoupling transformation , beside Fortescue's and Park's, power-invariant and written the way back, , so its transpose is this page's (3) (the table).
- Analysis and Control of Modern Power Electronics Dominated Power Systems
Course materials, UPC Barcelona
- Electrical Machine Modelling
Course materials, FTN Novi Sad
Connects to
- Park transformation
turns the αβ plane with the vector, so a balanced set becomes two flat values, d and q
- Symmetrical components
splits the phasors into positive, negative and zero sequences; Clarke takes out only the zero and leaves the other two mixed
- SRF-PLL
locks onto the grid's angle from vα and vβ
Further reading
- A Geometric Interpretation of Reference Frames and Transformations: dq0, Clarke, and Parkdspace.mit.edu
O'Rourke, Qasim, Overlin and Kirtley: Clarke as a turn of abc space, the matrix found column by column, and unbalance and harmonics as shapes.
- Space Vectors And Clarke-Park Transformationsgeogebra.org
A 3-D applet that builds the space vector from its positive, negative and zero sequences, with a harmonic order to set.
- Space Vector PWM Introswitchcraft.org
The eight switch states with their current paths, and how a reference is built from its two neighbours: where the inverter's hexagon leads.
- A Data Analytics Perspective of the Clarke and Related Transforms in Power Grid Analysisarxiv.org
Mandic and others: Clarke read as the principal components of the three signals, and voltage sags as ellipses.
- Alternative interpretation of three-phase AC systems: geometric interpretationyoutube.com
Two minutes, no words: each phase an arrow on its own axis, added in 3-D and turned to look down the diagonal.
- The Clarke and Park transformationsyoutube.com
Three windings and their field, with the matrix drawn over them.
References
- Edith Clarke, Circuit Analysis of A-C Power Systems, Vol. I, Symmetrical and Related Components, Wiley, 1943
- W. C. Duesterhoeft, M. W. Schulz, E. Clarke, "Determination of Instantaneous Currents and Voltages by Means of Alpha, Beta, and Zero Components", Transactions of the AIEE, vol. 70, no. 2, pp. 1248–1255, 1951
- C. J. O'Rourke, M. M. Qasim, M. R. Overlin, J. L. Kirtley, "A Geometric Interpretation of Reference Frames and Transformations: dq0, Clarke, and Park", IEEE Transactions on Energy Conversion, vol. 34, no. 4, pp. 2070–2083, 2019
- P. C. Krause, O. Wasynczuk, S. D. Sudhoff, S. Pekarek, Analysis of Electric Machinery and Drive Systems, 3rd ed., Wiley-IEEE Press, 2013
- A. Yazdani, R. Iravani, Voltage-Sourced Converters in Power Systems, Wiley-IEEE Press, 2010
- R. Teodorescu, M. Liserre, P. Rodríguez, Grid Converters for Photovoltaic and Wind Power Systems, Wiley-IEEE Press, 2011
- H. Akagi, E. H. Watanabe, M. Aredes, Instantaneous Power Theory and Applications to Power Conditioning, 2nd ed., Wiley-IEEE Press, 2017