사각형입니다.

https://doi.org/10.6113/JPE.2018.18.5.1523

ISSN(Print): 1598-2092 / ISSN(Online): 2093-4718



Fast Single-Phase All Digital Phase-Locked Loop for Grid Synchronization under Distorted Grid Conditions


Peiyong Zhang, Haixia Fang*, Yike Li*, and Chenhui Feng**


†,*College of Electrical Engineering, Zhejiang University, Hangzhou, China

**College of Physics and Information Engineering, Fuzhou University, Fuzhou, China



Abstract

High-performance Phase-Locked Loops (PLLs) are critical for grid synchronization in grid-tied power electronic applications. In this paper, a new single-phase All Digital Phase-Locked Loop (ADPLL) is proposed. It features fast transient response and good robustness under distorted grid conditions. It is designed for Field Programmable Gate Array (FPGA) implementation. As a result, a high sampling frequency of 1MHz can be obtained. In addition, a new OSG is adopted to track the power frequency, improve the harmonic rejection and remove the dc offset. Unlike previous methods, it avoids extra feedback loop, which results in an enlarged system bandwidth, enhanced stability and improved dynamic performance. In this case, a new parameter optimization method with consideration of loop delay is employed to achieve a fast dynamic response and guarantee accuracy. The Phase Detector (PD) and Voltage Controlled Oscillator (VCO) are realized by a Coordinate Rotation Digital Computer (CORDIC) algorithm and a Direct Digital Synthesis (DDS) block, respectively. The whole PLL system is finally produced on a FPGA. A theoretical analysis and experiments under various distorted grid conditions, including voltage sag, phase jump, frequency step, harmonics distortion, dc offset and combined disturbances, are also presented to verify the fast dynamic response and good robustness of the ADPLL.


Key words: ADPLL, CORDIC, DDS, Distorted grid, Single-phase


Manuscript received Jul. 16, 2017; accepted Apr. 6, 2018

Recommended for publication by Associate Editor Young-Doo Yoon.

Corresponding Author: zhangpy@vlsi.zju.edu.cn Tel: +86-571- 8795-1679, Zhejiang University

*College of Electrical Engineering, Zhejiang University, China

**College of Physics and Information Eng., Fuzhou University, China



Ⅰ. INTRODUCTION

Grid synchronization is a crucial aspect in grid-tied power electronic applications, such as distributed generation (DG) units, uninterruptible power supplies (UPS), grid power converters, and so on. The key to this synchronization is how to quickly and accurately obtain information on the utility voltage, namely the phase, frequency and amplitude. Various methods have been produced to achiever this. Phase-locked loop (PLL) techniques have drawn a lot of attention owing to their simplicity, robustness and effectiveness [1]-[3].

A PLL, which is a nonlinear negative feedback control system, synchronizes its output in terms of frequency and phase with its input [4]. It is composed of three parts: a phase detector (PD), loop filter (LF) and voltage controlled oscillator (VCO). The PD generates a phase error between the input signal and the feedback signal. The LF filters the error and provides a control reference for the VCO. Then the VCO outputs the in-phase signal once the PLL is locked [5], [6].

Many different kinds of PLLs for grid synchronization have been proposed. Depending on the application, these PLLs can be divided into two major categories: single-phase PLLs and three-phase PLLs. In general, the design of single- phase PLLs is more complicated than that three-phase PLLs. This is due to the fact that single-phase PLLs lack multiple independent inputs to extract the phase error while three- phase PLLs can easily obtain the error by an abcdqo transformation [7], [8]. The power- based PLL (pPLL) can better illustrate this fact. It has the simplest structure but suffers from obvious double-frequency oscillations [9]-[11]. Hence, synchronous rotating reference frame phase-locked loops (SRF-PLLs) as a solution for this drawback have drawn a lot of attention in recent years [12]. They have been developed from three-phase PLLs and they use an orthogonal signal generator (OSG)-based PD to detect the phase error. According to the OSG, various SRF-PLLs have been designed, such as the delay-based PLL and the differential-based PLL. The inverse-park transform-based PLL (Park-PLL) and the second-order generalized integrator-based PLL (SOGI-PLL) are also SRF-PLLs. Both of them show a relatively fast transient response and a high disturbance rejection capability [13].

However, the complex grid environment poses higher requirements to traditional single-phase PLLs. Firstly, the PLLs must be able to remove dc offset, which leads to phase-locked inaccuracies. Even if the system is well designed, a dc component may arise due to temporary system faults, measurement devices and conversion processes [14]- [16]. By adding an in-loop low-pass filter (LPF), a dc feedback loop and a dc error compensation algorithm have been proposed in [14], [15]. They are always undesirable due to their bad influence on the dynamic response. Secondly, the PLLs must track the power frequency and achieve frequency self-adaption or the frequency variations brings errors. Feeding back the estimated frequency to the PD is always used [17]. However, such a frequency feedback loop decreases the system bandwidth and makes tuning sensitive, which reduces the stability margins and dynamic response [17], [18]. Thirdly, the PLLs must have enough filtering capability for harmonics to improve robustness. A good phase-locked accuracy and a fast response speed are the pursuit of PLLs. However, there is always a tradeoff between steady-state accuracy and transient response. Adding a feedback loop, like frequency and dc feedback loops, means introducing an additional tradeoff and deteriorating the dynamic performance [19], [20]. In addition, the traditional implementation of PLLs using microprocessors or DSPs is subjected to sequential operation. The sample rate of PLLs is limited, which impedes the improvement of the dynamic and steady-state performances.

In this paper, a new single-phase all digital PLL (ADPLL) is proposed to ensure a fast dynamic response. It is designed for Field Programmable Gate Array (FPGA) implementation with a sampling frequency of 1MHz, which leads to potential improvements in the transient response and steady-state accuracy. The PD and VCO are realized by a Coordinate Rotation Digital Computer (CORDIC) algorithm and a Direct Digital Synthesis (DDS) block, respectively. Therefore, the detection of phase errors with a data width of 24 bits and a frequency control with a step size of 0.0596Hz can be acquired. Moreover, the ADPLL proposes a new method to track the power frequency, improve the harmonic rejection and remove the dc offset. Unlike previous methods, it is based on an open-loop method, which avoids the addition of an extra feedback loop. In this case, a new kind of parameter design method is used to obtain a large bandwidth and a fast response speed.

