Next Article in Journal
Sustainable Groundwater Exploitation Aiming at the Reduction of Water Vulnerability in the Brazilian Semi-Arid Region
Previous Article in Journal
Power Management Control Strategy Based on Artificial Neural Networks for Standalone PV Applications with a Hybrid Energy Storage System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dual-Loop-Based Current Controller for Transformerless Grid-Tied Converters with Improved Disturbance Attenuation against Voltage Measurement Errors

School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China
*
Author to whom correspondence should be addressed.
Energies 2019, 12(5), 903; https://doi.org/10.3390/en12050903
Submission received: 29 January 2019 / Revised: 22 February 2019 / Accepted: 25 February 2019 / Published: 8 March 2019

Abstract

:
To eliminate current harmonics and to obtain enhanced dynamic behaviors, the voltage feedforward scheme is normally adopted in the control process of transformerless grid-tied converters. However, voltage measurement errors caused by parameter variation of sampling resistance and zero-voltage drift in analog devices will result in DC current injection and distorted grid currents in grid-tied systems. Conventional compensation strategies based on plug-in repetitive controllers and multiple resonant controllers are considered to be effective solutions to solve this problem. Even though undesired components in grid currents can be partially mitigated with these conventional compensation schemes adopted, degraded reference-tracking process with oscillations and slow dynamics are inevitably caused by the controller coupling. To obtain decoupling between reference tracking and disturbance rejection, this paper proposes a dual-loop controller to achieve current regulation and to suppress the disturbances caused by voltage measurement errors. With the proposed dual-loop controller adopted, DC current injection and distortion of grid currents can be effectively attenuated while excellent transient performance with negligible overshoot and fast step response can be simultaneously guaranteed. Frequency-domain analysis and experimental validations are both conducted to verify the effectiveness of the proposed strategy.

1. Introduction

Grid-tied converters are often used as the interface between distributed generation systems and the unity grid. Compared with conventional grid-tied converters equipped with transformers, transformerless grid-tied converters are directly connected to the grid through passive filters without using isolation transformers [1]. Due to the superiority of higher efficiency and smaller size, this topology has gained increasing attention [2,3,4]. However, because of the absence of galvanic isolation, it is more demanding for the transformerless grid-tied converters to meet the strict grid codes, such as the total harmonic distortion (THD) [5], the maximum DC current injection [6], and the maximum response time for voltage dynamics [7].
Typically, to eliminate current harmonics [8] and to obtain enhanced dynamic behaviors, the voltage feedforward scheme is normally adopted in the current control loop of grid-tied converters [9,10]. A large amount of research has been previously conducted in this area to obtain improved performance [11,12,13]. However, due to the parameter deviation in the conditioning circuit and the non-idealities in the low-pass filter, voltage measurement errors normally exist, which mainly includes offset errors, scaling errors, and the phase shift. Despite the theoretical efficiency of the voltage feedforward (VFF) scheme regarding the dynamic enhancement and the harmonic rejection, its performance can be greatly degraded in practical applications due to voltage measurement errors. This phenomenon has been widely investigated in previous research [14,15,16,17,18]. As analyzed in [14], offset errors in the VFF scheme generate undesired DC components in the grid currents. The fundamental frequency power fluctuations are thus introduced to the DC side, and the DC voltage ripples together with second-order harmonics in the grid currents are simultaneously produced accordingly [15,16]. In [17,18], it is concluded that offset and scaling errors will simultaneously generate DC currents and harmonic components. In addition, the phase shift in the VFF scheme mainly enlarges the amplitude of the periodic disturbances without changing their frequencies [13].
According to the standard IEEE 929-2000, the DC current injected by transformerless grid-tied converters should be less than 0.5% of the rated current. Moreover, the injected grid current should be balanced and sinusoidal with the THD less than 5%, as specified in the standard IEEE 1517-2003. In order to obtain satisfactory grid currents under voltage measurement errors, additional modifications need to be introduced to the VFF scheme of grid-tied converters. In [13], a simplified repetitive predictor is designed, where the phase-shift compensation is taken into account. In this manner, the accuracy of the VFF scheme is improved, and the distortion of the grid currents can be then suppressed. However, this method can only deal with the phase-shift problem, while the DC current injection and the current harmonics caused by offset and scaling errors cannot be effectively mitigated. Differently, with the influence of voltage measurement errors considered as periodic disturbances in the synchronous reference frame, the plug-in repetitive controller (RC) and multiple resonant controllers (MRSCs) are considered as effective strategies, which can be embedded in the current control loop of transformerless grid-tied converters to achieve periodic-disturbance rejection [17,18,19].
By combining the time delay and the positive feedback loop, the RC can simultaneously include the internal models of harmonic components. According to the internal model principle, it enables the RC to regulate the all the harmonic components. On the other hand, as a series of time delay is always embedded in the controller, the convergence rate of the plug-in RC is relatively slow in practical applications. To solve this problem, MRSCs can be applied instead of the plug-in RC. In MRSCs, to selectively embed internal models in the controller, multiple resonant controllers corresponding to different harmonic components are normally connected in parallel. Even though improved dynamic responses can be obtained, the adoption of multiple resonant controller results in tuning difficulties and heavy computational burden, especially when the number of embedded resonant controllers increases [20]. More importantly, these previously proposed compensation schemes, such as plug-in RCs and MRSC, are implemented via series or parallel connections with the main controller in the current loop. These control strategies belong to the single-degree-of-freedom control structure, where the reference-tracking performance of the current control will be inevitably degraded by the embedding of RC or MRSCs, resulting in coupling effects between reference tracking and periodic-disturbance rejection.
Taking both reference tracking performance and disturbance rejection aspects into account, several controllers have been proposed to deal with changes in the power system, such as load variation, generation changes, and faults. For example, in [21], to enhance the transient process under unbalanced conditions, a quadratic prediction algorithm has been proposed in combination with the strategy called set point automatic adjustment with correction enabled. In addition, the improvement introduced by the corresponding quadratic prediction algorithm enables the reduction of undesired peaks in transient processes. In [22], a generic nonlinear multi-input single-output self-tuning controller is employed to damp the oscillations under various post-disturbance operating conditions, and the proposed method has been proved to be superior to the conventional model-based controller. Additionally, considering parameter uncertainties in systems, reachability analysis is used in [23] for controller tuning, which can ensure stable operation against parameter uncertainties in power systems.
Aiming at realizing decoupling between reference tracking and disturbance mitigation, this paper proposes a dual-loop current controller, in which the reference-tracking performance is only determined by the primary tracking controller, and disturbance mitigation is realized by embedding an additional disturbance-rejection loop. Specifically, the internal-model-based primary tracking controller is designed following the state-space methods, which benefits the design of current regulation performance in the stationary coordinates. In addition, the embedded disturbance-rejection loop is designed with strong attention for DC and harmonic disturbances introduced by voltage measurement errors. To evaluate the performance of the proposed dual-loop controller, simulations and experiments are applied under both normal operation condition and unbalanced network condition.
This paper is organized as following. In Section 2, the impacts of voltage measurement errors on system operating characteristics are analyzed. The proposed dual-loop controller is clarified in Section 3, and the frequency-domain comparisons are presented in Section 4. The effectiveness of the proposed dual-loop controller is experimentally verified in Section 5. In addition, the conclusions are finally drawn in Section 6.

