Analysis and Hardware Implementation of 3-Level and 5-Level CHB Multilevel Inverters Using SPWM

1.  INTRODUCTION

1.1    Inverter

Inverters are power electronic devices that regulate the flow of electrical power. An inverter converts the DC voltage to an AC voltage. The batteries in the inverter store energy in the form of direct current and the home appliances we use need alternating current. The inverter can be utilized to power our appliances during such emergencies as power outages.

1.2 Working of an inverter

Fig 1: Inverter

Converter circuit used in the front part constantly converts alternating current to direct current. This process is called rectification. Diode is used to pass electricity in a forward direction to convert it into direct current, but not in the reverse direction [1].

Diode’s structure is shaped like a bridge so that it can pass the negative peak in a forward direction. This is called full-wave rectification due to the fact that it transforms both the forward and negative wave peaks. Ripple voltage fluctuations will remain, in order to clean this up the capacitor is repeatedly charged and discharged, gently smoothing and changing the waveform close to that of direct current.

The inverter circuit then outputs alternating current with varying voltage and frequency. The DC/AC conversion mechanism switches power transistors such as “IGBT (Insulated Gate Bipolar Transistor) and changes the ON/OFF intervals to create pulse waves with different widths. This is called Pulse Width Modulation (PWM).

Fig 2: Pulse width control image

1.3 Difference between UPS and Inverter

  • The primary purpose of a UPS is to store electrical power, whereas an inverter transforms AC power into DC power.
  • In the event of a power failure, the UPS will switch from mains to battery immediately, but the inverter will be delayed for a time.
  • UPS connects directly to the appliance, while the inverter is first connected to the battery and then to the appliance circuit.

1.4 Types of inverters

The Single-phase inverters are divided into two types:

  • Half-bridge inverter
  • Full-bridge

Half Bridge Inverter:

It consists of two switches, voltage sources of voltage equal to Vdc/2. The switches are balanced with each other so that when one switch is activated, another switch is automatically deactivated [2].

Full Bridge Inverter:

A full-bridge inverter circuit converts direct current to alternating current. The components required for conversion are two times more than that used in single phase Half bridge inverters. The output will be equal to the given input i.e. Vdc.

1.5 Applications of an inverter

The inverter is used for emergency backup in case of power failure. It turns on electrical appliances when the main power is turned off. They are used in many applications such as:

  • Small car adapters for offices, home applications, large grid systems, solar power

systems.

  • UPS-Uninterruptible power supplies
  • An inverter is the basic building block of an SMPS- switched mode power
  • These can be used in Centrifugal fans, pumps, mixers, extruders, test stands, conveyors, metering pumps and Web-handling equipment.

2.  MULTILEVEL INVERTER

 

2.1 Definition

Some devices in industries require medium or low power to operate. Using a high power source for all industrial loads can be beneficial for some high power motors, while it can be detrimental to others. The multi-level inverter is like an inverter that provides high output power from a medium voltage source such as batteries, super capacitors, and solar panels [3].

The multi-level inverter (MLI) is an improved form of a two-stage inverter. In a multi-level inverter we do not process two-level voltage instead in order to create a smoother stepped output waveform, more than two voltage levels are combined together. The smoothness of the waveform is proportional to the voltage levels, as we increase the voltage level the waveform will be smoother but the circuit complexity will increase.

2.2 Difference between inverter and multilevel inverter

In recent years, more attention has been paid to high power multistage converters. Better power quality, smaller output filter, lower output dv/dt stress, increased modularity and reliability, and use of low voltage semiconductors in high voltage applications These are just a few of the advantages of these converters over conventional two- or three-level converters.

Sl. NoConventional InverterMultilevel Inverter
1.THD is high in the output waveformTHD is low in the output waveform
2.High Switching stressesLow Switching stresses
3.Not used for high Voltage applicationsUsed for High voltage applications
4.High voltage levels cannot be producedLow voltage levels cannot be produced
5.High dv/dt and EMILow dv/dt and EMI
6.High switching frequency, increased switching lossesLower switching frequency, reduced switching losses