The rest of this paper is organized as follows. Section II introduces the basic structure of the ADPLL. Section III talks about the ADPLL implementation, including the discretization, configuration and parameter design. Section IV discusses a performance analysis of the ADPLL. In Section V experimental results are presented to validate the robustness and effectiveness of the ADPLL. Finally, some conclusions are given in the final section.



Ⅱ. STRUCTURE OF THE ADPLL

In this section, a brief overview of the ADPLL is presented. As shown in Fig. 1, the ADPLL includes five parts: OSG, PD, LF, VCO and OUT. Each of the components is described in detail in the following.


그림입니다.
원본 그림의 이름: CLP0000159c0001.bmp
원본 그림의 크기: 가로 1837pixel, 세로 369pixel

Fig. 1. Schematic diagram of the proposed ADPLL.


A. OSG

The OSG includes a cascaded frequency-adaptive SOGI (CFA SOGI) and a parallel frequency detector (PFD). The CFA SOGI is based on adjustable parameters and designed with sufficient removal capabilities in terms of the harmonics and the dc offset. The PFD is adopted to detect the input frequency and to provide a frequency reference for the CFA SOGI to realize frequency self-adaption.


1) CFA SOGI Module:

The standard SOGI structure as an OSG is shown in Fig. 2, and the close-loop transfer functions are given in (1), where ω0 is the center frequency and k is the gain factor.

그림입니다.
원본 그림의 이름: CLP00001a703919.bmp
원본 그림의 크기: 가로 797pixel, 세로 363pixel   (1)


그림입니다.
원본 그림의 이름: CLP0000159c0002.bmp
원본 그림의 크기: 가로 1825pixel, 세로 651pixel

Fig. 2. Structure of the SOGI.


Assuming that the input voltage is Vin=Acosθin= Acos(ωint), under a frequency-locked condition (ωin=ω0), the outputs of the SOGI can be derived as (2). Since 4-k2 must be more than 0, then k is less than 2 (k<2). In addition, vα and vβ are momentary components of the SOGI. Therefore, in the steady state its outputs include an in-phase signal Vαs and an orthogonal signal Vβs.

그림입니다.
원본 그림의 이름: CLP00001a700001.bmp
원본 그림의 크기: 가로 643pixel, 세로 179pixel          (2)

where:

그림입니다.
원본 그림의 이름: CLP00001a700002.bmp
원본 그림의 크기: 가로 1043pixel, 세로 338pixel and 그림입니다.
원본 그림의 이름: CLP00001a700003.bmp
원본 그림의 크기: 가로 319pixel, 세로 169pixel

Fig. 3 and Fig. 4 are Bode diagrams and step response diagrams of the SOGI with different k values. In addition, ω0 is fixed to 100π. From Fig. 3 and Fig. 4, the following characteristics can be observed.


Fig. 3. Bode diagrams of the SOGI. (a) Gαs(s). (b) Gβs(s).

그림입니다.
원본 그림의 이름: image3.emf
원본 그림의 크기: 가로 1681pixel, 세로 1311pixel

(a)

그림입니다.
원본 그림의 이름: image4.emf
원본 그림의 크기: 가로 1692pixel, 세로 1319pixel

(b)


Fig. 4. Step response diagrams of the SOGI. (a) Gαs(s). (b) Gβs(s).

그림입니다.
원본 그림의 이름: image7.emf
원본 그림의 크기: 가로 1674pixel, 세로 1319pixel

(a)

그림입니다.
원본 그림의 이름: image8.emf
원본 그림의 크기: 가로 1669pixel, 세로 1286pixel

(b)


a) Gαs works as a band-pass filter with a center frequency of ω0 while Gβs is a low-pass filter with a corner frequency of ω0. In addition, Gβs exhibits a better filtering feature than Gαs. However, it cannot provide zero dc gain. This means that the SOGI is sensitive to dc offset.

b) If ωinω0, phase shift and amplitude attenuation occur. The outputs of the SOGI are impacted and inaccurately orthogonal. In the case of the CGI OSG in [16], when the input frequency is 46(54) Hz, the amplitudes are attenuated by -0.214(-0.118) dB and 0.516(-0.881) dB, while the phases are changed by 11.6° (-10.4°) and -78.4° (-100°). Hence, the center frequency of the OSG must be adjustable to guarantee the accuracy of the PLL.

c) The value of k can determine the bandwidth, response speed and filtering performance of the SOGI. A larger k makes a higher bandwidth, which offers a faster dynamic response with a bigger oscillation. It also means less immunity to the effects of harmonics in the grid voltage. On the other hand, a smaller k gives a narrower bandwidth and a better filtering capability to improve steady-state accuracy. However, it also results in a slower dynamic speed with a smaller overshoot. Therefore, the parameter k imposes a tradeoff between dynamic response and steady-state accuracy. A compromise must be made to obtain optimal performance.

In this paper, the modified SOGI structure shown in Fig. 5 is proposed. It is based on a cascaded SOGI structure. The first SOGI is used to remove dc offset, the second SOGI is used to improve attenuation capabilities of harmonics and the last SOGI works as an OSG. Moreover, they are all adaptive for the variation of the input frequency to guarantee phase- locking accuracy under frequency-varying conditions.


그림입니다.
원본 그림의 이름: image11.emf
원본 그림의 크기: 가로 857pixel, 세로 179pixel

Fig. 5. Structure of the proposed CFA SOGI.


Note that the second SOGI uses Gβs instead of Gαs to obtain better attenuation capabilities in terms of harmonics. Meanwhile it introduces a 90° phase shift. Assuming an input grid voltage of Vin=Acosθin, the OSG outputs can be derived by:

그림입니다.
원본 그림의 이름: CLP00001a700004.bmp
원본 그림의 크기: 가로 939pixel, 세로 186pixel         (3)

