• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Inverter Circuits / Convert a Square Wave Inverter into a Sine Wave Inverter

Convert a Square Wave Inverter into a Sine Wave Inverter

Last Updated on December 23, 2024 by Swagatam 469 Comments

In this post I have explained a few circuit concepts which can be employed for converting or modifying any ordinary square wave inverter to sophisticated sine wave inverter design.

Before studying the various designs I have 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 explained 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 I have explained 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 basic idea is to chop the output power devices with sine wave pulse width modulation, so that the power devices force the transformer winding to also oscillate in the SPWM mode and ultimately generate an optimized pure sine wave at the secondary side. The magnetic induction of the pulsed SPWM across the transformer winding finally gets the shape of a pure sine wave due to the inductive filtration of the transformer winding.

The following diagram shows how this could be effectively implemented with the concept 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.

How to Calculate the Part Values

Astable Multivibrator Frequency (Square Waves):

Formula: f = 1 / (0.693 * (R1 + 2 * R2) * C)

For the fast square wave generator:

Let R1 = 10k ohms, R2 = 100k ohms, C = 10nF (example values).

ffast = 1 / (0.693 * (10000 + 2 * 100000) * 10e-9)

ffast = 1 / (0.693 * 210000 * 10e-9)

ffast = 68 Hz

For the slow square wave generator:

Let R1 = 10k ohms, R2 = 1M ohm, C = 100nF (example values).

fslow = 1 / (0.693 * (10000 + 2 * 1000000) * 100e-9)

fslow = 1 / (0.693 * 2010000 * 100e-9)

fslow = 7.1 Hz

RC Integrator Cutoff Frequency (Triangle Wave Generators):

Formula: fc = 1 / (2 * π * R * C)

For each RC stage assume R = 1.5k ohms and C = 33nF.

fcstage = 1 / (2 * 3.1416 * 1500 * 33e-9)

fcstage = 1 / (2 * 3.1416 * 0.0000495)

fcstage = 3223 Hz

For three stages the overall response rolls off steeply approximately at the same fcstage.

Op-Amp SPWM Generation:

The op-amp compares the fast triangle wave (carrier) and the slow triangle wave (modulating signal). The output is high when the carrier is greater than the modulating signal. This generates a sinusoidal PWM (SPWM).

Gate Drive Requirements for MOSFETs:

Formula: Ig = VSPWM / Rg

Assume VSPWM = 10V and Rg = 1.5k ohms.

Ig = 10 / 1500

Ig = 0.0067 A (6.7 mA)

This ensures the MOSFET switches efficiently.

You'll also like:

  • sq 1Inverter Voltage Drop Issue – How to Solve
  • transformerlessupscircuitforcomputersTransformerless UPS Circuit for Computers (CPU)
  • blockdiagramArduino Modified Sine Wave Inverter Circuit
  • IC 556 Pure Sine Wave Inverter Circuit

Filed Under: Inverter Circuits Tagged With: Convert, Inverter, Sine, Square, Wave

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Laser Diode Driver Circuit
Next Post: Single Mosfet Timer Circuit »

Reader Interactions

