In this post we will discuss two methods of designing pure sine wave inverter circuits using 555 IC based SPWM processing. In the first concept we connect the 555 processors directly with the SG3525 outputs and do the sine wave conversion directly at the MOSFET gates. In the second concept we do it externally and then use the SPWMs to chop the gates of the MOSFETs for the sine wave conversion.
Using Integrators and 555 PWM Precessors
In the first diagram below we can see that the whole inverter is working in steps, first SG3525 makes square waves, then we change that square wave into a sine like wave, then we use 555 to convert that sine into SPWM, and finally we push that SPWM into MOSFET gates... The MOSFEETs now switch the transformer winding ON/OFF in accordance with the 555 SPWM sine waves causing the output 220V also to become like pure sinewave output...

SG3525 Square Wave Generation
Here the SG3525 is not used as a full PWM controller, it is only used as a stable oscillator and phase splitter, so now SG3525 makes two square waves which are exactly opposite in phase, one goes high when the other goes low, this is perfect for push pull inverter operation.
The timing resistors and capacitors set the base frequency, and dead time resistors make sure that both outputs never conduct together, so if dead time is present then MOSFETs stay safe and no shoot through happens.
At this stage the waveform is pure square wave, stable in frequency, and balanced on both outputs.
RC Integrator Sine Shaping
Now we take this square wave and pass it through RC networks made using 1k and 10uF, two stages are used so now higher harmonics get reduced more.
What actually happens is that square wave has many harmonics, RC networks act like low pass filters so the sharp edges get rounded and what remains looks like a sine wave.
This is not a mathematically perfect sine but it is good enough as a reference waveform for SPWM, and since the SG3525 frequency is stable, the phase shift caused by RC does not create serious problems.
If RC value is too high then sine becomes delayed and weak but if RC is too small then waveform remains rough, so the selected values are reasonable.
555 PWM Modulator Stage
Now comes the important block, the 555 ICs. Each 555 is running as a high frequency oscillator, usually in the range of few kHz to many kHz.
The sine wave from the RC integrator is fed into pin 5 of the 555, which is the control voltage pin.
Inside the 555, the internal ramp waveform is compared with the control voltage, so when the sine voltage is high, then PWM duty cycle becomes wide, and when sine voltage is low, then PWM duty cycle becomes narrow.
So now the output of the 555 becomes sine modulated PWM meaning pulse width follows the sine shape, this is classic analog SPWM technique and it is old but very reliable.
The 555 pwm processor and Integrator sections could be optimized as per the following Simulation results....

MOSFET Gate Drive And Power Stage
The SPWM output from each 555 goes to the MOSFET gates through 10R resistors, these resistors slow down switching slightly and prevent ringing.
IRF3205 MOSFETs are suitable for 12 V inverter because they have low Rds on and high current capability.
Each 555 drives one side of the push pull transformer primary, so when one side is active, the other is off.
If then gate drive is clean and timing is correct then transformer primary current becomes SPWM shaped.
Transformer And Output Waveform
The transformer does not pass high frequency PWM efficiently so core inductance and leakage inductance naturally filter the waveform.
Because of this filtering effect, the high frequency components get removed and the secondary voltage looks like a sine wave.
The diodes across the primary help in clamping spikes and protecting MOSFETs from inductive kickback, so now reliability improves.
Good Points In the Design
The design is fully hardware based, no microcontroller, easy to understand and easy to repair.
The signal flow is clean, square to sine to PWM to power stage so now troubleshooting becomes simple.
This type of inverter is suitable for long running systems and rural usage where simplicity matters.
Important Limitations To Understand
There is no output voltage feedback so if battery voltage rises or falls then output AC voltage will also change.
Load variation also affects output voltage because there we dont have regulation loop.
The control pin of 555 is sensitive to noise so decoupling capacitor and good grounding are very important, or else PWM jitter can happen.
Gate drive current from 555 is limited so at higher power levels switching losses can increase and MOSFETs may heat more.
Final Conclusion
So overall the inverter concept is correct, practical and proven.
The SG3525 generates stable square waves, RC networks convert them into sine reference, 555 converts sine into SPWM and MOSFETs amplify that power into the transformer.
With good layout, tuning, and optional feedback improvement, this circuit can give us clean sine like output and work reliably for long time.
Audio/Video Representation
Using Op amp based SPWM Processor and Chopping Concept
Now below next we will learn how to upgrade a standard SG3525 inverter circuit into a pure sine wave inverter using an opamp based SPWM generator, so let's understand the details through the following explanation:
How the Conversion from Squarewave to Sine wave Happens
You might be curious to know regarding what exactly happens in the process of the conversion which transforms the output into a pure sine wave suitable for all sensitive electronic loads.
It is basically done by optimizing the sharp rising and falling square wave pulses into a gently rising and falling waveform. This is executed by chopping or breaking the exiting square waves into number of uniform pieces.
In the actual sine wave, the waveform is created through an exponential rise and fall pattern where the sinusoidal wave gradually ascend and descend in the course of its cycles.
Using SPWM or Sine Pulse Width Modulation
In the proposed idea, the waveform is not executed in an exponential, rather the square waves are chopped into pieces which ultimately takes the shape of a sine wave after some filtration.
The "chopping" is done by feeding a calculated PWM to the gates of the FET via a BJT buffer stage.
A typical circuit design for converting the SG3525 waveform into a pure sine wave waveform is shown below. This design is actually an universal design which may be implemented for upgrading all square wave inverters into sine wave inverters.