2. Impacts of Voltage Measurement Errors on System Operating Characteristics

The classical control scheme of the transformerless grid-tied converter with a VFF scheme is shown in Figure 1, where the converter is connected to the utility grid via the inductors L f . The equivalent resistor is represented by R f . v ca , v cb , and v cc stand for the converter output voltages. i ga , i gb , and i gc represent the grid currents. v ga , v gb , and v gc are the grid voltages. ω and θ g denote the fundamental angular frequency and the phase information of the grid, respectively. The linear proportional integral (PI) controllers are normally applied together with feedforward decoupling terms in the d q coordinates to construct the inner current loop. In addition, the measured grid voltages are normally included in feedforward terms as well. In this manner, the grid currents can be expressed in the d q coordinates as
i gd = ( K p + K i s ) i gd ( v gd v ^ gd ) L f s + R f + K p + K i s i gq = ( K p + K i s ) i gq ( v gq v ^ gq ) L f s + R f + K p + K i s
where K p and K i denote the proportional gain and the integral gain of PI controllers, respectively. i gd and i gq are current references, and i gd and i gq are measured grid currents in the d q coordinates. v gd and v gq are actual grid voltages, and v ^ gd and v ^ gq are measured grid voltages in the d q coordinates.
As can be seen in Equation (1), the accuracy of the grid-voltage measurement has straightforward impacts on grid currents. In the case of accurate compensation (i.e., v gd v ^ gd = 0 , v gq v ^ gq = 0 ), the fundamental component together with harmonic components of grid voltages can be simultaneously compensated. However, due to the parameter deviation of the sampling resistance, the zero-voltage drift of analog devices, and the phase shift introduced by low-pass filters, offset errors, scaling errors, and the phase shift may exist in the voltage measurement. As analyzed in [18], in the d q coordinates, offset errors generate disturbances at ω . Both scaling errors and grid-voltage harmonics at ( 2 n ± 1 ) ω will result in disturbances at DC and 2 n ω . It is worth noting that the phase shift mainly enlarges the amplitude of the periodic disturbances without changing the frequency [13]. In this manner, disturbances caused by voltage measurement errors can be written as
v gd v ^ gd = Δ v d , dc + Δ v d , ω + Δ v d , 2 n ω v gq v ^ gq = Δ v q , dc + Δ v q , ω + Δ v q , 2 n ω
where Δ v d , dc and Δ v q , dc stand for DC disturbances in the d q coordinates. Δ v d , ω , Δ v q , ω , v d , 2 n ω , and v q , 2 n ω represent AC disturbances in the d q coordinates. Due to the limitation of linear PI controller regarding AC signal tracking, the periodic disturbances cannot be completely eliminated by the control structure shown in Figure 1. Subsequently, these disturbances will generate undesired AC ripples at ω and 2 n ω in i gd and i gq .
By applying coordinate transformation, the disturbances formulated in the d q coordinates can be transformed into the α β coordinates as
v g α v ^ g α = Δ v α , dc + Δ v α , ω + Δ v α , ( 2 n ± 1 ) ω v g β v ^ g β = Δ v β , dc + Δ v β , ω + Δ v β , ( 2 n ± 1 ) ω
where v g α and v g β are actual grid voltages, and v ^ g α and v ^ g β are measured grid voltages in the α β coordinates. Δ v α , dc and Δ v β , dc stand for dc disturbances in the α β coordinates. Δ v α , ω , Δ v β , ω , v α , ( 2 n ± 1 ) ω , and v β , ( 2 n ± 1 ) ω represent AC disturbances in the α β coordinates.

3. The Proposed Dual-Loop-Based Current Control Scheme

For better understanding, two typical compensation schemes are shown in Figure 2. In Figure 2a, the plug-in RC in the current control loop is used to attenuate disturbances generated by voltage measurement errors, and the conventional linear PI controllers are used as the main controller to regulate three-phase currents of fundamental frequency. In practical applications, the RC are normally realized by a serious of time delay. In this manner, the convergence rate of the disturbance mitigation will be inevitably slow when the RC is applied in the control loop. Moreover, since additional low-pass filters are normally embedded in the RC to ensure enough stability margin, the open-loop gains for disturbances will then be inevitably reduced, resulting in degraded disturbance-mitigation performance.
As an alternative, MRSCs can be implemented to eliminate disturbances introduced by voltage measurement errors, as depicted in Figure 2b. When the MRSCs are adopted, multiple resonant controllers are connected in parallel and embedded to the current control loop, with the aim of eliminating disturbances of different frequencies. Under this situation, the controller parameter tuning is thus a difficult task, and the parallel computational burden of the controller is heavy. Most importantly, in the control schemes using plug-in RC and MRSCs, the coupling between the main controller and the disturbance-mitigation controller always exists. As depicted in Figure 2a,b, the control signals for reference tracking and disturbances elimination are not generated independently. In this manner, both the main PI controller and the disturbance-mitigation controller will take actions on the reference-tracking error. As a result, the transient performance of the reference tracking will be distorted with oscillations and slow responses, especially under the situation of a reference step change. This phenomenon will be further demonstrated by the frequency-domain analysis and the experimental validations in following sections.
Aiming at realizing the decoupling between reference tracking and disturbance rejection, this paper proposes the dual-loop controller. The corresponding current control loop using the proposed controller are shown in Figure 3, where C 1 ( z ) and C 2 ( z ) represent the reference-tracking controller and the disturbance-mitigation controller, respectively. P ^ ( z ) is the estimated model of the plant, F ( z ) is the discrete-time model of the inductor, and P ( z ) = z 1 F ( z ) is the actual plant with one sample period delay. In the proposed dual-loop control structure, C 1 ( z ) is designed for tracking, and the embedded path containing C 2 ( z ) is implemented for disturbance mitigation.

