## CONVERT SINGLE PHASE INTO THREE PHASE

You can CONVERT SINGLE PHASE INTO THREE PHASE With IGBT Module FAIRCHILD Type -FSBB20CH60 and Arduino as given in following circuit diagram. (1) IGBT Module FAIRCHILD-FSBB20CH60 easily available in the market  (2)  Arduino is also available in the market  (3) you can use arduino code of three phase sine wave generator with this circuit.

Code is also self explanatory

// Three Phase Sine Wave PWM Generation by Mr.Adeeb Raza

// Programmed and TESTED OK by Mr. Adeeb Raza

// Basic Calculation as following

// Real Alternator Generate 3 Phase Supply, phase to phase 440 V AC 50 Hz

// Same 3 Phase Supply, phase to phase 440 V AC 50 Hz will produced with this

// Static Generator through this programming code with variation

// Frequency 50 Hz/Sec Or 1Hz = 1/50 Or 20 Mille Seconds or 360 degree = 20 mile sec

// 1 degree 20/360 = 0.05555 mille Second OR (1 mile Second = 18 Degree)

// Phase Angle difference 120 degree = 120/18 = 6.666 mille Second phase to phase

// Phase Angle Calculation in Radian where Pi=22/7 or 3.142 and one Radian=57.3

//*******************************************************************

#include <math.h>        // Math Library for mathmatical calculation

int Output1 = 9;              // Initialize arduino pin no. 9 as output for R Phase

int Output2 = 8;              // Initialize arduino pin no. 8 as output for Y Phase

int Output3 = 7;              // Initialize arduino pin no. 7 as output for B Phase

int potVal = 0;                 // Initialize Potentiometer 10K

float A = 0;                       // Analog 0 to 5V max = 0~255

float B = 0.104;

int Freq_IN = A0;             // Analog A0 voltage as Frequency variation Input

int var1 = 0;

int var2 = 0;

int var3 = 0;

int var4 = 0;

int var5 = 0;

int var6 = 0;

float PhaseR = 2 * PI / 3;        //  2*3.14/3 = 2.0952   (Sin120= 120/57.3= 2.094)

float PhaseY = 4 * PI / 3;        //   4*3.14/3 = 4.1904   (Sin240= 240/57.3= 4.188)

float PhaseB = 2 * PI;              //   2*3.14 = 6.2857       (Sin360= 360/57.3= 6.282)

//boolean toggle = true;        // Serial Plotter Output

void setup()

{

Serial.begin(9600);                          // Serial Monitor

pinMode(Output1, OUTPUT);      // R-Phase Output at Pin No.9

pinMode(Output2, OUTPUT);      // Y-Phase Output at Pin No.8

pinMode(Output3, OUTPUT);      // B-Phase Output at Pin No.7

pinMode(Freq_IN, INPUT);

}

void loop()

{

A += B;

analogWrite(Output1, var1);           // Variable  Output1  R Phase

analogWrite(Output2, var2);                  // Variable  Output2  Y Phase

analogWrite(Output3, var3);                  // Variable  Output3  B Phase

//  if (toggle == true)                                   // Serial Plotter Output

{

Serial.print(var1);               // See Vlue on Serial Monitor  or Check Wave Form on Serial Plotter

Serial.print(” “);                  // See Vlue

Serial.print(var2);               // See Vlue on Serial Monitor  or Check Wave Form on Serial Plotter

Serial.print(” “);                  // See Vlue

Serial.println(var3);           // See Vlue on Serial Monitor  or Check Wave Form on Serial Plotter in step

}

var4 = 126 * sin(A + PhaseR);                    // (0-253) Variable Voltage at R Phase

var1 = var4 + 128;

var5 = 126 * sin(A + PhaseY);                     // (0-253) Variable Voltage at Y Phase

var2 = var5 + 128;

var6 = 126 * sin(A + PhaseB);                     // (0-253) Variable Voltage at B Phase

var3 = var6 + 128;

if (A >= 2 * PI)                                                 // One Circle from 0 to 360

{

A = 0;                                                              // One Circle after 360 again start from 0

}

potVal = analogRead(Freq_IN);                   // Voltage variation PWM

delay(potVal);

}

//End Code

Thanks 