Design and Implementation of Pulse Width Modulatio
Design and Implementation of Pulse Width Modulatio
Corresponding Author:
Ezzidin Hassan Aboadla
Electrical Engineering Section, University Kuala Lumpur British Malaysian Institute
Batu 8, Jalan Sungai Pusu, Selangor-53100, Malaysia
Email: [email protected]
1. INTRODUCTION
Recently, with the continuous revolution of using solar photovoltaic (PV) energy, power-generating
techniques are becoming increasingly relevant with the push toward environmentally friendly and naturally
occurring energy sources benevolent methods. Because of the rapid development in the production of
electronic semiconductors, the high-performance design of power inverters has faced several challenges
[1]–[3]. The conventional two-level, three-phase voltage source inverter (VSI), used in numerous
applications including electrical motors, electric vehicles (EVs), and wind turbine systems, is thought to be
the most widely used converter architecture [4]. Inverter is an electronic device which contains various power
switches. By applying proper control pulses to these switches, AC power can be generated from DC input
[5]–[8].
One of the major problems that the designers must deal with is how to adjust the voltage of the gate
driver for the power switches while maintaining high safety isolation. These challenges are to design reliable
PWM gate drivers that are suitable and ensure quick ON/OFF transitions for operations. Several forms of
control driver circuits are employed to generate control signals for power converters [9]. A high switching
frequency is presented in [10] to operate the power switches of the three-phase inverter, which is used to
improve the performance of the total harmonic distortion (THD) according to the alternative switching
approach. Pulse width modulation (PWM) signals are often produced by digital control circuits, although
they can also be produced by analog control circuits and programmable microcontrollers. However, digital
control techniques can provide excellent flexibility with low-tech hardware components and a higher
switching frequency. The analog PWM method necessitates many passive components, increasing power
consumption and decreasing stability [11]. Active driver circuits using analogue circuits such as diodes and
transistors have been proposed [12], [13]. However, it is not able to realize high-speed control signals due to
component delay time. A programmable gate control circuit utilizes full digital control to solve the active
gate driver circuit drawback [14]–[16]. To drive the power switches, a bootstrap driver circuit is commonly
used; however, it is unreliable, with any faults occurring when the controller part is not isolated [17], [18].
Selecting a suitable modulation technique for the inverter design is the most important step toward realizing a
low THD in the output voltage waveform. Several types of PWM generation schemes can be applied for gate
controller circuit of the inverters, such as the standard PWM, Sinusoidal pulse width modulation (SPWM),
space vector pulse width modulation (SVPWM), and the selective harmonic elimination pulse width
modulation (SHEPWM) method [19]–[21]. A pulse width modulation has been generated using the
multicarrier sinusoidal pulse width modulation method to operate a 15-level multilevel inverter presented in
[22]. The enhanced digital space vector pulse width modulation could create clocks by employing a digital
clock manager and phase-locked loop (PLL). The modified digital space vector modulation is produced on a
low-cost field programmable gate array (FPGA) for three-phase inverters [23]. A single-phase full-bridge
inverter is designed based on the selective harmonic elimination method. An Arduino Mega has been used to
determine the switching angles of the control signal and produce the PWM [24]. A three-phase full-bridge
inverter is the main device utilized to derive induction motor and AC supplies. The output phase shift of the
three-phase inverters is mutually phase-shifted by a 120-degree angle [25]. Three-phase shift signals with a
120-degree have been generated using a programmable microcontroller [26]. An analogue circuit based on
operational amplifiers has been proposed to produce a three-stage phase shift with a 120-degree [27].
To implement a higher performance, low-cost gate controller circuit, this paper proposes a new
50 Hz single-input multi-output PWM gate controller circuit for three-phase inverters based on D flip-flops
and the 555-timer. A 555 timer is applied to generate square wave PWM with a 50% duty cycle as an input to
the control gate circuit. Three-phase shift signals based on digital flip-flops with a dead-time control and gate
driver circuit have been proposed to operate the six power switches of the two-level three-phase inverter.
Simulation results and prototype circuits have been utilized to validate the performance of the proposed
design.
2. THREE-PHASE INVERTER
In industrial applications, three-phase inverters are more widely applied to drive induction motors
and other three-phase AC equipment. The two-level three-phase inverter circuit consists of six power
switches as insulated-gate bipolar transistor (IGBTs) or metal-oxide semiconductor field-effect transistor
(MOSFETs) as shown in Figure 1. Each phase has two switches controlled by a PWM signal. To prevent a
short circuit, the switches in the same phase are not turned on at the same time. Two methods are used to
control the inverter switches: 120° conduction mode and 180° conduction mode. In this paper, the 180°
conduction mode has been used to design the proposed control circuit. The switch timing occurs every 60° as
shown in Figure 2. Where Figure 2(a) shows the switches timing occurs every 60° and Figure 2(b) shows the
phase voltage of the three-phase inverter in 180° conduction mode.
Design and implementation of pulse width modulation gate control signals for … (Ezzidin Hassan Aboadla)
802 ISSN: 2302-9285
(a)
(b)
Figure 2. Control signals for switches; (a) the switches timing occurs every 60° and (b) the phase voltage of
the three-phase inverter in 180o conduction mode
𝑇 = 0.693(𝑅1 + 𝑅2 )𝐶 (1)
1 1.44
𝑓= = (2)
𝑇 (𝑅1 +2𝑅2 )𝐶
𝑅1 +𝑅2
𝐷=( ) × 100 (3)
𝑅1 +2𝑅2
Bulletin of Electr Eng & Inf, Vol. 13, No. 2, April 2024: 800-811
Bulletin of Electr Eng & Inf ISSN: 2302-9285 803
100
S1 000
101 110
S3 111
001 010
S5
011
0 60 120 180 240 300 360
Figure 4. Three phase inverter switching Figure 5. The state diagram of the inverter switching
diagram status
The following step is to determine the state table of the present switching states and the following
switching states based on the state diagram as shown in Table 1. Each state of the switches (S1, S3, and S5)
has a separate Boolean function. Karnaugh map is used to determine the Boolean functions for each switch
depending on the D flip-flop state.
a. Karnaugh map and Boolean function of the first phase D flip-flop
Design and implementation of pulse width modulation gate control signals for … (Ezzidin Hassan Aboadla)
804 ISSN: 2302-9285
Q1.Q2
00 01 11 10
Q3
0 1 0 0 1
1 1 0 1 1
̅̅̅̅
𝐷𝑆1 = 𝑄1. 𝑄3 + 𝑄2 (4)
Q1.Q2
00 01 11 10
Q3
0 0 1 1 1
1 0 0 0 0
̅̅̅̅ + 𝑄2. 𝑄3
𝐷𝑆2 = 𝑄1. 𝑄3 ̅̅̅̅ (5)
Q1.Q2
00 01 11 10
Q3
0 1 1 0 0
1 1 1 1 0
The circuit diagram of the proposed 120º phase shift circuit for a two-level three-phase inverter is
presented in Figure 6.
Q2*
Q1
Q3 Q1
1D 1Q
2D ~1Q Q1*
Q1 3D 2Q
4D ~2Q Q2
Q3* 3Q
~CLR ~3Q Q2*
Q2 CLK 4Q
~4Q Q3
Q3* Q3*
Q1*
Q2
Q3
Figure 6. The proposed PWM control circuit for two-level three-phase inverters
Bulletin of Electr Eng & Inf, Vol. 13, No. 2, April 2024: 800-811
Bulletin of Electr Eng & Inf ISSN: 2302-9285 805
S_Upper
S_Lower
∆t
Figure 7. The dead time interval between complementary switches in the inverter phase leg
PWM
To_S1_Driver
R3 R5
10kΩ
1kΩ
C2 R4
1nF 10kΩ
To_S2_Driver
R1 R6
10kΩ
1kΩ
C1 R2
1nF 10kΩ
Design and implementation of pulse width modulation gate control signals for … (Ezzidin Hassan Aboadla)
806 ISSN: 2302-9285
Figure 9. The proposed PWM control for three-phase inverters with 120º phase shift
4. SIMULATION RESULTS
To verify the performance of the proposed PWM control circuit in Figure 3, the design was
simulated in PSIM and PROTEUS simulation tools. Three-phase inductive load in star connection load is
used in the simulation, R=15 Ω, and L=10 mH. Figure 10 shows the simulation result of the dead-time
control circuit. From Figure 10, the dead-time interval between both signals always remained. However, the
control gate signals of the upper switches are presented in Figure 11.
Figure 10. The simulation result of the dead-time for complementary switches
Figure 11. The output of the PWM control circuit signals for a three-phase inverter with 120º phase shift
As depicted in Figure 11, the output of the proposed PWM control circuit is 50 Hz with a 120º phase
shift for three upper power switches. Figure 12 shows the simulation of the six control PWM signals. As
indicated in Figure 12, the result of the proposed PWM module includes six PWM signals with a 120º for six
power switches MOSFETs or IGBTs. Figure 13 shows the simulation result of line-to-line voltage and the
fast fourier transform (FFT) analysis is presented in Figures 13(a) and (b) respectively. The total harmonic
Bulletin of Electr Eng & Inf, Vol. 13, No. 2, April 2024: 800-811
Bulletin of Electr Eng & Inf ISSN: 2302-9285 807
distortion (THD) of the three-phase inverter line voltage in the simulation results without using filter is 31%.
Figure 14 illustrates the phase current and its FFT spectrum analysis in Figures 14(a) and (b) respectively.
The THD of the phase current without using a low-pass filter is 17%.
Figure 12. The simulation result of the proposed PWM module with six output signals for six power switches
(a)
(b)
Figure 13. The simulation result of the three-phase inverter for; (a) line-to-line voltage and (b) FFT analysis
Design and implementation of pulse width modulation gate control signals for … (Ezzidin Hassan Aboadla)
808 ISSN: 2302-9285
(a)
THD-I = 17%
(b)
Figure 14. The simulation result of the three-phase inverter for; (a) phase current and (b) FFT spectrum
analysis
5. EXPERIMENTAL RESULTS
To prove the performance of the proposed module, the laboratory experimental prototype for the
PWM control board is implemented and tested with the two-level three-phase inverter as shown in Figure 15.
Figure 16 shows the output of the proposed PWM control circuit is 50 Hz with a 120º phase shift for three
upper power switches. In Figure 17, the output voltage waveform of the line-to-line voltage and the FFT
analysis are presented. It is clear that from Figure 17, the result of the prototype module with the inverter is in
close agreement with the simulation result compared with Figure 13.
Bulletin of Electr Eng & Inf, Vol. 13, No. 2, April 2024: 800-811
Bulletin of Electr Eng & Inf ISSN: 2302-9285 809
Figure 16. Experimental result of the proposed control module for the upper switches of the inverter
Figure 17. Experimental result of line-to-line output voltage using the proposed PWM control module and the
FFT analysis
6. CONCLUSION
This paper proposed a single-input, multi-output 50 Hz PWM control circuit to control two-level,
three-phase inverters. The proposed technique is easy to implement, low cost, and high performance. A
555-timer is used to generate a square wave as a single input to the proposed module, while the output is six
PWM channels for the three-phase inverter to operate six power switches. D flip-flops and logic gates are the
core components in the proposed technique which are used to generate the PWM pulses and 120º phase shift.
A three-phase inverter has been used to evaluate the performance of the proposed control module in
simulation and experimentally, and both results are in close agreement with almost identical values.
REFERENCES
[1] B. R. Lin, “Phase-shift pwm converter with wide voltage operation capability,” Electronics (Switzerland), vol. 9, no. 1, Dec.
2020, doi: 10.3390/electronics9010047.
[2] E. H. Aboadla et al., “A novel optimization harmonic elimination technique for cascaded multilevel inverter,” Bulletin of
Electrical Engineering and Informatics, vol. 8, no. 2, pp. 405–413, Jun. 2019, doi: 10.11591/eei.v8i2.1500.
[3] M. Di Benedetto, M. Tang, A. Lidozzi, L. Solero, A. Formentini, and P. Zannchetta, “Resonant and a new disturbance-observer
combined control for off-grid voltage source inverter,” International Journal of Power Electronics and Drive Systems, vol. 13, no.
1, pp. 223–236, Mar. 2022, doi: 10.11591/ijpeds.v13.i1.pp223-236.
[4] A. Darwish, Y. Wang, D. Holliday, and S. Finney, “Operation and control design of new Three-Phase inverters with reduced
number of switches,” in 2016 International Symposium on Power Electronics, Electrical Drives, Automation and Motion,
SPEEDAM 2016, Jun. 2016, pp. 178–183, doi: 10.1109/SPEEDAM.2016.7525993.
[5] S. Shuvo, E. Hossain, T. Islam, A. Akib, S. Padmanaban, and M. Z. R. Khan, “Design and hardware implementation
considerations of modified multilevel cascaded h-bridge inverter for photovoltaic system,” IEEE Access, vol. 7, pp. 16504–16524,
2019, doi: 10.1109/ACCESS.2019.2894757.
[6] S. Raj, R. K. Mandal, M. De, and A. K. Singh, “Nine-level inverter with lesser number of power semiconductor switches using
dSPACE,” International Journal of Power Electronics and Drive Systems, vol. 13, no. 1, pp. 39–46, Mar. 2022, doi:
10.11591/ijpeds.v13.i1.pp39-46.
[7] K. S. Reddy and S. B. Veeranna, “Modified full bridge dual inductive coupling resonant converter for electric vehicle battery
Design and implementation of pulse width modulation gate control signals for … (Ezzidin Hassan Aboadla)
810 ISSN: 2302-9285
charging applications,” International Journal of Power Electronics and Drive Systems, vol. 13, no. 2, pp. 773–782, Jun. 2022,
doi: 10.11591/ijpeds.v13.i2.pp773-782.
[8] M. Manap, S. Nikolovski, A. Skamyin, R. Karim, T. Sutikno, and M. H. Jopri, “An analysis of voltage source inverter switches
fault classification using short time fourier transform,” International Journal of Power Electronics and Drive Systems, vol. 12, no.
4, pp. 2209–2220, Dec. 2021, doi: 10.11591/ijpeds.v12.i4.pp2209-2220.
[9] K. V. Kumar and R. S. Kumar, “Real time simulation of reduced switch multilevel inverter with PWM switching sequence
control,” International Journal of Power Electronics and Drive Systems, vol. 12, no. 4, pp. 2305–2313, Dec. 2021, doi:
10.11591/ijpeds.v12.i4.pp2305-2313.
[10] N. A. Ramli, A. Jidin, Z. Rasin, and T. Sutikno, “Reduction of total harmonic distortion of three-phase inverter using alternate
switching strategy,” International Journal of Power Electronics and Drive Systems, vol. 12, no. 3, pp. 1598–1608, Sep. 2021, doi:
10.11591/ijpeds.v12.i3.pp1598-1608.
[11] A. Sutar, “Advanced three phase PWM inverter control using microcontroller,” IOSR Journal of Electrical and Electronics
Engineering, vol. 5, no. 2, pp. 21–28, 2013, doi: 10.9790/1676-0522128.
[12] Z. Zhang, F. Wang, L. M. Tolbert, B. J. Blalock, and D. J. Costinett, “Active gate driver for fast switching and cross-talk
suppression of SiC devices in a phase-leg configuration,” in Conference Proceedings-IEEE Applied Power Electronics
Conference and Exposition-APEC, Mar. 2015, pp. 774–781, doi: 10.1109/APEC.2015.7104437.
[13] N. Idir, R. Bausière, and J. J. Franchaud, “Active gate voltage control of turn-on di/dt and turn-off dv/dt in insulated gate
transistors,” IEEE Transactions on Power Electronics, vol. 21, no. 4, pp. 849–855, Jul. 2006, doi: 10.1109/TPEL.2007.876895.
[14] M. R. Khalil and L. A. Mohammed, “Embedded processor system for controllable period-width multichannel pulse width
modulation signals,” Telkomnika (Telecommunication Computing Electronics and Control), vol. 19, no. 1, pp. 220–228, Feb.
2021, doi: 10.12928/TELKOMNIKA.V19I1.16432.
[15] H. Obara, K. Wada, K. Miyazaki, M. Takamiya, and T. Sakurai, “Active gate control in half-bridge inverters using programmable
gate driver ICs to improve both surge voltage and converter efficiency,” IEEE Transactions on Industry Applications, vol. 54, no.
5, pp. 4603–4611, Sep. 2018, doi: 10.1109/TIA.2018.2835812.
[16] K. Miyazaki, M. Takamiya, and T. Sakurai, “Automatic optimization of IGBT gate driving waveform using simulated annealing
for programmable gate driver IC,” Sep. 2016, doi: 10.1109/ECCE.2016.7854892.
[17] M. Jabbar, Mnati, A. H. Ali, D. V. Bozalakov, S. Al-Yousif, and A. Van Den Bossche, “Design and implementation of a gate
driver circuit for three-phase grid tide photovoltaic inverter application,” in 7th International IEEE Conference on Renewable
Energy Research and Applications, ICRERA 2018, Oct. 2018, pp. 701–706, doi: 10.1109/ICRERA.2018.8566923.
[18] W. C. Chen et al., “A dynamic bootstrap voltage technique for a high-efficiency buck converter in a universal serial bus power
delivery device,” IEEE Transactions on Power Electronics, vol. 31, no. 4, pp. 3002–3015, Apr. 2016, doi:
10.1109/TPEL.2015.2453511.
[19] T. Bhattacharjee, M. Jamil, and A. Jana, “Designing a controller circuit for three phase inverter in PV application,” in 3rd
International Conference on Electrical, Electronics, Communication, Computer Technologies and Optimization Techniques,
ICEECCOT 2018, Dec. 2018, pp. 882–886, doi: 10.1109/ICEECCOT43722.2018.9001638.
[20] M. Noroozi, A. Abrishamifar, and G. Rezaierad, “A new carrier-based pulse width modulation scheme with reduced output
voltage total harmonic distortion for multi-level inverters,” IETE Journal of Research, vol. 68, no. 6, pp. 4394–4405, Aug. 2022,
doi: 10.1080/03772063.2020.1793693.
[21] E. H. E. Aboadla, K. A. Aznan, M. Tohtayong, S. Khan, M. A. Hannan, and M. N. Uddin, “Low spikes and low harmonic
distortion multilevel inverter for induction motor implementation,” in 2017 IEEE Industry Applications Society Annual Meeting,
IAS 2017, Oct. 2017, pp. 1–7, doi: 10.1109/IAS.2017.8101760.
[22] R. Palanisamy et al., “A new multilevel DC-AC converter topology with reduced switch using multicarrier sinusoidal pulse width
modulation,” International Journal of Power Electronics and Drive Systems, vol. 11, no. 2, pp. 752–761, Jun. 2020, doi:
10.11591/ijpeds.v11.i2.pp752-761.
[23] S. Vashishtha and K. R. Rekha, “Modified digital space vector pulse width modulation realization on low-cost FPGA platform
with optimization for 3-phase voltage source inverter,” International Journal of Electrical and Computer Engineering, vol. 11,
no. 4, pp. 3629–3638, Aug. 2021, doi: 10.11591/ijece.v11i4.pp3629-3638.
[24] L. A. Mohammed, T. A. Husain, and A. M. T. Ibraheem, “Implementation of SHE-PWM technique for single-phase inverter
based on Arduino,” International Journal of Electrical and Computer Engineering, vol. 11, no. 4, pp. 2907–2915, Aug. 2021, doi:
10.11591/ijece.v11i4.pp2907-2915.
[25] I. Colak and E. Kabalci, “Developing a novel sinusoidal pulse width modulation (SPWM) technique to eliminate side band
harmonics,” International Journal of Electrical Power and Energy Systems, vol. 44, no. 1, pp. 861–871, Jan. 2013, doi:
10.1016/j.ijepes.2012.08.024.
[26] S. A. Shirsavar, B. A. Potter, and I. M. L. Ridge, “Three-phase machines and drives-Equipment for a laboratory-based course,”
IEEE Transactions on Education, vol. 49, no. 3, pp. 383–388, Aug. 2006, doi: 10.1109/TE.2006.879266.
[27] F. Llopis, J. González, and M. Jakas, “A low-voltage three-phase AC generator built from analogue blocks,” WSEAS Transactions
on Circuits and Systems, vol. 13, pp. 262–265, 2014.
[28] E. H. Aboadla, K. A. Kadir, Z. M. Yusof, S. Khan, and A. M. M. Ali, “Design and simulation of gate driver circuit for unipolar
inverter based on 555-Timer,” in 2021 IEEE 7th International Conference on Smart Instrumentation, Measurement and
Applications, ICSIMA 2021, Aug. 2021, pp. 152–155, doi: 10.1109/ICSIMA50015.2021.9525936.
[29] H. Attia, H. S. Che, T. K. S. Freddy, and A. Elkhateb, “Mitigating the dead-time effects on harmonics spectrum of inverter
waveform by the confined band vsfpwm technique,” International Journal of Power Electronics and Drive Systems, vol. 12, no.
1, pp. 295–303, Mar. 2021, doi: 10.11591/ijpeds.v12.i1.pp295-303.
[30] X. Liu et al., “Analysis and elimination of dead-time effect in wireless power transfer system,” Energies, vol. 11, no. 6, Jun. 2018,
doi: 10.3390/en11061577.
[31] Z. Zhang, H. Lu, D. J. Costinett, F. Wang, L. M. Tolbert, and B. J. Blalock, “Model-based dead time optimization for voltage-
source converters utilizing silicon carbide semiconductors,” IEEE Transactions on Power Electronics, vol. 32, no. 11, pp. 8833–
8844, Nov. 2017, doi: 10.1109/TPEL.2016.2645578.
[32] D. Sobczyński, “Active gate drivers,” in 28th International Spring Seminar on Electronics Technology: Meeting the Challenges of
Electronics Technology Progress, 2005, 2005, pp. 236–239, doi: 10.1109/ISSE.2005.1491033.
[33] P. Trivedi, “Design of a driver IC- IR2110 for MOSFET in half bridge drive,” Laljibhai Chaturbhai Institute of Thecnology,
2016.
Bulletin of Electr Eng & Inf, Vol. 13, No. 2, April 2024: 800-811
Bulletin of Electr Eng & Inf ISSN: 2302-9285 811
BIOGRAPHIES OF AUTHORS
Sheroz Khan SMIEE 01549179, MIET, C.Eng. has received his B.Sc. in
Electrical Engineering from the N-W.F.P University of Engineering and Technology (UET)
Peshawar, Pakistan. Being the best graduate of the Department of Electrical Engineering in
1982, he was awarded the university scholarship for doing M.Sc. in Microelectronic and
Computer Engineering at Surrey (1988), University, UK. He completed his Ph.D. at
Strathclyde University (UK), and rejoined his parent university in August 1994. After serving
the NWFP UET for five years, he was selected by a Malaysian delegation for work as a
Principal Lecturer at UNITEN from Jan 2000. Upon completing his two-year contract at
UNITEN he started as an associate professor at the International Islamic University Malaysia
from January 2002. He has so far produced twenty two (22) M.Sc. under his direct supervision
and 15 M.Sc. under co-supervision. He has produced ten (10) Ph.D., two (2) Post-Doctorate
under his direct supervision while producing eight (8) Ph.D. under co-supervision. He has
been the Post-graduate Coordinator of ECE Dept. at IIUM, and founding coordinator of the
wireless communication and signal processing research group since 2006. He has been the
research methodology and PG seminar coordinator for the PG programs of the whole faculty
of engineering since 2009 for which he has completed producing Guidelines Booklet. He has
remained Chair of the IEEE Malaysia Chapter for 2012 while working as a secretary of the
IEEE IMS Malaysia Chapter for 2013-2019. He is the co-founder of the International
Conference on Smart Instrumentation, Measurement and Application (ICSIMA 2013) and has
been the Technical Committee of the bi-annual conference IEEE ICCCE. Currently he is
working as full professor within the Department of Electrical Engineering, Onaizah College of
Engineering and Information Technology, Al-Qassimg (Saudi Arabia). He is working to
establish the IEEE Society and IEEE Student Chapters at Onaizah College and is charged with
the task of organizing an international conference. He comes from a humble family origin
from the village of Nawai Wadana. He can be contacted at email: [email protected].
Design and implementation of pulse width modulation gate control signals for … (Ezzidin Hassan Aboadla)