enter image description here I'm making an inverter with 100 Watt power, 220 volt output voltage. The input voltage source of the inverter is from solar panels with a maximum voltage of 18 volts and a maximum current of 5.56 Amperes.

  • This inverter circuit consists of a 150 Watt boost converter to increase the DC voltage of the solar panel to 24 Volts.
  • Then the inverter circuit uses the P-channel IRF9540 and N-channel IRF540 mosfets, 4N35 mosfet drivers and BD139 transistors to amplify the frequency.
  • To generate signals I use the Arduino SPWM program.
  • The 24 VAC voltage will be raised to 220 volts with a 5A transformer and a 12-12 Volt voltage tap. The load for this inverter is the lamp and charger.

Before I connect directly to the solar panel. I first tested my circuit with a 16 Volt battery source, when I connected my circuit to the battery, sparks came out so that the input voltage decreased. Then I test by removing the Arduino pin from the circuit and still sparks come out. Is there something wrong with my circuit and what are the suggestions for this series? Is my circuit experiencing a short circuit? Thank you

  • \$\begingroup\$ sparks come out on the input section of the inverter when connected to the source @jsotola \$\endgroup\$ Jun 16, 2020 at 7:27
  • \$\begingroup\$ sparks usually happen when there is a bad connection or when you connect or disconnect a wire while a circuit is drawing a fairly large current .... were you manipulating wires when the sparks flew? \$\endgroup\$
    – jsotola
    Jun 16, 2020 at 7:41
  • \$\begingroup\$ Welcome to EE.SE! Please define "the power supply sparks out". Where exactly? Did anything break? Is it inrush current due to large electrolytic capacitors on your boost converter? \$\endgroup\$
    – winny
    Jun 16, 2020 at 7:48
  • 1
    \$\begingroup\$ sparks come out on the input of the inverter when connected to the source. I don't know about boost converter because I already bought boost converter module on the internet @winny \$\endgroup\$ Jun 16, 2020 at 9:26
  • 1
    \$\begingroup\$ \$18V \times 5A = 90W\$ You'll never get 100 watts out of your inverter. \$\endgroup\$
    – JRE
    Jun 16, 2020 at 10:01

1 Answer 1


This inverter circuit consists of a 150 Watt boost converter to increase the DC voltage of the solar panel to 24 Volts.

enter image description here

From what I can see, with a 24 volts DC supply, Q3 and Q4 will see about 24 volts on their gates with respect to ground. This is significantly beyond the stated absolute maximum rating in the data sheet extract above.

I'm not ruling out other things (should those MOSFETs survive the first few seconds) such as: -

  • MOSFET Shoot-through due to both MOSFETs on one side of the bridge simultaneously conducting as the (slow) gate drive switches.
  • 1N4004 reverse recovery shoot-through (circa 30 us potentially)
  • \$\begingroup\$ What does it mean that the 24 volt input voltage is greater than the Vgs MOSFET IRF540 rating in the datasheet? \$\endgroup\$ Jun 16, 2020 at 9:39
  • \$\begingroup\$ It means that the N channel IRF540 transistors will likely be damaged and go short circuit (normally). \$\endgroup\$
    – Andy aka
    Jun 16, 2020 at 9:40
  • 1
    \$\begingroup\$ Not really because you have reached the limit for most MOSFETs at 20 volts. Your basic circuit is weak in that as the MOSFETs switch (change over) you will have a high conductance path where both MOSFETs are on for a short period in each half of the H bridge. If you were trying to power a device of a few watts then this can be remedied or lived with but not when the load is 150 watts. You need proper MOSFET driver chips for 150 watts that have anti-shoot-through features and also protect the gate from receiving excessive voltage. \$\endgroup\$
    – Andy aka
    Jun 16, 2020 at 9:49
  • 1
    \$\begingroup\$ @NurAqmarina That's not at all what Andy said. I'm staring to beleve this project is above your head. Can you try to reduce the complexity and design and test just one thing at the time? \$\endgroup\$
    – winny
    Jun 16, 2020 at 10:04
  • 1
    \$\begingroup\$ @NurAqmarina you need a proper MOSFET driver with anti-shoot-through protection and not an opto. \$\endgroup\$
    – Andy aka
    Jun 16, 2020 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.