• 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 / Sine Wave Inverter using Bubba Oscillator Circuit

Sine Wave Inverter using Bubba Oscillator Circuit

Last Updated on August 3, 2020 by Swagatam 106 Comments

In this post I have explained how to make a simple sine wave inverter using bubba oscillator sine wave generator. The idea ws requested by Mr. Ritwik Naudiyal.

Technical Specifications 

I am a 4th year B.Tech Student Electrical Eng.

We are trying to make pure wave sine wave inverter using PWM and bubba oscillator for our Final project, also along with it a battery charging and auto cut off circuit would be needed

We want the inverter to work for day to day purposes. We would be grateful to you if u can give a working circuit fr this.

thank You!

Circuit Diagram

NOTE: Please use a Darlingtton pair for the BC547 connected with pin#5 of IC2 for efficient PWM conversion.

 The Design

The proposed sine wave inverter using bubba oscillator may be understood with the help of the following points:

The stage comprising two 555 ICs are configured as PWM generators where IC1 forms a square pulse generator for the PWMs while IC2 forms the monostable PWM generator with respect to the modulation input applied at its pin5.

The sine wave modulation input at pin5 of IC2 is ahieved with the help of a bubba oscillator created by using four opamps from the IC LM324.

The generated sine wave pulses are fixed at precise 50 Hz and fed to pin5 of IC2 via a BJT common collector for further processing.

The 50 Hz Formula

The 50 Hz for the bubba oscillator is set by selecting R precisely with the help of the following formula:

f = 1/2(3.14)RC

IC2 compares the sine wave modulations at its pin5 with the square pulses at its pin2 and generates an equivalent PWM waveform at its pin3.

The flip flop stage reqired for switching the power stage is configured through a single IC 4017 whose outputs are appropriately integarted with the two high gain high current power BJT stage formed by Darlington TIP122 and TIP35.

The pin14 of the 4017 is clocked at around 200 Hz via pin3 of IC1 in order to achieve a 50 HZ switching across the power transistors.

The PWM modulation of the above 50 Hz switching is implemented with the help of the two 1N4148 diodes connected across the bases of the tIP122 and are switched in accordance with the PWM from pin3 of IC1

Assumed waveforms of the PWMs may be referred in the following image:

Waveform Bubba Oscillator

You'll also like:

  • colpitts crystal oscillatorUnderstanding Crystal Oscillator Circuits
  • arduinoArduino Pure Sine Wave Inverter Circuit with Full Program Code
  • Convert a Square Wave Inverter into a Sine Wave Inverter
  • universal H bridge mosfet driver compressedEasy H-Bridge MOSFET Driver Module for Inverters and Motors

Filed Under: Inverter Circuits, Oscillator Circuits Tagged With: Bubba, Inverter, Oscillator, Sine, 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: « Simple 48V Inverter Circuit
Next Post: Office Call Bell Network Circuit with LED Monitor »

Reader Interactions

Comments

Lisborn says:
October 3, 2025 at 11:36 am

1. What is it’s power rating?
2. How do I increase the output power, if I need to?

Reply
Swagatam says:
October 3, 2025 at 6:45 pm

Power rating can be adjusted by upgrading the TIP35 rating, or using MOSFETs instead.

Reply
Peter says:
September 15, 2024 at 8:41 pm

How can I use egs002 with out shot down and blinking

Reply
Swagatam says:
September 16, 2024 at 8:26 am

I think those are in-built features of the board and it cannot be removed or disabled.

Reply
Emmanuel Offiong says:
September 5, 2021 at 1:06 am

To me the bubba circuit is just a west because pin five of a 555 timer ic is the output control pin which a may voltage feeding into the pin will do same work that bubba circuit is doing

Reply
Saviour says:
March 17, 2021 at 11:42 pm

Ic3(cd4017) in the above circuit being a counter, did not work in one of the inverter circuit I tried it with. what if I replace it with cd4013 will it work as intended.?
Thanks in advance.

Reply
Swagatam says:
March 18, 2021 at 9:55 am

4017 is s perfect IC for inveter application, you can also try 4013, but if 4017 did not work then 4013 won’t work either for you.

You can see the first two examples in the below given link:

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

Reply
Paul England says:
March 3, 2021 at 5:07 pm

Swagatam,
Thank you for your response to my suggestions and observations and I visited the site you requested me to go to which confirms the original configuration.

