Electrical Machines

Chapter 8
Generalized Machine Theory and Reference-Frame Modeling

Post Graduate Program in Electrical Engineering
Electrical Machines   •   Post Graduate

8. Generalized Machine Theory and Reference-Frame Modeling

Introduction and Context

Electrical machines are often introduced as separate entities—transformers, dc machines, induction machines, synchronous machines, and special machines. Each has its own equivalent circuit and equations, but the apparent differences conceal a common electromagnetic structure. In every rotating electrical machine, electrical energy is exchanged with mechanical energy through magnetic fields produced by windings whose relative positions may change with time.

Generalized machine theory provides a unified language for describing this energy conversion. Instead of deriving an entirely new model for every machine, it represents the machine through a set of primitive windings, magnetic coupling relations, coordinate transformations, and mechanical equations. Reference-frame theory then transforms sinusoidally varying phase quantities into variables that may be constant or slowly varying in a suitably selected frame. This greatly simplifies steady-state analysis, transient simulation, control design, and digital implementation.

The central tools developed in this chapter are primitive-machine representation, space vectors, Clarke transformation, Park transformation, the d–q–0 model, per-unit normalization, and state-space formulation. These tools are essential in advanced analysis of induction motors, synchronous generators, permanent-magnet machines, vector-controlled drives, and power-system electromechanical transients.

Learning Objectives

After studying this chapter, the reader should be able to:

1. Explain the physical basis of generalized machine theory and primitive-machine modeling.

2. Formulate voltage, flux-linkage, torque, and mechanical equations for electromechanical systems.

3. Interpret space vectors and distinguish stationary, rotor, and synchronously rotating reference frames.

4. Apply Clarke and Park transformations and explain the significance of the zero-sequence component.

5. Develop d–q–0 models for balanced and unbalanced three-phase machines.

6. Convert machine parameters into a consistent per-unit system.

7. Express machine dynamics in state-space form for simulation and control.

8. Identify modeling assumptions, numerical issues, and practical limitations.

From Individual Machines to a Generalized Representation

A primitive machine consists conceptually of two sets of windings: a stator set and a rotor set. Each set may contain one or more coils, and the mutual inductance between a stator coil and a rotor coil depends on their relative angular position. A generalized machine is therefore described by winding resistances, self-inductances, mutual inductances, electrical currents, flux linkages, rotor position, and rotor speed.

For an n-winding system, the winding voltage equation can be written compactly as

\[

\mathbf v=\mathbf R\mathbf i+\frac{d\boldsymbol\lambda}{dt},

\]

where \(\mathbf v\) is the vector of winding voltages, \(\mathbf i\) is the current vector, \(\mathbf R\) is the resistance matrix, and \(\boldsymbol\lambda\) is the flux-linkage vector. For a linear magnetic circuit,

\[

\boldsymbol\lambda=\mathbf L(\theta_r)\mathbf i,

\]

where \(\mathbf L\) is the position-dependent inductance matrix and \(\theta_r\) is rotor electrical or mechanical position, according to the chosen convention.

The dependence of inductance on rotor position is the mathematical expression of electromechanical coupling. Differentiating the flux relation gives

\[

\mathbf v=\mathbf R\mathbf i+\mathbf L\frac{d\mathbf i}{dt}+\frac{d\mathbf L}{d\theta_r}\mathbf i\,\omega_r,

\]

where \(\omega_r=d\theta_r/dt\). The last term represents speed-emf effects. It is responsible for important differences between stationary and rotating windings.

The electromagnetic torque can be obtained from magnetic co-energy. With current as the independent variable,

