You are on page 1of 11

336 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 64, NO.

1, JANUARY 2017

An Adaptive Least-Error Squares Filter-Based


Phase-Locked Loop for Synchronization and
Signal Decomposition Purposes
Saeed Golestan, Senior Member, IEEE, Esmaeil Ebrahimzadeh, Student Member, IEEE,
Josep M. Guerrero, Fellow, IEEE, Juan C. Vasquez, Senior Member, IEEE,
and Frede Blaabjerg, Fellow, IEEE

Abstract—Without any doubt, phase-locked loops (PLLs) FACTS devices, dynamic voltage resorters, active power filters,
are the most popular and widely used technique for the and other power quality conditioners.
synchronization purposes in the power and energy areas. Most advanced PLL-based synchronization and signal de-
They are also popular for the selective extraction of funda-
mental and harmonic/disturbance components of the grid composition techniques are composed of a filtering strategy,
voltage and current. Like most of the control algorithms, which is responsible for separating and extracting the funda-
designing PLLs involves a tradeoff between the accuracy mental and harmonic/disturbance components, and a conven-
and dynamic response, and improving this tradeoff is what tional synchronous reference frame PLL (SRF-PLL), which
recent research efforts have focused on. These efforts are
is accountable for estimating the phase and frequency of the
often based on designing advanced filters and using them
as a preprocessing tool before the PLL input. A filtering fundamental-frequency positive-sequence (FFPS) component.
technique that has received a little attention for this pur- Indeed, the main difference between these advanced PLLs lies
pose is the least-error squares (LES)-based filter. In this in the filtering strategy they use for the signal decomposition be-
paper, an adaptive LES filter-based PLL, briefly called the fore the SRF-PLL input. An overview of these advanced filters
LES-PLL, for the synchronization and signal decomposi-
is presented below.
tion purposes is presented. The proposed LES filter can
be understood as an adaptive complex-coefficient filter be- Employing a parallel connection of multiple complex-
cause its implementation involves cross couplings between coefficient filters (CCFs) as the PLL preprocessing stage is
orthogonal axes. The stability of designed LES-PLL is an- presented in [9]. These CCFs work in a collaborative way,
alyzed by the derivation of its small-signal model. Some each of which is responsible for extracting a particular har-
control design guidelines are also presented. The effective- monic/disturbance component. The key characteristic of the
ness of proposed PLL structure is finally evaluated using
experimental results. CCFs is their asymmetrical frequency response around 0 Hz,
which enables them to make a distinction between the posi-
Index Terms—Distributed generation, least-error squares tive and negative sequence components of the same frequency
(LES), phase-locked loop (PLL), power quality conditioner,
signal decomposition, synchronization. component.
Using two SRFs rotating at the same angular frequency but
I. INTRODUCTION with opposite directions and a cross-feedback network to ex-
tract and separate the FFPS component and the fundamental-
N recent years, the increased penetration of renewable energy
I sources to the power grid and the proliferation of domestic
and industrial nonlinear loads have caused serious power quality
frequency negative-sequence (FFNS) component in the PLL in-
put is proposed in [10]. This structure is mathematically equiv-
alent to the decoupled double SRF technique proposed in [11].
issues and, therefore, have made the synchronization task more The extension of this technique to take into account the harmonic
challenging than before. To deal with this problem, many ad- components is presented in [6] and [12].
vanced synchronization methods have been developed [1]–[7]. Employing two second-order generalized integrator-based
Focusing on three-phase systems, most of these techniques are quadrature signal generators and a positive-negative sequence
based on phase-locked loops (PLLs) [8]. The PLLs are also pop- calculator (PNSC) for separating and detecting the FFPS and
ular for the selective extraction of disturbance/harmonic com- FFNS components in the PLL input is suggested in [13]. The
ponents of distorted power signals [9]–[17]. This task is of vital PNSC in this technique works based on the instantaneous sym-
importance in the control of distributed generation systems, metrical components theory in the stationary (αβ) reference
frame. Extension of this technique to take into consideration
Manuscript received February 28, 2016; revised April 27, 2016 and multiple harmonic/disturbance components is discussed in [14].
June 2, 2016; accepted June 10, 2016. Date of publication August 10, Using cascaded delayed signal cancellation operators in the
2016; date of current version December 9, 2016.
The authors are with the Department of Energy Technology, Aalborg
αβ-frame (briefly called, the αβCDSC operator) for the selec-
University, 9220 Aalborg, Denmark (e-mail: sgd@et.aau.dk; ebb@ tive harmonic detection is suggested in [15]. The number of
et.aau.dk; joz@et.aau.dk; juq@et.aau.dk; fbl@et.aau.dk). αβCDSC operators depends on the number of harmonics that
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org.
needs to be detected. Each αβCDSC operator uses a separate
Digital Object Identifier 10.1109/TIE.2016.2599499 PLL for extracting the amplitude and phase of its corresponding

0278-0046 © 2016 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications standards/publications/rights/index.html for more information.
GOLESTAN et al.: AN ADAPTIVE LES FILTER-BASED PLL FOR SYNCHRONIZATION AND SIGNAL DECOMPOSITION PURPOSES 337

harmonic component. It is worth mentioning that a fast con- harmonic/disturbance component. For example, when the FFNS
vergence delayed signal cancellation operator for the detection component is intended, h is equal to −1.
and separation of the FFPS and FFNS components can be found By applying the Clarke’s transformation to (1), the αβ-axis
in [18]. voltage components can be obtained as
A recursive least squares-based signal decomposition tech-
nique can be found in [16]. This technique uses a variable v α , 1 (t) v α , h (t)
     
