• 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 / 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.

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:

  • Modified Inverter Circuits using 4049, 4093 ICs
  • bubbainverterSine Wave Inverter using Bubba Oscillator Circuit
  • Automatic Inverter Fan Switch ON while Charging and Inverting Modes
  • inverter2Convert Audio Amplifier into Pure Sinewave Inverter

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

Comments

Rizwan says:
January 24, 2019 at 3:53 am

How we check the output of inverter by osciloscope?
Where we connect the oscilloscope at which both waveforms of grid and our inverter will be show?

Rizwan says:
January 23, 2019 at 6:44 pm

What will be the primary and secondary inductance of both transformers?
Any idea sir?

Swagatam says:
January 23, 2019 at 7:50 pm

Sorry no ideas. Iron core transformers are normally specified with voltage and current or wattage ratings, never seen them with inductance rating.

Rizwan says:
January 23, 2019 at 2:49 pm

Sir ..
I have a question..
There is two transformers are used in GTI tar 2p2s and tras 2p3s….
Can you please tell me the exact rating of both?
And which 1 trasnfirmer is used to supply it with grid

Swagatam says:
January 23, 2019 at 6:38 pm

Rizwan, the one which is connected with the mosfet is the inverter transformer and should be rated for the power delivery to the Grid as per the specs. The other one is for powering the circuit which can be 0-12V/500mA

Rizwan says:
January 22, 2019 at 10:02 am

Okay sir when i will do practicle implementation i need your help…
I will contact you…
You are too good sir….appreciate

Rizwan says:
January 21, 2019 at 10:03 pm

How we slect a resistor to create 1khz frequency?

Swagatam says:
January 22, 2019 at 9:32 am

You can use this software to find out the values!

https://www.homemade-circuits.com/ic-555-timer-astable-circuit-calculator

Rizwan says:
January 21, 2019 at 8:11 pm

Sir please tell me about IC1 which is used in diagram 2…how i get it from proteous

Swagatam says:
January 22, 2019 at 8:35 am

IC1 is 555 or NE555

Rizwan says:
January 22, 2019 at 8:55 am

Thanks sir.
One more thing…in diagram 2.
You slect R1 R2 C1 create round 1khz frequency…how we slect it in simulation??

Swagatam says:
January 22, 2019 at 9:52 am

Rizwan, sorry, I can only help with a practical experiment, not for a simulation.

Rizwan says:
January 21, 2019 at 8:09 pm

What i type on proteous for IC556..because i got no components by type IC556

Rida says:
September 28, 2018 at 4:34 pm

Sir
When i check the frequency and Voltage from DMM it is exactly 220-228v and frequency is about 51hz
But i also checked by oscilloscope the output waveform is varying
Should i connect such output with grid

Swagatam says:
September 28, 2018 at 6:04 pm

Rida, the output waveform from the transformer will be in PWM form so it will be difficult to compare it with a sinewave. However the RMS should be exactly similar. you can confirm the operation by applying an external voltage level to pin#11, and check whether the PWMs in the scope also varies as per the applied voltage or not…this will confirm whether your circuit is correctly working or or not. If it responds to the external variable voltage and the output PWMs vary accordingly then you can be sure your circuit is working, and is OK for grid integration

Rida says:
September 28, 2018 at 9:20 pm

The RMS value at input is 11.8V and at output it is 2.86V ?
Sir i made the circuit for the 5th time. Still facing the problems

Swagatam says:
September 29, 2018 at 6:49 am

Please try the second circuit from this article, this design can be more easily understood and checked step wise.

https://www.homemade-circuits.com/homemade-100va-to-1000va-grid-tie/

Rida Rasheed says:
September 22, 2018 at 5:02 pm

Sir I successfully made the GTI circuit,but still their are some problems,,
Input
v=201v
F= 50hz
But at the output of my GTI circuit I am getting
V= 208v
F=48.9Hz
There is slightly difference between input and output.. At start the frequency at output of GTI is 51.8Hz but after sometime as transformer gets heat up the frequency goes down to 48.5Hz to 50.2Hz
But when I connect load at output of GTI the load does not work,,
Why my bulb is not glowing at output?
Sir kindly tell me the problem how can I trouble shoot it?

Swagatam says:
September 22, 2018 at 5:59 pm

Rida, the voltage difference is due to harmonics which could be wrongly interpreted by a digital multimeter. An oscilloscope will be able to tell you correctly whether the syncing is working or not.

If a load is not working that means the power transistors are not pumping the required amount of current into the transformer, or the transformer is very low with its amp spces, or the battery is not good…any of these could result in a weak output. Please let me know the correct specifications of the power devices, transformer, and the battery, I’ll try to troubleshoot.

