| CPC B06B 1/0215 (2013.01) [B06B 1/045 (2013.01); G06F 3/016 (2013.01); H02N 2/14 (2013.01); H02P 25/032 (2016.02)] | 8 Claims |

|
1. An electronic device for operating a resonator element at a resonance frequency, the electronic device comprising:
a control unit configured to control driving of the resonator element connected to an output terminal of an amplifier unit in a manner in which a drive signal is acquired according to a first clock signal and input to the amplifier unit;
a phase difference detection unit configured to detect a phase difference between a voltage and a current at the output terminal of the amplifier unit; and
a frequency variation unit configured to vary a frequency of the first clock signal based on the phase difference detected by the phase difference detection unit, to converge an operating frequency of the resonator element to the resonance frequency,
wherein the frequency variation unit comprises a mux, an accumulator, a counter, and a flip-flop, and
wherein a state transition of the first clock signal occurs as the accumulator and counter operate according to a second clock signal, the mux outputs a first value or a second value according to a value of the phase difference, the accumulator accumulates the output value of the mux to a default value preset as an initial value and outputs the accumulated value, the counter outputs a count value according to the second clock signal, and the flip-flop operates to toggle when the output value of the accumulator and the output value of the counter are equal.
|