Hindawi Publishing Corporation Journal of Control Science and Engineering Volume 2013, Article ID 872624, 7 pages http://dx.doi.org/10.1155/2013/872624

Research Article

Optimization and Coordination of HAFDV PINN Control by Improved PSO

Bin Huang, Nengling Tai, and Wentao Huang

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China Correspondence should be addressed to Bin Huang; hbsjtu@gmail.com Received 8 June 2012; Accepted 25 January 2013 Academic Editor: Pierluigi Siano

Copyright © 2013 Bin Huang et al. 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.

The new hybrid active filter (HAF) is composed of the larger-capacity passive filter banks and the smaller-capacity active filter. It is difficult to tune the parameters of a PI controller using the DC capacitor voltage control. In this paper, the improved particle swarm optimization (improved PSO) algorithm is proposed to solve the coordinated design problem, and the neural network weights as the particle swarm optimization are adopted to optimize the system parameters. Comparing with the conventional PI controller, the results of PINN controller prove the effectiveness of designed method on both the transient and steady-state performance of the hybrid active filter DC bus voltage (HAFDV) controllers.

1. Introduction

Microgrid, an entity of various distributed energy resources (DERs) with different characteristics and mutual complementation, can operate in phase with macrogrid and improve energy utilization efficiency and electricity supply reliability. Due to the applications of nonlinear elements, the harmonic interference on the micronetwork is growing. In order to ensure the safety of the macrogrid, we use the hybrid active filter to remove the harmonics of the micronetwork.

Hybrid active filter, which has dynamic, better compensation characteristics and a greater compensation capacity, is used to suppress harmonics and reactive power compensation of the macrogrid. Reference [1] studied the capacitance and voltage of the active filter; it is not suitable for a larger-capacity macrogrid. References [2-4] designed the PI controller of the DC bus voltage without optimizing the controllers. Therefore, improved PSO optimizes the parameters of HPF controller using PI neural network instead of the conventional PI. The time-domain results demonstrate the effectiveness of the proposed design method of the HAF DC bus voltage controllers.

2. Problem Formulations

In this section, the mathematical model of HPF is presented in detail, and then the HAFDV controllers will be considered as an example to verify the effects of this method.

2.1. Modeling of HAF. The structure of the proposed hybrid active power filter (HAPF) is shown in Figure 1. It is composed of a smaller-scale three-phase voltage source inverter (VSI) employing pulse-width modulation (PWM), with a large capacitor at the DC side and an output filter to eliminate the high-frequency ripples at the output side. A coupling transformer connects VSI in series with a group of passive power filters. And all of them are connected in shunt with Microgrid.

2.2. Formulations of the HAF DC Bus Voltage Controllers. The main objective of the control scheme is to force all the harmonics of load current to flow into passive filter [5-8]. A hysteresis current controller is used to switch the bridge arm of the active filter [9-11].

Microgrid

Active

filter 555

Coupling

Output filter transformer Figure 1: Configuration of the hybrid active power filter.

The control scheme is indicated in Figure 2. It builds the reference currents for the HAF based on the instantaneous active and reactive power theory. The synchronous reference frame (SRF) theory is used to extract the fundamental component of the source current by transformation of the supply currents (iu,iv,iw) into the reference frame. The system under study is a three-wire system where the zero sequence may be neglected. The following are basic equations for these transformations:

The source current is controlled to follow this reference current by switching the voltage source inverter with a hysteresis current controller.

2.3. The Objective Function. Conventional PI controller is used to maintain the DC bus voltage of the HAF by compensating the voltage losses [12-14]. Conventional PI controller parameters are often obtained by several experiments. It is difficult to adjust all the parameters. This paper designs PI neural network controller combined with improved PSO. The interlayer and output layer linking weights of PI neural network (PINN) are used as the optical parameters of PSO.

According to the formulae (1)-(3), A-phase fundamental current increment values are obtained bys

Aia = \lj sin Ut-Aipf,

where A<pf is the increment of the grid active current component.

