DOI QR코드

DOI QR Code

Real time Implementation of SHE PWM in Single Phase Matrix Converter using Linearization Method

  • Karuvelam, P. Subha (Dept. of Electrical and Electronic Engineering, Government College of Engineering) ;
  • Rajaram, M. (Dept. of Electrical and Electronic Engineering, Anna University)
  • Received : 2014.10.04
  • Accepted : 2015.04.14
  • Published : 2015.07.01

Abstract

In this paper, a real time implementation of selective harmonic elimination pulse width modulation (SHEPWM) using Real Coded Genetic Algorithm (RGA), Particle Swarm Optimization technique (PSO) and a new technique known as Linearization Method (LM) for Single Phase Matrix Converter (SPMC) is designed and discussed. In the proposed technique, the switching frequency is fixed and the optimum switching angles are obtained using simple mathematical calculations. A MATLAB simulation was carried out, and FFT analysis of the simulated output voltage waveform confirms the effectiveness of the proposed method. An experimental setup was also developed, and the switching angles and firing pulses are generated using Field Programmable Gate Array (FPGA) processor. The proposed method proves that it is much applicable in the industrial applications by virtue of its suitability in real time applications.

Keywords

1. Introduction

Many applications such as industrial heating, light control, soft start induction motors and speed control of AC motors require continuously varying AC voltage from a fixed AC voltage source. AC voltage regulator with phase angle control and integral cycle control techniques is commonly employed for these requirements. The advantages of these techniques are simplicity, cost effectiveness, reliability and ability to control large amount of power. On the other hand, the delayed firing angle in these schemes causes the discontinuity in load current and higher value of lower order harmonics. To mitigate these problems, PWM AC choppers are preferred. In the PWM AC choppers, high switching frequency-based PWM is preferred for the system in which switching losses are endurable. Carrier-based Sine PWM (SPWM), Space Vector PWM (SVPWM) are examples of high switching frequency PWM techniques. Carrier based PWM technique is implemented in various ways such as sub-oscillation method and modified sub-oscillation method [1]. Low switching frequency based PWM is preferred for the system in which switching losses are intolerable and can tolerate the harmonics to certain extent. The low switching frequency is typically around the fundamental frequency of the output voltage. Selective Harmonic Elimination PWM (SHEPWM), Optimal Minimization of the Total Harmonic Distortion (OMTHD) and Optimized Harmonic Stepped Waveform (OHSW) are the examples of low switching frequency PWM techniques [1]. In these techniques, the AC chopper waveforms are analyzed using Fourier theory, and sets of nonlinear transcendental equations are derived and solved using any iterative procedure such as Newton-Rapson, Random search and Rosenbrocks method. The convergence of these techniques depends on the choice of initial values. Stochastic optimization techniques overcome the drawbacks, and they are used to find the global optimum solution with a short time searching. Colony Algorithm (BCA), Firefly Algorithm, Differential Evolution (DE) are some of the optimization techniques [2-11]. These techniques are used for SHE in AC/AC converter also [9-11]. Hopfield neural network-based approach is also used to solve the SHEPWM problem [12].

In Selective harmonic mitigation (SHMPWM), the selected harmonic contents are restricted to the values specified by grid codes EN50160 and CIGRE WG 36-05 [13]. In SHEPWM technique, N-1 number of harmonics can be eliminated for N switching angles but in SHMPWM, N2 number of harmonics can be limited to the values specified by any grid code for N switching angles.

Venturini & Alesina presented the basic configuration of the power circuit as a matrix of bidirectional switches that connect each load phase with the source phase. The authors introduced the name ‘matrix converter’ and proposed control theory known as Venturini modulation [14]. Different control techniques known as modified Venturini modulation, scalar control strategy, space vector modulation and carrier based modulation technique were proposed [15-21]. Zuckerberger introduced the single phase matrix converter for direct AC-AC conversion [22]. SPMC has extended its operation to inverter, boost rectifier, buck-boost rectifier and step up/down frequency conversion [23]. It employs the force-commutating or self-commutating devices.

In this paper, RGA and PSO are used for the SHE in SPMC. From the switching angle trajectory of RGA and PSO, a new technique called linearization method is proposed in this paper. The fundamental voltage, THD and the harmonic contents of the proposed technique are compared with RGA and PSO, and the results are tabulated.

 

2. Circuit Analysis

The single phase matrix converter consists of four switches SW1, SW2, SW3, SW4 and these are illustrated in Fig. 1(a). Bidirectional power flow in AC to AC converter demands the bidirectional switches that are capable of blocking voltages in both polarities and conduction of current in both directions. A discrete semiconductor fulfilling these requirements is not available in practice, and hence an antiparallel IGBT diode pair is used here. Theoretically, the switching is simultaneous and instantaneous. In real time, the finite switching times and delays in the circuit are taken into account.

