Compensating for non-linear characteristics of the controlled oscillator