- This topic has 0 replies, 1 voice, and was last updated 13 years, 7 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › pwm based inverter
i am using pic18f4431 for generating four pwm in complement mode having 50% dutycycle,but I want to pwm with 50khz frequency and vary dutycycle with sinewave pattern,so that these four pwm are fed into four msfets
using h bridge to generate ac voltage at the output.i want 50 hz pure sine wave at the output.for that i want to fed two pwm from left side of h-bridge to mosfets,and 50 hz square wave to right side if h-bridge.but how to generate varible duty cycle with pwm which vary according to sinewave.so that pwm act as modulating signal and squarewave act as carrier signal to generate the desired output.if any one know how to write code for varying dutycycle pwm code for sine wave inverter in pic18f4431.Please help me.
Thankyou, Nishant