15
RESEARCH ARTICLE DSPWM multilevel technique of 27levels based on FPGA for the cascaded DC/AC power converter operation N.M. SalgadoHerrera 1 | J. Aurelio MedinaRíos 1 | Roberto TapiaSánchez 1 | Olimpo AnayaLara 2 | J.R. RodríguezRodríguez 3 1 Facultad de Ingeniería Eléctrica, División de Estudios de Posgrado, Universidad Michoacana de San Nicolás de Hidalgo, Morelia, Mexico 2 Department of Electronic and Electrical Engineering, Institute for Energy and Environment, University of Strathclyde, Glasgow, UK 3 Department of Electrical Energy, National Autonomous University of Mexico (UNAM), Mexico City, Mexico Correspondence Nadia Maria SalgadoHerrera, Facultad de Ingeniería Eléctrica, División de Estudios de Posgrado, Universidad Michoacana de San Nicolás de Hidalgo, CP 58030 Morelia, Michoacán, Mexico. Email: [email protected]; [email protected] Summary In this paper, a digital sinusoidal pulse width modulation (DSPWM) multilevel technique of 27levels based on field programmable gate array (FPGA) is introduced, as an alternative to control of the direct current/alternating current multilevel power converters. The implementation of this technique with an FPGA XC3S500E model is achieved in the Xilinx Spartan3E FPGA platforms. An experimental prototype is implemented by 3cascaded Hbridges controlled by the DSPWM multilevel technique, generating high efficiency, low cost, and lower harmonic content. The efficiency of the DSPWM multilevel technique using R, RL, RC, and RLC loads connected to the power network is verified. KEYWORDS cascaded DC/AC converters, DSPWM, FPGA, multilevel Hbridges 1 | INTRODUCTION Through the years, the research attention in the direct current/alternating current (DC/AC) multilevel power converters controlled by pulse width modulation (PWM) has increased, in merit to identify technical advantages in the power quality problems solution. 1 Among the different types of multilevel topologies of the DC/AC power converters, 3 are considered, ie, diode clamped, flying capacitor, and cascaded Hbridge. 2 Then, when the multilevel signal implementation is required with a low harmonic content, the cascaded Hbridge topology is used. This topology appeared for the first time 3 in 1975, and this is mainly implemented because it is possible to generate a greater number of levels with a lesser number of switches and electronic components. 4,5 Subsequently, the total harmonic content is lower among the number of levels containing a sinusoidal signal. 6,7 In addition, the series connection of multilevel power converters reduces the voltage stress of each switch in the Hbridge module, making DC/AC multilevel converters suitable for high power applications. Several types of modulation methods have been proposed for multilevel converters on the basis of 2 approaches, ie, PWM and vector modulation. The vector modulation method generates the converter commutation states from a refer- ence vector; its implementation is more complex and it is more computationally demanding, as this technique requires the coding of N 3 different voltage combinations for the output voltage generation of Nlevels. 8 The PWM is generated by the comparison of modulated and carrier signals. In the multilevel signal generation, several carriers are used; its advan- tage is the implementation simplicity and low computational cost, because to generate a multilevel signal of nlevels, it is only necessary the comparison between a modulated signal and n1 carriers. 9 Received: 12 September 2016 Revised: 30 August 2017 Accepted: 28 September 2017 DOI: 10.1002/etep.2479 Int Trans Electr Energ Syst. 2018;28:e2479. https://doi.org/10.1002/etep.2479 Copyright © 2017 John Wiley & Sons, Ltd. wileyonlinelibrary.com/journal/etep 1 of 15

DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

Received: 12 September 2016 Revised: 30 August 2017 Accepted: 28 September 2017

RE S EARCH ART I C L E

DOI: 10.1002/etep.2479

DSPWMmultilevel technique of 27‐levels based on FPGA forthe cascaded DC/AC power converter operation

N.M. Salgado‐Herrera1 | J. Aurelio Medina‐Ríos1 | Roberto Tapia‐Sánchez1 |

Olimpo Anaya‐Lara2 | J.R. Rodríguez‐Rodríguez3

1Facultad de Ingeniería Eléctrica, Divisiónde Estudios de Posgrado, UniversidadMichoacana de San Nicolás de Hidalgo,Morelia, Mexico2Department of Electronic and ElectricalEngineering, Institute for Energy andEnvironment, University of Strathclyde,Glasgow, UK3Department of Electrical Energy,National Autonomous University ofMexico (UNAM), Mexico City, Mexico

CorrespondenceNadia Maria Salgado‐Herrera, Facultad deIngeniería Eléctrica, División de Estudiosde Posgrado, Universidad Michoacana deSan Nicolás de Hidalgo, CP 58030 Morelia,Michoacán, Mexico.Email: [email protected];[email protected]

Int Trans Electr Energ Syst. 2018;28:e2479.https://doi.org/10.1002/etep.2479

Summary

In this paper, a digital sinusoidal pulse width modulation (DSPWM) multilevel

technique of 27‐levels based on field programmable gate array (FPGA) is

introduced, as an alternative to control of the direct current/alternating current

multilevel power converters. The implementation of this technique with an

FPGA XC3S500E model is achieved in the Xilinx Spartan‐3E FPGA platforms.

