I am now designing a dc to ac buck converter . There is a comparator in a voltage loop. I am now getting a severe phase delay when I tried to sense the output voltage and do the subtraction with Vref.
Is it possible that the delay is mainly contributed by the comparator?
If you are talking about hysteretic PWM mode, then the main delay is caused by the LC output circuit.
The comparator won't make a big contribution normally.