Skip to main content

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 leave a comment, I'll get back soon with a reply!


  1. Hi,
    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

  2. Hi, you can the LEDs from any electronic spare part retailer in Hyderabad.

  3. connect a 1uF/400v capacitor across the output, this will reduce the output to some extent.

  4. 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.

  5. 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

  6. hello kumaran,

    please provide the peak voltage rating of the panel.

  7. sir,
    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



  8. 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.

  9. I need to understand the circuit properly. What should I do?

  10. I am designing a boost converter for my solar project (24V to 230V,20A) please can u suggest a circuit with proper values

  11. you can try the folowing design:

    for getting 220v @ 20amp, your 24v input must be rated at 200 amps

  12. 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.

  13. 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.

  14. Hi,
    what rating solar panels will be required to run a 215 Ltrs (5 star rated) refrigerator, also the tell the rating of supporting inverter.

  15. Hi, please specify the wattage of the unit so that I can calculate the required data.

  16. Hello sir,
    Please give me your contact number. i want to purchase the solar inverter of 1000w capacity.

  17. 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

  18. 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.

  19. 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

  20. Sir what is the value of diode across mosfet

  21. you can use 1N5408 for the diodes across the mosfet...

  22. 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.

  23. Hi Benjamin, I guess you want to make an SMPS 9.6V, 5 amp circuit, right?

    You can try the following circuit:

  24. 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

  25. Hi Shiva,

    you can try the following design and modify the specs accordingly for your application:

  26. ....if you have doubts, please feel free to ask me...

  27. Is it possible to use a transformer having a rating of only 2 Amps in this circuit?

  28. yes it's possible but a 2amp trafo will offer not more than 25 watts of power output

  29. 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 :

  30. 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:

  31. solar intensity is not always the same.
    what could be done for this?

  32. 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.

  33. sir, for 250ah battery what resistor value and watts for r3 and emiter resistor? thank you very much sir and god bless you sir

  34. you can use a 0.022 ohm, 5 watt resistor

  35. 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

  36. Agbuna, you can try the above circuits, but these are very basic designs and therefore not so efficient...

  37. Yes, solar panel inverter without transformer.

  38. 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.

  39. 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.

  40. 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?

  41. 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

  42. 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

  43. thanks kamiyab, you can implement it by adding an opamp to the LM338 circuit as explained in the following article:

  44. 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.

  45. what are the main components of solar inverter

  46. have you uploded this 1000w inverter circuit???

  47. 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.

  48. 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

  49. Pls sir what is R1, R2 and R3 in the diagram.

  50. Pls sir am knew in the circuit construction. Pls Hello me what was R1, R2 and R3 range

  51. R1 = 100k preset
    R2, R3 = 10k resistor

  52. Hello Swagatam,what is the maximum power I can get from this inverter if I increase the Mosfets, Battery and Trafo?

  53. 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.

  54. How much solar panel watts is required to this inverter

  55. Hello Swagatam , how can I modify this inverter to Pure sine wave for running LCD TV and also get an output of 350 Watts

  56. Hello vhafuwi, you can check the last diagram from the following article

  57. 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

  58. may i know all the component name that use in the circuit?

  59. 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

  60. 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.

  61. thx a lot swagatam majumdar
    can i know which software you are use to draw the circuit??

  62. You are welcome Tommy, I use CorelDraw for drawing my schematics..

  63. hi sir can i know the value for the R3 R4? for the bottom side

  64. 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

  65. why i only can get the DC voltage at the output??

  66. keep your meter in the AC 220V and check

  67. 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?

  68. 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.

  69. sir what is the function for IRF543? and the max voltage will get from IRF543 is 80V~100V ?

  70. 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

  71. R3 = 0.6 x 10 / 100 Battery AH (100 AH ) = 0.06 , what will be the actual resistor value
    0.06 = Resistor Value ?

  72. 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

  73. The unit is in Ohm...0.06 Ohm

  74. sir i get the 230Vac and f=179Hz how can i reduce the frequency? my transformer rating is 12-0-12 @50VA

  75. 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

  76. 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

  77. 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.

  78. sir can i know the function of Mosfet IRF543, IC7812 and IC4093 ?

  79. 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.

  80. 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

  81. 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

  82. 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?

  83. Hi tommy, for that you may have to replace the square inverter section with an SPWM inverter

  84. Hello sir , i want to know this circuit clearly can u explain for me clearly with circuit diagram in my mail

  85. Hello sreejith,
    It is already explained in the article, if you have any specific questions you can ask, I'll try to help!

  86. 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

  87. Thanks Ali,

    you can try the following simple inverter circuit

  88. 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

  89. 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

  90. hi!,sir can I use 15-0-15volt transmformer???

  91. Hi Oliver, for a 12V battery a 15V transformer might not work optimally, it might result in a low voltage output.

  92. thanks sir,,hope i can use 12-0-12volt transformer and how many pins has the ic4093 ?

  93. Oliver, you can use 12-0-12V transformer if your solar panel is rated at least 17V


Post a Comment