forgetting factor which enables it to achieve a fast dynamic vα (t) = V1 cos(θ1 ) + Vh cos(θh ) (2)
response and a high filtering capability. The recursive nature of
this technique and its variable forgetting factor, however, make vβ (t) = V1 sin(θ1 ) + Vh sin(θh ) . (3)
     
the stability analysis a bit difficult. Therefore, a special care in v β , 1 (t) v β , h (t)
designing control parameters has to be paid to ensure the PLL
stability under all circumstances. Delaying the αβ-axis voltages (2) and (3) with a time delay τ
A filtering technique that its joint operation with PLLs has gives
received a little attention is the nonrecursive least-error squares
(LES)-based filter. To the best of authors’ knowledge, the only vα (t − τ ) = V1 cos(θ1 − ωg τ ) + Vh cos(θh − hωg τ )
important work in this area is that proposed by Chen et al. [17]. = cos(ωg τ )vα , 1 (t) + sin(ωg τ )vβ , 1 (t)
This work suffers from two main shortcomings as follows. First,
the nonrecursive LES filter (hereafter, briefly called the LES fil- + cos(hωg τ )vα , h (t) + sin(hωg τ )vβ , h (t) (4)
ter) in [17] is implemented as a real-coefficient filter in the vβ (t − τ ) = V1 sin(θ1 − ωg τ ) + Vh sin(θh − hωg τ )
natural (abc) reference frame that demands a higher computa-
tional effort compared to the αβ-frame implementation, which = − sin(ωg τ )vα , 1 (t) + cos(ωg τ )vβ , 1 (t)
is suggested here. Second, the LES filter in [17] is nonadaptive − sin(hωg τ )vα , h (t) + cos(hωg τ )vβ , h (t). (5)
because a very limited range of variations for the grid frequency
(±0.2 Hz) is considered. While in particular applications this In the matrix form, (2)–(5) can be rewritten as (6). Multiplying
assumption may be valid, it may not be true under weak grid both sides of (6) by the inverse of H gives (7), shown at the
conditions, microgrids, etc. bottom of the next page. The matrix equation (7) describes the
To deal with the aforementioned shortcomings, a frequency- proposed LES filter for a simple case, i.e., when there is only one
adaptive complex-coefficient LES filter in the stationary (αβ) dominant disturbance/harmonic component in the grid voltage.
reference frame is presented. Adapting the LES filter to the The extension of the suggested filter for a multidisturbance case
grid frequency variations is carried out by feeding back the will be discussed later.
frequency estimated by the SRF-PLL. To ensure the stability of
⎡ ⎤
joint operation of the adaptive LES filter and the SRF-PLL, a vα (t)
stability analysis based on their small-signal model is carried ⎢ v (t) ⎥
⎢ β ⎥
out. Using the same small-signal model, some control design ⎢ ⎥
⎣ vα (t − τ ) ⎦
guidelines are then provided. Finally, experimental results are
presented to verify the effectiveness of the proposed LES filter- vβ (t − τ )
based PLL. ⎡ ⎤
1 0 1 0
⎢ ⎥
⎢ 0 1 0 1 ⎥
II. PROPOSED LES FILTER-BASED PLL: =⎢ ⎥
SINGLE-DISTURBANCE CASE ⎣ cos(ωg τ ) sin(ωg τ ) cos(hωg τ ) sin(hωg τ ) ⎦
−sin(ωg τ ) cos(ωg τ ) −sin(hωg τ ) cos(hωg τ )
Let the three-phase grid voltage signals be as   
H
θ1 θh
      ⎡ ⎤
va (t) = V1 cos (ωg t + ϕ1 ) + Vh cos (hωg t + ϕh ) vα , 1 (t)
    ⎢ v (t) ⎥
⎢ β, 1 ⎥
vb (t) = V1 cos ωg t + ϕ1 −

+ Vh cos hωg t + ϕh −
2π ×⎢ ⎥ (6)
3 3 ⎣ vα , h (t) ⎦
    vβ , h (t)
2π 2π
vc (t) = V1 cos ωg t + ϕ1 + + Vh cos hωg t + ϕh +
3 3
(1) Fig. 1 shows the joint operation of the proposed LES fil-
ter and the conventional SRF-PLL. Hereafter, this structure is
where V1 , θ1 , and ϕ1 (Vh , θh , and ϕh ) are the amplitude, briefly referred to as the LES-PLL. Notice that the frequency
phase angle, and initial phase angle of the FFPS component (the estimated by the SRF-PLL is fed back to the LES filter to make
harmonic/disturbance component) of the grid voltage, respec- it frequency adaptive. Also, notice that the length of delays in
tively, and ωg is the grid angular frequency. Notice that h de- the proposed LES filter remains fixed. This feature makes the
notes the order of harmonic/disturbance component, which can small-signal modeling and, therefore, the stability analysis and
be a positive or a negative value depending on the sequence of tuning procedure of the proposed LES-PLL straightforward.
338 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 64, NO. 1, JANUARY 2017

Fig. 1. Schematic diagram of the proposed LES-PLL for a single-disturbance case.

voltage amplitude variations. To solve this problem, the ampli-


tude normalization inside the PLL control loop using an arctan-
gent function is recommended here.

III. PROPOSED LES-PLL: MULTIDISTURBANCE CASE


Fig. 2. Small-signal model of the LES-PLL for a single-disturbance In the previous section, the LES-PLL for a single-disturbance
case.
case was designed. Here, the idea is extended to a multidistur-
bance case.
A. Stability Analysis Let the grid voltage in the αβ reference frame be as
Fig. 2 shows the small-signal model of the proposed LES-
v α , 1 (t) v α , h k (t)
PLL. The procedure of the derivation of this model can be     m   
found in the Appendix. vα (t) = V1 cos(θ1 ) + Vh k cos(θh k ) (9)
Using Fig. 2, the closed-loop transfer function of the LES- k =1
PLL can be obtained as 
m

