How to Make an Inverter Using ARDUINO

44,460

77

55

Introduction: How to Make an Inverter Using ARDUINO

Hi there, this project is all about designing an inverter from scratch, I am always fantasized by the projects which involves a software controlling an hardware. With this inverter, you can power up various electronic Appliances like TV, Fan etc.

Working : The aim of the inverter circuit is to convert 12VDC to 220VAC, Now to achieve this, we have to first convert 12VDC to 12VAC first followed by 12VAC to 220VAC

In short we can classify the designing of inverter circuit into three stages

1) Driver stage

2) Power stage

3) Transformer

Step 1: MAKING DRIVER STAGE

The tasks that are performed in driver stage are generation of modified sine wave, monitoring the battery voltage, handling the other housekeeping tasks such as short circuit protection etc. Here i have used an Arduino NANO to accomplish all these tasks.

Arduino is generating a modified sine waveform of 5V which is amplified to a level of 12V using L293D ic. Battery voltage is monitored every 20ms using timer interrupt.

Step 2: MAKING POWER STAGE

As the inverter output power is 600VA and it is 75% efficient so the input current at full load comes out to be 75Amp approx. (using ohm's law)

Now this current amplification task is performed by the power stage . In this stage two N-Mosfets are configured in push-pull topology to amplify the current.

Mosfet Chosen are IRF3205

Step 3: TRANSFORMER

Now this is very simple, the output waveform from the pushpull topology is fed into the transformer to generate the 220V.

Step 4: Designing Transformer

Designing transformer

Step 5: Schematics

This is the complete schematics drawn in Eagle software.

Step 6: Code

Here is the complete code of the Arduino.

Step 7: Complete Image of the Inverter

1 Person Made This Project!

Recommendations

  • Battery Powered Contest

    Battery Powered Contest
  • Plywood Challenge

    Plywood Challenge
  • Plastic Contest

    Plastic Contest

55 Discussions

0
apollonios
apollonios

3 months ago

What about 2kW/24V?

0
monojithalder1
monojithalder1

1 year ago

My transformer has two wire in the primary coil and two wire in the secondary coil. Can i use this kind of transformer for making inverter? Thank you.

0
MacTech1
MacTech1

Reply 7 months ago

If ur transformer is having just two wires in the primary and secondary, I suggest u use an H-bridge topology and not a push-pull topology

0
gupxus
gupxus

Question 7 months ago on Step 7

Con la programacion de arduino de la pagina solo me da el pin 10 tensión. En el pin 9 no tiene tension o es decir falta la otra parte de la onda.

0
BriianR
BriianR

Question 1 year ago

Por que la salida A0 la conectan a tierra ??

0
9440885470
9440885470

1 year ago

Hello the output from L293d is 0.14v it does not drive the mosfet so output does not appear please give me solution

0
venkattalasala
venkattalasala

Question 1 year ago on Step 4

my arduino is not supporting timers..Can anyone tell me how to overcome this please

0
kaushalkhuntzz
kaushalkhuntzz

Question 1 year ago

Sir i ask that all grounds are common or mosfet ground are different from L293D IC ?? And also if all are common than its put on arduino ground??

0
mhmoudZ
mhmoudZ

1 year ago

Can you add a tranfirst irfp064 I also suffer from a very large temperature increase in transistors

0
ParthibA
ParthibA

3 years ago

great project
how did you design snubber circuit

0
ShailzaP
ShailzaP

Reply 3 years ago

As it is not a high frequency so i did not use snubber.

0
Tvixen
Tvixen

Reply 2 years ago

You must always use snupper circuit when working with sqare waves! Theres a lots of harmonic distortion.

0
SetiawanP
SetiawanP

2 years ago

Hello. How does the code modify if I'm not using battery?

0
DIY Hacks and How Tos

Cool. This will let you automatically turn the inverter on when you need it and turn it off when you don't

0
RashakaJ
RashakaJ

Reply 3 years ago

Any Idea how to intergrate crystal lcd to this project

0
DIY Hacks and How Tos
DIY Hacks and How Tos

Reply 3 years ago

There are a lot of ways that you can do it. But the easiest thing that you could do is just get an Arduino shield with an LCD display on it.

0
manish singhC
manish singhC

3 years ago

Sir could u tell the transformer rating to be used in this circuit & can i use 6-0-6 transformer

0
JagadeeshM6
JagadeeshM6

3 years ago

After including timer1header in the code it is again showing like this error code

Arduino: 1.8.3 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\Hackers\Documents\Arduino\inverter\inverter.ino:1:54: fatal error: Timer1.h: No such file or directory

#include "Timer1.h" // include Timer1.h

^

compilation terminated.

exit status 1

Error compiling for board Arduino/Genuino Uno.