3.1. Design of the Reference-Tracking Controller C 1 ( z )

In the dual-loop control structure shown in Figure 3, the controller C 1 ( z ) is adopted as the reference-tracking controller. Specifically, the function of the reference-tracking controller C 1 ( z ) is to regulate the grid currents of fundamental frequency in the α β coordinates. For clarity and better understanding, in the following contents, boldfaced letters are used to denote matrices or complex vectors, and complex vector quantities are expressed in the stationary α β coordinates (e.g., i g = i g α + j i g β ). With the zero-order-hold (ZOH) characteristic of the pulse width modulation taken into account, the hold-equivalent discrete-time model can be expressed as
x ( k + 1 ) = ϕ x ( k ) + τ c [ v c ( k ) v g ( k ) ] i g ( k ) = x ( k ) .
where v c ( k ) stands for the converter output voltage vector. v g ( k ) denotes the grid-voltage vector. System matrices ϕ and τ c are given by
ϕ = e R f T s / L f , τ c = 1 L f 0 T s e R f η / L f d η
where T s is the sampling period.
Under synchronous sampling mode, one sampling period delay is introduced inherently in the digital control system. For the direct discrete-time design, the time delay is embedded by adding an additional state (i.e., v c ( k + 1 ) = v c , ref ( k ) ) in the hold-equivalent discrete-time model as
x ( k + 1 ) v c ( k + 1 ) x d ( k + 1 ) = ϕ τ c 0 0 ϕ d x ( k ) v c ( k ) x d ( k ) + 0 1 Γ cd v c , ref ( k )
where v c , ref ( k ) is the output reference voltage vector. ϕ d and Γ cd are system matrices, and x d is the state matrix. It is worth noting that v g is excluded from Equation (6) since it will be handled by the grid-voltage feedforward terms and the disturbance-rejection controller C 2 ( z ) later.
To design the C 1 ( z ) , the internal model of the sinusoidal references is written as
d ( k + 1 ) = 0 1 1 2 cos ( ω T s ) d ( k )
where d = [ d 1 , d 2 ] T . d 1 and d 2 are two states of the internal model.
From Equations (6) and (7), the internal model of the sinusoidal references is embedded in the hold-equivalent discrete-time model by means of state augmentation. In addition, the augmented model is given by
x d ( k + 1 ) d ( k + 1 ) x a ( k + 1 ) = ϕ d 0 Ψ 1 Ω d ϕ a x d ( k ) d ( k ) x a ( k ) + Γ cd 0 Γ ca v c , ref ( k ) 0 Ψ 2 Γ ra i g ( k )
where ϕ a and Γ ca are the system matrices after the augmentation, and x a is the matrix of the augmented states.
Ω d , Ψ 1 , and Ψ 2 are
Ω d = 0 1 1 2 cos ( ω T s ) , Ψ 1 = 0 0 1 0 , Ψ 2 = 0 1
The structure of the proposed resonant controller is shown in Figure 4. k 1 denotes the feedback gain for the grid current. k 2 is the feedback gain for the previous output voltage. k d 1 and k d 2 represent the feedback gains for the states d 1 and d 2 , respectively. In additional, k f is the reference-feedforward gain, and L = 2 cos ( ω T s ) . It is worth noting that both d 1 and d 2 are used in the feedback control to achieve additional degree of freedom. Because the state corresponds to a single sampling period delay is included in the design as well, accurate pole locations can be realized for the system with time delay [24].
According to Figure 4, the control law can be written as
v c , ref ( k ) = K a x a ( k ) + k f i g ( k )
where K a = [ k 1 , k 2 , k d 1 , k d 2 ] T . From Equations (8) and (10), the dynamic of the closed-loop system is given as
x a ( k + 1 ) = ( ϕ a Γ ca K a ) x a ( k ) + ( k f Γ ca + Γ ra ) i g i g ( k ) = H a x a ( k )
where H a = [ 1 0 0 0 ] .
For the closed-loop system, there are four closed-loop poles to be placed. These poles are introduced by the time delay, the inductor, and the internal model, respectively. The pole α 1 introduced by the time delay is in the optimal point and will not be moved. The pole α 2 originating from the inductor can be cancelled by the reference-feedforward path. To obtain enhanced tracking performance of sinusoidal references, two dominant poles α 3 , 4 can be then selected as
α 3 , 4 = exp ζ ± j 1 ζ 2 ω b T s
where ω b is related to the desired bandwidth, and the damping ratio ζ is normally set to a proper value (i.e., 0.7∼1). The direct pole placement mentioned above can be easily accomplished in the MATLAB [24], where K a and k f can be simultaneously obtained.

3.2. Design of Disturbance-Mitigation Controller C 2 ( z )