Chopping the MOSFET Gate with SPWM
As may be in the above diagram, the lower two diodes are connected to a PWM feed or input, which causes the transistors to switch according to the PWM ON/OFF duty cycles.
This in turn rapidly chop the 50Hz pulses at the bases of the BC547/BC557 coming from the SG3525 output pins.
The above operation ultimately force the mosfets also to turn ON and OFF in the same pattern as the SPWM for each of the 50/60Hz cycles. This SPWM is then induced into the transformer primary by the MOSFETs, consequently producing a sine waveform at the output or the secondary side of the transformer.
If an ordinary PWM is used as I have explained below, then its frequency should be 4 times more than the base 50 or 60 Hz frequency. so that each 50/60Hz cycles are broken into 4 or 5 pieces and not more than this, which could otherwise give rise to unwanted harmonics and mosfet heating.
PWM Circuit
The PWM input feed for the above explained design can be acquired by using any standard IC 555 astable design as shown below:

This IC 555 based PWM circuit can be used for feeding an optimized PWM to the bases of the BC547 transistors in the first design such that the output from the SG3525 inverter circuit acquires an RMS value close to mains pure sine wave waveform RMS value.
Using an SPWM
Although the above explained concept would greatly improve the square wave modified output of a typical SG3525 inverter circuit, an even better approach could be to go for an SPWM generator circuit.
In this concept the "chopping" of each of the square wave pulses is implemented through a proportionately varying PWM duty cycles rather than a fixed duty cycle.
I have already discussed how to generate SPWM using opamp, the same theory may be used for feeding the driver stage of any square wave inverter.
A simple circuit for generating SPWM can be seen below:

Using IC 741 for Processing SPWM
In this design we see a standard IC 741 opamp whose input pins are configured with a couple of triangle wave sources, one being much faster in frequency than the other.
The triangle waves could be manufactured from a standard IC 556 based circuit, wired as an astable and compactor, as shown below:


#UPDATE: The above "slow triangle waves" can be directly acquired from the Ct pin of the IC, that means you can now eliminate or ignore the above IC 555 stage for the slow triangle waves.
As can be seen in the above two images, the fast triangle waves are achieved from an ordinary IC 555 astable.
However, the slow triangle waves are acquired through an IC 555 wired like a "square wave to triangle wave generator".
The square waves or the rectangular waves are acquired from pin#4 of SG3525. This is important as it synchronizes the op amp 741 output perfectly with the 50 Hz frequency of the SG3525 circuit. This in turn creates correctly dimensioned SPWM sets across the two MOSFET channels.
When this optimized PWM is fed to the first circuit design causes the output from the transformer to produce a further improved and gentle sine waveform having properties much identical to a standard AC mains sine waveform.
However even for an SPWM, the RMS value will need to be correctly set initially in order to produce the correct voltage output at the output of the transformer.
Once implemented one can expect a real sine wave equivalent output from any SG3525 inverter design or may be from any square wave inverter model.
Finalized SG3525 Pure Sine Wave Inverter Circuit
The following diagram shows the finalized design of the pure sine wave inverter using IC SG3525 and SPWM, as per the above explanations.