Rida says:
September 22, 2018 at 9:37 pm

Sir the Mosfet i had used are IRF 540, and IRF 3315 both are same, i had varified,,
And the transformer rating of 6-0-6 is 200mA (if i use transformer of high rating it drops voltage at output)
And battery rating 12v, 5Ah

Can you share with me any Gmail account of yours or whatsapp no i will share with u pictures of my circuit

Swagatam says:
September 23, 2018 at 9:33 am

Rida, 6-0-6V 200mA will give an output of 6 x 0.2 = 1.2 watts, so if you use a 1 watt/220V load then it might work, if you want higher load to work then you must use higher transformer.

The battery is also very small, it must be at least 12V 7Ah, and the transformer should be 6-0-6/10 amps to for any useful results.

Also the 6-0-6V may not be necessarily correct, it must be selected as per the average voltage value that may be available at the output pins of the IC 4017. If it’s 6V then the transformer could 6-0-6, if it is 7V then the transformer could e 7-0-7V an so on.

Rida says:
September 23, 2018 at 1:29 pm

Sir the voltage at output pin of IC(TIMER) IS 5.47V
AND I AM USING 6-0-6 transformer!!
Will it be fine?

Rida says:
September 23, 2018 at 10:55 pm

Thanks sir
I will concern again in case of any problem ?
It is not much easy

Swagatam says:
September 24, 2018 at 6:31 am

sure Rida, no problems!

Swagatam says:
September 23, 2018 at 1:49 pm

you must check the DC voltage at the 4017 output with respect to ground, or across mosfet gate/source, and then select the transformer accordingly

Rida says:
September 23, 2018 at 12:20 pm

Thanks sir,
I am making a prototype mini project
Anyhow thanks it helped me much

Rida says:
September 23, 2018 at 1:14 pm

Sir the difference between output and input voltages is 10v? It can be fatal or not?
And the frequency at output vary from 49Hz to 51Hz?
Moreover i had checked the phase sequence by connecting a bulb between the output and input phase, the bulb glow very dim at both phases,, what can be the cause of this? This is not the scenario that bulb glows at both phases
Kindly guide me more

Swagatam says:
September 23, 2018 at 1:48 pm

Rida, the frequency and the amplitude both are synchronized from mains AC, so the values should be exactly equivalent to the AC mains values. Your meter can show misleading results, an oscilloscope would be able to verify it correctly.

sorry I could not understand your bulb connection details, exactly where did you test the bulb?

Swagatam says:
September 23, 2018 at 12:47 pm

You are most welcome Rida!

Rida says:
August 29, 2018 at 12:09 am

sir for 12v , 5Ah battery in GTI
what can be the rating of transformer can i use 6-0-6 10A transformer

Swagatam says:
August 29, 2018 at 9:28 am

yes you can try that.

Rida says:
August 28, 2018 at 11:41 pm

hi,
sir i made the circuit of Grid tie inverter, i am facing the problems
First one is Mosfet T1 a (IRF 3315) gets heat up
the second problem is the output of transformer TR2 is 156V-165V, and transformer gives noise
sir how can i resolve these ?
whenever i check the Current with DMM across the transformer it gets heat up ,, what can be the cause of this heating
sir one more thing
how one can predict about synchronization without oscilloscope, how will i come to know that my Grid tie inverter circuit is doing correct synchronization

Swagatam says:
August 29, 2018 at 9:18 am

Hi Rida,

please see the explanation which I provided to Muhammad Imran Akbar, your question looks similar to his.

If you are checking the output current by directly connecting an ammeter then that might create a momentary short circuit at the transformer secondary, causing some heating up of the transformer… so that’s normal.

Synchronization can be confirmed by checking and comparing the RMS from the inverter transformer output and the grid mains, they must match each other. You may use a variac and change the grid input to the GTI, this must proportionately change the output from the inverter transformer also…these tests will confirm that your inverter output is correctly synchronized with the grid voltage

Muhammad Imran Akbar says:
August 28, 2018 at 10:36 pm

hy Swagatam!
I have made this circuit.. I have got some issues.. I use 12v 5Ah battery.. my input voltage is 198VAc output of Tr2 is 156 VAc.. I use transformer 6-0-6 , 9-0-9, 12-0-12 all transformer gives hummm noise why this happen.. Ic1 get hot why??

Swagatam says:
August 29, 2018 at 9:07 am

Hi Muhammad,

It can be difficult for me to troubleshoot the voltage drop issue because it can happen due to a mismatched transformer specifications, or some internal inefficiency of the transformer.

The humming noise could be due to high modulation frequency from one of the Ics.