In the proposed dual-loop control structure shown in Figure 3, the disturbance-mitigation controller C 2 ( z ) is used to suppress DC disturbances and AC disturbances at ( 2 n ± 1 ) ω disturbances caused by voltage measurement errors.
The scheme of the proposed C 2 ( z ) is shown in Figure 5. In this figure, C 2 , dc ( z ) and C 2 , ac ( z ) are designed to suppress DC and AC disturbances, respectively. The controller C 2 , ac ( z ) is expressed as
C 2 , ac ( z ) = k ac h = 1 , 4 , 6 , 8 , 10 ( 1 cos ( h ω T s ) z 1 + z 2 ) i = 3 , 5 , 7 , 9 , 11 ( 1 cos ( i ω T s ) z 1 + z 2 )
where k ac is the control gain.
The frequency response of controller C 2 , ac ( z ) is shown in Figure 6. Because the internal model of the fundamental-frequency signals is embedded in the reference-tracking controller C 1 ( z ) , it mainly produces high gain for grid currents of fundamental frequency. In this manner, the controller C 2 , ac ( z ) should be inactive to fundamental-frequency components to avoid coupling between C 1 ( z ) and the additional path shown in Figure 3. Correspondingly, the magnitude of the controller C 2 , ac ( z ) is designed to be low at the fundamental frequency, as shown in Figure 6. Moreover, to effectively attenuate AC disturbances at ( 2 n ± 1 ) ω , C 2 , ac ( z ) are designed with high gains at the selected frequencies (i.e., 3rd, 5th, 7th, 9th, 11th harmonics). The decoupling between reference tracking and disturbance mitigation can be ensured, and the satisfactory disturbance-mitigation performance can be simultaneously obtained. It should be noted that only one single control gain k ac is required in the controller C 2 , ac ( z ) , and the parameter tuning of C 2 , ac ( z ) is thus simple.
The controller C 2 , ac ( z ) can only eliminate AC disturbances while DC disturbances generated by the voltage measurement errors cannot be effectively regulated. To effectively eliminate DC disturbances, an additional controller C 2 , dc ( z ) is connected in parallel, as shown in Figure 5. Specifically, the controller C 2 , dc ( z ) consists of a second-order bandpass filter (BSF), a first-order low-pass filter (LPF), and a PI controller. The PI controller in C 2 , dc ( z ) is used as the main controller to mitigate DC disturbances. Because PI controller can produce gain for fundamental-frequency components as well, the second-order BSF is adopted here to filter out the signals at the fundamental frequency, and the first-order LPF is used to filter out high-frequency signals and improve the stability region. The transfer function of the second-order BSF is written as
G BSF ( s ) = s 2 + ω c 2 s 2 + k s ω c s + ω c 2
where ω c is the center frequency, and k s is the control gain for the adjustment of the stopband.
The frequency response of the bandpass filter is plotted in Figure 7, where the center frequency ω c is set to the fundamental frequency. With the growth of k s , the stopband of BSF becomes wider, and the attenuation of fundamental-frequency signals can be thus improved.
With the Tustin with pre-warping discretization method applied, the transfer function (14) is rewritten in the z-domain as
G BSF ( z ) = p 2 z 2 + p 1 z 1 + p 0 q 2 z 2 + q 1 z 1 + q 0
where the coefficients are
p 0 = ω 2 [ 1 + 1 / tan 2 ( ω T s / 2 ) ] p 1 = 2 ω 2 [ 1 1 / tan 2 ( ω T s / 2 ) ] p 2 = p 0 q 0 = p 0 + k s ω 2 / tan ( ω T s / 2 ) q 1 = p 1 q 2 = p 0 k s ω 2 / tan ( ω T s / 2 )
The transfer function of the first-order LPF is expressed as
G LPF ( z ) = T s ( z + 1 ) ( T s + 2 τ ) z + ( T s 2 τ )
where τ is used to adjust the cutoff frequency ( f c = 1 / 2 π τ ) of the LPF.
The expression of the linear PI controller is
G PI ( z ) = k p , dc + k i , dc 1 z 1
where k p , dc is the proportional gain, and k i , dc is the integral gain.

3.3. Parameter Tuning

Using the proposed dual-loop controller, the reference-tracking performance is only determined by C 1 ( z ) , and the dynamic of tracking can be properly designed by adjusting the damping ratio ζ and the bandwidth ω b of dominant closed-loop poles in Equation (12). In this paper, the damping ratio ζ is set to 0.7 to prevent large overshoots, and the bandwidth ω b is set to 1000 rad/s to realize a fast step reference response. For disturbances attenuation, as derived from Figure 3, the transfer function from the disturbance caused by voltage measurement errors to the grid current can be written as
i g ( z ) v ^ g ( z ) v g ( z ) = F ( z ) 1 + C 1 ( z ) P ( z ) Z 1 ( z ) 1 1 + C 2 ( z ) P ( z ) Z 2 ( z )
where Z 1 ( z ) and Z 2 ( z ) are two frequency-selective filters. From Equation (19), it can be concluded that the disturbance-rejection performance of the current control loop can be designed by properly choosing Z 1 ( z ) and Z 2 ( z ) . Since Z 1 ( z ) is already determined by C 1 ( z ) , the disturbance-mitigation performance of the current control loop is then only determined by Z 2 ( z ) . In Z 2 ( z ) , the actual plant model P ( z ) cannot be changed, thus C 2 ( z ) need to be tuned to achieve desired disturbance attenuation.
In the proposed disturbance-mitigation controller C 2 ( z ) , two channels (i.e., C 2 , ac ( z ) and C 2 , dc ( z ) ) are responsible for the regulation of signals at different frequencies. As indicated in Figure 5, C 2 , ac ( z ) is used to eliminated periodic disturbances while C 2 , dc ( z ) is responsible for the mitigation of DC disturbances. In this way, the control gains in C 2 , ac ( z ) and C 2 , dc ( z ) can be selected independently. Assuming only C 2 , ac ( z ) is applied, the frequency response of Z 2 ( z ) is presented in Figure 8a. As it can be seen, with the growth of k ac , the magnitude of Z 2 ( z ) at harmonic frequencies are lower, and the disturbance-rejection ability of the system is thus improved. To realize a satisfactory regulation performance against harmonics, k ac is set to 30 in this paper. Regarding G BSF ( z ) , G LPF ( z ) , and G PI ( z ) , there are four parameters (i.e., k s , τ , k p , dc , and k i , dc ) to be determined. As indicated in Figure 8b, k p , dc and k i , dc are set to 15 and 1 respectively to ensure enough open-loop gain for the DC signals, and k s in the BSF is then set to 50 for a wide enough stopband for components of fundamental frequency. Finally, τ is chosen to adjust the cutoff frequency of the LPF, and the high-frequency signals are then filtered effectively. With all the parameters in C 2 ( z ) determined, the frequency response of Z 2 ( z ) is presented in Figure 8c. To evaluate the disturbance-attenuation performance of the proposed dual-loop controller, the frequency response of Z 1 ( z ) Z 2 ( z ) is plotted in Figure 8c as well. As is clearly visible, DC and periodic disturbances caused by voltage measurement errors can be effectively attenuated.

4. Frequency-Domain Comparisons between the Proposed Dual-Loop Strategy and Conventional Compensation Schemes