2.3 Different structures of multilevel inverter

A.  Diode Clamped Multilevel Inverter:

The main concept of this inverter is to use diodes and provide the multiple voltage levels through the different phases to the capacitor banks which are in series. A diode transfers a limited amount of voltage, thereby reducing the stress on other electrical devices. The maximum output voltage is half of the input DC voltage. It is the main drawback of the diode clamped multilevel inverter [4].

This problem can be solved by increasing the switches, diodes, and capacitors. Due to the capacitor balancing issues, these are limited to the three levels.

Fig 3: 5-level diode clamped

B.  Flying Capacitors Multilevel Inverter:

The main concept of this inverter is to use capacitors. It is of a series connection of capacitor clamped switching cells. The capacitors transfer the limited amount of voltage to electrical devices. In this inverter switching states are like in the diode clamped inverter. Clamping diodes are not required in this type of multilevel inverters [7]. The output is half of the input DC voltage. It is a drawback of the flying capacitors multilevel inverter. It also has the switching redundancy within the phase to balance the flying capacitors. It can control both the active and reactive power flow. But due to the high-frequency switching, switching losses will take place.

EX: 5-level flying capacitors multilevel inverter

Fig 4: 5-level Flying capacitor

3.  CASCADED H- BRIDGE INVERTER

3.1 Structure

One of the basic and well-known topologies among all multilevel inverters is Cascaded H-Bridge Multilevel Inverter. It can be used for both single and three phase conversion. It uses H-Bridge including switches and diodes [8].

The modulation technique that applies to each cell of the inverter may be the same or different. It varies from fundamental switching frequency PWM, carrier based PWM or combination of the two different PWM methods (known as mixed / hybrid PWM method). In this project we are using Level Shifted PWM. Level Shifted PWM uses some carrier signals, which are arranged in different levels among the carriers.

Fig 5: 5 level cascaded H-bridge

Each H-Bridge Cell consists of four switches and four diodes as shown in the Fig 5.

  • Like every H-Bridge, different combinations of switch positions determine different voltages such as V+, V- and 0.
  • Two switching combinations are present for 0
  • S1 and S3 are connected to positive voltage and S2 and S4 are connected to negative

3.2  Working of 3- level H-bridge inverter

Fig 6: Circuit of 3-level H-bridge
Fig 7: Switching pattern pulse

Pulse given to the switch S2 is delayed by T/4 sec when compared to switch S1. And the switches in the same branch have inverted pulses so that there won’t be any short circuit.

The switching pattern and the output voltage is given in the below table.

Table 1: Switching pattern and output voltages 

Switches StatesOutput Voltage
S1S2S3S4
ONOFFONOFF0
ONONOFFOFFVdc
OFFOFFONON-Vdc
OFFONOFFON0
Fig 8: Output waveform of 3 level cascaded H-bridge

3.3 Advantages of Cascaded H-Bridge Multilevel Inverter

  • It needs less number of components compared with diode clamped and flying capacitor inverters. Soft-switching is possible by some of the new switching methods.
  • They are used to eliminate the bulky transformer required in case of conventional multi-phase inverters, clamping diodes required in case of diode clamped inverters and flying capacitors required in case of flying capacitor inverters. But these require a large number of isolated voltages to supply each cell [5].
  • The total number of output voltage levels is more than twice that of the number of DC sources available.
  • The use of separate DC sources provides isolation of between sources of each
  • Since the outputs of all the modules gets added, the voltage rating of individual modules is low and hence stress on individual devices also gets reduced.

You can download the Project files here: Download files now. (You must be logged in).

4.  SIMULATIONS AND OBSERVATIONS

4.1 Half Bridge Inverter

Input Parameters:

T = 0.01s V1 = 2V V2 = 2V

