Error analysis of frequency estimation algorithm based on frequency offset correction