Δθ̂1 (s) vβ (t) = V1 sin(θ1 ) + Vh k sin(θh k ) (10)


GSD      
cl (s) = k =1
Δθ1 (s) v β , 1 (t) v β , h k (t)
−τ s
1+e V1 kp s + V1 ki where m is the number of harmonics/disturbances in the grid
= (8)
2 s2 + V1 (kp − τ ki /2)s + V1 ki voltage.
where the superscript SD denotes this transfer function is for a Delaying the αβ-axis voltages (9) and (10) with a time delay
single-disturbance case. Applying the Routh–Hurwitz stability nτ gives
test to the characteristic polynomial of (8), i.e., s2 + V1 (kp −
τ ki /2)s + V1 ki = 0, indicates that the LES-PLL is stable if vα (t − nτ ) = cos(nωg τ )vα , 1 (t) + sin(nωg τ )vβ , 1 (t)
2k
0 < ki < τ p . 
m

From the closed-loop transfer function (8), it is noticeable + [cos(nhk ωg τ )vα , h k (t) + sin(nhk ωg τ )vβ , h k (t)]
that the location of closed-loop poles and, therefore, the PLL k =1

stability margin and dynamic behavior, is affected by the grid (11)

⎡ ⎤
vα , 1 (t)
⎢ v (t) ⎥ 1
⎢ β, 1 ⎥ 1
⎢ ⎥=
⎣ vα , h (t) ⎦ 2 cos([h − 1]ωg τ ) − 1
vβ , h (t)
⎡ ⎤⎡ ⎤
cos([h − 1]ωg τ ) − 1 sin([h − 1]ωg τ ) cos(hωg τ ) − cos(ωg τ ) sin(ωg τ ) − sin(hωg τ ) vα (t)
⎢ − sin([h − 1]ω τ ) cos([h − 1]ωg τ ) − 1 sin(hωg τ ) − sin(ωg τ ) cos(hωg τ ) − cos(ωg τ ) ⎥ ⎢ ⎥
⎢ g ⎥ ⎢ vβ (t) ⎥
×⎢ ⎥⎢ ⎥ (7)
⎣ cos([h − 1]ωg τ ) − 1 − sin([h − 1]ωg τ ) cos(ωg τ ) − cos(hωg τ ) sin(hωg τ ) − sin(ωg τ ) ⎦ ⎣ vα (t − τ ) ⎦
sin([h − 1]ωg τ ) cos([h − 1]ωg τ ) − 1 sin(ωg τ ) − sin(hωg τ ) cos(ωg τ ) − cos(hωg τ ) vβ (t − τ )
GOLESTAN et al.: AN ADAPTIVE LES FILTER-BASED PLL FOR SYNCHRONIZATION AND SIGNAL DECOMPOSITION PURPOSES 339

⎡ ⎤
vβ (t − nτ ) = −sin(nωg τ )vα , 1 (t) + cos(nωg τ )vβ , 1 (t) vα , 1 (t) + jv β , 1 (t)
⎢ ⎥

m ⎢ vα , h 1 (t) + jv β , h 1 (t) ⎥
⎢ ⎥
+ [−sin(nhk ωg τ )vα , h k (t) + cos(nhk ωg τ )vβ , h k (t)]. ⎢ vα , h 2 (t) + jv β , h (t) ⎥
⎢ 2 ⎥ (14)
k =1 ⎢ ⎥
⎢ .. ⎥
(12) ⎣ . ⎦
For n = 0, 1, 2, . . . , m, (11) and (12) can be rewritten in the vα , h m (t) + jv β , h m (t)
matrix form as (13), shown at the bottom of the page. Equation ⎡ ⎤
vα , 1 (t) + jv β , 1 (t)
(13) in the space-vector notation corresponds to (14), which is ⎢ ⎥
⎢ vα , h 1 (t) + jv β , h 1 (t) ⎥
a Vandermonde matrix equation [19]. Multiplying both sides ⎢ ⎥
⎢ vα , h 2 (t) + jv β , h (t) ⎥
of (14) by the inverse of the matrix VM yields (15), which ⎢ 2 ⎥
⎢ ⎥
describes the proposed LES filter for the detection and separa- ⎢ .. ⎥
tion of the FFPS component and multiple disturbance/harmonic ⎣ . ⎦
components. The joint operation of this filter and the SRF-PLL, vα , h m (t) + jv β , h m (t)
which results in the proposed LES-PLL for a multidisturbance ⎡ ⎤
vα (t) + jv β (t)
case, can be observed in Fig. 3. ⎢ ⎥
⎡ ⎤ ⎢ vα (t − τ ) + jv β (t − τ ) ⎥
⎢ ⎥
vα (t) + jv β (t) ⎢ ⎥
⎢ vα (t − τ ) + jv (t − τ ) ⎥ = (VM)−1 ⎢ vα (t − 2τ ) + jv β (t − 2τ ) ⎥. (15)
⎢ ⎥ ⎢ ⎥

β
⎥ ⎢ .. ⎥
⎢ vα (t − 2τ ) + jv β (t − 2τ ) ⎥ ⎣ . ⎦
⎢ ⎥ vα (t − mτ ) + jv β (t − mτ )
⎢ .. ⎥
⎣ . ⎦
vα (t − mτ ) + jv β (t − mτ ) An important issue that should be discussed here is the con-
⎡ ⎤ dition of invertibility of the Vandermonde matrix. According to
1 1 1 ··· 1 the proof presented in [19] and [20], the Vandermonde matrix
⎢ e−j ω g τ e−j h 1 ω g τ e−j h 2 ω g τ ··· e −j h m ω g τ ⎥ VM in (14) is invertible if
⎢ ⎥
⎢ −j 2ω g τ ⎥
=⎢ e e−j 2h 1 ω g τ e−j 2h 2 ω g τ · · · e−j 2h m ω g τ ⎥ e−j ω g τ = e−j h 1 ω g τ = e−j h 2 ω g τ = · · · = e−j h m ω g τ .
⎢ ⎥ (16)
⎢ .. .. .. .. .. ⎥
⎣ . . . . . ⎦
e−j m ω g τ
e−j m h 1 ω g τ
e−j m h 2 ω g τ
· · · e−j m h m ω g τ A. Stability Analysis
  
