SPWM to control Full-bridge

hello, i'm trying to do a SPWM. (The method is basically comparing the Sinusoidal wave to a triangle wave to determine the output) for control a full bridge inverter http://www.intechopen.com/source/html/43396/media/image16_w.jpg I searched and I lerned that i have to use a driver to link PWM signals (Arduino) and Fullbridge , I already try to use driver IR2110. Someone did something similiar ? or Had some schematic for that? I made this code to create pwm signals:

float t, a;
double carrier, Uref, notref;


void setup()
{

  Serial.begin(19600);
  pinMode(10, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(11, OUTPUT);

}

void loop() {
  
  t = micros();

  Uref = sin(2 * PI * 50 * t);

  notref = -1 * sin(2 * PI * 50 * t);

  carrier = ((2 / PI) * asin(sin(2 * PI * 10000 * t)));

  if (Uref >= carrier) {

    digitalWrite(10, LOW);
    delayMicroseconds(100);
    digitalWrite(11, HIGH);
  } else {

    digitalWrite(11, LOW);
    delayMicroseconds(100);
    digitalWrite(10, HIGH);
  }

  //********************************************//
  if (notref >= carrier) {

    digitalWrite(3, LOW);
    delayMicroseconds(100);
    digitalWrite(9, HIGH);
  } else {
    digitalWrite(9, LOW);
    delayMicroseconds(100);
    digitalWrite(3, HIGH);
  }
}

ricperes:
or Had some schematic for that?

Have you looked at the IR2110 datasheet? About the first thing you see is the schematic
for typical application.

BTW for driving a bridge you can get all the drivers in one IC, such as the HIP4081A,
which might simplify things.

Above all read the datasheets, that's where the knowledge is!

MarkT:
Have you looked at the IR2110 datasheet? About the first thing you see is the schematic
for typical application.

BTW for driving a bridge you can get all the drivers in one IC, such as the HIP4081A,
which might simplify things.

Above all read the datasheets, that's where the knowledge is!

I will see this HIP4081A. So use this schematic for IR2110. Using the high-low side driver IR2110 - explanation and plenty of example circuits ~ Tahmid's blog

And the code , what seems to you?

1 Like

Can some one help me with full bridge sinosoid inverter code with tempereture sensor,lcd display voltmeter and welcome,low battery trigger buzzer,ac/DC voltage regulation and feed back, current sensor

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.