1. Field of the Invention
The present invention relates to an optical navigation chip, and in particular to an optical navigation chip appropriate for an optical pointing device.
2. Description of the Related Art
A mouse is a commonly used input device. A wheel mouse processes a displacement signal, a button signal, and an interface signal and communicates with a computer via a PS2 interface, a universal serial bus (USB) interface, or a wireless communication interface using the mechanical structure of its wheel and a micro-controller chip. An optical mouse replaces the mechanical structure of the wheel mouse with a complementary metal oxide semiconductor (CMOS) photo sensor chip capable of optical navigation. Capable of digital signal processing (DSP), the CMOS photo sensor chip is able to integrate with the functionality of the micro-controller chip of the wheel mouse, thus becoming a system-on-chip (SoC) chip offering reduced cost and power consumption.
Moreover, the CMOS photo sensor chip calculates a correlation between images captured at different times for determining a displacement of the optical mouse. Therefore, the quality of images can influence the calculation result. The quality of images is affected by environmental noise, focus errors, and un-uniform light sources. Thus, an additional circuit is necessary on the SoC chip for determining quality of the images.
Accordingly, an object of the present invention is to provide an optical navigation chip, appropriate for an optical pointing device, for calculating a displacement of the optical navigation chip relative to an operating surface, comprising a photo sensor array driven by a photo sensor control circuit for detecting an image of the operating surface, a signal readout circuit coupled with the photo sensor array for reading out the image in analog format, an analog-to-digital conversion (ADC) circuit coupled with the signal readout circuit for converting the image from analog format to digital format, an image qualification circuit coupled with the ADC circuit for determining quality of the image and outputs a quality index accordingly, and a motion detection circuit for output of the displacement according to the quality index.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The signal readout circuit 102 is coupled with the photo sensor array 101 and reads out the image in analog format. The commonly used read-out technique is correlation double sampling (CDS) technique, as disclosed in U.S. Pat. Nos. 6,433,632, 6,248,991, 6,018,364, and 5,877,715 for providing lower fixed pattern noise (FPN). In addition, the signal readout circuit 102 includes a programmable gain amplifier (PGA, not shown in drawings) for amplifying the image. Then, the ADC circuit 103 coupled with the signal readout circuit 102 converts the image from analog format to digital format and outputs the converted image to the image qualification circuit 104. The photo sensor control circuit 109 is coupled with the photo sensor array 101, the signal readout circuit 102, and the ADC circuit 103 and generates required control signals thereto respectively.
The image qualification circuit 104 determines the real-time quality of one image and outputs quality indexes accordingly. The quality index indicates whether the quality of the image is acceptable. The image qualification circuit 104 can use the calculated quality data from one image as quality index or calculates an average value of more than one image quality data to generate the quality index. Alternatively, the image qualification circuit 104 determines the quality of only a single image, eliminating the need to measure more than one image and store images in a buffer. Generally, one dimension of the image is taken to determine the quality thereof. For example, all photo sensor elements of the photo sensor array 101 in X direction are analyzed, or all photo sensor elements in Y direction are analyzed in the same way.
When a user moves the optical mouse from a first position to a second position, an image is captured by the photo sensor array 101 in accordance with the first position and processed to be a template image in digital format by the signal readout circuit 102, the ADC circuit 103, and the image qualification circuit 104. If the template image is not acceptable or the template image is not clear enough to meet the quality requirement, a new image is captured to generate a new template image. When the user moves the optical mouse to the second position, another image is captured by the photo sensor array 101 in accordance with the second position and processed to be a current image in digital format by the signal readout circuit 102, the ADC circuit 103, and the image qualification circuit 104. The motion detection circuit 106 is coupled with the ADC circuit 103 and the image qualification circuit 104. The motion detection circuit 106 receives the current image in digital format from the ADC circuit 103 and calculates correlation between the template image and the current image, to obtain a displacement of the optical navigation chip 10 relative to an operating surface. There are various acceptable methods with the “block match method”, being commonly used to determine the displacement of the optical navigation chip 10. This method finds a matching frame block generated from a matching function, mean squared error (MSE) or mean absolute difference (MAD), then uses the matching frame blocks to calculate the displacement of the optical navigation chip 10. The U.S. patent application No. US2,002,000,108,041 “Method for Detecting Movement of Image Sensors” also discloses a method to calculate displacement.
Finally, the motion detection circuit 106 determines whether to output the displacement according to a quality index received from the image qualification circuit 104. If the quality index indicates the quality of the current image is acceptable, the motion detection circuit 106 outputs the displacement to the next stage circuit. If not, the motion detection circuit 106 calculates an average value of previous displacements and outputs the average value to the next stage circuit.
The interface circuit 108 processes the displacement received from the motion detection circuit 106 according to an interface specification, and then outputs an interface output value. The interface specification is a PS2 interface specification, a universal serial bus (USB) interface specification, or a wireless communication interface specification. The interface output value contains digital information for further procedures in another device. For example, the interface output value is output to a personal computer and used for moving a pointer on a screen. In addition to the displacement, the interface circuit 108 packages other information in the interface output value according to the interface specification, such as button actions or z-axis wheel actions of the optical mouse.
The interface specification is embodied as a circuit to be integrated in the interface circuit 108. Alternatively, the interface circuit 108 has a storage unit and a processing unit, thus the interface specification can be stored in the storage unit as firmware. The processing unit processes the displacement received from the motion detection circuit 106 according to the interface specification stored in the storage unit, and then outputs an interface output value.
For better performance, the image processing circuit 105 can be integrated in the optical navigation chip 10. The image processing circuit 105 coupled between the ADC circuit 103 and the motion detection circuit 106, processes the current image output from the ADC circuit 103 according to an image processing formula, and outputs the result to the motion detection circuit 106. Typically, the image processing formula is used for filtering or compressing the current image.
For better performance, the locus processing circuit 107 can be integrated in the optical navigation chip 10. The locus processing circuit 107 coupled between the motion detection circuit 106 and the interface circuit 108, processes the displacement output from the motion detection circuit 106 according to a locus processing formula, and outputs the result to the interface circuit 108. Typically, the locus processing formula is used for converting a resolution of the displacement or smoothing a locus of the displacement.
In conclusion, the optical navigation chip 10 of the present invention has digital signal processing (DSP) ability and is able to integrate with the functionality of the micro-controller chip of the wheel mouse, thus becoming a system-on-chip (SoC) chip. Moreover, the optical navigation chip 10 has an image qualification circuit 104 for determining quality of the image and outputting a quality index accordingly for the next stage circuit.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
92137306 A | Dec 2003 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5877715 | Gowda et al. | Mar 1999 | A |
6018364 | Mangelsdorf | Jan 2000 | A |
6248991 | Chen et al. | Jun 2001 | B1 |
6433632 | Nakamura et al. | Aug 2002 | B1 |
6853904 | Matsuo et al. | Feb 2005 | B2 |
20020063807 | Margulis | May 2002 | A1 |
20030201978 | Lee et al. | Oct 2003 | A1 |
20040021637 | Ahn | Feb 2004 | A1 |
20040085475 | Skow et al. | May 2004 | A1 |
20040107070 | Anderson et al. | Jun 2004 | A1 |
20050001817 | Lauffenburger et al. | Jan 2005 | A1 |
20050024336 | Xie et al. | Feb 2005 | A1 |
20050083303 | Schroeder et al. | Apr 2005 | A1 |
20050110746 | Hou | May 2005 | A1 |
Number | Date | Country |
---|---|---|
423251 | Feb 2001 | TW |
529289 | Apr 2003 | TW |
562376 | Nov 2003 | TW |
Number | Date | Country | |
---|---|---|---|
20050139944 A1 | Jun 2005 | US |