- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Advances in Power Electronics

Volume 2012 (2012), Article ID 237259, 6 pages

http://dx.doi.org/10.1155/2012/237259

## ANN Current Controller Based on PI-Fuzzy Adaptive System for Shunt Power Active Filter

Department of Physics, Faculty of Sciences Semlalia, Cadi Ayyad University, 40000 Marrakech, Morocco

Received 14 December 2011; Revised 17 July 2012; Accepted 17 July 2012

Academic Editor: Jose Pomilio

Copyright © 2012 Moulay Tahar Lamchich. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This paper deals with the use of triphase shunt active filter which is able to compensate current harmonics, reactive power, and current unbalance produced by nonlinear loads. To perform the identification of disturbing currents, a very simple control method is introduced. It’s formed by a DC voltage regulator and a balance between the average power of load and the active power supplied by the grid. The output current of the voltage source inverter (VSI) must track the reference current. This is done by a neural controller based on a PI-Fuzzy adaptive system as reference corrector. Also to regulate the DC link capacitor voltage a fuzzy logic adaptive PI controller is used.

#### 1. Introduction

Due to the increased use of nonlinear electrical loads, such as power electronics supplies, harmonics currents are generated in the level of these loads and injected back to the grid causing its voltage distortion at harmonics currents’ frequencies. The distorted voltage generates distorted currents which will be absorbed by sensitive loads and causing losses in the lines. Also, the most consuming electrical power loads are almost inductive, and then they contribute to the degradation of grid power factor at the point of common connection (PCC).

Conventionally, passive filters were adopted for the reduction of harmonics and to improve power factor; therefore, they have the disadvantages such as fixed frequency compensation, resonance, and large size. These limitations were avoided by the use of active filters which utilized a switch-mode power electronic converter to supply harmonic currents equal to those in the load currents.

The main objective of the power active filter (PAF) is to compensate reactive power, current harmonics, neutral current, and unbalancing of nonlinear loads by injecting compensating currents.

Almost, the method-based instantaneous active and reactive power (pq method) [1] is currently performed for disturbing current identification. The major disadvantages of a bloc identification-based pq method are essentially as follows:(i)it is not effective under distorted and unbalanced mains voltages conditions;(ii)the time delays introduced by pass filters, which are used to separate the average and oscillating parts of powers, degrades the dynamic performance of active filter;(iii) this method requires more computational calculation.

The controller of the PAF is comprised of an inner current loop which actively shapes the line currents and an outer voltage control loop which regulates the magnitude of the line currents.

This paper presents the application of a fuzzy inference system to determine the parameters of a PI controller used for the DC voltage regulation.

The current loop uses a technique-based artificial neural networks (ANN). The PI-Fuzzy adaptive system is adopted, as reference corrector, for the process learning.

The simulation results, in power system blockset (PSB) Matlab/Simulink environment, will show the effectiveness of the proposed approach for the control of the power active filter.

#### 2. General Structure

The main circuit of the shunt active filter control, as used in the Matlab/Simulink environment, is shown by Figure 1. It is composed of(i)a three wires power network and the output filter;(ii)the nonlinear load based on a rectifier;(iii) a reference current identification bloc based on a balance between powers;(iv) two regulation blocs, of capacitor voltage and the inverter, based on a neurofuzzy logic technique;(v)the active filter consisting of a voltage source inverter (VSI) with a capacitor in its DC side.

#### 3. Disturbing Current Identification

The compensation of the current harmonics and reactive power, generated by the nonlinear load, has an object to impose that the AC source currents must be sinusoidal and in phase with source voltages.

So the power active filter (PAF), used as a controlled current source, is controlled by determining its reference currents to inject the compensating currents.

The purpose of it is to produce output currents for tracking the reference current in order to reduce the harmonic components and compensate the reactive power.

We can proceed as follows to determine the reference currents for the control of the PAF:(i)we start by determining the reference grid currents (noted ) witch realized these two conditions (sinusoidal form with unit power factor).(ii)the inverter reference currents (noted ), which permit the PAF control, are deduced from the following equation: where are the load currents.(iii) as show in Figure 1, we evaluate the maximal value (noted IREF) of the reference grid currents, and we use a PLL circuit to generate the sinusoidal forms from the source voltages.(iv) the maximal value IREF can be deduced from a balance between active power supplied by the AC source and fundamental active power component absorbed by nonlinear load plus losses of inverter for regulating the DC capacitor voltage.