VM
Following the same procedure described in the Appendix,
the small-signal model of the proposed LES-PLL for a

⎡ ⎤ ⎡
vα (t) 1 0 1 0
⎢ ⎥ ⎢
⎢ vβ (t) ⎥ ⎢ 0 1 0 1
⎢ ⎥ ⎢
⎢ vα (t − τ ) ⎥ ⎢ cos(ωg τ ) sin(ωg τ ) cos(h1 ωg τ ) sin(h1 ωg τ )
⎢ ⎥ ⎢
⎢ v (t − τ ) ⎥ ⎢ − sin(ωg τ ) cos(ωg τ ) − sin(h1 ωg τ ) cos(h1 ωg τ )
⎢ β ⎥ ⎢
⎢ ⎥ ⎢
⎢ vα (t − 2τ ) ⎥ = ⎢ cos(2ωg τ ) sin(2ωg τ ) cos(2h1 ωg τ ) sin(2h1 ωg τ )
⎢ ⎥ ⎢
⎢ vβ (t − 2τ ) ⎥ ⎢ − sin(2ωg τ ) cos(2ωg τ ) − sin(2h1 ωg τ ) cos(2h1 ωg τ )
⎢ ⎥ ⎢
⎢ .. ⎥ ⎢ .. .. .. ..
⎢ ⎥ ⎢
⎢ . ⎥ ⎢
. . . .
⎢ ⎥ ⎣
⎣ vα (t − mτ ) ⎦ cos(mωg τ ) sin(mωg τ ) cos(mh1 ωg τ ) sin(mh1 ωg τ )
vβ (t − mτ ) − sin(mωg τ ) cos(mωg τ ) − sin(mh1 ωg τ ) cos(mh1 ωg τ )
⎤⎡ ⎤
1 0 ··· 1 0 vα ,1 (t)
0 1 ··· 0 1 ⎥ ⎢ vβ , 1 (t) ⎥
⎥⎢ ⎥
cos(h2 ωg τ ) sin(h2 ωg τ ) ··· cos(hm ωg τ ) sin(hm ωg τ ) ⎥ ⎢ ⎥
⎥ ⎢ vα , h 1 (t) ⎥
⎥⎢ ⎥
− sin(h2 ωg τ ) cos(h2 ωg τ ) ··· − sin(hm ωg τ ) cos(hm ωg τ ) ⎥ ⎢ vβ , h 1 (t) ⎥
⎥⎢ ⎥
cos(2h2 ωg τ ) sin(2h2 ωg τ ) ··· cos(2hm ωg τ ) sin(2hm ωg τ ) ⎥ ⎢ ⎥
⎥ ⎢ vα , h 2 (t) ⎥ (13)
− sin(2h2 ωg τ ) cos(2h2 ωg τ ) ··· − sin(2hm ωg τ ) cos(2hm ωg τ ) ⎥ ⎢ vβ , h 2 (t) ⎥
⎥ ⎢

⎥⎢ ⎥
.. .. .. .. .. ⎥⎢ .. ⎥
. . . . . ⎥⎢ . ⎥
⎥⎢ ⎥
cos(mh2 ωg τ ) sin(mh2 ωg τ ) ··· cos(mhm ωg τ ) sin(mhm ωg τ ) ⎦ ⎣ vα , h m (t) ⎦
− sin(mh2 ωg τ ) cos(mh2 ωg τ ) ··· − sin(mhm ωg τ ) cos(mhm ωg τ ) vβ , h m (t)
340 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 64, NO. 1, JANUARY 2017

Fig. 3. Schematic diagram of the proposed LES-PLL for a multidisturbance case.

TABLE I
CONTROL PARAMETERS

Parameter Value

Proportional gain, k p 597


Integral gain, k i 63 165
Delay length, τ 1 ms
Fig. 4. Small-signal model of the LES-PLL for a multidisturbance case. Sampling frequency, f s 10 kHz
Grid nominal frequency, w n 2π 50 rad/s
Amplitude of the FFPS component, V 1 1 p.u.
multidisturbance case can be derived as shown in Fig. 4. Notice
that, for m = 1, this model is the same as that derived for a
single-disturbance case (see Fig. 2).
Using Fig. 4, the closed-loop transfer function can be
obtained as
 m
MD 1 + e−τ s V1 kp s + V1 ki
Gcl (s) =
2 s2 + V1 (kp − mτ ki /2)s + V1 ki
(17)
where the superscript MD means this transfer function is for
a multidisturbance case. Applying the Routh–Hurwitz stabil-
ity test to (17) determines the stability range of parameters
2k
as 0 < ki < m τp .

IV. MODEL ACCURACY ASSESSMENT