Since my last e-mail I have now done some extensive tests on the Bubba oscillator circuit and have come to the following conclusions.
Bubba oscillators work well at higher frequencies i.e. in the kHz range, however, when you start to ask them to work at lower frequencies it is necessary to increase the value of the timing resistors (R). Because Op.Amps are not known for their amplification characteristics the increased resistance together with the 360K resistor blocks the signal path and the circuit does not oscillate. Removing the 360K resistor i.e. shorting it out reduces the effective overall resistance and it begins to work.

In my tests I have found that a preferred value of 27K for (R) is as close as you are going to get to 50Hz and the oscillator produces an output of around 51-52Hz. Obviously you could replace the resistors with trim pots but this would then require accurate measurement and adjustment which I do not think is worth it. The mains frequency on the grid is drifting about anyway and a few Hz is not going to make much difference to the output of the inverter.

You could tighten the tolerances of the resistors (R) but I think that this would be overkill.

Taking out the 360K resistor produces a displacement of the phase shift in the circuit with the result that the sine wave now appears at Pin 2 and not Pin 12 in the original configuration but the sine wave is of good quality and reasonable amplitude.
I hope that my contribution is of assistance

Reply
Swagatam says:
March 3, 2021 at 6:03 pm

Thank you very much Paul, I appreciate the valuable information that you have shared here, I am sure the other visitors will find this useful too!

Reply
Paul England says:
March 1, 2021 at 11:17 pm

I very much enjoy your circuit ideas but I would like to raise one or two comments about the Bubba oscillator included in one of your inverter circuits.
Firstly according to the circuit the timing capacitors should be 10nF is this an error as in all other circuits I have seen they are 100nF?
Secondly I found that the circuit would not oscillate unless the 350K resistor was removed. The resistor value appears to be correct as it appears in other circuits I have seen.
When this is done and the capacitors change to 100nF it begins to oscillate and with 27K resistors it give an output of around 51HZ which is as close as I can get with preferred value resistors.
However, interestingly enough the sine wave now emerges from Pin2 of the OP AMPs and not 12 as in the circuit. I know that it is phase shifting because I get a cosine wave at one point and a square wave at another.
Do you have any suggestions why this should be?

Reply
Swagatam says:
March 2, 2021 at 2:12 pm

Thank you for the suggestions, you may be correct….Actually the bubba circuit was taken from some other source, so i am not sure about its accuracy.

For accurate bubba circuit calculations you can refer to the following article, which can be applied in the above sine wave inverter design:

https://www.homemade-circuits.com/phase-shift-oscillators-wien-bridge-buffered-quadrature-bubba/

Reply
Idris says:
December 29, 2020 at 3:51 am

Can I replace the cd4017 with sg3524

Reply
Swagatam says:
December 29, 2020 at 8:32 am

yes you can!

Reply
Foxy Chevy says:
May 30, 2019 at 7:16 pm

Thanks sir,
Can I build a 3000-4000watts inverter with this circuit? Can I use 24v battery input for such power?

Reply
Swagatam says:
May 30, 2019 at 8:30 pm

Hi foxy, you can definitely do it by appropriately upgrading the mosfet and the transformer specs.

Reply
CLAUDIA DIFFU says:
March 30, 2019 at 4:00 pm

Hi I have tried to simulate the circuit as it is, on proteus, but I am not getting any output from the bubba oscillator and hence none from th tx.I have tried to attach the circuit on email but I am not sure if it will be received.

Reply
Swagatam says:
March 30, 2019 at 4:28 pm

Hi, I am sorry I can’t troubleshoot simulator results, but I can assure you that if you build this practically and correctly it will work, 100%

Reply
CLAUDIA DIFFU says:
March 23, 2019 at 12:07 pm

Hi what is the output power and current for this? What kind of loads can it drive?

Reply
CLAUDIA DIFFU says:
March 27, 2019 at 1:00 am

Thank you.I really appreciate that you actually respond to all of the questions and your circuits are very useful for my project.

Reply
Swagatam says:
March 27, 2019 at 6:52 am

You are most welcome Claudia!

Reply
Swagatam says:
March 23, 2019 at 12:51 pm

It will depend on the transformer wattage rating, and battery Ah rating. Mosfets can be replaced as per these maximum wattage ratings.

Load can be any type of load

Reply
CLEBER DE OLIVEIRA GONÇALVES says:
March 16, 2019 at 11:53 pm