Fig. 1.(a) Circuit diagram of SPMC; (b) Synthesized output voltage (50Hz) of single phase matrix converter

The input voltage and the output voltages are given b

The switching sequences for the output frequency of 50 and 100Hz are summarized in Table 1. At anytime ‘t’, two switches are in ON state.

Table 1.Switching sequences

Fig. 1(b) shows the ideal synthesized output voltage waveform of single phase matrix converter with the output frequency of 50Hz. The waveform possesses N switching angles between 0 and . Due to the square wave symmetry in the output waveform, all the even harmonics are eliminated and the odd harmonics alone are present in the output. In SHE technique with N switching angles, control of fundamental voltage and the elimination of N-1 selected lower order harmonics are done. In this paper, seven switching angles are generated.

 

3. Formulation of Transcendental Equations

The Fourier Series expansion of output voltage is

where An and Bn are the Fourier coefficients

n is the order of the harmonic. Vm is the peak value of the output voltage.

The fundamental coefficients A1 and B1 are expressed as

The coefficients An and Bn are expressed as

The output voltage is articulated as

where and

Let F(α) be the objective function to be minimized and is defined as

With the constraint

where modulation index

The objective function F(α) is minimized subject to the condition in Eq. (10). Hence the desired output voltage is regulated over the range 0 to Vm by changing the modulation index, and the selected harmonics up to 13th order are eliminated.

 

4. Real Coded Genetic Algorithm (RGA)

Genetic algorithm is inherently parallel because of simultaneous evaluation of many points in search space. Hence GA has reduced the chance of converging in local optima and more chance to converge in global optima [24]. Initially, GA was designed to operate with binary codes. Now real coded GA is used due to their supreme behavior such as reduced computational effort, absolute precision, etc. The steps involved in RGA-based approach are illustrated.

Step 1: Random generation of the initial population

Generating N switching angles is the solution to this problem. Each switching angle is a gene represented by real numbers. There are N genes in each chromosome. Each chromosome represents the solution to the problem. Population consists of sets of chromosomes. Population is initialized with random numbers between 0 and

Step 2: Evaluation of the fitness function

The objective function in this study is to minimize the selected harmonics, and hence fitness function has to be minimized. Since all optimization techniques are used only for the maximization problem, the fitness function is modified as below

Fitness of each chromosome is computed.

Step 3: Generation of offspring

Offspring is a new (Child) chromosome. From the fitness value of each chromosome, best parents are selected for reproduction. In this work, tournament selection is used as selection mechanism to avoid premature convergence. The selected parents are subjected to Simulated Binary Crossover (SBX) and polynomial mutation. Self- adaptive simulated binary crossover-based RGA was successfully applied to various engineering optimization problems [25].

Simulated Binary Crossover

In SBX crossover, two children solution yi(1) and yi(2) are wrought from the parent solution xi(1) and xi(2). The SBX operator simulates the working principle of the single point crossover on binary strings.

The spread factor β is defined as the ratio of absolute difference in child solutionyi(1) and yi(2) values to that of parents’ values xi(1) andxi(2) .

Polynomial probability distribution

nc is a non-negative real number known as crossover distribution index which represents the distance of the children from the parent.

Non-uniform polynomial mutation

Newly generated children undergo polynomial mutation operation with user-defined index parameter (nm) to create mutated offspring. New offspring yi is determined using equation

where and are the upper and lower limit values. δi is calculated from the polynomial probability distribution. The function is given by

nm is the mutation distribution index / mutation constant and random number ri ∈[0,1] . Newly generated offspring will become the population for the next generation. The procedure is repeated from Step 2 till the stopping criterion is reached. The parameters used in the algorithm are given in Table 2.

Table 2.Parameters used in RGA and PSO

Stopping criteria

The algorithm stops when any one of the following conditions occurs.

1) When the number of iterations performed by the RGA reaches the value of the maximum iteration. 2) When the number of evaluations performed by the RGA reaches the maximum number of evaluation. 3) When the change in the objective function from one generation to the next successful poll is less than the objective function tolerance.

 

5. Particle Swarm Optimization (PSO)

PSO is a population-based stochastic optimization technique developed by Eberhart and Kennedy inspired by the social behavior of bird flocking and fish schooling. The steps involved in PSO algorithm are given below.

Step 1: Random generation of the initial population

It begins with the initialization of particle position (switching angles) between 0 to and velocities in “N” dimensional space.

Step 2: Evaluation of the fitness function