If the outputs are directly transmitted to PD, PD fails to work. Hence, a switch (W), like the one shown in Fig. 1, is needed and new assignments are given in (4). As a result, the proposed OSG achieves the same outputs as other OSGs.

그림입니다.
원본 그림의 이름: CLP00001a700005.bmp
원본 그림의 크기: 가로 618pixel, 세로 179pixel   (4)


2) PFD Module:

As shown in Fig. 6, the PFD is based on a parallel frequency detecting technology. In addition, a SOGI, which is used to reject dc offset, harmonics and other interferences in the grid voltage, is required to ensure high-accuracy frequency detection. Note that the parameter ω0 must be fixed, so that the fixed-parameter SOGI can still accurately transmit frequency information to the frequency detector and avoid a new feedback loop.


그림입니다.
원본 그림의 이름: image12.emf
원본 그림의 크기: 가로 326pixel, 세로 45pixel

Fig. 6. Structure of the PFD.


B. PD

Unlike previous PDs, the proposed PD can extract the phase error of sine and cosine signals. It is based on a CORDIC and a selector switch (SW) as follows.


1) CORDIC Module:

In the conventional SRF-PLL, a park transformation (5) is always employed as a PD. The outputs Vq and Vd carry the phase error and amplitude information, respectively.

그림입니다.
원본 그림의 이름: CLP00001a700006.bmp
원본 그림의 크기: 가로 612pixel, 세로 191pixel    (5)

In this paper, a CORDIC algorithm is used. It generates either a vector rotation or a vector translation. A vector translation rotates a vector (X, Y) to the x-axis and returns the angle θ. A vector rotation rotates a vector (X, Y) by the angle θ and yields a new vector (X, Y), as illustrated in (6).

그림입니다.
원본 그림의 이름: CLP00001a700007.bmp
원본 그림의 크기: 가로 686pixel, 세로 197pixel    (6)

Thus, the CORDIC algorithm in the vector rotation mode essentially achieves the same result as a Park transformation. Moreover, it can be easily implemented on a digital platform by means of a simple shift-adder structure and it can obtain a good performance by the optimum use of computation resources.


2) SW Module:

In general, the OSG is directly connected to the PD. There is no problem when the input signal is a cosine signal. However, for a sine signal Vin=Asinθin, the PD fails to work and its outputs are derived as (7).

그림입니다.
원본 그림의 이름: CLP00001a700008.bmp
원본 그림의 크기: 가로 625pixel, 세로 182pixel   (7)

Apparently, Vq no longer reflects the phase error. This means that the PLL fails to lock the phase of sinθin. In this paper, a SW is used to deal with this issue. As shown in Table I, it works as a selector switch to produce different outputs by judging the output value of the PD (X). XJD is a boundary value to distinguish between sine and cosine input signals.


TABLE I PRINCIPLE OF THE SW

Judging condition

Judging result

Outputs

Vq

Vd

Vout

Voutq

X< XJD

Vin=Asinθin

Y

-X

Asinθout

Acosθout

X> XJD

Vin=Acosθin

X

Y

Acosθout

Asinθout


C. LF

In this paper, a proportional-integral (PI) controller is chosen to implement the LF. The transfer function is shown in (8), where kp and ki are the proportional and integral parameters, respectively. Considering its direct influence on the PLL performance, a parameter optimization design is adopted and discussed in the following section.

그림입니다.
원본 그림의 이름: CLP00001a700009.bmp
원본 그림의 크기: 가로 481pixel, 세로 152pixel         (8)


D. VCO

The VCO works as an integrator to generate the output phase angle. In this paper, it is realized by a DDS which has been widely used in practice due to its good frequency turning agility and high accuracy.

A DDS can produce a frequency-tunable and phase-tunable output signal according to a fixed-frequency clock. The relationship between the output frequency (fclk) and the input frequency tuning word (FTW) is expressed as (9), where Bθ is the width of the DDS and Δf is the frequency resolution. The FTW is an unsigned decimal number with no units.

그림입니다.
원본 그림의 이름: CLP0000033c1698.bmp
원본 그림의 크기: 가로 922pixel, 세로 180pixel          (9)

A simplified diagram of the DDS is presented in Fig. 7(a). It consists of a phase accumulator (PA) and a phase-to- amplitude look-up table (LUT). The PA works as a phase wheel (PW), as shown in Fig. 7(b), and the LUT, basically a ROM, converts the digital phase into a digital amplitude. A cycle of the PW represents 360° and the points on the PW correspond to the content of the PA. At each system clock, the PW spins anticlockwise by an angle of the FTW points on its current value. It is exactly the output phase of the DDS at this moment. Thus, the relation between two consecutive output phases, namely θout(n) and θout(n+1), can be expressed as (10). Then the discrete transfer function of the DDS can be deduced as (11).

그림입니다.
원본 그림의 이름: CLP00001a70000b.bmp
원본 그림의 크기: 가로 1033pixel, 세로 173pixel     (10)

그림입니다.
원본 그림의 이름: CLP00001a70000c.bmp
원본 그림의 크기: 가로 1098pixel, 세로 189pixel   (11)


Fig. 7. Principle of the DDS: (a) DDS diagram; (b) phase wheel.

그림입니다.
원본 그림의 이름: image19.emf
원본 그림의 크기: 가로 333pixel, 세로 126pixel

(a)

그림입니다.
원본 그림의 이름: image20.emf
원본 그림의 크기: 가로 248pixel, 세로 197pixel

(b)


The DDS works as an integrator as well. Therefore, it achieves the same result as other VCOs and outputs an in-phase angle. Moreover, it can export an in-phase waveform and is suitable for hardware implementation.



Ⅲ. IMPLEMENTATION OF THE ADPLL


A. OSG

1) Discretization of the SOGI:

In this paper, the ADPLL is discretized by the zero-order hold (ZOH) method. Its transfer function ø(s) is (1-e-Ts)/s, where Ts is a sampling time. Therefore, the discrete results of the SOGI are:

그림입니다.
원본 그림의 이름: CLP00001a70000d.bmp
원본 그림의 크기: 가로 1108pixel, 세로 336pixel   (12)

