Method and apparatus for compensating for frequency drift in a low frequency sleep clock within a mobile station operating in a slotted paging mode
First Claim
1. A method for tracking the length of a sleep period within a mobile station using a sleep clock, said method comprising the steps of:
- initiating a sleep period subdivided into a sequence of sub-periods each of known duration wherein the durations of the sub-periods are not necessarily integer multiples of cycles of the sleep clock;
tracking the elapsed time within each individual sub-period of the sleep period using an integer sleep counter which tracks whole cycles of the sleep clock; and
tracking any remaining fractional portions of the cycles of the sleep mode clock not accounted for by the integer sleep counter using a fractional sleep counter, said fractional sleep counter accumulating remaining fractional portions of sleep mode cycles from one sub-period to the next.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus is described for tracking the length of a sleep period within a mobile station using a sleep clock to precisely calibrate portions of the sleep period. The sleep period subdivided into a sequence of sub-periods each of known duration wherein the durations of the sub-periods are not necessarily integer multiples of cycles of the sleep clock. Elapsed time is tracked within each individual sub-period of the sleep period using an integer sleep counter which tracks whole cycles of the sleep clock. Then any remaining fractional portions of the cycles of the sleep mode clock not accounted for by the integer sleep counter are tracked using a fractional sleep counter. The fractional sleep counter accumulates remaining fractional portions of sleep mode cycles from one sub-period to the next. A method and apparatus is also described for estimating frequency drift with a sleep clock signal used during a slotted paging mode of operation of a wireless mobile station. An initial frequency of the sleep clock signal is determined following power-up of the mobile station. A fixed frequency drift compensation factor representative of a difference between the initial frequency of the sleep clock signal and a predetermined nominal frequency is then determined. A dynamic frequency error compensation factor representative of a difference between the initial frequency and a current frequency of the slow clock signal is estimated. Then, throughout the slotted mode of operation, new values for the dynamic frequency compensation factor are iteratively determined by using a loop filter.
93 Citations
45 Claims
-
1. A method for tracking the length of a sleep period within a mobile station using a sleep clock, said method comprising the steps of:
-
initiating a sleep period subdivided into a sequence of sub-periods each of known duration wherein the durations of the sub-periods are not necessarily integer multiples of cycles of the sleep clock;
tracking the elapsed time within each individual sub-period of the sleep period using an integer sleep counter which tracks whole cycles of the sleep clock; and
tracking any remaining fractional portions of the cycles of the sleep mode clock not accounted for by the integer sleep counter using a fractional sleep counter, said fractional sleep counter accumulating remaining fractional portions of sleep mode cycles from one sub-period to the next. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
a current value of the integer sleep counter is increased by an integer portion of the number of cycles of the sleep clock determined to correspond to the known duration of the respective sub-period such that the integer counter tracks the approximate duration of the respective sub-period; and
a current value of the fractional sleep counter is increased by a fractional portion of the number of cycles of the sleep clock determined to correspond to the known duration of the respective sub-sleep period such that fractional portions of the respective sub-period are accumulated along with previous fractional portions from previous sub-periods, if any.
-
-
6. The method of claim 2 wherein a number of cycles of the sleep clock corresponding to a predetermined amount of frequency drift occurring within each sub-period period is determined and wherein for each respective sub-period:
-
a current value of the integer sleep counter is adjusted by an integer portion of the number of cycles of the sleep clock determined to correspond to the predetermined frequency drift occurring within the respective sub-period such that the integer counter compensates approximately for the frequency drift; and
a current value of the fractional sleep counter is adjusted by a fractional portion of the number of cycles of the sleep clock determined to correspond to the predetermined frequency drift occurring within the respective sub-period such that fractional portions of the frequency drift for the respective sub-period are accumulated along with previous fractional portions from previous sub-periods, if any.
-
-
7. The method of claim 4 further including the step of determining, prior to the initiation of the sleep period, an amount of frequency drift expected in the sleep clock for each sub-period of the sleep period.
-
8. The method of claim 2 wherein, whenever the fractional sleep counter overflows:
-
a current value of the integer sleep counter is increased by an integer overflow portion of the fractional sleep counter such that the integer counter accounts for the overflow; and
a current value of the fractional sleep counter is reset to equal only the remaining fractional portion, if any, of the previous fractional sleep counter value such that the fractional sleep counter continues to track any remaining fractional portions of cycles of the sleep mode clock.
-
-
9. The method of claim 2 wherein a first sub-period begins some time following the beginning of the sleep period and wherein at the beginning of a second sub-period the fractional sleep counter is decreased by an amount necessary to compensate for the time period between the beginning of the sleep period and the beginning of the first sub-period.
-
10. The method of claim 9 wherein, whenever the fractional sleep counter is below zero:
-
a current value of the integer sleep counter is reduced by one; and
a current value of the fractional sleep counter is increased by one.
-
-
11. The method of claim 2 wherein, during each respective sub-period of the sleep period:
a current value of the integer sleep counter is reduced by an integer portion of a predetermined wakeup period duration value such that the integer sleep counter expires before the end of each sub-period to leave sufficient time to permit components of the mobile station to be powered up by the end of the sub-period.
-
12. The method of claim 2 wherein, following a final sub-period, a transition mode clock counter having a frequency substantially greater than that of the sleep clock is activated to track any remaining time represented by the fractional sleep counter such that any remaining portions of the sleep period are tracked.
-
13. The method of claim 12 wherein a first sub-period begins some time following the beginning of the sleep period and wherein, if the first sub-period of the sleep period is also the final sub-period, the fractional sleep counter is decreased by an amount necessary to compensate for the time period between the beginning of the sleep period and the beginning of the first sub-period prior to activation of the transition mode clock.
-
14. A device for tracking the length of a sleep period within a mobile station using a sleep clock, said device comprising:
-
means for initiating a sleep period subdivided into a sequence of sub-periods each of known duration wherein the durations of the sub-periods are not necessarily integer multiples of cycles of the sleep clock;
means for tracking the elapsed time within each individual sub-period of the sleep period using an integer sleep counter which tracks whole cycles of the sleep clock; and
means for tracking any remaining fractional portions of the cycles of the sleep mode clock not accounted for by the integer sleep counter using a fractional sleep counter, said fractional sleep counter accumulating fractional portions of sleep mode cycles from one sub-period to the next. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
means for determining a number of cycles of the sleep clock corresponding to the known duration of each sub-sleep period; - and
means, operative during each respective sub-period, for increasing a current value of the integer sleep counter by an integer portion of the number of cycles of the sleep clock determined to correspond to the known duration of the respective sub-period such that the integer counter approximately tracks the duration of the respective sub-period; and
increasing a current value of the fractional sleep counter is by a fractional portion of the number of cycles of the sleep clock determined to correspond to the known duration of the respective sub-period such that fractional portions of the respective sub-period are accumulated along with fractional portions from previous sub-periods, if any.
-
-
19. The device of claim 15 further including
means for determining a number of cycles of the sleep clock corresponding to a predetermined amount of frequency drift occurring within each sub-period period; - and
means, operative during each respective sub-period, for adjusting a current value of the integer sleep counter by an integer portion of the number of cycles of the sleep clock determined to correspond to the predetermined frequency drift occurring within the respective sub-period such that the integer counter compensates approximately for the frequency drift; and
adjusting a current value of the fractional sleep counter by a fractional portion of the number of cycles of the sleep clock determined to correspond to the predetermined frequency drift occurring within the respective sub-period such that fractional portions of the frequency drift value are accumulated along with fractional portions from previous sub-periods, if any.
- and
-
20. The device of claim 19 further including means for determining a frequency drift value for the sleep clock prior to the initiation of the sleep period.
-
21. The device of claim 15 further including means, operative whenever the fractional sleep counter overflows, for
increasing a current value of the integer sleep counter by an integer overflow portion of the fractional sleep counter such that the integer counter accounts for the overflow; - and
resetting a current value of the fractional sleep counter to equal only the remaining fractional portion, if any, of the previous frequency sleep counter value such that the fractional sleep counter continues to track any remaining fractional portions of cycles of the sleep mode clock.
- and
-
22. The device of claim 15 wherein the means for initiating the sleep period operates to initiate a first sub-period some time following the beginning of the sleep period and wherein the device further includes means, operative during a second sub-period of the sleep period, for increasing the fractional sleep counter by an amount necessary to compensate for the time period between the beginning of the sleep period and the beginning of the first sub-period.
-
23. The device of claim 22 further including means, operative whenever the fractional sleep counter is less than zero, for
decreasing a current value of the integer sleep counter by one; - and
increasing a current value of the fractional sleep counter by one.
- and
-
24. The device of claim 15 further including means, operative during each respective sub-period of the sleep period, for
decreasing a current value of the integer sleep counter by an integer portion of a predetermined wakeup period duration value such that the integer sleep counter expires before the end of each sub-period to leave sufficient time to permit components of the mobile station to be powered up by the end of the sub-period. -
25. The device of claim 15 further including means, operative following a final sub-period, for activating a transition mode clock counter having a frequency substantially greater than that of the sleep clock to track any remaining time represented by the fractional sleep counter such that any remaining fractional portions of the sleep period are tracked.
-
26. The device of claim 25 wherein the means for initiating the sleep period operates to initiate a first sub-period some time following the beginning of the sleep period and wherein the device further includes means, operative if the first sub-period of the sleep period is also the final sub-period, for increasing the fractional sleep counter by an amount necessary to compensate for the time period between the beginning of the sleep period and the beginning of the first sub-period prior to activation of the transition mode clock.
-
27. A device for tracking the length of a sleep period within a mobile station using a sleep clock, said device comprising:
-
a sleep mode activation unit for initiating a sleep period subdivided into a sequence of sub-periods each of known duration wherein the durations of the sub-periods are not necessarily integer multiples of cycles of the sleep clock;
an integer sleep counter for tracking the elapsed time within each individual sub-period of the sleep period, said integer sleep counter tracking whole cycles of the sleep clock; and
a fractional sleep counter for tracking any remaining fractional portions of the cycles of the sleep mode clock not accounted for by the integer sleep counter, said fractional sleep counter accumulating fractional portions of sleep mode cycles from one sub-period to the next.
-
-
28. A method for compensating for frequency drift with in a sleep clock signal used during a slotted paging mode of operation of a wireless mobile station, said mobile station in periodic communication with a base station providing timing signals, said method comprising the steps of:
-
determining an initial frequency of the sleep clock signal following power-up of the mobile station;
determining a fixed frequency drift compensation factor representative of a difference between the initial frequency of the sleep clock signal and a pre-determined nominal frequency;
estimating a dynamic frequency error compensation factor representative of a difference between the initial frequency and a current frequency of the sleepclock signal; and
iteratively updating the dynamic frequency error compensation factor during the slotted mode of operation by determining an amount of timing slew between the mobile station and the base station, and then determining new values for the dynamic frequency compensation factor by applying a value representative of the amount of the slew to a feedback loop configured to provide a new dynamic frequency error compensation factor having a value selected to achieve a subsequent reduction in slew. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
-
-
33. The method of claim 28 wherein the feedback loop includes a loop filter represented by:
-
34. The method of claim 28 wherein the order of the loop filter is selected based upon a degree of uncertainty in the frequency of the sleep clock signal.
-
35. The method of claim 34 wherein the frequency of the sleep clock signal is constant and wherein a first order loop in employed.
-
36. The method of claim 34 wherein an uncertainty in the sleep clock signal is represented by a parabolic function and wherein the loop is at least a second order loop.
-
37. The method of claim 28 wherein the wireless mobile station is configured to operate in both the slotted paging mode and within an AMPS mode and wherein a frequency error estimation circuit is employed to estimate a new value for the dynamic frequency error compensation factor subsequent to each transition from the AMPS mode to the slotted paging mode.
-
38. The method of claim 28 wherein the slew is determined by periodically receiving timing signals from the base station and comparing the timing signal from the base station with timing signal generated within the mobile station.
-
39. A device for compensating for frequency drift within a sleep clock signal used during a slotted paging mode of operation of a wireless mobile station, said mobile station in periodic communication with a base station providing timing signals, said device comprising:
-
means for determining an initial frequency of the sleep clock signal following power-up of the mobile station;
means for determining a fixed frequency drift compensation factor representative of a difference between the initial frequency of the sleep clock signal and a pre-determined nominal frequency;
means for estimating a dynamic frequency error compensation factor representative of a difference between the initial frequency and a current frequency of the sleep clock signal; and
means, operative during the slotted mode of operation, for iteratively updating the dynamic frequency error compensation factor by determining an amount of timing slew between the mobile station and the base station, and then determining new values for the dynamic frequency compensation factor by applying a value representative of the amount of the slew to a feedback loop configured to provide a new dynamic frequency error compensation factor having a value selected to achieve a subsequent reduction in slew. - View Dependent Claims (40, 41, 42, 43, 44)
-
-
44. The device of claim 39 wherein the loop filter is represented by:
-
{acute over (a)}1=2æ
.{square root over ({acute over (a)})}2+{acute over (a)}2/2where,
-
-
45. A device for compensating for frequency drift within a sleep clock signal used during a slotted paging mode of operation of a wireless mobile station, said mobile station in periodic communication with a base station providing timing signals, said device comprising:
-
an initial frequency determination unit;
a fixed frequency drift compensation factor determination unit;
a dynamic frequency error compensation factor determination unit; and
a feed back unit, operative during the slotted mode of operation, for iteratively updating the dynamic frequency error compensation factor by determining an amount of timing slew between the mobile station and the base station, and then determining new values for the dynamic frequency compensation factor by applying a value representative of the amount of the slew to a feedback loop configured to provide a new dynamic frequency error compensation factor having a value selected to achieve a subsequent reduction in slew.
-
Specification