Comments

  1. Alad Putdy says

    April 3, 2025 at 1:05 am

    Wat is het nullast vermogen.

    Reply
  2. Hillary says

    December 22, 2024 at 2:23 am

    Hello sir, why does the inverter have a vibrating/humming sound when inductive load is added to it

    Reply
    • Swagatam says

      December 22, 2024 at 8:01 am

      Hi Hillary, Inductive loads typically create magnetic fields when they work. These magnetic fields can affect the parts inside the inverter which can make them vibrate. This vibration usually matches the frequency of the inverter’s frequency which is usually 50 Hz or 60 Hz and that’s why you might hear a humming noise.

      Reply
      • Hillary says

        December 24, 2024 at 12:20 am

        Does this mean that even a sine wave inverter will hum when an inductive load is connected to it?
        If yes, is there a way to reduce the humming sound?

        Reply
        • Swagatam says

          December 24, 2024 at 8:41 am

          A proper sine waveform will generate minimum or negligible humming sound. You can reduce it by using a pure sine waveform and by clamping the transformer tightly with the body of the inverter.

          Reply
  3. Samuel says

    September 12, 2024 at 5:08 pm

    Sir thanks for spwm circuit above, can the circuit power LED TV

    Reply
    • Swagatam says

      September 12, 2024 at 6:51 pm

      Hi Samuel, yes it can be used to power LED TV, but only after correctly dimensioning the SPWM RMS value and after proper filtration.

      Reply
  4. Sadiq Sulaiman says

    August 7, 2023 at 5:33 am

    Hello Mr. swagatam, did you use any programm on any of the ic including the 556?

    Reply
    • Swagatam says

      August 7, 2023 at 9:27 am

      Hello Sadiq, No programming were used, these ICs do not need any kind of programming. By the way I cannot see any ICs in the above concepts.

      Reply
  5. Jean Carlos Diaz says

    April 20, 2023 at 12:19 am

    Hello good afternoon, my name is Jean Carlos. Regarding the issue of the inverter, I would like to ask about its usefulness. There will be videos of its assembly and production in refrigerators or televisions.

    Reply
    • Swagatam says

      April 20, 2023 at 9:16 am

      Hello Jean,
      Sine wave and modified sine wave inverters can be very useful for driving refrigerators and TVs

      Reply
  6. Atuh Gabriel says

    December 12, 2022 at 6:09 pm

    Hello sir can u help me with a circuit that will completely chop off the excessive RMS of a square wave inverter, converting it to pure sine wave.

    Reply
    • Swagatam says

      December 12, 2022 at 7:16 pm

      Hi Atuh, You will have to implement the following concept an feed the SPWM across the mosfet gates for the chopping:

      https://www.homemade-circuits.com/how-to-generate-sinewave-pwm/

      Reply
  7. Sadiq Sulaiman says

    December 8, 2022 at 1:43 am

    Mr. Swagatam I’ve brought a 12v 650va ups Which is pwm square wave. Around how many amps do you think it will be drawing from the battery at no load though it will be more than a ferrite core transformer. Please tell me if it will draw much current.

    Reply
    • Sadiq Sulaiman says

      December 8, 2022 at 1:45 am

      Before I start using it. If it will draw a lot of current on no load i will return it back.

      Reply
    • Swagatam says

      December 8, 2022 at 9:06 am

      Hello Sadiq, It can be difficult to judge how much current your inverter will consume without load. You may have to check this by connecting an ammeter in series with the battery positive line.

      Reply
  8. Jboy says

    December 2, 2022 at 10:21 pm

    What is the wave firm after modifying the square wave using spwm comparator

    Reply
  9. Sadiq Sulaiman says

    November 12, 2022 at 4:55 pm

    Thanks swagatam but what about a fully loaded 100w modified sinewave inverter with a ferrite core transformer how much current will it draw max.

    Reply
    • Swagatam says

      November 13, 2022 at 9:54 am

      It will draw approximately 90 watts. You can divide this 90 watt with the battery voltage to get the approximate current value.

      Reply
  10. Sadiq Sulaiman says

    October 31, 2022 at 1:54 pm

    Hello Mr swagatam how many amps does an almost fully loaded 75w inverter draws. And it’s efficiency at half load.

    Reply
    • Swagatam says

      October 31, 2022 at 2:19 pm

      Hello Sadiq, a 12V 75 watt inverter with a center tap iron core transformer would draw around 6 amp current at around 70% efficiency. The efficiency would remain almost the same even at half load.

      Reply
    • Sadiq Sulaiman says

      October 31, 2022 at 3:13 pm

      Ok what about at higher efficiency such as 85 percent?

      Reply
      • Swagatam says

        October 31, 2022 at 7:41 pm

        For higher efficiency you may have to opt for a full bridge topology with torroidal type of transformer, or ferrite based transformer

        Reply
        • Sadiq Sulaiman says

          November 1, 2022 at 4:15 pm

          I’m using a 75w rated 12v dc inverter with a ferrite core transformer. Due to electricity problems I had to use an inverter and i just want a small inverter which should draw at least maximum of 7 to 8amp of current. Load are ceiling fan rated 68w two led bulbs rated 5w and mobile charger charging my phone. Should I buy a 100w or an 80w inverter in order to draw between 6 to 8 amperes?

          Reply
          • Swagatam says

            November 1, 2022 at 5:24 pm

            You will have to buy at least a 100 watt inverter for optimal performance.

            Reply
            • Sadiq Sulaiman says

              November 1, 2022 at 6:26 pm

              How many ampere do you think the 100w inverter with ferrite core transformer will draw at full load

              Reply
              • Swagatam says

                November 1, 2022 at 6:57 pm

                It will depend on the efficiency of the inverter, and the load current.

                Reply
                • Sadiq Sulaiman says

                  November 1, 2022 at 8:50 pm

                  Ok that is at high such as 80 percent

                  Reply
                  • Swagatam says

                    November 2, 2022 at 9:15 am

                    Divide 100 with 12V that will give you the maximum current the inverter will consume at full load.

                    Reply
  11. Sadiq Sulaiman says

    September 26, 2022 at 12:57 am

    OK problem almost solved because I have brought the iPhone battery pack whose battery was rated 1,450Mah in series which made it different from other battery packs but I wanted it to fully charge my iPhone more than one time. Can I increase it’s lasting by changing both the batteries to 3,000Mah in series which was 7.62v into 7.62v 3,000Mah?

    Reply
    • Swagatam says

      September 26, 2022 at 10:06 am

      Yes, you can add the batteries in series to make it last longer.
      For further questions you can discuss under the following article:
      Wireless Battery Charger Circuit

      Reply
  12. Sadiq Sulaiman says

    September 24, 2022 at 4:48 am

    OK I changed the coils into a bigger enamelled copper coil but doesn’t charged my phone unless I bring it too close at that point that’s when it charges at extreme high current is it because of the enamelled copper coil that stop’s it from charging the phone when I close the power bank

    Reply
    • Swagatam says

      September 24, 2022 at 9:18 am

      It’s not because of enameled copper wire, it’s because of the air resistance which prevents the transfer of current as distance is increased.

      Reply
  13. Sadiq Sulaiman says

    September 22, 2022 at 2:36 pm

    OK but the input supply current I.e the battery yto PCB wires?

    Reply
    • Swagatam says

      September 22, 2022 at 5:42 pm

      Sorry, I did not understand your question.

      Reply
  14. Sadiq Sulaiman says

    September 22, 2022 at 1:17 am

    Hello I couldn’t because the wires are so tiny but the turns are many but I think it’s more than 25 turns. Also the inverter (1500va) was able to handle the load (150watt) I think I should just connect the inductors in parallel.
    I have a wireless power bank rated 5w max is there a way I can increase it’s charging speed to 7.5 or 15w

    Reply
    • Swagatam says

      September 22, 2022 at 9:55 am

      The wire thickness must be more than 1 mm otherwise it cannot be used at the inverter output.
      You will have to open the power bank and upgrade the coil wire thickness and the input supply current to increase its capacity.

      Reply
  15. Sadiq Sulaiman says

    September 9, 2022 at 4:09 pm

    OK but when was looking for inductor I found a magnetic ballast rated 20watt when I connect it with a 1uf 400v non polar capacitor it produced a pure sinewave but cannot handle a 150watt fan because the voltage drops around 85 to 90volt from 220volt. is it because of the thin wires. Or how do I increase the ballast watts rating..

    Reply
    • Swagatam says

      September 9, 2022 at 6:25 pm

      Does the inverter handle the load normally without the inductor?
      How many turns does the inductor have? According to me it should not be more than 25 turns wound over an iron core. The iron core thickness can be 1 cm.
      The wire thickness of the inductor should be at least 1 mm.

      Reply
  16. Sadiq Sulaiman says

    September 9, 2022 at 4:00 am

    OK what type of inductor should I use the secondary winding of a UPS transformer. Also the capacitor should now be smaller right.

    Reply
    • Swagatam says

      September 9, 2022 at 9:34 am

      You will have to make the inductor with some trial and error. Try with a 25 turn inductor wound with a 1 mm copper wire. If it doesn’t give proper results try increasing the number of turns. Capacitor can be a 1uF/400V non polar

      Reply
  17. Sadiq sulaiman says

    September 7, 2022 at 11:13 pm

    Mr.swagatam, if I use an inductor to reduce aharmonic in the modified sinewave ups to converted it into a pure sinewave rather than using the capacitor which one Will be more efficient.

    Reply
    • Swagatam says

      September 8, 2022 at 9:28 am

      Hello Sadiq, you will need an inductor and also a capacitor for the conversion, without a capacitor the conversion may not be possible. Using capacitor and inductor both is more efficient than using only capacitor.

      Reply
  18. Sadiq sulaiman says

    September 1, 2022 at 11:16 pm

    Thanks. But Mr.swagatam to increase my ups I think the easiest way is to use an AC to DC adapter and I have a 12v 5A and 16v 4.5A if I connect them in series how many amp Will I get at 28v.

    Reply
    • Swagatam says

      September 2, 2022 at 9:25 am

      Sorry, I am not sure how an AC to DC adapter can be used to increase the power of an UPS. The current from your series connection should be 4.5 amps.

      Reply
  19. Sadiq Sulaiman says

    August 13, 2022 at 6:48 pm

    Hello, Mr. Swagatam how does the AC to DC adapter small transformer produce DC voltage with high current. I wanted to know how it works.

    Reply
    • Swagatam says

      August 13, 2022 at 7:43 pm

      Hello Sadiq,
      It works by using a high frequency ferrite core transformer.
      You can read the following post for more info:
      https://www.homemade-circuits.com/how-to-understand-switch-mode-power/

      Reply
  20. Sadiq Sulaiman says

    August 11, 2022 at 8:19 pm

    How can I modify my ups transformer?

    Reply
  21. Sadiq Sulaiman says

    August 11, 2022 at 7:38 pm

    Thanks. But can increase my ups charging currents please show me a diagram if there is any.

    Reply
    • Swagatam says

      August 11, 2022 at 8:06 pm

      You will have to modify the UPS transformer and the charger circuit, it cannot be done externally.

      Reply
  22. Sadiq sulaiman says

    August 10, 2022 at 11:31 pm

    Yes it turned into a puresine wave but what can be it’s efficiency.

    Reply
    • Swagatam says

      August 11, 2022 at 9:47 am

      There will be some wastage of power through the capacitor, but that can be quite small.

      Reply
  23. Sadiq Sulaiman says

    August 9, 2022 at 10:35 pm

    Hello. I think the capacitor may cause the the MOSFET to overheat but I never tried it.

    Reply
    • Swagatam says

      August 10, 2022 at 8:54 am

      I don’t think that would happen if the capacitor is connected to the transformer secondary wires.

      Reply
  24. Sadiq Sulaiman says

    August 9, 2022 at 10:27 pm

    Hello Mr.swagatam I have a 24v modified sinewave ups rated 1500va. Is there any way I can convert it to a pure sinewave ups or I should use a large capacitor to reduce the high frequency.

    Reply
    • Swagatam says

      August 10, 2022 at 8:52 am

      Hello Sadiq, you can use a large capacitor of around 3uF/400V at the secondary side of the transformer to convert modified waveform into sine waveform

      Reply
  25. leslie bowles says

    June 22, 2022 at 1:06 am

    Hi
    i am trying to make the simpliest pure sine wave inverter with the least components-using a 555 -if i get the 555 square wave at 50hz– signal and condition it to a sine wave with a LC circuit –then use the sine wave at 50hz to fire x2 mosfets on a 12-0-12 transformer–would something like that work –how would i seperate the pos and neg portion of the sine wave to trigger each of the FETs
    any ideas –
    thanks
    leslie

    Reply
    • Swagatam says

      June 22, 2022 at 10:24 am

      Hi, that may be possible, but for this you might need a sine wave amplifier circuit, which can be implemented using any good mosfet audio amplifier circuit. The sine wave could be applied at the input of the audio amplifier, and at the output side of the amplifier the loudspeaker could be replaced with a transformer primary. Than, the secondary of the transformer could be used to generate the amplified 220V or 120C sine wave AC.However the whole system could become quite inefficient and the mosfets could generate a lot of heat….the better alternative is to go for PWM based inverter.

      Reply
  26. robert s garrison says

    May 18, 2022 at 1:08 pm

    wouldnt it be easier to take a piece of steel pipe and wrap it with two wraps of insulated wire to smooth out a square and make it a sign wave?
    basically a transformer.

    Reply
    • Swagatam says

      May 18, 2022 at 1:39 pm

      I would want somebody to try it check the response and efficiency!

      Reply
      • robert s garrison says

        May 24, 2022 at 2:24 am

        wow,thanks for the reply.i usually dont even bother asking questions and expected this was a necro thread.thats top class swagatam,respect!

        Reply
        • Swagatam says

          May 24, 2022 at 10:14 am

          My pleasure Robert!

          Reply
  27. Daniel says

    September 30, 2021 at 3:20 am

    Pls what home made simple circuit can i add to my inverter to make it a sine wave strong enough to pick my electronics

    Reply
    • Swagatam says

      September 30, 2021 at 9:46 am

      there’s no simple circuit to convert square wave inverter into sine wave inverter.

      Reply
  28. MRRIS says

    September 8, 2021 at 1:35 am

    Hi, which one do I use as best modified sine wave inverter in my shop? The first in the seven modified sine wave inverter or this down one in this post? Thanks

    Reply
    • Swagatam says

      September 8, 2021 at 9:50 am

      Hi, you can use the second circuit from the following link:

      https://www.homemade-circuits.com/modified-sine-wave-inverter-circuit-2/

      Reply
      • MORRIS says

        September 9, 2021 at 4:16 am

        The first two circuit in your #1 modified sine wave inverter or the second using NOT gate, sir?

        Reply
        • Swagatam says

          September 9, 2021 at 11:00 am

          I am referring to this circuit:

          https://www.homemade-circuits.com/wp-content/uploads/2018/08/modified-sine.jpg

          Reply
          • MORRIS says

            September 9, 2021 at 12:36 pm

            Thank u sir u r my teacher, I will try ths next week. I have a ups transformer 6-0-6 with a battery 32ah. Hope am gona get 220ac output

            Reply
            • Swagatam says

              September 9, 2021 at 1:43 pm

              You are welcome Morris, wish you all the best!

              Reply
          • MORRIS says

            September 13, 2021 at 3:07 am

            Yes my lecturer,Swagatam! How are you? Can I use ths circuit now with 24-0-24 or 18-0-18 transformer adding a 12v regulator to feed the oscillator? Thanks in advance!

            Reply
            • Swagatam says

              September 13, 2021 at 8:50 am

              Yes you can use the mentioned transformer with the 4017 circuit.

              Reply
          • MORRIS says

            October 23, 2021 at 1:12 am

            Swagatam. How r u? I have two 12ah lead acid battery which I want to use with this circuit u referred to me as best in my workshop. My question is that can I replace the transistors with mosfet in that Same connection? Two, is it possible using a 18-0-18 transformer with the two batteries to get 24 volts and work efficiently?

            Reply
            • Swagatam says

              October 23, 2021 at 10:21 am

              Hi Morris, yes all that you have mentioned are possible.

              Just make sure to add diodes between center tap and the outer terminals of the transformer to safeguard the mosfets from damage

              Reply
            • MORRIS says

              October 23, 2021 at 11:02 pm

              So if I want to use irfan44 four pieces, I jst connect them the same way the four TIP transistors are connected?

              Reply
              • Swagatam says

                October 24, 2021 at 10:31 am

                Yes that’s correct…

                Reply
            • MORRIS says

              October 24, 2021 at 11:27 am

              Adding diodes between the CENTRE tap and the outer terminals means that all positives of the diodes to point CENTRE tap wire and negative sides to be wired to the outer terminal of the transformer? Thanks

              Reply
              • Swagatam says

                October 24, 2021 at 12:48 pm

                That’s right, the cathodes will go the center tap.

                Reply
            • MORRIS says

              November 5, 2021 at 1:01 pm

              Yes sir, do u have any best modified sine wave inverter charger for 24v to use in my shop so that whn the main is available it charges the battery and whn the power goes off inverter picks on in the absence of the main? Pliz guide!

              Reply
              • Swagatam says

                November 5, 2021 at 5:45 pm

                The second schematic from the following article is probably the bets and the easiest design you can get.

                https://www.homemade-circuits.com/modified-sine-wave-inverter-circuit-2/

                for converting it into an UPS, you can implement the following concept with the above circuit:

                https://www.homemade-circuits.com/how-to-convert-inverter-to-ups/

                Reply
            • MORRIS says

              November 6, 2021 at 2:09 am

              Thanks sir but do u have modified sine wave inverter charger?

              Reply
              • Swagatam says

                November 6, 2021 at 10:50 am

                The sine wave has nothing to do with the charger….you can use any battery charger depending on the battery specs.

                Reply
            • MORRIS says

              November 6, 2021 at 2:27 am

              And which type of mosfet do u recommend sir for that efficient charging! Irf3205 or which one? Thanks

              Reply
              • Swagatam says

                November 6, 2021 at 11:05 am

                Yes it can be used!

                Reply
  29. andrew says

    April 28, 2021 at 12:24 pm

    Hey there. I have a high capacity usb battery bank, it’s made up of lithium iron phosphate cells, great unit for powering usb devices. However the ac output is modified sine, which I have read will damage appliances. I am in U.K. by the way. Can I use this circuit to covert to sine wave?

    Reply
    • Swagatam says

      April 28, 2021 at 1:13 pm

      Hi, yes definitely you can use the above concept. However the best way to convert your modified sine wave to reasonably good sine wave is by adding a 5uF/400V capacitor across the transformer AC output.

      you can also try making the following from the scratch

      https://www.homemade-circuits.com/1500-watt-pwm-sinewave-inverter-circuit/

      Reply
  30. HK says

    February 9, 2021 at 5:29 am

    I have couple of squarewave inverters replaced with Luminous UPS. now they are redundant and kept like scrape material But I want them to convert into sqarewave OR Solar inverter.

    Reply
  31. Patrick says

    February 1, 2021 at 1:02 pm

    Hello sir ,
    Thank you so much,
    In the above diagram,the two diodes appear to be blocking the signal from the lm321 .What do you think?.

    Reply
    • Swagatam says

      February 1, 2021 at 4:50 pm

      Hello Patrick, the op amp is used for sinking current not for sourcing current….so it is the 0V switching periods which is relevant, not the positive switching!

      Reply
  32. Don Browny says

    January 24, 2021 at 10:28 am

    You can modify a square wave inverter by driving the square wave oscillator with a sine wave IC oscillation driver or by modifying the output of the square wave inverter with a 105J 650V Cap to the output transformer.

    Reply
  33. Lanny Pks says

    May 13, 2020 at 8:20 am

    Hello,
    square-wave can use transistor for the output stage, modify-square-wave can also use transistor too for the output stage, how about pure sine wave? can it also use transistor for the output stage? do you have pure sine wave diagram ? thanks a lot.

    Reply
    • Swagatam says

      May 13, 2020 at 10:08 am

      Hello, it is possible but will create lot of heat on the transistor, here’s an example

      https://www.homemade-circuits.com/make-this-1kva-1000-watts-pure-sine/

      Reply
  34. Decipher says

    May 10, 2020 at 12:03 pm

    Pls sir what is the best frequency i can use for the lower PWM AMV stage

    Reply
    • Swagatam says

      May 10, 2020 at 6:46 pm

      you can try 350 Hz

      Reply
      • decipher says

        May 10, 2020 at 10:00 pm

        which filter can i connect to the transformer output for filtration and can i use this inverter for powering LED TVs

        Reply
        • Swagatam says

          May 11, 2020 at 9:38 am

          you can connect a 2uF/400V across the output of the transformer, you can use it with any electronic gadget after verifying the sine output on scope

          Reply
          • Don Browny says

            January 24, 2021 at 10:31 am

            Nice one, a 2uf 400V or 105J 400 – 650V

            Reply
      • Evans says

        August 9, 2020 at 11:01 am

        Sir swagatam,can the above spwm circuit power heavy loads like a refrigerator,tube lights and induction motors? Can I use it to construct a 5000w inverter, please advise.

        Reply
        • Swagatam says

          August 9, 2020 at 12:30 pm

          Evans, I would recommend the following circuit instead:

          1500 watt PWM Sinewave Inverter Circuit

          use 10 to 15 MOSFETs in parallel for each channel, and use a 6000 watt transformer

          Reply
          • Evans says

            August 9, 2020 at 1:40 pm

            Thanks very much for your response and help

            Reply
  35. Md. Zahirul Islam says

    April 18, 2020 at 9:35 pm

    Dear Swagatam,
    # Question-1
    I found that my 12 volt single battery UPS system using a transformer which secondary coil is 6-0-6 volt.
    Then I open my 24 volt two battery UPS system and I found here using a transformer which is 12-0-12 volt secondary coil. I am confused about this matter because normally we found 12 volt inverter system using 12-0-12 volt secondary coil transformer and if it is 24 volt system then using 24-0-24 volt transformer.

    # Ouestion-2:
    I tried to convert my 24 volt UPS system to a 12 volt system by changing the transformer’s all coil VAC value (except primary coil) by converting with half value of existing system. But I am not able to do this because the UPS system not work, problem is the UPS system not go to backup mode when main/grid line off. It seems to me I have also change the circuit board some parts but where I change I do not know.

    Good night sweet dreams.

    Reply
    • Swagatam says

      April 19, 2020 at 10:24 am

      Hello Md. Zahirul,

      If the inverter is PWM controlled or a SPWM controlled, then the transformer primary value will be normally much lower than the battery voltage. But for a flat square wave design the two values can be similar.

      Answering the second question can be difficult without checking the entire working specification of the design.

      Reply
    • Md. Zahirul Islam says

      April 19, 2020 at 9:18 pm

      Thanks very much for your quick reply.
      One more question is-
      I want to use my computer 1000VA UPS as a my home UPS by replacing bigger battery and adding extra automatic battery charger. Normally we know that computer UPS can backup for small time like 15-20 minute. My question is here any other arrangement needed or not in circuit board for long backup? why not when I use it for my home backup it must be capable to take long backup period,

      Reply
      • Swagatam says

        April 20, 2020 at 8:05 am

        To increase back up you can add more number batteries in parallel, but the load must not increase. Also the additional batteries will need to be charged from an external charger. Any other changes will not be required.

        Reply
        • Md. Zahirul Islam says

          April 20, 2020 at 9:39 pm

          Thanks Swagatam for your opinion.

          Reply
    • Md. Zahirul Islam says

      September 9, 2020 at 11:50 pm

      Dear Swagatam,
      How are you? After a long time come back to you.
      I have been made my home UPS about 600VA. My UPS output voltage is 230 volt (280 volt transformer primary coil is connected for output voltage). Frequency is 50 Hz. But problem is when I connect load like one table fan then output voltage decrease to 200 volt. If I connect more load then decrease the output voltage more.
      My UPS specification is-
      1. Centre Tap Transformer(500 watt) which secondary coil is 13-0-13 & primary coil is 0-180-220-
      260-280 volt
      2. Using total 6 (3 pic in each channel) MOSFET which number is CS150N03
      3. UPS input voltage is 12 volt DC.

      Question-1
      Now how can solve this problem or how can increase my UPS watt or output voltage?

      Question-2
      What should be the secondary coil voltage of transformer for 12 volt input system inverter/UPS?
      It is 12-0-12 or 9-0-9 or 15-0-15

      Question-3
      Give me some high watt MOSFET number

      Reply
      • Swagatam says

        September 10, 2020 at 9:35 am

        Dear Md, the transformer voltage rating will depend on the oscillator circuit specifications…Depending on the PWM duty cycle of the oscillator, the transformer voltage rating could anywhere between 6-0-6V and 9-0-9V, but it cannot be 12-0-12V or higher with a 12V battery. If there’s no PWM involved then you can probably use a 9-0-9V transformer.

        The MOSFeT number mentioned looks OK for the application.

        However, the battery Ah must be at least 5 times higher than the load current.

        Reply
        • Don Browny says

          January 24, 2021 at 10:39 am

          Sir, do you know much about Fuelless Generator? To generate a steady electricity with a 12V DC motor and a permanent magnet alternator with a feedback charging system to the 12V battery.

          Reply
          • Swagatam says

            January 24, 2021 at 1:27 pm

            Hi Don, Presently I do not have this circuit, if I happen to find one, will surely let you know!

            Reply
      • Md. Zahirul Islam says

        September 12, 2020 at 8:06 am

        Dear Swagatam,
        You says “the transformer voltage rating will depend on the oscillator circuit specifications, and depending on the PWM duty cycle of the oscillator”

        Please describe for understanding

        Reply
        • Swagatam says

          September 12, 2020 at 10:28 am

          Hello Md, you can get the complete explanation under the following article:

          https://www.homemade-circuits.com/inverter-voltage-drop-issue-how-to-solve/

          Reply
          • Md. Zahirul Islam says

            September 14, 2020 at 8:25 pm

            Dear Swagatam

            Very very thanks to you for your quick repose.

            Now I want to learn about PWM voltage
            My questionnaires is:-
            1. How PWM voltage works in inverter?
            2. If my main transformer primary voltage is 12-0-12 then how much PWM voltage needed? 12 volt or 15 volt?
            3. Can I take PWM voltage in seperate transformer instead of main transformer?
            4. Can I connect seperate auto charging circuit in my home UPS? why not I don’t want to heating my main transformer by charging purpose.

            Gentally waiting for your response.

            Reply
            • Swagatam says

              September 15, 2020 at 11:57 am

              Hello Md,

              To learn how to match PWM with transformer rating, you can read the following article.

              https://www.homemade-circuits.com/inverter-voltage-drop-issue-how-to-solve/

              PWM is nothing but switching the transformer winding with a certain ON/OFF rate or duty cycle so that the output RMS is correctly set.

              PWM is given to main transformer only.

              You can use a separate transformer for charging without any issues

              Reply
            • Zahirul says

              September 15, 2020 at 5:03 pm

              Dear Swagatam you said

              “PWM is nothing but switching the transformer winding with a certain ON/OFF rate or duty cycle so that the output RMS is correctly set.” It’s ok but we know that switching the transformer winding done by the MOSFET functioning. Please describe in details.

              “Can use a separate transformer for charging without any issue”. Fine, but then both the charger (Internal charging unit in UPS circuit board & external charger) will charge the battery or not?

              I have seen some inverter board without PWM specification like “NATASHA” inverter board which is made in India. How this type of inverter works without PWM voltage?

              What is the advantage of using PWM in an inverter?

              Reply
              • Swagatam says

                September 15, 2020 at 9:17 pm

                Dear Zahirul, your questions cannot be explained in comments, you will have to learn the whole concept of MOSFET switching and PWM switching from the beginning, to grasp the whole working.

                Reply
            • Zahirul says

              September 23, 2020 at 8:10 pm

              Dear Swagatam,

              For winding UPS/IPS transformer which wire we have to winding first?

              Thick wire (primary coil) or thin wire (secondary coil)?

              Is there any differences for winding firstly or lastly between thick or thin wire.

              Reply
              • Swagatam says

                September 24, 2020 at 1:44 pm

                Hi Zahirul, You will have to wind the high voltage winding first, and then apply the low voltage winding after a layer of insulation tape.

                Reply
  36. Patrick says

    April 15, 2020 at 2:36 am

    Thank you sir for the spwm description.Now if i put the upper astable at 50hz,what will be the freq of the lower astable,50hz?.How can i attach a feedback loop to the circuit.
    Thanks.

    Reply
    • Swagatam says

      April 15, 2020 at 12:41 pm

      Hi Patrick The lower astable must be 4 times more frequency than the upper astable, feedback loop can be attached using this concept:

      https://www.homemade-circuits.com/load-independentoutput-corrected/

      Reply
  37. Evans mworeh says

    January 8, 2020 at 8:11 pm

    Hello sir swagatam,will the part list change if was to use a0-18v transformer and 24v battery?

    Reply
    • Swagatam says

      January 9, 2020 at 10:41 am

      Parts will be the same, but the C1, C2 may need some change until the right frequency is achieved.

      Reply
  38. Mohammad Kamruzzaman says

    March 28, 2019 at 9:27 am

    How I can find sin wave from my home use IPS; 800KVA, 220V, (square wave output)

    Reply
    • Chibueze Nwakpuda says

      July 28, 2019 at 5:42 pm

      I love your professional sincererity and openness which is the key to personal knowledge development for all humanity. You share openly to the entire universe what costed you sweats to achieve. They say ‘SREVICE TO MAN IS WORSHIP TO GOD’. All of us in the electronic field will forever shower gratitude to a great gem like you.

      Chibueze Nwakpuda

      Reply
      • Swagatam says

        July 28, 2019 at 6:58 pm

        Thank you Chibueze, Appreciate your thoughts very much!

        Reply
« Older Comments

Leave a Reply to Swagatam Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (91)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (84)
  • Datasheets and Components (108)
  • Electronics Theory (144)
  • Free Energy (39)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (16)
  • Inverter Circuits (93)
  • Lamps and Lights (156)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (66)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (89)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (105)
  • SMPS and Converters (31)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (38)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on LM3524 Datasheet, Pinout Function, How to Use
  • Swagatam on 5 Simple Preamplifier Circuits Explained
  • Rk seth on LM3524 Datasheet, Pinout Function, How to Use
  • David on 5 Simple Preamplifier Circuits Explained
  • Swagatam on Hospital Room Call Bell Circuit for Alerting Nurse with a Button Press

© 2025 · Swagatam Innovations