Active Power Filter Based on Adaptive Detecting Approach of Harmonic Currents

The ip-iq detection method based on instantaneous inactive power theory has been applied widely in active power filter because of its good real-time. But it needs large computation, and three-phase currents are processed as integrity, thus calculation accuracy can't be ensured. Based on adaptive interference canceling theory, this paper presents a new adaptive detection method for harmonic current, it is a continuously regulated closed-loop system, and its operating characteristics are almost independent of the parameter variations of the elements, thus it performs better than that based on traditional theory. At last this paper provides the simulation of active power filter including the detecting circuit which proved the design is feasible and correct.


Introduction
Because of the use of more nonlinear loads, especially more power electronic equipments, a large number of harmonic and reactive currents have been introduced into power grid, resulting in some problems such as voltage flicker, frequency variation, imbalance of three-phase problem, etc [1].In order to suppress the harmonics, passive filters have been used in the past years [2], while recently Active Power Filter (APF) has been developed rapidly.Widely used in APF, the harmonic detection method is based on three-phase instantaneous inactive power theory.Thus a lot of analog multipliers and calculation are needed, resulting in difficult adjust and poor performance [3][4].Furthermore, this method is only suitable for a three-phase equilibrium sinusoidal system.This paper presents a new adaptive closed-loop detection method based on adaptive interference canceling theory, and the simulation results show that the filter based on this new method performs better than that based on the three-phase instantaneous inactive power theory, and with higher accuracy [5].

The Basic Principle of an Active Filter
An active power filter is a new power electronic device of dynamic harmonic suppression.Figure 1 shows the basic principle.There are four parts in a shunt APF: the main circuit, command current operational circuit, current tracking control circuit, and the drive circuit.The command current operation circuit detects the harmonic component i Lh , in the load current i L , and takes the opposite value as command signal * c i .The principle can be expressed by the following formula where i S , i L are currents of the supply and a nonlinear load, respectively, and i c is the compensation current.i Lf , i Lh are the fundamental active and harmonic reactive components of the load current, respectively.

The Basic Principle of Adaptive Interference Canceling Theory
The adaptive interference canceling technique has been widely used in recent years [6].By continuously selfstudying and self-adjusting, the detecting system can always operate at its best.The basic noise-canceling theory can be illustrated in Figure 2. In the detecting system, there are two unrelated input signals: original input s+n 0 and reference input n 1 .And s is unrelated with n 0 and n 1 , while n 0 and n 1 are related.The reference input signal n 1 is filtered by an adaptive filter to produce an output signal * 0 n , which is an approximate replica of n 0 .This output * 0 n is subtracted from the original input signal s+n 0 to produce * 00 y snn =+−, the system output signal.
In the system shown in Figure 2, the reference input is processed by an adaptive filter which automatically adjusts its own response through a least-squares algorithm.Thus the filter can detect the noise n 0 continuously and adjust the system to minimize the error signal e.It can be proved that * 0 n is the best least-squares estimate of n 0 , when the filter is adjusted to make the error signal power [] E ε minimum.

Adaptive Harmonic Detection
Based on the principle of adaptive noise canceling theory, adaptive harmonic current detecting circuit is shown in Figure 3.The system is composed of an analog adaptive filter, a BPF (Band Pass Filter) and a 90 0 phase-shifter [7].The primary input is the load current: is the sum of all harmonic components, and i p (t), i q (t) are the active component and the reactive component of i 1 (t), respectively in Figure 3. u(t) and u 1 (t) are the AC source voltage and its fundamental component, respectively.R 1 (t) and R 2 (t) are two reference inputs orthogonal to each other, and i 0 (t) is the system output.As shown in Figure 3, because both feedback branches are similar, we take the lower feedback branch as an example.Only the fundamental reactive component which has the same frequency with 1 () Rt can produce the DC signal after the output current i 0 (t) is multiplied by 1 ()cos r RtDt ω = , while other components produce AC signals after the same procession.The DC component can be integrated to get the average value of fundamental reactive current I Fp , while the AC component will be zero after the same calculation.Thus, we can get the instantaneous fundamental reactive current i fq (t) by  multiply I Fp with R 1 (t).Similarly, using R 2 (t), we can get the instantaneous fundamental active current i fp (t).At last, by adding the reverse of i fp (t)+i fq (t) to i(t), the output We can also explain the principle in the phase space.Assume the reference inputs which processed by the BPF are: Then the output of the multiplier M1 can be expressed as: Taking the Laplace transform of (1), we have 0100 where, I 0 (s) is the Laplace transform of i 0 (t).After processed by the integrator, whose transform is G s (here G is the integration gain), the transform of the feedback signal can be expressed as: The output of the multiplier ' 1

