Navigational devices have been used with computers and other types of computing systems for many years. A computer mouse is one example of a navigation device. With a mechanical computer mouse, a ball rolls over a mouse pad as the mouse is moved. Interior to the mouse are wheels that contact the ball and covert its rotation into electrical signals representing orthogonal components of motion.
Another type of computer mouse is an optical mouse.
The type and texture of surface 108 can impact how effectively motion detector 104 determines the speed and distance of mouse 100. For example, a rough or patterned surface can make it easier for motion detector 104 to determine the velocity of mouse 100, because differences in the images are more easily discernable. Other types of surfaces, such as glass surfaces, can make it more difficult for motion detector 104 to determine the velocity of mouse 100. Because glass is a transparent material, it typically does not have a sufficient amount of detectable imperfections or patterns that may be used to determine the speed and distance of navigation device 100.
In accordance with the invention, methods and systems for measuring speckle translation with spatial filters are provided. Two or more spatial filters are used in determining velocity based on speckle translation. A light source may be turned on, turned off, or both for a variable amount of time during operation. The velocity may then be determined with trend identification, correlation, recursive frequency estimation, or measurement bandwidth variation. A confidence level may also be calculated for the measured velocity, and the measured velocity reported or used only when the calculated confidence level meets or exceeds a given value.
The invention will best be understood by reference to the following detailed description of embodiments in accordance with the invention when read in conjunction with the accompanying drawings, wherein:
The following description is presented to enable one skilled in the art to make and use embodiments in accordance with the invention, and is provided in the context of a patent application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the generic principles herein may be applied to other embodiments. Thus, the invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the appended claims and with the principles and features described herein.
With reference to the figures and in particular with reference to
The spatial filter shown in
The I and Q channels output from spatial filter 302 are input into optional capture and control unit 304, which stores an electrical charge for each signal. In one embodiment in accordance with the invention, capture and control unit 304 includes an electronic shutter connected to several sense capacitors (not shown). When the electronic shutter is open, charge accumulates on the sense capacitors. When the electronic shutter is closed, charge does not accumulate on the sense capacitors or is lost from the sense capacitors.
A multiplexer (not shown) is connected to each sense capacitor and transmits the charge accumulated on each capacitor to velocity measurement unit 306. Velocity measurement unit 306 determines the motion or velocity of mouse 300. Velocity measurement unit 306 is described in more detail in conjunction with
Signals output from velocity measurement unit 306 may be received by optional analysis unit 308. Analysis unit 308 receives the signals from velocity measurement unit 306 and, when appropriate, outputs one or more velocity measurements for optical navigation device 300. Analysis unit 308 is described in more detail in conjunction with
Capture and control unit 304 also controls light controller 310, which provides power to light source 102 to turn light source on and off. Light controller 310 may also vary the intensity of light source 102 as well as the amount of time light source 102 is on, off, or both. Techniques for controlling light source 102 are described in more detail in conjunction with
Referring to
The I and Q channels output from spatial filter 402 are input into PQD 404. PQD 404 generates a pulse every time a transition is made in either the forward (+) or backward (−) direction. It is assumed in one embodiment in accordance with the invention that the transitions move in a clockwise or counter-clockwise direction. Any transitions contrary to this assumption are then ignored. This assumption may be used to reduce spurious noise when determining velocity.
The pulses output from PQD 404 are transmitted to buffer 406 via line 412. Controller 408 analyzes the pulses in buffer 406 to determination if there is a trend in the pulses. A trend occurs when a pre-determined number of similarly signed pulses (“+” or “−”) are output from PQD 404. In an embodiment in accordance with the invention, the pre-determined number of similarly signed pulses ranges from three to ten.
The factors that affect the pre-determined number similarly signed pulses that constitute a trend can include: the system and application, the complexity of processing the pulses, and the need to reduce the amount of spurious data input into measurement circuit 410. For example, when the optical devices in optical navigation device 400 are manufactured and aligned pursuant to tighter optical tolerances, less data may be required to determine the velocity. However, increasing the quality and alignment requirements typically increases the cost of optical navigation device 400 because more resources are typically required to design and construct optical navigation device 400.
Another factor is the size of buffer 406, which determines the number of pulses that may be stored. But as the number of stored pulses increases, so does the complexity of processing the pulses because more pulses are analyzed and processed. Increased complexity typically results in increased design and construction costs for optical navigation device 400.
If controller 408 detects a trend in the pulses, one or more pulses are transmitted to measurement circuit 410 via line 414. The velocity is then calculated by measurement circuit 410 and transmitted to a computing device (not shown). In one embodiment in accordance with the invention, measurement circuit 410 calculates the speed as inversely proportional to the average time between the successive or consistent output pulses of PQD 404 and determines the direction of motion which is given by the sign of the pulses.
In one embodiment in accordance with the invention, controller 408 stores one or more rules in memory 416. A rule defines adjustments or control parameters for the buffered pulses. Rules are designed to optimize the data output from PQD 404. When determining whether a trend in the pulses is present, controller 408 may apply one or more rules to the pulses stored in buffer 406 in some embodiments in accordance with the invention.
The sign of the pulses output from PQD 404 on line 412 are illustrated in
Groups 504, 506, 508 also do not have three similarly signed pulses, so buffer 406 does not output a pulse on line 414. The pulses in group 510, however, have the signs “−−−”. Buffer 406 therefore outputs a pulse having a “−” sign on line 414.
The pulses in group 500 all have a “+” sign, so a pulse with a “+” sign is transmitted on line 414. The pulses in the group 502 have the signs “++−”. Using the rule described above, controller 408 modifies the signs in group 502 to “+++”, and a pulse with a “+” sign is output on line 414.
The pulses in the group 504 have the signs “+−+”, so controller 408 modifies the signs to “+++” and a pulse with a “+” sign is output on line 414. The pulses in the group 506 have the signs “−+−”, so the signs are modified to “−−−” and a pulse with a “−” sign is output on line 414. The pulses in the group 508 have the signs “+−−”, so controller 408 modifies the signs to “−−−” and a pulse with a “−” sign is output on line 414. And finally, the pulses in group 510 all have a “−” sign, so a pulse with a “−” sign is transmitted on line 414. Although
Referring now to
Peak detector 712 receives the correlated signal on line 710 and generates an output signal on line 714. The correlated signal 710 is also input into controller 716, which shifts one of the signals in correlator 708 in a particular direction relative to the other signal. A signal is shifted in the forward direction and in the backward direction in an embodiment in accordance with the invention. The sign of the shift provides the direction of the motion for the optical navigation device and the correlation distance between the two signals is inversely proportional to the speed of the motion.
In an embodiment in accordance with the invention, the recursive frequency estimation begins by representing each of the I and Q channels as a complex number at time n by x[n]. Assuming x[n]=Aejwn, where j=√−1, x[n] may then be rewritten as x[n]=ejwx[n−1]. The parameter west is selected to minimize the result from the equation for the sum of the squared errors,
By differentiating the equation, the estimate becomes
where
where
The results of the recursive frequency estimation (A[N−1] and B[N−1]) are then stored in a memory, as shown in block 804. The velocity is then determined at block 806 and a determination is made as to whether the process should continue (block 808). If the process should continue, the method returns to block 800 and repeats until it is no longer desirable or necessary to continue.
Referring to
Charge accumulator 908 receives the I and Q signals and stores an electrical charge for each signal. Integrator 910 integrates the stored signals and inputs the integrated signals into amplifier 912. The output of amplifier 912 is then input into analog-to-digital converter (ADC) 914. ADC 914 generates a digital output on line 916 corresponding to the voltage level output from amplifier 912.
Controller 918 also receives the output from amplifier 912 and compares the frequency of the output signal with an expected frequency. In one embodiment in accordance with the invention, one or more expected frequencies are stored in memory 920. In another embodiment in accordance with the invention, the expected frequency or frequencies are input into controller 918 via signal line 922. Based on the comparison of each output frequency with a corresponding expected frequency, controller 918 adjusts the clock rate for integrator 910, which increases or decreases the measurement bandwidth of integrator 910 and possibly the gain value.
Adjusting the measurement bandwidth allows optical navigation device 902 to relate the measurement bandwidth to its velocity. For example, the measurement bandwidth may be adjusted to a lower value when optical navigation device 902 is moving slowly. This provides integrator 910 with more charge because the integration time of integrator 910 is increased. The measurement bandwidth can then be adjusted to a higher value when optical navigation device 902 is moving faster.
A technique for implementing a velocity-based variable frame rate is disclosed in commonly assigned United States Patent Application Publication US 2004/0130532 A1, published on Jul. 8, 2004 and incorporated herein by reference. A disclosed embodiment includes a shutter controller connected between charge accumulator 908 and controller 918. The shutter controller receives the output from ADC 914 and checks the values of the digital data (e.g., one to eight bits) to determine whether there are too many minimum values or too many maximum values. If there are too many minimum values, controller 918 increases the charge accumulation time or the intensity of the light source. If there are too many maximum values, controller 918 decreases the charge accumulation time or the intensity of the light source.
The confidence level may be computed using one of several techniques. An embodiment in accordance with the invention determines the probability of a new measurement based on the previous measurement. The method can also consider how the human body functions and changes its motion. Another embodiment may use a noise estimation algorithm to compute a confidence level. Yet another embodiment in accordance with the invention may calculate a confidence level by determining the deviation of the recent measurements from expected or previous measurements. And in yet another embodiment a combination of the techniques is used to compute the confidence level.
One or more factors may be considered when determining each variable illumination and non-illumination interval of time. For example, an interval may be based on a current measurement, the confidence level of a current measurement, the present motion of the optical navigation device, or on a power saving mode that reduces power consumption by decreasing the duty cycle of the light source. In an embodiment in accordance with the invention, velocity measurements during non-illumination intervals or during drop-outs are estimated by interpolation. In other embodiments in accordance with the invention, velocity measurements during non-illumination intervals or during drop-outs are assumed to be constant or stops (i.e., no movement).
A drop-out occurs when the confidence level of the signal falls below a given value. Several factors can result in a poor quality signal that causes the confidence level to fall below the given value. For example, the optical navigation device may travel over a section of the surface that produces a low signal level or the movement of the navigation device causes the signal level to fluctuate wildly.
Referring now to
If a user has not selected a scheme, the process passes to block 1202 where the velocity measurements are made with a default scheme. The default scheme may be set, for example, by a computer or device manufacturer. If the user has selected a scheme, the process passes to block 1204 where the velocity measurements are made according to the selected scheme.
A determination is then made at block 1206 as to whether the scheme should be changed. In an embodiment in accordance with the invention, a user changes the scheme manually based on the user's preferences. In another embodiment in accordance with the invention, the scheme changes automatically based on the motion of the optical navigation device, the current confidence level in the signal, or the application in use by the user. For example, a gaming program may require a user to move the optical navigation device very quickly and in a variety of directions. A system may use an illumination scheme consistent with this type of motion. But the same user may not move the navigation device much when running a word processing program. Thus, the system can select a scheme appropriate to this level of motion. Also, the timing scheme may change when the confidence level falls below a given value. When the confidence level falls below the given value, the timing scheme may change to a scheme that has a higher number of illumination periods to allow an increase in the number of measurements.
If the scheme should not be changed, the process passes to block 1208 where the velocity measurements are obtained using the current scheme and the method returns to block 1206. If the scheme should be changed, the process continues at block 1210 where the velocity measurements are computed at the new scheme. The method then returns to block 1206.
Although the embodiments above have been described with reference to an optical navigation device, embodiments in accordance with the invention are not limited to this application. The invention may be implemented in any embodiment that determines velocity through speckle translation. Examples of other applications include, but are not limited to, other pointing devices such as trackballs and the measurement of the velocity of a surface or fluid. In addition, the speckle can be created using a coherent light source and its interaction with a rough surface or with an incoherent light on a surface that has been printed, embossed or embedded with regions that create a speckle like reflectance or transmittance.
Number | Date | Country | |
---|---|---|---|
Parent | 11016651 | Dec 2004 | US |
Child | 12624091 | US |