In the conventional compensation scheme shown in Figure 2a, the s-domain transfer function of the current controller containing the plug-in RC can be expressed as
G PI , RC ( s ) = k pa + k ia s G PI , a ( s ) k rc e s T Q ( s ) G f ( s ) 1 e s T Q ( s ) + 1 G RC ( s ) + 1
where G PI , a ( s ) and G RC ( s ) represent the PI controller and the RC, respectively. k pa , k ia , and k rc stand for the proportional, the integral, and the RC gains, respectively. T = 2 π / ω stand for the fundamental period. Q ( s ) is the LPF and G f ( s ) is the phase-lead compensator embedded in the RC. The transfer function from the reference current to the output current can be expressed as
i g ( s ) i g ( s ) = P ( s ) [ G PI , a ( s ) G RC ( s ) + G PI , a ( s ) ] 1 + P ( s ) [ G PI , a ( s ) G RC ( s ) + G PI , a ( s ) ]
where P ( s ) represents the plant model in the s-domain. It should be noted that both the main controller G PI , a ( s ) and the disturbance-mitigation controller G RC ( s ) exist in the transfer function (21), which indicates that the disturbance-mitigation controller G RC ( s ) will inevitably affect the process of reference tracking. This coupling will significantly influence reference tracking and result in distorted transient performance, especially under a step reference change. This phenomenon will be further verified by experimental results in following sections.
When MRSCs are applied as disturbance-mitigation controllers instead of the plug-in RC, as shown in Figure 2b, the transfer function of the current controller can be written as
G PI , MRSCs ( s ) = k pb + k ib s G PI , b ( s ) + h N k ph s 2 + k rh s s 2 + ( h ω ) 2 G MRSCs ( s )
where G PI , b ( s ) and G MRSCs ( s ) stand for the PI controller and MRSCs, respectively. k pb and k ib are the proportional and integral gains of PI controllers. k ph and k rh are the proportional and resonant gains of resonant controllers, respectively. Under this situation, the transfer function of reference tracking can be written as
i g ( s ) i g ( s ) = P ( s ) [ G PI , b ( s ) G MRSCs ( s ) ] 1 + P ( s ) [ G PI , b ( s ) G MRSCs ( s ) ]
Similar to Equation (21), the disturbance-mitigation controller G MRSCs ( s ) appears in the transfer function of reference tracking as well. This implies that the coupling still exists in the case of applying MRSCs, which may inevitably affect the tracking processes. With aim of solving the coupling problem existing in conventional compensation schemes, this paper proposed a dual-loop controller, as shown in Figure 3. Under the assumption that the estimated plant model can approximately represent the actual plant (i.e., P ^ ( z ) P ( z ) ), the transfer function of reference tracking can be formulated as
i g ( z ) i g ( z ) = C 1 ( z ) P ( z ) [ 1 + C 2 ( z ) P ^ ( z ) ] [ 1 + C 2 ( z ) P ( z ) ] + C 1 ( z ) P ( z ) [ 1 + C 2 ( z ) P ^ ( z ) ] = C 1 ( z ) P ( z ) 1 + C 1 ( z ) P ( z )
From Equation (24), it can be seen that the disturbance-mitigation controller C 2 ( z ) is successfully removed from the reference-tracking transfer faction, and the tracking performance is only determined by the controller C 1 ( z ) . Therefore, different from traditional control schemes presented in Figure 2a,b, the coupling between the reference tracking and disturbance mitigation can be avoided, and desired tracking performance without oscillations can be achieved.
To illustrate the differences between the proposed dual-loop controller and conventional compensation schemes using the plug-in RC and MRSCs, the frequency-domain comparison is also conducted. The frequency response of reference-tracking transfer functions (i.e., Equations (21), (23), and (24)) is shown in Figure 9a,b. As it can be observed, when the conventional compensation schemes, G PI , RC ( s ) and G PI , MRSCs ( s ) , are adopted, signals around the resonant frequencies are amplified or micrified.
When the plug-in RC is adopted for disturbance attenuation, a series of peaks are simultaneously generated at various frequencies, as indicated in Figure 9. To illustrate these undesired fluctuations, the LPF and the phase-lead compensator are excluded from the plug-in RC, and the transfer function of the ideal RC can be expanded as
G RC , ideal ( s ) = k rc e s T 1 e s T = k rc 2 + k rc T s + 2 k rc T h = 1 s s 2 + ( h ω ) 2
Equation (25) indicates that the RC can be equivalently seen as a parallel combination of a proportional term, an integral term, and all resonant terms of different frequencies. The corresponding frequency response of the ideal RC is presented in Figure 10, and it can be observed that peaks are simultaneously introduced by resonant terms in Equation (25) without taking the harmonic distribution into account. Due to this feature of the RC, peaks at various frequencies occur in the Figure 9a.
It is worth noting that due to the undesired fluctuations in the frequency response of reference-tracking transfer function, the transient response will be inevitably distorted when the reference is step changed. Differently, when the dual-loop controller is used, the corresponding frequency response is smooth as desired. This is because the disturbance-mitigation controller is excluded from the reference-tracking transfer function. In this manner, decoupling between disturbance mitigation and reference tracking is achieved, and satisfactory transient performance can be obtained in the reference-tracking process. Corresponding experimental validations will be presented in the following sections.

5. Simulation and Experimental Results

