Low-Frequency Clock Calibration Using Multi-Sample Frequency Averaging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current low frequency clock calibration methods in mobile terminals are time-consuming and prone to errors, leading to increased power consumption and potential network signal failures due to frequency deviations caused by temperature changes.
Innovation Solution
A method and apparatus that calculate the average frequency of low frequency clocks over multiple calibrations and compare it to the current frequency to determine if the difference is within a preset threshold, allowing for accurate calculation of sleep cycles and preventing network signal failures by ensuring frequency deviations do not exceed the maximum allowed by the system.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If low frequency clock calibration is performed using traditional methods, then frequency accuracy is improved, but calibration time increases and power consumption increases
Solution Approach 1:
The patent applies preliminary action by performing multiple clock calibrations before the actual sleep-wakeup operation. Specifically, it conducts at least two calibrations to obtain frequency deviation data in advance, then uses this pre-collected data to determine the sleep cycle count. This preliminary calibration process eliminates the need for time-consuming calibration during the actual sleep-wakeup sequence, thereby reducing calibration time while maintaining frequency accuracy.
2Measurement precision
If low frequency clock calibration is performed using traditional methods, then frequency accuracy is improved, but power consumption increases
Solution Approach 1:
The patent reduces power consumption by performing clock calibration in advance during active states rather than during sleep-wakeup transitions. By completing at least two calibrations beforehand and storing the frequency deviation data, the system avoids activating power-intensive calibration circuits during sleep mode operations, thereby reducing overall power consumption while maintaining frequency accuracy.
Solution Approach 2:
The system uses self-service by leveraging the previously collected frequency deviation data to automatically determine sleep cycle counts without requiring additional calibration operations. The stored calibration results serve the system repeatedly, eliminating the need for repeated power-consuming calibration processes and enabling the system to serve itself using pre-acquired information.
3Measurement precision
If calibration time is prolonged to reduce errors, then measurement precision is improved, but productivity decreases
Solution Approach 1:
The patent resolves this contradiction by performing thorough calibration operations in advance during system initialization or active periods. By completing multiple calibrations beforehand and storing the results, the system achieves high measurement precision without delaying subsequent operations. The pre-collected data enables rapid determination of sleep cycle counts, thereby maintaining high system responsiveness and productivity.
Data Source
AI summary
A method and an apparatus for calibrating a low frequency clock are disclosed. The method includes: calculating a frequency of a low frequency clock in a current low frequency clock calibration; and calculating an average value of low frequency clock frequencies in n clock calibrations before the current calibration, where n is greater than 1 and is an integer; judging whether a difference between the frequency of the low frequency clock in the current low frequency clock calibration and the average value is smaller than a preset threshold for the difference; and if the difference between the frequency of the low frequency clock in the current low frequency clock calibration and the average value is smaller than the preset threshold for the difference, calculating the number of sleep cycles according to the calculated and obtained frequency of the low frequency clock in the current low frequency clock calibration.


