Skip to main content

Modify a Square Wave Inverter into a Sine Wave Inverter

The post explains a few circuit concepts which can be employed for converting or modifying any ordinary square wave inverter to a sophisticated sine wave inverter design.

Before studying the various designs explained in this article, it would be interesting to know the factors which typically makes a sine wave inverter more desirable than a square wave design.

How Frequency Works in Inverters

Inverters basically involve  frequency or oscillations for implementing the boost and inversion actions. The frequency as we know is generation of pulses at some uniform and calculated pattern,  for example a typical inverter frequency may be rated at 50Hz or 50 positive pulses per second.

The fundamental frequency waveform of an inverter is in the form of square wave pulses.

As we all know a square wave is never suitable for operating sophisticated electronic equipment such as TV, music players, computers etc.

The AC (alternating current) mains that we acquire at our domestic mains outlet also consists of pulsating current frequency, but these are in the form of sinusoidal waves or sine waves.

It's normally at 50Hz or 60Hz depending upon the particular country utility specs.

The above mentioned sine curve of our home  AC waveform refers to the exponentially rising voltage peaks which constitute the 50 cycles of the frequency.

Since our domestic AC is generated through magnetic turbines, the wave form is inherently a sine wave, so doesn't require any processing further and becomes directly usable in homes for all types of appliances.

Conversely in inverters, the fundamental waveform are in the shape of square waves which needs thorough processing in order to make the unit compatible with all types of equipment.

Difference between Square Wave and Sine Wave

As shown in the figure, a square wave and sine wave may have identical peak voltage levels  but the RMS value or the root mean square value may not be identical. This aspect is what that makes a square wave particularly different from a sine wave even though the peak value may be the same.

Therefore a square wave inverter working with 12V DC would generate an output equivalent to say 330V just like a sine wave inverter operating with the same battery  but if you measure the output RMS of both the inverters, it would differ significantly (330V and 220V).



The image incorrectly shows 220V as the peak, actually it should be 330V

In the above diagram, the green colored waveform is the sine waveform, while the orange depicts the square waveform. The shaded portion is the excess RMS which needs to be leveled of in order to make both the RMS values as close as possible.

Converting a square wave inverter into a sine wave equivalent thus basically means allowing the square wave inverer to produce  the required peak value of say 330V yet having an RMS just about equal to its sine wave counterpart.

How to Convert/Modify a Square Waveform to Sine Waveform Equivalent

This can be done either by carving a square wave sample into a sine wave form, or simply by chopping a sample square waveform into well calculated  smaller pieces such that its RMS becomes very close to a standard mains AC RMS value.

For carving a square wave to a perfect sine wave, we can employ a wien bridge oscillator or more precisely a "bubba oscillator" and feed it to a sine wave processor stage. This method would be too complex and is therefore not a recommended idea for implementing an existing square wave inverter to a sine wave inverter.

The more feasible idea would be to chop the associated square wave at the base of the output devices to the required RMS degree.

One classic example is shown below:

The first diagram shows an square wave inverter circuit. By adding a simple AMV chopper we can break down the pulses at the base of the relevant mosfets to the required degree.


simple square wave inverter circuit

Modified square wave to sine wave equivalent inverter version of the above circuit.

Here the lower AMV generate pulses at high frequency whose mark/space ratio can be suitably altered with the help of preset VR1. This PWM controlled output is applied to the gates of the mosfets in order to tailor their conduction into the stipulated RMS value.


How to Modify a Square Wave Inverter into a Sine Wave Inverter

Expected typical waveform pattern from the above modification:

Waveform at the mosfet gates:

Waveform at the output of transformer:

Waveform after proper filtration using inductors and capacitors at the output of the transformer:

Parts List

R1, R2, = 27K,
R3, R4, R5, R6, R7,R8, R9, R10 = 1K Ohms,
C1,C2 = 0.47uF/100V metallized
C3, C4 = 0.1uF
T1, T2, T5, T6 = BC547,
T3, T4 = any 30V, 10amp mosfet, N-channel.
D1, D2 = 1N4148
VR1 = 47K preset
Transformer = 9-0-9V, 8 amp (specifications must be selected as per the output load for correct powre optimization)
Battery = 12V,10AH

Getting Better Efficiency Rate

The above conversion or modification will provide around 70% of efficiency with the achieved RMS matching. If you are interested in getting better and precise matching then probably a an IC 556 PWM waveform processor would be required.

You would want to refer to this article which shows the principle behind modifying a square waveform into a sine waveform using a couple of IC555.

The output from the above mentioned circuit can be similarly fed to the gate or the base of the relevant power devices which are present in the existing square inverter unit.

A more comprehensive approach may be witnessed in the this article where an IC 556 is used for extracting precise PWM based modified sine wave equivalents from a square wave sample source.

This waveform is integrated with the existing output devices for implementing the intended modifications.

The above examples teach us the simpler methods through which any existing ordinary square wave inverter may be modified into a sine wave inverter designs.

Converting into an SPWM

In the above article we learned how the waveform of a square wave inverter could be optimized for getting a sine wave kind of waveform by chopping the square wave into smaller sections.

However a deeper analysis shows that unless the chopped waveform is not dimensioned in the form of SPWMs, achieving a proper sinewave equivalent may not be possible.

To satisfy this condition an SPWM converter circuit becomes essential for carving out the most ideal sinewaveform from the inverter.

The following diagram shows how this could be effectively implemented with the designs discussed above.

SPWM conversion for a square wave inverter

Through one of my earlier articles we understood how an opamp could be used for creating SPWMs, the same theory could be seen applied in the above concept. Two triangle wave generators are used here, one accepting the fast square wave from the lower astable, while the other accepting slow square waves from the upper astable and processing them into corresponding fast and slow triangle wave outputs, respectively.