In each iteration, the particle moves according to the velocity and changes its position. The fitness function is evaluated for each particle.

Step 3: Setting Pbest and Gbest

The best position reached among the particle during their search is the particle best (Pbest). The best fitness value reached by the particle in all the searches is the Global best (Gbest).

Step 4: Updating the velocity and the position of each particle

Let Vi and Xi represent the velocity and the position of ith particle. The velocity and the position of each particle are updated as given below.

where ωk - Inertia weight at iteration k , - Velocity of ith particle at iteration k, C1 and C2 - Acceleration factors, r1 and r2 - Uniform random numbers ∈[0,1] , - Best position of ith particle at iteration k , - Position of ith particle at iteration k, - Best position of the group till iteration k, ωmax and ωmin are initial and final weights, itermax - total number of iterations.

The procedure is repeated from Step 2 till t he stopping criterion is reached. The stopping criteria of RGA are applicable to PSO also. The parameters used in PSO algorithm are shown in Table 2.

 

6. Implementation of SHEPWM using the Proposed Linearization Method (LM)

In SHE technique, initially the objective function is formulated, and the formulated function is solved either using conventional techniques or any one of the optimization techniques. In both the techniques, the switching angles are derived offline only for certain number of modulation indices due to their large convergence time. These switching angles are stored in lookup table of any controller during real time applications. The required MI is approximated to the nearest MI which is stored in the controller and this leads to inaccurate control. The proposed linearization method overcomes this drawback.

The proposed algorithm is applicable for the system in which switching losses are intolerable and can tolerate the harmonics to the certain extent. In this technique, the objective function is not needed. From the switching angle trajectory of RGA and PSO shown in Fig. 3(a) and 3(b), it is observed that the variation of switching angles is almost linear irrespective of the number of angles [10]. Hence a pure linear switching angle trajectory is derived in LM and it shown in Fig. 4. From this trajectory, the switching angles are obtained for any modulation index. The steps involved in this technique are given below.

Step 1: Initialization of parameters

Number of switching angles = N Modulation Index = MI Lower Limit X1min = 0 Upper Limit XNmax = 90

Step 2: Calculation of lower and upper limits of each switching angles

Step 3: Determination of switching angles for the given MI

For any modulation index MI,

Fig. 3.Switching angle trajectory using RGA and PSO

Fig. 4.Switching angle trajectory using LM

The flow chart for the calculation of switching angles is shown in Fig. 2. This technique can be extended to any number of switching angles, and the modulation index can be changed in real time.

Fig. 2.Flowchart for the calculation of switching angles

6.1 Implementation of LM

The various steps involved in the implementation of LM are given below

Step 1: The required MI and number of switching angles are given to the controller.

Step 2: The controller generates the switching angles using Eqs. (23-30).

Step 3: The switching angles are compared with the carrier signal of fundamental frequency 50Hz and it is shown in Fig. 1(a).

Step 4: The output signals A to G of the comparator are used for the generation of gate pulses S1a to S4b. The circuit used for the gate pulse generation is shown in Fig. 6.

Fig. 6.Circuit diagram for the generation of gate pulses

Step 5: The generated gate pulses S1a to S4b are given to the SPMC.

 

7. Results and Discussions

To verify and validate the algorithms, programs are developed in MATLAB file code. The programs are run in Pentium-V computer operating at 1.4GHz clock speed. The single phase matrix converter is realized in MATLAB/Simulink environment with the following parameters Vimax =100V, R=30Ω, fin =50Hz, fout =50Hz.

Table 3 shows the harmonic contents of the order 3 to 13 for various modulation indices in RGA and PSO. The required fundamental voltage is obtained in both the techniques.

Table 3.Comparison of THD and harmonic contents for different MI using RGA and PSO

The seven output signals A to G from the comparator in simulation and hardware are shown in Fig. 5(a) and 5(b). From these seven signals, the eight gate pulses S1a to S4b for the SPMC are generated using the circuit shown in Fig. 6. The gate pulses generated in simulation and hardware are shown in Fig. 7(a) and 7(b). Fig. 8 shows the harmonic spectrum using RGA and PSO for the modulation index of 0.6. Fig. 9 and 10 show the harmonic spectrum of LM obtained for the modulation indices of 0.2, 0.4, 0.6 and 0.9 on the simulation and real time respectively. Fig. 8, 9 and Fig. 10 confirm that the fundamental voltage is equal to the required MI and the harmonic contents H3 to H13 are minimized. Fig. 11 shows the output voltage of SPMC for MI of 0.6 using LM on simulation and hardware. Fig. 12 shows the comparison of harmonic contents measured using RGA, PSO and LM on simulation as well as real time with that of the grid code EN50160 for the modulation index of 0.6 and it is clear that the harmonic contents are less than the value specified by the grid code. Fig. 13 shows the comparison of % THD using RGA, PSO and LM. It is observed that the THDs in all the techniques are almost the same. Fig. 14 shows the experimental setup of selective harmonic elimination of single phase matrix converter. Table 4 shows the comparison of various components using LM on simulation and hardware.

