Advanced frequency calibration
First Claim
Patent Images
1. A method for tuning a local oscillator of an event-sensitive device, comprising:
- tuning the local oscillator to a desired frequency using a binary search algorithm;
outputting a local oscillator signal from the local oscillator; and
applying the local oscillator signal to at least one sensor node of an event-sensitive panel,wherein tuning the local oscillator to the desired frequency comprises;
determining a desired clock count corresponding to the desired frequency of the local oscillator;
setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value;
adjusting a first frequency of the local oscillator signal according to the first tune bit value;
counting a first an actual clock count corresponding to the first frequency of the local oscillator signal;
comparing the first actual clock count with the desired clock count to determine whether the first frequency of the local oscillator signal is greater or less than the desired frequency;
setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the local oscillator signal is greater than the desired frequency;
setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the local oscillator signal is less than the desired frequency;
adjusting a second frequency of the local oscillator signal according to the second tune bit value;
counting a second actual clock count corresponding to the second frequency of the local oscillator signal;
selecting the first or second frequency of the local oscillator signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and
applying the selected first or second frequency of the local oscillator signal to the input of at least one sensor node of the event-sensitive device.
2 Assignments
0 Petitions
Accused Products
Abstract
An oscillating signal of relatively precise frequency is generated by tuning an oscillator using an external stable oscillating source as a reference. Calibration logic is included to compare a signal from the local oscillator to the reference signal and vary the local signal to a desired frequency. In one embodiment, a binary search algorithm is used to tune the local oscillator. The local oscillating signal can be sent to one or more circuits including at least one sensor of a touch sensitive panel for detecting touch events.
-
Citations
45 Claims
-
1. A method for tuning a local oscillator of an event-sensitive device, comprising:
-
tuning the local oscillator to a desired frequency using a binary search algorithm; outputting a local oscillator signal from the local oscillator; and applying the local oscillator signal to at least one sensor node of an event-sensitive panel, wherein tuning the local oscillator to the desired frequency comprises; determining a desired clock count corresponding to the desired frequency of the local oscillator; setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value; adjusting a first frequency of the local oscillator signal according to the first tune bit value; counting a first an actual clock count corresponding to the first frequency of the local oscillator signal; comparing the first actual clock count with the desired clock count to determine whether the first frequency of the local oscillator signal is greater or less than the desired frequency; setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the local oscillator signal is greater than the desired frequency; setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the local oscillator signal is less than the desired frequency; adjusting a second frequency of the local oscillator signal according to the second tune bit value; counting a second actual clock count corresponding to the second frequency of the local oscillator signal; selecting the first or second frequency of the local oscillator signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and applying the selected first or second frequency of the local oscillator signal to the input of at least one sensor node of the event-sensitive device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An event sensor device comprising:
-
a local oscillator circuit configured to generate an oscillating signal having a frequency at least partially based on an incoming control signal; a reference signal generator configured to generate a reference signal; and calibration logic circuitry configured to compare the frequency of the oscillating signal with the frequency of the reference signal and configured to use a binary search algorithm to tune the local oscillator circuit such that the oscillating signal of the local oscillator circuit has a desired frequency, wherein the calibration logic circuitry is configured to tune the local oscillator circuit to the desired frequency by; determining a desired clock count corresponding to the desired frequency of the local oscillator circuit; setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value; adjusting a first frequency of the oscillating signal according to the first tune bit value; counting a first actual clock count corresponding to the first frequency of the oscillating signal; comparing the first actual clock count with the desired clock count to determine whether the first frequency of the oscillating signal is greater or less than the desired frequency; setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the oscillating signal is greater than the desired frequency; setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the oscillating signal is less than the desired frequency; adjusting a second frequency of the oscillating signal according to the second tune bit value; counting a second actual clock count corresponding to the second frequency of the oscillating signal; selecting the first or second frequency of the oscillating signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and applying the selected first or second frequency of the oscillating signal to at least one sensor node of the event sensor device. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. The event sensor device 21, wherein the calibration logic circuitry is further configured to tune the local oscillator circuit to the desired frequency by determining the granularity factor by calculating 2 to the power of a value equal to a number of fewer bits used.
-
23. A circuit for generating an oscillating signal comprising:
-
oscillator generation means for generating an oscillating signal; calibration means for calibrating the oscillator generation means to a desired frequency; and event sensitive means, receiving as an input thereto the oscillating signal having the desired frequency, for sensing a plurality of events occurring simultaneously or nearly simultaneously on an event-sensing panel, wherein the calibration means uses a binary search algorithm to calibrate the oscillator generation means to the desired frequency by; determining a desired clock count corresponding to the desired frequency of the oscillator generation means; setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value; adjusting a first frequency of the oscillating signal according to the first tune bit value; counting a first actual clock count corresponding to the first frequency of the oscillating signal; comparing the first actual clock count with the desired clock count to determine whether the first frequency of the oscillating signal is greater or less than the desired frequency; setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the oscillating signal is greater than the desired frequency; setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the oscillating signal is less than the desired frequency; adjusting a second frequency of the oscillating signal according to the second tune bit value; counting a second actual clock count corresponding to the second frequency of the oscillating signal; selecting the first or second frequency of the oscillating signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and applying the selected first or second frequency of the oscillating signal to at least one sensor node of the event sensitive means. - View Dependent Claims (24, 25)
-
-
26. The circuit for generating the oscillating signal 25, wherein the calibration means uses the binary search algorithm to calibrate the oscillator generation means to the desired frequency by determining the granularity factor by calculating 2 to the power of a value equal to a number of fewer bits used.
-
27. An electronic device comprising:
-
an event sensitive panel configured to receive an oscillating signal and generate an output signal based on the received oscillating signal; an oscillating circuit configured to generate the oscillating signal; and a calibration controller configured to modify a frequency of the oscillating signal by controlling the oscillating circuit, wherein the controller is further configured to use a binary search algorithm to modify the oscillating circuit so that the oscillating signal is at or near a desired frequency, the controller operative for; determining a desired clock count corresponding to the desired frequency of the oscillating circuit; setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value; adjusting a first frequency of the oscillating signal according to the first tune bit value; counting a first actual clock count corresponding to the first frequency of the oscillating signal; comparing the first actual clock count with the desired clock count to determine whether the first frequency of the oscillating signal is greater or less than the desired frequency; setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the oscillating signal is greater than the desired frequency; setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the oscillating signal is less than the desired frequency; adjusting a second frequency of the oscillating signal according to the second tune bit value; counting a second actual clock count corresponding to the second frequency of the oscillating signal; selecting the first or second frequency of the oscillating signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and applying the selected first or second frequency of the oscillating signal to at least one sensor node of the event-sensitive panel. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. The electronic device 36, wherein the calibration controller is configured to use the binary search algorithm to modify the oscillating circuit so that the oscillating signal is at or near the desired frequency by determining the granularity factor by calculating 2 to the power of a value equal to a number of fewer bits used.
-
38. A mobile telephone comprising:
-
an event sensitive panel configured to receive an oscillating signal and generate an output signal based on the received oscillating signal; an oscillating circuit configured to generate the oscillating signal; and a calibration controller configured to control the frequency of the oscillating signal by controlling the oscillating circuit, wherein the calibration controller is further configured to use a binary search algorithm to tune the oscillating circuit so that the oscillating signal is at or near a desired frequency, the controller operative for; determining a desired clock count corresponding to the desired frequency of the oscillating circuit; setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value; adjusting a first frequency of the oscillating signal according to the first tune bit value; counting a first actual clock count corresponding to the first frequency of the oscillating signal; comparing the first actual clock count with the desired clock count to determine whether the first frequency of the oscillating signal is greater or less than the desired frequency; setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the oscillating signal is greater than the desired frequency; setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the oscillating signal is less than the desired frequency; adjusting a second frequency of the oscillating signal according to the second tune bit value; counting a second actual clock count corresponding to the second frequency of the oscillating signal; selecting the first or second frequency of the oscillating signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and applying the selected first or second frequency of the oscillating signal to at least one sensor node of the event sensitive panel. - View Dependent Claims (39, 40, 41)
-
-
42. A portable audio player comprising:
-
an event sensitive panel configured to receive an oscillating signal and generate an output signal based on the received oscillating signal; an oscillating circuit configured to generate the oscillating signal; and a calibration controller configured to control the frequency of the oscillating signal by controlling the oscillating circuit, wherein the calibration controller is further configured to use a binary search algorithm to tune the oscillating circuit so that the oscillating signal is at or near a desired frequency, the controller operative for; determining a desired clock count corresponding to the desired frequency of the oscillating circuit; setting a first tune bit value to a first median value within a first range of tune bit values having a first minimum value and a first maximum value; adjusting a first frequency of the oscillating signal according to the first tune bit value; counting a first actual clock count corresponding to the first frequency of the oscillating signal; comparing the first actual clock count with the desired clock count to determine whether the first frequency of the oscillating signal is greater or less than the desired frequency; setting a second tune bit value to a second median value within a second range of tune bit values having a second minimum value equal to the first minimum value within the first range of tune bit values and a second maximum value equal to the first median value if the first frequency of the oscillating signal is greater than the desired frequency; setting the second tune bit value to the second median value within the second range of tune bit values having the second minimum value equal to the first median value and the second maximum value equal to the first maximum value within the first range of tune bit values if the first frequency of the oscillating signal is less than the desired frequency; adjusting a second frequency of the oscillating signal according to the second tune bit value; counting a second actual clock count corresponding to the second frequency of the oscillating signal; selecting the first or second frequency of the oscillating signal that is closest to the desired frequency by selecting the first or second actual clock count that is closest to the desired clock count; and applying the selected first or second frequency of the oscillating signal to at least one sensor node of the event sensitive panel. - View Dependent Claims (43, 44, 45)
-
Specification