So the exchange active power with HAF and supply system is calculated as

Pf = ^3Ea ■ Aia,

Pfdt =

Cdc [{Udc + AUCdc f -Udc2]

sin wt _ cos wt

Ik! h _ cos wt _ sin wt

Kicadt,

1 -1 -1 2 2

where the two-phase sinusoidal signals sin cot and cos wt are resulted from the phase-locked loop (PLL) circuit.

The lowpass filter is used to extract the DC components, realized by moving average to 80 Hz. The extracted DC components are transformed back into a-b-c coordinates to obtain the fundamental components (iuj,ivj,i ^) of source currents as shown in

'hi ' =

sin wt _ cos wt _ cos wt _ sin wt

[ iwf J

lPi L^'j

So each current harmonic component (iuh,ivh,iwh) is given

iuh iu luf

ivh = K _ ivf

Jwh. jw_ . iwf .

where Ea is A-phaselinevoltage RMS, Cdc is a capacitor value, Udc is the ideal steady-state value of the HAF DC voltage, &UCdc is the increment of capacitor voltage during At, K is a constant with switching characteristics of capacitor, and the ica is RMS in A-phase of ic.

According to the formulae (4)-(5), with neglecting the item (AUCi ) and linearization near the operating point, after Laplace transform, the PI regulator Gpi(s), controlled object Gv(s), and voltage detection Gj(s) are given by

Gpi (s) =

Gv (s) =

Kp (T, + 1) T,s ' Kt Ea

CdcUdcS'

Gf = ,

J TfS + 1

where KP is a proportional coefficient, Tt is an integral constant.

Figure 3 shows the system transfer function; it is expressed as

G(s) =

Gpi (s) Gv (s)

1 + Gpi (s)Gv (s)Gf (s)

The disadvantage of conventional PI controller lies in the difficulty to resolve the trade-off among smoothness,

Figure 2: The control scheme of HAF.

Figure 3: System transfer function.

^ v 1 Controlled

object

Figure 4: The structure of PINN.

fastness, and accuracy. The major parameters of the HAF DC bus voltage controller require experiments and high skills in system debugging process and will be fixed eventually.

A PINN controller, shown in the dotted line in Figure 3, is adopted as the DC bus voltage controller, instead of the conventional PI controller, so the system transfer function is modified into

PINN (S)K,EaTfs + PINN (S)K,Ea (S' = CdcUdcTjS2 + CdcUdc + PINN (S) KtEaKf' (8)

V structure Figure 5: The flow chart of improved PSO.

The improved PSO algorithm is applied to the optimization of PINN parameters. An objective optimization problem can be defined as follows.

^PINN = NN(Kpinn,Tpinn)Xpinn are neural network vectors representing the decision variables. fn(XPINN) is

Gen Gen Gen Gen Gen Gen Gen Gen

© © g © ©

" i'mVI 11 kV) )MV2 11 kV ) )MV3 11 kV) ) MV4

Transformer

Transformer

M (M (M

Motor Motor Motor

Emergency gen

Motor 400 Vi ESB1

M Motor

M Motor

Motor Motor

)LV1 400 V 1 LV2 400 V ) LV3 400 V

@ (M) Motor Motor

® ® Motor Motor

® ® Motor Motor

® ® Motor Motor

Figure 6: Microgrid system single line figure.

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Time (s)

(a) The current of one phase at the 11 kV level

II - II

10 15 20 25 30 35 40 45 50 Harmonic order

(b) The spectrum of one phase at the 11 kV level

Figure 7: The current and spectrum of one phase at the 11 kV level.

the objective function. gj(KPINN) and hk(TPINN) represent the constraints.

3. Improved PSO

Particle swarm optimization, inspired by the social behavior of a bird flock, was originally designed by Kennedy and Eberhart in 1995. The original idea is to simulate the birds' food-hunting for the global optimal point. One particle presents a bird and it can calculate the adaptive value of its current position, and every particle records the optimal value searched by itself [15,16].

The particles have their memory, and each particle keeps tracking of its local best position (_pid) and its corresponding fitness. The particle with the greatest fitness is called the global best position (^id) of the swarm. The basic PSO

algorithm has many defects, such as falling into local optimum and being impacted by the fact that it is insensitive to environment variables, precocious, and so on. The paper adopted improved PSO which has multigroup particles to search different parts of the solution space. When pid and ^id are obtained, a particle updates its velocity and position based on (9). In the end, the algorithm will check the results until the best solution is found or termination conditions are satisfied:

= A x t>fd + ft x random () x (pfd - %fd) + ft x random () x (gfd - x-d) ,

= *id + «id

where ft, ft > 0. A is the inertia weight factor. ft and ft are acceleration constants. random() is a random number

0.8 0.6 0.4 0.2

20 40 60 80 100 120 Simple (n)

140 160 180 200

Figure 8: Improved PSO optimizes PINN.

700 -600 -

500 " ...

S 400 -300 -200 - *

» * » *

100 - ,.,,..

0 5 10 15 20 25 30 35 40 45 50 Step (n)

Figure 9: Convergence curve of adaptive value.

between 0 and 1. wid and xid are the velocity and the current position of particle at iteration id.

The improved PSO algorithm optimizes PINN controllers which is defined as proportional, integral function of neurons. PINN is a dynamic multilayer feed forward neural network. The parameters of PINN (-KPINN,TPINN) are optimized by improved PSO.

Neural network of PINN applies 2x2x1 structure shown in Figure 4. The input layer of the PINN has two neurons of proportion. The two neurons (-KPINN,TPINN) in the middle layer are proportional and integral elements of the input signal, and the weights from input layer to the middle layer are remained of constant value (-1, +1). In order to minimize the objective function value, the mean square error (MSE) function has been employed in (10). The improved PSO adjusts the network weights by the back-propagation (BP) algorithm [17]. The flow chart of the improved PSO is shown in Figure 5. Consider the following:

J=-^[r(k)-y(k)]2. (10)

The improved PSO shows many advantages. Firstly, it initializes the improved PSO and PINN parameters, which contain the initial particles, their positions, and velocities. For each particle, it evaluates the fitness function [18]. Secondly, it generates position and velocity and calculates adaptive value, considering the steady error and setting time. It calculates the value of every particle in all subgroups. Besides, it can train PINN structure with current positions of the particles by BP learning and predicting. In addition, improved PSO

Table 1: Harmonic of microgrid system.

Harmonic order A percentage of content (%)

5 1.22471

7 0.84343

11 5.83203

13 4.54842

23 2.11186

25 2.10007

35 1.32699

37 1.30599

47 1.17763

49 1.14342

All 8.49

can find the local optimum position pid and globe optimum position ^id through selecting the particles with minimal /. Furthermore, it evaluates and calculates the fitness and the new adaptive value by using (9). What is more is that it can update the velocity and the position of each particle. The new position is kept if the current position is dominated by positioning the _pid; otherwise, the current position replaces it in space; neither of them is randomly selected. Finally, it can judge the termination criterion; the procedure goes to the third step until it is satisfied.

4. Results

The proposed island Microgrid system is shown in Figure 6, and the primary parameters of system are as follows. The system comprises four 11 kV medium-voltage buses with two 4000 kW generator engines and two 3000 kW motors driven by 12-pulse inverters linking each other through the circuit breakers and four 400V low-voltage buses with some motors and loads connected by the circuit breaker. In addition, a 1500 kW of emergency engine is installed on the low-voltage side of power supply in case of emergency.

The harmonic parameters of the proposed island Micro-grid system are summarized in Table 1; while the total THD; is 8.49%, it exceeds the national standard of China. Figure 7 shows the current and spectrum of one phase at the 11 kV level. For the security of the grid, HAF is used between the bus and inverter.

1 a6 b 0.4

0.05 0.1 0.15 0.2 0.25 0.3 0.35 Time (s)

(a) DC bus voltage control with PINN

Figure 10: Compare PINN with conventional PI.

0.1 0.15

Time (s)

(b) DC bus voltage control with conventional PI

-100 -

0.1 0.2 0.3 0.4 0.5 0.6 0.7 Time (s)

0.8 0.9

(a) The current of one phase at the 11 kV level with HAF

I 5 i 4

15 20 25 30 35 Harmonic order

(b) The spectrum of one phase at the 11 kV level with HAF

Figure 11: The current and spectrum of one phase at the 11 kV level with HAF.

Table 2: Parameters of PF.

The PF of HAF L/ohm C/^F Q

11th 1.9185 13.71 40

13th 1.1301 16.67 40

The performance of the HAF depends on the DC bus voltage control optimization, shown in Figure 1. The simulation parameters are total power Pan = 3.2 MW, a single motor power factor cos <p = 90.9%, Cv = 3000 ^F, out filter Lout = 0.5 mH, Cout = 500 ^F and Udc°d= 6000 V. The parameters of improved PSO are set to be max Vid = 20, min Vid = -20, the population size is 100, the iteration times are 50, the inertia weight factor is 0.8, the acceleration constants ft and ft both are 3, random() is a random number between 0 and 1, and the sample and saturation of BP are 200 and 2, respectively. So the optimum weights of PINN, which are trained by improved

PSO, are 8.30376 and 0.00283987. The parameters of PF are summarized in Table 2.

The step response of Udc(PU) jumps from 0.7 to 1.0, and the Udc tracks the given value with PINN by improved PSO optimization as shown in Figure 8. Training PINN to 26 steps, the error e(i) of algorithm is 1.4169e-005, shown Figure 9 The optimization result for the DC bus voltage control of PINN is effective.

The HAF with DC bus voltage control by PINN is installed in the island microgrid system. It can be seen from Figure 10 that PINN has advantages over the conventional PI and that the filtering functions are well performed by the DC bus voltage controller under the different operating conditions. The maximum overshoot of the traditional PI is close to 1.9; compared with 1.9, the maximum overshoot of Udc with PINN is lowered to about 0.95 when Ud*c is 0.7. The DC bus voltage with PINN is stable at 0.13 s which is the lower than conventional PI, and the response is quicker and smoother than the conventional PI.

Table 3: Harmonic of microgrid system with HAF.

Harmonic order A percentage of content (%)

5 0.300779

7 0.111241

11 0.0498152

13 0.0196565

23 0.00768633

25 0.00464055

35 0.270777

37 0.279686

All 0.96

By using the HAF with DC bus voltage PINN control, the total THD; of the island Microgrid system is reduced from 8.49% to 0.96%. Figure 11 presents the results of the smooth current and reduced harmonic. All the harmonics are that lower than the national standards are summarized in Table 3.

5. Conclusions

Due to the harmonic interference of nonlinear loads, the HAF is used to protect the security of the island Microgrid system. An optimization method based on improved PSO for design of HAFDV control is developed by using PINN instead of conventional PI. The coordinated design problem of DC bus voltage control is formulated as a nonlinear constrained objective optimization problem, where improved PSO is employed to search for the optimal solutions. Comparing controllers of PINN and conventional PI, simulation results show that HAFDV control with PINN has more effective control results, better stability and lower overshoot of DC voltage, and more rapid response than conventional PI.

References

[1] Z. Ke, L. An, X. Xiang-yang, and Z. Wei, "DC side capacitor's design and voltage control in high-capacity active power filter," Power Electronics, vol. 4, no. 41, 2007.

[2] G. Ming zhen, R. Zhen, T. Zhuo yao, and L. Q. zhan, "Optimization design for capacity on passive active hybrid power filters," Journal of the China Railway Society, vol. 5, no. 21, pp. 43-46, 1999.

[3] L. Shiguo, "Optimal design of DC voltage close loop control for an active power filter," in Proceedings of International Conference on Power Electronics and Drive Systems, vol. 2, pp. 565-570,1995.

[4] Z. Dong, L. Zheng-yu, and C. Guo-zhu, "Capacitor voltage control of shunt active power filter," Power Electronics, vol. 10, no. 41, 2007.

[5] H. Akagi and T. Hatada, "Voltage balancing control for a three-level diode-clamped converter in a medium-voltage transformerless hybrid active filter," IEEE Transactions on Power Electronics, vol. 24, no. 3, pp. 571-579, 2009.

[6] V. F. Corasaniti, M. B. Barbieri, P. L. Arnera, and M. I. Valla, "Hybrid active filter for reactive and harmonics compensation in a distribution network," IEEE Transactions on Industrial Electronics, vol. 56, no. 3, pp. 670-677, 2009.

[7] H. Akagi and R. Kondo, "A transformerless hybrid active filter using a three-level Pulsewidth Modulation (PWM) converter for a medium-voltage motor drive," IEEE Transactions on Power Electronics, vol. 25, no. 6, pp. 1365-1374, 2010.

[8] A. Luo, W. Zhu, R. Fan, and K. Zhou, "Study on a novel hybrid active power filter applied to a high-voltage grid," IEEE Transactions on Power Delivery, vol. 24, no. 4, pp. 2344-2352, 2009.

[9] P. T. Cheng, S. Bhattacharya, and D. M. Divan, "Control of square-wave inverters in high-power hybrid active filter systems," IEEE Transactions on Industry Applications, vol. 34, no. 3, pp. 458-472, 1998.

[10] R. Inzunza and H. Akagi, "A 6.6-kV transformerless shunt hybrid active filter for installation on a power distribution system," in Proceedings of the 35th Annual Power Electronics Specialists Conference (PESC'04), pp. 4630-4636, June 2004.

[11] A. Luo, Z. Shuai, W. Zhu, Z. J. Shen, and C. Tu, "Design and application of a hybrid active power filter with injection circuit," IET Power Electronics, vol. 3, no. 1, pp. 54-64, 2010.

[12] V. F. Corasaniti, M. B. Barbieri, P. L. Arnera, and M. I. Valla, "Hybrid power filter to enhance power quality in a mediumvoltage distribution network," IEEE Transactions on Industrial Electronics, vol. 56, no. 8, pp. 2885-2893, 2009.

[13] J. Dixon D.C. Link, "Fuzzy control for an active power filter, sensing the line current only," in Proceedings of the Annual Power Electronics Specialists Conference (PESC '97), vol. 2, pp. 1109-1114,1997.

[14] N. Hatti, K. Hasegawa, and H. Akagi, "A 6.6-kV transformerless motor drive using a five-level diode-clamped PWM inverter for energy savings of pumps and blowers," IEEE Transactions on Power Electronics, vol. 24, no. 3, pp. 796-803, 2009.

[15] I. M. Supratid, "A multi-subpopulation particle swarm optimization: a hybrid intelligent computing for function optimization," in Proceedings of the 3rd International Conference on Natural Computation (ICNC '07), vol. 5, pp. 679-684, August 2007.

[16] C. Fan and Y. Wan, "An adaptive simple particle swarm optimization algorithm," in Proceedinhs of the Chinese Control and Decision Conference (CCDC '08), pp. 3067-3072, July 2008.

[17] N. Dongxiao, G. Zhihong, and X. Mian, "Research on neural networks based on culture particle swarm optimization and its application in power load forecasting," in Proceedings of the 3rd International Conference on Natural Computation (ICNC '07), pp. 270-274, August 2007.

[18] L. Rui, G. Yirong, X. Yujuan, and L. Ming, "A novel multi-swarm particle swarm optimization algorithm applied in active contour model," in Proceedings of the WRI Global Congress on Intelligent Systems (GCIS '09), pp. 139-143, May2009.

Copyright of Journal of Control Science & Engineering is the property of Hindawi Publishing Corporation and its content may not be copied or emailed to multiple sites or posted to a listserv without the copyright holder's express written permission. However, users may print, download, or email articles for individual use.