Fig. 5.(a) Output of the comparator in simulation for MI = 0.5; (b) Output of the comparator in hardware for MI = 0.5

Fig. 7.(a) Gate pulses for SPMC in simulation for MI = 0.5; (b) Gate pulses for SPMC in hardware for MI = 0.5

Fig. 8.Harmonic Spectrum of GA and PSO

Fig. 9.Harmonic Spectrum of LM for MI = 0.2, 0.4, 0.6 and 0.9 in simulation

Fig. 10.Harmonic Spectrum of LM for MI = 0.2, 0.4, 0.6 and 0. 9 in hardware

Fig. 11.Output Voltage on simulation and hardware with MI =0.6

Fig. 12.Comparison of Harmonic contents.

Fig. 13.Comparison of THD

Fig. 14.Experimental setup of SPMC for SHE

Table 4.Comparison between simulation and hardware results

The deviation in harmonic contents and fundamental voltage may be due to the fact that

1) The input frequency in simulation is 50Hz. In real time, the input frequency is 49.97Hz. 2) The switching angle decimal accuracy in simulation is four digits, but in real time it is two digits. 3) The ideal switches are used in the simulation where on-state resistance of the switches is zero. But in real time, the on-state resistance of the switch leads to on-state voltage drop.

 

8. Conclusion

A new technique known as Linearization Method is proposed in this paper for SHE in single phase matrix converter. From the results, the following conclusions are observed at:

1) The proposed algorithm is applicable for the system in which switching losses are intolerable and can tolerate the harmonics to a certain extent. The switching frequency is the fundamental output frequency of the system. 2) In this technique, the objective function is not needed. Hence the proposed method provides an alternative to engineering optimization problems, and the optimum switching angles are derived using simple calculations. 3) The selected harmonics in LM, RGA and PSO are less than that of grid code EN50160. 4) This technique can be extended to N switching angles and it eliminates N-1 selected harmonics for all modulation indexes. 5) This technique can be readily implemented in hardware and is suitable for real time applications.

