Zero Crossing Detection Algorithm, This phase shift can be reduced using the interpolation method.