By replacing k with 그림입니다.
원본 그림의 이름: CLP000013940001.bmp
원본 그림의 크기: 가로 307pixel, 세로 235pixel and bringing it to a canonical form, the discretization of the SOGI can be derived as follows:

그림입니다.
원본 그림의 이름: CLP00001a70000e.bmp
원본 그림의 크기: 가로 800pixel, 세로 365pixel     (13)

where:

그림입니다.
원본 그림의 이름: CLP00001a700010.bmp
원본 그림의 크기: 가로 887pixel, 세로 622pixel


2) Parameter Design of the SOGI:

Based on the analysis in section II, an optimal compromise between the dynamic speed, overshoot and harmonic rejection is crucial to determining the k value. As a result, the parameter k is selected as 그림입니다.
원본 그림의 이름: CLP000013940001.bmp
원본 그림의 크기: 가로 307pixel, 세로 235pixel to achieve a good comprehensive performance of the SOGI. Moreover, the values of k in the four SOGI blocks are all set in this optimal tradeoff value. The parameter ω0 in the PFD is a constant and is equal to 100π. However, in the CAF SOGI it is adjustable and the initial value is set to 100π as well.


3) Parameter Design of the PFD:

The PFD is based on a zero-crossing detecting technique and the counter clock frequency is set at 1MHz. The measurement precision is up to 0.0001Hz for the power frequency signals. Thus, the input frequency can be exactly measured by detecting every zero-crossing of Vαr, and the center frequency of the CFA SOGI can be adjusted twice a cycle. Considering the settling time of the SOGI, usually more than half a cycle, the adjusting time is enough.


B. PD

1) Configuration of the CORDIC:

The CORDIC block works as a comparator and the discrete transfer function is displayed in (14), where kPD is the gain of the PD and is equal to the input amplitude.

그림입니다.
원본 그림의 이름: CLP00001a700011.bmp
원본 그림의 크기: 가로 485pixel, 세로 78pixel   (14)

In this paper, the CORDIC is configured to operate in the vector rotation mode and it is implemented with a parallel architectural to reduce latency. It features phase error detection with a data width of 24 bits. The gain kPD is equal to 1.


2) Parameter Design of the SW:

As shown in (7), the output X is equal to -A in the steady state, while the normal value is a relatively big value (≈0). Therefore, the boundary value XJD can be set at -0.5A. It is equal to -0.5 in this paper.


C. VCO

In this paper, the DDS is equipped with a 24-bit phase accumulator and a 1MHz internal clock. The central frequency tuning word (FTW0) is set at 839. Therefore, its gain and frequency resolution are equal to 0.3745 and 0.0596Hz, respectively.


D. LF

1) Discretization of the Pi:

The PI is discretized by the ZOH method and the result is:

그림입니다.
원본 그림의 이름: CLP00001a700012.bmp
원본 그림의 크기: 가로 852pixel, 세로 165pixel   (15)


2) Optimization Design of the Pi:

In the digital circuits, loop delays are unavoidable and usually a side effect to pipelining, filtering or inner-loop mechanisms. Each delay increases the system order, limits the stability region and deteriorates the transient performance. Hence, a system analysis with consideration of the delays is necessary. As designed, there is no feedback between the OSG and the PLL loop. Therefore, their designs can be separate. Fig. 8 shows the discrete-time model of the ADPLL loop. The delays from the CORDIC and DDS are described as z-D1 and z-D2, respectively. In fact, D1 is equal to 2 and D2 is equal to 3. In addition, DPD(z), DPI(z) and DVCO(z) are all known. Then the discrete close-loop transfer function of the ADPLL loop can be deduced as (16).

그림입니다.
원본 그림의 이름: CLP00001a700013.bmp
원본 그림의 크기: 가로 1329pixel, 세로 206pixel   (16)


그림입니다.
원본 그림의 이름: CLP0000159c0003.bmp
원본 그림의 크기: 가로 1789pixel, 세로 441pixel

Fig. 8. Discrete-time model of the ADPLL loop.


Since kVCO and Ts are known, based on (16), a root-locus diagrams of the ADPLL loop with variations of kp and ki can be obtained by MATLAB as Fig. 9(a)-(b).


Fig. 9. Root-locus diagrams of the ADPLL loop: (a) ki=10.2012×106, and kp varies from 22937.6 to 2293760, (b) kp=229376, and ki alters from 10.2012×105 to 10.2012×1010.

그림입니다.
원본 그림의 이름: image30.emf
원본 그림의 크기: 가로 1631pixel, 세로 1260pixel

(a)

그림입니다.
원본 그림의 이름: image31.emf
원본 그림의 크기: 가로 1631pixel, 세로 1260pixel

(b)


Note that the ADPLL is stable on a large scale. In order to achieve a fast response speed, choosing good kp and ki values in the unit circle is crucial. As a result, the parameters of the PI are selected as kp=229376 and ki=10.2012×106, which directly results in a high system bandwidth while still guaranteeing system stability.



Ⅳ. PERFORMANCE ANALYSIS OF THE ADPLL


A. Dynamic Analysis

As analyzed above, the ADPLL loop has a high system bandwidth via an optimize parameter design. In this case, according to (16), a step response diagram of the ADPLL loop can be plotted as Fig. 10. Note that the ADPLL loop has a fast response speed. A 5% settling time for the step response is about 17us. In addition, the overshoot is also very small. This means that the dynamic performance of the ADPLL is mainly determined by the OSG block. The proposed OSG is a sixth-order integrator and the close-loop transfer functions are as follows:

그림입니다.
원본 그림의 이름: CLP00001a700014.bmp
원본 그림의 크기: 가로 938pixel, 세로 375pixel    (17)


그림입니다.
원본 그림의 이름: image33.emf
원본 그림의 크기: 가로 1661pixel, 세로 1320pixel

Fig. 10. Step response diagram of the ADPLL loop.


Unlike the frequency-locked assumption in other papers, the center frequency ω0 of the OSG can always lock the grid frequency ωin. Therefore, Vα and Vβ can be derived as:

그림입니다.
원본 그림의 이름: CLP00001a700015.bmp
원본 그림의 크기: 가로 657pixel, 세로 214pixel   (18)

