Patent ID: 7317362

Claim:
An oscillator circuit, comprising: a first oscillation part configured to output a first oscillation output by charging and discharging a first capacitor; and a second oscillation part configured to output a second oscillation output by charging and discharging a second capacitor, wherein the second oscillation part includes a phase difference detection part configured to detect a phase difference between the first oscillation output and the second oscillation output, and a charging current and discharge current control part configured to control a charging current and a discharge current of the second capacitor in accordance with the phase difference detected by the phase difference detection part so that the second oscillation output synchronizes with the first oscillation output; the phase difference detection part includes a phase difference comparator configured to output a signal corresponding to a phase difference between a charging and discharging timing signal of the first oscillation output and a charging and discharging timing signal of the second oscillation output; and a smoothing circuit configured to smooth an output signal of the phase difference comparator, and the charging current and discharge current control part controls the charging current and the discharge current of the second capacitor in accordance with an output of the smoothing circuit.