Abstract
This paper proposes a new adaptive filter for wind generators that combines instantaneous reactive power compensation technology and current prediction controller, and therefore this system is characterized by low harmonic distortion, high power factor, and small DC-link voltage variations during load disturbances. The performance of the system was first simulated using MATLAB/Simulink, and the possibility of an adaptive digital low-pass filter eliminating current harmonics was confirmed in steady and transient states. Subsequently, a digital signal processor was used to implement an active power filter. The experimental results indicate, that for the rated operation of 2 kVA, the system has a total harmonic distortion of current less than 5.0% and a power factor of 1.0 on the utility side. Thus, the transient performance of the adaptive filter is superior to the traditional digital low-pass filter and is more economical because of its short computation time compared with other types of adaptive filters.
1. Introduction
Generally, wind generators are connected with grid for providing electrical power from wind energy. It is known that power electronic equipment is widely used in industrial processes and automatic machines for promotion of motor performance. Consequently, the traditional rectifiers, diode-bridge rectifiers, or phase-controlled rectifiers which are largely used to provide dc source for the inverters cause the serious harmonic problem of power quality. These current harmonics result in problems such as a low power factor, low efficiency, power system voltage fluctuations, and communication interference [1]. Using an appropriate power filter for improving power quality is the solution to these problems. There are two types of power filters: passive [2] and active [3–5]. A passive power filter (PPF) consists of inductors and capacitors. The circuit design of a PPF is simple, but it has the following disadvantages: (1) Each PPF is suitable only for a specific harmonic, unless the harmonics are sufficiently high or low to be eliminated; designing a group of passive filters for various harmonics is uneconomical. (2) Using a PPF for improving the power factor is less effective, and the original design is not applicable if the system architecture is changed. (3) A PPF may produce series or parallel resonance with the circuit impedance, leading to equipment damage. (4) The source impedance substantially affects the filtering properties of the filter. (5) A low-resistance circuit may generate additional current harmonics, rendering a passive filter ineffective. Finally, (6) a PPF occupies a larger space. Thus, using a PPF to eliminate harmonics is not an effective solution.
An active power filter (APF) is implemented using power switches, inductors, capacitors, and a control circuit, which calculates the compensation current required to eliminate current harmonics for preventing resonance. The disadvantage of the APF is that its switching loss is greater than that of the passive filter. Moreover, the controller of the APF is complicated, resulting in low reliability. However, because of the current level of technological advancement, it is easy to develop microprocessors or power electronics components that can be used in APF implementation for overcoming these disadvantages. Using an APF to eliminate current harmonics will become the development trend of the future. The most critical factor influencing the effectiveness of an APF involves determining the current harmonic, which can be obtained from the frequency or time domain. Frequency domain calculation is based on Fourier analysis, and most time domain approaches entail using instantaneous reactive power theory. The adaptive finite impulse response digital filter [6] was used in this study for reducing the time delay and eliminating the steady state error.
2. System Configuration
The proposed shunt-type three-phase APF for wind generators is shown in Figure 1. It consists of boost inductors, a three-phase full-bridge power converter, and a DC-link capacitor; i af, i bf, i cf, i aL, i bL, and i cL represent the currents provided to the power converter and nonlinear load. The three line currents of wind generator are calculated by the summation of the three line currents to nonlinear load and active power filter. To eliminate current harmonic components generated by the nonlinear load, the APF provides equal but opposite harmonic currents to the point of connection with the nonlinear load. This reduces the original distortion and corrects the power factor. For the sake of simplicity, the reference frame transformation method was used.
Figure 1.
Block diagram of the proposed system.
3. Operation Principles
A simplified analytical model of the APF was derived to analyse the DC-link voltage response and current tracking capability. The application of the proposed control strategy leads to the current harmonics being compensated quickly and the fluctuations in the DC-link voltage during transient and steady states being effectively suppressed.
3.1. Mathematical Model of the Active Power Filter
Consider Figure 1, where the dashed box represents the circuit diagram of the APF. If the reactors of the wind generator are neglected, the equivalent circuit of the APF can be obtained as shown in Figure 2. The switch status d x can be written as
| (1) |
where T x + and T x − represent power transistors and x denotes a, b, or c. The switch voltages v af, v bf, and v cf and the DC-link voltage v dc can be expressed as [7]
| (2) |
The differential equations for Figure 2 are as follows:
| (3) |
where v aG, v bG, and v cG represent the phase voltages of the wind generator and v af, v bf, and v cf represent the input voltages of the three-phase full-bridge power converter; r f and L f are the resistance and inductance of the APF line reactors, respectively, and C dc is the capacitance of the DC-link capacitor.
Figure 2.

