My apologies for not updating the thread I am just very busy and trying to get it done. I am using a micro controller to generate the pwm, its an 8 bit pwm. I can incrase the duty cycle of the pwm signal 0.4t% at a time. So depending on the input voltage ill vary the pwm.