An experimental prototype is implemented by 3‐cascaded H‐bridges controlled

by the DSPWM multilevel technique, generating high efficiency, low cost, and

lower harmonic content. The efficiency of the DSPWM multilevel technique

using R, RL, RC, and RLC loads connected to the power network is verified.

KEYWORDS

cascaded DC/AC converters, DSPWM, FPGA, multilevel H‐bridges

1 | INTRODUCTION

Through the years, the research attention in the direct current/alternating current (DC/AC) multilevel powerconverters controlled by pulse width modulation (PWM) has increased, in merit to identify technical advantages inthe power quality problems solution.1 Among the different types of multilevel topologies of the DC/AC powerconverters, 3 are considered, ie, diode clamped, flying capacitor, and cascaded H‐bridge.2 Then, when the multilevelsignal implementation is required with a low harmonic content, the cascaded H‐bridge topology is used. This topologyappeared for the first time3 in 1975, and this is mainly implemented because it is possible to generate a greater numberof levels with a lesser number of switches and electronic components.4,5 Subsequently, the total harmonic content islower among the number of levels containing a sinusoidal signal.6,7 In addition, the series connection of multilevelpower converters reduces the voltage stress of each switch in the H‐bridge module, making DC/AC multilevelconverters suitable for high power applications.

Several types of modulation methods have been proposed for multilevel converters on the basis of 2 approaches, ie,PWM and vector modulation. The vector modulation method generates the converter commutation states from a refer-ence vector; its implementation is more complex and it is more computationally demanding, as this technique requiresthe coding of N3 different voltage combinations for the output voltage generation of N‐levels.8 The PWM is generated bythe comparison of modulated and carrier signals. In the multilevel signal generation, several carriers are used; its advan-tage is the implementation simplicity and low computational cost, because to generate a multilevel signal of n‐levels, it isonly necessary the comparison between a modulated signal and n‐1 carriers.9

Copyright © 2017 John Wiley & Sons, Ltd.wileyonlinelibrary.com/journal/etep 1 of 15

Page 2: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

2 of 15 SALGADO‐HERRERA ET AL.

To achieve this aim, the DC/AC multilevel converters control has been progressively migrated from analog to digitaloperation10; ie, the digital modulation techniques are quickly becoming the most generalized framework in modernpower electronics applications. Digital sinusoidal pulse width modulation (DSPWM) is a modulation technique createdby the internal generation of the modulated and carrier signals in a digital controller. Hence, different digital controllers,such as microprocessors, digital signal processor (DSP), application‐specific integrated circuits, and field programmablegate array (FPGA), are gaining importance in power electronics applications,11 as these allow the DSPWM to be imple-mented easily with advantages in terms of better performance, reduction of harmonic distortion, and low cost of exper-imental prototypes. However, the operation of some digital controllers is linked to disadvantageous issues; eg, the use ofapplication‐specific integrated circuits is sometimes an effective solution in applications designed for large markets, sinceits development cost is only justified by large volumes. In DSPs, the execution time synchronization is complex, and inmicrocontrollers, the generation of multiple output signals is insufficient.12,13

The importance of developing digital controllers in low‐level programming devices (direct control over hardware),such as FPGAs, in the control of switching power converters, remains in the concurrency advantages (it allows the divi-sion of complex logical algorithms in a large number of small tasks, which are simultaneously solved)14-17; ie, it is pos-sible the control of multiple switches with high processing speed. This is ideal when a very high switching frequency andbandwidth are required. At the same time, the FPGA is dynamically and partially reconfigurable, a fact that can beexploited to reduce the total power consumption. The hardware reconfiguration allows the constantly nonrequired func-tions to be stored in a low power memory, and these with the predefined register in the FPGA are configured.18 Besides,the VHDL (combination between VHSIC [very high speed integrated circuits] and HDL [hardware description lan-guage]) is designed and optimized to describe the behavior of digital systems, which ranges from simple logic gates tocustom chips.19 When the VHDL language is combined with the characteristics of an FPGA as concurrency and recon-figuration, it allows feasible and efficient implementations of DSPWM control, in merit to its flexibility, versatility, andsimplicity properties.20

The DSPWM multilevel technique can be applied in some research works, such as the following: In previous stud-ies,21-23 research investigation on cascaded H‐bridge multilevel converters of 27‐levels controlled by DSPs is reported,thus generating a complex synchronization of execution time and an excess of unnecessary software, due to the DSPserial programming process. In Gupta and Jain,24 a DC/AC multilevel converter topology that gets all the additiveand subtractive combinations of the input DC levels in a real‐time simulator is proposed. However, the authors presentthe multilevel topology simulation generating of 9‐ and 27‐levels, but only an experimental prototype to generate 9‐levelsis implemented, which is acceptable but not enough, since the control strategy to generate 27‐levels through the pro-posed topology is not detailed. In Raveendhra et al,25 the control of cascaded H‐bridge in a photovoltaic system basedon sinusoidal PWM techniques through an FPGA is reported. This is a potential application; however, the authors onlyreport the system simulation. In Renukadevi and Rajambal,26 the control of a voltage source inverter with multileveltechnique is performed using the space vector PWM technique in an FPGA; nevertheless, the authors generate only a5‐levels multilevel signal, which generates a higher total harmonic distortion (THD) in the AC network. To reduce thisTHD, the number of levels in the output voltage must be increased; this results in an increase of unnecessary software.

