• 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 | Hire Me | Contact | Calculators-online
You are here: Home / Inverter Circuits / Designing a Grid-Tie Inverter Circuit

Designing a Grid-Tie Inverter Circuit

Last Updated on August 3, 2020 by Swagatam

A grid tie inverter works quite like a conventional inverter, however the power output from such inverter is fed and tied with the AC mains from the utility grid supply.

Table of Contents
  • The Concept
    • Circuit Operation
    • Assumed PWM Waveform (bottom trace) at the Outputs of the ICs
    • The Revised Design
    • Parts List
    • Waveform Image:
      • Modifications
      • Recent  Updates from Mr. Selim
      • Further Modifications
      • Waveform Images

As long as the mains AC supply is present, the inverter contributes its power to the existing grid mains supply, and stops the process when the grid supply fails.

The Concept

The concept is indeed very intriguing as it allows each of us to become an utility power contributor. Imagine each house getting involved in this project to generate overwhelming amounts of power to the grid, which in turn provides a passive income source to the contributing residences. Since the input is derived from the renewable sources, the income becomes absolutely free of cost.

Making a grid tie inverter at home is considered to be very difficult as the concept involves some strict criteria to be observed, not following may lead to hazardous situations.

The main few things that must be observed are:

The output from the inverter must be perfectly synchronized with the grid AC.

The output voltage amplitude and frequency as mentioned above must all correspond with the grid AC parameters.

The inverter should switch OFF instantly in case the grid voltage fails.

In this post I have tried to present a simple grid-tie inverter circuit which according to me takes care of all the above requirements and delivers the generated AC into the grid safely without creating any hazardous situations.

Circuit Operation

Let's try to understand the proposed design (exclusively developed by me) with the help of the following points:

Again, as usual our best friend, the IC555 takes the center stage in the entire application. In fact only because of this IC the configuration could become apparently so very simple.

Referring to the circuit diagram, the IC1 and IC2 are basically wired up as a voltage synthesizer or in a more familiar terms a pulse position modulators.

A step down transformer TR1 is used here for supplying the required operating voltage to the IC circuit, and as well as for supplying the synchronization data to the IC, so that it can process the output in accordance with the grid parameters.

Pin#2 and pin#5 of the both the ICs are connected to the point after D1, and via T3 respectively, which provides the frequency count and amplitude data of the grid AC to the ICs respectively.

The above two information provided to the ICs prompts the ICs to modify their outputs at the respective pins in accordance with these information.

The result from the output translates this data into well optimized PWM voltage that's very much synchronized with the grid voltage.

IC1 is used for generating positive PWM, while IC2 produce negative PWMs, both work in tandem creating the required push pull effect over the mosfets.

The above voltages are fed to the respective mosfets, which effectively converts the above pattern into a high  current fluctuating DC across the involved step up transformer input winding.

The output of the transformer converts the input into a perfectly synchronized AC, compatible with the existing grid AC.

While connecting the TR2 output with the grid, connect a 100 watt bulb in series with one of the wires. If the bulb glows, means the ACs are out of phase, reverse the connections immediately and now the bulb should stop glowing ensuring proper synchronization of the ACs.

You would also want to see this simplified Grid tie circuit design

Assumed PWM Waveform (bottom trace) at the Outputs of the ICs

Parts List

All resistors = 2K2
C1 = 1000uF/25V
C2,C4 = 0.47uF
D1,D2 = 1N4007,
D3 = 10AMP,
IC1,2 = 555
MOSFETS = AS PER APPLICATION SPECS.
TR1 = 0-12V, 100mA
TR2 = AS PER APPLICATION SPECS
T3 = BC547
INPUT DC = AS PER APPLICATION SPECS.

WARNING: THE IDEA IS BASED SOLELY ON IMAGINATIVE SIMULATION, VIEWER DISCRETION IS STRICTLY ADVISED.

After receiving a corrective suggestion from one of the readers of this blog Mr. Darren and some contemplation, it revealed that the above circuit had many flaws and it wouldn't actually work practically.

The Revised Design

The revised design is shown below, which looks much better and a feasible idea.

Here a single IC 556 has been incorporated for creating the PWM pulses.
One half of the IC has been configured as the high frequency generator for feeding the other half IC which is rigged as a pulse width modulator.

The sample modulating frequency is derived from TR1 which provides the exact frequency data to the IC so that the PWM are perfectly dimensioned in accordance with the mains frequency.

The high frequency makes sure the output is able to chop the above modulation information to precision and provide the mosfets with an exact RMS equivalent of the grid mains.