vα and vβ are momentary components of the OSG, which are functions of A, k, ω0 and t. Then applying the CORDIC algorithm (5) to (18) yields the Vd and Vq signals as (19), where vd and vq are also momentary components.

그림입니다.
원본 그림의 이름: CLP00001a700016.bmp
원본 그림의 크기: 가로 839pixel, 세로 207pixel    (19)

In the steady state, Vq converges to zero. This means the ADPLL successfully locks the phase of the grid voltage. Thus, the dynamic response of Vq is the phase-locked dynamic of the ADPLL. In addition, Vd yields the grid voltage amplitude, whose dynamic reflects the dynamic of Vout. Considering the complexity of the mathematical expression for Vd and Vq, their step response diagrams are obtained by Simulink as Fig. 11, and the corresponding response of Vout is also given in Fig. 11. Note that the steady-state value of Vq, Vd and Vout are all zero. For the step signal, according to (17) and (6), Vd and Vq both equal zero in the steady state. Therefore, Vout also converges to zero. Finally, the PLL tends to a steady state. The 5% settling time of the ADPLL for the unit step signal is about 30ms. In addition, the maximum overshoot is about 0.8 p.u.. The whole process is relatively smooth without a big mutation. Thus, the ADPLL shows a good transient performance.


그림입니다.
원본 그림의 이름: image37.emf
원본 그림의 크기: 가로 1680pixel, 세로 1626pixel

Fig. 11. Step response diagrams of Vd, Vq and Vout.


B. Robust Analysis

The proposed OSG generates an orthogonal signal for the PD and works as a pre-filter to eliminate harmonics, dc offset and other interferences. Thus, according to (17), Bode diagrams of the OSG can be draw by MATLAB as Fig. 12.


그림입니다.
원본 그림의 이름: image38.emf
원본 그림의 크기: 가로 1693pixel, 세로 1325pixel

Fig. 12. Bode diagrams of the proposed OSG.


The plots show that the proposed OSG exhibits a good filtering feature. The dc offset has been completely removed. The 3th, 5th and 7th harmonics for Gα and Gβ are also decayed with slopes of -38.9dB and -29.3dB, -60.9dB and -46.9dB, and -75.6dB and -58.6dB, respectively. Its rejection capabilities of dc offset and harmonics are improved when compared with the SOGI.

Simulation results also demonstrate the robustness of the ADPLL. When the input voltage (Acosθin) has 0.05p.u third- order, 0.05p.u fifth-order and 0.04p.u seventh-order harmonic components (8.12% Total Harmonic Distortion/ THD) and a 40% dc offset, the ADPLL still achieves good signal-tracking. A harmonic analysis of the ADPLL output Vout via a Fast Fourier Transform (FFT) shows that its THD has been greatly reduced and that only 0.06% harmonics remain. The detected maximum phase error is about 0.184°. This satisfies the Total Vector Error (TVE) 1% standard (a maximum phase error below 0.57°) [21]. Therefore, the ADPLL is robust to harmonics and dc offset.



Ⅴ. EXPERIMENTAL RESULTS

The ADPLL is designed and coded using Verilog and implemented on a Nexys4 DDR™ FPGA Board from Xilinx. As mentioned above, the sampling frequency is fixed to 1MHz. The total FPGA resources used on this implementation include Slice Registers 2320, Slice LUTs 7856, Occupied Slices 2496, RAMB36E1 1, RAMB18E1 1, DSP48E1s 136 and BUFG 3. Fig. 13 shows experimental results under the actual grid voltage, which has distortion and the THD is 1.7%. It is sampled by hall sensor and transferred to the FPGA via A/D converters.


Fig. 13. Experimental results of the ADPLL under grid voltage: (a) Vin, Vout, XPI and Am signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image39.emf
원본 그림의 크기: 가로 2735pixel, 세로 1728pixel

(a)

그림입니다.
원본 그림의 이름: image40.emf
원본 그림의 크기: 가로 2732pixel, 세로 1706pixel

(b)


A FFT analysis demonstrates that the output wave Vout is a power signal and that the harmonic components are markedly attenuated. The detected phase error θe (in this case, use the PD output Vq as θe) converges to zero. The amplitude Am and frequency fout are also zero errors. They all demonstrate the effectiveness and practicability of the ADPLL under the actual grid voltage.

In order to fully evaluate the performance of the ADPLL, experiments under various distorted grid conditions, including voltage sag, phase jump, frequency step, harmonics distortion, dc offset and combined disturbances, must be carried out. Considering the difficulties of implementing these distortions on grid voltage, using a FPGA to emulate the distortional grid voltage has great meanings. In this case, the input phase angle θin can be obtained so that the phase error can be exactly determined via a subtraction (θin-θout). The power frequency voltage V50 can also be acquired. Therefore, the following experiments are all based on the emulated grid voltage, which is generated by the FPGA and directly fed to the ADPLL. The input signal Vin, output signal Vout, PI output signal XPI, detected frequency fout, detected phase error θe and detected magnitude Am are all monitored by an oscilloscope through two 16-bit D/A converters. Fig. 14 shows the experimental set-up.


그림입니다.
원본 그림의 이름: image41.emf
원본 그림의 크기: 가로 1786pixel, 세로 1030pixel

Fig. 14. Photo of the experimental set-up.


A. Dynamic Experiments

1) Voltage Sag: Fig. 15 shows experimental results in response to a 40% voltage sag in the grid voltage. Although there is a deviation of 0.1Hz in the detected frequency and an overshoot of 8.6° in the detected phase error, the ADPLL attains a new steady state in 18ms without any amplitude overshoot.


Fig. 15. Experimental results of the ADPLL for voltage sag: (a) Vin, Vout, XPI and Am signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image42.emf
원본 그림의 크기: 가로 2730pixel, 세로 1703pixel

(a)

그림입니다.
원본 그림의 이름: image43.emf
원본 그림의 크기: 가로 2730pixel, 세로 1707pixel

(b)


2) Phase Jump: Fig. 16 shows experimental results in response to a 90° phase jump in the grid voltage. Due to this disturbance, there is a frequency overshoot of 7Hz, an amplitude overshoot of 0.22 per unit (p.u) and a phase error overshoot of 20.1°. Note that the 5% settling time under this condition is roughly 39ms.