Equivalent circuit of active power filter.
For model analysis and controller design, the three-phase voltages, currents, and switching functions can be transformed to d-q-0 rotating frame, thus yielding
| (4) |
where θ e is the transformation angle of the rotating frame and f denotes voltages, currents, or switching functions.
Based on (3)-(4), the state model in the rotating frame can be written as
| (5) |
where p is the operator d/dt; ω e is the frequency of the wind generator, and the subscripts “d” and “q” are used to denote the components of d- and q-axis in the rotating frame, respectively. Equation (5) was used to derive the block diagram of the APF and calculate the input voltage commands of the power converter.
3.2. Design of Passive Components
Passive components of the APF mainly refer to the boost inductors and DC-link capacitor. From the standpoint of manufacturing capacity, the production cost can be reduced by using passive components with a smaller size and lower weight. From the viewpoint of control, using small-sized boost inductors results in a high rate of change of input currents, which in turn increases the total harmonic distortion of current (THDi). The main considerations for the DC-link capacitor are the system stability and the DC-link voltage ripple. A lower capacitance of the DC-link capacitor affects the system stability and increases the voltage ripple. Therefore, the design of passive components is necessary for achieving a tradeoff between cost and performance, and it is discussed as follows.
Assume that the system is balanced for the maximum input power under the steady state condition and that the switching frequency of the APF is sufficiently high to render the current harmonic in the system negligible. Under such circumstances, the following inequality for the proper operation of the converter can be derived [8]:
| (6) |
where ; V m and I m are the peak values of the voltage and current from the wind generator, respectively. When the command of the DC-link voltage V dc ∗ is fixed, the maximum inductance of the boost inductors determined from (6) can be written as
| (7) |
where P i is the rated input power of the APF. A lower inductance generates higher current harmonics, and therefore the minimum inductance of the boost inductors is limited by THDi of the input currents. The voltage harmonics with sinusoidal pulse-width modulation are obtained as follows [9]:
| (8) |
where h n denotes the ratio of nth-order voltage harmonics to the average voltage V dc of the DC-link. The parameter decreases when the switching frequency increases. nth-order current harmonics can be derived as follows:
| (9) |
According to IEEE 519 and IEC 1000-3, THDi should be below 5%. Therefore, the minimum inductance of the boost inductors determined from (9) can be written as
| (10) |
The capacitance of the DC-link capacitor affects the DC voltage fluctuations in the transient state and the DC voltage ripple in the steady state. Generally, the DC voltage has a safe operating range. If the voltage is too high, it causes high current harmonics to damage the power transistors of the converter; however, if the voltage is too low, freewheel diodes cannot be reverse-biased to facilitate the current control of the APF. The power control strategy directly affects the DC voltage ripple, and ideal power balance control results in zero average current to the DC-link capacitor, even if there are no DC voltage fluctuations in the transient state. However, reducing the average current to the DC-link capacitor to zero in the transient state is difficult. The DC voltage fluctuation of the DC-link capacitor is inversely proportional to the capacitance but is directly proportional to the current integral of the DC-link capacitor. Therefore, the minimum capacitance of the DC-link capacitor can be determined according to the maximum DC voltage fluctuation:
| (11) |
where i dc is the current to the DC-link capacitor; the period from 0 to t 1 and Δv dc,max denote the transient response period and maximum DC voltage fluctuation, respectively. Assume that the input currents of the APF are balanced. The ripple factor k v of the DC voltage can be expressed as
| (12) |
where V cn = (X c/n)I cn; V cn and I cn are the effective values of nth-order voltage and the current harmonics of the DC-link capacitor, respectively, and X c is the capacitance of the DC-link capacitor at 60 Hz. According to (12), the minimum capacitance of the DC-link capacitor can be obtained as follows:
| (13) |
where k v,max is the maximum allowed ripple factor of the DC-link voltage and is generally below 5% [10]. Equations (7), (10), and (13) were used in the current study to design the boost inductors and DC-link capacitor.
3.3. Design of Controllers
The basic principle of the three-phase APF involves generating compensation currents by using a power converter. The compensation currents are injected into the power line to suppress current harmonics and to provide the required power to loads. In the literature, the analytical model of an APF is established under a rotating frame to reduce complexity [11]. Equation (5) shows that the cross-coupling terms ω e L f i df and ω e L f i df exist in d-q current control loops. To decouple d-q current loops and simplify the control scheme, voltage decouplers can be implemented using proportional-integral controllers (PIC). The block diagram of d-q control loops can be derived from (5), as shown in Figure 3. Adaptive control is used in Figure 3 to reduce the time delay of the reference current as well as the DC-link voltage feedback.
Figure 3.
Control block diagram of d-q current controllers of the active power filter.
An adaptive filter is a programmable filter that uses a least mean square (LMS) to calculate errors by subtracting output signals of the filter from expected signals; weighting is used to suppress noise on the input side of the filter [12]. Generally, the adaptive filter uses the finite impulse response technique to stabilize the system response with a single zero of the transfer function shown in Figure 4, but increasingly more time delay elements should be used to achieve higher performance and increase the number of weighting of the filter. The core part of the adaptive filter uses a linear combiner with n time delays to generate filter output y k. The adaptive filter with finite impulse response has weighting w 0 to weighting w n−1 to minimize errors from LMS. The calculation of LMS can be expressed as [13]
| (14) |
where w k and x k denote the weighting and kth input, respectively; ε k is the error obtained by subtracting the output signal of the filter from the expected signal, and β is the convergence rate of LMS. According to Figure 4, the expression of the output y k according to the input x k is
| (15) |
where
| (16) |
kth error ε k can be derived as
| (17) |
where d k is the expectation response. Based on (17), the following expression can be obtained:
| (18) |
The mean square error (MSE) derived from (18) can be expressed as
| (19) |
where and denote the cross-correlation matrix and input correlation matrix, respectively. As expressed in (19), J is a second-order function weighting. To obtain the minimum MSE, set ∇J = 0; that is,
| (20) |
Assume that is a nonsingular matrix. From (20), the Wiener weighting vector w op ∗, which is an optimized value, can be expressed as
| (21) |
The minimum MSE J min can be written as follows by substituting (21) into (19):
| (22) |
Figure 4.

