Next Article in Journal
Removal of HFC-134a from Brackish Water Using a Semi Batch Jet Loop Reactor
Previous Article in Journal
District Heating Challenges for the UK
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Adaptive Frequency Phase-Locked Loop Based on a Third Order Generalized Integrator

College of Information Science and Engineering, Northeastern University, Shenyang 110004, China
*
Author to whom correspondence should be addressed.
Energies 2019, 12(2), 309; https://doi.org/10.3390/en12020309
Submission received: 19 December 2018 / Revised: 13 January 2019 / Accepted: 15 January 2019 / Published: 19 January 2019
(This article belongs to the Section F: Electrical Engineering)

Abstract

:
In this paper, the basic principle and characteristics of a phase-locked loop (PLL) in a single phase grid-connected system are analyzed, and this paper introduces one type virtual orthogonal voltage vector method based on a third order generalized integrator (TOGI) to construct an alpha and beta static coordinate system. The TOGI structure can eliminate the DC offset in a voltage signal or zero offset in the sampling process, and ensure the amplitude of the virtual orthogonal signal is consistent. At the same time, the adaptive frequency estimation unit is introduced, which can effectively deal with the power grid voltage frequency changes and ensure the accuracy of PLL. MATLAB (R2012a, MathWorks, Natick, MA, USA) is used to simulate the variation of power grid voltage frequency, DC component injection, harmonics injection and other parameters, and the performance of PLL is adequately verified. In addition, a 5kW single-phase energy router experimental platform is built to verify the proposed PLL. The experimental results show that the PLL can well track the frequency change of the grid voltage and eliminate the DC offset, so as to achieve accurate phase tracking.

1. Introduction

With the introduction of the Energy Internet and the continuous development of power electronics technology, the architecture, theory, technology and application research of the next generation of smart power distribution networks with key equipment power routers have become more and more a hot topic in the field of renewable energy [1,2]. With the application of power electronic equipment in distribution networks, there are still many practical problems that need to be solved. The Future Renewable Electric Energy Delivery and Management (FREEDM) system puts forward the concept of energy router [3]. Reference [4] summarizes the Energy Internet architecture and technical framework, in addition, it analyses the key problems and challenges of information technology in the Energy Internet development process. Reference [5] discussed the implementation model of the Energy Internet with energy routers as the core exchange device, and illustrated that in the research directions in this field, there is an urgent need of breakthroughs based on the existing research results. Reference [6] puts forward the advanced energy and information interaction technology to realize the Energy Internet, and analyzes and discusses the scientific issues involved in various key technologies. All the above articles introduce the power energy router from the power system perspective, without considering the control application from a power electronics perspective.
Phase-locked loop (PLL) is a common method to obtain phase information of a power grid. With the rapid development of renewable energy technology, PLL has begun to be widely applied in future energy systems [7]. The structure of a single-phase PLL is shown in Figure 1. The PLL is realized based on the instantaneous reactive power theory and the beta-axis vector control of the grid voltage under the rotating coordinate system is set to 0, so as to realize the tracking of the voltage phase of the grid. However, due to the insufficient phase number of grid voltage signals in single-phase grid-connected converter, Clark/Park transformation cannot be carried out directly, so virtual orthogonal vectors need to be constructed by special units.
There are two difficult existing issues in the PLL structure: firstly, there is direct current (DC) offset due to the amplifier and voltage sensor during the sampling process. Secondary, the frequency of the voltage is not a constant 50 Hz and when there is frequency fluctuation, the traditional PLL can’t track the grid voltage frequency immediately because the reference frequency is constant. This paper provides a new approach to solve the above issue through a high performance single phase PLL.
In a three-phase system, a synchronous reference frame PLL (SRF-PLL) is usually adopted for PLL [8]. In order to apply SRF-PLL mode to single-phase PLL, a orthogonal signal generator (OSG) needs to be constructed [9]. The single-phase voltage input signal constitutes the two-phase orthogonal signal through the orthogonal signal generator, and then the Park transform can be used to obtain the phase error signal with high accuracy, so as to solve the problem of quadratic frequency double harmonics [10]. However, when the orthogonal signal is implemented by delay, it will not be able to adapt to the rapid change of frequency. Currently, orthogonal signal realization methods commonly used Hilbert transform (HT) [11], inverse Park transform [12], adaptive notch filter (ANF) [13], and second order generalized integrator (SOGI) [14]. Differential PLL (DPLL) [15] is a kind of differential method to construct the structure of the virtual orthogonal signal, through the power grid voltage signal differential can get a signal with a difference of 90°. Hilbert Transform PLL (HT-PLL) [16] is a method to construct virtual orthogonal vectors through Hilbert transform, which is generally realized by Finite Impulse Response (FIR) HT or Infinite Impulse Response (IIR) HT. However, it has two disadvantages: the phase deviation caused by delayed links and he amplitude inconsistency of orthogonal signals. Finite Impulse Response PLL (SDFT-PLL) [17] is a method to construct virtual orthogonal vectors through a discrete Fourier transform. The difficulty of this method lies in how to enhance the stability of PLL in long-term operation by controlling rounding deviation and adjust bias and resonance error through adaptive sampling frequency. In a word, it is a PLL structure with excellent effect. Enhanced PLL (EPLL) [18] is a special OSG-PLL structure, but its research is also very extensive. The control effect is very good when the grid voltage frequency remains unchanged, but there will be phase deviation when the frequency fluctuates. A kind of EPLL structure with harmonic elimination and DC elimination is proposed in [19]. The SOGI [20] appliance has excellent dynamic performance and can effectively suppress noise, but in the generation process of its orthogonal signals, frequency signal feedback is needed as the natural oscillation frequency. Considering the DC offset, harmonic distortion and frequency mutation, the phase locking precision of SOGI based single PLL is still insufficient. Reference [21] has studied the introduction of frequency estimation units in three-phase SOGI PLL, but these units are too complex. Reference [22] studied the frequency estimation unit in the PLL of single-phase SOGI structure to realize frequency adaptive. Reference [23] adopted the unit of frequency correction to solve the problem of phase locking misalignment under frequency fluctuation. References [24] and [25] involve the FLL to estimate the reference frequency in the structure of the SOGI, and SOGI-FLL is proposed to tracking frequency in the case of mutation of the frequency, however, it still can’t deal with the DC offset issue. Reference [26] proposed a PLL structure of cascaded SOGI, which could eliminate DC components in the input signal, but introduced two sets of SOGI structures to increase the delay of the system. Reference [27] summarizes a variety of DC elimination PLL methods based on an improved SOGI structure, whose essence is to introduce filtering units. Although DC elimination can be achieved, the dynamic characteristics of the system are greatly reduced. The traditional digital signal process technique of a Kalman filter is applied to eliminate the DC offset in literature [28], but the approach of the Kalman is so complicated with the discretization equation, also adding to the computation load of DSP. In [29], a cascaded double SOGI is proposed to eliminate the DC offset of the grid voltage, and it achieves high low pass filter performance, but the transfer function is up to fourth-order, it involves complex discretization and affects the system stability. In summary, [28,29] don’t have frequency tracking functions during the mutation of frequency. The above papers has done sufficient and detailed work in the study of PLL, but for the practical engineering field, the use of multi-stage filters increases the delay unit of the system, and has an impact on the integrity of the signal. At the same time, in the actual Digital Signal Processor (DSP) or Field-Programmable Gate Array (FPGA) programming, the algorithm is too complex to implement and increases the computational burden. In addition, the frequency variation and DC components in the actual power system are not considered simultaneously, which can only solve a single problem and has limited effect in practical application.
Based on the problems in the above papers and considering its application in practical engineering, a frequency-adaptive phase-locked ring structure based on the TOGI is proposed in this paper. The main innovations are as follows: TOGI can effectively eliminate the zero drift or grid voltage DC offset caused by the sampling process or another cause. At the same time, it can achieve frequency adaptive tracking in the case of the frequency fluctuation of the power grid voltage, and improve the tracking precision and adaptability of the PLL. Finally a MATLAB simulation and experiments for the proposed PLL based on TOGI structure are verified.
The content structure of this paper is as follows: the structure of adaptive frequency TOGI was introduced in Section 1. The transfer function bode of TOGI analysis in Section 2. The discretization of TOGI with a trapezoidal method is introduced in Section 4. In addition, the proposed TOGI was verified by a MATLAB simulation in comparison to SOGI in Section 5. Finally, the TOGI PLL was further validated in a bidirectional energy router experimental platform which was developed based on TMS320F28335 DSP and Xilinx FPGA Spartan6 LX9 in Section 6.