Duty Cycle = 50% R = 10 ohm

Fig 9: Circuit of Half bridge inverter
Fig 10: Input signal to S2
Fig 11: Input signal to S1
Fig 12: Output of Full bridge inverter

4.2 Full Bridge Inverter

Input Parameters:

T = 0.01s V1 = 2V

Duty Cycle = 50% R = 10 ohm

Fig 13: Circuit of Full bridge inverter
Fig 14: Output waveform of full bridge inverter

4.3    5-level SPWM inverter

Input Parameters:

T= 0.02s V1 = 2V V2 = 2V

R=10 ohm

Fig 15: Circuit of 5-level inverter
Fig 16: Output waveform of 5-level inverter

4.5    5-level SPWM inverter

Input Parameters:

T= 0.02s V1 = 2V V2 = 2V

R=10 ohm

Pulse width modulation type: Level Shifted

Fig 17: Circuit of 5-level SPWM inverter
Fig 18: Switching pattern
Fig 19: Output waveform of 5-level SPWM inverter

Table 2: Comparison table of Carrier wave frequency vs. THD(%) [2] 

Carrier frequency (Hz)3-Level5-Level
19*5051.9126.61
20*5055.0727.43
21*5050.826.87
22*5053.3627.5
23*5053.4626.99
24*5050.4226.28
25*5054.9427.41

 

Fig 20: THD comparison graph of 3-level and 5-level [1]
THD Calculations:

 

Table 3: Comparison table of modulation index and THD [4][5]

Modulation IndexBridge 1Bridge 2Total THD
THDAmplitudeTHDAmplitudeTHDAmplitude
0.1236.33%3.856e-05236.33%0.1928236.33%0.1928
0.2149.28%8.138e-05149.28%0.407149.28%0.4069
0.3108.53%0.001177108.53%0.5887108.53%0.5886
0.476.81%0.000159776.81%0.798876.81%0.7987
0.551.28%0.000202451.28%1.01251.28%1.012
0.6312.72%0.0962841.24%1.10344.47%1.2
0.7178.36%0.25438.31%1.15742.14%1.411
0.8126.73%0.415436.36%1.18338.48%1.598
0.991.89%0.59835.73%1.20433.58%1.802
164.96%0.784135.89%1.21427.11%1.988

Fig 21: Modulation index vs THD [4]
4.5 Modulation index and how it affects the output: 

Amplitude modulation index (ma) = Vref / Vc,

where Vc and Vref are carrier and reference voltages respectively.

Frequency modulation index (mf) = fc / fref,

where fc and fref are carrier and reference frequencies respectively.

Both, the modulation index and the carrier frequency are affecting the harmonic contents of the inverter output voltage waveform. The frequency spectrums of the unwanted harmonics are shifted towards higher frequency by increasing the carrier frequency [2] [3]. The total harmonic distortion (THD) factor of the inverter output voltage decreases as the modulation index increases. For carrier frequencies, greater than a certain value, the THD factor doesn’t change much by further increasing the frequency of the carrier signal.

Vn is the rms value of nth harmonic, V1 is the value of the fundamental component, n is the low-order harmonics and r is the maximum harmonic included in the THD calculation [1].

4.6 Different Modulation Techniques

4.6.1        Phase Disposition

Fig 22: Phase disposition Input
Fig 23: Phase disposition output

Fig 22 demonstrates the sine-triangle method for a five-level inverter where in modulation or sinusoidal reference signal is compared with four (m-1 in general) triangle waveform when the number of output voltage level is 5 (= m), 4 (m –1) carrier waveforms are arranged so that every carrier is in phase.

  • The carriers are in phase across all the
  • The frequency modulation index mf = fc / fm.
  • The amplitude modulation index ma = 2Am / Az(m-1).

4.6.2        Phase Opposition and Disposition

Fig 24: Phase opposition and disposition input
Fig 25: Phase opposition and disposition output