If you have any doubts regarding the above SG3525 pure sine wave inverter circuit you can feel free to express them through your comments.
A basic example design of a SG3525 oscillator stage can be seen below, this design could be integrated with our previous PWM sine wave BJT/mosfet stage for getting the required enhanced version of the SG3525 design:

Complete circuit diagram and PCB layout for the proposed SG3525 pure sine wave inverter circuit.
PWM Modified Sine wave Inverter Circuits
Courtesy: Ainsworth Lynch

Design#3: 3kva Inverter circuit using the IC SG3525
In the previous paragraphs we have comprehensively discussed regarding how an SG3525 design could be converted into an efficient sine wave design, now let's discuss how a simple 2kva inverter circuit can be constructed using the IC SG3525, which can be easily upgraded to sine wave 10kva by increasing the battery, mosfet and the transformer specs.
The basic circuit is as per the design submitted by Mr. Anas Ahmad.
The explanation regarding the proposed SG3525 2kva inverter circuit can be understood from the following discussion:
hello swagatam, i constructed the following 3kva 24V inverter modified sine wave (i used 20 mosfet with resistor attached to each, moreover i used center tap transformer and i used SG3525 for oscillator).. now i want to convert it to pure sine wave, please how can i do that?
Basic Schematic

My Reply:
Hello Anas,
first try the basic set up as explained in this SG3525 inverter article, if everything goes well, after that you can try connecting more mosfets in parallel.....
the inverter shown in the above daigram is a basic square wave design, in order to convert it to sine wave you must follow the steps I have explained below The mosfet gate/resistor ends must be configured with a BJT stage and the 555 IC PWM should be connected as indicated in the following diagram:

Regarding Connecting parallel mosfets
ok, i have 20 mosfet(10 on lead A, 10 on lead B), so i must attached 2 BJT to each mosfet, that's 40 BJT, and likewise i must connect only 2 BJT coming out from PWM in parallel to the 40 BJT? Sorry am novice just trying to pick up.
Answer:
No, each emitter junction of the respective BJT pair will hold 10 mosfets...therefore you will need only 4 BJTs in all....
Using BJTs as Buffers
1. ok if i may get you right, since you said 4 BJTs, 2 on lead A, 2 on lead B, THEN another 2 BJT from the output of PWM, right?
2. am using 24 volt battery hope no any modification to the BJT collector terminal to the battery?
3. i have to use variable resistor From oscillator to control the input voltage to the mosfet, but i don't know how i will go about the voltage that will go to the base of the BJT in this case, what will i do so that i want end up blow up the BJT?
Yes, NPN/PNP BJTs for the buffer stage, and two NPN with the PWM driver.
24V will not harm the BJT buffers, but make sure to use a 7812 for stepping it down to 12V for the SG3525 and the IC 555 stages.
You can use the IC 555 pot for adjusting the output voltage from the trafo and set it to 220V. remember your transformer must be rated lower than the battery voltage for getting optimum voltage at the output. if your battery is 24V you can use an 18-0-18V trafo.
Parts List
IC SG3525 Circuit
all resistors 1/4 watt 5% CFR unless otherwise specified
10K - 6nos
150K - 1no
470 ohm - 1no
presets 22K - 1no
preset 47K - 1no
Capacitors
0.1uF Ceramic - 1no
IC = SG3525
Mosfet/BJT Stage
All mosfets - IRF540 or any equivalent Gate resistors - 10 Ohms 1/4 watt (recommended)
All NPN BJTs are = BC547
All PNP BJTs are = BC557
Base Resistors are all 10K - 4nos
IC 555 PWM Stage
1K = 1no 100K pot - 1no
1N4148 Diode = 2nos
Capacitors 0.1uF Ceramic - 1no
10nF Ceramic - 1no
Miscellaneous IC 7812 - 1no
Battery - 12V 0r 24V 100AH Transformer as per specs.
A Simpler Alternative