AS you may have understood that the SPWM synchronization is done by comparing the triangle waves and the sine wave from the grid. The frequency of the resultant SPWM will depend on the frequency the triangle waves. Therefore please adjust the frequency of the respective IC so that the frequency of the riangle waves are not more than 350Hz, this will create around 7 blocks on each SPWM waveform, and help to reduce noise in the transformer.

Also make sure add a resistor across gate/source of each mosfet, and also add reverse diodes across drain/source of each mosfet, this might prevent your IC from getting warmer.

Muhammad Imran Akbar says:
September 17, 2018 at 1:35 am

Hy!
Sir my GTI gives 228v and my input volts are 203v.. is it synchronization or not? And if not what is the reason my voltages are more than Grid voltages??
Thanks

Swagatam says:
September 17, 2018 at 10:35 am

Muhammad, a multimeter might not give the right results always, you may have to confirm it with an oscilloscope, and check whether the peak and the RMS are equal or not.

ENGR.REZAUL says:
March 19, 2018 at 5:05 pm

IC555 ,Is really perfect for grid synchronization? let’s check and update you

Salvador Tarin says:
March 9, 2018 at 9:17 am

Dear Swagatam, I see you are very knowledgeable of electronics. I have a solar power system using APS brand microinverters, but every now and then there is a blackout in the middle of the day and I have to stop working at my computer. I would like to be able to generate a small amount of AC just for using a small inverter or ac generator in order to disconnect my home from the grid and tickle the microinverters into operating, as they react to the small generator. I would manually do the switching. Would the AC generated by the microinverters destroy the tickler source?

I work all day at my computer and it would be handy to be able to work at least during daytime, in case of a power outage.

Swagatam says:
March 9, 2018 at 3:05 pm

Thank you dear Salvador,
you can try the following small UPS circuit that could be powered through a small 12V 7AH battery and used for the required purpose.

https://www.homemade-circuits.com/how-to-make-mini-homemade/

The design also a includes battery charger circuit for ensuring a safe charging for your battery.

The charger section can be replaced by any other suitable battery charger circuit as desired

Cabrera catanduva says:
December 24, 2016 at 2:45 pm

Okey meu amigo. Gostaria somente de uma recomendação de vocês. Qual dos 3 projetos eu devo começar a construção. Abraço. Eletronica_cabrera@hotmail.com.

Swagatam says:
December 27, 2016 at 11:05 am

OK, claro

cabrera catanduva says:
December 26, 2016 at 5:07 pm

Okey assim que estiver concluido minha montagem venho aqui reportar… abraço Amigo

Swagatam says:
December 25, 2016 at 11:31 am

Você pode tentar o último projeto de circuito …. melhores desejos para você!

Greens Solar Co says:
August 24, 2016 at 11:11 am

dear swagatam,
A great design which was implemented by you,i need a big help from you.I have dsp sine wave solar Hybrid inverter(offgrid) design and all.I want to convert my solar inverter in to bidirectional inverter.That means my inverter output 230v will be fed to ac grid.kindly help me

Swagatam says:
November 15, 2016 at 2:00 am

Hi Aborg, the mosfet section of the uPS will need to be synchronized by appropriately tailoring its conduction rate with respect to the AC waveform…it will need to be done quite as shown in the second schematic from this article

https://www.homemade-circuits.com/2013/08/homemade-100va-to-1000va-grid-tie.html

ABorg says:
November 14, 2016 at 12:44 pm

Hi Swagatam continueing with Mr Green comment so which internal part of an off grid have to be modified for a GTI?
I half an ups and thought if I could use it's circuit for a GTI.
Thanks

Swagatam says:
August 25, 2016 at 2:07 am

Thanks greens, it can be a little difficult,because to convert a normal inverter into a GTI would require modifying the internal circuitry of the unit and insert an external PWM to it with a duty cycle synchronized with the grid AC

Swagatam says:
January 14, 2017 at 11:34 am

Que tipo de projeto você prefere em relação a inversores ou qualquer outro simples, por favor secify a categoria que eu vou tentar ajudar

cabrera catanduva says:
January 13, 2017 at 11:15 am

Okei meu amigo, eu gostaria de saber se você teria algum outro projeto a qual deveria tentar, pois não sou tão leigo no assunto, mas não tenho conseguido exito em minhas montagens em relações aos experimentos acima.??

View Older Comments

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 (158)
  • 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 100 Watt Amplifier Circuit Diagram using LM12 IC
  • Swagatam on IC SG3525, SG3524 Calculator
  • Swagatam on Making an EGS002 Equivalent Board using Arduino
  • Swagatam on Making an EGS002 Equivalent Board using Arduino
  • Swagatam on Ion Detector Circuit [Static Discharge Detector]

© 2025 · Swagatam Innovations