A tuning-fork crystal in a portable device does not spend the whole day at a single temperature. To estimate accumulated error, divide the temperature history into intervals and multiply the average frequency error in each interval by the time spent there. Use the selected crystal's data or board-level measurements to map temperature to frequency error.
| Two assumed time periods | Average frequency deviation | Accumulated time error for the interval |
|---|---|---|
| Daytime: 8 hours | −15 ppm | 28,800 × (−15/10⁶)=−0.432 s |
| Nighttime: 16 hours | −3 ppm | 57,600 × (−3/10⁶)≈−0.173 s |
The clock loses about 0.605 s over the entire day. A conservative estimate that assumes −15 ppm all day gives a loss of 1.296 s. The first estimate relies on how long the device spends in each condition. The second relies on the worst-case frequency error covering every operating condition. State the assumption used when comparing parts.
Measure temperature as close to the crystal as practical. Record chamber temperature, on-board heat sources, door openings, and when the temperature changes. The case temperature can lag during rapid changes, so chamber temperature alone can misalign temperature and frequency readings. If the accumulated error exceeds the system budget, compare a temperature-compensated RTC with periodic time synchronization, and estimate drift separately for intervals when synchronization is unavailable. Epson FC-135 tuning-fork crystal data
