My program applies a correction to a dc power supply by changing the duty cycle of pic pwm output.

detail is scant, lets start with
how often are these corrections applied and feedback samples taken ?
why are you thinking the free running, continuously available 128 sample averaged results are inadequate ?