For POD modulation all carrier waveforms above zero reference are in phase and they are 180 degrees out of phase with those below zero. When the number of levels is m ( = 5), m – 1 (= 4) carrier waveforms are arranged so that all carrier waveforms above zero are in phase and are 180° out of phase with those below zero. The significant harmonics are located around the carrier frequency for both the phase and line-to-line voltage. Formula for ma and mf are the same as that of PD PWM technique.

4.6.3        Alternative Phase Opposition and Disposition

Fig 26: Alternative phase opposition and disposition input
Fig 27: Alternative phase opposition and disposition output

In case of APOD modulation, every carrier wave is out of phase with its neighbor carrier by 180°. Since APOD and POD schemes in case of three level inverters are the same, a five level inverter is considered to discuss the APOD scheme. When the number of levels m (= 5) , m – 1 = 4 carrier waveforms are arranged so that every carrier waveform is out of phase with its neighbor carrier by 180°. Carriers in adjacent bands are phase displaced by 180° [2]. With this method, the most significant harmonics are centered as sidebands around the carrier. Formulas for ma and mf are the same as that of the PDPWM strategy.

You can download the Project files here: Download files now. (You must be logged in).

4.6.4        Carrier Overlapping PWM – A

Fig 28: carrier overlapping PWM- A input
Fig 29: carrier overlapping PWM-B output

In this case it can be seen that the four carriers are overlapped with each other and the reference sine wave is placed at the middle of the four carriers. The carrier waves are in same phase.

4.6.5        Carrier Overlapping PWM – B

Fig 30: carrier overlapping pwm-B input

In this case it can be seen that they are divided equally into two groups according to the positive/negative average levels. In this strategy, the two groups are opposite in phase with each other while keeping in phase within the group [3] [4].

Fig 31: carrier overlapping pwm-B output

4.6.6        Carrier Overlapping PWM – C

Fig 32: carrier overlapping pwm-c input
Fig 33: carrier overlapping pwm-c output

In this strategy, carriers invert their phase in turns from the previous one. It may be identified as PWM with amplitude overlapped and neighboring phase interleaved carriers.

4.6.7        Variable Frequency PWM

Fig 34: variable frequency input
Fig 35: variable frequency output

The number of switching for upper and lower devices of chosen MLI is much more than that of intermediate switches in above PWM strategies using constant frequency carriers. In order to equalize the number of switching’s for all the switches, VFPWM strategy is used in which the carrier frequency of the intermediate switches is properly increased to balance the numbers of switching for all the switches [4] [5]. In fig 34, the frequencies of carrier wave and sine wave are 41 and 21 respectively. The amplitude modulation index for VFPWM strategy is:

ma = 2Am / Ac(m-1).

Modulation techniqueTotal LossConduction LossSwitching LossTHD
Phase Disposition0.034242.009 e-50.0342226.87%
Phase Opposition and Disposition0.034122.004 e-50.034126.91%
Alternative Phase Opposition and Disposition:0.034242.009 e-50.0342226.88%
Carrier Overlapping PWM – A:0.041032.28 e-50.0410133.96%
Carrier Overlapping PWM – B:0.040832.272 e-50.0408133.17%
Carrier Overlapping PWM – C:0.039082.202 e-50.0390524.95%
Variable Frequency PWM:0.034322.012 e-50.034326.71%

Table 3: Comparison of different modulation techniques

 

4.7 Relation between THD and Power Factor

The total power factor is calculated as follows:

PFTOTAL = PF × PFTHD

 

PF = cos(θ)

 

Where PF = displacement power factor

θ = Difference between the phase of the voltage and the phase of the current (phase displacement) in degrees.

The displacement power factor is the ratio of true power to apparent power due to the phase displacement between the current and voltage

Where PFTHD = distortion power factor, THD = Total harmonic distortion