In this paper, a DSPWMmultilevel technique of 27‐levels based on the Xilinx Spartan‐3E FPGA platform (XC3S500Emodel) is implemented, as an alternative of control to a DC/AC multilevel power converter formed by 3‐cascaded H‐

bridges, for the THD reduction in different load types. The paper scope is enhanced with the incorporation of R, RL,RC, and RLC loads in the power system. Through the parallel data processing of the FPGA architecture, a good resolu-tion, high efficiency, low harmonic content, and low cost are acquired in the prototype implementation. The paper orga-nization is as follows: In Section 2, the technical implementation of the DSPWMmultilevel signal of 27‐levels is detailed;in Section 3, the DSPWM multilevel signal simulation of 27‐levels is presented; in Section 4, the results of the prototypeimplementation detailed in Section 2 are given and analyzed; and finally, in Section 5, the main conclusions of thisresearch work are drawn.

2 | DSPWM MULTILEVEL TECHNIQUE DESCRIPTION

Different types of multilevel modulation methods are already well established. The phase shifted PWM, phase disposi-tion PWM, phase opposition disposition PWM, and selective harmonic elimination PWM are some examples of sinusoi-dal PWM methods. The phase shifted PWM, phase disposition PWM, and phase opposition disposition PWM multilevelmethods in the power converters controlled with high frequency switching are applied; the selective harmonic

Page 3: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

SALGADO‐HERRERA ET AL. 3 of 15

elimination PWM technique is applied in converters with very high power, controlled through low frequency switchingalgorithms.27-29 In this paper, the DSPWM implementation is made on the basis of the phase disposition method, sincethis modulation method achieves a lower THD with a higher number of voltage levels in the output signal, in compar-ison to the methods cited in Eremia et al.30

The DSPWM generation signal is achieved through direct comparison of a sinusoidal reference signal (modulatingsignal) and a high frequency triangular signal (carrier signal).

The DSPWM multilevel generation is represented by the expression

nL ¼ n−1; (1)

where n is the number of levels. The modulation indexma is generated from the carrier signal frequency fc, and the mod-ulating signal frequency fm is

ma ¼ f Cf m

: (2)

Its function is to reduce stress on the converter switching devices due to high power handling. This is achieved byproperly executing the gating signals for the switches control. These modulation techniques need more computationalcapacity; this requirement is satisfied when the modulation technique in an FPGA is implemented.

2.1 | Modulated signal formation

The modulation signal has a frequency of 60 Hz; it is created by the data stored in ROM, corresponding to the sinusoidalsignal peak‐to‐peak amplitude. This amount of data has been selected for high precision of the modulation signal.Table 1 shows the stored content in ROM.

An array of 500 locations in the ROM is selected from Table 1. The FPGA model XC3S500E operates at 50 MHz; sincea sinusoidal modulation signal of 60 Hz is needed, then this frequency is decreased. The base modulation signal fre-quency fBMS is obtained as

f BMS ¼f FPGAf SMS

; (3)

where fFPGA is the frequency to operate the FPGA model XC3S500E and fSMS is the frequency of the sinusoidalmodulation signal.

Finally, the 500 data stored in ROM are assigned by the base modulation signal frequency as

f DS ¼f BMS

500; (4)

where fBMS is the base modulation signal frequency and fDS is the frequency of stored data in ROM.Table 2 shows the process to generate the base modulated signal frequency; this is achieved with fDS by using a

counting process of 1666 clock cycles. Table 3 details the process followed to select the 500 ROM locations. In Table 4,

TABLE 1 Modulation signal storage in ROM

Page 4: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

TABLE 2 Modulation signal at 60 Hz

TABLE 3 Location selection process in ROM

TABLE 4 Location value assignment in ROM

4 of 15 SALGADO‐HERRERA ET AL.

the process of value assignation in the corresponding ROM locations to generate the sinusoidal signal is shown. Thedescribed tasks in Tables 2–4 are simultaneously processed by the FPGA. The stored data in ROM are continuouslyassigned every 1666 clock cycles. Therefore, the advantages of simplicity, efficiency, versatility, and flexibility areachieved.

Page 5: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

TABLE 5 Carrier signal frequency process

TABLE 6 Carrier signal creation process

FIGURE 1 Generation of digital sinusoidal pulse width modulation (DSPWM) multilevel signal

SALGADO‐HERRERA ET AL. 5 of 15

Page 6: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

FIGURE 2 Simulation of digital

sinusoidal pulse width modulation

(DSPWM) signal of 27‐levels

6 of 15 SALGADO‐HERRERA ET AL.

2.2 | Carrier signals formation

Triangular carriers were synthesized using the master clock pulses of the FPGA, which may run at 50 MHz. The carriersignal frequency is 10 times higher than the modulating signal frequency; therefore, the signal carrier frequency fSC isobtained as

f SC ¼ f FPGAf DSð Þ�10; (5)

where fFPGA is the frequency to operate the FPGA model XC3S500E and fDS is the 500 data stored in ROM.Table 5 shows the process to generate the carrier signal base frequency by 4 and 5. By increasing its level to a max-

