3rd Year Project Report
3rd Year Project Report
Affiliated to
DR. APJ ABDUL KALAM TECHNICAL UNIVERSITY LUCKNOW (U.P.),
INDIA
December 2024
TABLE OF CONTENTS
Content Page no.
Table of Content 1
List of figures 2
Declaration 3
Acknowledgement 4
Abstract 5
Introduction 6
CHAPTER-1 8
1.1 Problems in present time 8
1.2 Inverter (DC to AC) 9
1.3 PWM signals 10
CHAPTER-2 12
2.1 Material used 12
2.2 Arduino UNO 12
2.21 Technical specifications 13
2.3 Power MOSFET (IRF540N) 14
2.4 Power MOSFET (IRF9540N) 15
2.5 BJT (BC548N) 17
2.6 BJT (BC558N) 18
2.7 Resistor 18
2.8 DC Source (9 Volts) 21
CHAPTER -3 23
3.1 System block diagram 23
3.2 Circuit diagram 24
CHAPTER-4 25
4.1 Results and discussion 25
4.2 Practical Simulation 25
CHAPTER-5 26
5.1 Conclusion 26
CHAPTER-6 27
6.1 Future scope 27
REFERENCES 28
1
LIST OF FIGURES
Figures Page no.
1.1 Clssificaton of power electronics circuitry 8
1.2 Basic 3 phase inverter block diagram 9
1.3 General PWM signals genrated by arduino 11
2.1 Pinout of Arduino UNO(top view) 13
2.2 IRF540N pinout 14
2.3 IRF 9540N pinout 16
2.4 pin dgram of BC548N 17
2.5 Pindigram of BC558N 18
2.6 Typical Resistor 19
2.7 SMT resistors 20
2.8 PP3 9v battery with plig 21
2.9 Different sizes of PP battery family 22
3.1 Block diagram of the system 23
3.2 Cicuit diagram of the system 24
4.1 Output of the system 25
4.2 Real life model of the project 25
2
DECLARATION
I hereby declare that the mini project report titled “THREE PHASE INVERTER
USING MICROCONTROLLER” is our original work carried out under the
guidance of Dr. Dinesh Kumar Singh, at Shambhunath Institute of Engineering
and Technology Prayagraj.The project was conducted as a partial fulfillment of the
requirements for the Bachelor in Department of Electrical Engineering.
I affirm that no portion of our work is plagiarized, and the experiments and
results reported in report are not manipulated. In the event of a complaint of
plagiarism and manipulation of the experiments and results, we shall be fully
responsible and answerable.
3
AKNOWLEDGEMENT
I owe soulful thanks to almighty for endowing his immense blessing that helped me
toward the successful completion of my project.
His Readiness to discuss all important matters at work deserves special attention. We
would also like to thank whole of the faculty of the institute for their cooperation and
important support.Sincerely I express my deep feeling to my friend who rendered a
helping hand in the hour of need.I am indebted to my parent for their moral and
personal sacrifice to see me through this project work.I express sincere thanks to my
friend for their friendship and unconditional support in my project.They include
VIVEK RANJAN, UTKARSHA, PAWAN KUMAR, SATYAM KESHARWANI
AND SAURABH VERMA and ALL CLASSMATES.I am also thankful to all
Electrical engineering staff who contribute directly and indirectly in various ways for
my project finally.I express my deepest gratitude to my teacher.Their continual
support and encouragement my my research life has allowed me to pursue this
academic degree.
4
ABSTRACT
Rapid depletion of fossil fuel reserves, and concerns over climate change have
encouraged power generation from sustainable energy based micro-grids. And to
address the necessity of three-phase inverters in micro-grid systems or sustainable-
powered households, an Arduino-based three-phase inverter using MOSFET is
designed, which converts DC into three-phase AC power. The designed system
generates 12V square signals at each phase from a 12V battery through switching of
three stages of power MOSFETs using pulse width modulation (PWM) signals at their
gates from an Arduino Uno. Each stage of power MOSFETs consists of four
transistors making it twelve in total, which are used to perform the inversion process
separately for each three single-phase connections. The system is programmed using
an Arduino Uno to generate PWM signals and to keep 120 degrees phase
displacement among each phase. Three step-up transformers are coupled at the
outputs of MOSFET stages for amplification. The system generates 20.78V of voltage
for the three-phase line delivering 0.58A of current using a 7W load at each phases.
The design and simulation of the electronic circuit are done by Proteus 8 demo, and
the programming codes are written using Arduino IDE. The designed system is
theoretically contrasted and verified.
5
INTRODUCTION
In this era of booming technology and electrification, escalated demand for electric
power has put the power generation and management system in a challenging
situation. And with escalated regulation on CO2 (carbon dioxide) emission worldwide,
the traditional power generation and management system will not be able to withstand
the challenge. This is why humankind started to search for the substitution of the
current power generation system . Moreover, as humanity is more and more
dependent on electricity, the energy demand has been increasing which creates
complications for the power distribution system, like instability of the grid and power
grid and power outages. The need of generating enough energy and awareness in
sustainable technologies yield an accelerated improvement in power distribution
systems involving renewable energy, and the micro-grid system is a promising
outcome of it, which have the potential of addressing several concerns faced by
traditional power systems. A Micro-grid is defined as a low-voltage (LV) distribution
network that includes distributed generators (DGs), energy storage devices, and
controllable loads that can be operated either interconnected or isolated from the main
power grid. Micro-grids hold the potential of being very reliable and economically
sustainable power systems that can significantly improve the ecofriendliness,
efficiency, and resiliency of a system.
6
inverters are most commonly used.Construction-wise three-phase inverters can be two
types: Three-phase Bridge Inverter, and Three Single-phase Parallel Inverter.
7
CHAPTER-1
1.1 PROBLEMS IN PRESENT TIME
Current trends in the energy generation towards green, sustainable and renewable
energy have become essential in reducing the dependency on fossil fuels.The demand
of energy have become essential in reducing the dependency on fossil fuels. The
demand of energy consumption using renewable energy sources has been forecasted
to increase by 32% in the year 2030. These energy sources generally produce
produce power in the form of direct current (DC) signal while most of the application
is driven by an alternating current (AC) signal. Thus, power electronics circuits that
can can convert convert energy from one form to another become a necessity.An
inverter is required to convert the DC power to an AC power. Typically, there are two
parts involved in the power electronic application. The power and control block which
are being implemented depending on the application.
8
1.2 Inverter (DC to AC)
The typical three-phase VSI topology commonly known as six-step VSI is shown in
Figure 1.2.
9
approximate the output AC signal to a sine wave. The inverter predominantly
regulates the output frequency, with the input voltage dictating the output magnitude .
The inverter's output voltage can either be fixed or adjustable at a consistent or
varying frequency.
When the direct current (DC) input voltage remains constant and uncontrollable,
adjusting the output voltage can be achieved by modifying the frequency of the
inverter, typically through the utilization of Pulse Width Modulation (PWM). The
output signal generated by an inverter takes the form of an alternating waveform,
which may not inherently exhibit a pure sinusoidal pattern. However, through the
application of various techniques, the inverter can be engineered to produce an output
waveform that closely resembles a sinusoidal wave [12]. PWM methodologies are
applicable to both single-phase and three-phase inverters. In the case of three-phase
inverters, modulation must be concurrently executed for each phase, incorporating
differing angular displacements such as 120 degrees, 150 degrees, or 180 degrees,
based on the desired electrical efficiency [9], [14]. The current study adopts Single-
pulse Modulation with a 120-degree displacement, utilizing Metal-Oxide-
Semiconductor Field-Effect Transistors (MOSFETs) for its implementation.
PWM signals can be generated in different ways e.g. using op-amps, 555 timers,
micro-controllers, or Arduino. Arduino is essentially also a microcontroller; it is an
open-source platform that consists of a microcontroller chip. Arduino is designed to
provide an inexpensive and easy way to program electronic devices that interact with
their surrounding environment by using sensors or other means of input data . The
presented work uses Arduino Uno for the required task.
10
Fig 1.3 General PWM signals Generated by Arduino
11
CHAPTER-2
2.1 MATERIALS USED
The designed inverter involves an Arduino Uno as the brain of the system and to
produce PWM signals, Power MOSFETs to create AC signals, and center-tapped
step up transformers to amplify the output. As per the focus of this paper, a brief
explanation of Arduino Uno R3 and Power MOSFETs (IRF Z44N) are provided
below, followed by a detailed list of system components, and the system block
diagram.
12
Fig 2.1 Pinouts of Arduino UNO (Top View)
13
2.3 POWER MOSFET (IRF540N)
A MOSFET consists of four terminals: the source, the drain, the gate and the base.
Commonly the base is connected to the source terminal. The substrate, source and
drain consist of either positive or negative doped semiconductors. The metal (or
conductive silicon) gate terminal is separated from these by a nonconductive oxide
layer. By applying voltage to the gate, it changes the electrical properties of the
semiconductor underlying, either allowing or inhibiting the flow of electricity
between the source and drain.
14
The TO-220 package is commonly chosen for commercial-based industrial
applications. The fewer packages cost and less thermal resistance of this package will
give to its broad acceptance all over the industry.
15
Fig 2.3 IRF 9540N Pinout
P-channel MOSFET
Dynamic dv/dt rating
Low threshold voltage
High-speed switching
Low turn-on resistance
Repetitive avalanche rated
Simple drive requirement
Ease of paralleling
Drain-to-source voltage VDS: -100 V
Maximum Continuous drain current ID: -19 A
Maximum Pulse drain current: -72 A
Maximum Power dissipation PD: 150 W
Gate-to-source voltage VGS: ±20 V
Peak diode recovery dv/dt: -5.5 V/ns
Total gate charge QG: 61 nC
On-state resistance RDS: 0.20 Ω
Operating temperature range: -55 to +175 ˚C
Transistor Polarity: P-channel
Package: TO-220AB
SWITCHING CHARACTERISTICS
16
2.5 BJT (BC548N)
TECHNICAL SPECIFICATIONS
17
Saturation Voltage (Vce(sat)): 0.2V.
Base-Emitter Voltage (Vbe(on)): 0.6V to 0.7V
Collector Cutoff Current (Icbo): 15nA
Emitter Cutoff Current (Iebo): 15nA
Package Type: TO-92.
Operating Temperature: -55°C to +150°C
Noise Figure (NF): 2dB to 10dB.
This transistor is composed of 3-layers P, N & P where the ‘N’ layer is arranged in
between two ‘P’ layers. The amplification factors of this transistor range from 110 –
800 which calculates the amplification capacity of the transistor.
2.7 RESISTOR
Resistor is defined as. A passive electrical component with two terminals that are used
for either limiting or regulating the flow of electric current in electrical circuits. The
main purpose of resistor is to reduce the current flow and to lower the voltage in any
particular portion of the circuit.
18
Fig 2.6 Typical Resistors
Practical resistors have a series inductance and a small parallel capacitance; these
specifications can be important in high-frequency applications. And while even an
ideal resistor inherently has Johnson noise, some resistors have
worse noise characteristics and so may be an issue for low-noise amplifiers or
other sensitive electronics.
In some precision applications, the temperature coefficient of the resistance may also
be of concern.
COLOUR CODE
Black 0 1
Brown 1 10 ± 1%
Red 2 100 ± 2%
Orange 3 1000
Yellow 4 10,000
19
Violet 7 10,000,000 ± 0.1%
Grey 8 ± 0.05%
White 9
Gold 0.1 ± 5%
SMT RESISTORS
Resistances less than 100 Ω are written: 100, 220, 470. The final zero represents ten
to the power zero, which is 1. For example:
20
2.8 DC SOURCE (9 Volts)
The nine-volt battery, or 9-volt battery, is an electric battery that supplies a nominal
voltage of 9 volts. Actual voltage measures 7.2 to 9.6 volts, depending on battery
chemistry. Batteries of various sizes and capacities are manufactured; a very common
size is known as PP3, introduced for early transistor radios. The PP3 has a rectangular
prism shape with rounded edges and two polarized snap connectors on the top. This
type is commonly used for many applications including household uses such
as smoke and gas detectors, clocks, and toys.
Only the PP3, PP6, PP7 and PP9 sizes are still manufactured, with the PP3 being
extremely common. Modern batteries have higher capacities and lower internal
resistances than early versions.
Power pack (PP) battery family
Name Voltage Capacity Depth Width Height
PP1 6 volt 4 Ah 55.6 mm 65.1 mm 55.6 mm
PP3 9 volt 0.5 Ah 17.5 mm 26.5 mm 48.5 mm
Dia. 25.8 mm, length: 49.8 mm; 41.5 mm ex.
PP4 9 volt 0.9 Ah
contacts
PP6 9 volt 1 Ah 34.1 mm 35.7 mm 69.9 mm
PP7 9 volt 2.5 Ah 46 mm 46 mm 63 mm
PP8 6 volt 15 Ah 55 mm 61 mm 200 mm
PP9 9 volt 5 Ah 51.5 mm 65 mm 80 mm
PP10 9 volt 15 Ah 66 mm 65 mm 267 mm
4.5 volt × 91 mm
PP11 5 Ah 51.5 mm 65 mm
2
Table 2.2 Different sizes of PP battery family
21
Fig. 2.9 Different sizes of PP battery family
22
CHAPTER-3
3.1 SYSTEM BLOCK DIARAM
A block diagram is very effective in having a high level view and understanding of a
system quickly. So, to provide an overall easy visualization of the whole system
presented in this paper including all its peripheral devices a block diagram is provided
in Fig. 3.1. According to the diagram, the DC power accumulated in the battery from
a micro-grid or renewable energy source is to be converted into AC power separately
through three legs. Where each leg consists of a stage of power MOSFETs.
The main concept of the process or the working principle of the system can be
described as following: The DC power from the battery is fed to the stage of
MOSFETs, which is to be converted into AC. Since the MOSFETs are acting as
switches, their gate pulses are controlled by the Arduino through PWM signals. By
making the MOSFETs ON and OFF through their gate pulses the DC power is
converted to AC at their outputs. The Arduino is programmed in such a way so that
the output signals of the MOSFET stages have a 120 degrees phase displacement
among them. Finally, the alternating output signals of MOSFET stages can be
amplified individually through step-up transformers to drive 220V loads. The outputs
are square waves according to the design.
23
3.2 CIRCUIT DIAGRAM
All the circuit components like the battery, Arduino, MOSFETs, and transformers, in
Fig.3.2 are shown with their interconnection in different colors for easier
understanding.The drain of each three MOSFET bridges are connected to the negative
terminal of the battery and the gates of the MOSFETs are connected to the digital
output (PWM) of the Arduino. When Arduino generates gate pulses, the MOSFETs
convert direct current (DC) to alternative current (AC) through switching, and current
starts to rise in the MOSFETs which makes each transformer to generate EMF,
opposing the EMF of the battery.
24
CHAPTER-4
4.1 RESULTS AND DISCUSSION
To verify and investigate the operation of the system, the designed system is
simulated in Proteus 8.9 Professional. The results are verified according to the written
program codes and their working principle, which satisfy the expected outcome. The
screenshot of the simulation that represents the operational analysis is provided in
Fig.4.1
25
CHAPTER-5
CONCLUSION
The designed system is also practically constructed and tested to be operational as per
the concept. The system takes 9V of voltage from a battery for the inversion process,
while the Arduino operates on 9V through a separate voltage source. The system uses
a total of 6 power MOSFETs for the inversion process in three single-phase
connections separately.
26
CHAPTER-6
FUTURE SCOPE
Every engineering projects have some kind of scopes to improve or extend them, and
the work presented in this paper is not an exception. The future scopes of this work
may involve.
(i) Changing the number of power MOSFETs and analyze the output changes or
improvements,
(ii) Designing a filter to convert the square output signal into sinusoidal,
27
REFERENCES
1. Power Electronics by M.D.Singh (Published by Tata McGraw-Hill Publication
company limited, 1998)
2. Getting Started with Arduino: The open source Electronics Prototyping Platform,
3rd Edition. Gupta,
Krishna Kumar, Alekh Ranjan, Pallavee Bhatnagar, Lalit Kumar Sahu, and Shailendra
Jain. "Multilevel
Inverter Topologies With Reduced Device Count: A Review", IEEE Transactions on
Power Electronics,
2016.
3. Wu, X., Tan, G., Ye, Z., Liu, Y., & Xu, S. (2016). Optimized CommonMode
Voltage Reduction PWM for
Three-Phase Voltage-Source Inverters. IEEE Transactions on Power Electronics,
31(4), 2959-2969.
5. Khalilian, M., Zadeh, A. D., & Adib, E. (2015, February). New three phase zero-
voltage switching PWM inverter using resonant DC-link. In Power Electronics,
Drives Systems & Technologies Conference (PEDSTC), 2015 6th (pp. 521-526).
IEEE.
7. Dordevic, Obrad, Martin Jones, and Emil Levi. "A comparison of carrier based and
space vector PWM techniques for three-level five-phase voltage source inverters."
IEEE Transactions on Industrial
Informatics 9.2 (2013): 609-619.
28