2. PLL Based on SOGI Structure

The most popular PLL for the single phase grid connected converter is based on SOGI, and it transforms the single phase alternative current (AC) signal into an orthogonal one without delay, as well, it filters the high frequency of the input signal. The corresponding block diagram is shown in Figure 2.
The transfer functions of the SOGI are defined as:
{ H v d ( s ) = v α u g ( s ) = k ω 0 s s 2 + k ω 0 s + ω 0 2 H v q ( s ) = v β u g ( s ) = k ω 0 2 s 2 + k ω 0 s + ω 0 2
With the assumption that the grid frequency ω 0 is 314rad/sec, we can draw the Bode diagram of the closed-loop of SOGI at different values of gain k (0.5, 1.0, 2.0), as shown in Figure 3.
According to the transfer function and Bode diagram, we see that H v d ( s ) is equivalent to a band-pass filter, and it can extract the fundamental signal from a complex signal including the high frequency harmonics and DC offset. From the phase Bode diagram, the total phase delay of the SOGI is close to zero. The transfer function H v q ( s ) is equivalent to a low-pass filter, which can perfectly extract the fundamental signal and attenuate the high-frequency signal from the complex signal including the high frequency harmonics and DC offset. But the DC offset will pass the SOGI to make a DC difference in the magnitude of the orthogonal vectors. Therefore, in the OSG structure, H v q ( s ) is also expected to present the characteristics of the band-pass filter and retain the information of the baseband signal.
Although the SOGI achieves high reliability to synchronize the fundamental signal of the power grid, and track the phase angle, it has the drawback that limits its application in practice. For instance, when the A/D circuit sampling has a DC offset because of some inherent feature of the amplifier, the SOGI cannot eliminate the DC signal because its performance is low pass filer. Moreover, the other important disadvantage of the ω 0 of SOGI is a fixed parameter, not a variable parameter. Based on the above analysis, we need to reconstruct the conventional SOGI to eliminate the DC signal and generate an adaptive frequency reference.
As shown in Figure 4, a frequency locked loop (FLL) was introduced into the SOGI structure in [30], which can track the power grid frequency and realize adaptive frequency. However, according to the transfer function of Equation (2), it can still be seen that the difference between the transfer function of SOGI-FLL structure and the transfer function of SOGI structure is the fixed frequency value ω 0 and the adaptive frequency value ω . Therefore, the PLL based on SOGI-FLL structure achieves frequency adaptation, but it cannot realize the DC offset elimination, so a PLL based on a novel OSG structure should be studied and it is significant.
{ H v d ( s ) = v α u g ( s ) = k ω s s 2 + k ω s + ω 2 H v q ( s ) = v β u g ( s ) = k ω 2 s 2 + k ω s + ω 2

3. Adaptive Frequency PLL Based on TOGI

To solve the accuracy issue of conventional SOGI PLL in the case of grid power and its sampling system with the DC offset and flexibility input reference, this paper presents a new adaptive frequency PLL approach based on the TOGI. The block diagram is shown in Figure 5. Compared to SOGI, it involves two new blocks to improve the drawback of the SOGI, which are a DC elimination unit and a frequency estimation unit.
The detailed functions of the added two units are described as follows:
(1)
The DC elimination unit eliminates the DC offset which is generated by the A/D sampling deviation, and it makes sure the only the AC signal passes to the TOGI. The amplitude of orthogonal signals is equal without the DC offset, and phase of signals has a difference of 90 deg.
(2)
The frequency estimation unit involving the adaptive frequency unit can extract the frequency accurately during a disturbance of the power grid frequency. Furthermore, the resonant frequency of TOGI is guaranteed to change with the grid frequency in real time, and the grid voltage orthogonal signal is constructed accurately.
The DC elimination unit and the frequency estimation unit will be explained in details in Section 3.1 and Section 3.2, respectively.

3.1. DC Offset Elimination Unit Based on TOGI

The TOGI transfer function is shown below based on Figure 5:
{ H v d ( s ) = v α u g ( s ) = k ω s 2 s 3 + ( k + k d c ) ω s 2 + ω 2 s + k d c ω 3 H v q ( s ) = v β u g ( s ) = k ω 2 s s 3 + ( k + k d c ) ω s 2 + ω 2 s + k d c ω 3 H d c ( s ) = v d c u g ( s ) = k d c ω ( s 2 + ω 2 ) s 3 + ( k + k d c ) ω s 2 + ω 2 s + k d c ω 3
Equation (3) represents the transfer function of the fundamental voltage signal for the power grid, its corresponding orthogonal signal and DC offset. It found that the three transfer functions have same characteristic equation, shown in Equation (4):
Δ ( s ) = s 3 + ( k + k d c ) ω s 2 + ω 2 s + k d c ω 3
In order to analyze the TOGI structure of the Bode diagram, we need to select a reasonable proportional coefficient k and k d c . According to [31], the characteristic equation has the same resonance frequency, and assuming that they have the same real part, the characteristic equation can be expressed as follows:
Δ ( s ) = ( s + α ) ( s + α + j β ) ( s + α j β )
Hence, the proportional coefficient k and k d c can be obtained as follows:
k d c 3 + 3 k k d c 2 + ( 3 k 2 + 9 ) k d c + k 3 4.5 k = 0
According to the analysis results of the Routh, we draw the Equation (3) Bode diagram based on the coefficients k = 2 and k d c = 0.221 .
In Figure 6, the Bode diagrams of the H v d ( s ) and H v d ( s ) demonstrate that both Bode diagrams have same amplitude and phase characteristics in the high frequency domain. In the low frequency domain, the TOGI has more attenuation than the SOGI, so it can filter the low frequency noise. At frequency ω point, the amplitude gain is 0 dB, and phase shift is 0 deg, hence v α is the optimal point to extract the synchronization the u g of the power grid.
According to the H v q ( s ) and H v q ( s ) amplitude Bode diagrams in Figure 7, the analysis results is the same as the Bode diagram of H v d ( s ) and H v d ( s ) , so based on the above analysis, the TOGI not only can provide the orthogonal signal, but also have band pass filter performance.
In Figure 8, the bode diagram of H d c ( s ) has a low-pass filter performance, and filters the high frequency signals, especially, it can extract the DC signal completely with 0 deg phase shift. As well, there is high attenuation at the ω frequency. Hence, we add the DC unit H d c ( s ) as the feedback unit of the TOGI to eliminate the DC part of the grid voltage.
In signal processing, high-pass filters (HBFs) are widely used for filtering out low-frequency signals (including DC signals). Considering this, it is feasible to apply a high-pass filter to eliminate the DC component in PLL, which is also mentioned by a large number of scholars. In general, HBF adopts a first-order high-pass filter (FOHBF) or second-order high-pass filter (SOHBF). As shown in Figure 9, the DC offset can be eliminated by adding an HBF after the output of the SOGI structure. This paper focuses on analyzing the effect of using an HBF structure and a TOGI structure to construct orthogonal signals in detail.
Referring to Equation (1), the transfer function of the OSG structure adopting SOGI-FOHBF can be explained as follows:
{ H v d 1 ( s ) = v α u g ( s ) = k ω 0 s s 2 + k ω 0 s + ω 0 2 s s + ω h H v q 1 ( s ) = v β u g ( s ) = k ω 0 2 s 2 + k ω 0 s + ω 0 2 s s + ω h
The transfer function of OSG structure adopting SOGI-SOHBF can be expressed as:
{ H v d 2 ( s ) = v α u g ( s ) = k ω 0 s s 2 + k ω 0 s + ω 0 2 s 2 s 2 + ξ ω h s + ω h 2 H v q 2 ( s ) = v β u g ( s ) = k ω 0 2 s 2 + k ω 0 s + ω 0 2 s 2 s 2 + ξ ω h s + ω h 2
In order to compare the DC offset elimination effects between the TOGI, SOGI-FOHBF and SOGI-SOHBF, by selecting the cutoff frequency of the HBF as 0.1 Hz, 1 Hz and 10 Hz, the beta-axis DC offset elimination effects through the Bode diagrams are compared and analyzed in Figure 10, Figure 11 and Figure 12, respectively. In the figures, the red line, blue line and green line represent the Bode curves of the TOGI structure, SOGI-FOHBF structure and SOGI-SOHBF structure, respectively.
Figure 10 shows the comparative analysis of the high-pass filter at 0.1 Hz cut-off frequency. According to the amplitude-frequency characteristics, it can be seen that the low-frequency attenuation ability of the TOGI structure is very strong, but the low-frequency attenuation abilities of the SOGI-FOHBF structure and SOGI-SOHBF structure are not obvious and cannot eliminate the DC offset of the beta axis output signal. Meanwhile, it can be seen from the phase frequency characteristic curve at the grid frequency ω 0 , that the phase shift of the TOGI structure is −90 deg, but the phase shift of the SOGI-FOHBF structure and SOGI-SOHBF structure are greater than −90 deg, and almost −89.8 deg.
Figure 11 shows the comparative analysis of the high-pass filter at 1 Hz cut-off frequency. According to the amplitude-frequency characteristics, it can be seen that low-frequency attenuation abilities of the SOGI-FOHBF structure and SOGI-SOHBF structure are pretty good, but the low-frequency attenuation ability of the TOGI structure is better. Meanwhile, it can be seen from the phase frequency characteristic curve at the grid frequency ω 0 , that the phase shift of the TOGI structure is still −90 deg, but the phase shifts of the SOGI-FOHBF structure and the SOGI-SOHBF structure are almost −88.9 deg and −89.2 deg, respectively. They are unable to generate standard orthogonal signals with a 90 deg phase difference.
Figure 12 shows the comparative analysis of the high-pass filter at 10 Hz cut-off frequency. According to the amplitude-frequency characteristics, it can be seen that the SOGI-FOHBF structure and TOGI structure have similar low frequency attenuation ability, and the low frequency attenuation ability of the SOGI-SOHBF structure is better than that of the TOGI structure. Meanwhile, it can be seen from the phase frequency characteristic curve at the grid frequency ω 0 , that the phase shift of the SOGI-FOHBF structure and SOGI-SOHBF structure are almost −79 deg and −82 deg, respectively. This is unacceptable for constructing orthogonal signals with a 90 deg phase difference.
Based on the above analysis, the SOGI-FOHBF structure and SOGI-SOHBF structure can achieve better low-frequency elimination characteristics by adjusting the cutoff frequency, but their phase-frequency characteristics are not very good. The essence of the OSG structure is to construct orthogonal signals with a phase difference of 90 deg, so the phase frequency characteristic is also an important reference for selecting an OSG structure. Therefore, this paper concludes that the SOGI-FOHBF structure and SOGI-SOHBF structure are not suitable for the construction of OSG structures, while the TOGI structure performances well in the aspects of both amplitude frequency and phase frequency.

3.2. Adaptive Frequency Unit Based on TOGI

In order to implement adaptive frequency of PLL, it introduces the frequency adaptive feedback unit. When the input signal frequency disturbance, it can track frequency accurately [32]. Combine the predict frequency part with TOGI as the reference frequency. The adaptive transfer function can be expressed as follows:
ω = k f ε v β / s + ω 0 .
To verify adaptive frequency unit, it can use the difference ε and output v β as the feedback control, and implement reference frequency ω tracking. The transfer function of difference ε and output v β can be obtained as follows:
{ H v q ( s ) = v β u g ( s ) = k ω 2 s s 3 + ( k + k d c ) ω s 2 + ω 2 s + k d c ω 3 H ε ( s ) = ε u g ( s ) = s 3 + ω 2 s s 3 + ( k + k d c ) ω s 2 + ω 2 s + k d c ω 3 .
In Figure 13, the bode diagrams of H v q ( s ) and H ε ( s ) demonstrate that, when the frequency power grid is lower than the TOGI resonant frequency ( ω < ω ), the difference ε and output v β have the same trend change. On the contrary, when the frequency of power grid is higher than the TOGI resonant frequency ( ω > ω ), the difference ε and output v β have the opposite trend. Hence, the product result of difference ε and output v β determines the frequency difference signal Δ f . When ω < ω , Δ f > 0 ; When ω = ω , Δ f = 0 ; When ω > ω , Δ f < 0 ; Therefore, it can adjust the difference of the ω and ω to zero through the proportional coefficient k f which is negative feedback gain, thus implementing frequency tracking.

4. Discretization of TOGI

A continuous signal model cannot be realized by programming in DSP or FPGA chips. Therefore, discrete processing of the TOGI PLL continuous model is necessary in practical engineering. Generally, there are three type discretization methods to implement, as shown in Table 1.
Considering the calculation complexity and accuracy, thus we adopt the trapezoidal method to implement the discretization of the close loop transfer function for Equation (3).
Replacing the s by 2 T S z 1 z + 1 in Equation (3), it can be expressed as:
H v d ( z ) = v α u g ( z ) = k ω ( 2 T S z 1 z + 1 ) 2 ( 2 T S z 1 z + 1 ) 3 + ( k + k d c ) ω ( 2 T S z 1 z + 1 ) 2 + ω 2 ( 2 T S z 1 z + 1 ) + k d c ω 3
Simplifying Equation (11) gives:
H v d ( z ) = 4 k ω T S ( z 1 ) 2 ( z + 1 ) 8 ( z 1 ) 3 + 4 ( k + k d c ) ω T S ( z 1 ) 2 ( z + 1 ) + 2 ω 2 T S 2 ( z 1 ) ( z + 1 ) 2 + k d c ω 3 T S 3 ( z + 1 ) 3
Making the following substitution: { x = 4 k ω T S y = 4 ( k + k d c ) ω T w = 2 ω 2 T S 2 v = k d c ω 3 T S 3
We transform Equation (12) into a canonical form as follows:
H v d ( z ) = x 8 + y + w + v ( 1 z 1 z 2 + z 3 ) 1 + 24 y + w + 3 v 8 + y + w + v z 1 + 24 y w + 3 v 8 + y + w + v z 2 + 8 + y w + v 8 + y + w + v z 3
Substituting the equation { b 0 = x 8 + y + w + v a 1 = 24 y + w + 3 v 8 + y + w + v a 2 = 24 y w + 3 v 8 + y + w + v a 3 = 8 + y w + v 8 + y + w + v into Equation (13), it can be represented as follows:
H v d ( z ) = v α u g ( z ) = b 0 ( 1 z 1 z 2 + z 3 ) 1 + a 1 z 1 + a 2 z 2 + a 3 z 3
The same approach applies to the discrete beta-axis, and the result is as follows:
H v q ( z ) = v β u g ( z ) = b 0 ( 1 + z 1 z 2 z 3 ) 1 + a 1 z 1 + a 2 z 2 + a 3 z 3

5. Simulation

In order to verify the frequency adaptive frequency PLL based on the TOGI structure proposed in this paper, the following comparative simulation experiments are carried out. The MATLAB simulation parameters are shown in Table 2.

5.1. Simulation of DC Offset Elimination

The conditions of the first simulation are about a larger DC offset and smaller AC signal harmonic: grid voltage signal that contains the fundamental signal amplitude (311 V), a three order harmonic (amplitude 5 V) and a DC component (+30 V). In order to prove the TOGI structure has the ability to filter out the DC component, the simulation results are compared as shown in the following Figure 14.
The conditions of the second simulation concern a smaller DC offset and larger AC signal harmonic; the grid voltage signal contains a fundamental wave signal amplitude (311 V), three harmonic (amplitude 30 V), five harmonics (amplitude 20 V), nine harmonic (amplitude 5 V) and a DC component (+5 V). In order to prove the TOGI structure has the ability to filter out the DC component and extract the fundamental AC signal, the simulation results are compared as shown in Figure 15:
(1)
In both the SOGI structure and TOGI structure, the synchronous signal v α and signal v α accurately extract the voltage signal of the power grid, but still contains a small amount of harmonics.
(2)
In the SOGI structure, the orthogonal signal v β contains a large number of DC components, and the DC components content in the grid voltage signal is significantly obvious; however, in the TOGI structure, the DC components in the grid voltage signal are almost completely filtered out in the orthogonal signal v β , and only a small number of DC components remain.
(3)
Through simulation comparison, without changing ac signal filtering effect of the SOGI structure, the TOGI structure increases the DC signal filtering effect in the orthogonal signal, so as to achieve accurate phase tracking when DC components are included in a power grid voltage signal.

5.2. Simulation of TOGI PLL

Simulation conditions: The reference fundamental frequency is 50 Hz. At 0.5 s, the power grid voltage frequency jumps from 50 Hz to 52 Hz. In order to facilitate the analysis in the same figure and reduce the voltage signal of the power grid to a certain extent, the simulation waveform is shown in Figure 16.
The analysis results are as follows:
(1)
When the power grid frequency is 50 Hz, both the SOGI PLL and TOGI PLL can complete the power grid voltage phase and frequency locking, and the synchronization result of the two approaches are almost same and equally accurate (refer to the detailed waveform from 0.3 s–0.34 s).
(2)
When the grid voltage frequency jumps from the 50 Hz to 52 Hz, the SOGI PLL can’t synchronize the grid voltage frequency and has an angular difference, but the TOGI can track the grid voltage frequency. However, the overshoot and adjusting time of the TOGI PLL is less than SOGI PLL. In the detailed waveform from 0.8 s–0.84 s, the SOGI PLL has a small vibration in the zoom-in area, but the TOGI PLL tracks the new frequency well.
(3)
For the frequency estimation unit in the PLL structure, both the SOGI structure and TOGI structure can achieve accurate frequency estimation at 50 Hz, but the overshoot and adjustment time in the dynamic response process of the traditional SOGI structure are much larger than those of the TOGI structure. When the voltage signal of the power grid suddenly changes to 52 Hz, the frequency estimation result of the SOGI structure shows serious oscillations, while the frequency estimation effect of the TOGI structure is much better than that of SOGI structure due to the introduction of the frequency adaptive unit.
To summarize the above analysis, the adaptive frequency PLL based on the TOGI structure is proposed to solve the issue of grid voltage signals with direct current components, as well as to track the frequency in the case of frequency change. In summary, the advantage of TOGI compared to traditional SOGI was verified by the effectiveness of the simulation results and practicability of the single-phase PLL design.

6. Experimental Results

In this section, the adaptive frequency PLL based on TOGI is verified by an experimental test platform, which is a single-phase 5-kW bidirectional energy router equipment unit based on main control by a TMS320F28335 DSP and Xilinx FPGA Spartan6 LX9.
As shown in Figure 17, the 5-kW single-phase bidirectional energy router is a three-stage power electronic converter, consisting of AC/DC converter, DAB converter, and DC/AC converter. At the same time, two DC power interfaces and two AC power interfaces can be derived to realize the access to distributed ac devices and distributed DC devices. The bidirectional power energy router can realize bidirectional power flow and energy exchange between the distribution network and the microgrid.
Since this experiment is mainly to verify the validity of PLL, only the controller structure of AC/DC converter is given. By using the control strategy of DC voltage outer loop and AC current inner loop, the DC voltage stability and AC side current control can be controlled effectively.
The structure of the AC/DC controller is shown in Figure 18. The AC/DC controller includes the DC voltage outer loop of and the AC current inner loop. Meanwhile, the phase of the grid voltage is tracked in real time through the TOGI PLL. The PLL parameters are same as with simulation parameters; Moreover, the hardware parameters and controller parameters of the energy router experimental platform are shown in Table 3.
According to [33], the ac voltage control-loop bandwidth is around five times lower than the inner-loop current controller and that satisfies the standard bandwidth ratio design criterion. Therefore, the system is expected to operate stably. Meanwhile, the inner-loop current controller is tuned at 4 + 800/s and the close-loop control bandwidth is 160 Hz, and inner-loop voltage controller is tuned at 1 + 3/s and the control bandwidth is 7.2 Hz in this section. Thus, the stability of the inner current and outer voltage loop can be ensured.
Figure 19 shows that SOGI and TOGI output signals from the sample data. In order to demonstrate the test result, we add a 20 V DC offset in the grid voltage, and the peak value of the grid voltage is −306 V and 346 V. Figure 19a is the SOGI orthogonal output signal, and it can extract the grid voltage sine wave, but the peak voltage values are −306 V and 346 V, which means it includes the DC offset. Figure 19b is the TOGI orthogonal output signal, and it can extract the grid voltage sine wave as well, but the peak voltage values are −330 V and 330 V, which means there is no DC offset in the TOGI output.
Figure 20 shows at fundamental grid voltage and grid angle comparison between the SOGI scheme and the TOGI scheme. Figure 20a is the SOGI PLL output, and it is obvious that there is zero-cross deviation between the grid voltage and PLL angle extraction. Figure 20b is the TOGI PLL output, and it shows that the grid voltage zero-cross point is almost same PLL 0 deg. In brief, in the case of the grid voltage with DC offset, the TOGI can track the grid voltage angle without deviation.
Figure 21 shows grid connection current and voltage waveform. Figure 21a shows SOGI PLL grid connection waveforms, and it has deviation of the zero-cross point between the current and voltage. Figure 21b shows TOGI PLL grid connection waveforms, and the zero-cross point is almost same. The practice test results demonstrate that TOGI with DC elimination and adaptive frequency tracking function improve the performance of the PLL. Finally, accomplish the unit power factor grid connecting and energy transfer.
In order to express the power factor of grid-connected converter more clearly, the power factor (PF) of two groups of grid-connected current was analyzed by a FLUKE power quality analyzer. As shown in Figure 22, the PF based on SOGI PLL structure is 0.94, while the PF based on TOGI PLL is 0.99. It can be seen from the comparison that the grid-connected converter based on TOGI PLL can realize the operation of close to unit PF.
In addition, through measuring the harmonics of the grid voltage and grid-connected current with the FLUKE power analyzer, it is proved that the TOGI PLL has better harmonic elimination effects. The specific Total Harmonic Distortion (THD) analysis as shown in Table 4.

7. Conclusions

The traditional SOGI PLL and its improved PLL structure have many problems in the aspects of branch component elimination, frequency adaptation and DSP programming difficulty. This paper presents an adaptive frequency single phase PLL based on TOGI and draws a conclusion based on the above analysis. Compared to the SOGI structure orthogonal output, it can filter the low frequency noise to improve the accuracy of the PLL. By introducing an adaptive frequency unit, it can adjust the resonance frequency automatically in the case of grid voltage vibration, and enhance the sensitivity of the PLL. In the DSP implementation process, the programming workload is not complex, and the actual operation of DSP is not large. The excellent performance of the TOGI PLL is verified by simulations and experiments. The TOGI PLL has good application prospects in grid-connected systems.

Author Contributions

All the authors conceived and designed the study. H.D. performed the simulation and wrote the manuscript with guidance from Q.S. and Q.C.; D.M. and X.W. reviewed the manuscript and provided valuable suggestions.

Funding

This research was funded by National Key R&D Program of China grant number 2017YFF0108800, and Major Program of National Natural Foundation of China grant number 61627809, as well, National Natural Science Foundation of China grant number 61773109, 61573094.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dujic, D.; Zhao, C.; Mester, A.; Steinke, J.K.; Weiss, M.; Lewdeni-Schmid, S.; Chaudhuri, T.; Stefanutti, P. Power Electronic Traction Transformer-Low Voltage Prototype. IEEE Trans. Ind. Electron. 2014, 61, 3257–3268. [Google Scholar] [CrossRef]
  2. Li, Z.; Wang, P.; Chu, Z.; Zhu, H.; Li, Y. Research on medium- and high-voltage smart distribution grid oriented power electronic transformer. Power Syst. Technol. 2013, 37, 2592–2601. (In Chinese) [Google Scholar]
  3. Huang, A.Q.; Crow, M.L.; Heydt, G.T.; Zheng, J.P.; Dale, S.J. The Future Renewable Electric Energy Delivery and Management (FREEDM) System: The Energy Internet. Proc. IEEE 2010, 99, 133–148. [Google Scholar] [CrossRef]
  4. Wang, J.; Meng, K.; Cao, J.; Chen, Z.; Gao, L.; Lin, C. Information technology for energy internet: A survey. J. Comput. Res. Dev. 2015, 52, 1109–1126. (In Chinese) [Google Scholar]
  5. Cao, J.; Meng, K.; Wang, J.; Yang, M.; Chen, Z.; Li, W.; Lin, C. An energy internet and energy routers. Sci. Sin. 2014, 44, 714–727. [Google Scholar]
  6. Zha, Y.; Zhang, T.; Huang, Z.; Zhang, Y.; Liu, B.; Huang, S. Analysis of energy internet key technologies. Sci. Sin. 2014, 44, 702–713. [Google Scholar]
  7. Blaabjerg, F.; Teodorescu, R.; Liserre, M.; Timbus, A.V. Overview of Control and Grid Synchronization for Distributed Power Generation Systems. IEEE Trans. Ind. Electron. 2006, 53, 1398–1409. [Google Scholar] [CrossRef] [Green Version]
  8. Chung, S.K. A phase tracking system for three phase utility interface inverters. Power Electron. IEEE Trans. 2000, 15, 431–438. [Google Scholar] [CrossRef]
  9. Golestan, S.; Freijedo, F.; Vidal, A.; Yepes, A.; Guerrero, J.; Doval-Gandoy, J. An Efficient Implementation of Generalized Delayed Signal Cancellation PLL. IEEE Trans. Power Electron. 2015, 31, 1085–1094. [Google Scholar] [CrossRef]
  10. Wang, B.; Shan, G.; Guo, X.; Wu, W. Grid synchronization and PLL for distributed power generation systems. Proc. CSEE 2013, 33, 50–55. (In Chinese) [Google Scholar]
  11. Rader, C.M.; Jackson, L.B. Approximating Noncausal IIR Digital Filters Having Arbitrary Poles, Including New Hilbert Transformer Designs, Via Forward/Backward Block Recursion. IEEE Trans. Circuits Syst. I Regul. Pap. 2006, 53, 2779–2787. [Google Scholar] [CrossRef]
  12. Li, M.; Wang, Y.; Fang, X.; Wang, Z. Research on single-phase DQ phase-locked loop without imaginary signal generation. Proc. CSEE 2011, 31, 27–32. (In Chinese) [Google Scholar]
  13. Rodriguez, P.; Luna, A.; Candela, I.; Mujal, R.; Teodorescu, R.; Blaabjerg, F. Multiresonant Frequency-Locked Loop for Grid Synchronization of Power Converters Under Distorted Grid Conditions. IEEE Trans. Ind. Electron. 2010, 58, 127–138. [Google Scholar] [CrossRef]
  14. Hao, Y.; Wang, X.; Blaabjerg, F.; Zhuo, F. Impedance Analysis of SOGI-FLL-Based Grid Synchronization. IEEE Trans. Power Electron. 2017, 32, 7409–7413. [Google Scholar]
  15. Galkin, I.; Vorobyov, M. Optimizing of sampling in a low-cost single-phase instantaneous AC-grid synchronization unit with discrete calculation of derivative function. In Proceedings of the Conference of the IEEE Industrial Electronics Society, Yokohama, Japan, 9–12 November 2015. [Google Scholar]
  16. Pang, H.; Wang, Z.; Chen, J. A measuring method of the single-phase AC frequency, phase, and reactive power based on the Hilbert filtering. IEEE Trans. Instrum. Meas. 2007, 56, 918–923. [Google Scholar]
  17. Subramanian, C.; Kanagaraj, R. Single-phase grid voltage attributes tracking for the control of grid power converters. Emerg. Sel. Top. Power Electron. IEEE J. 2014, 2, 1041–1048. [Google Scholar] [CrossRef]
  18. Karimighartemani, M.; Ooi, B.T.; Bakhshai, A. Application of Enhanced Phase-Locked Loop System to the Computation of Synchrophasors. IEEE Trans. Power Deliv. 2010, 26, 22–32. [Google Scholar] [CrossRef]
  19. Ngo, T.; Quan, N.; Santoso, S. Improving performance of single-phase SOGI-FLL under DC-offset voltage condition. In Proceedings of the IECON 2014—40th Annual Conference of the IEEE Industrial Electronics Society, Dallas, TX, USA, 30 October–1 December 2014; pp. 1537–1541. [Google Scholar]
  20. Ciobotaru, M.; Teodorescu, R.; Blaabjerg, F. A new single-phase PLL structure based on second order generalized integrator. In Proceedings of the IEEE Power Electronics Specialists Conference, Jeju, Korea, 18–22 June 2006. [Google Scholar]
  21. Wang, A.J.; Ma, B.Y.; Meng, C.X. A frequency-locked loop technology of three-phase grid-connected inverter based on improved reduced order generalized integrator. In Proceedings of the IEEE Industrial Electronics Applications, Auckland, New Zealand, 15–17 June 2015. [Google Scholar]
  22. Xin, Z.; Zhao, R.; Blaabjerg, F.; Zhang, L.; Chiang Loh, P. An Improved Flux Observer for Field-Oriented Control of Induction Motors Based on Dual Second-Order Generalized Integrator Frequency-Locked Loop. IEEE J. Emerg. Sel. Top. Power Electron. 2016, 5, 513–525. [Google Scholar] [CrossRef]
  23. Xiao, F.; Dong, L.; Li, L.; Liao, X. A Frequency-Fixed SOGI-Based PLL for Single-Phase Grid-Connected Converters. IEEE Trans. Power Electron. 2016, 32, 1713–1719. [Google Scholar] [CrossRef]
  24. Golestan, S.; Mousazadeh Mousavi, S.Y.; Guerrero, J.; Vasquez, J. A Critical Examination of Frequency-Fixed Second-Order Generalized Integrator-Based Phase-Locked Loops. IEEE Trans. Power Electron. 2017, 32, 6666–6672. [Google Scholar] [CrossRef]
  25. Matas, J.; Castilla, M.; Miret, J.; de Vicuña, L.G.; Guzman, R. An Adaptive Prefiltering Method to Improve the Speed/Accuracy Tradeoff of Voltage Sequence Detection Methods Under Adverse Grid Conditions. IEEE Trans. Ind. Electron. 2014, 61, 2139–2151. [Google Scholar] [CrossRef]
  26. Xin, Z.; Wang, X.; Qin, Z.; Lu, M.; Chiang Loh, P.; Blaabjerg, F. An Improved Second-Order Generalized Integrator Based Quadrature Signal Generator. IEEE Trans. Power Electron. 2016, 31, 8068–8073. [Google Scholar] [CrossRef]
  27. Xie, M.; Wen, H.; Zhu, C.; Yang, Y. DC Offset Rejection Improvement in Single-Phase SOGI-PLL Algorithms: Methods Review and Experimental Evaluation. IEEE Access 2017, 5, 12810–12819. [Google Scholar] [CrossRef]
  28. Reza, M.; Ciobotaru, M.; Agelidis, V. Grid voltage offset and harmonics rejection using second order generalized integrator and kalman filter technique. In Proceedings of the IEEE Power Electronics & Motion Control Conference, Harbin, China, 2–5 June 2012. [Google Scholar]
  29. Kulkarni, A.; John, V. Design of a fast response time single-phase PLL with dc offset rejection capability. Electr. Power Syst. Res. 2017, 145, 35–43. [Google Scholar] [CrossRef]
  30. Kherbachi, A.; Bendib, A.; Kara, K.; Chouder, A. ARM based implementation of SOGI-FLL method for power calculation in single-phase power system. In Proceedings of the 2017 5th International Conference on Electrical Engineering-Boumerdes (ICEE-B), Boumerdes, Algeria, 29–31 October 2017; pp. 1–6. [Google Scholar]
  31. Karimi-Ghartemani, M.; Khajehoddin, S.A.; Jain, P.K.; Bakhshai, A.; Mojiri, M. Addressing DC Component in PLL and Notch Filter Algorithms. IEEE Trans. Power Electron. 2012, 27, 78–86. [Google Scholar] [CrossRef]
  32. Lanconelli, A. Grid Synchronization of Power Converters Using Multiple Second Order Generalized Integrators. J. Am. Med. Inform. Assoc. 2009, 8, 755–760. [Google Scholar]
  33. Amin, M.; Molinas, M. A Grey-box Method for Stability and Controller Parameter Estimation in HVDC-connected Wind Farms based on Non-parametric Impedance. IEEE Trans. Ind. Electron. 2019, 66, 1872–1882. [Google Scholar] [CrossRef]
Figure 1. The structure of a single phase phase-locked loop (PLL).
Figure 1. The structure of a single phase phase-locked loop (PLL).
Energies 12 00309 g001
Figure 2. The block diagram of the second order generalized integrator (SOGI).
Figure 2. The block diagram of the second order generalized integrator (SOGI).
Energies 12 00309 g002
Figure 3. The Bode diagram for the SOGI structure.
Figure 3. The Bode diagram for the SOGI structure.
Energies 12 00309 g003
Figure 4. The block diagram of SOGI with FLL.
Figure 4. The block diagram of SOGI with FLL.
Energies 12 00309 g004
Figure 5. The block diagram of the adaptive frequency PLL based on a TOGI structure.
Figure 5. The block diagram of the adaptive frequency PLL based on a TOGI structure.
Energies 12 00309 g005
Figure 6. The Bode diagram of H v d ( s ) and H v d ( s ) .
Figure 6. The Bode diagram of H v d ( s ) and H v d ( s ) .
Energies 12 00309 g006
Figure 7. The Bode diagram of H v q ( s ) and H v q ( s ) .
Figure 7. The Bode diagram of H v q ( s ) and H v q ( s ) .
Energies 12 00309 g007
Figure 8. The Bode diagram of H d c ( s ) .
Figure 8. The Bode diagram of H d c ( s ) .
Energies 12 00309 g008
Figure 9. The block diagram of SOGI with a high-pass filter (HBF).
Figure 9. The block diagram of SOGI with a high-pass filter (HBF).
Energies 12 00309 g009
Figure 10. The comparison of Bode diagrams between TOGI and SOGI-HBF at 0.1 Hz.
Figure 10. The comparison of Bode diagrams between TOGI and SOGI-HBF at 0.1 Hz.
Energies 12 00309 g010
Figure 11. The comparison of Bode diagrams between TOGI and SOGI-HBF at 1 Hz.
Figure 11. The comparison of Bode diagrams between TOGI and SOGI-HBF at 1 Hz.
Energies 12 00309 g011
Figure 12. The comparison of Bode diagrams between TOGI and SOGI-HBF at 10 Hz.
Figure 12. The comparison of Bode diagrams between TOGI and SOGI-HBF at 10 Hz.
Energies 12 00309 g012
Figure 13. The Bode diagram of H v q ( s ) and H ε ( s ) .
Figure 13. The Bode diagram of H v q ( s ) and H ε ( s ) .
Energies 12 00309 g013
Figure 14. The comparison of input/output signal for SOGI and TOGI in condition 1.
Figure 14. The comparison of input/output signal for SOGI and TOGI in condition 1.
Energies 12 00309 g014
Figure 15. The comparison of input/output signals for SOGI and TOGI in condition 2.
Figure 15. The comparison of input/output signals for SOGI and TOGI in condition 2.
Energies 12 00309 g015
Figure 16. Simulation result of PLL based on TOGI structure and SOGI structure.
Figure 16. Simulation result of PLL based on TOGI structure and SOGI structure.
Energies 12 00309 g016
Figure 17. 5-kW single-phase bidirectional energy router.
Figure 17. 5-kW single-phase bidirectional energy router.
Energies 12 00309 g017
Figure 18. The control block diagram of energy router.
Figure 18. The control block diagram of energy router.
Energies 12 00309 g018
Figure 19. The grid voltage signal and orthogonal voltage signal.
Figure 19. The grid voltage signal and orthogonal voltage signal.
Energies 12 00309 g019
Figure 20. The fundamental grid voltage and grid voltage phase.
Figure 20. The fundamental grid voltage and grid voltage phase.
Energies 12 00309 g020
Figure 21. Waveform of grid connected converter.
Figure 21. Waveform of grid connected converter.
Energies 12 00309 g021
Figure 22. Power factor analysis of grid connected converter.
Figure 22. Power factor analysis of grid connected converter.
Energies 12 00309 g022
Table 1. Discretization method.
Table 1. Discretization method.
Type s is Approximated By
Trapezoidal 2 T S z 1 z + 1
Second order integrator 2 T S z 2 z 3 z 1
Third order integrator 12 T S z 3 z 2 23 z 2 16 z + 5
Table 2. PLL simulation parameters.
Table 2. PLL simulation parameters.
ParametersValues
Fundamental grid voltage 311 V/peak
Frequency loop coefficient kf−20
TOGI parameter k1.414
TOGI coefficient kdc0.21
Refer angular frequency ω 0 314.15
PI parameter k p = 5 , k i = 0.01
Table 3. Hardware parameters of experimental platform.
Table 3. Hardware parameters of experimental platform.
ParametersValues
Converter power:5 kW
Rated grid voltage:220 V/RMS
Grid frequency:50 Hz
DC bus voltage:400 V
Filter inductance Lr:2.5 mH
Filter resistance Rr:0.01 ohm
DC bus capacitance:1 mF
Sampling frequency:19.2 kHz
AC current inner loop PI k i p = 38.61 , k i i = 128.7
DC voltage outer loop PI k u p = 0.0265 , k u i = 16.642
Table 4. Total Harmonic Distortion (THD) analysis of grid voltage and current based on TOGI PLL and SOGI PLL.
Table 4. Total Harmonic Distortion (THD) analysis of grid voltage and current based on TOGI PLL and SOGI PLL.
Harmonic Order/%Grid VoltageGrid Current
Based on TOGI
Grid Current
Based on SOGI
THD/%4.03.84.9
H3/%3.73.44.5
H5/%0.10.40.4
H7/%0.90.80.6
H9/%0.50.70.5
H11/%0.60.60.7
H13/%0.50.50.3
H15/%0.70.80.2

Share and Cite

MDPI and ACS Style

Du, H.; Sun, Q.; Cheng, Q.; Ma, D.; Wang, X. An Adaptive Frequency Phase-Locked Loop Based on a Third Order Generalized Integrator. Energies 2019, 12, 309. https://doi.org/10.3390/en12020309

AMA Style

Du H, Sun Q, Cheng Q, Ma D, Wang X. An Adaptive Frequency Phase-Locked Loop Based on a Third Order Generalized Integrator. Energies. 2019; 12(2):309. https://doi.org/10.3390/en12020309

Chicago/Turabian Style

Du, Heng, Qiuye Sun, Qifu Cheng, Dazhong Ma, and Xu Wang. 2019. "An Adaptive Frequency Phase-Locked Loop Based on a Third Order Generalized Integrator" Energies 12, no. 2: 309. https://doi.org/10.3390/en12020309

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop