PWM Control Strategy For Single Phase Inverter Using Arduino Microcontroller
PWM Control Strategy For Single Phase Inverter Using Arduino Microcontroller
Abstract – This paper presents the In this paper, new control strategy is
development of controller circuit for single phase proposed for the single phase inverter using the
inverter using Arduino microcontroller. Arduino Leonardo Microcontroller. In order to
Microcontroller is able to store the required generate the required PWM signals the coding is
commands to generate the necessary waveforms to done with the help of the Arduino programming
control the frequency of the inverter through proper
language. The pulses are given to the inverter
design of switching pulses. The PWM technique was
used to produce pure sinusoidal wave of voltage and switches and the required output voltage can be
current output. This inverter is designed to be either obtained. Here, experimental results are discussed
for stand-alone or for grid connected from a direct and briefly explained the method of producing the
supply of photovoltaic (PV) cells. In this paper PWM PWM signals with the help of this controller. In the
switching technique is first reviewed. The control following sections the control procedure is clearly
circuit consists of the Arduino controller and it is explained.
used to produce required PWM for triggering the
IGBTs. The driver circuit isolates the control circuit II. CONTROL PROCEDURE
from power circuit. The outputs for variable AC
voltages are observed in the CRO. Experimental
results with the Arduino program is discussed to The Fig 1 shows the hardware
show how the PWM signals are generated using development for controller circuit. The arrow
Arduino microcontroller and also the inverter output represents the flow of PWM signals from the
waveforms are shown. Arduino microcontroller to the single phase
Keywords – Arduino microcontroller, Pulse inverter circuit.
width modulation (PWM), Arduino programming
language, Insulated Gate Bipolar Transistors.
Arduino Microcontroller
I.INTRODUCTION (PWM )
A. INTRODUCTION TO IGBT
int pulse1=12;
int pulse2=13;
Void setup() {
// put your setup code here, to run once:
pinMode (pulse1,OUTPUT);
pinMode (pulse2,OUTPUT);
}
void loop() {
Fig 10 Single phase inverter topology
digitalWrite(pulse1,HIGH);
The load is connected between the digitalWrite(pulse2,LOW);
midpoints of the two phase legs. Each power delayMicroseconds(500);
control device has a diode connected in anti- digitalWrite(pulse1,LOW);
parallel to it. The diodes provide an alternative path digitalWrite(pulse2,HIGH);
for the load current if the power switches are turned delayMicroseconds(500);
OFF. For example, if lower IGBT in the ‘A’ phase }
leg is conducting and carrying current towards the Here the switching frequency is taken as
negative DC bus, this current would ‘commutate’ 1 KHz. Depending on our requirement the
into the diode across the upper IGBT of the ‘A’ switching frequency is varied and the output is
phase leg, if the lower IGBT is turned OFF. obtained. The experimental results obtained from
Control of the circuit is accomplished by varying the Arduino controller is discussed here. The fig
the turn on time of the upper and lower IGBT of gives the PWM signal which is obtained in the 12th
each inverter leg with the provision of never and 13th pin of the controller. Here the 12th and the
turning ON both at the same time, to avoid a short 13th pin are selected as the output pins (as per the
circuit of DC bus. program).
Fig 12 shows the experimental result of PWM
signal.
B. Future Work
At present this paper mainly
deals with the PWM signal production with the
help of the Arduino controller. This work will be
further continued to produce the SPWM signals. In
later stage this will be used to control the single
phase inverter circuit which is used in the
Fig 11 Switching strategy application of interfacing renewable energy sources
Figure 11 below show the switching with the Microgrid. This control circuit perform
strategy that is used in this research. The turn ON efficiently when it is used in the closed loop
and OFF switch 1 (S1) and switch 4 (S4) are operation.
Fig 12 PWM output signal
VII. Conclusion