From Perfect Alignment to Alignment Error

In Synchronous Reference Frame (dq), the synchronous reference frame was introduced as a rotating coordinate system whose axes rotate together with the space vector.

When the observer rotates at the correct angular speed and is aligned with the space vector, balanced steady-state quantities appear as constant values in the dq frame. The d-axis remains aligned with the vector, and the q-component becomes zero.

This condition provides a useful reference point because it represents the behaviour that the rotating reference frame is intended to achieve.

In practice, however, perfect alignment cannot be assumed. The observer may have the correct speed but the wrong angle. The observer may rotate at the wrong speed. Both situations introduce alignment error between the rotating frame and the space vector.

Understanding these effects provides the foundation for synchronization methods discussed later in the series.

This article is part of the Reference Frames in Power Systems series.


The Ideal Case

Consider a balanced space vector rotating at angular speed ω.

Suppose the observer rotates at the same speed and is perfectly aligned with the vector.

Under these conditions:

  • The space vector appears stationary.
  • The d-axis remains aligned with the vector.
  • The d-component remains constant.
  • The q-component remains zero.

The rotating frame provides a steady representation of the electrical quantity because no relative motion exists between the observer and the space vector.


Angular Error

The alignment between the observer and the space vector can be described using:

θerr=θvecθobs\theta_{err} = \theta_{vec} - \theta_{obs}

where:

  • θvec\theta_{vec} is the space-vector angle.
  • θobs\theta_{obs} is the observer angle.

When θerr=0\theta_{err}=0, the observer is perfectly aligned with the vector.

When angular error exists, the observer no longer views the vector along the d-axis. This quantity directly determines how the space vector appears in the rotating frame.


Case A – Correct Speed, Wrong Angle

Consider an observer rotating at the correct speed but with a constant angular offset.

The observer and the vector rotate together, so there is no relative speed difference. The angular error remains constant.

Because the vector is no longer aligned with the d-axis:

  • The d-component is reduced.
  • A non-zero q-component appears.
  • Both quantities remain constant.

The dq quantities remain constant because the observer and the vector continue to rotate at the same speed. Although alignment is incorrect, the angular error does not change with time. The observer therefore sees a stationary vector with a fixed orientation relative to the dq axes.

For a vector of magnitude V:

d=Vcos(θerr)d = V \cos(\theta_{err}) q=Vsin(θerr)q = V \sin(\theta_{err})

These relationships are useful for physical interpretation. They show that the dq components are determined directly by the angular error between the observer and the space vector.

Geometrically, the vector appears stationary, but it is rotated relative to the observer's axes.

The resulting q-component provides a direct indication that the observer is not aligned with the space vector.


q-Component and Alignment

The q-component can be interpreted as a measure of alignment error.

When the observer is perfectly aligned:

q=0q = 0

The entire vector lies along the d-axis.

When angular error exists:

q0q \neq 0

Part of the vector appears along the q-axis.

The larger the angular error, the larger the q-component.

For a constant angular offset, the q-component remains constant. For a changing angular offset, the q-component changes continuously.

This relationship makes the q-component particularly useful when assessing alignment between the observer and the space vector.


Case B – Wrong Speed

Now consider an observer rotating at a speed different from the space vector.

The observer may rotate slightly slower or slightly faster than the actual system frequency.

In this case, the angular error is no longer constant.

Instead, it changes continuously with time.

As the angular error grows, the vector appears to rotate within the dq frame.

The observer therefore no longer sees a stationary vector.

The consequences are:

  • The d-component oscillates.
  • The q-component oscillates.
  • The oscillation frequency equals the relative speed difference between the space vector and the observer.

Even if the observer begins with perfect alignment, the growing angular error eventually causes the vector to drift away from the d-axis.

The rotating frame therefore loses its steady representation of the electrical quantity.


Example: Small Frequency Mismatch

Consider a system operating at 50 Hz.

Suppose the observer rotates at a speed corresponding to 49 Hz.

The speed mismatch is small, but it continuously accumulates over time.

The angular error therefore grows steadily.