The stability analysis performed before and the control de-
sign guidelines that will be presented later are based on the
derived small-signal model. Therefore, the accuracy of this
model needs to be verified. To this end, a three-disturbance case
(m = 3) of the proposed LES-PLL for detecting and separating
the FFPS component, FFNS component, the fifth harmonic of
the negative sequence, and the seventh harmonic of the posi- Fig. 5. Accuracy assessment of the small-signal model of the LES-PLL
tive sequence is considered. The dynamic performance of this under (a) +10 Hz frequency step change and (b) +10 Hz/s frequency
LES-PLL is then compared with that predicted by its small- ramping change.
signal model. Table I summarizes the control parameters of the
LES-PLL and its small-signal model. Selecting these param-
eters are based on the control design guidelines that will be
presented in Section V. Two test cases for the model accuracy V. DESIGN GUIDELINES
assessment is considered: 1) an exaggeratedly large frequency
step change of +10 Hz, and 2) a frequency ramping change A. LES Filter
of +10 Hz/s for 0.4 s. Fig. 5 shows the obtained results. As Designing the proposed LES filter involves two important
can be seen, the model perfectly predicts the LES-PLL dynamic decisions: 1) the number of harmonics/disturbances that the
response. LES filter should detect, and 2) the length of its delays.
GOLESTAN et al.: AN ADAPTIVE LES FILTER-BASED PLL FOR SYNCHRONIZATION AND SIGNAL DECOMPOSITION PURPOSES 341

and ki , may be determined by selecting appropriate values for ζ


and ωn .
Regarding the damping factor ζ, the selection is rather
easy because √there are only two recommended options: ζ = 1
and ζ = 1/ 2. Considering ζ = 1 makes the PLL dynamic
behavior more damped and, therefore, results in a higher √
stability margin. On the other hand, choosing ζ = 1/ 2
provides a faster dynamic response for the PLL. Obviously,
each option has its own advantages and disadvantages and,
therefore, one has to make a selection based on their design
priorities.
Fig. 6. Effect of delay length on the magnitude-frequency response About the natural frequency ωn , the decision process is a
of the proposed LES filter in the detection of the FFPS component. bit more complicated as there are many factors that should
A three-disturbance case (h 1 = −1, h 2 = −5, h 3 = +7) is considered. be taken into account. These factors include the speed of
The sampling frequency and nominal frequency are considered to be
10 kHz and 50 Hz, respectively. response, noise immunity, stability margin, level of coupling
between phase and frequency variables, phase error during
a frequency ramping change, and filtering of high-frequency
For sure, considering more harmonic/disturbance components harmonics/disturbances that exist in the grid voltage but has
in the LES filter results in a higher filtering capability and, not been considered in designing the LES filter to reduce the
therefore, a better detection accuracy. However, it increases the computational effort. It is worth mentioning that considering a
required computational effort. Therefore, this decision involves large value for the natural frequency ωn corresponds to a wide
a tradeoff between the filtering capability and the computational bandwidth for the PLL that makes its dynamic response fast
burden. and reduces its phase error under a frequency ramping change.
The response time of the LES filter, on the other hand, It, however, degrades the PLL noise immunity, stability margin
is mainly affected by the delay length τ . Indeed, from the and high-frequency harmonics/disturbances filtering capability,
transient response point of view, a short delay (the small- and increases the coupling between phase and frequency vari-
est possible value for this delay is one sampling period) is ables, which causes large transients in the estimated frequency
favorable. Using a very short delay, however, degrades the when a phase-angle jump happens [21]. Therefore, selecting
noise immunity of the LES filter. To better visualize this fact, the natural frequency ωn involves a tradeoff decision between
Fig. 6 shows the magnitude-frequency response of the pro- aforementioned factors.
posed LES filter (the three-disturbance case) in detecting the Once ζ and ωn are selected, ki and kp can be calculated using
FFPS component for different values of the delay length τ .
Similar Bode plots can be obtained for the proposed LES ki = (ωn )2 /V1
filter in extracting the targeted harmonic/disturbance compo-  
nents. It is clear from Fig. 6 that the smaller the value of mτ (ωn )2
kp = 2ζωn + /V1 . (19)
τ , the lower the noise immunity of the LES filter is. There- 2
fore, the delay length τ should be selected so that a compro-
mise between the noise immunity and speed of response is
achieved.
It is worth mentioning that the condition of the invertibility VI. EXPERIMENTAL RESULTS
of the Vandermonde matrix should also be taken into account in To demonstrate the effectiveness of the proposed synchro-
selecting the delay length τ . It should also be noted that large nization and signal decomposition technique, some experimen-
values of τ , in addition to improving the noise immunity of the tal results are presented in this section. These experimental
LES filter, result in rejecting some extra harmonics/disturbances results are obtained by using a real-time hardware platform
in detecting a targeted component. (dSpace ds1006). Here, like the case described in Section IV,
separating and detecting the FFPS component, FFNS compo-
B. Synchronous Reference Frame Phase-Locked Loop nent, 5− harmonic component, and 7+ harmonic component
is considered. This case, as mentioned earlier, is correspond-
For the sake of convenience, the closed-loop transfer function ing to a three-disturbance case, m = 3. The same control pa-
(17) is repeated with some extra information as rameters summarized in Table I, which are corresponding to
 m ζ = 1 and ωn = 2π40 rad/s, are used for obtaining experimental
MD 1 + e−τ s V1 kp s + V1 ki
Gcl (s) = results.
2 s2 + V1 (kp − mτ ki /2) s + V1 ki
    To highlight the effectiveness of the proposed LES-PLL, the
2ζ ω n (ω n ) 2 multiple CCF-based PLL (MCCF-PLL) [9] is also implemented
(18) and its results are compared with those of the LES-PLL. The
in which ζ is the damping factor and ωn is the natural fre- control parameters of the MCCF-PLL are tuned using the sym-
quency. Therefore, the control parameters of the SRF-PLL, kp metrical optimum method as recommended in [22]. The selected
342 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 64, NO. 1, JANUARY 2017

Fig. 7. Experimental results for the test case 1.