Therefore, The peak of source reference current (IREF) has two components; the first one () is corresponding to the average load active power, and the second one () is obtained from the DC capacitor voltage regulation as follows [2]:

The average power of load is obtained using a low-pass filter as shown by Figure 2.

By considering the unity power factor for grid currents, the component is defined as follows: where is the peak voltage of AC source.

The second component of AC source current is obtained from the DC capacitor voltage regulation as shown by Figure 3.

We can also justify this procedure, for the determination of the reference current, by calculation of instantaneous power components of the - theory in a stationary -frame [3].

The load absorbed the instantaneous active power as follows:

This power may be decomposed into oscillating component called harmonic power () and average component called fundamental ().

For generation of the reference current, a balance between instantaneous powers supplied by the source (noted ) and the PAF () and drained by the load is to be computed.

For obtaining inphase current with supply voltage, the harmonic term of instantaneous active power and all terms of instantaneous reactive power should be removed. In this case, balance of power yields as follows:

In normal operating condition, the PAF should be able to supply , and consequently voltage level of capacitor remains constant for duration of steady state while it varies during period of transient. In order to control capacitor voltage level on the DC side of the inverter is essential to adjust previous equation.

#### 4. DC-Bus Voltage Control

The DC link voltage control is performed to define the second component of AC source current (or harmonic power generated by the PAF) as described below.

In this paper, a PI controller, which its parameters are adjusted by a fuzzy inference system, is used to regulate the DC link voltage [4]. This technique, which consists of gains variation during the system control, takes the PI controller adaptable to nonlinear system and its parameters variation.

The principle scheme of this technique is illustrated by Figure 3.

The PI parameters () are calculated using the intermediate values (), given by the fuzzy controller, as follows [5]: where the extremes values of the gains are defined from the parameters given by Ziegler-Nichols method.

Both quantities (), corresponding to the output of the fuzzy system (Figure 4), are normalized in the range .

The membership functions are chosen the same, respectively, for the error and the slope and for the parameters and (Figures 5 and 6).

We have chosen to characterize this fuzzy controller by seven sets, respectively, for the inputs and only two sets for the outputs.

The linguistic rules, for the fuzzy logic output variables and [6], are resumed in the Table 1.

#### 5. ANN Current Control

To obtain the desired switching signals according to either output inverter currents or grid currents to follow the reference ones, a technique-based artificial neural network has been introduced.

Neural networks, which have the potential to provide an improved method of deriving nonlinear models, have self adapting capabilities which make them well suitable to handle nonlinearities, uncertainties, and parameter variations.

In the last years, a big interest concerned the use of the artificial intelligence techniques (neural networks, fuzzy logic, genetic algorithms) in identification and nonlinear control systems, this is mainly due to their capacities of learning and generalization [7–9].

In this object, the present work consists, partially, in developing a neural corrector for the control of the active power filter currents.

In this control system, we developed a neural controller by learning the behavior of a reference corrector. To do this, we have chosen, as reference corrector, a PI-Fuzzy adaptive system, which has good performances and could be able to adapt to changes in load.

The learning structure of this PI-Fuzzy corrector is given by Figure 7.

The ANN is a three-layer network: the first layer has four nodes, the hidden layer has three neurons, and the output layer has only one neuron corresponding to the inverter switching signal.

As mentioned below, the PI-Fuzzy reference corrector is used for the phase of learning, allowing to determine the parameters of this neural corrector and particularly its weights.

The learning procedure used was the Levenberg Marquardt backpropagation algorithm. The weights are generated until the error between the calculated pattern and the desired pattern, corresponding to the output of the fuzzy system as reference model, is very small and acceptable.

After this stage, the weights final values, corresponding to the steady state of the PAF control, are saved and applied, in the second phase, steadily to the neural controller (Figure 8).

Approximations of ANN weights values, for one phase of inverter, are given as follows

These weights are applied to the neural controller without the fuzzy system used only as reference corrector for the learning state.

#### 6. Simulation Results

