The present invention relates to a resonator structure, temperature
compensation method and temperature control apparatus for controlling
local temperature of a resonator structure. At least one heating element
(55) is integrated on a substrate of the resonator structure, and a
temperature control signal generated based on a stored temperature
characteristic is applied to the at least one integrated heating element
(55). Thereby, the at least one heating element (55) and an optional
integrated sensing element can be provided very close to the resonator.
It is thus possible to control or calibrate variations of sensing
elements, heating elements and resonator out from every sample.