imum T, the main triangular waveform (carrier) is generated and then decreasing it to zero following a stair pattern. Thissequence is continuously repeated until the overall process stops, as shown in Table 6.

FIGURE 3 Flow diagram of the digital

sinusoidal pulse width modulation

(DSPWM) multilevel signal

Page 7: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

SALGADO‐HERRERA ET AL. 7 of 15

Carrier

Carrierþ 350→Carrier 1ð ÞCarrierþ 700→Carrier 2ð ÞCarrierþ 1050→Carrier 3ð Þ:

:

:

Carrierþ 8050→Carrier 24ð ÞCarrierþ 8400→Carrier 25ð ÞCarrierþ 8750→Carrier 26ð Þ:

(6)

To form each of the remaining triangular signals, an offset is added to the main triangular signal until reaching thepeak value, as shown in 6. The modulating signal and the sum of n carrier signals must have the same peak‐to‐peakamplitude. Finally, the sinusoidal modulation signal is continuously compared against each of the n carrier signals,

FIGURE 4 Topological states of an H‐

bridge converter. A, H‐bridge model. B,

+VDC state. C, −VDC state. D, 0 state. E, 0

state

Page 8: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

8 of 15 SALGADO‐HERRERA ET AL.

generating a train of on‐to‐off switching pulses. That is, if the reference is larger than n carrier signals, then the pulse isactive, but if the reference is smaller than n carrier signals, then the pulse is turned off, ie,

Modulated > Carrier nð Þ→ DSPWM ¼ 1 (7a)

Modulated < Carrier nð Þ→ DSPWM ¼ 0: (7b)

The diagram of Figure 1 shows the generation of the DSPWM signals; these are required to control the 12 switches(insulated‐gate bipolar transistors, IGBTs) of the DC/AC multilevel converter formed by the 3‐cascaded H‐bridges.

The 12 switching signals are implemented in the FPGA (these signals come from the comparison of the modulatedsignal and the 26 carrier signals, as shown in Figure 1), because of the required combinational logic complexity for thecorrect turn on/off of the IGBTs corresponding to the AC/DC multilevel converter.

TABLE 7 Combination of witches in the direct current/alternating current converter using 3‐cascaded H‐bridges

Level Number VDC

H‐bridge 1+VDC = ST11ST13

H‐bridge 20 = ST22ST23

H‐bridge 3−VDC = ST32ST34

9 3 1 ST11 ST12 ST13 ST14 ST21 ST22 ST23 ST24 ST31 ST32 ST33 ST34

13 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0

12 1 1 0 1 0 1 0 1 0 1 0 0 1 1 0

11 1 1 −1 1 0 1 0 1 0 1 0 0 1 0 1

10 1 0 1 1 0 1 0 0 1 1 0 1 0 1 0

9 1 0 0 1 0 1 0 0 1 1 0 0 1 1 0

8 1 0 −1 1 0 1 0 0 1 1 0 0 1 0 1

7 1 −1 1 1 0 1 0 0 1 0 1 1 0 1 0

6 1 −1 0 1 0 1 0 0 1 0 1 0 1 1 0

5 1 −1 −1 1 0 1 0 0 1 0 1 0 1 0 1

4 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0

3 0 1 0 0 1 1 0 1 0 1 0 0 1 1 0

2 0 1 −1 0 1 1 0 1 0 1 0 0 1 0 1

1 0 0 1 0 1 1 0 0 1 1 0 1 0 1 0

0 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0

−1 0 0 −1 0 1 1 0 0 1 1 0 0 1 0 1

−2 0 −1 1 0 1 1 0 0 1 0 1 1 0 1 0

−3 0 −1 0 0 1 1 0 0 1 0 1 0 1 1 0

−4 0 −1 −1 0 1 1 0 0 1 0 1 0 1 0 1

−5 −1 1 1 0 1 0 1 1 0 1 0 1 0 1 0

−6 −1 1 0 0 1 0 1 1 0 1 0 0 1 1 0

−7 −1 1 −1 0 1 0 1 1 0 1 0 0 1 0 1

−8 −1 0 1 0 1 0 1 0 1 1 0 1 0 1 0

−9 −1 0 0 0 1 0 1 0 1 1 0 0 1 1 0

−10 −1 0 −1 0 1 0 1 0 1 1 0 0 1 0 1

−11 −1 −1 1 0 1 0 1 0 1 0 1 1 0 1 0

−12 −1 −1 0 0 1 0 1 0 1 0 1 0 1 1 0

−13 −1 −1 −1 0 1 0 1 0 1 0 1 0 1 0 1

Page 9: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

SALGADO‐HERRERA ET AL. 9 of 15

3 | DSPWM MULTILEVEL SIGNAL SIMULATION OF 27 ‐LEVELS

Figure 2 shows the simulation of DSPWMmultilevel signal of 27‐levels. The control technique at the FPGA output has amaximum peak‐to‐peak voltage of 3.3 V. The waveform simulation of Figure 2 is obtained with the Xilinx platform.

Figure 3 shows the flow diagram that describes the DSPWM multilevel signal. It contains the described codes inTables 1–6.

4 | IMPLEMENTING THE DSPWM SIGNAL OF 27 ‐LEVELS

The main advantages linked to the construction of multilevel topologies are the generation of high‐quality output volt-ages, the power increase, the THD mitigation, and the reduction of voltage stress in power switching devices.31-33