The presence of harmonics complicates the discussion of the power factor. The distortion power factor is the ratio of true power to apparent power due to THD. Hence, Lower THD in power systems means higher power factor [6] [7].

You can download the Project files here: Download files now. (You must be logged in).

5.  DESIGN AND CALCULATIONS

5.1 Switch Loss Calculations

Total losses = conduction loss + switching loss Losses of 5 level SPWM:

Conduction loss = 2.009 e-5 Switching loss = 0.03422 Total loss = 0.03424

Fig 36: Conduction losses
Fig 37: Total losses

5.2 Filter Design and Calculations

LC Filter Design

Vin = 100v R = 10Ω

Vout(rms)=Vdc = 100v Vo = 100√2 sin wt Iout(rms) = 10 A

Pout = 1000 watt

Inductor design

ΔI◻ = 20% of rated current = 2A ΔI◻ ◻ₐₓ = Vdc / (4XL FSW)

L = Vdc / (4 x ΔI0 0ₐₓ x Fsw) =100 / (4X2 x √2 x1000)

= 8.83mH

Capacitance design Fc = 1 / (2 x πX√LC) Fc <= F◻ / 10

C = (10/2*π*F◻) ^2 * (1/L)

= (10/2*π*1000)^2 * (1/8.83*10^-3)

= 0.286mF

Fig 38: First order filter circuit
Fig 39: Output of first order LC filter
Fig 40: Second order filter circuit
Fig 41: Output of second order LC filter

6.  HARDWARE IMPLEMENTATION

6.1             Components used

Arduino UNO, MOSFETs -700N65P, H-bridges, pulse generator, DC Supply, Oscilloscope, Multimeter, Breadboard, Connecting wires.

6.2            Testing Arduino UNO Output pins

Out of 13 signal output pins of Arduino UNO 6 pins (pin nos 3, 5, 6, 9, 10, 11) are used for SPWM output. To test the output pins, a rectangular pulse and SPWM pulse is given as input to Arduino.

Fig 42: Rectangular Pulse generated using arduino uno
Fig 43: SPWM Pulse generated using arduino uno

6.3            Circuit diagram

Fig 44: Circuit diagram of 3-level CHB MLI
Fig 45: Circuit of 3-level CHB MLI using mosfets

A 3 level CHB MLI is built using 4 Mosfets, breadboard and the connections are made according to Figure 28. The Mosfet gate triggering pulses are generated using MATLAB simulink and are loaded into Arduino UNO.

6.4   Input and output images

Fig 46: Output of 3-level MLI
Fig 47: Output of SPWM 3-level MLI

You can download the Project files here: Download files now. (You must be logged in).

7.  CONCLUSION

In this project, different topologies of inverters such as full bridge, half bridge, cascaded h-bridge have been analyzed. 3 level and 5 level inverters have been analyzed with SPWM technique and different SPWM techniques have also been executed. After analysis we find that the THD values of SPWM inverters are less than the normal multilevel inverters [8]. It has been observed that with increase in levels in multilevel inverters and with increase in modulation index THD decreases till a certain point. As the THD decreases, the power factor is improved. The above output variations have been demonstrated. Simultaneously, 3-level CHB MLI with and without SPWM has been implemented on the Arduino UNO board.

8. REFERENCES

  1. https://www.elprocus.com/what-is-an-inverter-types-circuit-diagram-applications/
  2. https://www.elprocus.com/multilevel-inverter-types-advantages/
  3. https://microcontrollerslab.com/multilevel-inverters-types-applications/
  4. https://ieeexplore.ieee.org/abstract/document/9364104
  5. https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.irjet.net%2Farchives%2 FV5%2Fi3%2FIRJET-V5I3230.pdf&psig=AOvVaw2ewV2Bc0nLojFhhh2TxLHZ&ust= 1669136028576000&source=images&cd=vfe&ved=0CBAQjRxqFwoTCICb37Lev_sCF QAAAAAdAAAAABAE
  6. _Ser. Mater._Sci._Eng._105_012003.pdf
  7. Chinnapettai Ramalingam Balamurugan, S.P. Natarajan, R. Bensraj, B. Shanthi,”Review on Modulation strategies of Multi-Level Inverters”.
  8. Babaie, B. Karami and A. Abrishamifar, “Improved equations of switching loss and conduction loss in SPWM multilevel inverters,” 2016 7th Power Electronics and Drive Systems Technologies Conference (PEDSTC), Tehran, Iran, 2016, pp. 559-564, doi: 10.1109/PEDSTC.2016.7556921.

