This paper deals with the control of distribution energy resource (DER) connected to a grid connected system feeding nonlinear loads. The DER is controlled to provide power quality improvement capabilities, namely, power factor correction, harmonic reduction, and load balancing. The developed controller is based on modification of synchronous reference theory. It possesses unique features such as filtration and fundamental voltage extraction from the polluted grid voltages to eliminate harmonics and unbalance. Additionally, the control is implemented over the square of DC link voltage. The distributed generation source is realized as a voltage source converter. Both simulation and experimental results prove the effectiveness of control algorithm with nonlinear loads. The control algorithm works well for power factor correction, harmonic reduction, and operation under unbalanced load condition. The dynamics of the system under load change and load unbalancing are well depicted.
1. Introduction
A number of benefits of renewable energy resources exist, namely, high reliability, modular in nature, and environment friendly operation. These advantages have ensured increased acceptance of distributed resources in the world [1–12]. The renewable energy sources (wind, solar, etc.) are currently being interfaced to the conventional systems using voltage source inverters (VSCs) [2–4]. There are several advantages of distributed resources over conventional sources so a high emphasis is nowadays paid to renewable energy sources (RES) and their interconnection to grid. These sources are connected at the low or medium voltage levels. A primary energy source generally in the form of wind energy, photovoltaic cell, fuel cell, battery, and so forth is connected at the primary of the converter which converts this power and supplies it to the load in islanded mode. A number of such voltage source converters may be connected in parallel and to the utility grid also. Control of such distributed energy sources [5–13] is an important control aspect.
Very recently the concept of multifunctional distributed generators has been introduced which is controlled to provide two equally important tasks of providing power delivery as well as power quality improvement. Active power filters [1, 12, 14] provide reactive power compensation and power quality improvement only. The concept is to flexibly control the distributed generator resource as a source and extract maximum power from it and also provide compensation current from it. Lately, power converters in both voltage and current control mode [7, 8] have been used for utility interface for distributed generation sources. These converters are mainly interfaced with L or higher order LC/LCL filters [9–11]. Repetitive control, hysteresis regulation, and predictive control are frequently used and multiloop feedback control with LC/LCL filters is gaining popularity [4–11]. However, several points of concern relate to LCL filters, namely, the selection of the outer and inner control variables for improving system stability, avoiding resonance condition, and studying the effect on system performance under parameter variation. Figure 1 shows a number of distributed generation sources connected to the utility grid.
A number of distributed generation sources connected to utility grid.
2. System Description
The diagram shows the distributed energy source feeding variety of loads (linear/nonlinear) in grid connected mode. A three-leg insulated gate bipolar transistors (IGBTs) based VSC is used and controlled as DStatcom. It is connected to the point of common coupling (PCC) through a set of interfacing inductors (R, L).
The implemented system requires VSC, interfacing inductors, scaling circuits for sensing the input signals, and driver circuit for output signals. Active power transfer flow can also take place by placing an active source (battery or renewable energy source) at DC link. Three Hall-effect current sensors (LEM LA 25-NP) are used to sense load currents for phases “A,” “B,” and “C.” To sense the source currents for phases “A” and “B,” another set of Hall-effect current sensors (LEM LA 25-NP) are used. The third phase source current is estimated by considering that the algebraic sum of three-phase source currents is zero. Two voltage sensors (LV 25-P) are used to sense phases “A” and “B” voltages. The third phase voltage is estimated considering the algebraic sum of three-phase source voltages is zero. The DC link voltage is sensed using the voltage sensor LV 25P/SP5. Scaling circuits are designed to use in between the sensed signals and ADC (analog to digital converter) of DSP to have a zero offset with the sensed signals. The control algorithm is realized in MATLAB environment with real time blocks. Hex codes are loaded in the DSP-dSPACE 1104 to generate six switching signals for IGBTs through PWM (pulse width modulation) pins of a DSP. A Semikron three-phase VSC (model MD B6CI 800/415-35F) with six IGBT based switches is used for experiments. Table 2 lists the parameters of the system used for simulation as well as experiments.
3. Mathematical Model
For the system configuration shown in Figure 2, vta, vtb, and vtc denote the terminal voltages at the PCC and vsa, vsb, and vsc are the voltages at the three-phase ac source (grid); then the following differential equations can be written:
(1)vsa=vta-Rsisa-Lsdisadt,vsb=vtb-Rsisb-Lsdisbdt,vsc=vtc-Rsisc-Ldiscdt.
The equations relating the inverter voltages with the PCC voltages are written as
(2)vta=vinva-Riinva-Ldiinvadt,vtb=vinvb-Riinvb-Ldiinvbdt,vtc=vinvc-Riinvc-Ldiinvcdt,
where R, L denote the interfacing resistor and inductor values and iinva, iinvb, and iinvc and vinva, vinvb, and vinvc denote the inverter currents and voltages in three phases. At the DC link (3) is valid:
(3)Cdvdcdt=idc.
The equations shown above can be depicted in the form of a single closed loop control for the control of grid current (is) as shown in Figure 3.
Schematic diagram of utility grid and distributed energy source feeding loads.
Simplified closed loop analysis of the system.
The PWM inverter is represented as Kinv/(1+sTinv); R and L represent the interfacing resistance and inductance, respectively. For further simplification Tinv=0.
The current controller is represented in the form of PI controller with transfer function:
(4)Gc(s)=Kp+(Kis).
The closed loop transfer function is derived to be
(5)isis*=Kinv(Kps+Ki)s2L+s(R+KinvKp)+KinvKi.
Comparing with the standard closed loop transfer function, we get
(6)isis*=wn2s2+2sζwn+wn2.
The values of damping ratio ζ and angular frequency wn are found to be influenced by parameters Kp, Ki, and Kinv and parameters R and L. The desired damping ratio is obtained by varying the gain constants.
4. Control Algorithm
The control algorithm used for the control of distributed generation source in this paper is based on modified synchronous reference frame theory. The synchronisation is achieved by deriving unit templates from the supply grid. Since, it is observed that the supply voltages have harmonics and are unbalanced, hence, the use of filters and extraction of fundamental voltage component of the three phases are undertaken as a preliminary step. These filtered supply voltages are used as PCC voltages for the generation of reference current generation as is discussed below. Figure 4 shows the control algorithm developed using synchronous reference frame (SRF) theory. A noticeable difference is that the control is developed over the square of DC link voltage. Although the DC link voltage is sensed, the PI controller is developed over the error between the actual and reference value of square of DC link voltage. The SRF based controller utilizes the abc-dq transformation (Park’s transformation) to transform the current and voltage waveforms into a reference frame that rotates synchronously with the grid voltage.
Complete control scheme for the system.
Filtered fundamental PCC voltages (vsaf, vsbf, and vscf) are obtained by filtering voltages (vsa, vsb, and vsc) through band pass filters, whose cutoff frequency is between 30 Hz and 60 Hz. The symmetrical component method developed by Akagi et al. [1] is used to obtain fundamental voltage components (vsa1, vsb1, and vsc1) from the filtered voltages as below:
(7)vsa1=13(vsaf+λvsbf+λ2vscf),vsb1=13(vsbf+λavscf+λ2vsaf),vsc1=13(vscf+λvsaf+λ2vsbf),
where λ=ej120=-0.5+0.866j and λ2=ej240=-0.5-0.866j.
The amplitude of the PCC voltage is now obtained using
(8)Vtm={23(vsa12+vsb12+vsc12)}1/2.
The unit in-phase vectors (ua, ub, and uc) are calculated as
(9)ua=vsa1Vtm,ub=vsb1Vtm,uc=vsc1Vtm.
The quadrature unit current vectors (wa, wb, and wc) are derived from in-phase unit current (ua, ub, and uc) vectors as
(10)wa=(-ub+uc){(3)1/2},wb=(ua(3)1/2+(ub-uc)){2(3)1/2},wc=(-ua(3)1/2+(ub-uc)){2(3)1/2}.
The basic SRF theory involves the transformation of currents in synchronously rotating d-q frame. It uses the PLL block to evaluate θ and transformation angle to convert currents from αβ to dq frame:
(11)iα=ila(23)cosθ-ilb(16)-ilc(16),iβ=ilb(12)-ilc(12),id=iαcosθ+iβsinθ,iq=-iαsinθ+iβcosθ.
Instead of the PLL block, the unit templates obtained from filtered PCC voltages are used to estimate id, iq values of load currents. The obtained id and iq currents are now passed over low pass filter (LPF) to extract the dc components iddc and iqdc. A PI controller is realised over the square of DC link voltage to regulate it to its reference value:
(12)id(n)=id(n-1)+Kpd{vdc12(n)-vdc12(n-1)}+Kidvdc1(n),
where vdc1(n)=vdcref2(n)-vdc2(n) denotes the error in square of DC link voltage calculated over reference and sensed value obtained from the voltage sensor. Kpd and Kid are the proportional and integral gains of the PI controller. The output of PI controller accounts for the losses of VSC and this component is added to the iddc for power factor correction.
Once the reference d, q components of currents are obtained, the three-phase reference supply currents (isar, isbr, and iscr) can be obtained. These reference supply currents are compared with the sensed supply currents (isa, isb, and isc) to estimate the three-phase current error components. The current errors are passed over carrier-less PWM controller to generate gating signals for the six IGBTs (insulated gate bipolar transistors) of VSC. The control scheme is direct and based on supply (grid) currents instead of the inverter currents in the three phases.
5. Performance and Results
A MATLAB based model of distributed energy resource is developed and tested under distorted and unbalanced voltage of ac mains to validate the proposed control algorithm. The performance of modified synchronous detection control algorithm in time domain is simulated and analyzed using a three-leg VSC configuration with nonlinear loads. Simulations as well as experimental results are presented for two cases, namely, power factor correction and load balancing along with power factor correction.
5.1. Power Factor Correction and Load Change
Figure 5 shows the simulated results showing the filtered PCC voltage (vt), supply currents (is), load currents (il), currents (ic) injected by DStatcom, and DC link voltage (vdc). The results are obtained with a nonlinear load of Rl=30 Ω connected at the end of diode rectifier. Load is varied to Rl=50 Ω for time duration from t=0.2 sec to t=0.28 sec. The dynamics of the currents and DC link are evident from Figure 5 and it is observed that the DC link voltage settles down to a reference value of 200 V in less than two cycles. The THD of the supply currents is 4.3% when the load currents have a THD of 28%.
Simulated results for power factor correction in steady state as well as load removal (t=0.2 sec) and addition (t=0.28 sec).
5.2. Power Factor Correction under Unbalanced Load Operation
Figure 6 shows the simulated results for the system under steady state conditions till t=0.2 sec when phase “c” of the load is suddenly disconnected from t=0.2 sec to t=0.28 sec. The simulated results show that the control algorithm not only maintains the DC link voltage but also the grid currents are balanced and sinusoidal during this interval. The distributed energy source works as a shunt compensator and injects compensating currents of higher magnitude now and this can be observed from the simulation results. The normal balanced loads with Rl=30 Ω and L=60 mH are restored at t=0.28 sec. The THD of the supply currents is 4.4% when the load currents have a THD of 29%.
Simulated results for power factor correction and load balancing in steady state as well as one phase load removal (t=0.2 sec) and restoration (t=0.28 sec).
6. Experimental Results for Proposed Scheme
The experimental results for the same system configuration (shown in Table 2) and load are shown in Figures 7 and 8. Figure 7(a) shows the waveforms of phase “a” supply current, load current, compensator current, and Dc link voltage in steady state.
(a) Plot of isa, ila, ica, Vdc (10 A/div, 5 A/div, 5 A/div for the currents). (b) Plot of ila, ilb, ilc, Vdc (5 A/div, 5 A/div, 5 A/div for the currents) for load decrease. (c) Plot of ila, ilb, ilc, Vdc (5 A/div, 5 A/div, 5 A/div for the currents) for load increase.
Figures 7(b) and 7(c) show the dynamics of load decrease and load increase, respectively. Figure 8(a) shows the Power Analyser 434 (Fluke) waveforms and THD of the supply current which is 4.4%. The unfiltered PCC voltages are depicted in Figure 8(b) that show a THD of 2.8% and the magnitudes are also slightly different. It is due to this reason only that filtered, positive sequence voltage components are first extracted and then used for further analysis and reference current generation.
Experimental verification for power factor correction and load unbalancing are presented next in Figure 9. The load current in phase “c” is suddenly disconnected and this is evident from the plot Figure 9(b) for ilc. Figure 9(c) shows the variation of grid supply currents in all the three phases before and after the instant of unbalancing.
(a) Load current s (5 A/div) and vsa. (b) Supply voltages (5 A/div) and vsa. (c) Inverter currents (5 A/div) and vsa. (d) Source, load, inverter currents (5 A/div), and DC link voltage.
Figure 9(c) shows the variation of compensator currents in all the three phases before and after load in phase “c” is disconnected for some time. It is observed from Figures 9(a)–9(c) that the distributed source is controlled to provide necessary compensation currents during unbalanced load conditions. The DER acts as a shunt compensator and regulates the grid currents to be equal, balanced, and sinusoidal even when one phase of load is switched off. It provides large compensation currents in all the three phases during the interval. Also, it is observed from Figure 9(d) that the DC link settles down to its reference value of 200 V quite rapidly.
7. Result Comparison
Conventional SRF scheme has a few drawbacks; namely, it cannot be used to obtain optimum results under unbalanced grid supply voltages. The voltage signals are processed by the PLL to generate θ. This transformation angle (θ) is sensitive to voltage harmonics and unbalances. Hence, filtered PCC voltages are used in the modified control algorithm for reference current generation. If the unfiltered voltages are used in control algorithm, the reference supply currents generated would themselves be nonsinusoidal and it would be difficult to achieve three-phase sinusoidal, balanced supply currents. The use of positive, negative, and zero sequence components has been used in this paper, which is simple and effective method for extraction.
The processing of current signals in both the schemes is similar. These are transformed into d-q frame and then filtered. Then, compensating current is transformed back to a-b-c frame and fed to hysteresis current controller for switching pulse generation. The results obtained show that under normal operating conditions, both the control strategies are suitable for compensation, but under the distorted supply conditions and unbalanced operating condition, the performance of the conventional scheme deteriorates. The experimental results for the conventional scheme are shown in Figure 10.
(a, b) vsa and load current (ila) (5 A/div) and its THD 23.5%. (c, d) vsa and supply current (isa) (5 A/div) and its THD 4.8%. (e) vsa and compensator current (ica) (5 A/div). (f) THD 3.6% in the grid voltage.
Figure 10 shows the results with conventional SRF scheme. It is evident that the supply voltages have a high THD level of 3.6% (Figure 10(f)). With the controller realised on vdc and the gains optimised, the performance of the shunt compensator is observed. The load current has a high THD content of 23.5%, the controller injects compensating currents to make the supply current sinusoidal. Under the optimised PI gains, the lowest THD observed in supply currents is of the order of 4.8%. This is higher than the THD level of 4.4% observed with the vdc2 controller and the modified SRF theory. Figures 11 and 12 show the waveforms and THD for isa, ila with modified SRF theory, and conventional SRF theory, respectively. Figures 11 and 12 show the simulation results with both the schemes and Table 1 highlights the comparison between the two schemes.
Comparison of Control schemes.
Parameters (Kp, Ki)
Overshoot (V)
Undershoot (V)
Settling Time (sec)
THD
Conventional SRF
0.35, 0.1
~3 V
~2 V
<2 cycles
4.9% approx
Modified SRF
0.00028, 0.00034
~4 V
~3 V
<2 cycles
4.5% approx
System parameters (Both Simulation and Experimental).
Parameters
Value
Grid voltage E (RMS)
63.5 V
DC-link voltage Vdc
200 V
DC link capacitor Cdc
1600 μF
Inverter-side filter L
3.5 mH
Filter capacitor Cf
3 μF
Rectifier resistor Rl
30 Ω
Load Inductor Ll
60 mH
Sampling frequency fs
10 kHz
Waveforms and THD for isa and ila for modified SRF theory.
Waveforms and THD for isa and ila for conventional SRF theory.
Comparison results are highlighted in Table 1.
8. Conclusions
This paper discusses and implements a control algorithm based on modification of synchronous reference frame theory for interfacing a distributed energy source to grid. The control algorithm is investigated to inject only reactive power and relieve the grid from supplying it. The control scheme is modified to include fundamental voltage component of the PCC voltage which is having harmonics, and unbalancing of up-to 5%. A single closed loop control for the system is investigated for control of grid currents. The control is developed and experimentally tested on vdc2 rather than the usual control on vdc alone. Two benefits, namely, lower possible reduction in THD level and lower range of PI controller gain settings, were observed with this control. Simulation results and experimental results for the prototype system are obtained for power factor correction, load unbalancing, and reduction of THD in grid currents. The experimental results obtained are very close to the simulation results. The proposed control scheme is able to achieve a THD of 4.4% in grid currents when the load current is 28.7%, thus meeting IEEE 519 standards. The distribution shunt compensator has been utilized to provide reactive power compensation only, though real power injection into the system is also possible with an active source at the DC link.
Conflict of Interests
The author declares that there is no conflict of interests regarding the publication of this paper.
Acknowledgment
The author wishes to thank the Department of Science and Technology, Government of India, for the sponsored Project no. SR/FTP/ETA-20/2010.
AkagiH.WatanabeE. H.AredesM.2007IEEE Press, Wiley InterScienceBlaabjergF.ChenZ.KjaerS. B.Power electronics as efficient interface in dispersed power generation systems20041951184119410.1109/TPEL.2004.8334532-s2.0-4544257662DuffeyC. K.StratfordR. P.Update of harmonic standard IEEE-519: IEEE recommended practices and requirements for harmonic control in electric power systems19892561025103410.1109/28.442382-s2.0-0024770113TeodorescuR.LiserreM.RodríguezP.2011New York, NY, USAJohn Wiley & SonsBlaabjergF.TeodorescuR.LiserreM.TimbusA. V.Overview of control and grid synchronization for distributed power generation systems20065351398140910.1109/TIE.2006.8819972-s2.0-33750109723ChungI.LiuW.CartesD. A.CollinsE. G.Control methods of inverter-interfaced distributed generators in a microgrid system20104631078108810.1109/TIA.2010.20449702-s2.0-77952682026HeJ.LiY. W.MunirM. S.A flexible harmonic control approach through voltage-controlled DG-grid interfacing converters201259144445510.1109/TIE.2011.21410982-s2.0-80053629400HeJ.LiY. W.Hybrid voltage and current control approach for dg-grid interfacing converters with LCL filters20136051797180910.1109/TIE.2012.21903742-s2.0-84873350902LohP. C.HolmesD. G.Analysis of multiloop control strategies for LC/CL/LCL-filtered voltage-source and current-source inverters20054126446542-s2.0-1764436751610.1109/TIA.2005.844860HeJ.LiY. W.Generalized closed-loop control schemes with embedded virtual impedances for voltage source converters with LC or LCL filters20122741850186110.1109/TPEL.2011.21684272-s2.0-84863119130HeN.XuD.ZhuY.ZhangJ.ShenG.ZhangY.MaJ.LiuC.Weighted average current control in a three-phase grid inverter with an LCL filter20132862785279710.1109/TPEL.2012.2219322LiY.VilathgamuwaD. M.LohP. C.Microgrid power quality enhancement using a three-phase four-wire grid-interfacing compensator20054161707171910.1109/TIA.2005.8582622-s2.0-29244439060ZmoodD. N.HolmesD. G.Stationary frame current regulation of PWM inverters with zero steady-state error200318381482210.1109/TPEL.2003.8108522-s2.0-0038292050ChandraA.SinghB.SinghB. N.Al-HaddadK.An improved control algorithm of shunt active filter for voltage regulation, harmonic elimination, power-factor correction, and balancing of nonlinear loads200015349550710.1109/63.8445102-s2.0-0033719063