In this contribution, the DSPWM multilevel modulation technique is applied in the cascaded H‐bridge topology ofFigure 4; its operating principle is explained through an H‐bridge.34 The H‐bridge of Figure 4A consists of 4 switchesST1, ST2, ST3, and ST4. Switches ST1 and ST3 operate complementarily to ST2 and ST4, producing 3 different output voltagesthrough the switching control; the output voltages are +VDC, 0, and −VDC. In Figure 4B, the switches ST1 and ST3 areturned on to generate +VDC. In Figure 4C, switches ST2 and ST4 are turned on to produce −VDC and to generate 0 V.Two options can be followed, ie, switches ST1 and ST4 (Figure 4D) or ST2 and ST3 are turned on (Figure 4E). It is possibleto choose any of these configurations without modifying the final waveforms. For this research work, the configurationof Figure 4E is selected.

To obtain 27‐levels in the DC/AC multilevel converter output using 3‐cascaded H‐bridges units, 3 different DC volt-age sources are used; ie, in the H‐bridge 1, the DC voltage source 1 is 9 times higher than the DC voltage source 3 of the

TABLE 8 Combinational logic corresponding to each insulated‐gate bipolar transistor of cascaded H‐bridges

SwitchNumber Corresponding Combinational Logic

ST11 (DSPWM18)

ST12 NOT (ST11)

ST13 NOT (DSPWM9)

ST14 NOT (ST13)

ST21 [(DSPWM24)] OR [(NOT (DSPWM18)) AND (DSPWM15)] OR[(DSPWM9) AND (NOT (DSPWM6))]

ST22 NOT (ST21)

ST23 [(DSPWM21)] OR [(NOT (DSPWM18)) AND (NOT (DSPWM12))] OR[(DSPWM9) AND (NOT (DSPWM3))]

ST24 NOT (ST23)

ST31 [(DSPWM26)] OR [(NOT (DSPWM24)) AND (DSPWM23)] OR[(NOT (DSPWM21)) AND (DSPWM20)] OR [(NOT (DSPWM18)) AND (DSPWM17)] OR [(NOT (DSPWM15)) AND (DSPWM14)]OR

[(DSPWM12) AND (NOT (DSPWM11))] OR [(DSPWM9) AND (NOT (DSPWM8))] OR [(DSPWM6) AND (NOT (DSPWM5))] OR[(DSPWM3) AND (NOT (DSPWM2))]

ST32 NOT (ST31)

ST33 [(DSPWM25)] OR [(NOT (DSPWM24)) AND (DSPWM22)] OR[(NOT (DSPWM21)) AND (DSPWM19)] OR [(NOT (DSPWM18)) AND (DSPWM16)] OR [(NOT (DSPWM15)) AND(NOT (DSPWM13))] OR[(DSPWM12) AND (NOT (DSPWM10))] OR [(DSPWM9) AND (NOT (DSPWM7))] OR [(DSPWM6) AND (NOT (DSPWM4))] OR[(DSPWM3) AND (NOT (DSPWM1))]

ST34 NOT (ST33)

Abbreviation: DSPWM, digital sinusoidal pulse width modulation.

Page 10: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

10 of 15 SALGADO‐HERRERA ET AL.

H‐bridge 3, and in the H‐bridge 2, the DC voltage source 2 is 3 times higher than the DC voltage source 3 of the H‐bridge3. The DSPWM implementation applied to the DC/AC multilevel converter is performed using a XC3S500E FPGA andVHDL.

In Table 7, the turn on/off of each IGBT of the 3‐cascaded H‐bridges is specified. The used combinational logic for thecorrect IGBTs switching is shown in Table 8. Figure 5 shows the circuits corresponding to the used combinational logicfor the correct IGBT switching. Figure 5A shows the combinational logic to generate the train of pulses applied to theIGBTs of the H‐bridge 1, Figure 5B illustrates the combinational logic applied to the IGBTs of the H‐bridge 2, andFigure 5C shows the combinational logic for the IGBTs of the H‐bridge 3.

Figure 6 shows the 3‐cascaded H‐bridges configurations and the equivalent circuit corresponding to generate a mul-tilevel output signal of 27‐levels.

The general output of the DC/AC multilevel converter of Figure 6 is given by

VOUT ¼ ST1 þ 3ST2 þ 9ST3ð ÞVDC (8a)

VOUT ¼ ∑2

n¼03nð Þ ST

�VDCð Þ; (8b)

where ST = ε{−1, 0, 1}, VDC is the DC voltage, and VOUT is the DC/AC converter output voltage.

FIGURE 5 Circuits corresponding to the used combinational logic of Table 8. A, Combinational logic of H‐bridge 1. B, Combinational logic

of H‐bridge 2. C, Combinational logic of H‐bridge 3. DSPWM, digital sinusoidal pulse width modulation

Page 11: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

FIGURE 6 Three‐cascaded H‐bridges configuration and equivalent circuit corresponding

FIGURE 7 The digital sinusoidal pulse width modulation output of 27‐levels to single‐phase unfiltered H‐bridge direct current/alternating

current (DC/AC) converter. A, Total output voltage. B, Voltage zooms

