I am designing a buck switching converter, the project is for a class so please don't suggest a purpose-built controller IC. I am designing the controller using a type 3 compensation op-amp circuit and built the circuit in LTspice. The simulation behaved as expected however there was a very large overshoot on the converter output during startup. I tried tweaking as many parameters as I could while maintaining an acceptable gain and phase margin but could not get rid of the overshoot. I then thought of how the compensation circuit worked and thought I could add a small RC circuit to delay the reference voltage seen by the op-amp during startup. The small addition of the RC circuit delays the reference voltage very briefly as the capacitor charges up through the resistor during startup. Once the capacitor is charged, it behaves like an open circuit as if it is not there. This delay of the reference voltage prevents the op-amp compensator circuit from generating a large error during startup.
I have included screenshots of both circuits before and after adding the RC delay boxed in red on the second circuit. I also included pictures of the startup transients for both converters to show the difference.
My question is will adding this RC circuit to the reference voltage pin change the transfer function or stability of the circuit? Is there a possibility adding this could somehow cause the converter to enter an unstable state? It seems to operate just as expected but I want to convince myself this will not contribute to instability of the system.