• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • +1000 Circuits
  • Hobby Circuits
  • Basic Circuits
  • Learn Arduino
  • Logic IC Pinouts
  • Disclaimer
You are here: Home / Inverter Circuits / Class-D Sinewave Inverter Circuit

Class-D Sinewave Inverter Circuit

Last Updated on December 26, 2020 by Swagatam 14 Comments

A sinewave inverter using class-D amplifier functions by converting a small sinewave input frequency into equivalent sine PWMs, which is finally processed by an H-bridge BJT driver for generating the mains sinewave AC output from a DC battery source.

What is Class-D Amplifier

The working principle of a class-D amplifier is actually simple yet extremely effective. An input analogue signal such as an audio signal or a sinusoidal waveform from an oscillator is chopped into equivalent PWMs also called SPWM.

These sine equivalent PWMs or SPWMs is fed to a power BJT stage, where these are amplified with high current, and applied to the primary of a step up transformer.

The transformer finally transforms the sine equivalent SPWM into 220V or 120V sine wave AC, whose waveform is exactly in accordance with the input sine wave signal from the oscillator.

Advantages of Class-D Inverter

The main advantage of a class-D inverter is its high efficiency (almost 100%) at a reasonably low cost.

Class-D amplifiers are easy to build and set up, which enables the user to produce efficient, high power sine wave inverters quickly without many technical hassles.

Since the BJTs have to work with PWMs, it allows them to be cooler and more efficient, and this in turn allows them to work with smaller heatsinks.

A Practical Design

A practical class-D inverter circuit design can be witnessed in the following diagram:

The IC 74HC4066 can be replaced with IC 4066, in that case the separate 5V will not be required, and a common 12V can be used for the entire circuit.

The working of the pwm class-D inverter is fairly simple. The sine wave signal is amplified by the op amp A1 stage to adequate levels for driving the electronic switches ES1---ES4.

The electronic switches ES1---ES4 open and close causing rectangular pulses to be generated across the bases of the transistors T1---T4 bridge alternately.

The PWM or the width of the pulses is modulated by the input sine signal resulting in a sine equivalent PWMs fed to the power transistors,and the transformer, ultimately producing the intended 220V or 120V sine-wave mains AC at the output of the transformer secondary.

The duty factor of a rectangular signal produced from the ES1---ES4 outputs is modulated by the amplitude of the amplified input sine wave signal, which causes an output switching SPWM signal proportional to the sine wave RMS. Thus the on-time of the output pulse is in accordance with the instantaneous amplitude of the input sine signal.

The switching period interval of the on-time and the off -time together determines the frequency which will be constant.

Consequently, a uniformly dimensioned rectangular signal (square wave) is created in the absence of an input signal.

As a way to achieve fairly good sine wave at the output of the transformer, the frequency of the rectangular wave from ES1 should be at the very least two times as high as the highest frequency in the input sine signal.

Electronic Switches as amplifiers

The standard working of the PWM amplifier is implemented by the 4 electronic switches made around ES1---ES4. Supposing that the input of the op amp input at the zero level, causes the capacitor C7 to charge via R8, until the voltage across C7 attains the level that is sufficient to switch ON ES1.

ES1 now closes and begins discharging C7 until its level drops below the switch ON level of ES1. ES1 now switches OFF initiating the C7 charging again, and the cycle rapidly turns ON/OFF at a rate of 50 kHz, as determined by the values of C7 and R8.

Now, if we consider the presence of a sine wave at the input of the op amp, it effectively causes a forced variation on the charge cycle of C7, causing the ES1 output PWM switching to get modulated as per the rise and fall sequence of the sine wave signal.

The output rectangular waves from the ES1 now produces SPWM whose duty factor now varies in accordance with the input sine signal.

This results in a sine wave equivalent SPWM to be alternately switched across the T1---T4 bridge, which in turn switches the transformer primary to generate the required AC mains from the secondary wires of the transformer.

Since the secondary AC voltage is created in accordance with the primary SPWM switching, the resultant AC is a perfectly equivalent sine wave AC of the input sine signal.

Sine wave Oscillator

As discussed above, the class-D inverter amplifier will need a sine wave signal input from a sine wave geneartor circuit.

The following image shows a very simple single transistor sine wave generator circuit which can be effectively integrated with the PWM inverter.

The frequency of the above sine wave generator is around 250 Hz, but we will need this to be around 50 Hz, which can be changed by altering the values of C1---C3, and R3, R4 appropriately.

Once, the frequency is set, the output of this circuit could be linked with the C1, C2 input of the inverter board.

PCB Design and Transformer Wiring

Parts List

Transformer: 0-9V/220V current, will depend on the transistors wattage and battery Ah rating

Specifications:

The proposed class-D PWM inverter is a small 10 watt test sample prototype. The 10 watt low output is due to the use of low power transistor for T1---T4.

The power output can be easily upgraded to 100 watts by replacing the transistors with TIP147/TIP142 complementary pairs.

It can increased to even higher levels by using higher BUS DC line for the transistors, anywhere between 12V and 24V

SHARING IS CARING!



Previous: Understanding MOSFET Safe Operating Area or SOA
Next: How an Autotransformer Works – How to Make

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

