Patent ID: 8692624

Claim:
A method of tuning a microelectromechanical systems (MEMS) oscillator comprising an acoustic resonator and a tuning and amplification circuit arranged in a loop, the method comprising: determining an oscillation frequency of the oscillator; modifying a capacitance of the tuning and amplification circuit according to the oscillation frequency, wherein the modifying comprising: (a) incrementing the capacitance by a predetermined amount; (b) determining a difference between the oscillation frequency and a target frequency; and (c) upon determining that the difference is sufficiently large, repeating (a) and (b) until the difference is determined to be lower than a predetermined amount; adjusting a power level of the oscillator according to the modified capacitance; determining whether the oscillation frequency has reached a target frequency; upon determining that the oscillation frequency has not reached the target frequency, iteratively repeating the modifying and adjusting; and adjusting the power level of the oscillator by a predetermined amount each time the capacitance is incremented.