To verify the effectiveness of the proposed control strategy, experimental verifications are performed on a 7.5-kVA transformerless grid-tied system. In the experiment, the fundamental frequency of the grid is 50 Hz, and the switching frequency of the grid-tied converter is 6 kHz. The equivalent resistor R f and the equivalent inductor L f are 0.3 Ω and 6.6 mH. The damping ratio ζ and the bandwidth ω b of dominant poles α 3 , 4 in Equation (12) are set to 0.7 and 1000 rad/s, respectively. In addition, the control gain of C 2 , ac ( z ) is set to k ac = 30 . The proportional and the integral gains of G PI ( z ) are set to k p , dc = 15 and k i , dc = 1 , respectively. The center frequency of G BSF ( z ) is set to ω c = 100 π rad/s, and the control gain is k s = 50 . The cutoff frequency of G LPF ( z ) is set to f s = 200 Hz. In the experiment, the control algorithm is implemented using the DSP TMS320F28379D, and the waveforms of grid currents are recorded by the DLM2040 oscilloscope. Voltage measurement errors are given in Table 1.
Figure 11 shows the waveforms of grid currents under voltage measurement errors. In the experiment, the conventional control structure shown in Figure 1 is firstly applied, where no additional compensation scheme is adopted for the current regulation. The corresponding experimental waveforms are shown in Figure 11a, and it can be observed that AC ripples at ω and 2 ω occur in the currents i gd and i gq simultaneously. It is worth noting that the origination of these undesired AC components in i gd and i gq is the disturbance introduced by voltage measurement errors (i.e., Δ v d , ω , Δ v q , ω , Δ v d , 2 ω , and Δ v q , 2 ω in Equation (2)). When the conventional compensation scheme based on MRSCs is implemented in the current control loop, these undesired AC ripples are partially attenuated, as shown in Figure 11b. However, due to the limited control gain together with the shifted resonant peaks caused by discretization errors, these ripples in i gd and i gq are not effectively mitigated, and the three-phase grid currents are unbalanced with DC components. Similarly, when the RC is adopted as the disturbance-mitigation controller, disturbances are not completely eliminated, and undesired components still exist in grid currents, as shown in Figure 11c. As a comparison, once the proposed dual-loop controller is applied, the currents i gd and i gq are smooth enough, and the grid currents are sinusoidal without unbalances, as indicated in Figure 11d. In particular, the DC component in grid currents is regulated to 16.7 mA which is below the limitation listed in the IEEE 929-2000.
Additionally, as analyzed in the previous sections, the coupling issue in the conventional compensation schemes will lead to distorted transient performance during the reference tracking process. To demonstrate this phenomenon, a reference step change is generated under the same experimental conditions. As shown in Figure 12a, in case that PI controllers are used without additional compensation schemes, steady-state d q -axis currents are same as the waveforms presented in Figure 11a, and no obvious distortions can be observed in the transient processes. Nevertheless, when the conventional compensation scheme based on MRSCs is applied, dynamics of the reference tracking are slowed down with oscillations, as shown in Figure 12b. Instead of MRSCs, when the plug-in RC is adopted for the disturbance mitigation, experimental results are presented in Figure 12c. It can be seen that the distorted dynamics are introduced in the reference-tracking process as well. Because frequency responses of the reference tracking are similar under these two conventional control schemes, the distortion are alike in both Figure 12b,c. In contrast, Figure 12d shows the experimental results with the proposed dual-loop controller. Obviously, the disturbances caused by voltage measurement errors are substantially attenuated with satisfactory reference-tracking performance well preserved, and the transient process is fast without any oscillation.
To evaluate the effectiveness of the proposed method under unbalanced network condition, simulations are used in this case study. As indicated in Figure 13a, when the conventional lineal controller is applied in the current control loop of grid-connected transformerless converters, DC and negative-sequence components are inevitably generated in three-phase grid currents. Correspondingly, periodic ripples at ω and 2 ω occur in the d q coordinates. It is worth noting that both positive-sequence and negative-sequence controllers can be used for the current regulation under unbalanced network condition. In this manner, ripples at 2 ω can be then suppressed in the d q coordinates, while ripples at ω will still occur in d- and q-axis currents. However, when the proposed dual-loop controller is applied under the same condition, disturbances generated by voltage measurement errors are effectively eliminated. Three-phase currents are regulated to follow the references accurately, and no obvious ripples can be observed in d- and q-axis currents, as shown in Figure 13b.
To validate the harmonic-elimination performance under different strategies, experiments are performed under distorted voltages together with voltage measurement errors, and the corresponding results are shown in Figure 14. It can be observed that the grid currents contain plenty of harmonic components when the traditional controller is adopted without additional compensation scheme. In addition, these harmonic currents can be effectively eliminated when the MRSCs, the RC, and the dual-loop controller are implemented. To further evaluate the performance of these control methods in terms of THD, the corresponding harmonic distributions of the grid currents are plotted in Figure 15.
As shown in Figure 15a, without disturbance-mitigation controllers applied, the THD of the experimental waveforms is 12.49%. In case that the MRSCs are applied for the disturbance attenuation under the same condition, the THD of the grid currents reduces to 4.66%, as demonstrated by Figure 15b. Besides, when the plug-in RC is performed to regulate the harmonic currents, the corresponding harmonic distribution is presented in Figure 15c, in which the THD is around 4.14%. Even though the THD is already below the 5% limitation demanded by the standard IEEE 1517-2003, it can further reduce to 3.52% when the proposed dual-loop controller is adopted, as shown in Figure 15d.

6. Conclusions

In practical applications, nonideal factors in sampling channels will lead to measurement errors, and the resulted voltage measurement errors will cause undesired disturbances in the current control loop of transformerless grid-tied converters. If no compensation strategy is applied to attenuate these disturbances, serious DC current injection together with grid current distortion may occur in the transformerless grid-tied systems. To deal with this problem, the existing solution is to apply conventional compensation schemes based on plug-in RC and MRSCs. However, due to the coupling between reference tracking and disturbance rejection in these compensation schemes, degraded dynamic behaviors with oscillations can be observed under step reference change. To achieve decoupling between reference tracking and disturbance rejection, a dual-loop controller is proposed in this paper, in which reference tracking is only determined by the tracking controller and disturbance rejection is realized by an embedded attenuation loop. It is demonstrated that compared with the conventional compensation strategies, DC current injection and grid current distortion caused by voltage measurement errors are effectively mitigated, while satisfactory step response without oscillations can be simultaneously guaranteed. The effectiveness of the proposed controller is validated by simulation and experimental studies under both normal operation condition and unbalanced network condition.

Author Contributions

Z.S. and Y.Y. put forward the idea and designed the simulation and the experiments; Y.Y. performed the simulation and the experiments; all authors analyzed the results; all authors contributed to the writing of the paper; all authors reviewed and edited the manuscript.

Funding