Fig. 16. Experimental results of the ADPLL for a phase jump: (a) Vin, Vout, XPI and θin signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image44.emf
원본 그림의 크기: 가로 2737pixel, 세로 1706pixel

(a)

그림입니다.
원본 그림의 이름: image45.emf
원본 그림의 크기: 가로 2735pixel, 세로 1707pixel

(b)


3) Frequency Step: Fig. 17 shows the experimental results in response to a frequency step from 50Hz to 55Hz. Note that the detected frequency smoothly converges to its new steady-state value in 27ms. The transient overshoots for the detected phase error and amplitude are 15.1° and 0.15p.u, respectively. In fact, the ADPLL is able to achieve a wider frequency variation from 42Hz to 62Hz, which satisfies international grid-tied standards [3].


Fig. 17. Experimental results of the ADPLL for a frequency step: (a) Vin, Vout, XPI and fout signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image46.emf
원본 그림의 크기: 가로 2734pixel, 세로 1706pixel

(a)

그림입니다.
원본 그림의 이름: image47.emf
원본 그림의 크기: 가로 2735pixel, 세로 1705pixel

(b)


4) Comparison: In this paper, the Delay-PLL, Deri-PLL, Park-PLL, SOGI-PLL, DOEC-PLL, CCF-PLL and TPFA- PLL are selected. Considering that these established PLLs have been researched in other studies and are not the focus of this paper, the corresponding experimental data is directly quoted from paper [6]. The transient performances of these PLLs against various distorted grid conditions are presented in Table II.


TABLE II DYNAMIC PERFORMANCE COMPARISON OF PLLS

 

Settling time(5%) /Frequency overshoot/Peak phase error

Voltage Sag

Phase Jump

Frequency Step

ADPLL

18ms/0.1Hz/8.6°

39ms/7.0Hz/20.1°

27ms/0.0Hz/15.1°

Delay-PLL

22ms/2.9Hz/3.3°

40ms/17.0Hz/16.2°

70ms/2.2Hz/16.0°

Deri-PLL

0.0ms/0.0Hz/0.0°

40ms/17.0Hz/16.0°

70ms/2.0Hz/12.5°

Park-PLL

60ms/2.5Hz/6.7°

81ms/18.9Hz/37.0°

72ms/2.5Hz/17.0°

SOGI-PLL

55ms/2.9Hz/6.0°

70ms/22.0Hz/25.0°

53ms/2.1Hz/15.5°

DOEC-PLL

16ms/0.7Hz/2.0°

82ms/18.9Hz/40.5°

72ms/2.5Hz/17.0°

CCF-PLL

30ms/10Hz/5.5°

104ms/16.6Hz/17.8°

75ms/8.1Hz/21.0°

TPFA-PLL

15ms/1.5Hz/3.5°

105ms/17.1Hz/28.8°

90ms/2.6Hz/25.0°


Under a voltage sag condition, all of the PLLs except the Park-PLL, SOGI-PLL and CCF-PLL show a relative response speed. The Park-PLL, SOGI-PLL and CCF-PLL use a frequency feedback loop to realize frequency self-adaption, which simultaneously worsens the dynamics. Therefore, in the other two cases, they also show a slow dynamic. The DOEC-PLL also employs a Park-based OSG. However, it has a dc compensation loop to remove dc offset, which is beneficial to the amplitude tracking. Thus, the response speed of the DOEC-PLL for a voltage sag is better than the Park-PLL. Meanwhile, in the other two cases, they are almost same. The Delay-PLL, Deri-PLL and TPFA-PLL all avoid the frequency feedback loop. The Delay-PLL and Deri-PLL are based on a fixed T/4 delay algorithm and a derivator, respectively. Both of the algorithms are simple with no extra feedback loop and no filter. Therefore, their responses for all of the cases are relatively fast. The TPFA-PLL is based on Park’s and inverse Park’s transformations. In addition, two extra MAFs are needed to filter unwanted frequency components. Thus, it obtains a filtering ability for harmonics and other interferences. However, do to this, its response speed for frequency step and phase jump is slow while for voltage sag it remains fast due to its insensitivity to amplitude. When compared to these PLLs, the ADPLL almost always shows the best dynamic performance. It shows a relatively fast response, less frequency overshoot and smooth dynamics. Under the frequency step condition, the response time is greatly shortened with zero frequency overshoot and a small phase overshoot.


B. Robust Experiments

1) Dc Offset: Fig. 18 evaluates the dc rejection capability of the ADPLL. A sudden dc offset of 40% is injected into the grid voltage at 30ms. Although transient errors in the detected phase error (12.96°), frequency (1Hz) and amplitude (0.3p.u) occur, the ADPLL attains a new steady state in 28ms with zero steady-state errors. That is to say, the ADPLL has a complete elimination capability in terms of dc offset.


Fig. 18. Experimental results of the ADPLL for dc offset: (a) Vin, V50, Vout and XPI signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image48.emf
원본 그림의 크기: 가로 2735pixel, 세로 1707pixel

(a)

그림입니다.
원본 그림의 이름: image49.emf
원본 그림의 크기: 가로 2735pixel, 세로 1707pixel

(b)


2) Harmonics Distortion: Fig. 19 evaluates the harmonic filtering capability of the ADPLL in the presence of 0.05p.u third-order, 0.05p.u fifth-order and 0.04p.u seventh-order harmonic components in the grid voltage (THD=8.12%). Note that the FFT analysis demonstrates that the 3th, 5th and 7th harmonics in the output signal are greatly reduced and that only a few harmonics are left. However, it still results in a small oscillation in the detected phase error and amplitude. The maximum phase error and amplitude error are below 0.35° and 0.014p.u, respectively. This still satisfies the TVE 1% standard [21]. Thus, the ADPLL is robust to harmonics and dc offset.


Fig. 19. Experimental results of the ADPLL for harmonics distortion: (a) Vin, V50, Vout, XPI and VoutFFT signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image50.emf
원본 그림의 크기: 가로 2724pixel, 세로 1728pixel