Keywords: 3-level CHB MLI, 5-level CHB MLI, Cascaded H-bridge, Inverter, Multilevel inverters, SPWM.

You can download the Project files here: Download files now. (You must be logged in).

Do you need help with MATLAB Simulink and Electronics Circuit design? Don’t hesitate to contact our Tutors to receive professional and reliable guidance.

Related Articles

Design and LTSpice Simulation of a High-Efficiency Bidirectional Single-Phase EV Charger for Vehicle-to-Grid (V2G) Applications

Author: Waqas Javaid

Introduction:

In this project, a groundbreaking single-phase bidirectional current-source AC/DC converter tailored for Vehicle-to-Grid (V2G) applications is unveiled. The converter is ingeniously designed; comprising a line frequency commutated unfolding bridge and an interleaved buck-boost stage. Notably, the semiconductor losses within the line frequency commutated unfolding bridge contribute to the converter’s commendable efficiency. The interleaved buck-boost stage further enhances performance with its dual capabilities of buck and boost operating modes, facilitating seamless operation across a broad battery voltage range [2]. The interleaved structure of this stage significantly reduces battery current ripple. Beyond these advantages, the converter ensures sinusoidal input current, bidirectional power flow, and the capability for reactive power compensation. This project delves into the intricate topology and operational principles of this innovative converter, shedding light on its potential impact in the realm of V2G applications.

Renewable Energy Policies in the European Union: Germany Example, Legal Regulations and Alternative Energy Sources

Global climate change and energy security are critical issues shaping modern energy policies. Following the Kigali Amendment, Germany and the European Union have intensified legal regulations and incentives to promote renewable energy. This study explores the historical development of legal regulations, including the Renewable Energy Sources Act and the national hydrogen strategy, alongside alternative energy sources such as electrolyzers, heat pumps, and geothermal energy. The analysis highlights Germany’s leadership in renewable energy transitions and the challenges ahead in achieving energy independence and carbon neutrality by 2050.

Standstill Frequency Response Test for Obtaining Parameters of Six Phase Double Delta Salient-Pole Synchronous Machine on Example of Claw-Pole Alternator

The current publication introduces an approach for obtaining parameters of a six phase double delta salient-pole synchronous machine, based on the standstill frequency response test. The described approach was verified by measurements on a automotive claw-pole alternator, done in a laboratory on a test bench.


This content is for Basic and Premium members only.
Join Now
Already a member? Log in here

Simulating Renewable Energy Systems Using Simulink: A Practical Approach with Design a Large Battery Storage System

This MATLAB Simulink model presents the design and implementation of a Large Battery Energy Storage System (BESS) aimed at alleviating peak power demands in Colombo, Sri Lanka. The system utilizes grid-forming control to facilitate power injection during peak times and incorporates a battery management system (BMS) for efficient operation. Additionally, a photovoltaic (PV) system is integrated to supplement power generation. The model encompasses various components such as converters, filters, and controllers to regulate power flow and ensure seamless integration with the grid. Detailed simulations evaluate system performance, validating the effectiveness of peak shaving strategies and compliance with relevant industry standards like IEEE 1547-2018 and IEEE 2030.2.1-2019. Results indicate successful peak shaving functionality and highlight the impact of time delays on system dynamics.

Responses

Your email address will not be published. Required fields are marked *

L ading...