values are: kp = 138, ki = 7961, and ωp = 2π52 rad/s (ωp is 3) Test case 3: The grid frequency undergoes a ramping
the cutoff frequency of CCFs). change of +10 Hz/s.
Four test cases are designed. 4) Test case 4: The grid frequency is at its nominal value. A
1) Test case 1: The grid voltage is balanced and without frequency step change of +2 Hz suddenly occurs.
harmonic distortion. Suddenly, an asymmetrical voltage Fig. 7 shows the obtained results for the test case 1. The
sag with a phase-angle jump of +40◦ happens. Before phase error signal (which is the difference between the real and
the voltage sag, the amplitude of all phases is 1 p.u., and estimated phase angles) in the LES-PLL converges to zero in
after voltage sag the amplitude of phases A and B drops about one cycle of the fundamental frequency. For the MCCF-
to 0.25 p.u. PLL, however, this time is about two cycles. The faster detection
2) Test case 2: The grid voltage is first balanced and without of the FFPS and FFNS components by the LES-PLL can also
the harmonic distortion. Suddenly, 0.4 p.u. FFNS com- be clearly observed in Fig. 7.
ponent, 0.3 p.u. 5− harmonic component, and 0.2 p.u. The experimental results for the test case 2 are depicted in
7+ harmonic component are superimposed on the grid Fig. 8. These results, again, confirm the faster dynamic per-
voltage. During this test, the grid frequency is fixed at formance of the LES-PLL in the detection of fundamental and
+47 Hz. harmonic components.
GOLESTAN et al.: AN ADAPTIVE LES FILTER-BASED PLL FOR SYNCHRONIZATION AND SIGNAL DECOMPOSITION PURPOSES 343

Fig. 8. Experimental results for the test case 2.

Fig. 9 illustrates the results of test case 3. As shown, shows the obtained results for the test case 4, is another
the LES-PLL benefits from a much lower phase error proof to verify the effectiveness of the proposed LES-
during the frequency ramping interval. Fig. 10, which PLL.
344 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 64, NO. 1, JANUARY 2017

stability test to its characteristic polynomial. To facilitate tuning


the control parameters, some control design guidelines were also
presented. Finally, the effectiveness of the proposed LES-PLL
was analyzed through extensive experimental results and was
highlighted through a comparison with a state-of-the-art PLL,
i.e., the MCCF-PLL. It was shown that the proposed LES-PLL
offers a fast dynamic response and a high detection accuracy
and, therefore, it can be a good candidate for the synchroniza-
tion and signal decomposition purposes.

APPENDIX
SMALL-SIGNAL MODELING
According to Fig. 1, the FFPS component extracted by
the proposed LES filter for a single-disturbance case can be
described as

1 
v̂α , 1 (t) = k1 vα (t) + k2 vα (t − τ ) + k3 vβ (t)
2k1

−k4 vβ (t − τ ) (A-1)
1 
Fig. 9. Experimental results for the test case 3. v̂β , 1 (t) = k1 vβ (t) + k2 vβ (t − τ ) − k3 vα (t)
2k1

+ k4 vα (t − τ ) . (A-2)

Substituting (2) and (3) into (A-1) and (A-2) and applying some
simple mathematical manipulations gives

1
v̂α ,1 (t) =
2{cos([h − 1]ω̂g τ ) − 1}


V1 cos(θ1 − [h − 1]ω̂g τ ) − V1 cos(θ1 )

+ V1 cos(θ1 − ωg τ + hω̂g τ ) − V1 cos(θ1 − ωg τ + ω̂g τ )


≈0
  
+ Vh cos(θh − [h − 1]ω̂g τ ) − Vh cos(θh − hωg τ + ω̂g τ )


+ Vh cos(θh − hωg τ + hω̂g τ ) − Vh cos(θh ) (A-3)
  ⎭
≈0

1
v̂β , 1 (t) =
2{cos([h − 1]ω̂g τ ) − 1}

Fig. 10. Experimental results for the test case 4. ⎨
V1 sin(θ1 − [h − 1]ω̂g τ ) − V1 sin(θ1 )

VII. CONCLUSION
+ V1 sin(θ1 − ωg τ + hω̂g τ ) − V1 sin(θ1 − ωg τ + ω̂g τ )
The aim of this paper was developing an LES filter-based
≈0
PLL for the synchronization and signal decomposition purposes   
in power and energy applications. To facilitate its understand- + Vh sin(θh − [h − 1]ω̂g τ ) − Vh sin(θh − hωg τ + ω̂g τ )
ing, the proposed LES-PLL was first designed for a single- ⎫
disturbance case, and it was then extended to a multidisturbance ⎬
+ Vh sin(θh − hωg τ + hω̂g τ ) − Vh sin(θh ) . (A-4)
case. The stability of the suggested LES-PLL was analyzed by   ⎭
deriving its small-signal model and applying the Routh–Hurwitz ≈0
GOLESTAN et al.: AN ADAPTIVE LES FILTER-BASED PLL FOR SYNCHRONIZATION AND SIGNAL DECOMPOSITION PURPOSES 345

Using these equations, the input signal of the proportional- [12] G. D. Donato, G. Scelba, G. Borocci, F. G. Capponi, and G. Scarcella,
integral controller, vq , can be obtained as “Fault-decoupled instantaneous frequency and phase angle estimation
for three-phase grid-connected inverters,” IEEE Trans. Power Electron.,
vol. 31, no. 4, pp. 2880–2889, Apr. 2016.
vq (t) = −sin(θ̂1 )v̂α , 1 (t) + cos(θ̂1 )v̂β , 1 (t) [13] P. Rodriguez, R. Teodorescu, I. Candela, A. V. Timbus, M. Liserre, and
V1  F. Blaabjerg, “New positive-sequence voltage detector for grid synchro-
= sin(θ1 −[h−1]ω̂g τ − θ̂1 ) nization of power converters under faulty grid conditions,” in Proc. 37th
2{cos([h−1]ω̂g τ )−1} Annu. IEEE Power Electron. Spec. Conf., Jun. 2006, pp. 1–7.
[14] P. Rodriguez, A. Luna, I. Candela, R. Mujal, R. Teodorescu, and F. Blaab-
+ sin(θ1 − ωg τ + hω̂g τ − θ̂1 ) jerg,“Multiresonant frequency-locked loop for grid synchronization of
 power converters under distorted grid conditions,” IEEE Trans. Ind. Elec-