This research was funded by The National Natural Science Foundation of China (Grant No. 51877150 & 51477113).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kjaer, S.B.; Pedersen, J.K.; Blaabjerg, F. A review of single-phase grid-connected inverters for photovoltaic modules. IEEE Trans. Ind. Appl. 2005, 41, 1292–1306. [Google Scholar] [CrossRef]
  2. Gonzalez, R.; Gubia, E.; Lopez, J.; Marroyo, L. Transformerless Single-Phase Multilevel-Based Photovoltaic Inverter. IEEE Trans. Ind. Electron. 2008, 55, 2694–2702. [Google Scholar] [CrossRef]
  3. Gu, B.; Dominic, J.; Lai, J.S.; Chen, C.L.; Labella, T.; Chen, B. High Reliability and Efficiency Single-Phase Transformerless Inverter for Grid-Connected Photovoltaic Systems. IEEE Trans. Power Electron. 2013, 28, 2235–2245. [Google Scholar] [CrossRef]
  4. Kerekes, T.; Teodorescu, R.; Rodriguez, P.; Vazquez, G.; Aldabas, E. A New High-Efficiency Single-Phase Transformerless PV Inverter Topology. IEEE Trans. Ind. Electron. 2011, 58, 184–191. [Google Scholar] [CrossRef] [Green Version]
  5. IEEE Standard 1547-2003. IEEE Standard for Interconnecting Distributed Resources with Electric Power Systems; IEEE: Piscataway, NJ, USA, 2003. [Google Scholar]
  6. IEEE Standard 929-2000. IEEE Recommended Practice for Utility Interface of Photovoltaic (PV) Systems; IEEE: Piscataway, NJ, USA, 2000. [Google Scholar]
  7. Bollen, M.H. Understanding Power Quality Problems: Voltage Sags and Interruptions; Wiley: New York, NY, USA, 2001. [Google Scholar]
  8. Abeyasekera, T.; Johnson, C.M.; Atkinson, D.J.; Armstrong, M. Suppression of line voltage related distortion in current controlled grid connected inverters. IEEE Trans. Power Electron. 2005, 20, 1393–1401. [Google Scholar] [CrossRef]
  9. Xu, J.M.; Xie, S.J.; Tang, T. Improved control strategy with grid-voltage feedforward for LCL-filter-based inverter connected to weak grid. IET Power Electron. 2014, 7, 2660–2671. [Google Scholar] [CrossRef]
  10. Zhao, M.; Yuan, X.; Hu, J.; Yan, Y. Voltage Dynamics of Current Control Time-Scale in a VSC-Connected Weak Grid. IEEE Trans. Power Syst. 2016, 31, 2925–2937. [Google Scholar] [CrossRef]
  11. Wang, X.; Ruan, X.; Liu, S.; Chi, K.T. Full Feedforward of Grid Voltage for Grid-Connected Inverter with LCL Filter to Suppress Current Distortion Due to Grid Voltage Harmonics. IEEE Trans. Power Electron. 2010, 25, 3119–3127. [Google Scholar] [CrossRef]
  12. Xue, M.; Zhang, Y.; Kang, Y.; Yi, Y.; Li, S.; Liu, F. Full Feedforward of Grid Voltage for Discrete State Feedback Controlled Grid-Connected Inverter With LCL Filter. IEEE Trans. Power Electron. 2012, 27, 4234–4247. [Google Scholar] [CrossRef]
  13. Yan, Q.; Wu, X.; Yuan, X.; Geng, Y. An Improved Grid-Voltage Feedforward Strategy for High-Power Three-Phase Grid-Connected Inverters Based on the Simplified Repetitive Predictor. IEEE Trans. Power Electron. 2016, 31, 3880–3897. [Google Scholar] [CrossRef]
  14. Trinh, Q.N.; Wang, P.; Choo, F.H. An Improved Control Strategy of Three-Phase PWM Rectifiers Under Input Voltage Distortions and DC-Offset Measurement Errors. IEEE J. Emerg. Sel. Top. Power Electron. 2017, 5, 1164–1176. [Google Scholar] [CrossRef]
  15. Shi, Y.J.; Liu, B.Y.; Duan, S.X. Eliminating DC Current Injection in Current-Transformer-Sensed STATCOMs. IEEE Trans. Power Electron. 2013, 28, 3760–3767. [Google Scholar] [CrossRef]
  16. Rioual, P.; Pouliquen, H.; Louis, J.P. Regulation of a PWM rectifier in the unbalanced network state using a generalized model. IEEE Trans. Power Electron. 1996, 11, 495–502. [Google Scholar] [CrossRef]
  17. Trinh, Q.N.; Choo, F.H.; Wang, P. Control Strategy to Eliminate Impact of Voltage Measurement Errors on Grid Current Performance of Three-Phase Grid-Connected Inverters. IEEE Trans. Ind. Electron. 2017, 64, 7508–7519. [Google Scholar] [CrossRef]
  18. Trinh, Q.N.; Wang, P.; Yi, T.; Choo, F.H. Mitigation of DC and Harmonic Currents Generated by Voltage Measurement Errors and Grid Voltage Distortions in Transformerless Grid-Connected Inverters. IEEE Trans. Energy Convers. 2018, 33, 801–813. [Google Scholar] [CrossRef]
  19. Trinh, Q.N.; Wang, P.; Tang, Y.; Koh, L.H.; Choo, F.H. Compensation of DC Offset and Scaling Errors in Voltage and Current Measurements of Three-Phase AC/DC Converters. IEEE Trans. Power Electron. 2018, 33, 5401–5414. [Google Scholar] [CrossRef]
  20. Zhou, K.; Yang, Y.; Blaabjerg, F.; Wang, D. Optimal Selective Harmonic Control for Power Harmonics Mitigation. IEEE Trans. Ind. Electron. 2015, 62, 1220–1230. [Google Scholar] [CrossRef] [Green Version]
  21. Ghaffarzadeh, H.; Stone, C.; Mehrizi-Sani, A. Predictive Set Point Modulation to Mitigate Transients in Lightly Damped Balanced and Unbalanced Systems. IEEE Trans. Power Syst. 2017, 32, 1041–1049. [Google Scholar]
  22. Arif, J.; Ray, S.; Chaudhuri, B. Multivariable Self-Tuning Feedback Linearization Controller for Power Oscillation Damping. IEEE Trans. Control Syst. Technol. 2014, 22, 1519–1526. [Google Scholar] [CrossRef] [Green Version]
  23. Shabestari, P.M.; Ziaeinejad, S.; Mehrizi-Sani, A. Reachability analysis for a grid-connected voltage-sourced converter (VSC). In Proceedings of the 2018 IEEE Applied Power Electronics Conference and Exposition (APEC), San Antonio, TX, USA, 4–8 March 2018; pp. 2349–2354. [Google Scholar]
  24. Franklin, G.F.; Powell, J.D.; Workman, M.L. Digital Control of Dynamic Systems; Addison-Wesley: Menlo Park, CA, USA, 1997. [Google Scholar]