(a)

그림입니다.
원본 그림의 이름: image51.emf
원본 그림의 크기: 가로 2712pixel, 세로 1693pixel

(b)


3) Combined Disturbances: Fig. 20 verifies the applicability of the ADPLL to sine signal. In this test case, a sine signal (Asinθin) along with harmonics and a dc offset is considered. Note that in the steady state, the output signal is well coincident to the input sine signal. In addition, the detected phase, frequency and amplitude errors all converge to zero. This means that the ADPLL can lock the sine-signal phase well. At 30ms, a 0.4p.u dc offset and 0.05p.u third-order and 0.05p.u fifth-order harmonics are injected into the grid voltage. After 40ms, the ADPLL reaches its new steady state with a peak-peak phase error of 0.32° and a peak-peak amplitude error of 0.002p.u, which also satisfies the TVE 1% standard [21].


Fig. 20. Experimental results of the ADPLL for combined disturbances: (a) Vin, V50, Vout, XPI and VoutFFT signals, (b) θe, fout and Am signals.

그림입니다.
원본 그림의 이름: image52.emf
원본 그림의 크기: 가로 2734pixel, 세로 1710pixel

(a)

그림입니다.
원본 그림의 이름: image53.emf
원본 그림의 크기: 가로 2731pixel, 세로 1706pixel

(b)


4) Comparison: The robust performances of the PLLs under different abnormalities are presented in Table III.


TABLE III ROBUST PERFORMANCE COMPARISON OF PLLS

 

Peak-peak frequency error/ Peak-peak phase error

DC offset

Harmonics Distortion

Combined Disturbances

ADPLL

0Hz/0°/0p.u

0Hz/0.35°/0.005p

0Hz/0.32°/0.002p.u

Delay-PLL

1.6Hz/1.7°/-

3.8Hz/0.8°/-

-

Deri-PLL

1.5Hz/1.5°/-

8.7Hz/2.2°/-

-

Park-PLL

1.5Hz/1.8°/-

1.1Hz/0.4°/-

-

SOGI-PLL

1.7Hz/1.9°/-

1.2Hz/0.4°/-

-

DOEC-PLL

0.0Hz/0.0°/-

0.9Hz/0.3°/-

-

CCF-PLL

3.2Hz/3.8°/-

1.5Hz/0.6°/-

-

TPFA-PLL

1.2Hz/1.2°/-

0.0Hz/0.0°/-

-


When a dc offset occurs in grid voltage, all of the PLLs except the ADPLL and DOEC-PLL suffer from steady-state errors for lake of dc rejection ability. On the other hand, the ADPLL and DOEC-PLL use a CFA SOGI structure and a dc compensation algorithm to remove the dc offset, respectively. Both of them show a good dc rejection performance with zero steady-state errors. They also show a similar harmonic filtering performance. However, the ADPLL has a better dynamic response since it does not have an additional feedback loop. Under the harmonics distortion scenario, all of the PLLs except for the Delay-PLL, Deri-PLL and CCF-PLL meet the TVE 1% standard [21]. The Delay-PLL and Deri-PLL are based on a simple OSG with no filtering capability. The CCF-PLL uses a complex-coefficient filter as an OSG. However, its filtering capability for 8.12% harmonics is still not enough. Therefore, their filtering capabilities must be enhanced. Among these PLLs, the TPFA-PLL shows the best harmonic rejection capability, followed by the DOEC-PLL and ADPLL, then the Park-PLL and SOGI-PLL. However, the TPFA-PLL is sensitive to dc offset. Thus, the ADPLL shows the best robust performance in the presence of harmonics and dc offset. Moreover, the ADPLL can extract amplitude information of the utility voltage and achieve an accurate phase tracking of sine and cosine signals. By comparison, the ADPLL shows the best comprehensive properties.



Ⅵ. CONCLUSION

In this paper, a single-phase ADPLL based on a FPGA has been presented to ensure a fast dynamic response. In order to obtain high steady-state accuracy under dc offset, harmonics and frequency-varying conditions, a new OSG is applied. It contains no extra feedback loop, which avoids the undesired tradeoff, improves the dynamic speed and enhances stability. A parameter optimization design with consideration of loop delays is also employed to obtain a good transient performance and to guarantee system stability. Theoretical analysis and experimental investigations on the performance of the ADPLL are also carried out. The obtained results demonstrate that the ADPLL, in addition to its sufficient rejection capabilities of harmonics and dc offset, has a fast dynamic response (less than 39ms) and a good robustness (below 0.35°). In particular, under a frequency step of +5th, it shows a smooth dynamic performance without frequency deviation and less phase error overshoot. In addition, the settling time (27ms) has shorten more than twice that of other established PLLs.

On the other hand, this design belongs to all digital PLLs. It can be easily embedded in other systems to realize rich functionality and implementation as low-cost chips. Looking at the trends of the grid synchronization techniques, the digitalizing and integrating of the PLL technique is conducive to the promotion of grid-tied technology and the development of the power electronics industry. Therefore, the proposed ADPLL is a competitive solution in engineering applications.



ACKNOWLEDGMENT

The project is supported by the National Science Foundation of China (61474098 and 61674129).



REFERENCES

[1] A. Namadmalan and J. S. Moghani, “Single-phase current source induction heater with improved efficiency and package size,” J. Power Electron., Vol. 13, No. 2, pp.322- 328, Mar. 2013.

[2] M. Li, Y. Wang, X. Fang, Y. Gao, and Z. Wang, “A novel single phase synchronous reference frame phase-locked loop with a constant zero orthogonal component,” J. Power Electron., Vol. 14, No. 6, pp.1334-1344, Nov. 2014.

[3] C. Subramanian and R. Kanagaraj, “Single-phase grid voltage attributes tracking for the control of grid power converters,” IEEE J. Emerg. Sel. Power Electron., Vol. 2, No. 4, pp. 1041-1048, Dec. 2014.

[4] F. Gardner, Phaselock Techniques, New York, NY, USA: Wiley, 2005.

