DsPIC33F microcontroller based pure sine wave inverter, Hi Everyone, I hope you are doing great power electronics projects and learning about inverters by making innovative electrical and embedded systems projects. Today I have designed a single phase pure sine wave inverter using dspic33fj12GP202 16 bit microcontroller. The reason I have decided to design single phase sine wave inverter with dspic33fj12GP202 microcontroller due to its high speed and high performance digital signal processing capability. I have already posted single phase pure sine wave inverter using pic microcontroller and single phase pure sine wave inverter using Arduino. But in this project I have dspic33fj12GP202 microcontroller.
working of DsPIC33F microcontroller based pure sine wave invetrer
In this project, Sinusoidal pulse width modulation technique is used to generate pure sine wave from pure dc voltage. There are two ways to generate SPWM signals. One using analog electronics and another one using digital electronics like FPGA’s and microcontrollers. In this project, dspic33fj12GP202 microcontroller is used to generate sinusoidal pulse width modulation. I have already posted a article on sinusoidal pulse with modulation generation using dspic microcontroller. you should also check. These SPWM signals are feed to H bridge using MOSFET’s or IGBT’s. single phase H bridge is designed using MOSFET and IR2112 MOSFET driver. you can also use isolated MOSFET driver TLP250 instead of IR2112 MOSFET driver. LC filter is used at the output of H bridge to eliminate High frequency signals and to get pure sine wave from pulsating output of H bridge.
As shown in diagram above, I have generated 4 signals from dspic33fj12GP202 microcontroller two SPWM signals and two square waves of 50HZ. Both SPWM signals are inversion of each other and similarly both square waves are inversion of each other. Inversion has been done to achieve both positive and negative half cycle of sine wave as show below.
Main components of project
QTY PART-REFS VALUE CODE --- --------- ----- ---- Resistors --------- 1 R1 4.7k 1 R2 330R 1 R3 10R 4 R7-R10 10 Capacitors ---------- 3 C1,C8,C10 100nF 1 C2 6.8uF 2 C7,C9 22uf 1 C11 10uF Integrated Circuits ------------------- 1 U1 DSPIC33FJ12GP202 2 U5,U6 IR2112 Transistors ----------- 4 Q1-Q4 IRF540 Diodes ------ 2 D7,D10 1N4007 Miscellaneous ------------- 1 TR1 step up transformer 12V/220V
Circuit diagram of DsPIC33F microcontroller based pure sine wave inverter
Circuit diagram of dspic33fj12GP202 microcontroller based single phase pure sine wave inverter is given below:
Proteus simulation of dspic33fj12GP202 based pure sine wave inverter
Check the video give below to check output of inverter.
Source code of dspic33f microcontroller based pure sine wave inverter
The source code and hex file for this project is not free of cost. Contact us to purchase source code