\[

T_e=\left.\frac{\partial W'_m}{\partial \theta_m}\right|_{\mathbf i},

\]

where \(W'_m\) is magnetic co-energy and \(\theta_m\) is mechanical rotor angle. For a linear magnetic system,

\[

W'_m=\frac{1}{2}\mathbf i^T\mathbf L(\theta_m)\mathbf i,

\]

so that

\[

T_e=\frac{1}{2}\mathbf i^T\frac{\partial\mathbf L}{\partial\theta_m}\mathbf i.

\]

The mechanical equation is

\[

J\frac{d\omega_m}{dt}=T_e-T_L-B\omega_m,

\qquad \frac{d\theta_m}{dt}=\omega_m,

\]

where J is inertia, \(T_L\) is load torque, and B is viscous-friction coefficient. These equations apply to a broad class of rotating machines and establish the basis for generalized machine theory.

Space Vectors and Coordinate Description

Three-phase quantities can be represented geometrically in a two-dimensional plane. For a set of phase quantities \(x_a,x_b,x_c\), the space vector is commonly defined as

\[

\underline{x}=\frac{2}{3}(x_a+a x_b+a^2x_c),

\qquad a=e^{j2\pi/3}.

\]

The factor 2/3 is selected so that the space-vector magnitude corresponds conveniently to the amplitude of a balanced sinusoidal set. Other scaling conventions exist; consistency is more important than any particular choice.

For balanced three-phase quantities, \(x_a+x_b+x_c=0\), and the three phase variables contain only two independent degrees of freedom. The space vector therefore represents the fundamental three-phase set as a single complex quantity. Its real and imaginary components form orthogonal axes in a plane.

A space vector may be expressed in different coordinate systems. In a stationary stator frame, often denoted α–β, its components are fixed to the stator. In a rotor frame, commonly denoted d–q, the axes rotate with the rotor. In a synchronously rotating frame, the axes rotate at synchronous electrical speed. The physical vector is unchanged; only its coordinates differ.

This distinction is fundamental. A sinusoidal quantity appears as a rotating vector in a stationary frame but can become constant in a frame rotating at the same angular speed. Reference-frame selection is consequently a modeling decision, not a change in the physical machine.

Clarke Transformation: Three Phases to Orthogonal Axes

The Clarke transformation maps phase variables into stationary orthogonal components. A commonly used amplitude-invariant form is

\[

\begin{bmatrix}x_\alpha\\x_\beta\\x_0\end{bmatrix}

=\frac{2}{3}

\begin{bmatrix}

1&-1/2&-1/2\\

0&\sqrt3/2&-\sqrt3/2\\

1/2&1/2&1/2

\end{bmatrix}

\begin{bmatrix}x_a\\x_b\\x_c\end{bmatrix}.

\]

The zero-sequence component is

\[

x_0=\frac{1}{3}(x_a+x_b+x_c).

\]

For a balanced, three-wire system with no neutral connection, the zero-sequence current is zero. It cannot, however, be discarded automatically. Zero-sequence voltage or flux may be relevant in four-wire systems, machines with accessible neutral points, common-mode inverter operation, grounding studies, and fault analysis.

The inverse transformation reconstructs the phase quantities. With the same convention,

\[

\begin{bmatrix}x_a\\x_b\\x_c\end{bmatrix}

=\begin{bmatrix}

1&0&1\\

-1/2&\sqrt3/2&1\\

-1/2&-\sqrt3/2&1

\end{bmatrix}

\begin{bmatrix}x_\alpha\\x_\beta\\x_0\end{bmatrix}.

\]

Different texts use power-invariant scaling, in which the transformation is orthonormal and instantaneous power is preserved without an additional factor. A model must state its convention because torque and power coefficients depend on it.

Park Transformation and the d–q–0 Frame

The Park transformation rotates the stationary α–β axes through an angle \(\theta\). One common form is

\[

\begin{bmatrix}x_d\\x_q\\x_0\end{bmatrix}

=\begin{bmatrix}

\cos\theta&\sin\theta&0\\

-\sin\theta&\cos\theta&0\\

0&0&1

\end{bmatrix}

\begin{bmatrix}x_\alpha\\x_\beta\\x_0\end{bmatrix}.

\]

Combining Clarke and Park transformations gives the abc-to-dq0 transformation. The angle may be chosen as rotor electrical angle, synchronous angle, stator-flux angle, rotor-flux angle, or another control angle. The choice determines which quantities become constant and where speed-coupling terms appear.

For a general rotating frame with angular velocity \(\omega_k=d\theta_k/dt\), the voltage equations in vector form are

\[

\mathbf v_{dq}=\mathbf R\mathbf i_{dq}+\frac{d\boldsymbol\lambda_{dq}}{dt}+\omega_k\mathbf J\boldsymbol\lambda_{dq},

\]

where

\[

\mathbf J=\begin{bmatrix}0&-1\\1&0\end{bmatrix}

\]

or its sign-reversed equivalent depending on axis convention. In scalar form, one common convention is

\[

v_d=Ri_d+\frac{d\lambda_d}{dt}-\omega_k\lambda_q,

\qquad

v_q=Ri_q+\frac{d\lambda_q}{dt}+\omega_k\lambda_d.

\]

These cross-coupling terms are not resistive voltage drops. They result from observing changing flux linkages from a rotating coordinate system. Sign differences found in textbooks usually arise from different phase sequences, q-axis orientations, or rotation conventions.

The zero-sequence voltage equation has no rotational cross-coupling term:

\[

v_0=Ri_0+\frac{d\lambda_0}{dt}.

\]

The d–q Model of a Rotating Machine

For a symmetrical three-phase machine, transformation into an appropriate d–q frame often converts position-dependent inductances into constant parameters. The flux equations may then be written as

\[

\boldsymbol\lambda_s=\mathbf L_{ss}\mathbf i_s+\mathbf L_{sr}\mathbf i_r,

\qquad

\boldsymbol\lambda_r=\mathbf L_{rs}\mathbf i_s+\mathbf L_{rr}\mathbf i_r,

\]

where each vector contains d and q components. In many idealized machines, the d and q axes are magnetically decoupled, giving relations such as

\[

\lambda_{sd}=L_{sd}i_{sd}+L_{md}i_{rd},

\qquad

\lambda_{sq}=L_{sq}i_{sq}+L_{mq}i_{rq}.

\]

The torque is generally proportional to the cross product of flux and current. In a common scaling convention,

\[

T_e=K(\lambda_d i_q-\lambda_q i_d),

\]

where K depends on the transformation and the number of pole pairs. For a synchronous machine, an often-used expression is

\[

T_e=\frac{3}{2}p(\lambda_d i_q-\lambda_q i_d),

\]

with p denoting pole pairs under a compatible definition of flux linkage.

For an induction machine, the rotor equations in a synchronously rotating frame contain slip frequency \(\omega_s-\omega_r\). This term describes the relative motion between the reference frame and the rotor. It is central to induction-machine torque production and field-oriented control.

A synchronous machine may be modeled with stator transients, rotor field winding, damper windings, and mechanical dynamics. In steady state, the d–q equations reduce to familiar phasor relationships. During disturbances, the same equations retain flux transients and rotor-angle dynamics, making them suitable for stability studies and converter-interfaced generation.

Per-Unit Representation

Per-unit normalization expresses each quantity as a ratio to a selected base:

\[

x_{pu}=\frac{x}{x_{base}}.

\]

For a three-phase machine, typical bases are rated apparent power \(S_b\), line-to-line voltage \(V_{LL,b}\), current \(I_b\), impedance \(Z_b\), and angular frequency \(\omega_b\). A consistent choice gives

\[

I_b=\frac{S_b}{\sqrt3V_{LL,b}},

\qquad

Z_b=\frac{V_{LL,b}^2}{S_b},

\qquad

L_b=\frac{Z_b}{\omega_b}.

\]

Torque base may be selected as

\[

T_b=\frac{S_b}{\omega_{m,b}}.

\]

Per-unit systems reduce numerical scale differences, simplify comparison of machines of different ratings, and make many parameters dimensionally convenient. They also reduce errors when referring rotor quantities to stator quantities. Nevertheless, per-unit values are meaningful only when the bases and phase/line quantities are identified clearly.

The analyst must distinguish electrical angular speed from mechanical angular speed. If the machine has p pole pairs,

\[

\omega_e=p\omega_m.

\]

Confusing these speeds produces incorrect slip, torque, and frequency terms.

State-Space Formulation

A dynamic machine model is particularly useful when written as

\[

\dot{\mathbf x}=\mathbf f(\mathbf x,\mathbf u,\boldsymbol\rho),

\qquad

\mathbf y=\mathbf g(\mathbf x,\mathbf u,\boldsymbol\rho),

\]

where \(\mathbf x\) is the state vector, \(\mathbf u\) is the input vector, \(\mathbf y\) is the output vector, and \(\boldsymbol\rho\) contains parameters or disturbances.

Suitable states are usually flux linkages, currents, rotor speed, and rotor angle. Flux linkages are often preferred because voltage equations naturally provide their derivatives. If currents are selected as states, the inductance matrix must be inverted:

\[

\dot{\mathbf i}=\mathbf L^{-1}\left(\mathbf v-\mathbf R\mathbf i-\mathbf e_{speed}\right),

\]

where \(\mathbf e_{speed}\) contains speed-emf terms. The mechanical states satisfy

\[

\dot{\omega}_m=\frac{1}{J}(T_e-T_L-B\omega_m),

\qquad

\dot{\theta}_m=\omega_m.

\]

A practical modeling sequence is to identify independent windings, select a reference frame, state the transformation convention, write flux-current relations, derive voltage equations, calculate torque from co-energy or the transformed flux-current expression, add mechanical equations, and finally validate the model against limiting cases. Numerical implementation should preserve units, initialize flux consistently, and account for saturation, resistance variation, and inverter sampling when those effects matter.

Applied Scenario: Reference-Frame Model for an Induction-Motor Drive

Background

Consider an illustrative 15-kW squirrel-cage induction motor supplied by a voltage-source inverter. The drive must provide rapid speed response over a wide operating range while limiting stator current.

Situation and Modeling Problem

In phase variables, the stator currents, rotor currents, mutual inductances, and rotor position produce a strongly coupled nonlinear model. Direct control of phase currents does not provide independent access to flux and torque. A useful model must support both simulation and controller design.

Analysis and Approach

The stator currents and voltages are first transformed from abc to α–β variables using the Clarke transformation. A synchronous Park transformation is then aligned with the estimated rotor-flux vector. In this frame, the d-axis current primarily establishes rotor flux, while the q-axis current primarily controls electromagnetic torque. The controller therefore regulates d-axis current to maintain the desired flux and q-axis current to meet the torque command.

The model uses rotor-flux linkages as states, together with rotor speed. Slip frequency is calculated from the torque-producing current and rotor-flux estimate. The inverter commands are transformed in the reverse direction from dq to αβ and then abc before pulse-width modulation. The mechanical equation includes load torque and inertia.

Outcome

Under the ideal assumptions of symmetrical windings and sufficiently accurate parameter estimates, the d–q model gives a compact representation suitable for current-loop design and dynamic simulation. The apparent decoupling is not absolute: stator resistance variation, magnetic saturation, inverter dead time, parameter mismatch, and flux-estimation error introduce coupling.

Learning Points

The example illustrates why reference-frame selection is an engineering decision. A stationary frame is useful for voltage-source inverter analysis, whereas a flux-oriented frame is useful for control. The transformation does not eliminate machine physics; it reorganizes the equations so that dominant physical variables become easier to regulate.

Practical Applications and Professional Use

Generalized machine models are used in electromagnetic-transient simulation, drive commissioning, generator control, fault studies, renewable-energy conversion, traction systems, and hardware-in-the-loop testing. Engineers use them to estimate torque capability, evaluate current transients, tune controllers, predict dc-link power, and assess the effect of parameter uncertainty.

In industrial practice, model fidelity must match the decision being made. A linear d–q model may be sufficient for controller bandwidth studies, whereas saturation, iron loss, rotor-bar skin effect, spatial harmonics, and thermal coupling may be necessary for efficiency prediction or fault diagnosis. Model reduction is therefore a technical judgment rather than an automatic improvement.

Digital control platforms implement Clarke and Park transformations in real time. Resolver, encoder, or sensorless observers provide the reference angle. Automated parameter identification can estimate resistance, inductance, and rotor time constants, while data-driven diagnostic systems can detect deviations from the expected model. Such tools assist engineers but do not remove the need for physically valid equations and safe operating limits.

Assumptions, Limitations, and Common Errors

The classical generalized model often assumes sinusoidally distributed windings, a symmetrical machine, linear magnetic material, negligible space harmonics, and balanced parameters. These assumptions simplify analysis but may be inadequate for machines with deep rotor bars, salient poles, severe saturation, eccentricity, or converter-generated harmonics.

Common errors include mixing amplitude-invariant and power-invariant transformations, using mechanical angle where electrical angle is required, reversing the phase sequence without changing the transformation, omitting speed-emf terms, and treating zero sequence as universally zero. Another frequent mistake is to compare per-unit parameters without checking the bases.

Model validation should include no-load, locked-rotor, steady-state, torque-step, and speed-transient tests where appropriate. The sign of torque, direction of rotation, power balance, and limiting behavior should all be checked. A correct model should satisfy an energy balance: electrical input power equals mechanical output, stored magnetic and mechanical energy changes, and losses.

Professional and Ethical Considerations

Machine models influence ratings, protection settings, thermal limits, and safety decisions. Engineers must state assumptions, parameter sources, uncertainty, and validation results rather than presenting simulation output as measured fact. Inadequate models may lead to overspeed, overcurrent, insulation stress, or incorrect protection coordination. Software implementation should include saturation limits, fault handling, numerical monitoring, and independent verification where the model is used in safety-critical or grid-connected equipment.

Current Developments

Modern machine modeling increasingly combines classical d–q equations with finite-element data, real-time digital twins, and online parameter estimation. Lookup tables derived from finite-element analysis can represent saturation and cross-saturation while retaining computational efficiency. Sensorless control uses observers, adaptive models, or high-frequency signal injection to estimate rotor position and flux. Wide-bandgap inverters make switching effects more significant, increasing the need for models that include sampling, dead time, common-mode voltage, and high-frequency parasitics.

Best Practices for Model Development

A reliable workflow includes the following principles:

  • define phase sequence, axis orientation, electrical-angle convention, and transformation scaling before deriving equations;
  • use one consistent set of SI or per-unit quantities;
  • select states that avoid unnecessary algebraic singularities;
  • derive torque from energy or co-energy and verify its sign independently;
  • retain zero-sequence terms until the circuit topology justifies removing them;
  • validate against steady-state phasor results and measured transients;
  • document parameter identification, saturation treatment, and initialization;
  • increase model complexity only when it improves the engineering decision.

Chapter Summary

Generalized machine theory represents diverse electrical machines through common winding, magnetic, electrical, and mechanical relationships. Primitive-machine equations express voltage as resistance drop plus changing flux linkage, while rotor-position-dependent inductance creates electromechanical coupling and torque. Space vectors compress balanced three-phase quantities into an orthogonal representation. The Clarke transformation produces stationary α–β–0 components, and the Park transformation rotates these components into a selected d–q–0 frame.

Reference-frame choice determines whether sinusoidal variables appear rotating or constant and controls the form of speed-emf and slip terms. The d–q model is especially valuable for induction-machine drives, synchronous machines, and transient studies. Per-unit normalization improves numerical conditioning and comparison, provided bases are consistent. State-space equations provide a systematic foundation for simulation, control, observers, and digital implementation. Accurate engineering practice requires attention to scaling, electrical versus mechanical speed, zero sequence, saturation, parameter uncertainty, energy balance, and model validation.

Key Terms

Primitive machine: An abstract winding-based model used to represent electromechanical energy conversion.

Flux linkage: The magnetic flux linked by a winding, weighted by turns and coupling.

Inductance matrix: A matrix relating winding currents to flux linkages.

Mutual inductance: Inductance describing magnetic coupling between different windings.

Magnetic co-energy: An energy function used to calculate electromagnetic torque at specified currents.

Space vector: A complex representation of a set of phase quantities in an orthogonal plane.

Clarke transformation: A mapping from three-phase variables to stationary α–β–0 components.

Park transformation: A rotation of orthogonal components into a moving d–q–0 frame.

d-axis: The direct axis of a selected rotating reference frame.

q-axis: The quadrature axis perpendicular to the d-axis.

Zero sequence: The common-mode component equal to the average of three phase quantities.

Reference frame: A coordinate system in which electrical variables are expressed.

Speed-emf term: A voltage induced because a flux linkage is observed from a moving frame.

Per-unit system: A normalized system in which quantities are divided by selected base values.

State variable: An independent quantity whose value, with inputs, determines future system behavior.

Slip frequency: The angular-frequency difference between a reference field and rotor motion.

Electrical angle: Rotor or field angle measured with pole-pair scaling.

Saturation: The nonlinear reduction of incremental inductance as magnetic material approaches its limit.

Cross-coupling: Dependence of one axis or subsystem on another axis or subsystem.

Review Questions

Short Answer Questions

1. What is the purpose of generalized machine theory?

2. Define a space vector for a balanced three-phase system.

3. Why can the zero-sequence current be zero in a three-wire system?

4. State the relationship between electrical and mechanical angular speed.

5. What physical phenomenon produces the speed-emf terms in d–q equations?

Long Answer Questions

1. Derive the generalized winding voltage equation from the flux-linkage relation.

2. Explain the Clarke and Park transformations and compare their physical interpretations.

3. Develop the principal steps for obtaining a d–q model of a symmetrical rotating machine.

4. Discuss the advantages and possible errors of per-unit representation in machine analysis.

5. Explain how a machine model is converted into state-space form for simulation and control.

Analytical / Application Questions

1. A balanced three-phase current set is transformed into a synchronous frame rotating at the same electrical speed. Explain why its d–q components can become constant and identify conditions under which this result fails.

2. An induction-motor simulation gives excessive torque after changing from an amplitude-invariant to a power-invariant transformation. Diagnose the likely modeling error and propose validation checks.

3. Design a modeling strategy for a converter-fed synchronous machine in which saturation, zero sequence, and fast electromagnetic transients may be important. Justify the selected states, frame, and validation tests.

22. Multiple Choice Questions with Answers

Question 1

In generalized machine theory, position-dependent inductance primarily represents which physical effect?

A. Mechanical friction

B. Electromechanical coupling

C. Thermal dissipation

D. Insulation capacitance

Correct Answer: B. Electromechanical coupling

Question 2

For a balanced three-wire three-phase system, which component of current is normally zero?

A. Positive-sequence component

B. Negative-sequence component

C. Zero-sequence component

D. Quadrature component

Correct Answer: C. Zero-sequence component

Question 3

The Clarke transformation converts three-phase variables into which principal representation?

A. Rotor-field and damper variables

B. Stationary α–β–0 variables

C. Mechanical torque and speed variables

D. Positive- and negative-frequency variables only

Correct Answer: B. Stationary α–β–0 variables

Question 4

Why are speed-coupling terms present in rotating-frame voltage equations?

A. Because winding resistance changes with speed

B. Because flux linkages are observed from a moving coordinate system

C. Because zero-sequence current is always present

D. Because the machine has mechanical friction

Correct Answer: B. Because flux linkages are observed from a moving coordinate system

Question 5

If a reference frame rotates synchronously with a balanced sinusoidal field, the corresponding d–q variables ideally become:

A. Constant

B. Random

C. Zero in every case

D. Twice the original frequency

Correct Answer: A. Constant

Question 6

Which expression correctly relates electrical and mechanical angular speed for p pole pairs?

A. ωe=ωm/p

B. ωe=pωm

C. ωe=ωm+p

D. ωe=ωm−p

Correct Answer: B. ωe=pωm

Question 7

What is the main purpose of per-unit normalization in machine studies?

A. To eliminate magnetic saturation physically

B. To make all machine losses zero

C. To normalize quantities using selected bases for consistent comparison

D. To replace the mechanical equation

Correct Answer: C. To normalize quantities using selected bases for consistent comparison

Question 8

Which quantity is especially suitable as a state in a voltage-based machine model?

A. Flux linkage

B. Insulation resistance only

C. Nameplate frequency only

D. Ambient temperature only

Correct Answer: A. Flux linkage

Question 9

In a rotor-flux-oriented induction-motor controller, the d-axis current is primarily associated with:

A. Establishing rotor flux

B. Eliminating all stator resistance

C. Producing mechanical friction

D. Creating zero-sequence current

Correct Answer: A. Establishing rotor flux

Question 10

Which practice is most appropriate when developing a reference-frame machine model?

A. Discard zero sequence before examining circuit topology

B. Mix transformation scaling conventions if numerical results look plausible

C. State axis conventions and validate power and torque signs

D. Use mechanical angle wherever electrical angle is required

Correct Answer: C. State axis conventions and validate power and torque signs

Electrical Machines
Chapter 8 of 14