References

  1. S. Hasmukh Patel and G. Richard Hoft, “Generalized techniques of Harmonic Elimination and Voltage Control in thyrister Inverters: I Harmonic elimination”, IEEE Trans. Ind. Appl, vol. IA-9, no. 3, pp. 310-317, June 1973. https://doi.org/10.1109/TIA.1973.349908
  2. P. Enjeti and J.F. Lindsay, “Solving Non-linear equation of harmonic elimination PWM in power control”, IEE Electronics Letters, vol. 23, pp. 656-657, June 1987. https://doi.org/10.1049/el:19870469
  3. J. N. Chiasson, L. M Tolbert., K. J. Mc Kenzie and Zhong Du, “A complete Solution to the Harmonic elimination Problem,” IEEE Trans. Power Electron, vol. 19, no. 2, pp. 491-499, Mar. 2004. https://doi.org/10.1109/TPEL.2003.823207
  4. J.N. Chiasson, L.M Tolbert, K.J. Mc Kenzie and Zhong Du, “Elimination Harmonics in a multilevel converter using the theory of symmetric polynomials and control systems,” IEEE Trans. control sys. Technol, vol. 13, no. 2, pp. 216-223, Mar. 2005. https://doi.org/10.1109/TCST.2004.839556
  5. M. G Hosseini Aghdam, S. H Fathi and G. B Gharehpetian, “Elimination of harmonics in a multi LevelInverter with Unequal DC sources Using the Homotopy Algorithm,” IEEE Int. symp. ISIE2007, 2007, pp. 578-583.
  6. Zhang, Wenyi, “Analyzing of voltage-source selective harmonic elimination inverter”, in Proc. ICMA2011, 2011, pp. 1888-1892.
  7. Jin Wang and Damoun Ahmadi, “A precise and Practical Harmonic Elimination Method for Multi-level Inverters,” IEEE Trans. Ind. Appl., vol. 46, no. 2, pp. April 2010.
  8. D. Ahmadi, “A Universal Selective Harmonic Elimination Method for High-Power Inverters”, IEEE Trans. on Power Electron, vol. 26, no. 10, pp. 2743-2752, Oct. 2011. https://doi.org/10.1109/TPEL.2011.2116042
  9. A K. Al-Othman, N. A Ahamed, Al-Kandari and Ebraheem, “Selective harmonic Elimination on PWM AC/AC voltage regulator using Hybrid RGA-PS approach”, Int J. of Electr. And Electron. Eng, vol. 1, no. 4, pp. 227-233, Dec 2007.
  10. M.S.A. Dahidah and M.V.C. Rao, “Hybrid Genetic Algorithm for selective harmonic elimination PWM AC/AC control”, J. of Electr Eng.,Vol. 89, no. 4, pp. 285-291, March 2007. https://doi.org/10.1007/s00202-006-0003-9
  11. Wanchai Khamsen, Apinan Aurasopon and Worawar Sa-ngiamvibool, “Power factor improvement and voltage Harmonic reduction in PWM AC chopper using Bee Colony Optimization”, IETE Tech. review, vol. 30, no. 3, June 2013.
  12. James A. Anderson, “An Introduction to Neural Networks” Prentice Hall of India, New Delhi-1, 1998, pp. 401-416.
  13. Javier Napoles, J.I Leon, Ramon, L.G. Franquelo and M.A. Aguirre, “Selective harmonic Mitigation Technique for High-Power Converters”, IEEE Trans. on Ind. Electr”, Vol. 57, no. 7, pp. 2315-2323, July 2010. https://doi.org/10.1109/TIE.2009.2026759
  14. Venturini, M and Alesina, A, “The Generalized Transformer: A New Bidirectional Sinusoidal Waveform Frequency Converter with Continuously Adjustable Input Power Factor”, Proceedings of the IEEE conference on PESC, pp. 242-252, 1980.
  15. Alesina, A and Venturini, M, ‘Analysis and design of optimum –amplitude nine- switch direct AC-AC converters’, IEEE Transactions on Power Electronics, vol. 4, no. 1, pp. 101-112, 1989. https://doi.org/10.1109/63.21879
  16. Roy, G and April, GE, ‘Direct frequency changer operation under new scalar control algorithm’, IEEE Transactions on Power Electronics, vol. 6, no. 1, pp. 100-107, 1991. https://doi.org/10.1109/63.65008
  17. Huber, L and Borojevic, D, ‘Space Vector modulated three phase to three phase matrix converter with input power factor correction’, IEEE Transactions on Industry Applications, vol. 31, no. 6, pp. 1234-1246, 1995. https://doi.org/10.1109/28.475693
  18. Young-Doo Yoon and Seung-KiSul ‘Carrier Based Modulation Technique for Matrix Converter’, IEEE Transactions on Power Electronics, vol. 21, no. 6, pp. 1691-1703, 2006. https://doi.org/10.1109/TPEL.2006.882935
  19. Nguyen. T. D and Hong Hee Lee, ‘Dual Three-Phase Indirect Matrix Converter With Carrier-Based PWM Method’, IEEE Transactions on Power Electronics, vol. 29, no. 2, pp. 569-581, 2014. https://doi.org/10.1109/TPEL.2013.2255067
  20. Potamianos, P.G., Mitronikas, E.D. and Safacas, A.N., ‘Open-Circuit Fault Diagnosis for Matrix Converter Drives and Remedial Operation Using Carrier-Based Modulation Methods’, IEEE Transactions on Industrial Electronics, vol. 61, pp. 531-545, 2014. https://doi.org/10.1109/TIE.2013.2240639
  21. Jose Rodriguez, Marco Rivera, Johan W. Kolar and Patrick W. Wheeler, “A Review of Control and Modulation Methods for Matrix Converters”, IEEE Transactions on Industrial Electronics, Vol. 59, no. 1, 2012.
  22. Zuckerberger, A, Weinstock, D and Alexandrovitz, A, ‘Single-phase Matrix Converter’, IEE Proc. Electric Power Applications, Vol. 144, no. 4, pp. 235-240, 1997. https://doi.org/10.1049/ip-epa:19970848
  23. Divya Ahirrao, Bhagyashri Gaware, Prajakta Kakade, Pratiksha Kharade, and Sandeep Chawda,’ Analysis of Single Phase Matrix Converter’, Int. Journal of Engineering Research and Applications, vol. 4, pp. 856-861, 2014.
  24. M.Willuice Iruthayaraan and S.Baskar, “Evolutionary algorithm based design of multivariable PID controllers”, Expert Systems with applications, Vol. 36, pp. 9159-91677, July 2009. https://doi.org/10.1016/j.eswa.2008.12.033
  25. Deb K, “Multi-objective optimization using evolutionary algorithms”, Wiley, Chichester, U.K., 2001.