Method able to eliminate frequency error of digital controlled oscillator and phase accumulator

The invention is applicable to WCDMA and CDMA2000 system. The method includes following steps: (1) using phase accumulator accumulates input frequency control words; based on value in low two bits of frequency control word, one time of modification carries out for accumulated phases of each three points or for the said frequency control word so as to obtain digital phase corresponding to each clock cycle; (2) the said digital phase is processed by a function processor so as to obtain relevant sinusoid, cosine signals. Using automatic timed compensation for accumulated phase of digital controlled oscillator or frequency control words through the disclosed method and accumulator can eliminate frequency error of digital controlled oscillator effectively so as to prevent cumulation of NCO phase error caused by frequency error.