In this article I have explained comprehensively regarding how to design a sine wave inverter without any form of coding or complex circuit designs. The included designs are simple yet extremely precise with their sine waveform structure.
You might have often felt discouraged, thinking that making a sine wave inverter from the scratch can be too complex, when in reality, it is not.
We will try to understand the procedures in the following paragraphs.
What is Sine Wave Inverter
A sine wave inverter is a device which converts battery power into a 220 V AC or a 120 V AC sine wave output.
There are 3 basic types of inverters: square wave inverter, modified sine wave inverter and a pure sine wave inverter.
The voltage waveform output from a square wave inverter is square wave. The main drawback of a square wave inverter is that they cannot be used to operate electronic gadgets or sophisticated home appliances.
The voltage waveform output from a modified inverter is optimized to produce a modified square wave which is closer to a sine wave but not a pure sine wave. These inverters can be used to operate some selected home appliances or electronic gadgets, not all.
The voltage output from a pure sine wave inverter is a pure sine wave which has properties exactly similar to our mains AC waveform. And therefore these inverters become suitable for operating almost all of the home appliances without any concerns.
How does a Basic Pure Sine Wave Inverter Works
A pure sine inverter works by inducing an alternating sine waveform pattern across the primary transformer winding with a selected frequency rate. This frequency rate can be 50 Hz or 60 Hz, depending on the country and region specifications.
This sine waveform is in the form of sine PWM which is a digital signal and not a linear signal. Because inverters use power transistors which cannot be efficiently operated using a linear signal.
Using a linear signal can make the transistors very hot and inefficient. That is why we employ digital PWM which ensures efficient operation of the transistors with minimum heat generation.
This sine waveform are generated using SPWM or sine PWM. An ordinary PWM refers to pulse width modulation signal whose pulse width is adjusted at a certain fixed specified width. However, in a sine PWM, the pulse widths are adjusted with a varying widths, so that its average voltage pattern interprets into a linearly varying, exponential sine waveform at the output of the transformer.
A transformer being an analogue inductive device is able to effectively process the digital SPWM oscillations into an exponentially varying pure sine waveform at its output.
Basically, we manufacture the SPWM waveform through an op amp IC or an IC 555 and force the inverter MOSFETs to oscillate in accordance with this SPWM pattern. The MOSFETs then in turn induce the same SPWM pattern across the transformer primary winding to generate a pure sine wave AC at the secondary output of the transformer.
Designing a Sine Wave Inverter - Prerequisites
To design a pure sine wave inverter from the scratch, we require the following circuit stages:
A basic 50 Hz or 60 Hz inverter circuit.
An op amp comparator using IC 741 or by configuring IC 555.
Two sets of triangle waveform, one slow (low frequency) and the other fast (high frequency).
The slow triangle wave must be synchronized with the 50 Hz or 60 Hz base frequency of the main inverter oscillator.
The synchronization is essential to ensure that the set of SPWM waveform fits correctly inside each alternating signal from the 50 Hz oscillator.
Generating Synchronized SPWM
For generating our SPWM we use an op amp based comparator circuit as shown in the following diagram:
It is a simple op amp comparator which compares the varying voltage levels of the slow triangle wave against the fast triangle waves and produces the resultant SPWM.
Please note that, ideally the slow triangle wave must be actually a slow sine wave. However, creating a sine wave can be a little complex, therefore we use a slow triangle wave as a crude replacement for the sine wave.
At the output of the op amp you can see the SPWM pattern generated after comparing the two triangle waves across the op amp inputs.
The SPWM pattern is basically a digital PWM representation or replication of the analogue slow triangle wave.
Have a closer look at the SPWM pulse width distribution. You can see that it has widely separated thin pulse widths at the outer sides of the waveform, while the center section is concentrated with proportionately incrementing, closely positioned, wider pulse widths.
The outer thinly populated pulse widths are equivalent to the exponentially rising and falling waveform sections of a sine wave cycle, while the thickly populated central SPWMs replicate the peak voltage section of the analogue sine wave cycle.
The period or the length of the SPWM set is same as the period or the length of the slow triangle wave. The frequency or the number of pillars inside the SPWM waveform cycle is same as the number of fast triangle waves which can accommodate inside every single slow triangle wave cycle.
The greater the number of pillars inside the SPWM, the higher the sine wave purity at the inverter output, and vice versa.
Thus in order to get the purest possible sine wave at the inverter output you can consider having an optimally high frequency for the fast triangle waves.
Now, the best way to extract these triangle waves is from oscillator circuits or astables which have an exclusive RC timing network.
So the triangle wave can be extracted from right across the "C" or the capacitor of the RC network.
Let's take the example of our very old IC 555 astable circuit. You can extract the fast triangle waves from across the timing capacitor of the IC.
Smaller capacitor values will give faster triangle waves and vice versa.
So this takes care of the fast triangle waves, what about the slow triangle waves? The slow triangle wave which must be ideally a sine wave is very crucial as this must be synchronized with the 50 Hz or 60 Hz cycles of the main square wave inverter.
The slow triangle wave must be synchronized with your main inverter because it is essential that the length of each SPWM set fits perfectly inside each 50 hz square wave cycle operating the power MOSFETs. Otherwise the sine wave at the output of the inverter will not be uniform, rather be in a haphazard form.
Fortunately, this synchronized slow triangle wave can be extracted from across the timing capacitor (Ct) of the main inverter oscillator circuit.
Here, each slow triangle wave corresponds to each square wave signal at the output of the oscillator circuit. Due to this property this slow triangle wave becomes suitable as the synchronized slow triangle.
Using IC 555 for Generating SPWM
Since IC 555 also has built-in op amps, it can be also effectively used to process SPWM waveform. The basic circuit diagram is shown in the following figure:
Here, we configure the IC 555 as an astable circuit and use its pin#5 control input to modulate the astable frequency for generating the required SPWM output at pin#3.
Integrating SPWM with the MOSFETs
From the above discussions we understood that the slow triangle waves can be extracted from across the timing capacitor of the main inverter oscillator IC, and the fast triangle wave can be extracted similarly from across the timing capacitor of a separate free running oscillator circuit.
Once the above aspects are implemented across the op amp comparator inputs, the intended SPWM can be acquired from the output of the op amp.
Next, it is crucial to integrate this SPWM with the inverter, so that the inverter becomes customized to generate a pure sine wave at the output of the transformer.
To implement this you just have to create and configure the BJT/MOSFET stage as shown below:
As shown in the above figure, a couple of NPN/PNP BJT pairs are arranged in the form of totem pole network to switch the MOSFETs efficiently. Since these BJTs have high value base resistors it becomes ideal to switch their bases with the SPWM without loading the comparator op amp.
Practical Examples
Now, since we have comprehensively learned regarding how to interface SPWM with a basic inverter, let's investigate a few practical examples for better understanding.
We will discuss 2 examples using IC 4047 and the IC 555.
Designing an IC 4047 Pure Sine Wave Inverter
The IC 4047 based inverter is a very popular design, since it allows the user to quickly build and implement the inverter circuit. However, the basic 4047 design produces a square wave output.
Nevertheless, using the SPWM interfacing method explained above, we can easily convert an IC 4047 based inverter into a pure sine wave inverter.
The complete circuit diagram can be witnessed in the following figure:
In the above 4047 inverter concept, we can see a practical implementation of SPWM using the IC 555.
Since we already have the pin#13 on IC 4047 which generates one clock pulse corresponding to each clock pulses at pin#10 and pin#11, it becomes perfectly suitable for SPWM synchronization purpose.
We first convert the pin#13 square waves into triangle waves using a double RC network, and feed the resultant triangle waves to a BJT emitter follower.
The BJT emitter follower makes the triangle waves stronger and more effective for processing at the control input pin#5 of the IC 555.
The op amps inside the IC 555 compare the slow triangle waves at pin#5 with the fast triangle waves at its pin#7 and generate the intended synchronized SPWM at its pin#3.
How to Calculate the Passive Integrator Cx and Cy Capacitor and the Resistor Values.
Formula:
The RC time constant relationship is:
fc = 1 / (2 * π * R * C)
R * C = 1 / (2 * π * fc)
For fc = 100 Hz:
R * C = 1 / (2 * π * 100) = 1592 * 10-6 seconds
Choosing Component Values:
First Stage (R1, Cx):
Choose R1 = 10 kOhms:
Cx = 1592 * 10-6 / (10 * 103) = 159.2 nF
Second Stage (R2, Cy):
Similarly, for the second stage:
R2 * Cy = 1592 * 10-6 seconds
Choose R2 = 10 k Ohms:
Cy = 1592 * 10-6 / (10 * 103) = 159.2 nF
Final Estimated Values to get a Reasonably good Sine Wave Output from the Integrator:
- R1 = 10 kOhms
- Cx = 159 nF (rounded to the nearest standard value)
- R2 = 10 kOhms
- Cy = 159 nF
Designing an IC 555 Pure Sine Wave Inverter Circuit
In the above setup the SPWM processor circuit is designed around an op amp.
As previously discussed, the slow triangle waves at pin#3 of the op amp are extracted from the main 555 inverter IC at the right side.
For the fast triangle waves we have configured a separate 555 astable at the extreme left side, which supplies the required fast triangle waves to the op amp comparator.
The resulting SPWM waveform is integrated to the bases of the BJT/MOSFET stage of the inverter.
Setting the SPWM Frequency
When you visualize the SPWM waveform, you find it to be having many verticals pillars or pulses. Although, higher number of pillars would contribute to more refined sine waveform, it would also cause heating up of the transformer, if the transformer is an iron core transformer.
The number of pulses inside each SPWM cycle defines the frequency of the SPWM.
Since mostly, our basic inverter would include an iron core transformer, optimizing the number of pulses on each SPWM waveform or the frequency of the SPWM is crucial. If this is too low, the sine waveform may not be perfectly formed, if the frequency is too high, the transformer may heat up.
The rule of thumb is to have around 5 pillars or 5 pulses on each SPWM cycle. Here's an example image of the SPWM we are recommending.
Since the number of pulses on each SPWM is determined by the fast triangle waves, the frequency of the fast triangle wave generator must be adjusted appropriately to get the above results.
How to Match the Transformer with the SPWM
Since we are chopping the 50 Hz or the 60 Hz base square wave frequency with our high frequency SPWM, this may cause the mean or the average voltage of the waveform to reduce drastically.
This means that the MOSFETs would switch the transformer primary with lower amount of current, causing a proportionately reduced voltage to be generated at the secondary side of the transformer.
In other words, suppose the battery voltage is 12 V, and transformer primary is 12-0-12V, then using square waves the transformer primary would be switched using the full battery 12 V.
This would in turn allow the transformer secondary to generate the full 220 V or 120 V. This is because the average voltage of the square waveform cycle is 12 V, which correctly matches with the transformer 12 V winding rating.
However, with SPWM injected at the MOSFET gates causes the square wave to be chopped into many sections causing its average voltage to drop. Let's say, the SPWM causes the average voltage of the each MOSFET gate switching cycle to 6 V, using a 12 V battery.
In this situation the 12-0-12V transformer primary would be also switched at 6 V causing a proportionately 50% drop in the output AC voltage.
To ensure the above drop does not happen, the transformer primary must be selected to match the SPWM average voltage switching for the MOSFETs. For the above example, if the average SPWM voltage turns out to be 6 V then the transformer primary must be also rated at 6-0-6V, and so on.
Conclusion
From the above discussions I have explained how to design a pure sine wave inverter from the scratch without involving complex coding or sophisticated circuit configuration.
The basic idea is to derive two triangle waves, one fast (high frequency) and the other slow triangle wave (low frequency), compare them to produce SPWM, then switch the inverter power MOSFETs with this SPWM frequency.
This results in the MOSFETs switching at the same rate as the SPWM and forcing the transformer to generate an SPWM frequency output at the secondary which closely replicates a pure sine waveform.
In order to refine this SPWM waveform at the output of the inverter we simply add a 3 uF / 400V capacitor across the AC output wires of the transformer which smoothens the SPWM edges to reproduce almost a clean pure sine waveform output.
Reference: SG3525 Pure Sine wave
Have Questions? Please Comment below to Solve your Queries! Comments must be Related to the above Topic!!