SHOW DE BOLA

Reply
Cleber de oliveira gonçales says:
March 15, 2019 at 9:36 pm

circuitos otimos ´muito bom

Reply
Swagatam says:
March 16, 2019 at 8:21 am

Thank you!!

Reply
victor castillo says:
February 26, 2016 at 7:36 pm

Hola Swagatam estoy intentando por todos lado hacer esta montaje oscilador bubba pero no funciona los Ic1 y Ic2 que pulso deben tener y he cambiado las R y los C del IC4 pero nada
por favor puede usted ayudarme si hay otro circuito o como mejoro este diagrama
Gracias

Reply
Swagatam says:
February 27, 2016 at 10:31 am

Hola Victor, could you please translate your comment in English so that we can all understand it?…

Reply
Ainsworth Lynch says:
February 1, 2016 at 5:24 pm

ok as I said previously from the 2 pins from the micro-controller I am getting 50hz, but when I connect the meter to the secondary of the transformer I get 1.8khz and 3khz from the secondary, I was just asking what could cause that, when I removed Pwm feed what I actually did was to disconnect the wire connected to the gate of the Fets in which I got 51hz.

So i was wondering what the problem could be but I understand that you didnt design it I just like to try new circuits and was just seeking advice on fixing that problem.

Reply
Swagatam says:
February 2, 2016 at 3:49 am

if the transformer primary is oscillating at 50 Hz then the secondary would oscillate at the same rate too, I think your frequency meter could be malfunctioning, check your home AC outlet frequency with the same meter, see whether it shows 50Hz or some other value….

Reply
Ainsworth Lynch says:
February 1, 2016 at 11:28 am

I realize why you didn't understand fully what I was saying, I sent this link to you but seems It didn't go through at the beginning of the messages.

https://www.dropbox.com/sh/6di2i4tvak0g7d1/AAC2HNF3qCmzU85XvVRFIPXya?dl=0

thats the schematic I was trying and was asking for your assistance.

I got 51hz without PWM feeds to gates of Fets

But while the Pwm is disconnected from the Fets if I connect the transformer there is no frequency at the drain of the transistors nor at the secondary of the transformer, also no voltage across the drains which would go to the secondary of the transformer.

If I connect the transformer and also reconnect the Pwm feeds then the frequency goes up to 2.5 or up to 3khz on the secondary of the transformer and and the primary frequency is 1.8khz. and at that time I would get 10.8v accross the drains of the FETS.

Reply
Swagatam says:
February 1, 2016 at 3:03 pm

It will be difficult for me to comment on the linked circuit since it's not designed by me and it's based on Microcontroller.

By the way I cannot see any PWM feed from the IC, it's just the alternate square wave outputs which are been fed to the half bridge drivers. so if you are disabling this the entire driver circuit is going to shut down

Reply
Ainsworth Lynch says:
January 31, 2016 at 3:10 pm

One other thing, I don't have any 10ohms resistors so I used 220ohms for the gate of the fets could that be what's causing the high frequency.

Reply
Swagatam says:
February 1, 2016 at 2:12 am

I am assuming that you have built the circuit discussed in the above "bubba sine wave" article.

if you are getting 50 Hz at the gate of the mosfet or power transistor then the transformer should produce the required AC and frequency at the output…

gate resistance may not be the cause, still try using smaller resistances below 50 Ohms instead of 220 ohms.

Reply
Swagatam says:
February 1, 2016 at 2:13 am

connect a load at the trafo output with this 50 Hz operation without PWM and check the response

Reply
Ainsworth Lynch says:
January 31, 2016 at 2:48 pm

I just tested the circuit without feeding Pwm to the gate of the Fets

https://www.dropbox.com/sc/eg05wv8wdk1wr99/AAAmZ-qwYG-SRHcHdqDG_hY0a

I got 51hz

But while the Pwm is disconnected from the Fets if I connect the transformer there is no frequency at the drain of the transistors nor at the secondary of the transformer.

If I connect the transformer and also reconnect the Pwm feeds then the frequency goes up to 2.5 or up to 3khz on the secondary of the transformer and and the primary frequency is 1.8khz.

Reply
Ainsworth Lynch says:
January 31, 2016 at 1:46 pm

The pics I sent you were from the test I made before you replied so the PWM section was still applied to the gate of the FETS I will remove them now and send results soon.

