A compensation method about on- chip CMOS oscillator was proposed to solve frequency deviation problem across the temperature and process variation. A reference voltage generated a NTAT current on resistor with positive temperature coefficient,which was compensated with PTAT current from band gap reference cell. By temperature compensation, the current with low tem-perature coefficient was used to charge capacity. Digital trimming capacitor circuit was designed to reduce the output frequency drift due to pr...