FIGURE 8 Types of loads tested in the digital sinusoidal pulse width modulation of 27‐levels experimental prototype. A, R load. B, RL load.

C, RC load. D, RLC or second‐order load

SALGADO‐HERRERA ET AL. 11 of 15

Page 12: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

12 of 15 SALGADO‐HERRERA ET AL.

The DC/AC multilevel converters can generate a close to sinusoidal output voltage, depending on the number of sig-nal voltage levels.35,36 Figure 7A shows output voltage of the DC/AC multilevel converter of 27‐levels (formed by 3‐cas-caded H‐bridges). This is close to the sinusoidal waveform generated by a 312‐V peak‐to‐peak voltage with a DC inputvoltage of 156 V. Figure 7B shows a voltage zoom.

It is important to mention that, since the power electronic converter internally generates series parasite resistances,its output voltage varies with the connection of different types of loads, even if the voltage supply remains constant. Inthe proposed DC/AC multilevel converter, the series resistances depend on the filtered elements, the series impedance ofthe DC voltage supply, and the conduction and switching losses of the semiconductor devices. For this case, an error of3% in the I2R losses is considered, because of the no load and full load variations, with efficiencies between 94% and 97%being generated.

The different types of load (ZLOAD) considered as impedances in the experimental prototype are shown in Figure 8.Table 9 gives the prototype and hardware data used in the experimental implementation.

TABLE 9 Prototype and hardware values

Converter Power 400 W

VOUT 110 VRMS

THD (VOUT) 3.06%

DC voltage sources VDC1 12 VVDC2 36 VVDC3 108 V

Types of load R 20RL R = 20 Ω XL = 20 ΩRC R = 20 Ω XC = 20 ΩRLC R = 30 Ω XL = 12.3 Ω XC = 240 Ω

IGBT G4PC40UD‐E

FPGA XC3S500E model

Abbreviations: DC, direct current; FPGA, field programmable gate array; IGBT, insulated‐gate bipolar transistor; THD, total harmonic distortion.

FIGURE 9 Electric variables involved in the direct current/alternating current energy conversion process. A, DSPWM pulse train

generated by FPGA. B, Voltages formed by the 3‐cascaded H‐bridges. C, Voltage and current with R load. D, Voltage and current with RL

load. E, Voltage and current with RC load. F, Voltage and current with RLC load

s

Page 13: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

SALGADO‐HERRERA ET AL. 13 of 15

To analyze the waveforms of the involved electric variables in the DC/AC conversion by the multilevel converter,different connection nodes are selected between the 27‐levels modulation process and the load.

Figure 9 shows the experimental results of the selected connection nodes. In particular, in Figure 9A, the 3 DSPWMpulse trains, ie, ST11 (yellow), ST21 (cyan), and ST31 (pink), generated by FPGA (corresponding to the first IGBT of each ofthe 3‐cascaded H‐bridge) are shown. Figure 9B illustrates the behavior of VT1 (yellow), VT2 (cyan), and VT3 (pink) volt-ages formed by the H‐bridge converters. Please notice the generation of 3 voltage levels. Besides, the changes in topolog-ical states are inversely proportional to DC voltage of each H‐bridge converter. The response of the total output voltageand the load current (yellow and cyan, respectively) for different loads is given in Figure 9C‐E, generated by the R, RL,and RC loads, respectively. In this figure, the converter capacity to work with currents between quadrants of resistive,inductive, and capacitive loads for different values of magnitude and phase, and without altering the operation and pro-cess of the output voltage (VOUT), is verified. Finally, Figure 9F shows the waveforms of an RLC load. It can be observedthat the resistive element is supplied with a purely sinusoidal voltage waveform (pink), due to the recovery of the gen-erated fundamental voltage. The THD of the output voltage is 3.06%. The THD of the output current for each load islisted in Table 10. It is important to remark that in practice the resistors (Lab‐Volt modules) are built of copper wire,and these have a parasite inductance, which slightly attenuates the measured THD; hence, it is not possible to obtaina completely resistive effect.

Figure 10 shows the experimental prototype developed to apply the DSPWM multilevel technique of 27‐levels withthe FPGA. The main stages of implementation are highlighted in rectangles. It shows an RLC load (Figure 10A); the

FIGURE 10 Prototype used to apply the digital sinusoidal pulse width modulation multilevel control technique of 27‐levels. A, RLC load. B,

digital sinusoidal pulse width modulation pulse trains generated by the field programmable gate array. C, Direct current (DC) source voltage 3

(VDC). D, DC source voltage 2 (3VDC). E, DC source voltage 1 (9VDC). F, XC3S500E field programmable gate array device. G, H‐bridge

converters

TABLE 10 THD of current in different loads

Load Types Current THD, %

R 3.06

RL 0.59

RC 4.27

Second order or RLC 0.63

Abbreviation: THD, total harmonic distortion.

Page 14: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

14 of 15 SALGADO‐HERRERA ET AL.

pulse trains generated by the FPGA (Figure 10B); a supply 156‐V DC voltage consisting on 3 different DC voltagesources, ie, a DC voltage 3 of 12 V (Figure 10C), a DC voltage 2 of 36 V (Figure 10D), and a DC voltage 1 of 108 V(Figure 10E); an FPGA device (Figure 10F); and a DC/AC converter made with 3‐cascaded H‐bridges (Figure 10G), gen-erating the AC multilevel output voltage of 27‐levels, which produces the filtered waveform of Figure 9F.

