If I use the actual frequency for a ramp signal to calculate phase, I get the correct phase. But if I use the estimated frequency (which has fluctuations) for phase calculation, I get phase fluctuation. Is there any scheme of reducing frequency fluctuation for a ramp signal?