These processed triangle wave are fed across the two inputs of an opamp, which finally converts them into SPWMs or sine wave pulse widths.

These SPWMs are used for chopping the signals at the gate of the mosfets which ultimately switch the waveform over the connected transformer winding for creating an exact replica of a pure sine waveform at the secondary side of the transformer through magnetic induction.

Need Help? Please leave a comment, I'll get back soon with a reply!


  1. I need a pure sine wave oscillator to drive my midget power stage of my inverter.

  2. make the first circuit in this link:

  3. hellow swagatam, incase I add two more mosfet and connect them in parallel, in that case we will be having two mosfet in each side, Now how Will I Connect the chopper circuit on the mosfet? I have connected the gates with 1k resistor and sources with a thin wire of o.2 ohms. The inverter is working perfectly but i have a problem in connecting the choper circuit, please sir help

  4. Hello hasan,

    Don't connect the gate resistor common ends directly to the collector of T1/T2 rather connect them via another 1K resistor, now you can join the PWM diodes at the junction of these two 1K resistors,

    Use 470 ohms instead of 1K that will be better.

  5. Helo Sadi,

    Yes you can employ the concept for modifying your existing square wave inverter.

    RMS value would be simply the voltage that's specified at the output of your inverter without any load.

    If it's 230V then adjust the preset until the output comes down to's now set.

  6. Hello Sadi,

    Change the position of VR1, use two of them and connect in series with R9 and R10.

    Adjust them carefully to get the required results

  7. Dear Sir, I don't understand how to change the position of VR1

  8. check the output 220V level while you adjust VR1, it will change in response to VR1, adjust until the output settles to the required level.

  9. Will I obtain a very smooth sine wave and Can I run my desktop and laptop on this inverter using both circuits?.

  10. Dear Sir Swagatam,
    I am a fan of your blog and I've been inspired by your work.. for that i thank you very much.. how can i use ic 555 to joint with this circuit "sine wave inverter" to produce 220v at 60hz.. can you provide me a link... thank you very much sir.. and sorry for my bad english and where is D1 & D2 connected?
    sorry i am new to electronics..


  11. The output will be modified sine wave not pure sine, but should be OK for PCs since all these gadgets have an AC to DC converters, so won't make any difference

  12. Good day... Pls can this design carry a 250watt device? If no, pls wat value of transformer and battery is appropriate? Thanks

  13. Good day... Pls can this design carry a 250watt device? If no, pls wat value of transformer and battery is appropriate? Thanks

  14. Will IRFZ44N, 5A transformer and 10AH battery b enough to carry a 250watts device for 12hours? If No, pls help me

  15. Dear Paul

    D1, D2 are connected the gates of the mosfets. please refer to the following post to learn more regarding your requirement.

  16. yes it can carry 250 watts, you will simply need to upgrade the transformer and the battery upto that level.

  17. Yes IRFZ44N will work, but the trafo should be rated at 9-0-9V/25amps and battery 12v/100ah

  18. Pls can I use a JFET D500 in place of BC547??.

  19. Pls can I use a JFET D500 in place of BC547??. And I have a 12-0-12v. Is it ok?

  20. 100AH will not support 1500 watts, you will need at least a 500AH battery.

  21. Not more than 150 watts, at this much load the battery will last for 5 to 6 hours. You can use higher loads also but the battery would drain quickly.

  22. Good day!

    I would be able to help with a design using ordinary discrete components, as already i have presented plenty of such designs in this blog.

  23. it may be due to lower rated transformer or battery or both, not the problem of inverter.

  24. divide 400 by 12 or 9, you'll get the approximate current value.

  25. I found an obscure article about how a Russian took a 330nF Capacitor, went across his 220v output MSW inverter signal, and was able to 'filter' the resultant into a 'near replica' of a PSW form. I don't have a scope to test this myself, have you ever tried to 'end filter' a MSW and scope it to see if you can 'filter' the wave a bit for a 'bubba sculpting session'? I may have misread him, that 330nF seemed awful small to work on that voltage, but you never know (probably was mu, not nano).

  26. I have an elaborate article in my blog, which is actually being tried and updated regularly by a few dedicated readers. The last waveform image actually shows the effect of a cap across the output of the trafo which transforms the crude sine to a considerably refined sine may have a look at the various outcomes presented here:

  27. Hello swagatam.... Please can u modify dis circuit to it regulates outputs to a steady voltage even on load like the one you posted in dis image.

  28. Hello Ifeanyi, i'll try to design it soon and post it.

  29. I am so grateful, will be expecting it. I will love to take after you, you such an innovative engineer.

  30. Hello swagatam, according to the design in this post and the one in the post in the link below. Which of the PWM diodes is correctly connected. Or it doesn't really matter how we connect it?

  31. Hello Ifeanyi, both are correct, the diode polarities are opposite because in the above article the driver devices are N-type while in this link it's P-type

  32. That's true, I just noticed that. Thank U very much

  33. Hello swagatam, if I power only the 555timer with 5v, will it have an adverse effect on the PWM?

  34. Hello ifeanyi, the 555 output positive PWMs voltage should be equal to the mosfet 50Hz voltage, otherwise the PWM may not produce the correct effect. If the 50Hz IC is also driven with 5V then it would be fine.

  35. I am not using a 50hz IC, I am just using a 50hz square wave oscillator using transistors and resistors as shown in the post above. Would it also be fine too to power the oscillator with 5,6,7 or even 12volts regualtor for a stable voltage.

  36. For voltage correction, can we connect the collector leg in the link below to the output of C4 to the diode? Will it work?

  37. The pwm peak voltage should match the gate voltage, that's the only criterion...

  38. Since the gate voltage is usually the half of the supply voltage(12v), therefore the PWM peak voltage should be 6v. How can I ensure that I set the peak PWM to 6. What's the configuration

  39. Am afraid this won't work, because the circuit diagram of the voltage correction you have doesn't have a transformer, hence the voltage is just rectified to abt 200VDC which could damage the mosfet which accepts 55v. I think we should use a smaller TRF to step down to b safe.

  40. mosfet gate voltage (peak) will be always equal to the IC supply voltage which is being used for driving it. If the IC supply is 12V, the gate voltage will be also around 12V peak.

  41. the transistor shown in the voltage correction diagram will ground the inverter shutdown pin to which its connected for implementing the regulation, it will not supply any high voltage to the circuit with which is connected...

  42. I have got d squarewave side working, bt wen I connected the pwm, the voltage drops to zero. What shud I do now

  43. I used an 8-0-8v transformer, I used a 12v battery and I get 350v AC, bt wen I connect the diode from the 2nd circuit(PWM), the voltage drops to zero, I also turn the 47k pot trim but iget no results.

  44. you will need to adjust VR1 correctly for getting optimum results and the trafo voltage rating shpuld be selected as 30% to 40% less than the batt voltage.

  45. change the 47k pot with a higher value pot, example you can try a 220k, 470k or even 1M pot, this will allow you to select from a wide range of PWMs.

    adjust it to get around 220V at the output

  46. Give me a name of software in which we can draw a circuit of inverter and simulate it with ic 4047..


    plz help me in project... I i take a project of inverter

  47. LTspice could do it .. (Linear Technology).

  48. if the two circuts are used ... why the out put will be modified it should be converted to pure sine i right ?

  49. Hi Swagatam

    Can i connect the chopper circuit ( only ) to a ready made modified sine wave inverter ?
    if yes how much watts can it afford ? thanks

  50. Hi Ahmed, if the ready made inverter is already a sine wave modified then you wouldn't require the chopper circuit, it's recommended only if the inverter is square wave type.

  51. The problem is the modified sine wave inverter i have im using it to power an lcd tv, the inverter is 600watts , and the tv is a small one (19 inch ) it works well unless a strange sound coming from the tv power section ( zzzzzz),, i used a friends inverter it was 300watts pure sine wave,, and the (zzzz) was gone,, i thought using the chopper circuit will turn it into pure to fix the problem

  52. I think you should try using a filter circuit first, that would most probably solve the buzzing problem.

    Try incorporating a the following network directly across the output of the inverter

    Initially try the 1uF capacitor alone.... if the problem still persists you can go ahead with the remaining parts in the network.

  53. I have the diode positioned accross the drain and source like in the previous build without the sine wave, do I have to shift them to add the sinewave portion?

    and there is no dot on the line above the vr1 so just asking is it connected it the line above it?

  54. I did not understand your question? which thread are you answering to? please comment under the same thread so that I can follow it properly

  55. Hello sir,
    Santanu again. You said that the amv chopper circuit produces high frequency <50hz. So wont it cause any problem to run 50hz appliances in it?
    and if i add an existing square wave inverter made of 555 and irf540 and add it to the amv chopper will it give output waveform shown by you? Please reply soon.

  56. Hello Santanu,

    You'll have to add a filter stage at the output to cancel high harmonics, the details can be seen in the following example article:

  57. Sir,
    I have build the above circuit. I want know that will this circuit works well with inductive loads.


  58. yes it will...... make sure you add a 0.47uF/400V capacitor across the output terminals of the transformer for cancelling bad frequencies.


  60. add a 0.22uF/400V capacitor at the output terminals of the transformer....

  61. is this actually a pure sine wave inverter? and about how much watts will I get from this?

  62. it's a good quality modified sine wave....not pure sine wave

  63. output power will depend on trafo wattage and battery AH

  64. are the diodes used zener diodes (3v) or regular pn junction?

  65. ok I finished this circuit and from the 110v section of the transformer im getting 75v and the 220v section im getting 120v, thats from a 12-0-12 and I got 85v and 140v from a 9--0-9 transformer... the battery i used was a 12v 65ah car battery and battery voltage stayed at 12.6 volts while testing and fets were warm not burning up... so what could be the prob plus I am not getting much power from it because I tried connecting a a contactor and it didnt energize the coil.

  66. which mosfet have you used?, what's your transformer amp rating?

  67. I used a 12-0-12, 5amp and also same voltage 10 amp and i tried a 9-0-9 3amp and and i got similar voltage the 9 volt brought it up by about 10volts but it couldn't turn on any load

  68. I used 2 irfz44n and one of the transformers were 12v 5amp and one was a microwave transformer that i got wrapped over they said its about 500watts and i tried a 9v 3amp transformer

  69. 12-0-12/5amp will support not more than 40 watts load and 9-0-9/3amp not more than 25 watts....if at all these are accurately rated otherwise the output could be even less

  70. .....use the 500 watt transformer and check the response...

  71. I did im getting 75v out if i use to 2 legs that should give me 220v im getting 120v i connected a normal house fan to it and it didnt even spin a little

  72. remove R5/R6 and connect the gates directly with the collectors...also measure the current by connecting an ammeter (10amp) in series with the battery.
    check the response...if still it does not yield the required results you can assume either the battery, fets or the trafo may be not good or incorrectly connected.

  73. Ok then ill try that... I have a clap meter... I could use that instead

  74. I started from scratch again with this circuit and with a 9v center tap transformer I got 94v but I realized that the transformer was squeaking so i tested the frequency and I got 4khz, the only part i used different from whats in the schematic is that I used a 50k preset instead of 47k, so what could cause the frequency to be so high and my voltage doesnt go any higher when I adjust the preset the voltage goes down and I am trying to get 110v

  75. isolate the two stages and confirm the outputs separately....once confirmed you can integrate them for the final results.

    the lower circuit is designed to produce high frequency...the upper one for producing around 50 Hz.

  76. I disconnected the lower half and these are my results from testing
    I am getting between 32v and 44v rms

    Average voltage is fluctuating between -27v to +44v

    Voltage peak to peak is showing 444v and sometimes 81v

    On my multimeter i am getting 126v

    Frequency on my meter stays at 69hz then jumps to 138hz then to 289hz in a dpace of 10 seconds

    On the scope i borrows the frequency show 4.58kc

    And duty cycle shows 99 and 100%

  77. all these are weird results and will never happen under normal seems either your measuring devices are faulty, circuit is wrongly connected or the components are faulty.

  78. Ill ignore the scope... My multimeter shpws 126v after disconnecting the lower half of the circuit i know my connections

  79. i build the above circuit : the transformer keeps making some noise .so i took the chopping circuit out but the 50hz oscillator together with driver cannot turn the 12 by 12 former. when i added the chopping circuit it was able to light a 100watts bulb at low voltage. what can i do to correct this. noise

  80. can i add an automatic load correction feature to the above modified sine wave inverter circuit. if so where will i put it.

  81. the noise can be reduced by increasing the values of C3/C4, however removing the chopping circuit should in fact make the inverter more powerful,,,there's something not correct with your 50Hz circuit, check it for any faults.

  82. you may refer to the following article for the details:

  83. Thank you, Sir, on this circuit
    I have a question can i use the second part only with my sg 3524 and irf064 mosfet inverter which I made ? it is already has a automatically voltage correction

  84. Hi Mhmad, yes it can be definitely tried and it should work as proposed.

  85. hi. i have a 1000w inverter and 500w inverter can i connect they together in parallel to give 1500 watt?

  86. no that's not possible, it might create a short circuit and fire if tried...

  87. hello sir, i want to ask a few qyestion about how to change square wave into sine wave?

  88. Why does the square wave changes into sine wave at certain frequency?Can someone explain to me more briefly about it?

  89. Hi genious
    Can I use irf740, 10A, 400V, rDS(ON) = 0.550Ω. Instead of irf540

  90. It will work, but a 400v is not an appropriate match...

    preferably the voltage rating should be below 100V and the current above 30 amp

  91. Q.
    Hello sir.
    I have the same problem with this inverter i am using the sg3525 .. the frecuency just staid at 60 hrz for 5 seconds after that jump to 135 and like 10 seconds later to 385 .. how can it staid at 60hrz.

    1. 1
    ----------------------------- -- -------------------------
    0.7*112k+3( 1000 )*200nf. 78400+3000*0.0000002

    Thank 's.

  92. Hello sir.. i have the same problem . I am using the sg3525. It show 60hrz for 5 secs then jump to 130 and after 10secs like 280hrz .

  93. Hello Hector, your meter might be getting "rattled" with the PWM frequency and showing false readings....please check it using an oscilloscope....or first confirm the 60Hz without the PWM integration, once it's confirmed you can restore the PWM connection back in place.

  94. Okkk sir. The meter is ok.. i did measured the pwm without the mosfet and i got the 60hz .... so maybe the problem could be the mosfets or the transf. ?

  95. problem is not in the trafo or the mosfet....first measure the basic frequency without the PWM connections...and onec thew 60Hz is confirmed then you can connect the pwm back in position...PWM frequency is supposed to be 4 times more than the basic frequency (60Hz)

  96. Hi mr swagatam
    As you know... I have inverter using sg 3525.. So should I use your second transistor circuit or should I use another sg 3525... And Connect only one pin like pin 11.
    Thanks .

  97. Hi hisham,

    use the second circuit and connect the diode ends with the mosfet gates and check the response by adjusting the pot....

  98. Good morning sir I hope everything is ok with you please in this article the second diagram Is this all that is required of one to produce an inverter (complete diagram)? or is just a section of it? Thank you

  99. Basiru, first make and confirm the working of the first circuit, if it works correctly then you can proceed with the second stage modification

  100. Thank you sir for T3 T4 Can I use IRFP260N?

  101. Sir please can I use IRFP260N or IRF150 for T3 and T4?

  102. Basiru, please check the datasheet of the mosfets and tell me what's the amp and voltage specs of the mosfets, and what your inverter wattage is intended to be?

  103. IRFP260N : Power MOSFET(Vdss=200V, Rds(on)=0.04ohm, Id=50A)
    And the transformer is 15v-0-15v
    240V 2000MA and I want my inverter to be 500watt if possible thank you sir.

  104. 200V is unnecessarily too high...but nevertheless it will work

    multiply your tafo's amp with voltage....15 x 2 = the maximum capacity of your trafo is 30 cannot get 500 watt from it.

  105. Good job Mr. swagatam I have finished making the first circuit and it works correctly,I am now working on the second one but I didn't get the capacitor 680pf please which number is equivalent to that, am really appreciate thank you sir.

  106. Basiru, you can use any other nearby capacitor, such as a 1nF or any other within the lower range...

  107. Ok sir 1nf how many voltage because I put 102 but the voltage has dropped down to less than 120 and if I adjust the preset the voltage will drop to zero,sorry for my bad English,thank you.

  108. .......change the transformer with a 9-0-9V or use a 24V battery, otherwise the voltage will continue to be low

  109. Hello Mr swagatam my inverter which I am using for more than a year now I just on it today it showing me this (inverter out) and the output is blinking after some second it will show (protection) please I want you to help me with some ideas to solve this problem.thank you sir.

  110. sorry Mr basiru, that would be difficult without a practical check...

  111. you can start posting your queries here, I'll answer them appropriately

  112. any replacement or similar to bc547? bc547 not available here. thanks

  113. you can try 2N3904, 187, 8050, 2N2222 etc

  114. thank you sir! later they got stock on 547, my problem now is the AMV chopper or the lower circuit not working, if i connect the AMV circuit i got 0v output. i dont know how to test the circuit if working or not, but i used analog multi tester dc range, i connect the red test probe to +12 then black to collector, i got 8v, then 12 on end of diode. now i connect the black test probe to negative supply then red to base i got 2.5v, 3.5v on collector. now what is the problem on the circuit? what voltage supposed to be on end of diode? thank you

  115. you will need a frequency meter for confirming the chopper working, or alternatively you can do the following:

    temporarily change C3/C4 with 33uF capacitors or any similar high value capacitor connect a red LED in series with emitter of any one the transistors, now check the LED response, if flickers and changes the rate of flickering then you assume the chopper circuit to be working fine.

    after this you can revert the circuit to its original form by replacing the configuration.

  116. led light alternate left and right but when i replace the c3/c4 to original value its not working. so i tried to use 103 its work now but the xformer become noisy even adjusting the trimpot also the voltage current dropped. by the way boss thanks for your time to help us. i will buy frequency test and oscilloscope when i got enough money. sorry for my bad english, im hate english im not good in it.

  117. Hello Swagatam,
    Thank you for this. I am trying to make such modification to my existing 1500watt modified sinewave inverter. But
    1. your second diagram is not showing for some reason.
    2. Could you please tell me if this same cct can be applied in my case for 1500 watt modified sinewave inverter?
    Thank you.

  118. very slight buzzing is fine...make sure the frequency from the upper astable is 50 Hz (for 220V output)...and the lower it could be around 500Hz...confirm these with a scope.

  119. Hello Moen,

    yes it can be applied to any square wave inverter.

    you could probably try a 555 IC for generating the chopping PWMs, if the transistorized circuit looks difficult to optimize.

  120. Thanks Swagatam,
    Would it be possible for you to look into why the modified cct is not visible? If possible could you upload it again please?

  121. Hello Moen, it's clearly visible in my computer, may be you can refresh the page a few times for correcting the issue

  122. OK I figured it out. Somehow its triggering the country firewall that was put in place to block the religously offensive material.
    Could I ask you to email this png to me please?
    Many thanks,

  123. If possible, I'll try to send it.....

  124. Hello,
    Do you need my email address or can you already get it from my replies?
    Please let me know.
    Kind regards,

  125. sorry, actually due to my busy schedule sending through email might not be possible, please check out the following link this might solve the issue.

  126. Hi Swagatam,
    Thank you for posting the link.
    But I think this is the same link where your original pic is stored and something in this link triggers the country firewall.
    Would it be possible to upload this pic elsewhere like google drive or email if you have a free minute please?
    Many thanks for your help,

  127. Hi Moen,

    please check out the following link:

  128. Thank you Swagatam,
    The new link works perfectly.
    Kind regards,

  129. how to design 5 level cascaded h-bridge multilevel inverter with 6 power MOSFET? please put the value of the component.i need the squarewave output waveform..

  130. I'll try to design it in an easier alternative way and publish it soon

  131. Dear Swagatam,
    On your 3kw pure sine wave inverter circuit diagram , I need to know the type of free wheeling diodes and wire gauge/ side of the transfomer both on primary and secondary winding.


    Bernard Tendengu

  132. Dear Bernard, please refer to the following post, you will see diodes connected across the emitter/collector of the BJTs, you will need to follow exactly the same for the mosfets also, across their drain and source:

    the diode specs will depend on the transformer wattage, and the battery voltage, you can specify these to know the details from me.

  133. Sir,
    Can I used any of SW3205 or IRK3803s in place of T3 and T4?


  134. yes there's no harm in trying...

  135. Sir, Iam Aminu who asked your help on simple 150watt inverter last week, and you refered me to this post, also you gave me an advice to try the second circuit of this post.
    So, since Iam new here, I started by builing the First Circuit and work perfectly, I Loaded Phone and Laptop cherger, I also operate Radio that used transformerless power supplier.

    My question here is;

    1. can I use 0.47uF/100V metallized in C3 and C4?

    2. Can I mix S8050 in T5 and T6 and PMS2222A in T1, T2 instead of BC547?

    Thank You very much for your Kind and Helpfull post.
    I like you very much.

  136. Thanks Aminu, I am glad you could make the first circuit successfully.

    1) 0.47/100V will do.

    2) yes that would be OK too.

  137. ...sorry, correction:

    C3, C4 should be minimum 0.1uF cannot be above this for proper PWM action.

  138. Swagatam Sir, Thank you very much.
    I have compeleted my project right now, and my inverter is working perfectly.
    I test it with 100watt bulb and it fully on. and i try tv too. Almost all appiliences had been tested and work smoothly.
    My question here is if I can I generate more watt from the above project?
    let say, 500watt to above, what components should I modify?

    Thank you once again Sir.
    I like you very much!

  139. That's great Aminu, I am glad to hear this.

    To increase power you will need to upgrade the transformer and the battery power to the specified levels.

    for example for achieving 500 watts the transformer will need to be rated at 24V/25amps, and the battery at 24V/200AH

  140. ...for the mosfets you can use IRF540, rest everything can be as shown in the existing diagram.

  141. Sir, I have completed building the 2nd circuit as you advise me to do inoder to opperate Fan, Tv, etc.
    So, I have a problem, that, If I connect a socket or an extansion that has an LED indicator the resistor of the LED is burning and produce smoke especial if I did not load.

    And, Is it possible to build 500 watt to 1000 watt using this process, If yes, please what component should I modefy to give me higher watt.

    Thank you very much for your help.
    May God see you through!

    pls help me

  142. Aminu, please check the output voltage of your inverter, it could be too high, try reducing it to 220V by adjusting the shown PWM pot.

    you can upgrade the inverter simply by replacing the existing mosfets with higher rated mosfets........... nothing else needs to be changed.

  143. Hello engineer, great work. pls can you make me a comprehensive article on using oscillator having IC SG3524 with IC 555/556 to generate a pure sine wave coupled with mosfet and center tap transformer, or how to perfectly smoothen modified sine wave using IC SG3524 with little or no distortions. Thanks sir

  144. Thanks Atinuke, actually the concept is already thoroughly explained in this website through separate articles. The basic idea of using a 555 pwm generator in inverter can be learned from this article:

    you can replace the 4047 section with your SG3524 circuit, and integrate the 555 feed with it.

    make sure to add a BC547/557 buffer stage before the mosfet stage as indicated in this concept

  145. Thank you very much Sir, The problem is solved by changing the new pot. *So, can you please suggested me the mosfet to use for more wattage? Let say 500 watt.

    Again, I need your help on the above circuit.

    *If I use 12-0-12 5A transfo what wattage can it provide me with the first and the second circuit.

    *And can I use 12-0-12 transfo removed from 750va UPS with this circuit? If yes what wattage can it provide me?

    Thanks once again Sir, I realy like you much.

  146. That's great Aminu, thanks for updating the info.

    you can try IRF3205 for achieving 500 watts however for this you will first need a transformer rated at 60 amps....yes a UPS 750va trafo will perhaps do the job.....and make sure the battery is also rated at 100 to 200AH minimum.

  147. Great work sir,
    This circuit is very interesting, I used the first circut to charge and on a laptop and a bulb. this is amazing.
    The partlist i used are;
    1. 12-0-12v 5A transfo.
    2. Two FP50N06 mosfet
    3. The fist circuit orsillator and,
    4. 12v 20ah battey.
    With this, I on a laptop and a 10 watt bulb for 30 mint and the battey never empty.
    But, the transfo generate some sound and little heat and the two mosfet take less heat than transfo, So I dont know whats wrong.
    Am sure my Teacher Sir Swagatam will help me if there is problem.

    Thank you for all your help to us, and may god bless you and protect you.

  148. thanks Aminu, such problems are difficult to judge....most possibly it could be due to a low quality transformer, because most companies try to save money on copper and iron and end up creating non-standard designs, and compromising on the quality of the is difficult to get a really professionally designed trafo in the market.

  149. Probably Sir!!
    Sir, I dont know what is wrong with my inverter that i build with the 2nd circuit, its now damage 3 mosfet and sometimes its connection is burning untill i make jumper with copper.

    Pls, help me sir.

    And can I use the inverter I made from 1st circuit to on tv? Because, I try it now but the tv is ON and after some mints it OFF and instantly ON again.

    Thank you very much sir.

  150. Aminu, that will be difficult to troubleshoot, you will have to find it yourself what might have gone wrong in your circuit. As you can see the concept is explained comprehensively in the above article, you will have to thoroughly understand how the two circuits are related and how these are supposed to interact, and how the pot needs to be set for an optimal response.

    you can check the output voltage without any load, and check whether the pot adjustment varies it or should vary

  151. Sir, as soon as I connected it to the battery, the mosfet is instantly become too much hot and some other component will start smoking. And I tried it without load as you suggested but the problem is remained unchange

    But, it worked by the time i build the circuit. This problem was started when I loaded a laptop.

    And, Sir is there any way to check the whether the circuit is fine or not before connecting it to the transformer.

    Thank you Sir.

  152. Aminu, that will never happen if your circuit is oscillating correctly, or if the mosfets are correctly connected or are not faulty.

    disconnect the gates of the mosfets, and check the frequency at the collectors of the T1/T2, then at the base of the BC547/BC557, and finally at their emitter junctions....all should show an approximately 50Hz without the PWM connected.

    after connecting the pWM this must increase as per the PWM frequency.

  153. Sir, I have discovered the problem.

    I learnt that, I placed the VR wrongly that is why Iam facing the problem.

    Now I changed new mosfets, and I disconnected the PWM section but the output AC voltage is very low.

    I can see VR has 3 leg, one in isolation part and other 2 in the same part. And I have four resistor's leg to connet them with it.
    So, Which VR leg should I connet to 1k and 27k resistors.

    Sir please help me as usual How to place this pot, because I tried it in any direction but it did not work.

    Thank you Sir!

  154. I discovered again, I included two 27k instead of for 1k at PWM.

    Thanks, for the help Sir.

  155. Aminu, as i indicated before the trafo voltage rating should be lower than the battery voltage for enabling a correct voltage at the output, so make sure this rule is followed.

    the pot two end leads should be connected with R9/R10 while the center lead connects with the positive rail.

  156. yes that's a mistake, I hope you'll correct it soon...

  157. Yes Sir, I have rectified it. But, another problem, one bc557+bc547 part is damage. I discovered this after I removed the transfo and I left only a board with two mosfet, then I used LED across the two 10R resistors but, the LED did not light up. While if I connect the normal one with Positive battery power it light up, and if i repeat the procedure on other side with Nagative battery power, the LED will not ON.

    1. Sir, can this procedure work?

    2. And is it true that if the circuit is working the LED will light up? Because, I dont have another working circuit to confirm it, other than the above Square wave I made.

    Again, Sir do you have an idea on how to make a simlpe, cheap and few components brighter touch light operated on 2*AA batteries that last longer than usual?
    I'am asking you this because, I have recenty graduated and I don't what to stay for Government to give me job, that is why Iam blindly searching for an opportunity.
    I learnt that, our main problem in area I'm leaving is Light, that was what brought an Idea of inverter to my mind, even though there are many inverters in market that are very cost. And I have a little knowledge on electronics and I can devote my time on it freely and tirelessly.

    I have no words to express a gratitude.
    Am proud of you sir.
    Thank you very much for your time, help and king responses.

  158. Ok Sir.
    I anticipated those bc557/bc547 to damage because they got smoke when the first problem happen.
    Now, I decided to give up this circuit and build new one.
    While, building new one, Sir can you please guide me on how to test any part I buid before proceding to the next stage. Thought, I mastered the first circuit but still I need some help.

    I also have multimeter but, I think I lack knowledge on how to use it properly.

  159. Again, on the issue of venturing...
    I mean I want to build a very cheap, simple and brighter lamp that has less battery power consumption.

    For Example;
    A lamp with 3 to 6 bright LED type opperated with only two AA batteries.
    Because, here in the market, there are many kind of this lamp, but people complaining about the quality, the battery power consumption and it's ability to opperate only on 3 AA Batteries.

    So, I want, if available, any component to make changes.

  160. Aminu, the BC/547/BC557 cannot go in smokes unless something's wrongly configured.

    anyway, in the new circuit first make sure the two AMV circuits upper and lower are oscillating correctly at the specified rates.

    you might be having a frequency range in your meter, use it to measure the frequency across the collector and ground of the transistors.

    the upper circuit must show around 50Hz...while the lower circuit should indicate some higher value depending on the pot adjustment.

  161. Aminu, you can try the following design initially:

  162. Sir, I think my problem is not in the building the above two AMV, but rather in the BC557/BC547.
    How can I check, If they are correctly configured?

    I cross checked the two circuit I made with two AMV and I learnt that, now only mosfet is instantely becoming hot. And while connecting the battery to the circuit there is little spark and the battery wire becoming hot too.

    Thank you Sir for all your help.

  163. Aminu, You will have to configure them as shown in the diagram with correct lead connections, I also told you to measure the frequency, until you confirm the frequency at the various nodes, you cannot be sure about the results.

  164. You are great Sir,
    Thank you very much... And I will do as you mentioned.

    But, Sir
    1) This 10E resistors seem to be identical with the 10R resistors used in the old circuit.
    Their colour are: Brown:Black:black:gold. Right?

    2) If I used 1.5watt for all resistors in the circuit what will happen?

    Thank you once again Sir. May God help you, protect you and reward you.

  165. Again Sir,
    1) This 680pf caps is not availabe in my area. Is there any changes in Caps and resistors of PMW?

    2) If I want use IC555 as PMW what is the value of following components?
    A) Resistors,
    B) Trimpot and
    C) Caps.

    Thank you Sir for your time and help.

  166. thank you Aminu, I have not removed the BC557 actually, just added a resistor at its base for preventive the damage.

    yes that's right, but the 10 ohm is not critical, it can be any resistor below 50 ohms.

    higher wattage resistors will not do any harm to the circuit just consume unnecessary space on the board.

  167. 680pf is not critical, you can use any cap below 0.1uF

    you can try the following 555 circuit, just remove the transistor stage and connect pin3 directly with the diodes:

    you can use 12V with the design

  168. When I built this circuit in the past and I normally get the correct voltage but wrong frequency I realized you modified it, I'll try this updated version.... Could I use an arduino to generate pwm and send it to the diodes I'm wondering if the voltage would be too low because the arduino would be sending a 5v or less pwm Signal

  169. Thank you very much Sir.
    I will try this updated version too.

    1. Sir, If I use IC555, is it necessary to do BC557/547 stage?
    2. In my old inverter builed from first circuit (SquareWave) I used 2A473j cap instead of 474j and the inverter is still working. Can this change course problem to the appliances Iam operating with it, Sir?

    Thank very much Sir.
    I will contact you very soon if am through with this version and the other one that convene ic555 pmw and transistive AMV.

  170. the frequency has nothing to do with the configuration, it's simply due to the PWM freq interfering with the base 50 Hz frequency....if you analyze with a scope you would be able to get the correct figures.

    As for the modification a reassessment made me realize that actually the previous design too was safe and had no problems, earlier I thought may be the PWM would damage the BC557, then I realized that with no emitter current that would be the new diagram is as good as the previous one....technical both are safe.

    5V would be fine as PWMs, no issues.

  171. Hi Aminu,

    If you are using PWM then the BJT will become necessary, to enable a better working of the mosfets.

    473 will give 10 times higher frequency than 474, that means your inverter would be running at 500 Hz which can be bad for the connected appliances which are specified to run at 50Hz or 60Hz.

    so make sure the frequency of the inverter is 50 Hz at 220V or 60Hz at 120V

  172. Hello Mr. Swagatam.
    I have couple of small questions regarding this project which might seem trivial,but i would be be grateful if u did .
    1)is this a sine wave or a square wave inverter ?
    2)In the modified circuit there are 2 (+ve)positive terminals and i dont see any negative the diagram correct or m i missing something?
    much appreciated.

  173. hello Mr. swagatam
    i have some doubts regarding this project.
    1)is this a square wave or a pure sine wave inverter.
    2)in the modified circuit there are 2(+ve) terminals but i cant see a -ve terminal,is there some thing wrong with the diagram or am i missing something which is obvious in epic proportions ??
    pls help.

  174. Hello Akshay, The second variant is as good as a pure sine inverter, you might possibly need to put an LC filter at the output for enhancing the results, which could help make the output much like a pure sine wave.

    All the earth symbols in the diagram refer to the negative line and will need to be connected with the battery negative

  175. hi bro
    how are you ?
    can you please show a simple lc filter for the 220v side,i have 2.5uf ac cap
    how much is the l=?

  176. Good Morning Sir,
    I have build this new circuit, all 3 parts are made seperataly in one board, but I did not test any.

    I want you to help me as usual with a trick on how to test the following stage.

    1. the IC555 stage without oscilloscop.

    2. BC557/BC547 stage.

    Thank you very much Sir, Iam very proud of you.

  177. sorry bro, I have not investigated the concept yet so I won't be able to suggest much, however here's one link which you can refer to, it has an output filter example stage clearly explained, i hope it helps:

  178. Hi Aminu,

    first check the circuit without the lower PWM stage

    assuming your 50Hz upper inverter works normally, and it should. initially keep the PWM link from the lower circuit T6 disconnected and check the voltage at the collector of T6 which should vary as the pot is varied, next confirm the frequency at this point and make sure it's 2 to 10 times higher than the frequency of the upper stage (50Hz), depending on the value of the capacitors C3/C4

  179. once these are confirmed you ca integrate the PWM feed as indicated in the diagram for the final analysis.

  180. Sir, You are great!!!

    Iam happy to informe you that, I have builded this Simple SineWave Inverter. Now, Its working normal and it provided me with full current.
    But, I did not used IC555 stage, I used the complete circuit above since it seems more familier to me.

    The only problem i got was in BC557/BC547 stage where one of the BC547 used is damaged and it allows the high volt to pass through it, Though based on your resent reply I have identified and solved problem.

    Now, Another Issue is on POT and some other component I used as result of their scarcity.

    1) I used 473 pot, then another new 473 and finaly I change to 503 pot still I cant see any difference in AC outpot when varying both the pots that i used.
    Anything wrong?

    2. I used 2A102j instead of 680pf.
    Can this affect the working of the pot or can it damage the applience operate with this inverter?

    Thank you very much Sir.

  181. Again Sir,

    With last and recent inverter I builded, I understand that, both cannot work well with transformer removed from old UPS.

    I tested with two transfo, one is 7.1-0-7.1 removed from 500va UPS and other has no detail but it was removed from 750va UPS non of them is able to operate PC, the transistor become hot instantly but they work on TV and bulbs.

    Finaly, I tried the other tranfo that I'am using which is rated 12-0-12 5A it operate PC normaly and light 26watt bulb at same time, so due to its low current (5A) it cannot operate the TV.

    Sir, I need your help on what best transfo should I use, that can operat many electronic apliencies. Because, Buying or winding new transfo may cost too much.

    Iam very grateful Sir,
    Thank for the helps.

  182. Aminu, use 33uF, or 47uF, or any such high value capacitor in place of the 102 capacitors and connect lED in series with R7, check the LED illumination, it should flash alternately and the flashing should change on both the LEDs oppositely as the pot is moved....this will confirm your PWM section transistors are working or not.

    once this is confirmed positively you can again replace the capacitors with the 102, and if this time it doesn't work then it could be the 102 caps which can be deemed faulty.
    7V trafo is the correct one and will work optimally when the PWM is attached and adjusted correctly.

  183. Ok, Thank you Sir,
    I will give it try and update you with the result soon.

  184. Good Morning Sir,
    Am back with the result.

    As you asked me to do, so I did it.
    All the pots are working, because the LED's light is varying.
    Now, I changed the pot to 473. May be my moltimetre has fault that is why I cant see the changes in the AC volatge. But, even the bulbs I conneced did not show any change.

  185. Sir can you please suggest me what is wrong?

    1) If I connect a load with morethan 100watt the Mosfet are getting hot and even some of the component in the circuit are damaging, like the ware i used for making jumpers and some line in the viroboard.

    2) This new Inverter that I build (sinewave) cannot operate fan. I tried it with a table fan, and the fan is only emitting louder sound as if it is going to bust.

    In testing this sinewave circuit, I used:
    *12v 20A battery.
    *Transfomer removed from 500va UPS and,
    *IRF3205 mosfet.

    Thank you sir.

  186. Aminu,

    The PCB is getting hot because the tracks or the jumpers are not able to bear the higher current level, you should use thicker wires and tracks for the PCB, and use a big heatsink for the mosfets.

    Adjust the PWM and see which PwM setting produces the most suitable results for the fan.

    actually the pot should be adjusted first for setting the output voltage of the trafo at the correct level, only after this it's recommended to connect the load

  187. Salut Swagatam..
    J'aimerais bien avoir a la sortie de l'onduleur 120 volts.pouvez vous me donner le shema?

  188. Salut Wileps,

    you simply have to use a transformer having an 120V rated secondary winding, rest everything can be as is

    il suffit d'utiliser un transformateur ayant une 120V évalué enroulement secondaire, du repos tout peut être aussi est

  189. so if the LC filter is added to the circut will i be able to run a 20 watt ac motor load without having the adverse effects on the pump ????

  190. and what will be the effects on the same motor load if i was to directly connect it to the output of this inverter ???
    thanx for all ur help.

  191. LC will reduce harmonics and will help the motor to run with less noise, less heat and more efficiently

  192. Morning Sir,
    The problem of component borning has been solved by following this procedure.

    1. I connected the battery positive directely to the centre of transfo and then I used thin copper ware with switch to the positive input of the circuit board.
    2. The negative of the battery is also directely connected to the sourse of the two mosfet then I used another thin copper ware to the board.

    I think, this can save all the components in the board.

    Sir, still Iam exeriencing some problems.

    1. one of the mosfet is getting hot If i load the laptop or any higher wattages appilience like 100watts bulb.
    2. my multimeter is ok, but when connected it to the inverter in order to test the AC output volt it is reading wrongly and if connected to main AC its reading normal 220v or 219v.
    3. Still the inverter can not operate Fan.
    As usual, I need your help Sir to solve them

    thank you very much sir.


Post a Comment