How to Make a Simple Solar Inverter

In this article we will try to understand the basic concept of a solar inverter and also how to make a simple yet powerful solar inverter circuit.

Solar power is abundantly available to us and is free to use, moreover it’s an unlimited, unending natural source of energy, easily accessible to all of us.

What's so Crucial about Solar Inverters?

The fact is, there's nothing crucial about solar inverters. You can use any normal inverter circuit, hook it up with a solar panel and get the required DC to AC output from the inverter.

Having said that, you may have to select and  configure the specifications correctly, otherwise you may run the risk of damaging your inverter or causing an inefficient power conversion.

Why Solar Inverter

We have already discussed how to use solar panels for generating electricity from solar or sun power, in this article we are going to discuss a simple arrangement which will enable us to use solar energy for operating our household appliances.

A solar panel is able to convert sun rays into direct current at lower potential levels. For example a solar panel may be specified for delivering 36 volts at 8 amps under optimal conditions.

However we cannot use this magnitude of power for operating our domestic appliances, because these appliances can work only at mains potentials or at voltages in the ranges of 120 to 230 V.

Further more the current should be an AC and not DC as normally received from a solar panel.

We have come across a number of inverter circuits posted in this blog and we have studied how they work.

Inverters are used for converting and stepping up low voltage battery power to high voltage AC mains levels.

Therefore inverters can be effectively used for converting the DC from a solar panel into mains outputs that would suitably power our domestic equipment.

Basically in inverters, the conversion from a low potential to a stepped up high mains level becomes feasible because of the high current that’s normally available from the DC inputs such as a battery or a solar panel. The overall wattage remains the same.

Understanding Voltage Current Specifications

For example if we supply an input of 36 volts @ 8 amps to an inverter and get an output of 220 V @ 1.2 Amps would mean that we just modified an input power of 36 × 8 = 288 watts into 220 × 1.2 = 264 watts.

Therefore we can see that it’s no magic, just modifications of the respective parameters.

If the solar panel is able to generate enough current and voltage, its output may be used for directly operating an inverter and the connected household appliances and also simultaneously for charging a battery.

The charged battery may be used for powering the loads via the inverter, during night times when solar energy is not present.

However if the solar panel is smaller in size and unable to generate sufficient power, it may be used just for charging the battery, and becomes useful for operating the inverter only after sunset.

Simulation and Working

Referring to the circuit diagram, we are able to witness a simple set up using a solar panel, an inverter and a battery.

The three units are connected through a solar regulator circuit that distributes the power to the respective units after appropriate regulations of the received power from the solar panel.

Assuming the voltage to be 36 and the current to be 10 amps from the solar panel, the inverter is selected with an input operating voltage of 24 volts @ 6 amps, providing a total power of about 120 watts.

A fraction of the solar panels amp which amounts to about 3 amps is spared for charging a battery, intended to be used after sunset.

We also assume that the solar panel is mounted over a solar tracker so that it is able to deliver the specified requirements as long as the sun is visible over the skies.

The input power of 36 volts is applied to the input of a regulator which trims it down to 24 volts.

The load connected to the output of the inverter is selected such that it does not force the inverter more than 6 amps from the solar panel. From the remaining 4 amps, 2 amps is supplied to the battery for charging it.

The remaining 2 amps are not used for the sake of maintaining better efficiency of the whole system.

The circuits are all those which have been already discussed in my blogs, we can see how these are intelligently configured to each other for implementing the required operations.

simple solar inverter circuit

Parts List for the LM338 charger section

All resistors are 1/4 watt 5% CFR unless specified.

R1 = 120 ohms

P1 = 10K pot (2K is mistkanly shown)

R4 = replace iit with a link

R3 = 0.6 x 10 / Battery AH