5 | CONCLUSIONS

In this contribution, a DSPWM multilevel technique of 27‐levels has been proposed using an FPGA model XC3S500E tocontrol a DC/AC multilevel converter formed by 3‐cascaded H‐bridges for the THD reduction in different load types. Itsdynamic response with the implemented prototype in laboratory has been successfully verified.

It has been shown that with the characteristics of an FPGA (parallel data processing, reprogrammability, and concur-rency) in conjunction with the VHDL language, it is possible the generation of n‐levels signals in multilevel applications,in merit to its flexibility, versatility, and simplicity properties without excess of unnecessary software.

The multilevel modulation technique functionality generated in the FPGA has been verified and analyzed with theconnection of different actual loads types, such as R, RL, RC, and RLC. This allowed attesting the converter capacity towork with currents within quadrants of resistive, inductive, and capacitive loads for different values of magnitude andphase, without altering the operation and process of the output voltage (VOUT).

It has been shown that a DSPWM multilevel signal with a high number of levels generates a higher quality quasi‐sinusoidal output signal, with significantly less switching losses in the power converters. This has been tested and veri-fied; ie, the registered THD with the application of the proposed prototype was 3.06%.

ORCID

N.M. Salgado‐Herrera http://orcid.org/0000-0002-4973-991X

REFERENCES

1. Cossutta P, Aguirre MP, Cao A, Raffo S, Valla MI. Single‐stage fuel cell to grid interface with multilevel current‐source inverters. IEEETransactions on Industrial Electronics. 2015;62(8):5256‐5264.

2. Kang F‐S, Park S‐J, Lee M‐H, Kim C‐U. An efficient multilevel‐synthesis approach and its application to a 27‐level inverter. IndustrialElectronics, IEEE Transactions on. 2005;52(6):1600‐1606.

3. Baker RH, Bannister LH. Electric power converter, U.S. Patent 3 867 643, Feb. 18, 1975.

4. Antunes VME, Pires VF, Silva JFA. Narrow pulse elimination PWM for multilevel digital audio power amplifiers using two cascadedH‐bridges as a nine‐level converter. IEEE Trans Power Electron. 2007;22(2):425‐434.

5. Vazquez S, Leon JI, Franquelo LG, Padilla JJ, Carrasco JM. DC‐voltage‐ratio control strategy for multilevel cascaded converters fed with asingle DC source. IEEE Transactions on Industrial Electronics. 2009;56(7):2513‐2521.

6. Yousefpoor N, Fathi SH, Farokhnia N, Abyaneh HA. THD minimization applied directly on the line‐to‐line voltage of multilevel inverters.IEEE Transactions on Industrial Electronics. 2012;59(1):373‐380.

7. Palanivel P, Dash SS. Analysis of THD and output voltage performance for cascaded multilevel inverter using carrier pulse width modu-lation techniques. IET Power Electron. 2011;4(8):951‐958.

8. Zorig A, Barkat S, Belkheiri M, Rabhi A, Blaabjerg F. Novel differential current control strategy based on a modified three‐level SVPWMfor two parallel‐connected inverters. IEEE Journal of Emerging and Selected Topics in Power Electronics. 2017;PP(99):1‐1.

9. Lamb J, Mirafzal B. An adaptive SPWM technique for cascaded multilevel converters with time‐variant DC sources. IEEE Transactions onIndustry Applications. 2016;52(5):4146‐4155.

10. Lupon E, Busquets‐Monge S, Nicolas‐Apruzzese J. FPGA implementation of a PWM for a three‐phase DC–AC multilevel active‐clampedconverter. Industrial Informatics, IEEE Transactions on. 2014;10(2):1296‐1306.

11. Navarro D, Lucı´ AÓ, Barragán LA, Urriza I, Jiménez Ó. High‐level synthesis for accelerating the FPGA implementation of computation-ally demanding control algorithms for power converters. IEEE Transactions on Industrial Informatics. 2013;9(3):1371‐1379.

12. Yuan FL, Wang CC, Yu TH, Marković D. A multi‐granularity FPGA with hierarchical interconnects for efficient and flexible mobile com-puting. IEEE Journal of Solid‐State Circuits. 2015;50(1):137‐149.

13. Windh S, Ma X, Halstead RJ, et al. High‐level language tools for reconfigurable computing. Proc IEEE. 2015;103(3):390‐408.

Page 15: DSPWM multilevel technique of 27-levels based on FPGA for ...dep.fie.umich.mx/produccion_dep/media/pdfs/Salgado...the power quality problems solution.1 Among the different types of

SALGADO‐HERRERA ET AL. 15 of 15

14. De Castro A, Zumel P, Garcia O, Riesgo T, Uceda J. Concurrent and simple digital controller of an DC/AC converter with power factorcorrection based on an FPGA. Power Electronics, IEEE Transactions on. 2003;18(1):334‐343.

15. Foster I. Designing and building parallel programs, Addison Wesley 1994.

16. Naouar MW, Monmasson EA, Naassani A, Slama‐Belkhodja I, Patin N. FPGA‐based current controllers for ac machine drives—a review.IEEE Transactions, Ind Electron. 2007;54(4):1907‐1925.