Reply
Ainsworth Lynch says:
January 30, 2016 at 4:07 pm

Also the more I change the time division on the scope it's either the frequency doesn't show or it changes in value so that's why I used my multimeter to test frequency.

Reply
Swagatam says:
January 31, 2016 at 6:22 am

check the frequency without the PWM feed at the base of the transistors, it should now show 50Hz, if not then either the IC1 is wrongly set or your meter could be malfunctioning

A similar circuit was verified for its waveform by one of the readers, where he could capture the details across the output of the trafo, you can see the images in this article….so it think the results would be quite similar for the above design too

https://www.homemade-circuits.com/2013/10/modified-sine-wave-inverter-circuit.html

Reply
Swagatam says:
January 31, 2016 at 6:25 am

I am having difficulty in understanding your waveform results….

Reply
Swagatam says:
January 31, 2016 at 6:30 am

sorry, I am assuming you have applied the PWM section as described in the above article, did you? if not then the above linked article and my suggestions could be irrelevant for your case and the issue can be somewhere else…

Reply
Ainsworth Lynch says:
January 30, 2016 at 4:02 pm

OK the scope I have is a portable scope do nano

I'll provide a drop box link to the set up I have and the readings, also the scope is connected to the primary of the transformer because I don't think it can handle 250v

https://www.dropbox.com/sc/g741oldx01s7cu6/AAA6iCJQXNQo-ZafHuOUSNpIa

Reply
Ainsworth Lynch says:
January 29, 2016 at 11:26 pm

I actually built the circuit in the link I provided above and from the arduino I got 50hz but from the transformers output I got 2khz, I am wondering what would cause that I used the correct value capacitors, 2 diodes are there that has no value so I used 1n4007.

I was thinking about building a low pass filter to get 50hz which I would just use a 330 ohm resistor and a 10uf capacitor but I was seeking your advice to identify the problem causing that high frequency.

Reply
Swagatam says:
January 30, 2016 at 5:27 am

It's causing due to the superimposition of the PWM frequency over the 50Hz pulses, please check through an oscilloscope for understanding the exact situation of the output….using the low pass will simply block the PWMs.

Reply
moskol says:
January 27, 2016 at 1:12 pm

PLease what is the standard rating for the transformer

Reply
Swagatam says:
January 28, 2016 at 5:53 am

what is the standard load you would be using?

Reply
Ainsworth Lynch says:
January 20, 2016 at 11:43 pm

Oh kool Ill give it a try, is it PWM?

Reply
Swagatam says:
January 21, 2016 at 8:53 am

it's a simple square wave design, however PWM could be inserted across the low side mosfet gates

Reply
Ainsworth Lynch says:
January 20, 2016 at 3:21 am

I know you have H bridge with N channel fets but I thought it was a mixture of N and P…

Also I know the circuit needs to be programmed I have the code for it also, I ordered the driver chips so when they arrive I'm going to build it and test it out with 4 irfz44n, if that works I'll try 8.

Reply
Swagatam says:
January 20, 2016 at 5:28 am

I was referring to this circuit:

https://www.homemade-circuits.com/2014/01/simplest-full-bridge-inverter-circuit.html

the "load" could be replaced with a transformer for the required output

Reply
Swagatam says:
February 12, 2016 at 6:24 am

hello victor, you can disconnect and isolate the bubba oscillator and check it separately to verify its functioning.

If you are having difficulty with the design, you can go through the following article for a comprehensive learning regarding the concept

http://www.ti.com/lit/an/sloa060/sloa060.pdf

Reply
Victor says:
February 11, 2016 at 6:38 pm

hola Mr Swagatam, yo estoy montando el oscilador bubba para 120VAC 60 Hz pero como esta el diagrama no me funciona el IC1 ypor favor que valor de las resistencia de salida deben de ser la de el LM324
Gracias

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! 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 (92)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (84)
  • Datasheets and Components (109)
  • Electronics Theory (148)
  • 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 (94)
  • Lamps and Lights (157)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (66)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (90)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (105)
  • SMPS and Converters (32)
  • 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 3 Laser Beam Controlled Circuits Explored
  • ken on 8X Overunity from Joule Thief – Proven Design
  • Kim on 3 Laser Beam Controlled Circuits Explored
  • Swagatam on Making an Adjustable Electromagnet Circuit
  • Swagatam on Make this DC CDI Circuit for Motorcycles

© 2025 · Swagatam Innovations