The present application is based on, and claims priority from JP Application Serial Number 2020-165276, filed Sep. 30, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND

1. Technical Field

The present disclosure relates to a circuit device, an oscillator, and the like.

2. Related Art

JP-A-2007-67675 describes a temperature-compensated oscillation circuit including a temperature measurement unit that outputs a temperature measurement result as a digital signal, a counter that outputs a higher bit of the digital signal as an address value, a storage unit that outputs a correction value corresponding to the address value, and a capacitance array that adjusts an oscillation frequency by being set to a capacitance value corresponding to the correction value.

In JP-A-2007-67675, since the higher bit of the digital signal is used as the address value, the address value corresponds to a temperature point at a substantially constant temperature interval. That is, the correction value corresponding to the temperature point at the substantially constant temperature interval is stored in the storage unit, and temperature sensitivity in temperature characteristics of the oscillation frequency is not taken into consideration. Thus, there is a problem that utilization efficiency of a memory is lowered in a temperature range in which the temperature sensitivity is low, while accuracy of temperature compensation is lowered in a temperature range in which the temperature sensitivity is high.

SUMMARY

One aspect of the present disclosure relates to a circuit device including an oscillation circuit that generates an oscillation signal by using a vibrator, a frequency adjustment circuit that adjusts an oscillation frequency of the oscillation circuit based on frequency adjustment data, a temperature sensor circuit that outputs temperature data, an arithmetic operation circuit that outputs converted temperature data by performing, on the temperature data, conversion processing in which a slope of the converted temperature data with respect to the temperature data in a first temperature range is different from a slope of the converted temperature data with respect to the temperature data in a second temperature range, and a storage circuit that stores a lookup table representing a correspondence between the converted temperature data and the frequency adjustment data.

Another aspect of the present disclosure relates to an oscillator including the circuit device described above and the vibrator.