17. Rodríguez‐Andina JJ, Moure MJ, Valdes MD. Features, design tools, and application domains of FPGAs. IEEE Transaction Ind Electron.2007;54(4):1810‐1823.

18. Paulsson K, Hubner M, Becker J. Cost‐and power optimized FPGA based system integration: methodologies and integration of a low‐power capacity‐based measurement application on Xilinx FPGAs, Design, Automation and Test in Europe, 2008. DATE '08, vol., no.,pp.50‐55, 10‐14 March 2008.

19. Shahdad L, Cohen MS. VHSIC hardware description language. Computer. 1985;18(2):94‐103.

20. Selvamuthukumaran R, Gupta R. Rapid prototyping of power electronics converters for photovoltaic system application using Xilinx sys-tem generator. IET Power Electron. 2014;7(9):2269‐2278.

21. Rotella M, Penailillo G, Pereda J, Dixon J. PWMmethod to eliminate power sources in a nonredundant 27‐level inverter for machine driveapplications, IEEE Trans. on Ind. Electron., Jan. 2009.

22. Flores P, Dixon J, Ortuzar M, Carmi R, Barriuso P, Moran L. Static var compensator and active power filter with power injection capability,using 27‐level inverters and photovoltaic cells, IEEE Trans on Ind Electron, Jan. 2009.

23. Dixon J, Breton AA, Rios FE, Rodriguez J, Pontt J, Perez MA. High‐power machine drive, using nonredundant 27‐level inverters and activefront end rectifiers, IEEE Tran On Pow Electron, Nov. 2007.

24. Gupta KK, Jain S. A multilevel voltage source inverter (VSI) to maximize the number of levels in output waveform. International Journal ofElectrical Power & Energy Systems. 2013;44(1):25‐36. ISSN 0142‐0615

25. Raveendhra D, Prakash P, Saini P. Simulation based analysis of FPGA controlled cascaded H‐bridge multilevel inverter fed solar PV sys-tem, Energy Efficient Technologies for Sustainability (ICEETS), 2013 International Conference on, pp. 568, 572, 10‐12, April 2013.

26. Renukadevi G, Rajambal K. Field programmable gate array implementation of space‐vector pulse‐width modulation technique for five‐phase voltage source inverter. IET Power Electron. 2014;7(2):376‐389.

27. Wahidah Abd Halim†, Nasrudin Abd Rahim, and Maaspaliza AzriSelective, “Harmonic elimination for a single‐phase 13‐level TCHBbased cascaded multilevel inverter using FPGA,” Journal of Power Electronics, Vol. 14, No. 3, pp. 488‐498, 2014.

28. Atalik T, Deniz M, Koc E, et al. Multi‐DSP and ‐FPGA‐based fully digital control system for cascaded multilevel converters used in FACTSapplications. IEEE Transactions on Industrial Informatics. 2012;8(3):511‐527.

29. Han J, Tang T, Pu B, et al. FPGA based hybrid cascade multilevel converter. 2009 IEEE International Symposium on Industrial Electronics,Seoul. 2009;494‐498.

30. Eremia M, Liu C‐C, Edris A‐A. VSC‐HVDC transmission. In: Advanced Solutions in Power Systems: HVDC, FACTS, and Artificial Intelli-gence. Vol.1 Wiley‐IEEE Press; 2016:163‐165.

31. Salgado‐Herrera NM, Medina‐Rios A, Ramos‐Paz A, Rodriguez‐Rodriguez JR. Generation of a multilevel SPWM technique of 3, 9 and 21levels with FPGAs. North American Power Symposium (NAPS), 2013. 2013;22‐24:1‐5.

32. Vazquez G, Martinez‐Rodriguez PR, Escobar G, Sosa JM, Martinez‐Mendez R. A PWM method for single‐phase cascade multilevelinverters to reduce leakage ground current in transformerless PV systems. Int. Trans. Electr. Energ. Syst. 2016;

33. Nademi H, Das A, Norum L. An analysis of improved current control strategy for DC‐AC modular multilevel converters. Int. Trans. Electr.Energ. Syst. 2014;24:976‐991.

34. Hu P, Jiang D, Zhou Y, Guo J, Lin Z, Liang Y. Modulation and control of a new alternate arm multilevel converter for high‐voltage directcurrent system with direct current fault ride‐through capability. Int Trans Electr Energ Syst. 2014;24:1017‐1033.

35. Ebrahim B, Dehqan A, Sabahi M. A new topology for multilevel inverter considering its optimal structures. Electr Pow Syst Res.2013;103:145‐156.

36. Ebrahim B, Mohammad FK, Mehran S, Alizadeh R, Mohammad P. Cascaded multilevel inverter using sub‐multilevel cells. Electr Pow SystRes. 2013;96:101‐110. ISSN 0378‐7796

How to cite this article: Salgado‐Herrera NM, Medina‐Ríos JA, Tapia‐Sánchez R, Anaya‐Lara O, Rodríguez‐Rodríguez JR. DSPWMmultilevel technique of 27‐levels based on FPGA for the cascaded DC/AC power converteroperation. Int Trans Electr Energ Syst. 2018;28:e2479. https://doi.org/10.1002/etep.2479