[5] P. Lamo, F. L´opez, A. Pigazo, and F. J. Azcondo, “An efficient FPGA implementation of a quadrature signal generation subsystem in SRF plls in single-phase PFCs,” IEEE Trans. Power Electron., Vol. 32, No. 5, pp. 3959-3969, May. 2017.

[6] Y. Han, M. Luo, X. Zhao, J. M. Guerrero, and L. Xu, “Comparative performance evaluation of orthogonal-signal- generators-based single-phase PLL algorithms – A survey,” IEEE Trans. Power Electron., Vol. 31, No. 5, pp. 3932-3944, May 2016.

[7] S. Golestan, J. M. Guerrero, A. Abusorrah, M. M. Al- Hindawi, and Y. Al-Turki, “An adaptive quadrature signal generation-based single-phase phase-locked loop for grid-connected applications,” IEEE Trans. Ind. Electron., Vol. 64, No. 4, pp. 2848-2854, Apr. 2017.

[8] M. Karimi-Ghartemani, “A unifying appro -ach to single- phase synchronous reference frame PLLs,” IEEE Trans. Power Electron., Vol. 28, No. 10, pp. 4550-4556, Oct. 2013.

[9] L. G. B. Rolim, D. R. da Costa Jr., and M. Aredes, “Analysis and software implementation of a robust synchronizing PLL circuit based on the pq theory,” IEEE Trans. Ind. Electron., Vol. 53, No.6, pp. 1919-1926, Dec. 2006.

[10] S. Golestan, M. Monfared, F. D. Freijedo, and J. M. Guerrero, “Design and tuning of a modified power-based PLL for single-phase grid-connected power conditioning systems,” IEEE Trans. Power Electron., Vol. 27, No. 8, pp. 3639-3650, Aug. 2012.

[11] M. Karimi-Ghartemani and M. R. Iravani, “A method for synchronization of power electronic converters in polluted and variable-frequency environments,” IEEE Trans. Power Syst., Vol. 19, No. 3, pp. 1263-1270, Aug. 2004.

[12] Z. Dai, H. Lin, Y. Tian, W. Yao, and H. Yin, “Accurate voltage parameter estimation for grid synchronization in single-phase power systems,” J. Power Electron., Vol. 16, No. 3, pp.1067-1075, May 2016.

[13] S. Golestan, M. Monfared, F. D. Freijedo, and J. M. Guerrero, “Dynamics assessment of advanced single-phase PLL structures,” IEEE Trans. Ind. Electron., Vol. 60, No. 6, pp. 2167-2177, Jun. 2013.

[14] M. Karimi-Ghartemani, S. A. Khajehoddin, P. K. Jain, A. Bakhshai, and M. Mojiri, “Addressing DC component in PLL and notch filter algorithms,” IEEE Trans. Power Electron., Vol. 27, No. 1, pp. 78-86, Jan. 2012.

[15] S.-H. Hwang, L. Liu, H. Li, and J.-M. Kim, “DC offset error compensation for synchronous reference frame PLL in single-phase grid-connected converters,” IEEE Trans. Power Electron., Vol.27, No. 8, pp. 3467-3471, Aug. 2012.

[16] A. Kulkarni and V. John, “Design of a fast response time single-phase PLL with DC offset rejection capability,” in IEEE Appl. Power Electron. Conf. Expo., pp. 2200-2206, 2016.

[17] F. Xiao, L. Dong, L. Li, and X. Liao, “A frequency-fixed SOGI based PLL for single-phase grid-connected converters,” IEEE Trans. Power Electron., Vol. 32, No. 3, pp. 1713-1719, Mar. 2017.

[18] S. Golestan, A. Vidal, A. G. Yepes, J. M. Guerrero, J. C. Vasquez, and J. Doval-Gandoy, “A true open-loop synchronization technique,” IEEE Trans. Ind. Informat., Vol. 12, No. 3, pp. 1093-1103, Jun. 2016.

[19] A. Bagheri, M. Mardaneh, A. Rajaei, and A. Rahideh, “Detection of grid voltage fundamental and harmonic components using Kalman filter and generalized averaging method,” IEEE Trans. Power Electron., Vol. 31, No. 2, pp. 1064-1073, Feb. 2016.

[20] R. E. Best, Phase-locked Loops: Design, Simulation, and Application, 5th Ed., New York: McGraw-Hill, 2003.

[21] IEEE Standard for Synchrophasor Measurements for Power Systems, C37.118.1-2011, Dec. 2011.



그림입니다.
원본 그림의 이름: image54.jpeg
원본 그림의 크기: 가로 172pixel, 세로 232pixel

Peiyong Zhang was born in Anqing, China, in 1977. He received his Ph.D. degree from Zhejiang University, Hangzhou, China, in 2004. In the same year, he joined the Institute of VLSI Design, Zhejiang University. Since 2004, he has been working on VLSI designs for manufacturability.


그림입니다.
원본 그림의 이름: image55.jpeg
원본 그림의 크기: 가로 155pixel, 세로 220pixel

Haixia Fang was born in Zhejiang, China, in 1990. She received her B.S. degree in Electronic and Information Engineering from Zhejiang University, Hangzhou, China, in 2013. She is presently working towards her M.S. degree in the Institute of VLSI Design, Zhejiang University. Her current research interests include phase lock loops and high speed SerDes.


그림입니다.
원본 그림의 이름: image56.jpeg
원본 그림의 크기: 가로 165pixel, 세로 221pixel

Yike Li was born in Sichuan, China, in 1996. He received his B.S. degree in Electrical Engineering from Zhejiang University, Hangzhou, China, in 2018. He is presently working towards his M.S. degree in the Institute of VLSI Design, Zhejiang University. His current research interests include low-power high-speed transceiver modules in integrated circuits.


그림입니다.
원본 그림의 이름: image57.jpeg
원본 그림의 크기: 가로 170pixel, 세로 248pixel

Chenhui Feng was born in Pingtan, China, in 1990. He received his B.S. and Ph.D. degrees from Zhejiang University, Hangzhou, China, in 2011 and 2016, respectively. He joined the College of Physics and Information Engineering, Fuzhou University, Fuzhou, China, in 2016. His current research interest include on-chip parameter extraction.