Finally, the two transistors make sure that the mosfets never conduct together rather only one at a time, as per the mains 50 or 60 Hz oscillations.

Parts List

  • R1,R2,C1 = select to create around 1 kHz frequency
  • R3, R4,R5,R6 = 1K
  • C2 = 1nF
  • C3 = 100uF/25V
  • D1 = 10 amp diode
  • D2, D3, D4, D5 = 1N4007
  • T1, T2 = as per requirement
  • T3, T4 = BC547
  • IC1 = IC 556
  • TR1, TR2 = as suggested in the previous section design

The above circuit was analyzed by Mr. Selim and he found some interesting flaws in the circuit. The main flaw being the missing negative PWM pulses of the AC half cycles. The second fault was detected with the transistors which did not seem to isolate the switching of the two mosfets as per the fed 50 Hz rate.

The above idea was modified by Mr. Selim, here are the waveform details after the modifications. modifications:

Waveform Image:

CTRL is the 100 Hz signal after the rectifier, OUT is from PWM from both halve waves, Vgs are the gate voltages of the FETs, Vd is the pickup on the secondary winding, which in sync with CTRL/2.

Disregard the frequencies as they are incorrect due low sampling speeds (else it gets too slow on the ipad). At higher sampling freqs (20Mhz) the PWM looks quite impressing.

To fix the duty cycle to 50% at around 9kHz, I had to put a diode in.

Regards,

Selim

Modifications

For enabling the detection of the negative half cycles, the control input of the IC must be fed with both the half cycles of the AC, this can be achieved by employing a bridge rectifier configuration.
Here's how the finalyzed circuit should look according to me.

The transistor base is now connected with a zener diode so that would hopefully enable the transistors to isolate the mosfet conduction such that they conduct alternately  in response to the 50 Hz pulses at the base T4.

Recent  Updates from Mr. Selim

Hello Swag,