tron., vol. 58, no. 1, pp. 127–138, Jan. 2011.
− sin(θ1 − ωg τ + ω̂g τ − θ̂1 ) − sin(θ1 − θ̂1 ) . [15] Y. F. Wang and Y. W. Li, “Three-phase cascaded delayed signal can-
(A-5) cellation PLL for fast selective harmonic detection,” IEEE Trans. Ind.
Electron., vol. 60, no. 4, pp. 1452–1463, Apr. 2013.
[16] M. Beza and M. Bongiorno, “Application of recursive least squares algo-
By assuming a quasi-locked state, i.e., θ̂1 ≈ θ1 and ω̂g ≈ ωg , rithm with variable forgetting factor for frequency component estimation
and by defining θ1 = θn + Δθ1 , θ̂1 = θn + Δθ̂1 , ωg = ωn + in a generic input signal,” IEEE Trans. Ind. Appl., vol. 50, no. 2, pp. 1168–
1176, Mar. 2014.
Δωg , and ω̂g = ωn + Δω̂g , where ωn is the nominal value of [17] G. Chen, L. Zhang, R. Wang, L. Zhang, and X. Cai, “A novel SPLL and
the grid frequency and θn = ωn dt, (A-5) can be approximated voltage sag detection based on LES filters and improved instantaneous
by symmetrical components method,” IEEE Trans. Power Electron., vol. 30,
  no. 3, pp. 1177–1188, Mar. 2015.
Δθ1 + Δθ1 − τ Δωg τ Δω̂g [18] R. Cardenas, M. Diaz, F. Rojas, and J. Clare, “Fast convergence delayed
vq (t) ≈ V1 − Δθ̂1 + (A-6) signal cancellation method for sequence component separation,” IEEE
2 2 Trans. Power Del., vol. 30, no. 4, pp. 2055–2057, Aug. 2015.
[19] F. A. Graybill, Matrices With Applications in Statistics, 2nd ed. Belmont,
which corresponds in the Laplace domain to CA, USA: Wadsworth, 1983.
 
1 + e−τ s τ Δω̂g (s) [20] J. J. Rushanan, “On the vandermonde matrix,” Amer. Math. Month., vol. 96,
vq (s) ≈ V1 Δθ1 (s) − Δθ̂1 (s) + . no. 10, pp. 921–924, 1989.
2 2 [21] M. Karimi-Ghartemani, S. A. Khajehoddin, P. K. Jain, and A. Bakhshai,
(A-7) “Problems of startup and phase jumps in PLL systems,” IEEE Trans.
Power Electron., vol. 27, no. 4, pp. 1830–1838, Apr. 2012.
Based on (A-7) and the LES-PLL structure (see Fig. 1), it is easy [22] S. Golestan, M. Monfared, and F. D. Freijedo, “Design-oriented study of
to derive the small-signal model of the LES-PLL as depicted advanced synchronous reference frame phase-locked loops,” IEEE Trans.
in Fig. 2. Power Electron., vol. 28, no. 2, pp. 765–778, Feb. 2013.

REFERENCES
[1] C. J. Ramos, A. P. Martins, and A. S. Carvalho, “Frequency and phase-
angle estimation using ordinary least squares,” IEEE Trans. Ind. Electron.,
vol. 62, no. 9, pp. 5677–5688, Sep. 2015. Saeed Golestan (M’11–SM’15) received the
[2] S. Golestan and J. M. Guerrero,“An analysis of modified demodulation- B.Sc. degree in electrical engineering from
based grid voltage parameter estimator,” IEEE Trans. Power Electron., Shahid Chamran University of Ahvaz, Ahvaz,
vol. 30, no. 12, pp. 6528–6533, Dec. 2015. Iran, in 2006, and the M.Sc. degree in elec-
[3] M. Mojiri, M. Karimi-Ghartemani, and A. Bakhshai, “Time-domain signal trical engineering from Amirkabir University of
analysis using adaptive notch filter,” IEEE Trans. Signal Process., vol. 55, Technology, Tehran, Iran, in 2009. He is currently
no. 1, pp. 85–93, Jan. 2007. working toward the Ph.D. degree in the Depart-
[4] D. Yazdani, A. Bakhshai, G. Joos, and M. Mojiri, “A real-time three-phase ment of Energy Technology, Aalborg University,
selective-harmonic-extraction approach for grid-connected converters,” Aalborg, Denmark.
IEEE Trans. Ind. Electron., vol. 56, no. 10, pp. 4097–4106, Oct. 2009. His research interests include phase-locked
[5] B. Liu, F. Zhuo, Y. Zhu, H. Yi, and F. Wang, “A three-phase PLL algorithm loop and nonlinear filtering techniques for power
based on signal reforming under distorted grid conditions,” IEEE Trans. engineering applications, power quality measurement and improvement,
Power Electron., vol. 30, no. 9, pp. 5272–5283, Sep. 2015. estimation of power system parameters, and microgrid.
[6] L. Hadjidemetriou, E. Kyriakides, and F. Blaabjerg, “A robust synchro-
nization to enhance the power quality of renewable energy systems,” IEEE
Trans. Ind. Electron., vol. 62, no. 8, pp. 4858–4868, Aug. 2015.
[7] Y. N. Batista, H. E. P. de Souza, F. A. S. Neves, R. F. D. Filho, and F.
Bradaschia, “Variable-structure generalized delayed signal cancellation
PLL to improve convergence time,” IEEE Trans. Ind. Electron., vol. 62,
no. 11, pp. 7146–7150, Nov. 2015.
[8] S. Golestan, J. Guerrero, and J. Vasquez, “Three-phase PLLs: A review of
recent advances,” IEEE Trans. Power Electron., to be published. Esmaeil Ebrahimzadeh (S’16) was born in
[9] X. Guo, W. Wu, and Z. Chen, “Multiple-complex coefficient-filter-based Isfahan, Iran, in 1988. He received the B.Sc. de-
phase-locked loop and synchronization technique for three-phase grid- gree in electrical engineering from Malek-Ashtar
interfaced converters in distributed utility networks,” IEEE Trans. Ind. University of Technology, Isfahan, Iran, in 2010,
Electron., vol. 58, no. 4, pp. 1194–1204, Apr. 2011. and the M.Sc. degree in electrical engineering
[10] P. Xiao, K. A. Corzine, and G. K. Venayagamoorthy, “Multiple refer- from the University of Tehran, Tehran, Iran, in
ence frame-based control of three-phase PWM boost rectifiers under un- 2013. He is currently working toward the Ph.D.
balanced and distorted input conditions,” IEEE Trans. Power Electron., degree in the Department of Energy Technology,
vol. 23, no. 4, pp. 2006–2017, Jul. 2008. Aalborg University, Aalborg, Denmark.
[11] P. Rodriguez, J. Pou, J. Bergas, J. I. Candela, R. P. Burgos, and D. Boroye- His research interests include power-
vich, “Decoupled double synchronous reference frame PLL for power electronic converters, power quality, renewable
converters control,” IEEE Trans. Power Electron., vol. 22, no. 2, pp. 584– energy systems, and power system protection.
592, Mar. 2007.
346 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 64, NO. 1, JANUARY 2017