Block diagram of finite impulse response filter.
To accelerate the convergence of the adaptive filter, step size β is applied to adjust the weighting [14]. When β is large, the time taken for convergence of w k to w op ∗ is short. However, it is easy to generate substantial oscillations, and therefore there is a large steady state error. When a smaller β is applied, the convergence is slow initially, but the oscillations near w op ∗ are low. Therefore, the steady state error is smaller. To obtain appropriate β, β is adjusted using the error as follows:
| (23) |
where 0 < α < 1. Based on (23), the adjusting range is large when the error is large, and β decreases when w k approaches w op ∗. In this paper, the variable step-size scheme is implemented in series with the conventional adaptive filter. The fixed-step-size MSE is first used to accelerate the transient response, and the variable-step-size MSE is then used to improve the steady state response. The novel adaptive filter shown in Figure 5 can effectively reduce the convergence time compared with the conventional filter. It consists of a calculation circuit for the reference current and two LMS for the relation between reference and real currents of the adaptive filter. Only two coefficients are needed to be adapted in the LMS with two inputs. When any significant changes happen in the load current, the load current is detected and the step size is immediately increased and then decreased slowly until it reaches the initial value. This procedure guarantees a fast transient response to adaptive filter. The adaption procedure is the same as used in the general structure of adaptive filters, and the output signal I dL tracks the variation of the fundamental signal of the load current. Figure 5 shows that
| (24) |
where i ref denotes the reference signal. For the design of the DC-link voltage regulator and adaptive filter, the system parameters used are as follows:
| (25) |
The reference currents, control law, and PWM signals are calculated by the digital signal processor- (DSP-) based controller. The following section discusses the experimental evaluation of the proposed system.
Figure 5.