Simulations were performed to show the effectiveness of the PAF regulation by means of PI-Fuzzy adaptive corrector for the DC link voltage control and by the use of ANN corrector for the PAF current control.

A nonlinear load, consisting of a three-phase diode-based rectifier and a resistive load in its DC side, is fed by sinusoidal and symmetrical mains phase voltages (127 Vrms, 50 Hz).

Figures 9 and 10 show the load current without compensation (only one phase current is represented for the clearness) and its harmonics spectrum, respectively. It is clearly shown that the total harmonic distortion (THD) is relatively high (the calculated value is approximately 22%).

The simulation results of the proposed control algorithm are presented in the next figures. Thus, Figure 11 shows that the source current becomes closely sinusoidal and inphase with source voltage. The source power factor is near unity, and the THD is enormously reduced (the harmonics spectrum, as represented in Figure 12, is reduced to only the fundamental and the calculated value of THD which is approximately 1.2%).

To show the dynamics of the proposed control algorithm, a step change is made in the load. The result is presented in Figure 13. It is obviously shown that the transient response time is very short, and so the dynamic of the controlled system is high.

#### 7. Conclusion

The shunt power active filter (PAF) is basically used to compensate harmonics, produced in the case of a nonlinear load, and reactive power. In this paper, we have presented the simulation results, using the Matlab/Simulink PSB Blocs, for the PAF control.

The reference current’s identification is accomplished by an approach based on a powers balance between the active power provided by AC source and that absorbed by the load.

The DC voltage regulation is done by using a PI-Fuzzy adaptive controller. The output current is then used for the currents reference’s identification.

To control the PAF, a neurofuzzy controller is adopted, with a PI-Fuzzy system as a reference corrector for the learning stage, and which imposes the generated current to track closely the reference current.

The first investigations, presented here, of the control algorithm prove its effectiveness and its high dynamics. It will be completed in a future work by using other artificial techniques and by considering others PAF configurations.

#### References

- H. Akagi, Y. Kanazawa, and A. Nabae, “Instantaneous reactive power compensators comprising switching devices without energy storage components,”
*IEEE Transactions on Industry Applications*, vol. IA-20, no. 3, pp. 625–630, 1984. View at Google Scholar · View at Scopus - A. Jami and S. H. Hosseini, “Implementation of a novel control strategy for shunt active filter,”
*The ECTI Transactions on Electrical Engineering, Electronics, and Communications*, vol. 4, no. 1, pp. 40–46, 2006. View at Google Scholar - H. Akagi, Y. Kanazawa, and A. Nabae, “Generalized theory of the instantaneous reactive power in three-phase circuits,” pp. 1375–1386, International Power Electronics Conference (IPEC '83), Tokyo, Japan, 1983.
- A. Dell'Aquila and A. Lecci, “A current control for three-phase four-wire shunt active filters,”
*Automatika*, vol. 44, no. 3-4, pp. 129–135, 2003. View at Google Scholar - Z. Y. Zhao, M. Tomizuka, and S. Isaka, “Fuzzy gain scheduling of PID controllers,”
*IEEE Transactions on Systems, Man and Cybernetics*, vol. 23, no. 5, pp. 1392–1398, 1993. View at Publisher · View at Google Scholar · View at Scopus - P. Viljamaa,
*Fuzzy gain scheduling and tuning of multivariable fuzzy control methods of fuzzy computing in control systems [Ph.D. thesis]*, Temper University of Technology, 2000. - G. Dreyfus, J. Martinez, M. Samuelides et al.,
*Réseaux De Neurons : Méthodologie Et Applications*, Editions Eyrolles, 2002. - D. Ould Abdeslam, P. Wira, J. Mercklé, Y. A. Chapuis, and D. Flieller, “Stratégie neuromimétique d'identification et de commande d'un filtre actif parallèle,”
*, Revue Des Systèmes*, vol. 9, no. 1, pp. 35–64, 2006. View at Google Scholar - M. Chakphed and P. Suttichai, “Active power filter for three-phase four-wire electric systems using neural networks,”
*Electric Power Systems Research*, vol. 60, no. 3, pp. 179–192, 2002. View at Publisher · View at Google Scholar · View at Scopus