I keep reading your blogs and continue experimenting on the breadboard.
I have tried the zener-diode approach (no-luck), CMOS gates and, much better, op-amps worked best. I've got 90VAC out of 5VDC and 170VAC from 9VDC at 50Hz, I believe it's in sync with the grid ( can't confirm as no oscilloscope). Btw the noise goes if you clamp it with a 0.15u cap. on the secondary coil.

As soon as I put a load on the secondary coil, it's voltage drops to 0VAC with only a slight increase in input DC amps. The Mosfets don't even try to draw more amps. Perhaps some mosfet drivers like IR2113 (see below) could help?

Although in high spirits, I feel that PWM might not be as straight forward as hoped. It definitely is good to control torque on dc motors at low pwm freqs. However when the 50 Hz signal gets chopped at higher freq, it for some reason looses power or the PWMd mosfet can't deliver the needed high amps on the primary coil to keep the 220VAC going under load.

I've found another schematic which is very closely related to yours, except PWM. You might have seen this one before.
The link is on https://www(dot)electro-tech-online(dot)com/alternative-energy/105324-grid-tie-inverter-schematic-2-0-a.html

The power handling circuit is an H drive with IGBTs (we could use mosfets instead). It looks like it can deliver the power across.
It looks complicated but actually is not too bad, what do you think? I will try to simulate the control circuit and let you how it looks.
Regards,

Selim

Sent from my iPad

Grid control for GTI
inverter control for GTI

Further Modifications

Some very interesting modifications and information were provided by Miss Nuvem, one of the dedicated readers of this blog, I have explained them below:

Hello Mr. Swagatam,

I am Miss Nuvem and I'm working in a group that is building some of your circuits during an event about sustentable living in Brazil and Catalonia. You have to visit some day.

I've been simulating your Grid-Tie Inverter Circuit, and I'd like to suggest a couple of modifications to the last design that you had on your post.

First, I was having problems where the PWM out signal (IC1 pin 9) would just blank out and stop oscillating. This was happening whenever the Control voltage at pin 11 would go higher than the Vcc voltage due to the drop across D4. My solution was to add two 1n4007 diodes in series between the rectifier and the control voltage. You might be able to get away with just one diode, but I am using two just to be safe.

Another problem I was having was with the Vgs for T1 and T2 not being very symmetric. T1 was fine, but T2 was not oscillating all the way up to Vcc values because whenever T3 was on, it was putting 0.7V across T4 instead of letting R6 pull up the voltage. I fixed this by putting a 4.7kohm resistor between T3 and T4. I think any value higher than that works, but I used 4.7kohm.

I hope this makes sense. I am attaching an image of the circuit with these modifications and the simulation results that I am getting with LTspice.
We'll be working on this and other circuits for the next week. We will keep you updated.

Warm regards.
Miss Nuvem

Waveform Images

You'll also like:

  • high voltage geneartor circuit 1Simple High voltage Generator Circuit – Arc Generator
  • How Load Conducts in Half-Bridge Driver Circuits like IR2184 or IR2110
  • Replicating an EGS002 Equivalent Board using Arduino
  • How to Design an Inverter – Theory and Tutorial

Filed Under: Inverter Circuits Tagged With: Designing, Grid, Inverter

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: « 3 Simple Solar Panel/Mains Changeover Circuits
Next Post: Make this Musical Greeting Card Circuit »

Reader Interactions

Questions & Answers

Total Posts: 121
Newest Oldest
SwagatamAdmin
August 7, 2013 • 13 years ago #14154

Hi Mohini,

The second last circuit is the finalized design, but please note that it's only the concept which I have tried to produce, the person who intends to build it should have a sound knowledge regarding electronics and inverters, only then will he or she be able to implement the design correctly for practical feasibility.

If your not an expert in the field please don't even think of making such complex circuits, you will end up wasting a lot of money and time.

rasputin Edi
August 16, 2013 • 13 years ago #14395

hi,i have solar panel 58v amorfni 128w 4 pieces do i go in serial 220v then adjust your circuit for it (220vdc) or do i make in paralel 4 x 58v then adjust your circuit for 58v what do you mean by that two cobination?

SwagatamAdmin
August 17, 2013 • 13 years ago #14413

Hi,
the above design is yet to be verified, so I would recommend you to first test the second last design shown above, if it performs as per the expectations, you could go on upgrading it from there….

By the way, putting solar panels in series makes more sense and is always more efficient.

nuvem
September 11, 2013 • 13 years ago #15145

Hello Mr. Swagatam,

I am Miss Nuvem and I'm working in a group that is building some of your circuits during an event about sustentable living in Brazil and Catalonia. You have to visit some day.

I've been simulating your Grid-Tie Inverter Circuit, and I'd like to suggest a couple of modifications to the last design that you had on your post.

First, I was having problems where the PWM out signal (IC1 pin 9) would just blank out and stop oscillating. This was happening whenever the Control voltage at pin 11 would go higher than the Vcc voltage due to the drop across D4. My solution was to add two 1n4007 diodes in series between the rectifier and the control voltage. You might be able to get away with just one diode, but I am using two just to be safe.

Another problem I was having was with the Vgs for T1 and T2 not being very symmetric. T1 was fine, but T2 was not oscillating all the way up to Vcc values because whenever T3 was on, it was putting 0.7V across T4 instead of letting R6 pull up the voltage. I fixed this by putting a 4.7kohm resistor between T3 and T4. I think any value higher than that works, but I used 4.7kohm.

I hope this makes sense. I am attaching an image of the circuit with these modifications and the simulation results that I am getting with LTspice.

i.imgur.com/jkOoU8k.png
i.imgur.com/XpOsQKd.png
i.imgur.com/9uv0TGx.jpg

We'll be working on this and other circuits for the next week. We will keep you updated.

Warm regards.
Miss Nuvem

SwagatamAdmin
October 14, 2013 • 13 years ago #16231

Dear Jose,

Changing inverter voltage specs would be difficult, you will have to dimension your windmill output as per the inverter requirements, may be by using a buck-boost circuit or other similar concept.

SwagatamAdmin
October 21, 2013 • 13 years ago #16554

Hi Ryner,

since the involved current is varying from positive to negative every split second, if the two counterparts are not synchronized, would result in possible clashing of their opposite cycles in their AC phases which would in return result either in short circuiting of the power or one of the counterparts dragging the power toward lower levels thereby heating up the inverter devices.
That's why perfect synchronization becomes the ultimate crucial thing in GTI systems.

SwagatamAdmin
October 28, 2013 • 13 years ago #16756

Hi Ryner,

Imaging putting batteries in parallel for increasing the backup time, yes, it's the current that is being added here.

If we increase the inverter voltage would load the inverter more than the AC mains input, so both counterparts must bear equal and uniform potential sharing.

SwagatamAdmin
November 14, 2013 • 13 years ago #17233

Hi Ryner,

I have already taken care of and have correctly implemented waveform synchronization in the explained designs,
regarding other options I cannot say much, that will require further investigation.

Admin
January 1, 2014 • 13 years ago #18707

I am doing my final year project with renewable energy, i prefer doing this circuit. I am doing it for a grid of 230V what must be my transformer TR2's ratings? Can i have the full final circuit?
Please help, Thank you in advance.

SwagatamAdmin
January 1, 2014 • 13 years ago #18714

The final circuit is already updated in the above article. The concept was designed by me but is not yet tested practically, so pls be cautioned

TR2 wattage will be equal to the required power output from the inverter

Admin
January 2, 2014 • 13 years ago #18727

How will this circuit behave to different voltages from the dc source, however its not a battery being connected to deliver a constant voltage?

SwagatamAdmin
January 3, 2014 • 13 years ago #18753

the DC input could be from a battery or any regulated source. yes we'll have to add a comparator sensing stage for ensuring that the battery supply is cut off as soon as its voltage drops below the input DC ripple voltage from TR1 at pin#11 of the IC

Dharmveer singh
January 17, 2014 • 13 years ago #19083

Dear sir
In India THD,Freq,voltage all these thing at a time varries, then that how can adjust…if always less then 10 % thd…what is effect on perfomance..of GTI OR ONLOAD

SwagatamAdmin
January 18, 2014 • 13 years ago #19101

Dear Dharamveer, if the DC input to the circuit is maintained at some constant, safe higher level say at 15V for a 12V system, the circuit will automatically take care of all the other factors associated with the mains supply (according to me)

Dharmveer singh
January 17, 2014 • 13 years ago #19084

dear sir
how can adjust GTI, THD, freq. voltage always varries….thd more then 5%

ajinkya brahmanathkar
March 1, 2014 • 12 years ago #20220

Sir, I need 10 Kw grid tied three phase solar inverter circuit diagram. If you have please send me on "ajinkya.brahma@gmail.com". If you have circuit giagram, please send me as early as possible.

SwagatamAdmin
March 1, 2014 • 12 years ago #20236

Presently i don't have it, I'll try to find it…..

khang ly
March 6, 2014 • 12 years ago #20366

hi Swagatam Majumdar
can I connect directly to the solar dc source. can save a lot of costs.
but I have one problem, if larger loads feeds from tie circuit .circuit continues to operate or shut down
thanks

SwagatamAdmin
March 7, 2014 • 12 years ago #20373

Hi Khang,

yes you can connect it directly to a solar panel, however the supply to the ICs must not exceed 15V.
The circuit output will follow the grid voltage proportionately…if the grid voltage drops so will the output from the inverter and vice versa…so with larger loads the output will adjust in accordance with the grid voltage.

khang ly
March 19, 2014 • 12 years ago #20648

hi Swagatam Majumdar
iI tested the circuit on the output voltage but only 4vac, f = 1kHz
I use fe core transformer (EI). transformer frequency more than. 100hz. perianth do fire transformer
can i change BC547 to 2N3904 ?

SwagatamAdmin
March 20, 2014 • 12 years ago #20667

BC547 can be changed to 2N3904, ………cant troubleshoot without seeing practically.

khang ly
March 19, 2014 • 12 years ago #20649

hi Swagatam Majumdar
can you help me design and calcular an turbin wind capacity 200w.
thanks so much

SwagatamAdmin
March 20, 2014 • 12 years ago #20668

hi khang, pls give complete specification in terms of voltage ad current.

khang ly
March 20, 2014 • 12 years ago #20688

Hi Swagatam Majumdar
i need technical specifications
U=24VAC
I=10A
V=0~10m/s (wind speed)
R=1m (radius)

SwagatamAdmin
March 21, 2014 • 12 years ago #20699

do you need the technical specification of the motor??

khang ly
March 23, 2014 • 12 years ago #20750

hi Swagatam Majumdar
yes i want it.
choice and calcular :wire size(mm),round wire,magnet.

khang ly
March 20, 2014 • 12 years ago #20687

hi Swagatam Majumdar
my problem.
DC input 12v (power supply DC 3A)
transformer 12-0-12
i choice R1=100k,R2=20k,C1=10nF(~1khz)
output(pin 9 IC)=988hz,
current=0.01(DC IN)
output transformer=4VAC,frequency=100hz
Can you give me a guide
thanks

SwagatamAdmin
March 21, 2014 • 12 years ago #20698

Khang, use a 6-0-6V transformer, you will get the required level of output……….but 4v is way too low… something may be wrong in your construction

khang ly
March 23, 2014 • 12 years ago #20751

hi Swagatam Majumdar
i send to you a picture result I measured.
have you address mail?

SwagatamAdmin
March 24, 2014 • 12 years ago #20781

email is in the "contact" page, pls see it.

khang ly
March 26, 2014 • 12 years ago #20834

HI Swagatam Majumdar
I checked the construction .output transformer 200vac.I have a problem ,output frequency is not 50hz .it's >300hz.
can you give me a opinions

SwagatamAdmin
March 27, 2014 • 12 years ago #20863

Hi khang,
I can't get the picture..please post all the details regarding what you are referring to and what exactly have you made so far.

SwagatamAdmin
March 27, 2014 • 12 years ago #20864

ok i understood your point….connect a 1uF/400 cap at the output and then check the frequency, it will show 50Hz.

khang ly
March 27, 2014 • 12 years ago #20892

Hi Swagatam Majumdar
Have you received a picture yet.
I have checked output bulbs but no light .it's synchronization phase on grid.
thanks

SwagatamAdmin
March 29, 2014 • 12 years ago #20927

Hi Khang, yes i have seen the pictures sent by you.

I think you should first make the inverter separately, make it to produce the required 220V, once it's confirmed you can proceed with the integrations.

khang ly
April 1, 2014 • 12 years ago #21044

Hi Swagatam Majumdar
I sent you that image on meter
you have received a picture?

SwagatamAdmin
April 2, 2014 • 12 years ago #21073

Hi Khang, yes, I have seen it but could not interpret much…

khang ly
April 2, 2014 • 12 years ago #21085

Hi sir
I checked the device by connecting 1 100w bulbs .It's not light . circuits sync phase grid.can I connect on grid?
thank's

SwagatamAdmin
April 3, 2014 • 12 years ago #21099

Hi khang,
something may be wrong in your circuit or you may be using a small battery/trafo…, try using a 12V 25ah battery and a 9-0-9/20amp transformer for getting a valid output

khang ly
April 3, 2014 • 12 years ago #21118

Hi sir
I'm using one 3A power supply and 1A tranfo 18-0-18 to check circuit.result check in meter
Thank's

SwagatamAdmin
April 4, 2014 • 12 years ago #21138

for 18-0-18 trafo you will need 24V DC input……. and in that case the mosfet gates will need zener diode clamping for safety

khang ly
April 6, 2014 • 12 years ago #21214

hi sir
I'll check back
thank's,

khang ly
April 8, 2014 • 12 years ago #21296

Hi Swag
i have a question?
Why create 1kHz instead of 50 hz in output ?

SwagatamAdmin
April 9, 2014 • 12 years ago #21309

khang, 1khz at pin14 of IC 4017 will produce 50Hz on the gates of the mosfets and from the trafo, that's how it works

barbe israel
March 31, 2014 • 12 years ago #21008

hi Swaggatam, Quick question irfz44n will be ok with 12 0 12..yeah..im going to check if this gonna work. or have you any latest update on grid tie inverter. Thanks

SwagatamAdmin
April 1, 2014 • 12 years ago #21025

Hi Barbe, yes IRF44n will work with 12-0-12 trafo.

Please proceed only if you have understood the concept well, and it's strongly recommended to do it in a stagewise manner

No I do not have any further updates regarding the above circuit, I would appreciate if anybody provides the test results of the same.

barbe israel
April 2, 2014 • 12 years ago #21053

Sure…the only missing with me is the 68k i hope i can find this afternoon and try to blow in the evening..anyway i let you know once it work smoothly..also i found some diagram from the net but not sure with it…but too many blogs says it works???

SwagatamAdmin
April 2, 2014 • 12 years ago #21067

OK, great!
Try only those which you understand and are able to simulate in mind, otherwise it could be a waste of money and time.

barbe israel
April 3, 2014 • 12 years ago #21122

I try.. Its busted…any way its fine…im waiting for my scope..its hard to check all of this..!!! I will try your other design and let see we were going to blow that one aswell…i will inform you what ever i found…but this one…my 10amps transformer get hot aswell..its reallly busted.i want to follow only what is in the doagram to check if its actually working but i put all the nessisary precaution..!!!!

barbe israel
April 1, 2014 • 12 years ago #21047

Hi Miss Nuvem,

Is your Project works…as currently I don't have the scope…with me? Thanks

View Older Comments

Primary Sidebar



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (89)
  • Datasheets and Components (109)
  • Electronics Theory (150)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (100)
  • Lamps and Lights (163)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



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 |



Recent Comments

  • Swagatam on 2 Cool 50 Watt Inverter Circuits for Students and Hobbyists
  • Swagatam on The Perfect FM Radio Circuit using TDA7000 IC
  • Swagatam on 9 Simple Sine Wave Generator Circuits Explored
  • way on 2 Cool 50 Watt Inverter Circuits for Students and Hobbyists
  • Athull on The Perfect FM Radio Circuit using TDA7000 IC

Social Profiles

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

© 2026 · Swagatam Innovations