Block diagram of novel adaptive filter.
4. Experimental Results
To verify the performance of the proposed system, a 2 kVA three-phase APF was developed, and the nonlinear load of Figure 6 was used with the following parameters:
| (26) |
The proposed system was experimentally evaluated using balanced and unbalanced nonlinear loads. Figure 7 shows the phase voltage v aG of the wind generator, nonlinear load current i aL, APF current i af, line current i aG of the wind generator, and DC-link voltage v dc for the balanced nonlinear load. As shown in the figure, when the wind speed varies between 30 and 40 m/s, the voltages and currents from the wind generator are in-phase and i aG is almost sinusoidal, while the DC-link voltage v dc remains constant. According to the experimental results, THDi of i aG is reduced from 18.63% (without an APF) to 3.68% when an APF is used. The power factor on the generator side increases from 0.84 (without an APF) to unity when an APF is used.
Figure 6.

Power circuit of nonlinear load in the proposed system.
Figure 7.
Experimental results of the proposed system with balanced nonlinear load: (a) phase voltage v aG of the wind generator; (b) nonlinear load current i aL; (c) active power filter current i af; (d) line current i aG of the wind generator; (e) DC-link voltage v dc.
As indicated, the case of unbalanced load was examined by disconnecting the pair of diodes in phase b of Figure 6, which yielded i bL = 0 and i cL = −i aL. THDi values calculated from Figure 8 for phases a and c were identical and equal to 31.3% with a power factor of 0.38 in the absence of an APF when the wind speed varied between 30 and 40 m/s. After using the APF, THDi for phases a, b, and c became 7.01%, 3.11%, and 4.23%, respectively, with a unity power factor.
Figure 8.
Experimental results of the proposed system with unbalanced nonlinear load: (a) phase voltage v aG of the wind generator; (b) nonlinear load current i aL; (c) nonlinear load current i bL; (d) nonlinear load current i cL; (e) line current i aG of the wind generator; (f) line current i bG of the wind generator; (g) line current i cG of the wind generator.
Figure 9 shows the transient response in the experiment when the wind speed was fixed. As illustrated in Figure 9, the transient period for the DC-link voltage v dc and line current of the wind generator is 56.1 ms. The proposed system demonstrates fast dynamic response for both compensating the current harmonics and establishing the DC-link voltage. The experimental results indicate that the proposed system can compensate current harmonics effectively and maintain excellent regulation of the DC-link voltage for balanced and unbalanced loads.
Figure 9.

