The invention relates to an intelligent
ammeter clock calibration method aims at utilizing conventional resources of a
single chip microcomputer to realize wide-range high-precision error correction. The technical scheme includes: a, measuring
frequency deviation values of different temperature points, and simulating a temperature-
frequency deviation curve; b, determining a minimum correction value of coarse tuning, and utilizing a formula obtained in step a to calculate out
frequency deviation at current temperature as a compensation value; c, if the compensation value is smaller than the minimum correction value of the coarse tuning, executing step g, or executing step d; d, if M is 2, 3, 4 or 5, executing step e, or executing step f; e, using an internal pulse counter to perform
pulse counting to signals output by a
crystal oscillator, coarse tuning, and executing step g; f, performing frequency multiplication or frequency demultiplication to the signals output by the
crystal oscillator to obtain a
signal Ft; and g, arranging a controllable
capacitor array at an output end of the
crystal oscillator.