M
is simply the feedback signal of the lower branch, which mean Similarly, the transform F 2 (s) of the feedback signal f 2 (t) for the upper feedback branch can be expressed as: The total feedback signal is: Its transform is: Thus the feedback coefficient of the whole system is: Then the transfer function H(s) of the system is:

Is s Hs
IsBs sDGs From ( 8), when r ωω = , |()|0 Hj ω = , which means a zero point exists in the system corresponding to the fundamental frequency r ω Consequently the fundametal signal will be greatly attenuated.It is obvious that the system shown in Figure 3 is equivalent to an ideal second-order notch filter.In addition, the center frequency of the system depends solely on the frequency signal r ω of the reference input.Therefore, the system is independent of parameter of the circuit components, which means that the system is almost stable while the temperature varies or the circuit components ages.

DC Side Voltage Control
Ideally, what an active filter compensates is the non-active power; that is to say, it neither absorbs active power from the power supply nor outputs to it, so the DC side voltage of an active filter is constant.However, due to the loss of the active filter, energy in the capacitor on In order to maintain the voltage on the capacitor, the feedback method has usually been adopted, whose purpose is to obtain some active power from the source to compensate the corresponding loss.
As shown in Figure 4, U cr , U cf are the reference and feedback values of U c , respectively.The difference between U cr and U cf is regulated by PI to get the signal Since * c i contains the fundamental active component , i c , which comes from * c i , also contains such a component.Therefore, when i c is introduced into the power system, APF can exchange the active energy between AC and DC sides, which keeps U c constant.

Simulation Results
In this section, computer simulation is carried out to verify the design of the adaptive shunt active filter.A three-phase distribution system is built using Matlab as shown in Figure 5. Simulation parameters are as following: AC source is 220V/50Hz, supply side inductance Ls is 0.2μH.The nonlinear load parameters for three-phase full-controlled bridge rectifier are R= 20Ω, L=0.1H.In the main circuit of the active filter, IGBT is used as the switch, and the inductance on the AC side La is 5mH, while the capacitance is 2200μF/1000V on the DC side.
Figure 6 shows the AC source voltage, the power supply currents before and after filterd, respectively, and the harmonic and reactive reference currents.From Figure 6(b), we can see that before filtered, the current lags the source voltage and contains a lot of harmonic and reactive components.After filtered by the APF, shown in Figure 6(d), the supply current is nearly sinusoidal and in phase with AC source voltage, which means APF corrects the power factor of the supply side nearly to unity.There is a variation in the nonlinear current at t=0.1s, From Figure 6 it can be seen the proposed adaptive shunt active filter only needs approximately half a cycle to adapt itself to the change.
Since the APF adopts traditional hysteresis current control method, the tracking ability of APF is limited, resulting in some ripples in the current when it changes suddenly, as shown in Figure 6(d).
The DC capacitor voltage is shown in Figure 7, it only Compared Figure 8 with Figure 9, it shows the harmonic and reactive currents are greatly restrained.
It shows from Figure 9 and Figure 10, under the same conditions, after APF input, the THD of the supply current based on adaptive interference canceling theory drops to 10.50%, but that based on instantaneous inactive power theory is only 12.30%, moreover, the method based on traditional theory uses 6 analog summer, 4 multipliers and lots of gains, thus the calculation accuracy is more difficult to be assured in practice.The method based on adaptive interference canceling theory uses only 6 multipliers and 3 integrators, which ensures better performance in actual operation than that based on instantaneous inactive power theory.
Overall, it shows that the proposed adaptive shunt active filter can compensate nonlinear load current, adapt itself to compensate the variations in nonlinear load currents and correct the power factor of the supply side nearly to unity.

Conclusions
In this paper, a novel adaptive detection method for harmonic and reactive current is proposed.This method is analyzed systematically and verified by Matlab simulation.It is a continuously regulated closed-loop system, and the operating characteristics are nearly independent of the parameter variations of the elements, and bandwidth behaving as one of a second-order notch filter can be regulated easily by controlling the amplitude of the reference input and the gain of the integrator.Furthermore, this paper also introduces DC side voltage control method, which is simple and effective.Finally, simulation result is given to conform the feasibility of the design.

Figure 1 .
Figure 1.Basic principle block diagram of an active filter

Figure 3 .
Figure 3. Adaptive detecting diagram for harmonic currents

Figure 4 .
Figure 4. DC voltage control block diagram the DC side will reduce, making the voltage on the capacitor drop.In order to maintain the voltage on the capacitor, the feedback method has usually been adopted, whose purpose is to obtain some active power from the source to compensate the corresponding loss.As shown in Figure4, U cr , U cf are the reference and feedback values of U c , respectively.The difference between U cr and U cf is regulated by PI to get the signal