• 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 / IR2111 H-Bridge Inverter Circuit with Soft Start

DIY Circuits | Learn Basics | Arduino Coding




IR2111 H-Bridge Inverter Circuit with Soft Start

Last Updated on September 14, 2025 by Swagatam 2 Comments

Here we see this circuit diagram which is full H-Bridge using 4 power MOSFETs and 2 IR2111 high side driver ICs.

That means this circuit is for making full bridge inverter which converts DC into AC.

Power Supply Part

We have +600V DC at top rail, written as +600V max.

And ground (0V) at bottom.

Then load is connected between middle points of the bridge.

IR2111 Driver ICs

Each IR2111 has two important outputs:

HO (High Side Output)

LO (Low Side Output)

HO is used to drive upper MOSFET in each half bridge.

LO is used to drive lower MOSFET in each half bridge.

We apply +12V to Vcc pin of IR2111 for its internal power.

Also BA159 diode is used to charge bootstrap capacitor, because high side MOSFET needs voltage higher than +600V to turn fully ON.

So BA159 + 10uF bootstrap capacitor charges when low side is ON, then gives proper voltage to high side driver.

Arduino Code

// By Swagatam - Full Bridge Sine Wave Inverter Code with Soft Start Feature

const int pin1 = 8;
const int pin2 = 9;

const int softStartSteps = 100;   // Number of steps in soft start
const int softStartDelayIncrement = 20; // Microseconds increment per step

void setup() {
    pinMode(pin1, OUTPUT);
    pinMode(pin2, OUTPUT);
    
    delay(3000); // Booting delay (wait for 3 seconds before starting)
}

void loop() {
    // Perform soft start gradually
    for (int step = 0; step < softStartSteps; step++) {
        int delayAdjust = step * softStartDelayIncrement;

        runCycle(delayAdjust);
    }

    // After soft start, run normal cycle indefinitely
    while (true) {
        runCycle(softStartSteps * softStartDelayIncrement);
    }
}

// Function to run one inverter cycle with given delay adjustment
void runCycle(int delayAdjust) {
    // First pin (pin1) switching pattern
    digitalWrite(pin1, HIGH);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, HIGH);
    delayMicroseconds(750 + delayAdjust);
    digitalWrite(pin1, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, HIGH);
    delayMicroseconds(1250 + delayAdjust);
    digitalWrite(pin1, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, HIGH);
    delayMicroseconds(2000 + delayAdjust);
    digitalWrite(pin1, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, HIGH);
    delayMicroseconds(1250 + delayAdjust);
    digitalWrite(pin1, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, HIGH);
    delayMicroseconds(750 + delayAdjust);
    digitalWrite(pin1, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, HIGH);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin1, LOW);

    // Second pin (pin2) switching pattern
    digitalWrite(pin2, HIGH);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, HIGH);
    delayMicroseconds(750 + delayAdjust);
    digitalWrite(pin2, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, HIGH);
    delayMicroseconds(1250 + delayAdjust);
    digitalWrite(pin2, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, HIGH);
    delayMicroseconds(2000 + delayAdjust);
    digitalWrite(pin2, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, HIGH);
    delayMicroseconds(1250 + delayAdjust);
    digitalWrite(pin2, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, HIGH);
    delayMicroseconds(750 + delayAdjust);
    digitalWrite(pin2, LOW);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, HIGH);
    delayMicroseconds(500 + delayAdjust);
    digitalWrite(pin2, LOW);
}

Arduino Control Signals

You need to connect Arduino PWM pins as following:

PWM#1 from Arduino pin#8 goes to IN pin of left IR2111 (first half bridge).

PWM#2 from Arduino pin#9 goes to IN pin of right IR2111 (second half bridge).

Arduino generates SPWM (sinusoidal pulse width modulation) signals in sequence.

Since soft start is important, Arduino first gives small duty cycle, then gradually increases it step by step over time.

That way no big inrush current happens suddenly.

How MOSFET Switching Happens

Let us say Arduino sends HIGH on PWM#1 and LOW on PWM#2:

Then left IR2111 will turn ON its HO and LO in sequence.

That makes upper-left and lower-right MOSFET conduct.

So current flows through load in one direction.

When Arduino gives LOW on PWM#1 and HIGH on PWM#2:

Then upper-right and lower-left MOSFET conduct.

That makes current flow in opposite direction through load.

So AC waveform is formed over time by alternating direction of current.

Why Bootstrap Capacitor and BA159 Diode is Needed

We must know that high side MOSFET gate needs voltage higher than Vcc to fully turn ON.

So BA159 diode plus bootstrap capacitor stores charge when low side is ON,

Then supplies high voltage during high side ON period.

Without this, high side MOSFET would not switch properly.

Soft Start Feature Importance

When Arduino starts operation, we start with very small PWM duty cycle.

Then step by step we increase duty cycle slowly.

That way load does not get sudden power shock, and no big current surge occurs.

Soft start protects the components and makes inverter start smoothly.

You'll also like:

  • inverter2Convert Audio Amplifier into Pure Sinewave Inverter
  • SYNCEDINVERTERSynchronized 4kva Stackable Inverter
  • Maintenance Tips for Lead Acid Battery
  • GTI with SCRsGrid-tie Inverter (GTI) Circuit Using SCR

Filed Under: Inverter Circuits Tagged With: Bridge, Inverter, IR2111, Soft, Start

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: « How To Use Triac For AC Power Control
Next Post: Understanding Bipolar Junction Transistors (BJTs) »

Reader Interactions

Comments

Mazloumi says:
September 30, 2025 at 9:53 pm

Hello Mr. Swagatam
if the frequency is between 1 and 60 Hz, are any changes necessary in Circuit H?

Reply
Swagatam says:
October 1, 2025 at 7:40 am

Hello Mazloumi,
No changes will be required in the circuit, because the circuit is not dependent on frequency, just make sure the frequency polarity alternates across the two PWM inputs, they should never be same at any instant…

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (133)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (87)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (37)
  • Wireless Circuits (31)





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 7 Simple Continuity Tester Circuits Explained
  • Swagatam on Echo Effect Generator Circuit
  • Swagatam on Making a Cell Phone Controlled Remote Bell Circuit
  • Swagatam on Ultrasonic Fuel Level Indicator Circuit
  • Keir Vaughan-Taylor on 7 Simple Continuity Tester Circuits Explained

© 2026 · Swagatam Innovations