Method and device for adjusting timing error in mobile device
By measuring and adjusting the frequency drift caused by temperature changes of the crystal oscillator, the problem of timing errors in the GNSS system is solved, achieving fast and accurate positioning and power consumption savings.
Patent Information
- Application Number
- CN202180016192.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-02-27
- Filing Date
- 2021-02-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-02-25
AI Technical Summary
The timing error caused by the temperature change of the crystal oscillator in the GNSS system causes the system to assume the worst case after waking up from sleep, increasing the search window time, consuming unnecessary power and time, and affecting positioning accuracy.
By measuring the temperature change of the oscillator, determine its frequency change, and adjust the duration of the timer based on this, to accurately determine the actual duration of the sleep mode, reduce timing errors, and improve positioning speed and accuracy.
It reduces timing errors caused by frequency drift, allowing the GNSS system to quickly and accurately position satellites after waking up from sleep, saving time and power consumption, and improving positioning accuracy.
Smart Images

Figure CN115152283B_ABST
Abstract
Description
[0001] Priority claim
[0002] This patent application claims priority to non-provisional US application No. 16 / 803,410, filed on February 27, 2020, entitled “TIMING ERROR ADJUSTMENT IN MOBILE DEVICES,” which has been assigned to the assignee of this application and is hereby expressly incorporated herein by reference.
[0003] Public domain
[0004] The disclosed aspects relate to adjusting for timing errors in mobile devices. More specifically, the exemplary aspects relate to adjusting for timing errors caused by temperature changes that occur in a crystal oscillator (XO). Background Art
[0005] Global Navigation Satellite Systems (GNSS) are well known in applications related to tracking and positioning. GNSS systems, such as the Global Positioning System (GPS), are satellite-based systems used to pinpoint the exact location of a GNSS receiver or object that is capable of tracking satellite signals. With the advancement of GNSS technology, it is possible to locate and track the movement of objects on Earth.
[0006] GNSS systems operate by configuring GNSS satellites to transmit specific signals, which may include pre-established codes. These signals are based on GNSS time or satellite time derived from atomic clocks or satellite clocks present in the satellites. The transmitted signals may include a timestamp indicating the time they were transmitted. GNSS receivers that may be integrated into handheld devices are timed by a local clock located at the receiver end. Ideally, the local clock is synchronized to the satellite clock (also referred to as GNSS time). A device including a GNSS receiver is configured to estimate GNSS time based on satellite signals so as to synchronize its local clock with GNSS time. Once the local clock is accurately synchronized, the device is configured to calculate the propagation time of the satellite signal to the receiver based on the difference between the time the signal is received and the time the signal is transmitted. The propagation time is an indication of the distance between the satellite and the device, keeping in mind that factors (such as atmospheric conditions, etc.) may affect the propagation time.
[0007] To pinpoint the device's location, the device performs the above process to calculate the distances to two or more other satellites (if the device's altitude and / or local time is known, the location can be determined using a total of three satellites, otherwise a total of four satellites may be needed). Using the distances to the satellites, it is theoretically possible to "trilaterate" the device's location. However, due to several sources of inaccuracy inherent in GNSS-based positioning, actual applications differ from theoretical expectations.
[0008] Therefore, GNSS systems need to know the exact time in order to pinpoint the location of the satellites. However, GNSS systems consume power, and power consumption is becoming an increasingly serious problem for these systems. In order to reduce power consumption, some systems shut themselves down (power down or sleep) to reduce power consumption. When these systems wake up from sleep, they need to know the exact time, as explained above. The GNSS system must know the exact current time so that the location of the positioning satellite can be quickly pinpointed after the GNSS system wakes up from sleep. Knowing the exact time reduces the time required to search for positioning satellites. Therefore, knowing the exact time after waking up from sleep can save time and power used to search for positioning satellites.
[0009] However, in many GNSS systems, the timers in the system are driven by crystal oscillators (XOs). These XOs typically change their oscillation frequency based on their temperature. Typically, the environment of the XO (such as air, chip and circuit board temperature) affects the temperature of the XO. When the temperature of the XO changes, the frequency of the XO also changes, and the frequency change causes timing errors in the timers using the XO.
[0010] In order to compensate for such timing errors, the GNSS system is forced to search for satellites by assuming the worst-case timing error. By assuming the worst-case timing error, the search window time frame (i.e., the time used to search for satellites) needs to be increased. For example, if the GNSS system knows the exact time after waking up from sleep, it may only take 0.1 seconds to find the position of the positioning satellite. However, if the GNSS system does not know the exact time due to the timing error caused by the frequency drift of the XO, the GNSS system may need to spend 2 seconds to search for the positioning satellite because the system must assume the worst-case scenario of the timing error. As explained above, such a large search time window consumes unnecessary power and time.
[0011] Accordingly, there is a need for systems and methods to reduce timing errors caused by frequency drift and temperature changes of an XO in a GNSS system.
[0012] Overview
[0013] Exemplary aspects of the present disclosure relate to systems and methods for adjusting timing errors in a mobile device.
[0014] For example, an exemplary aspect relates to a method of adjusting a timing error in a mobile device, the method comprising: setting a timer to time a duration; measuring a temperature change of an oscillator used as a timer source during the duration; determining a frequency change of the oscillator that occurred during the duration based on the temperature change; and determining a timing error of the timer during timing the duration based on the frequency change of the oscillator. The method further comprises: determining an actual duration by adjusting the duration based on the determined timing error; locating a satellite based on the actual duration; storing the measured temperature change in a memory; filtering the stored temperature change; and ignoring the stored monitored temperature change if the change in temperature change exceeds a predetermined threshold.
[0015] Another exemplary aspect relates to a mobile device, comprising: an oscillator; a timer coupled to the oscillator to receive an oscillation signal from the oscillator; a thermistor coupled to the oscillator to measure a temperature change of the oscillator; and a processor configured to: set the timer to time a duration; determine a frequency change of the oscillation signal from the oscillator that occurred during the duration based on a monitored temperature change that occurred during the duration; and determine a timing error of the timer that occurred during timing the duration based on the determined frequency change of the oscillator. The processor is further configured to: determine an actual duration by adjusting the duration based on the determined timing error, and store the measured temperature change in a memory and filter the stored temperature change.
[0016] Another exemplary aspect relates to a mobile device, comprising: means for setting a timer to time an elapsed time; means for measuring a temperature change of an oscillator used as a timer source during the elapsed time; means for determining a frequency change of the oscillator that occurred during the elapsed time based on the temperature change; and means for determining a timing error of the timer during the elapsed time based on the frequency change of the oscillator. The mobile device further comprises: means for determining an actual elapsed time by adjusting the elapsed time based on the determined timing error; means for locating a satellite based on the actual elapsed time; storing the measured temperature change in a memory; means for filtering the stored temperature change; and means for ignoring the stored monitored temperature change if the change in temperature change exceeds a predetermined threshold.
[0017] Yet another exemplary aspect relates to a non-transitory computer-readable storage medium including code that, when executed by a processor, causes the processor to perform operations for adjusting a timing error in a mobile device, the non-transitory computer-readable storage medium including: code for setting a timer to time an elapsed time; code for measuring a temperature change of an oscillator used as a timer source during the elapsed time; code for determining a frequency change of the oscillator that occurred during the elapsed time based on the temperature change; and code for determining a timing error of the timer during timing the elapsed time based on the frequency change of the oscillator. The non-transitory computer-readable storage medium further includes: code for determining an actual elapsed time by adjusting the elapsed time based on the determined timing error; code for locating a satellite based on the actual elapsed time; storing the measured temperature change in a memory; code for filtering the stored temperature change; and code for ignoring the stored measured temperature change if the change in temperature change exceeds a predetermined threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are presented to aid in the description of the aspects and are provided solely for illustration of the aspects and not limitation thereof.
[0020] Figure 1 A simplified schematic diagram illustrating an apparatus for adjusting timing errors in a GNSS system in accordance with various aspects of the present disclosure.
[0021] Figure 2 The S-curve of an exemplary crystal oscillator is illustrated.
[0022] Figure 3A-3B Flowcharts corresponding to one or more methods of timing error adjustment according to various aspects of the present disclosure are illustrated.
[0023] Figure 3C A flow chart corresponding to a timing error adjustment method according to another aspect of the present disclosure is illustrated.
[0024] Figure 4 Exemplary implementations of a wireless communication device configured for timing error adjustment in accordance with various aspects of the present disclosure are illustrated.
[0025] Detailed Description
[0026] The detailed description set forth below in conjunction with the accompanying drawings is intended as a description of various configurations and is not intended to represent the only configurations in which the concepts described herein may be practiced. This detailed description includes specific details to provide a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid diluting such concepts.
[0027] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any aspect described herein as "exemplary" is not necessarily to be construed as preferred or superior to other aspects. Likewise, the term "aspects of the disclosure" does not require that all aspects of the disclosure include the discussed feature, advantage, or mode of operation.
[0028] The terms used herein are for the purpose of describing specific aspects only and are not intended to limit aspects of the present disclosure. As used herein, the singular forms of "a", "a", and "the" are intended to also include plural forms unless the context clearly indicates otherwise. It will be further understood that the terms "include", "have", "include" and / or "contain" when used herein indicate the presence of stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0029] In addition, many aspects are described in the form of sequences of actions performed by, for example, elements of a computing device. It will be appreciated that the various actions described herein can be performed by a dedicated circuit (e.g., an application specific integrated circuit (ASIC)), by program instructions being executed by one or more processors, or by a combination of the two. In addition, the sequences of actions described herein may be considered to be fully implemented in any form of computer-readable storage medium, which has stored therein a corresponding set of computer instructions that, upon execution, will cause an associated processor to perform the functionality described herein. Thus, various aspects of the present disclosure may be embodied in several different forms, all of which have been conceived to fall within the scope of the claimed subject matter. In addition, for each aspect described herein, the corresponding form of any such aspect may be described herein as, for example, "logic configured to perform the described actions."
[0030] Various aspects of the present disclosure are directed to determining the actual duration of a sleep mode of a GNSS system (i.e., the time during which the GNSS system is powered down) based on temperature changes and corresponding frequency drifts of an XO in the GNSS system. The actual duration is determined by first determining a timing error caused by the frequency drift of the XO and adjusting the original duration of the sleep mode by the timing error. Various aspects of the present disclosure allow the actual duration of the sleep mode to be accurately determined by determining the timing error that may have occurred during the sleep mode.
[0031] Reference Figure 1 , illustrates a simplified schematic diagram of an exemplary device 100 configured for determining an actual duration of a sleep mode of a GNSS system according to an exemplary aspect. It should be noted that the device 100 may belong to a mobile device or a handheld device, and may further include one or more components known to those skilled in the art, but for clarity, the following description is provided herein. Figure 13 provides other exemplary aspects relating to a device similar to device 100, which illustrates certain other components that may be included in the exemplary device. Device 100 may include a navigation engine 108, which may be configured to receive wireless signals from various sources, such as one or more signal sources 110a-n. In a non-limiting example, one or more of the signal sources 110a-n may be satellites or GNSS sources capable of providing a GNSS lock, including geostationary sources such as a satellite-based augmentation system (SBAS). Additionally or optionally, one or more of the signal sources 110a-n may also be calibrated ground sources, such as WWAN or CDMA. The navigation engine 108 may be driven by a system timer 104, which may be derived from the XO 112.
[0032] like Figure 1 As illustrated, the PMIC (power management integrated circuit) 102 includes a PMIC controller 116, an XO 112, and a thermistor 113. The XO 112 may be a crystal oscillator or any other type of oscillator that vibrates at a specific frequency. The PMIC controller 116 may be a general purpose processor (CPU) or a controller designed to control the operation of the PMIC 102. The thermistor 113 is tightly coupled to the XO 112 to measure and monitor the temperature of the XO 112. A memory 114 is coupled to the PMIC 102. In one aspect, the memory 114 may be included in the PMIC 102, but in another aspect, the memory 114 may be placed outside the PMIC 102.
[0033] like Figure 1 As shown, a system timer 104 is coupled to the PMIC 102. The system timer 104 receives the output of the XO 112 and uses the XO 112 output as a timing source. The system timer 104 can be a master timer for the device 100. For example, the system timer 104 can be used to time the duration of a sleep mode of the device 100. The device 100 can enter a sleep mode or a low power mode to save power. The duration of the sleep mode is timed by the system timer 104.
[0034] Processor 106 controls the operation of device 100. Processor 106 may be one or more multi-core integrated circuits designated for general or specific processing tasks. Processor 106 may be a system on chip (SOC) that may include a general purpose processor (CPU) or a multi-core general purpose processor (CPU). Processor 106 may set the duration of the sleep mode by using system timer 104. Processor 106 is coupled to other components in device 100 to control the operation of device 100. The operation of processor 106 is explained below.
[0035] As mentioned above, navigation engine 108 may be configured to receive wireless signals from various sources, such as one or more signal sources 110a-n. Navigation engine 108 may include a receiver capable of receiving signals from various sources, including GNSS sources, such as satellites. Navigation engine 108 may use signals from GNSS sources to determine the location of device 100.
[0036] like Figure 1 As shown, device 100 further includes timing adjuster 110. In one exemplary aspect, processor 106 may use timing adjuster 110 to track timing errors caused by temperature fluctuations of XO 112. In another exemplary aspect, processor 106 may not use timing adjuster 110 to track timing errors, but may determine timing errors on its own.
[0037] In an exemplary aspect, the device 100 enters a sleep mode or low power mode when the processor 106 powers down certain components in the device 100 to save power consumption. Reducing the power consumption of the device 100 can increase the battery life of the device 100. Just before the device 100 enters the sleep mode, the processor 106 can store the current time, the current position of the navigation satellite, and the current position of the device 100 in the memory 114 or any other available memory (not shown). The stored time and current position can be used to look up the position of the navigation satellite when the device 100 wakes up from the sleep mode.
[0038] In addition to storing the time and current location, the processor 106 may also instruct the system timer 104 to time the duration of the sleep mode. The processor 106 instructs the system timer 104 to measure the duration of the sleep mode as determined by the processor 106. For example, the processor 106 may determine the duration of the sleep mode to be 10 seconds. The processor 106 then instructs the system timer 104 to time the sleep mode for 10 seconds. When the system timer 104 completes timing the duration of the sleep mode, the system timer 104 sends an alarm to the processor 106 to warn the processor 106 that the sleep mode has ended. Therefore, returning to the previous example, when the system timer 104 completes timing the 10 seconds of the sleep mode, the system timer 104 warns the processor 106.
[0039] When device 100 enters sleep mode, most components in device 100, including processor 106, may shut down or enter low power mode to reduce power consumption. However, during sleep mode, XO 112 continues to output an oscillating signal that is used by system timer 104 to time the duration of sleep mode as directed by processor 106. During sleep mode, a thermistor 113 that is tightly coupled to XO 112 outputs data corresponding to a change in temperature of XO 112. Thermistor 113 may be adjacent to or physically contact XO 112 to accurately measure a change in temperature of XO 112. Thermistor 113 may be located immediately above, below, or next to XO 112. In some aspects, thermistor 113 and XO 112 may be integrated into a common component and / or package. The temperature of the XO 112 may be affected by the environment surrounding the XO 112, such as the temperature of the circuit board, the temperature of other components in the device 100, and the air temperature surrounding the XO 112. The thermistor 113 measures and / or monitors the temperature change of the XO 112 and outputs data, which may be stored in the memory 114 by the PMIC controller 116. The frequency of the data output from the thermistor 113 or the sampling rate of the data from the thermistor 113 may be controlled by the PMIC controller 116. However, the PMIC controller 116 may control the sampling rate based on instructions from the processor 106. The PMIC controller 116 stores the output data from the thermistor 113 until the sleep mode ends.
[0040] In one exemplary aspect, the timing adjuster 110 may not be used to determine the actual duration of the sleep mode. In this aspect, the system timer 104 alerts the processor 106 and the PMIC controller 116 when the sleep mode has ended based on the duration of the sleep mode set by the processor 106. As discussed above, the system timer 102 uses the output of the XO 112 as a source signal to time the duration of the sleep mode. However, the temperature of the XO 112 may fluctuate during the sleep mode, causing the frequency of the XO 112 output signal to drift. The frequency drift of the XO 112 may cause timing errors in the system timer 104. When the processor 106 receives a wakeup alert from the system timer 104, the processor 106 wakes up the other components in the device 100 and begins reading the output data from the thermistor 113 stored in the memory 114.
[0041] Processor 106 may filter the output data from thermistor 113 using various techniques known in the art. After filtering the data, processor 106 converts the output data from thermistor 113 into direct temperature data. The data from thermistor 113 may not give direct temperature data, so processor 106 may need to convert the output data from thermistor 113 into direct temperature data. Based on the direct temperature data, processor 106 may determine a frequency change or drift in the output signal of XO 112. Processor 106 may refer to an S-curve of XO 112, such as Figure 2 112 to determine the change in frequency of XO 112 caused by a change in temperature of XO 112. S-curve 200 shows how the frequency of XO 112 changes in ppm (parts per million) based on the temperature of XO 112. For example, S-curve 200 shows that the frequency of XO 112 generally increases as the temperature of XO 112 increases, and the frequency of XO 112 generally decreases as the temperature of XO 112 decreases. However, S-curve 200 is only one example of an S-curve, and XO 112 may use another S-curve depending on the type of crystal oscillator used for XO 112.
[0042] By referencing the S-curve 200 using direct temperature data, the processor 106 can determine how the frequency of the XO 112 changes during the sleep mode. Based on the frequency change of the XO 112 during the sleep mode, the processor 106 can determine how the frequency change affects the timing of the system timer 104 during the sleep mode. For example, the duration of the sleep mode may be set to 10 seconds, but the actual duration of the sleep mode may end up being 9.5 seconds or 10.5 seconds due to the temperature change of the XO 112 during the sleep mode causing the frequency change of the XO 112. However, the processor 106 can determine the timing error that occurs in the system timer 104 based on the frequency change that occurs in the output signal of the XO 112. Based on the determined timing error, the processor 106 can determine the actual duration of the sleep mode. In other words, the actual duration of the sleep mode is determined by adjusting the duration of the timing of the system timer 104 based on the frequency change of the XO 112 and the subsequent timing error caused by the frequency change of the XO 112.
[0043] After determining the actual duration of the sleep mode, the processor 106 may transmit the actual duration to the navigation engine 108 to pinpoint the position of the positioning satellite or navigation satellite. Since the navigation engine 108 knows the actual duration of the sleep mode, the navigation engine 108 can quickly pinpoint the position of the positioning satellite based on the actual time that has passed during the sleep mode. This saves time and power consumption. However, if the navigation engine 108 does not know the actual duration of the sleep mode, the navigation engine 108 is forced to search for positioning satellites over the maximum necessary search time window that takes into account the worst case frequency change scenario. Such a large search time window wastes time and increases power consumption.
[0044] In one aspect, if processor 106 finds a large spike in the temperature data from thermistor 113 that exceeds a certain threshold, processor 106 may determine that a systematic error has occurred in device 100. If processor 106 determines that a systematic error has occurred, processor 106 may ignore the temperature data collected from thermistor 113 and instruct navigation engine 108 to search for positioning satellites over the maximum necessary search time window that accounts for the worst case frequency change scenario. A large spike in the temperature data may indicate that a systematic error has occurred in device 100.
[0045] In another exemplary aspect, timing adjuster 110 can be used to determine timing errors caused by frequency changes or drifts of XO 112. In this aspect, timing adjuster 110 dynamically receives output data from thermistor 113 during sleep mode, converts thermistor 113 data into direct temperature data, and uses the direct temperature data to determine the frequency change of XO 112. Thus, instead of storing thermistor 113 data, timing adjuster 110 dynamically receives thermistor 113 data and uses the data to determine the frequency change of XO 112. Timing adjuster 110 can refer to Figure 2 112. The timing adjuster 110 dynamically determines the frequency change of the XO 112 based on the S-curve 200 shown in FIG. 114. Based on the frequency change of the XO 112, the timing adjuster 110 dynamically determines the timing error that occurs in the system timer 104 due to the frequency change of the XO 112. When the device 100 wakes up from the sleep mode, the timing adjuster 110 transmits the final timing error or adjustment to the processor 106. The processor 106 determines the actual duration of the sleep mode based on the final timing error or adjustment received from the timing adjuster 110.
[0046] It will be appreciated that aspects include various methods for performing the processes, functions and / or algorithms disclosed herein. For example, Figure 3A and 3B A method 300 for adjusting timing errors in a mobile device is shown. The method may be performed by a device (such as device 100) including a processor 106, a PMIC controller 116, and a timing adjuster 110. In one configuration, Figure 3A and 3B The method 300 described in the following can be referred to as follows Figure 4 The mobile device 400 is described to perform.
[0047] At block 302, the method stores the current time and the current location of positioning satellites and device 100 before entering sleep mode. The current time and location may be stored in a memory.
[0048] At block 304, the method sets a system timer to time the duration of the sleep mode. The duration may be predetermined, and the system timer times the duration. The processor 106 may set the system timer 104 to time the duration of the sleep mode.
[0049] At block 305, the method enters a sleep mode. The processor 106 may power down components in the device 100 to enter the sleep mode.
[0050] At block 306, during the sleep mode, the method measures and monitors the temperature of an XO, such as XO 112, by using a thermistor, such as thermistor 113. The thermistor outputs temperature data of the XO.
[0051] At block 308, the method determines whether the timing error caused by the temperature change of the XO is dynamically determined. If yes, the method jumps to block 316. If no, the method proceeds to block 310.
[0052] At block 310 , the method stores the output data of thermistor 113 in a memory, such as memory 114 .
[0053] At block 312 , the method wakes up from the sleep mode. When the duration of the sleep mode reaches an end, the system timer 104 alerts the processor 106 to wake up from the sleep mode. The processor 106 may wake up other components in the device 100 .
[0054] At block 314 , the method filters the thermistor data stored in the memory according to various filtering algorithms known in the art. The processor 106 may filter the output data from the thermistor 113 .
[0055] At block 316, the method converts the thermistor output data to direct temperature data. The processor 106 may convert the output data from the thermistor 133 to direct temperature data.
[0056] At block 317, if the method detects a large spike (i.e., a large change) in the temperature of the XO that exceeds a certain threshold, then the method ignores the stored thermistor output data. If a large spike in the temperature of the XO 112 that exceeds a predetermined threshold is detected, then the processor 106 may ignore the stored thermistor output data and instruct the navigation engine 108 to search for positioning satellites over the maximum necessary search time window that accounts for the worst case frequency change scenario. Such a large spike may indicate a systematic error.
[0057] At block 318, the method determines the frequency change of the XO using the direct temperature data. The processor 106 may use the S-curve 200 to determine the frequency change of the XO 112 that occurred during the sleep mode.
[0058] At block 320, the method determines a timing error of the system timer based on the frequency change of the XO that occurred during the sleep mode. The method may dynamically determine the timing error each time new thermistor temperature data is received during the sleep mode, rather than determining the timing error after waking up from the sleep mode. Based on the frequency change of the XO 112 that occurred during the sleep mode, the processor 106 determines the timing error that occurred in the system timer 104 during the sleep mode.
[0059] At block 322, the method determines the actual duration of the sleep mode based on the determined timing error caused by the frequency change and drift of the XO. For example, if the timing error is determined to be +0.5 seconds, and the duration of the sleep mode is assumed to be 10 seconds, the adjusted actual duration of the sleep mode is now determined to be 10.5 seconds instead of 10 seconds. The processor 106 determines the timing error of the system timer 104 and the actual duration of the sleep mode. The processor 106 determines the actual duration of the sleep mode by adjusting the duration timed by the system timer 104 by the determined timing error.
[0060] At block 324, the method finds the position of the positioning satellite based on the actual duration of the sleep mode rather than the duration set in the system timer.The navigation engine 108 receives the actual duration of the sleep mode from the processor 106 and uses the actual duration to find the position of the positioning satellite.
[0061] Figure 3C A method 350 for adjusting timing errors in a mobile device according to another aspect of the present disclosure is shown. The method may be performed by a device (such as device 100) including a processor 106, a PMIC controller 116, and a timing adjuster 110. In one configuration, Figure 3C The method 350 described in the following can be referred to as follows Figure 4 The mobile device 400 is described to perform.
[0062] At block 330, the method 350 sets a system timer to time the duration of the sleep mode. The duration may be predetermined, and the system timer times the duration. The processor 106 may set the system timer 104 to time the duration of the sleep mode.
[0063] At block 332, during sleep mode, method 350 measures and monitors the temperature of an XO, such as XO 112, by using a thermistor, such as thermistor 113. The thermistor outputs temperature data of the XO.
[0064] At block 334, the method 350 uses the direct temperature data to determine the frequency change of the XO. The processor 106 may use the S-curve 200 to determine the frequency change of the XO 112 that occurred during the sleep mode.
[0065] At block 336, method 350 determines a timing error of the system timer based on the frequency change of the XO that occurred during the sleep mode. The method may dynamically determine the timing error each time new thermistor temperature data is received during the sleep mode, rather than determining the timing error after waking up from the sleep mode. Based on the frequency change of the XO 112 that occurred during the sleep mode, processor 106 determines the timing error that occurred in the system timer 104 during the sleep mode.
[0066] Now refer to Figure 4 , illustrates another exemplary device 400 implemented as a wireless communication system. Device 400 is similar to device 100 in many exemplary aspects, and the depiction and description of device 400 includes information about Figure 1 Various additional exemplary components of the device 100 are not shown. Figure 4As shown, the device 400 includes a digital signal processor (DSP) 464 and a general purpose processor (depicted as processor 465). The functions and methods related to timing error adjustment described above may be performed in the DSP 464 or the processor 465 or any combination of their processing elements. Accordingly, in some aspects, the processor 465 may be configured to perform the operations described with respect to the processor 106, but it should be understood that some operations related to timing error adjustment may be performed in the DSP 464, and further, these operations may be implemented in any suitable combination of hardware and software. Both the DSP 464 and the processor 465 may be coupled to the PMIC 102 including the XO 112 (as previously described) and to the memory 114. The navigation engine 108 may be coupled to the DSP 464 and the processor 465. The display controller 426 may be coupled to the DSP 464, the processor 465, and the display 428. Other components are also illustrated, such as the transceiver 440 (which may be part of a modem) and the receiver 441. The transceiver 440 may be coupled to a wireless antenna 442, which may be configured to receive wireless signals from a calibrated terrestrial source (such as, WWAN, CDMA, etc.). The receiver 441 may be coupled to a satellite or GNSS antenna 443, which may be configured to receive wireless signals or GNSS signals from a satellite. The system timer 104 is also illustrated and may be coupled to the PMIC 102 and the processor 465. The system timer 104 uses the output of the XO 112 as its timing source. In a particular aspect, the DSP 464, the processor 465, the display controller 426, the memory 114, the navigation engine 108, the transceiver 440, the receiver 441, the PMIC 102, and the system timer 104 are included in a system-in-package or system-on-chip device 422.
[0067] In a particular aspect, an input device 430 and a power source 444 are coupled to the system-on-chip device 422. Additionally, in a particular aspect, as Figure 4 As illustrated, display 428, input device 430, wireless antenna 442, GNSS antenna 443, and power supply 444 are external to system-on-chip device 422. However, each of display 428, input device 430, wireless antenna 442, GNSS antenna 443, and power supply 444 may be coupled to a component of system-on-chip device 422, such as an interface or controller.
[0068] In one aspect, one or both of DSP 464 and processor 465, in combination with Figure 4 One or more of the remaining components described may include executing, for example, Figure 3A and 3BFor example, the DSP 464, PMIC controller 116, and / or processor 465 may include logic / means for implementing functions related to the following actions: storing the current time and position in memory; setting a system timer to time the sleep mode; entering the sleep mode; measuring and monitoring the temperature of the XO by using a thermistor; storing output data from the thermistor in memory; waking up from the sleep mode; filtering the thermistor data; converting the thermistor data to direct temperature data; determining a frequency change of the XO based on the direct temperature data; determining a timing error that may have occurred during the duration of the sleep mode based on the frequency change; determining the actual duration of the sleep mode; and using the actual duration of the sleep mode to find the position of the positioning satellite.
[0069] It should be noted that although Figure 4 A wireless communication device is depicted, but the DSP 464, processor 465, and memory 114 may also be integrated into a device selected from the group consisting of a set-top box, a music player, a video player, an entertainment unit, a navigation device, a communication device, a personal digital assistant (PDA), a fixed location data unit, or a computer. In addition, this device may also be integrated into a semiconductor die.
[0070] Accordingly, it will be understood from the foregoing that at least one aspect includes a mobile device having an oscillator (e.g., XO 112) and a timer (e.g., system timer 104) coupled to the oscillator to receive an oscillation signal from the oscillator. A thermistor (e.g., thermistor 113) is coupled to the oscillator to measure the temperature change of the oscillator. A processor (e.g., processor 106, 465) is configured to set a timer to time a duration (e.g., the duration of a sleep mode), determine the frequency change of the oscillation signal from the oscillator that occurs during the duration based on the measured temperature change that occurs within the duration, and determine the timing error of the timer that occurs during the timing of the duration based on the determined frequency change of the oscillator. The various aspects disclosed advantageously allow the mobile device to determine the actual duration of the sleep mode, which allows a more accurate time reference to be provided when exiting the sleep mode. This provides faster acquisition of navigation satellites, power savings, and improved positioning accuracy.
[0071] Those skilled in the art will appreciate that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referred to throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or magnetic particles, optical fields or optical particles, or any combination thereof.
[0072] In addition, those skilled in the art will appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the aspects disclosed herein can be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician can implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
[0073] The methods, sequences and / or algorithms described in conjunction with the various aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read and write information from / to the storage medium. In an alternative, the storage medium may be integrated into the processor.
[0074] Accordingly, one aspect of the present disclosure may include a computer-readable medium embodying a method for timing error adjustment. Accordingly, the present disclosure is not limited to the illustrated examples and any means for performing the functionality described herein are included in the aspects of the present disclosure.
[0075] While various aspects of the above are generally described with respect to GNSS-based positioning systems, it will be readily appreciated how these aspects may be modified to conform to other types of positioning systems, including but not limited to satellite positioning systems (SPS) that do not include GNSS, virtual satellite (or pseudo-satellite, e.g., ground-based transceiver)-based positioning systems, etc. Thus, various aspects described herein may be readily incorporated into non-GNSS-based systems.
[0076] Although the foregoing disclosure shows illustrative aspects of the present disclosure, it should be noted that various changes and modifications may be made therein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps, and / or actions in the method claims according to the various aspects of the present disclosure described herein do not have to be performed in any particular order. In addition, although the elements of the present disclosure may be described or claimed in the singular, the plural is also contemplated unless limitation to the singular is explicitly stated.
[0077] The above disclosed apparatus and methods are usually designed and configured as GDSII and GERBER computer files stored on computer readable media. These files are then provided to manufacturing parties that manufacture the apparatus based on these files. The resulting products are semiconductor wafers, which are then cut into semiconductor dies and packaged into semiconductor chips. The chips are then used in the above apparatus.
Claims
1. A method for adjusting timing error in a mobile device, the method comprising: Set a timer to time the elapsed time; measuring a change in temperature of an oscillator used as a source for the timer during the duration; storing the measured temperature change in a memory; Filtering stored temperature changes; in response to detecting that the stored temperature change does not exceed a predetermined threshold, determining a frequency change of the oscillator that occurred during the duration based on the temperature change; determining a frequency change of the oscillator as a worst case frequency change in response to detecting that at least one of the stored temperature changes exceeds the predetermined threshold; as well as A timing error of the timer during timing the duration is determined based on a change in frequency of the oscillator.
2. The method of claim 1, further comprising: The actual duration is determined by adjusting the duration based on the determined timing error.
3. The method of claim 2, further comprising: The satellite is located based on the actual duration.
4. The method of claim 1, further comprising: If the temperature change among the temperature changes exceeds the predetermined threshold, the stored temperature change is ignored. The method of claim 1 , wherein the temperature change is measured by a thermistor. The method of claim 1 , wherein the duration corresponds to a time in a sleep mode of the mobile device.
7. The method of claim 6, further comprising: entering the sleep mode after setting the timer; and Waking up from the sleep mode after the timer completes timing the duration.
8. A mobile device, comprising: Oscillator; a timer coupled to the oscillator to receive an oscillation signal from the oscillator; a thermistor coupled to the oscillator to measure a change in temperature of the oscillator; as well as A processor configured to: Setting the timer to time the duration; storing the measured temperature change in a memory; Filtering stored temperature changes; in response to detecting that the stored temperature change does not exceed a predetermined threshold, determining a frequency change of the oscillating signal from the oscillator that occurred during the duration based on the measured temperature change that occurred during the duration; determining a frequency change of the oscillator as a worst case frequency change in response to detecting that at least one of the stored temperature changes exceeds the predetermined threshold; as well as A timing error of the timer that occurs during timing of the duration is determined based on the determined change in frequency of the oscillator.
9. The mobile device of claim 8, wherein the processor is configured to determine the actual duration by adjusting the duration based on the determined timing error.
10. The mobile device of claim 9, further comprising: A navigation engine is configured to locate a satellite based on the actual duration.
11. The mobile device of claim 8, wherein the processor is configured to ignore the stored temperature changes if the temperature change among the stored temperature changes exceeds the predetermined threshold.
12. The mobile device of claim 8, wherein the duration corresponds to a time of a sleep mode of the mobile device.
13. The mobile device of claim 12, wherein the processor is configured to cause the mobile device to enter the sleep mode after setting the timer, and to wake up the mobile device from the sleep mode after the timer has completed timing the duration.
14. A mobile device, comprising: means for setting a timer to time the elapsed time; means for measuring a change in temperature of an oscillator used as a source for said timer during said duration; means for storing the measured temperature change in a memory; means for filtering the stored temperature changes; means for determining, in response to detecting that the stored temperature change does not exceed a predetermined threshold, a change in frequency of the oscillator that occurred during the duration based on the temperature change; means for determining a frequency change of the oscillator as a worst case frequency change in response to detecting that at least one of the stored temperature changes exceeds the predetermined threshold; as well as Means for determining a timing error of the timer during timing the duration based on the determined change in frequency of the oscillator.
15. The mobile device of claim 14, further comprising: Means for determining an actual duration by adjusting the duration based on the determined timing error.
16. The mobile device of claim 15, further comprising: Means for locating a satellite based on the actual duration.
17. The mobile device of claim 14, further comprising: Means for ignoring the stored temperature changes if the temperature change in the stored temperature changes exceeds the predetermined threshold.
18. The mobile device of claim 14, wherein the temperature change is measured by a thermistor.
19. The mobile device of claim 14, wherein the duration corresponds to a time of a sleep mode of the mobile device.
20. A non-transitory computer-readable storage medium comprising code, which when executed by a processor causes the processor to perform operations for adjusting a timing error in a mobile device, the non-transitory computer-readable storage medium comprising: Code for setting up a timer to time the elapsed time; code for measuring a change in temperature of an oscillator used as a source for the timer during the duration; code for storing the measured temperature change in a memory; code for filtering stored temperature changes; code for determining, in response to detecting that the stored temperature change does not exceed a predetermined threshold, a change in frequency of the oscillator that occurred during the duration based on the temperature change; code for determining a frequency change of the oscillator as a worst case frequency change in response to detecting that at least one of the stored temperature changes exceeds the predetermined threshold; as well as Code for determining a timing error of the timer during timing the duration based on a change in frequency of the oscillator.
21. The non-transitory computer readable storage medium of claim 20, further comprising: Code for determining an actual duration by adjusting the duration based on a determined timing error.
22. The non-transitory computer readable storage medium of claim 21, further comprising: Code for locating a satellite based on the actual duration.
23. The non-transitory computer readable storage medium of claim 20, further comprising: Code for ignoring the stored temperature changes if the temperature change in the stored temperature changes exceeds the predetermined threshold.
24. The non-transitory computer-readable storage medium of claim 20, wherein the duration corresponds to a time of a sleep mode of the mobile device.