Initially, the dq quantities may appear nearly constant. As the error accumulates, increasing oscillation becomes visible in both d and q components.


Case C – Wrong Speed and Wrong Angle

The most general case occurs when both angle and speed are incorrect.

In this situation:

  • A non-zero angular offset exists initially.
  • The angular error continues to change because the speeds differ.

The dq quantities therefore contain both effects simultaneously.

The observer sees:

  • A rotating vector.
  • Oscillating d-component.
  • Oscillating q-component.
  • Continuously changing angular error.

From an engineering perspective, however, the underlying cause remains the same: the observer is not correctly aligned with the space vector.


Visual Interpretation

The distinction between angle mismatch and speed mismatch is important.

Angle mismatch produces:

  • Constant angular error.
  • Constant d and q values.
  • Stationary vector in the dq frame.

Speed mismatch produces:

  • Growing angular error.
  • Rotating vector in the dq frame.
  • Oscillating d and q values.

These two situations produce different signatures in the rotating frame and therefore provide different information about the observer's state.

Interactive Visualization

Speed:Presets:
%
0%ω (100%)150%
°
−180°+180°
abc Signals
vₐv_bv_c
vₐ = 0.000v_b = 0.000v_c = 0.000
αβ Stationary Frame
αβ
vα = 0.000vβ = 0.000θ = 0.0°
dq Frame – External View (lab frame)
αβdq
θ_obs = -90.0°θ_err = 0.0°
dq Frame – Observer View (rotating frame)
dq
v_d = 0.000v_q = 0.000θ_obs = -90.0°θ_err = 0.0°
αβ Components (time domain)
+10−1v (p.u.)t
dq Components (time domain)
+10−1v (p.u.)tv_dv_q
ω_obs / ω1.00
|V|0.000
v_d0.000
v_q0.000
θ_err0.0°

Mode A (ω_obs = ω, θ_err = 0): The space vector appears stationary in the dq frame. v_d equals the vector magnitude and v_q = 0.

Mode B (ω_obs = ω, θ_err ≠ 0): The vector is stationary but misaligned. Both v_d and v_q are constant and non-zero. The q-axis value reveals the angular error.

Mode C (ω_obs ≠ ω): Speed mismatch causes continuous angular error growth. Both v_d and v_q oscillate at the difference frequency (ω − ω_obs).

Use the visualization to explore the three scenarios described in this article:

  • Mode A (Preset A) — Correct speed, correct angle: The observer is perfectly synchronised with the space vector. The d-component is constant and non-zero; the q-component is zero. Angular error is zero.
  • Mode B (Preset B) — Correct speed, wrong angle: Set a non-zero initial angle offset using the slider. The observer rotates at the same speed as the space vector, so the angular error remains constant. Both d and q components are constant but non-zero — the q-component directly indicates the misalignment.
  • Mode C (Preset C) — Wrong speed: Reduce the observer speed below 100%. The angular error grows continuously over time, the vector rotates in the dq frame, and both components oscillate. The oscillation frequency equals the speed difference.

The waveform panels at the bottom show the time histories of the αβ and dq quantities, making the difference between constant (angle error) and oscillating (speed error) signatures clearly visible.

The Remaining Problem

The rotating reference frame provides constant quantities only when the observer maintains both:

  • The correct angular speed.
  • The correct angular position.

The challenge is not performing the coordinate transformation. The challenge is maintaining correct alignment between the rotating frame and the space vector.

The examples in this article show that even small errors eventually affect the dq representation.

A practical power-system application therefore requires a mechanism capable of continuously estimating and updating the observer's position.


Summary

Correct speed and correct angle produce constant dq quantities. Angle error introduces a non-zero q-component. Speed error causes angular error to grow and produces oscillating dq quantities. Combined speed and angle errors produce more complex behaviour, but all effects originate from misalignment between the observer and the space vector.

The need to continuously estimate both angle and frequency naturally motivates the Phase-Locked Loop (PLL), which is the subject of the next article in the Reference Frames in Power Systems series.


Further Reading