Figure 1. The classical control scheme of the transformerless three-phase grid-tied converter.
Figure 1. The classical control scheme of the transformerless three-phase grid-tied converter.
Energies 12 00903 g001
Figure 2. Compensation scheme (a) Traditional compensation scheme based on the plug-in RC (b) Traditional compensation scheme based on the MRSCs.
Figure 2. Compensation scheme (a) Traditional compensation scheme based on the plug-in RC (b) Traditional compensation scheme based on the MRSCs.
Energies 12 00903 g002
Figure 3. The proposed closed-loop control against voltages measurement errors.
Figure 3. The proposed closed-loop control against voltages measurement errors.
Energies 12 00903 g003
Figure 4. Structure of the reference-tracking controller C 1 ( z ) .
Figure 4. Structure of the reference-tracking controller C 1 ( z ) .
Energies 12 00903 g004
Figure 5. Scheme of the disturbance-mitigation controller C 2 ( z ) .
Figure 5. Scheme of the disturbance-mitigation controller C 2 ( z ) .
Energies 12 00903 g005
Figure 6. Frequency response of C 2 , ac ( z ) with k ac = 1 .
Figure 6. Frequency response of C 2 , ac ( z ) with k ac = 1 .
Energies 12 00903 g006
Figure 7. Frequency response of G BSF ( z ) with different values of k s .
Figure 7. Frequency response of G BSF ( z ) with different values of k s .
Energies 12 00903 g007
Figure 8. Frequency responses of different transfer functions used in parameter tuning. (a) The transfer function [ 1 + C 2 , ac ( z ) P ( z ) ] 1 ; (b) The transfer function C 2 , dc ( z ) ; (c) The transfer function Z 2 ( z ) and Z 1 ( z ) Z 2 ( z ) .
Figure 8. Frequency responses of different transfer functions used in parameter tuning. (a) The transfer function [ 1 + C 2 , ac ( z ) P ( z ) ] 1 ; (b) The transfer function C 2 , dc ( z ) ; (c) The transfer function Z 2 ( z ) and Z 1 ( z ) Z 2 ( z ) .
Energies 12 00903 g008
Figure 9. Frequency response of the reference tracking performance. (a) The proposed dual-loop controller and the controller containing the plug-in RC; (b) The proposed dual-loop controller and the controller containing MRSCs.
Figure 9. Frequency response of the reference tracking performance. (a) The proposed dual-loop controller and the controller containing the plug-in RC; (b) The proposed dual-loop controller and the controller containing MRSCs.
Energies 12 00903 g009
Figure 10. Frequency response of the ideal RC.
Figure 10. Frequency response of the ideal RC.
Energies 12 00903 g010
Figure 11. Experimental results under voltage measurement errors: (a) Traditional controllers without additional compensation schemes; (b) The conventional compensation scheme based on MRSCs; (c) The conventional compensation scheme based on the plug-in RC; (d) The proposed dual-loop controller.
Figure 11. Experimental results under voltage measurement errors: (a) Traditional controllers without additional compensation schemes; (b) The conventional compensation scheme based on MRSCs; (c) The conventional compensation scheme based on the plug-in RC; (d) The proposed dual-loop controller.
Energies 12 00903 g011
Figure 12. Experimental step responses of the reference tracking under voltage measurement errors: (a) Traditional controllers without additional compensation schemes; (b) The conventional compensation scheme based on MRSCs; (c) The conventional compensation scheme based on the plug-in RC; (d) The proposed dual-loop controller.
Figure 12. Experimental step responses of the reference tracking under voltage measurement errors: (a) Traditional controllers without additional compensation schemes; (b) The conventional compensation scheme based on MRSCs; (c) The conventional compensation scheme based on the plug-in RC; (d) The proposed dual-loop controller.
Energies 12 00903 g012
Figure 13. Simulated results under unbalanced network condition: (a) Traditional controllers without additional compensation schemes; (b) The proposed dual-loop controller.
Figure 13. Simulated results under unbalanced network condition: (a) Traditional controllers without additional compensation schemes; (b) The proposed dual-loop controller.
Energies 12 00903 g013
Figure 14. Grid currents under distorted voltages and voltage measurement errors: (a) Traditional controllers without additional compensation schemes (above) and the conventional compensation scheme based on MRSCs (bottom); (b) The conventional compensation scheme based on the plug-in RC (above) and the proposed dual-loop controller(bottom).
Figure 14. Grid currents under distorted voltages and voltage measurement errors: (a) Traditional controllers without additional compensation schemes (above) and the conventional compensation scheme based on MRSCs (bottom); (b) The conventional compensation scheme based on the plug-in RC (above) and the proposed dual-loop controller(bottom).
Energies 12 00903 g014
Figure 15. Harmonic distributions of the grid currents: (a) Traditional controllers without additional compensation schemes; (b) The conventional compensation scheme based on MRSCs; (c) The conventional compensation scheme based on the plug-in RC; (d) The proposed dual-loop controller.
Figure 15. Harmonic distributions of the grid currents: (a) Traditional controllers without additional compensation schemes; (b) The conventional compensation scheme based on MRSCs; (c) The conventional compensation scheme based on the plug-in RC; (d) The proposed dual-loop controller.
Energies 12 00903 g015
Table 1. Errors in grid-voltage measurement.
Table 1. Errors in grid-voltage measurement.
Phase aPhase bPhase c
Offset1.2 V2.67 V0.33 V
Scaling error0.132−0.0230.087

Share and Cite

MDPI and ACS Style

Song, Z.; Yu, Y. Dual-Loop-Based Current Controller for Transformerless Grid-Tied Converters with Improved Disturbance Attenuation against Voltage Measurement Errors. Energies 2019, 12, 903. https://doi.org/10.3390/en12050903

AMA Style

Song Z, Yu Y. Dual-Loop-Based Current Controller for Transformerless Grid-Tied Converters with Improved Disturbance Attenuation against Voltage Measurement Errors. Energies. 2019; 12(5):903. https://doi.org/10.3390/en12050903

Chicago/Turabian Style

Song, Zhanfeng, and Yun Yu. 2019. "Dual-Loop-Based Current Controller for Transformerless Grid-Tied Converters with Improved Disturbance Attenuation against Voltage Measurement Errors" Energies 12, no. 5: 903. https://doi.org/10.3390/en12050903

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