Josep M. Guerrero (S’01–M’04–SM’08–FM’15) Frede Blaabjerg (F’03) received the Ph.D. de-
received the B.Sc. degree in telecommunica- gree from Aalborg University, Aalborg, Denmark,
tions engineering, the M.Sc. degree in electron- in 1992.
ics engineering, and the Ph.D. degree in power From 1987 to 1988, he was with ABB Scan-
electronics from the Technical University of Cat- dia, Randers, Denmark. In 1992, he became an
alonia, Barcelona, Spain, in 2000 and 2003, re- Assistant Professor at Aalborg University, where
spectively. he became an Associate Professor in 1996 and
Since 2011, he has been a Full Professor with a Full Professor of power electronics and drives
the Department of Energy Technology, Aalborg in 1998. He is currently with the Department
University, Aalborg, Denmark, where he is re- of Energy Technology, Faculties of Engineer-
sponsible for the Microgrid Research Program. ing and Science, Aalborg University. His cur-
Since 2012, he has been a Guest Professor with the Chinese Academy of rent research interests include power electronics and applications, such
Science, Beijing, China, and Nanjing University of Aeronautics and Astro- as in wind turbines, photovoltaic systems, reliability, harmonics, and
nautics, Nanjing, China, and since 2014, he has been a Chair Professor adjustable-speed drives.
with Shandong University. His research interests include different mi- Prof. Blaabjerg was the Editor-in-Chief of the IEEE TRANSACTIONS ON
crogrid aspects, including power electronics, distributed energy-storage POWER ELECTRONICS from 2006 to 2012. He was a Distinguished Lec-
systems, hierarchical and cooperative control, energy management sys- turer of the IEEE Power Electronics Society (PELS) from 2005 to 2007
tems, and optimization of microgrids and islanded minigrids. and of the IEEE Industry Applications Society from 2010 to 2011. He
Dr. Guerrero was awarded by Thomson Reuters as an ISI Highly Cited was nominated by Thomson Reuters as one of the 250 most cited re-
Researcher in 2014. searchers in engineering in the world in 2014. He received 15 IEEE Prize
Paper Awards, the IEEE PELS Distinguished Service Award in 2009, the
European Power and Drives Association Power Electronics and Motion
Control Council Award in 2010, the IEEE William E. Newell Power Elec-
tronics Award in 2014, and the Villum Kann Rasmussen Research Award
in 2014.

Juan C. Vasquez (M’12–SM’14) received the


B.S. degree in electronics engineering from the
Autonomous University of Manizales, Maniza-
les, Colombia, and the Ph.D. degree in auto-
matic control, robotics, and computer vision from
the Technical University of Catalonia, Barcelona,
Spain, in 2004 and 2009, respectively.
He was with the Autonomous University of
Manizales as a Teaching Assistant and the Tech-
nical University of Catalonia as a Postdoctoral
Assistant in 2005 and 2008, respectively. In
2011, he was an Assistant Professor and since 2014, he has been an
Associate Professor in the Department of Energy Technology, Aalborg
University, Aalborg, Denmark, where he is the Vice Program Leader of
the Microgrids Research Program. From February 2015 to April 2015,
he was a Visiting Scholar at the Center for Power Electronics Systems,
Virginia Polytechnic Institute ans State University, Blacksburg, VA, USA.
His current research interests include operation, advanced hierarchical
and cooperative control, optimization, and energy management applied
to distributed generation in ac and dc microgrids. He has authored or
coauthored more than 100 technical papers on microgrids, 60 of them
published in IEEE journals.
Dr. Vasquez is a Member of the IEC System Evaluation Group SEG4
on LVDC Distribution and Safety for use in Developed and Developing
Economies, the Renewable Energy Systems Technical Committee (TC-
RES) of the IEEE Industrial Electronics, IEEE Power Electronics, IEEE
Industry Applications, and IEEE Power and Energy Societies.

You might also like