Elektrotehniški vestnik 80(5): 271-276, 2013 Original Scientific Paper An intelligent control for three-phase and four-wire active power filter Junsheng Jiao School of Electronic Engineering, Tongling University, Tongling City, Anhui Province, China, 244061 E-mail: jiaotlu@sina. com Abstract. The paper presents a compensating system for the harmonics and the reactive power using active power filter in three-phase and four-wire systems. The conventional active power filters have been designed based on the p-q theory. However, these types of the filter can only compensate for the reactive power for the load and the detection result is not accurate if the three-phase voltage is distorted. To overcome this deficiency, a novel ip-iq algorithm based on the p-q theory is proposed for the control strategy of the active filter. The obtained simulation results show that by using the proposed control strategy, the total harmonics distortion in Matlab/ Simulink can be minimized. Keywords: Active power filter, Harmonics control, Instantaneous reactive power theory, Reactive power compensation, Three-phase and four-wire systems. Inteligentni nadzor za tri-fazni, štiri-žični aktivni močnostni filter V članku je predstavljen kompenzacijski sistem za višje harmonske komponente in jalovo energijo z uporabo aktivnega močnostnega filtra v tri-faznem in štiri-žičnem sistemu. Klasični aktivni močnostni filtri so zasnovani na osnovi teorije p-q. Takšna sita lahko kompenzirajo jalovo energijo le na bremenu in tudi kakovost kompenzacije je slabša v primeru popačenja zaradi višjeharmonskih komponent. V članku predlagamo algoritem ip-iq za nadzor aktivnega močnostnega filtra. Rezultati, dobljeni v simulacijskem okolju Matlab/Simulink, potrjujejo, da je s predlagano metodo nadzora možno zmanjšati popačenje zaradi višjeharmonskih komponent. 1 Introduction The harmonic problem and power quality have become serious concerns due to the increasing of nonlinear loads in many power electronic equipments. The conventional approach for reactive and harmonic current compensation in power systems is to install shunt-connected switched capacitor banks. Passive LC branches tuned at harmonic frequencies can be added for additional harmonic compensation [1]. The problems associated with the application of switched capacitors are: they act slowly, taking many cycles to react; the mechanical action makes them prone to mechanical failure; and the switching action can cause over voltage transients in the system [2]. Using active power filter (APF) in place of the switched capacitors and LC filters can address these problems. APF is considered to be an effective and practical solution. Its dynamical characteristics overcome the previous drawbacks of the passive filters. When being connected in parallel with a power system, APF acts as a controlled harmonic current source, injecting simultaneously suitable currents into the power system to eliminate the harmonic content caused by nonlinear loads and to obtain a unity input power factor. Fig. 1 depicts an active power filter that implements PWM voltage-source converter connected in parallel with three-phase and four-wire nonlinear loads using a control method that based on instantaneous representative active power equality [3]. This active power filter will inject undesired currents to make the source currents nearly sinusoidal [4]. Application of this active power filter in three-phase and four-wire system will reduce the neutral current. Most of active power filters control methods are based on extraction of harmonic components by using the imaginary p-q theory proposed by Akagi due to its advantages and superiority [5]. The p-q theory has been used very successfully to design and control of the APF for three-phase systems. This theory was extended by Aredes [6], for applications in three-phase and four-wire systems. The p-q theory was mostly applied to calculate the compensating currents assuming ideal mains voltages. However, the drawbacks of the theory are: It can not compensate the harmonic current component when the mains voltages are distorted [7-8]. In order to solve the problems of conventional p-q theory, a new ip-iq (current of instantaneous real power and current of instantaneous imaginary power) algorithm is proposed for active power filter. Non-Linear Load r©~ Ub . RS Ls 21 H A —VW^nnrLj— RS ->—VW— ic rs lS —»■—VVV—'nrYYX- 2\ Zi A APF Control Circuit r La —VW- VVV-7-WVl4 ^ ^ ^ -<3 - _ v3 1 1 " 2 2 JFa >/3 lFfi 2 2 _ In the detection circuit of three-phase harmonic current, assuming instantaneous current of each phase: 'an (0 = V2/+ „ sin(nat + <+ n ) + >¡21 sin(nat + <_n ) hn(t) = V2l+ n sin [nat + < n - (2^/3)] + ?sin [nat + <_n + (2^/3)] icn (t ) = V2I+ n sin [nat + < n + (2«73)] + -JlI ?sin[nat + <_n - (2^/3)] (8) (9) (10) The single DC component of the real and imaginary power is therefore selected as compensation power reference for harmonic and reactive power compensation. The compensation current references in a-P coordinates are calculated by Eq.6. (6) where n indicates the harmonic order; I+n is the virtual value of positive-sequence; I-n is the virtual value negative sequence. Applying the Clarke transformation yields the following currents: 'a = V3 I+ n sin(nat + <+n ) + I-n sin(nat + <_n ) -I+ cos(nat + <+n ) +1 cos(nat + <-n ) (11) = C £3 I+ „ cos[(n - 1)at +<+„ ] - I-n cos[(n - 1)at + <-„ ] -I+ „ sin[(n - 1)at + <+ n ] - I-n sin[(n - 1)at + < ] (12) where C = sinat -cosat -cosat -sinat The DC component of instantaneous reactive and active current can be obtained through a low pass filter (LPF). 3 lp-lq ALGORITHM When the three-phase voltage is distorted, according to p-q method, the detection result is not accurate. Because the measures of the p-q must satisfy that ua, ub, uc participate harmonic current detection operation, the desired Ua, Ub, Uc voltage which it should be no distortion of the sine wave, which will bring the error detection for the harmonic distortion of the current waveform. The compensated phase current value must contain harmonic voltage distortion components. = V3I+ cos<+1 sin <+1 (13) I+1 is the virtual value of fundamental wave current. i and i is fundamental positive sequence component p q of ia, ib, ic. So, it can get three-phase current fundamental positive sequence component. --C C = V2i+ sin(at+< ) sin(at+< -2^/3) sin(at+< +2^/3) (14) PLL Sin & Cos Generatior —► C C32 —► Ca LPF i l LPF j P C:1 r a : V + ->-lah ->■ lbh ch v L a q P P q Figure 3. Control circuit using p-q theory where c23 ^3 1 0 " -1/2 V3/2 :1/2 ->/3/2 The three-phase current signals minus fundamental positive sequence current component. We can get the harmonics and negative sequence current signal of iah, ibh, ich. In three-phase four-wire circuit, ia, ib and ic contain zero-sequence component and they contain zero sequence component is equal value. • + 'b + 'c (15) lo = 3 Current signal (i' , i , i ) which contains only positive and negative sequence components will be achieved if zero-sequence component in each phase current can be removed. It can still be applied ip-iq method for testing three-phase and four-wire circuit. l = l : in a a 0 lb = lb l0 (16) (17) frequency and ® is a generic phase angle guaranteeing that the generated sin(rat+®) is in phase with the a phase voltage. 4 Simulation results To verify the analysis, Simulation is conducted using Matlab/Simulink to evaluate the load harmonic cancellation performance of the proposed active power filter based on Fig.1 and Fig.3. The simulations use main currents which contain distortion to show the capability of the ip-iq based the control method in doing compensation. Parameters used in the simulation are shown in Table 1. Table 1. Main parameters of the simulation system voltage=220V source R=0.08ûhm Ls=0.2mH APF La=Lb=Lc=5mH f=10kHz load R=0.06ûhm L=0.3mH lb= L : la (18) Fig.3 shows a block diagram of the proposed control circuit capable of improving the system stability. The control circuit extracts the fundamental components from detected supply currents by using the p-q method and inverse transformations as follows. The DC components of ip and iq, are extracted from ip and iq by two first-order and low-pass filters (LPF). The phase-locked-loop (PLL) circuit generates together with the "sin and cos generator" two signals equal to sin(rat) and cos(rat), where ra is the line angular Simulation of without compensation and with compensation under proposed control topologies are carried out. As an example of current for phase 'a', Fig.4 to Fig.5, represent simulation results of currents without APF. Fig.4 shows that the waveform is observed to be non-sinusoidal. It represents the behavior of the three-phase and four-wire system source currents, which are highly distorted. Fig.5 shows the harmonic order of current for Phase 'a' and the THD (total harmonic distortion) is observed to be equal to 37.26 %. T H D = 4 . 1 2 % M M\ \r \j VÏ i A/ w W N A/ 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 time(s) Figure 4. Current before the active power filter THD=37.26% llnl i.ii-i.- Harmonic order 0 5 10 15 20 25 30 35 Harmonic order Figure 7. Harmonic spectrum after the active power filter 5 Conclusion The performance of a control strategy based on the /p-/q theory has been studied and this control method be implemented in three-phase and four-wire system. It is capable to operate under non-ideal main voltages with keeping force the source phase currents be sinusoidal without using source voltage sensing. It is clear from the simulation results that the compensation process for the control strategy has a better transient response. Acknowledgements The work is supported by State Key Lab. of Advanced Metallurgy in China (No. GZYKF201306). 50 00 50 0 70 60 50 = 40 30 20 10 Figure 5. Harmonic spectrum before the active power filter In Fig.6 and Fig.7, it is observed that the current are very close to sinusoidal as compared to the results obtained before the active power filter. THD decreases from 37.26% to 4.12%. It is proved to be less than the IEEE-519 standards, which also shows that the ip-iq control technique is successfully compensated. 4 0 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 time(s) Figure 6. Current after the active power filter REFERENCES [1] Chu. R. F, Wang. J and Chiang. H, "Strategic Planning of LC Compensators in Nonsinusoidal Distribution Systems", IEEE Transactions on Power Delivery, 9(3), pp. 1558-1563, 1994. [2] Kolcio. N, Halladas. J. A, Allen. G. D and Fromholts. E. N, "Transient Overvoltages and Overcurrents on 12.47 kV Distribution Lines: Field Test Results", IEEE Transactions on Power Delivery, 7(3), pp. 1359-1370, 1992. [3] Odavic. M, Biagini. V, Zanchetta. P and Sumner. M, "One-sample-period-ahead Predictive Current Control for Highperformance Active Shunt Power Filters", IETPower Electronics, 4(4), pp. 414-423, 2011. [4] Abdalla. I. I, Rao. K. S. R and Perumal. N, "Three-phase Four-Leg Shunt Active Power Filter to Compensate Harmonics and Reactive Power", Proc. IEEE Symposium on Computers & Informatics, pp. 495-500, 2011. [5] Akagi. H, Kanazawa and Y, Nabae. A, "Instantaneous reactive power compensators comprising switching devices without energy storage elements", IEEE transactions on industry applications, pp. 625-630. 20(3), pp. 625-630, 1984. [6] Aredes. M, Hafner. J and Heumann. K, "Three-phase four-wire Shunt Active Filter Control Strategies", IEEE Transactions on Power Electronics, 12(2), pp. 311-318, 1997. [7] Komatsu. Y, Kawabata. T, "A Control Method for the Active Power Filter in Unsymmetrical Voltage Systems", International Journal of Electronics, 86(10), pp. 1249-1260, 1999. [8] Huang. S. J, "A Study of Three-phase Active Power Filters under Nonideal Mains Voltages", Electric Power Systems Research, 49(2), pp. 129-137, 1999. 150 100 50 -50 [9] Kim. H, Blaabjerg. F, Bak-Jensen. B and Choi. J, "Instantaneous Power Compensation in Three-phase Systems by using p-q-r Theory", IEEE Transactions on Power Electronics, 17(5), pp. 701-710, 2002. [10] Afonso. J, Couto. C and Martins. J, "Active Filters with Control based on the p-q Theory", IEEE Indusrial Electronics Society Newsletter, 47(3), pp. 5-10, 2000. [11] Lin. B. R, Lee. Y. C, "Three-phase Power Quality Compensator under the Unbalanced Sources and Nonlinear Loads", IEEE Transactions on Industrial Electronics, 51(5), pp. 1009-1017, 2004. Junsheng Jiao received his B.Sc. in Electrical Engineering and Automation from Anhui University of Science and Technology in China. He received his M.Sc. from Jiangsu University in China. He has teaching experience of eight years. His research interest fields include power electronics, renewable energy and simulation.