From Alignment Error to Synchronization
In When the Reference Frame Is Wrong, the synchronous reference frame was shown to depend on correct alignment between the observer and the rotating space vector.
When alignment is achieved:
The space vector lies entirely along the d-axis and the dq quantities remain constant.
When alignment is lost:
A component appears along the q-axis, indicating that the observer is not correctly aligned with the vector.
When the Reference Frame Is Wrong also showed that frequency mismatch causes angular error to grow continuously, producing oscillating dq quantities.
As angular error grows, the observer and the space vector no longer rotate together. The vector therefore appears to rotate within the dq frame, causing the d and q components to oscillate.
The practical challenge is preventing this loss of alignment. The Phase-Locked Loop is introduced as the mechanism that continuously adjusts the observer so that synchronization is maintained.
This article is part of the Reference Frames in Power Systems series.
The Alignment Problem
The alignment between the observer and the space vector can be described by:
The objective is to maintain:
The observer requires the correct angular position and the correct angular speed. These quantities are not known in advance and must be estimated continuously while the electrical system evolves.
This is the problem solved by the Phase-Locked Loop (PLL).
What Is a PLL?
A Phase-Locked Loop is a synchronization mechanism.
Its purpose is to continuously align the rotating reference frame with the rotating space vector.
The PLL does not change the electrical system. It adjusts the observer.
The PLL can be viewed as an automatic observer-alignment mechanism. Its purpose is to continuously rotate the observer until the rotating reference frame remains aligned with the space vector. In doing so, it continuously corrects the angle and speed errors discussed in Synchronous Reference Frame (dq) and When the Reference Frame Is Wrong.
The PLL therefore solves the alignment problem that arises whenever the observer loses synchronization with the electrical quantity being observed.
Its objective is to:
- Estimate the correct angle.
- Estimate the correct frequency.
- Maintain alignment with the space vector.
The q-Component as an Error Signal
When the observer is aligned:
When the observer is not aligned:
For small angular errors:
Larger angular errors produce larger q-components.
The sign of q indicates the direction of misalignment.
Conceptual Feedback Process
The PLL operates as a feedback loop:
- Measure the q-component.
- Estimate the correction required.
- Adjust the observer speed.
- Update the observer angle.
- Reduce q toward zero.
The purpose of this process is to reduce angular error.
As discussed in When the Reference Frame Is Wrong, a non-zero q-component indicates that the observer is not correctly aligned with the space vector. Reducing q therefore reduces the alignment error between the observer and the vector.
When q approaches zero, the observer becomes aligned with the space vector and the rotating reference frame reaches the condition required for steady dq quantities.
Angle Tracking
The PLL continuously maintains an estimate of:
The objective is to ensure that this estimate follows:
When the estimates match, angular error approaches zero.
Frequency Tracking
The PLL also maintains an estimate of:
If the frequency estimate is incorrect, angular error accumulates over time.
The PLL continuously adjusts its frequency estimate to maintain synchronization.
Acquiring Lock
Initially:
- Angular error may be large.
- q may be large.
- The observer may be significantly misaligned.
The PLL progressively:
- Detects alignment error.
- Adjusts its frequency estimate.
- Updates its angle estimate.
- Reduces angular error.
- Converges toward alignment.
This process is known as lock acquisition.
Locked State
A PLL is said to be locked when the observer remains synchronized with the space vector.
In the locked condition:
- Angular error remains close to zero.
- q remains close to zero.
- Estimated frequency matches actual frequency.
- Estimated angle follows the space-vector angle.
The rotating reference frame remains aligned and balanced steady-state quantities appear nearly constant.
Once locked, the observer and the space vector have essentially no relative motion. The rotating reference frame therefore behaves exactly as described in Synchronous Reference Frame (dq). The space vector appears stationary, the d-axis remains aligned with the vector, and balanced steady-state quantities appear nearly constant in the dq frame.
Unlocked State
A PLL is considered unlocked when synchronization is lost.
Angular error becomes significant, q deviates from zero, and the observer no longer remains aligned with the space vector.
Behaviour During a Frequency Change
Following a frequency step:
- The space vector rotates faster or slower.
- Angular error develops.
- q becomes non-zero.
- The PLL adjusts its frequency estimate.
- Synchronization is restored.
Behaviour During a Phase Jump
Following a phase jump:
- Angular error appears immediately.
- q becomes non-zero.
- The PLL adjusts its angle estimate.
- Alignment is restored.