220V DC to 220V AC: DIY Inverter Part 2

Introduction: 220V DC to 220V AC: DIY Inverter Part 2

About: Electronic hobbyist : Love to explore the field of applied electronics and embedded systems with a motive to contribute and share creative ideas. Green Energy enthusiast

Hello everyone. I hope you all are safe and staying healthy. In this instructable I will show you how I made this DC to AC converter that converts 220V DC voltage to 220V AC voltage.The AC voltage generated here is a square wave signal and not a pure sine wave signal. This project is a continuation of my previews project which was designed to convert 12Volts DC to 220V DC. It is highly recommended that you visit my previous project first before continuing ahead i this instructable. The link to my DC to DC converter project is :

https://www.instructables.com/id/200Watts-12V-to-2...

This system converts the 220V DC into and Alternating signal of 220Volts at 50 Hertz which the commercial AC supply frequency in most countries. The frequency can be easily adjusted to 60 Hertz if required. For this to happen I have utilized a full H bridge topology using 4 High voltage MOSFETS.

You can run any commercial appliance within a power rating of 150 watts and about 200 watts peak for short duration. I have successfully tested this circuit with Mobile chargers, CFL bulbs, Laptop charger and table fan and all of them work fine with this design. There was no humming sound while operating the fan as well. Due to high efficiency of the DC-DC converter, the no load current consumption of this system is only about 60 milliamps.

The project uses very simple and easy to get components and some of them are even salvaged from old computer power supplies.

So without any further delay, let us get started with the build process!

WARNING: This is a high voltage project and can give you a lethal shock if you are not careful. Only attempt this project if you are well versed with handling high voltage and have experience in making electronic circuits. Do NOT attempt if you do not know what you are doing.

Supplies

  1. IRF840 N channel MOSFETS - 4
  2. IC SG3525N - 1
  3. IR2104 mosfet driver IC - 2
  4. 16 pin IC base(optional) -1
  5. 8 pin IC base (optional) - 1
  6. 0.1uF ceramic capacitor - 2
  7. 10uF electrolytic capacitor - 1
  8. 330uF 200 volt electrolytic capacitor - 2 (I salvaged them from a SMPS)
  9. 47uF electrolytic capacitor - 2
  10. 1N4007 general purpose diode - 2
  11. 100K resistor -1
  12. 10K resistor - 2
  13. 100 ohm resistor -1
  14. 10 ohm resistor - 4
  15. 100K variable resistor (preset/ trimpot) - 1
  16. Screw terminals - 2
  17. Veroboard or perfboard
  18. Connecting wires
  19. Soldering kit
  20. Multimeter
  21. Oscilloscope (optional but will help to fine tune the frequency)

Step 1: Gathering All the Required Parts

It is important that we gather all the necessary parts first so that we can quickly move on to making the project. Out of these a few components have been salvaged from old computer power supply.

Step 2: The Capacitor Bank

The capacitor bank plays an important role here. In this project, high voltage DC is converted to high voltage AC, thus it is important that out DC supply is smooth and without any fluctuations.This is where these huge beefy capacitors come into play. I got two 330uF 200V rating capacitors from a SMPS. Combining them in series gives me and equivalent capacitance of roughly 165uF and increases the voltage rating upto 400 volts. By using the series combination of capacitors, the equivalent capacitance gets reduced but the voltage limit increases. This solved the purpose for my application. The high voltage DC is now smoothed out by this capacitor bank. This means that we will get a steady AC signal and the voltage will remain fairly constant during start-up or when a load is suddenly attached or disconnected.

WARNING:These high voltage capacitors can store their charge for a long, long period of time, that can be upto several hours! So only attempt to make this project if you have a good background of electronics and have hands on experience of handling high voltage. Do this at your own risk.

Step 3: Deciding the Placement of Components

Since we will be making this project on a veroboard, it is important that all the components are strategically placed so that relevant components are closer to each other. In this way, solder traces will be minimal and less number of jumper wires will be used making the design more tidy and neat.

Step 4: The Oscillator Section

The 50Hz (or 60Hz)signal is being generated by the popular PWM IC- SG3525N with a combination of RC timing components.

To get more details about the working of the SG3525 IC, here is a link to the datasheet of the IC:

https://www.st.com/resource/en/datasheet/sg2525.pd...

To get an alternating output of 50Hz, the internal oscillation frequency should be 100 Hz which can se set by using Rt approximately 130KHz and Ct equals to 0.1uF .The formula for frequency calculation is given in the datasheet of the IC. A 100 ohm resistor between pin 5 and 7 is used to add a little deadtime between the switching to ensure the safety of switching components (MOSFETS).

Step 5: The MOSFET Driver Section

SInce high voltage DC will be switched via the MOSFETs, it is not possible to directly connect the SG3525 outputs to the gate of the MOSFET, also switching N channel MOSFETs in the high side of the circuit is not easy and requited proper bootstrapping circuit. All of this can be efficiently handled by the MOSFET driver IC IR2104 the is capable of driving/ switching MOSFETs that allow voltages upto 600Volts. This makes the IC suitable for out application. Since IR2104 is a half bridge MOSFET driver, we will be needing two of them to control the full bridge.

The datasheet of IR2104 can be found here:

https://www.infineon.com/dgdl/Infineon-IR2104-DS-v...

Step 6: The H Bridge Section

The H bridge is what is responsible for alternatively changing the direction of current flow through the load by alternatively activating and deactivating the given set of MOSFETS.

For this operation I have chosen the IRF840 N channel MOSFETs which can handle upto 500 volts with a maximum current of 5 Amps, which is more than enough for our application. The H bridge is what will be directly connected to out AC appliance.

The datasheet to this MOSFET is given below:

http://www.vishay.com/docs/91070/sihf840.pdf

Step 7: Testing the Circuit on Breadboard

Before soldering the components in place, it is always a good idea to test out the circuit on a breadboard and rectify any mistakes or error that might creep up. In my breadboard test I assembled everything as per the schematic(provided in a later step) and verified the output response using a DSO. Initially I tested the system with low voltage and only after being confirmed that it was working did I test it with high voltage input

Step 8: Breadboard Test Complete

As a test load, I used a small 60 watt fan along with my breadboard setup and a 12V lead acid battery. I had my multimeters connected to measure the output voltage and current consumed from the battery. Measurements are needed to make sure that there is no overloading and also to calculate efficiency.

Step 9: The Circuit Diagram and Schematic File

The following is the entire circuit diagram of the project and along with it I have attached the EAGLE schematic file for your reference. Feel free to modify and use the same for your projects.

Step 10: Starting the Soldering Process on Veroboard

With the design being tested and verified, now we an move ahead to the soldering process. First, I have soldered all the components concerning the oscillator section.

Step 11: Adding the MOSFET Drivers

The MOSFET driver IC base and the bootstrap components were now soldered

Step 12: Inserting the IC in Place

Be careful of the orientation of the IC while inserting. Look for a notch on the IC for pin reference

Step 13: Soldering the Capacitor Bank

Step 14: Adding the MOSFETS of the H Bridge

The 4 MOSFETs of the H bridge are soldered in place along with their current limiting gate resistors of 10Ohms and along with screw terminals for easy connection of the input DC voltage and the AC output voltage.

Step 15: Complete Module!

This is what the entire module looks like after soldering process has been complete. Notice how most of the connections have been made using solder traces and very few jumper wires. Be careful of any loose connections because of high voltage risks.

Step 16: Complete Inverter With DC-DC Converter Module

The inverter is now complete with both the modules complete and attached with each other. This has been successfully working in charging my laptop and powering a small table fan simultaneously.

I hope you like this project :)

Feel free to share your comments, doubts and feedback in the comments section below. Watch the full instruction and build video to more essential details about the project and how I built it, and while you are there consider subscribing to my channel :)

Step 17: Tutorial Video

Be the First to Share

    Recommendations

    • Maps Challenge

      Maps Challenge
    • First Time Author Contest

      First Time Author Contest
    • Make it Fly Challenge

      Make it Fly Challenge

    17 Comments

    0
    ccelectronics5
    ccelectronics5

    3 months ago

    Hi Utsav
    I call this ART from a role model like you.
    Would like you to change square wave ac output on this project to smps
    for pure sine wave with arduino or microcontroller program? if you already did
    where can I check it out?.
    Thanx
    Alex

    0
    Utsav_25
    Utsav_25

    Reply 2 months ago

    Hello thanks for your feedback! Yes, sine wave inverter is definately possible using arduino or microcontroller, I am also working on such a solution but you can get a lot of information on the internet for sine wave inverter

    0
    ccelectronics5
    ccelectronics5

    Reply 2 months ago

    Thanx
    You're the best

    0
    elbekkar
    elbekkar

    4 months ago

    Thank you very much Utsav for this great sharing.
    Very instructive presentation.
    Abdelaziz

    0
    Utsav_25
    Utsav_25

    Reply 4 months ago

    Thanks a lot for your feedback!

    0
    Solhi
    Solhi

    Question 1 year ago on Step 6

    Hi, thanks for a superb solution I have been looking for. If I want to convert higher current, do I just use a mosfet with higher Amp, like 30A or 50A?

    0
    elbekkar
    elbekkar

    Answer 4 months ago

    Hi Solhi,
    Have you tried with higher current MOSFET?
    I would like to do the same thing.
    Thank you.
    Abdelaziz

    0
    Solhi
    Solhi

    Reply 4 months ago

    No, I did go another path. My basis is a Don Smith generator, where I get all the current I want in a Sine wave. Need only to adjust the frequency with a filter.

    0
    Utsav_25
    Utsav_25

    Answer 12 months ago

    Thanks for your feedback :)
    Yes you want a higher current at the output then you can replace the MOSFETS with higher current capacity but make sure that the Drain Source voltage rating should be 500 volts.

    0
    pbodas
    pbodas

    5 months ago

    This seems an interesting and working solution. The intention is to drive a standard single phase induction motor (a water pump typically 0.5hp to 1hp) using an array of solar panels and this type of a circuit in between. The panels will be selected so as to provide 130 to 230 VDC in the daytime based on availability of sunlight. Do you think this can scale upto handling 5 to 8 Amp of AC current if 8 or 12 MOSFETs are used? The induction motor needs a high starting current, so perhaps a variable frequency (starting from 10 Hz to 50Hz) need to be organized using Arduino or such mechanism. Please give your views and suggestion on this.

    0
    Utsav_25
    Utsav_25

    Reply 5 months ago

    I would say that is the intention is to drive an induction motor then this setup may not be ideal specially considering the high inrush current for the motor. Since this is not a pure sine wave setup you may face issues of humming and hearing of the MOSFETS.

    0
    pbodas
    pbodas

    Reply 5 months ago

    Thanks for your response. Can you please let me know, the fan which u tested at the output - was that an induction motor or was it a motor with brushes.

    0
    tisongariga
    tisongariga

    5 months ago

    Cost of this project?

    0
    Utsav_25
    Utsav_25

    Reply 5 months ago

    Entire setup costed me about 6-7 dollars

    0
    Utsav_25
    Utsav_25

    Reply 5 months ago

    Entire setup costed me about 6-7 dollars

    0
    kadekgiri
    kadekgiri

    Question 9 months ago

    thanks I found it.....