Transistor = BC547 (not BC557, it's mistakenly shown)

Regulator IC = LM338

Parts List for the inverter section

All parts are 1/4 watt unless specified

R1 = 100k pot

R2 = 10K

R3 = 100K

R4, R5 = 1K

T1, T2 = mosfer IRF540

N1---N4 = IC 4093

Remaining few of the parts does not need to be specified and can be copied as shown in the diagram.

For Charging Batteries up to 250 AH

The charger section in the above circuit may be suitably upgraded for enabling the charging of high current batteries in the order of 100 AH to 250 AH.

An outboard transistor TIP36 is appropriately integrated across the IC 338 for facilitating the required high current charging.

The emitter resistor of TIP36 must be calculated appropriately otherwise the transistor might just blow off, do it by trial and error method, start with 1 ohm initially, then gradually go on reducing it until the required amount of current becomes achievable at the output.

solar inverter with high power battery charging

Adding a PWM Feature

For ensuring a fixed 220V or 120V output a PWM control could added to the above designs as shown in the following diagram. AS can be seen the gate N1 which is basically configured as a 50 or 60Hz oscillator, is enhanced with diodes and a pot for enabling a variable duty cycle option.

By adjusting this pot we can force the oscillator to create frequencies with different ON/OFF periods which will in turn enable the mosfets to turn ON and OFF with the the same rate.

By adjusting the mosfet ON/OFF timing we can proportionately vary the current induction in the transformer, which will eventually allow us to adjust the output RMS voltage of the inverter.

Once the output RMS is fixed, the inverter will be able to produce a constant output regardless f the solar voltage variations, until of course the voltage drops below the voltage specification of the transformer primary winding.

solar inverter with pwm control circuit

Need Help? Please send your queries through Comments for quick replies!


MadhuSudhan Rao said…
this is nice site.
I am staying in hyd.
my mail id:
where can get the leds? which you have mentioned in led tube light.
thank you
Swagatam said…
Hi, you can the LEDs from any electronic spare part retailer in Hyderabad.
Swagatam said…
connect a 1uF/400v capacitor across the output, this will reduce the output to some extent.
Swagatam said…
I have all these circuits published in my blog separately which can be added here, however if we add everything the design will become too complicated for small hobbyists, therefore the external ad-ons can be integrated as per individual preferences.
kumaran said…
hello sir,
i am kumaran, i need a circuit of 500watt (125wattX4 panel) solar panel controller circuit with 150ah lead acid battery charger

thanking you
Swagatam said…
hello kumaran,

please provide the peak voltage rating of the panel.
kumaran said…
this is kumaran, previous i request "circuit of 500watt (125wattX4 panel) solar panel controller circuit with 150ah tall tubular lead acid battery charger"

I mentioned my solar panel details,

*max. power -Pmax-125wp
*Voltage @ max. power -Vmax-17.7v
*current @max. power -imax - 7.06A
*Open circuit voltage-Vocv -21.4v
*short circuit current - i scv - 7.98A
*tolerance - T - +- 5%
*Max. system voltage -v - 1000V


Swagatam said…
please check the last circuit given in the following link, you can use it for the said purpose, adjust P1 to 14.4V for charging a 12V battery.
Emran Khandker said…
I need to understand the circuit properly. What should I do?
santhosh santhu said…
I am designing a boost converter for my solar project (24V to 230V,20A) please can u suggest a circuit with proper values
Swagatam said…
you can try the folowing design:

for getting 220v @ 20amp, your 24v input must be rated at 200 amps
Gopal Chauhan said…
Hi Swagatam, I wanted to seek your opinion about Solar power usage -
Scenario is: I want to install 10Kv Solar system at my place without using any batteries, it should work when the day starts and entire load should switch over to Solar power, once its dusk the system should fall back to normal electricity supply, the problem I can think off is that entire 10Kv may not be produced/used always and sometimes I might just use about 1-2 kv only and rest might be passed over to grid which can cause damage to lineman working (as they might think lines are off), can you please suggest a solution to this problem or a circuit that best fulfills my problem.
Swagatam said…
Hi Gopal,

I think you can keep the inverter power isolated from the home grid line using a DPDT relay.

This relay may be controlled through the solar panel voltage itself or a simple light activated switch.

So, as long as the solar panel receives the require sunlight, the relay stays activated keeping the inverter isolated from grid and your home wiring connected with the inverter, while during night when the solar panel shuts off, the relay connects your home wiring back to grid mains.
Admin said…
what rating solar panels will be required to run a 215 Ltrs (5 star rated) refrigerator, also the tell the rating of supporting inverter.
Swagatam said…
Hi, please specify the wattage of the unit so that I can calculate the required data.
gaurav khator said…
Hello sir,
Please give me your contact number. i want to purchase the solar inverter of 1000w capacity.
Shantanu Kumar said…
sir i want to ask what isthe valiue of resistors used some of them are not specifeid ,also i want to know can lm 317 be used in place of lm338
Swagatam said…
Shantanu, are you referring to the LM338 R3/R4 resistors? these must be calculated using the following formula:

R3 = (0.6x10)/batteryAH

R4 = 2 x R3

R3 at the top can be simply a 10k resistor

if your battery AH is less than 10AH then 317 will do.
Shantanu Kumar said…
Sir i want to know can i iuse 12-0-12 transformer in the circuit i am using a battery of 12v& 7.2A. also sir i want to know each and every component and how it works
Shantanu Kumar said…
Sir what is the value of diode across mosfet
Swagatam said…
you can use 1N5408 for the diodes across the mosfet...
Hi Swagatam,

My name is Benjamin from Malaysia. I wish you could help me to design a power pack with the 230V AC input with less than 5AMPs and output 9.6V dc.
Swagatam said…
Hi Benjamin, I guess you want to make an SMPS 9.6V, 5 amp circuit, right?

You can try the following circuit:
Shiva Kumaren said…
hai swagatam ,
i need to convert dc 700 volt to ac and reduce it to low voltage for battery charging ,because i have panels connected series for agri 5 hp solor pumpset which is run by solor vfd ,so i dont want to disturb the connection and i want to keep changeover switch inbetween dc bus voltage from panels and use it to home by ups when not in agri us
Swagatam said…
Hi Shiva,

you can try the following design and modify the specs accordingly for your application:
Swagatam said…
....if you have doubts, please feel free to ask me...
Ganimid Alvarez said…
Is it possible to use a transformer having a rating of only 2 Amps in this circuit?
Swagatam said…
yes it's possible but a 2amp trafo will offer not more than 25 watts of power output
sweet n sour said…
Hello swagatam ji....can you please send me working circuit of 1kw inverters....if possible can you please send me transformer less one mail is :
Swagatam said…
you can use a 4047 IC circuit and connect the following given output stage with it to get any amount of power as per your preference:
Priyank Shukla said…
solar intensity is not always the same.
what could be done for this?
Swagatam said…
I have used LM338 to step down the voltage, but it's not the efficient way of doing it, you can use a buck converter instead.
sir, for 250ah battery what resistor value and watts for r3 and emiter resistor? thank you very much sir and god bless you sir
Swagatam said…
you can use a 0.022 ohm, 5 watt resistor
agbuna matthew said…
sir, i am elect elect engr, i have been into inverter and ups more than 10 years but i want to have more idea on SOLAR SYSTEM, PLEASE CAN I GO ABOUT THIS? to be an installer, designer.etc
Swagatam said…
Agbuna, you can try the above circuits, but these are very basic designs and therefore not so efficient...
Sonal Kachare said…
Yes, solar panel inverter without transformer.
Akshay Rathore said…
sir i am trying to build a 50 watt sine wave inverter to be included in my clg major project .
can u please direct me towards appropriate designs .
i would really appreciate if u could help me.
Swagatam said…
Akshay, sine wave inverter can be difficult for a newcomer in the field. so I won't recommend it to you, an easier option is presented in the this article:

the design at the end of the article will provide a sinewave kind of output which could be suitable for most electronic appliances.
Rishi Mukherjee said…
hi sir,
why the battery positive is connected with transformer neutral? and what will happen if I disconnect it? is that possible to use ordinary transformer instead of center tap?
Swagatam said…
Hi rishi,

what is transformer neutral? I did not understand your question.

the positive is connected with the center tap of a 9-0-9V transformer

center is a must here
hello sir thank you for you posting. but i have to ask one question than can we implement a circuit which automatically closed the input when the battery is fully charged? if yes than how?
please reply me soon i have to work on this
Swagatam said…
thanks kamiyab, you can implement it by adding an opamp to the LM338 circuit as explained in the following article:
Swagatam said…
if you use the solar panel to operate both battery and the inverter then you might require a high power panel, in the order of 10 to 15amps and you must use the last circuit where a transistor is connected with the IC for boosting current.

R3 will depend on the load current....initially don't use anything keep the points shorted and see the response.
what are the main components of solar inverter
Smartup Tech said…
have you uploded this 1000w inverter circuit???
Sir, I am going to make HERIC Inverter in lab and i am facing a problem to choose SPWM and driver of MOSFETs. Inverter rating is 300W and 230V output. How to make SPWM. Please suggest me.
Swagatam said…
Gaurav, SPWM can be made by feeding a fast triangle wave at 200Hz and a slow triangle wave at 50Hz across the two inputs of an opamp.

the triangle waves could be extracted from the R/C junction of a 555IC astable circuit
Farrar Mike said…
Pls sir what is R1, R2 and R3 in the diagram.
Farrar Mike said…
Pls sir am knew in the circuit construction. Pls Hello me what was R1, R2 and R3 range
Swagatam said…
R1 = 100k preset
R2, R3 = 10k resistor
vhafuwi said…
Hello Swagatam,what is the maximum power I can get from this inverter if I increase the Mosfets, Battery and Trafo?
Swagatam said…
Hellu Lufono, it will be approximately equivalent to the transformer wattage.... provided the battery is able to supply the specified amount of current and voltage to the trafo.
Amit Patil said…
How much solar panel watts is required to this inverter
vhafuwi said…
Hello Swagatam , how can I modify this inverter to Pure sine wave for running LCD TV and also get an output of 350 Watts
Swagatam said…
Hello vhafuwi, you can check the last diagram from the following article
Swagatam said…
yes you can go ahead with a 12-0-12 trafo that case you won't require the 7812 IC for stepping down the voltage to the IC.

R4 can be eliminated, it's actually not required...and R3 = 0.6/charging current

charging current must be 1/10th of the battery AH rating
shu weihong said…
may i know all the component name that use in the circuit?
shu weihong said…
Hi Swagatam,

My name is tommy from Malaysia. I wish you could help me to design a power inverter that use in rural area and the incomming source is from solar panel
and not expensive
Swagatam said…
Hi Tommy, you can use any inverter as a solar inverter, you can also use the above explained solar inverter for your purpose.

I'll include the parts list in the article for your reference.
shu weihong said…
thx a lot swagatam majumdar
can i know which software you are use to draw the circuit??
Swagatam said…
You are welcome Tommy, I use CorelDraw for drawing my schematics..
tommy said…
hi sir can i know the value for the R3 R4? for the bottom side
Swag said…
tommy, R4 is not required so you can replace it with a jumper.

R3 = 0.7/max charging current

max charging current for lead acid batt is = 1/10th of the AH value of the battery
tommy said…
why i only can get the DC voltage at the output??
Swag said…
keep your meter in the AC 220V and check
tommy said…
Hi, Swagatam. I try to built the circuit but I am using 10-0-10V x'mer and I get the output only with 88 VAC max with adjusted R1 = 88 Ohms. Here, my question why I cannot 240VAC output is that because I am not using 24-0-24V x'mer?
Swag said…
Hi Tommy, by default the N1 stage will produce a fixed 50% duty cycle which implies that the output will get 50% less in voltage, to correct this you may have to use 6-0-6V trafo with a 12V battery meaning the trafo input V specs should 50% less of the battery V spec

the other option is to modify the N1 circuit with an adjustable PWM circuit, possibly I'll try to modify it, and publish the modified version soon.
tommy said…
sir what is the function for IRF543? and the max voltage will get from IRF543 is 80V~100V ?
Swag said…
It is IRF540, it is a mosfet, max voltage will depend on the transformer input winding rating and the PWM or the duty cycle from the N1 pot setting
vhafuwi said…
R3 = 0.6 x 10 / 100 Battery AH (100 AH ) = 0.06 , what will be the actual resistor value
0.06 = Resistor Value ?
vhafuwi said…
R3 = 0.7/max charging current in this case is 8 Amp
R3 = 0.7/8 = 0.0875
What is the actual resistor value of 0.0875
Thanks in Advance
Swag said…
It is in Ohms....0.0875 Ohms
Swag said…
The unit is in Ohm...0.06 Ohm
tommy said…
sir i get the 230Vac and f=179Hz how can i reduce the frequency? my transformer rating is 12-0-12 @50VA
Swag said…
Tommy, either you can increase the value of R1 by adjusting the 100K preset or increase the value of C1 appropriately, to reduce the frequency to 50Hz
tommy said…
sir, i have increase the value of R1, but after i get around 95Hz then it is no Ac output.
the R1 value is 100K
Swag said…
Tommy, check the output with a load connected, such as a 40 watt bulb.
try increasing capacitor value slightly and check the response again

I did not understand what you meant by "no AC?" please clarify if possible.
tommy said…
sir can i know the function of Mosfet IRF543, IC7812 and IC4093 ?
Swag said…
mosfet is used for switching the transformer with battery current.
7812 for supplying constant voltage to the IC
and 4093 for creating the required oscillations and buffering for mosfet switching.
tommy said…
hi sir, if voltage supply from solar panel is more than 36v and feed into L7812cv what will happen for the invert part and the L7812CV
Swag said…
Hi Tommy, If it is within 40V the 7812 will handle it somehow, but above 40V it can be a problem to the IC.

For the inverter/battery section, the LM338 will drop it to the required level, but again LM338 so also rated at 40V make sure your panel voltage never exceeds the 40V mark
tommy said…
hi sir, if i want using this kind of inverter to operate the inductive load what component should i add or which part should i change?
Swag said…
Hi tommy, for that you may have to replace the square inverter section with an SPWM inverter
sreejith s said…
Hello sir , i want to know this circuit clearly can u explain for me clearly with circuit diagram in my mail
Swag said…
Hello sreejith,
It is already explained in the article, if you have any specific questions you can ask, I'll try to help!
ali said…
hi sir great work
i am making a hybrid energy system my dc wind is 50watt and solar is 30watt 2amp . and battery is 12v and 10 amp.
and we are are using load 40watt bulb. can you please recommend me which solar inverter i should made ?? and solar inverter power etc
Swag said…
Thanks Ali,

you can try the following simple inverter circuit
Dominic said…
hi sir great work are doing. i have follow up some of your diagram. please sir if i put together this circuit the it show. will it work perfect. thanks
Swag said…
Hi Dominic, yes definitely it will work, for more information you can also read the following article:

If you have issues just let me know, I'll try to solve it for you
oliver Emmanuel said…
hi!,sir can I use 15-0-15volt transmformer???
Swag said…
Hi Oliver, for a 12V battery a 15V transformer might not work optimally, it might result in a low voltage output.
oliver Emmanuel said…
thanks sir,,hope i can use 12-0-12volt transformer and how many pins has the ic4093 ?
Swag said…
Oliver, you can use 12-0-12V transformer if your solar panel is rated at least 17V

Contact me for Customized Circuits


Email *

Message *

 Follow on G+  Follow on Facebook   Follow on Tweeter  Follow on G+  Follow on G+