Experimental results of transient response of the proposed system with balanced nonlinear load: (a) phase voltage v aG of the wind generator; (b) nonlinear load current i aL; (c) active power filter current i af; (d) line current i aG of the wind generator; (e) DC-link voltage v dc.
5. Conclusions
This paper presents the implementation and analysis of DSP-based digital control for a shunt-type three-phase APF with adaptive control for wind generators. With the proposed method, an APF can be used for suppressing current harmonics and compensating reactive power from loads. The novel adaptive low-pass filter is effective in reducing the phase delay for reference current calculations and DC-link voltage feedback. In addition, it can reduce the size of the DC-link capacitor and overall system cost to meet the requirements of industrial applications. Regardless of the wind speed variation, the design and analysis method is suitable for both balanced and unbalanced loads. The resulting THDi of the line current from the wind generator is low, and a power factor of unity and effective regulation of the DC-link voltage can be achieved.
Acknowledgments
The author wishes to express his sincere appreciation to UCHI OPTOELECTRONIC (M) SDN. BHD. for supporting this research. The author would like to thank the anonymous reviewers for their valuable comments and suggestions to improve the quality of the paper.
Conflict of Interests
The author declares no conflict of interests.
References
- 1.Sarikas P. C. Harmonics survey within an industrial facility. Proceedings of the Southcon/96. Conference Record; June 1996; Orlando, Fla, USA. pp. 575–581. [DOI] [Google Scholar]
- 2.Rahman N. F. A., Hamzah M. K., Noor S. Z. M., Hasim A. S. A. Single-phase hybrid active power filter using single switch parallel active filter and simple passive filter. Proceedings of the International Conference on Power Electronics and Drive Systems (PEDS '09); January 2009; Taipei, Taiwan. IEEE; pp. 40–45. [DOI] [Google Scholar]
- 3.Gupta N. P., Gupta P., Masand D. Performance evaluation of hybrid active power filter. Proceedings of the International Conference on Communication Systems and Network Technologies (CSNT '12); May 2012; Rajkot, India. pp. 573–576. [DOI] [Google Scholar]
- 4.Bhonsle D. C., Kelkar R. B. Design and analysis of composite filter for power quality improvement of electric arc furnace. Proceedings of the 3rd International Conference on Electric Power and Energy Conversion Systems (EPECS '13); October 2013; Istanbul, Turkey. pp. 1–10. [DOI] [Google Scholar]
- 5.Chandrasekar P., Kamaraj V. Integer lifting wavelet transform based hybrid active filter for power quality improvement. Proceedings of the 1st International Conference on Electrical Energy Systems (ICEES '11); January 2011; Newport Beach, Calif, USA. pp. 103–107. [DOI] [Google Scholar]
- 6.Kodek D. M. LLL algorithm and the optimal finite wordlength FIR design. IEEE Transactions on Signal Processing. 2012;60(3):1493–1498. doi: 10.1109/tsp.2011.2177974. [DOI] [Google Scholar]
- 7.Verdelho P., Marques G. D. An active power filter and unbalanced current compensator. IEEE Transactions on Industrial Electronics. 1997;44(3):321–328. doi: 10.1109/41.585829. [DOI] [Google Scholar]
- 8.Kuo H.-H., Yeh S.-N., Hwang J.-C. Novel analytical model for design and implementation of three-phase active power filter controller. IEE Proceedings: Electric Power Applications. 2001;148(4):369–383. doi: 10.1049/ip-epa:20010433. [DOI] [Google Scholar]
- 9.Mohan N., Undeland T. M., Robbins W. P. Power Electronics: Converters, Applications and Design. New York, NY, USA: John Wiley & Sons; 1995. [Google Scholar]
- 10.Jin C., Tang Y., Wang P., Liu X., Zhu D., Blaabjerg F. Reduction of dc-link capacitance for three-phase three-wire shunt active power filters. Proceedings of the 39th Annual Conference of the IEEE Industrial Electronics Society (IECON '13); November 2013; Vienna, Austria. pp. 1203–1208. [DOI] [Google Scholar]
- 11.Hao R., Cheng Z., You X. A novel harmonic currents detection method based on rotating d-q reference frame for active power filter. Proceedings of the IEEE 35th Annual in Power Electronics Specialists Conference (PESC '04); June 2004; pp. 3034–3038. [DOI] [Google Scholar]
- 12.Pereira R. R., da Silva C. H., da Silva L. E. B., Lambert-Torres G., Pinto J. O. P. New strategies for application of adaptive filters in active power filters. IEEE Transactions on Industry Applications. 2011;47(3):1136–1141. doi: 10.1109/tia.2011.2125931. [DOI] [Google Scholar]
- 13.Pereira R. R., da Silva C. H., da Silva L. E. B., Lambert-Torres G. Application of adaptive filters in active power filters. Proceedings of the Brazilian Power Electronics Conference (COBEP '09); October 2009; Bonito, Brazil. IEEE; pp. 770–774. [DOI] [Google Scholar]
- 14.Pereira R. R., da Silva C. H., Veloso G. F. C., da Silva L. E. B., Torres G. L. A new strategy to step-size control of adaptive filters in the harmonic detection for shunt active power filter. Proceedings of the IEEE Industry Applications Society Annual Meeting (IAS '09); October 2009; Houston, Tex, USA. pp. 1–5. [DOI] [Google Scholar]