You'll also like:

  • 1.  Arduino Modified Sine Wave Inverter Circuit
  • 2.  Simple 48V Inverter Circuit
  • 3.  5kva Ferrite Core Inverter Circuit – Full Working Diagram with Calculation Details
  • 4.  Simple Online UPS Circuit
  • 5.  2 Simple Automatic Transfer Switch (ATS) Circuits
  • 6.  How to Design an Inverter – Theory and Tutorial

Please Subscribe (Only if you are Genuinely Interested in our Newsletters)


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

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

  1. Search Related Posts for Commenting

  2. iw2fvo says

    OK, thanks.
    if the 220 vac from the net goes off, the inverter still produce 220 vac through the battery and the 5 Vac from the transformer is still generated and applied to the inverter input… It seems to be a dog that eats its tail ! Will you please clarify ? Thanks for all.
    Regards, iw2fvo.

    Reply
    • Swagatam says

      Actually I am not sure about the inverter output in the absence of an input grid sinewave signal….it seems it might keep generating the base rectangular frequency at the output.
      In that case we can apply a circuit for detecting a square wave and trip the inverter off
      However, in GTI is the inverter supposed to continue applying the AC into the grid line, when grid AC fails? or shut down?

      Reply
      • iw2fvo says

        thanks,
        regulations requre that the there will not be any output from the inverter if the main grid fails.
        iw2fvo

        Reply
        • Swagatam says

          OK, that makes things a bit easier. The square wave RMS from the inverter should be slightly lower than the sinewave RMS, this can be used for the detection of the grid AC presence or absence through an op amp, and for switching off inverter during a mains failure…

          Reply
  3. BETO says

    Hi Swagatam, in the description of the circuit you talk about MOSFET transistors, but in the diagram BJT transistors are used, it would be a good idea to publish the circuit with MOSFETs since the values ​​of some components will have to change. Greetings from Argentina.

    Reply
    • Swagatam says

      Thank you Beto for indicating the mistake, I’ll correct it soon by replacing the MOSFET with BJTs.
      Actually I am not quite sure how the BJTs could be replaced here with FETs due to strange arrangement of the resistive dividers across the bases of the BJTs. This arrangement may work with the shown BJTs but may not with FETs.
      This will need to be experimented the wiring to exactly know how the MOSFETs could be used.

      Reply
  4. iw2fvo says

    how could I make this project a GRID TIE inverter please ?
    Thanks

    Reply
    • Swagatam says

      you could take a stepped down 5V 100Hz grid sample from a bridge rectifier and feed it to the input of the inverter and then configure the transformer output with the grid wiring….be sure to be extremely careful with the procedures, since the concept is only as per my assumptions and is not verified

      Reply
      • iw2fvo says

        Thanks for the reply,
        >100 Hz is the double of the grid freq… is it OK?
        >If the grid goes down , the invertyer must shut down: how to do it ?
        Regards,

        Reply
        • Swagatam says

          OK i that case you can connect the 5V AC source directly across the input…this could be from a small 220/120V to 4.5 V / 500 mA transformer.

          Reply
          • Jan says

            Hi Swagatam,
            I need the inverter to handle a 160W load. Can you please suggest a BJT pair that I can use to achieve this? I will be using 12V to power the circuit.
            Regards
            Jan

            Reply
            • Swag says

              Hi Jan, You can try TIP35 and TIP36 pairs, and connect them with the existing BD132 and BD131 transistors as Darlington pairs, as shown below:

              how to connect a Darlington to amplifier

            • Jan says

              Thank you for your reply. Does that mean that we now don’t have to use D3 – D6.

            • Swag says

              I forgot to show them in the diagram, they will still be required to protect the transistors against transformer back emfs.




Primary Sidebar

Electronic Projects Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (51)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (93)
  • 741 IC Circuits (18)
  • Amplifiers (49)
  • Arduino Engineering Projects (82)
  • Audio Projects (84)
  • Battery Chargers (76)
  • Car and Motorcycle (88)
  • Datasheets (45)
  • Decorative Lighting (Diwali, Christmas) (32)
  • DIY LED Projects (82)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (99)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Games (2)
  • GSM Projects (9)
  • Health Related (17)
  • Heater Controllers (24)
  • Home Electrical Circuits (98)
  • Incubator Related (6)
  • Industrial Electronics (27)
  • Infrared (IR) (39)
  • Inverter Circuits (94)
  • Laser Projects (10)
  • LM317/LM338 (21)
  • LM3915 IC (24)
  • Meters and Testers (55)
  • Mini Projects (153)
  • Motor Controller (65)
  • MPPT (7)
  • Oscillator Circuits (15)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (65)
  • Radio Circuits (9)
  • Remote Control (46)
  • Security and Alarm (56)
  • Sensors and Detectors (116)
  • SG3525 IC (5)
  • Simple Circuits (72)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (51)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (39)
  • Ultrasonic Projects (12)
  • Water Level Controller (46)

Follow Homemade Circuits

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

Feeds

Post RSS
Comment RSS

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Privacy Policy
  • About Us
  • Contact
  • Disclaimer
  • Videos – Circuit Test Results

© 2021 · Swagatam Innovations