PLL Algorithms PDF
PLL Algorithms PDF
Fig. 5. Peak phase angle error of the three-phase PLL in the Five different single-phase PLL structures have been
presence of harmonic distortion in input voltages. studied: two single-phase versions of the three-phase dqPLL
(PLL-dqFIFO and PLL-dq-Park) [5],[6]; one single-phase
4) Phase Unbalance Response – This test has been version of the three-phase pPLL (pPLL) [15]; the enhanced
performed using the ANSI/IEEE standard 141-1986 which PLL (EPLL) [7],[8]; and finally one PLL which employs an
quantifies the three-phase unbalance as the relative adaptive filter to estimate line phase angle (PLL-ALC) [12].
maximum individual line rms voltage deviation in relation to
the average rms value of the three phases: A. Single-phase Transport Delay PLL (PLL-dq-FIFO)
Unbalance% =
(a ,b ,c
max |VRMS − VRMS | )
× 100% (8)
Fig. 7 shows the block diagram of the PLL-dq-FIFO
VRMS [5],[6]. Its working principle is the same of its three-phase
version. It uses a first-in-first-out register to build the
where VRMS is the average rms value of the three phases. quadrature component to the dq transformation. Due to the
fixed length delay, it is not able to adjust to input voltage
Fig. 6 shows the peak and average phase angle errors of
frequency deviations, leading to phase angle errors as will be
both PLLs as a consequence of line unbalance, which has
shown in the simulation results. Other alternative to generate
been calculated through (8).
the quadrature component is the Hilbert transformer, but it is
very difficult to implement in low frequency (50/60Hz).
kp
ωff
+ ki + + 1 θ̂
Vd* = 0 - s + + s
Vd
dq
Vq
αβ
Vβ
PLL input Delay
1/4 Cycle
(FIFO) Vα
Fig. 6. Peak and average phase angle errors of the three-phase
PLLs as a function of input voltage unbalance. Fig. 7. Single-phase transport delay PLL
B. Single-phase Inverse Park PLL (PLL-dq-Park)
kp
ωff
Fig. 8 displays the block diagram of the single-phase dq PLL input
inverse Park based PLL [5],[6]. It is also based on frame u + e ki
+ + ˆ&
θ 1 θ̂
orientation. The quadrature component Vα is build through - s + + s
the inverse Park transformation. ^
A K x1
sin
kp s
ωff
cos
θ̂ x2
+ ki + + 1
Vd* = 0 - s + + s Fig. 10. Single-phase Enhanced PLL
As pointed out by (10), there is a strong drawback to this Fig. 11. Adaptive filter structure
structure: the product of input voltage and “virtual” current
has a second harmonic component which has to be filtered E. Single-phase Adaptive Linear Combiner PLL (PLL-ALC)
out. Thus, a low pass filter with low cutoff frequency is
Fig. 12 displays the block diagram of the PLL-ALC, which
needed, slowing down system’s speed. The adopted approach
is also based on adaptive filter theory [12].
in the performed simulations was to use the state feedback
technique to allocate closed loop poles and hence system’s
kp
dynamics, as presented in [15]. ωff
+ + ˆ&
ωff + ki θ 1 θ̂
x1 x2 W 2* = 0
- s + + s
+ ω̂ θ̂
+ e State Fbk. 2nd order 1 W2
p*=0
Controller filter + s W12 + W22
- x3
x1
W1 sin
+
u(t) is(t)
− cos(θˆ ) + x2
PLL input W2 cos
Fig. 9. Single-phase power PLL
PLL input - Adaptation Algorithm
e
D. Single-phase Enhanced PLL (EPLL) u
+
Fig. 10 displays the block diagram of the EPLL [7],[8]. Fig. 12. Single-phase Adaptive Linear Combiner PLL
The filter inputs x1 and x2 are built with the estimated 2) Phase-Angle Jump Response – Fig. 14 shows the
phase angle θ̂ , what is analogous to the EPLL scheme in Fig. results for this test, and Table III shows the ISE of all five
10. The linear combiner gains W1 and W2 are updated on-line responses. The pPLL has the slowest response due to its filter
using the delta rule. The PI controller regulates the gain W2 with small cutoff frequency. PLL-dq-FIFO has the smallest
to zero. Thus the W1 gain becomes equal to the input voltage undershoot, and PLL-dq-Park has the smallest settling time.
amplitude when θ̂ equals θ. The normalizing block which
computes W12 + W22 improves transient response to voltage
disturbances but it is not essential.
Table II
Voltage Sag Test ISE – Single-Phase Algorithms
ISE – Integral of Square Phase-Angle Error
Algorithm PLL-dq-FIFO PLL-dq-Park pPLL EPLL PLL-ALC
ISE 0.12 1.12 0.04 0.28 0.63
10.7% 100% 3.5% 25% 56.2% Fig. 15. Single-phase PLLs responses to a frequency step of +5Hz
Table IV Table V
Frequency Step Test ISE – Single-Phase Algorithms Computational Load of the Single-Phase Algorithms
ISE – Integral of Square Phase-Angle Error Total Number of Operations
Algorithm PLL-dq-FIFO PLL-dq-Park pPLL EPLL PLL-ALC Algorithm Mult Add. Trig. Div Shift Total %
ISE 5.53 0.62 53.5 1.85 2.25 PLL-dq-FIFO 2 2 2 0 2 8 36%
10.3% 1.2% 100% 3.5% 4.2% PLL-dq-Park 13 7 2 0 0 22 100%
pPLL 9 7 1 0 0 17 77%
4) Harmonics Response – Fig. 16 shows the time response
EPLL 4 3 2 0 0 9 41%
to 5% 3rd harmonic injection in the line input voltage. In
some responses there is a dc error superimposed to the PLL-ALC 14 7 2 2 0 38* 172%
oscillating phase-angle error. * Division has been weighted by a factor of 10.
IV. CONCLUSIONS
V. REFERENCES