WO2002003369A1 - Dual layer optical ball for pointing device with texture sensing - Google Patents

Dual layer optical ball for pointing device with texture sensing Download PDF

Info

Publication number
WO2002003369A1
WO2002003369A1 PCT/US2001/020802 US0120802W WO0203369A1 WO 2002003369 A1 WO2002003369 A1 WO 2002003369A1 US 0120802 W US0120802 W US 0120802W WO 0203369 A1 WO0203369 A1 WO 0203369A1
Authority
WO
WIPO (PCT)
Prior art keywords
ball
inner layer
light
sensor
pointing device
Prior art date
Application number
PCT/US2001/020802
Other languages
French (fr)
Inventor
Rene Sommer
Marc Bidiville
Original Assignee
Logitech, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Logitech, Inc. filed Critical Logitech, Inc.
Priority to AU2001273086A priority Critical patent/AU2001273086A1/en
Publication of WO2002003369A1 publication Critical patent/WO2002003369A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means
    • G06F3/0317Detection arrangements using opto-electronic means in co-operation with a patterned surface, e.g. absolute position or relative movement detection for an optical mouse or pen positioned with respect to a coded surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03549Trackballs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/033Indexing scheme relating to G06F3/033
    • G06F2203/0338Fingerprint track pad, i.e. fingerprint sensor used as pointing device tracking the fingertip image

Definitions

  • the present invention relates to dual layer optical balls for use with pointing devices for cursors on displays for personal computers, workstations and other computing devices having cursor control devices, and more particularly relates to optical devices and methods for translating rotation of a patterned ball over optical elements or movement of an optical device over a patterned surface into digital signals representative of such movement.
  • Pointing devices such as mice and trackballs
  • Such pointing devices allow rapid relocation of the cursor on a display screen, and are useful in many text, database and graphical programs.
  • Perhaps the most common form of pointing device is the electronic mouse; the second most common may well be the trackball.
  • the user controls the cursor by moving the mouse over a reference surface; the cursor moves a direction and distance proportional to the movement of the mouse.
  • some electronic mice use reflectance of light over a reference pad, and others use a mechanical approach
  • most prior art mice use a ball which is on the underside of the mouse and rolls over the reference surface (such as a desktop) when the mouse is moved.
  • the ball contacts a pair of shaft encoders and the rotation of the ball rotates the shaft encoders, which historically includes an encoding wheel having a plurality of slits therein.
  • a light source often an LED
  • a photosensor such as a phototransistor
  • Rotation of the encoding wheel therebetween causes a series of light pulses to be received by the photosensor, by which the rotational movement of the ball can be converted to a digital representation useable to move the cursor.
  • a quadrature signal representative of the movement of the mouse is generated by the use of two pairs of LED's and photodetectors.
  • the quality of the quadrature signal has often varied with the matching of the sensitivity of the photosensor to the light output of the LED. In many instances, this has required the expensive process of matching LED's and photodetectors prior to assembly.
  • varying light outputs from the LED can create poor focus of light onto the sensor, and extreme sensitivity of photosensor output to the distance between the LED, the encoding wheel, and the photosensor.
  • the present invention substantially overcomes the foregoing limitations of the prior art by providing a ball for use in a pointing device, e.g., a trackball or mouse, that includes at least two layers.
  • the outer layer having a substantially smooth surface to enable the ball to move smoothly within the pointing device.
  • the outer layer being transparent to a light signal of a particular frequency that can be used in conjunction with the ball to detect ball movement.
  • the inner layer includes a texture that diffuses light signals at different intensities.
  • Conventional balls used in pointing devices utilize a printed pattern. This movement of the ball, and thus the printed pattern, is detected by a sensor that translates the movement into a signal that can be used to move a cursor or otherwise indicate movement on a visual display, for example a computer screen. The printed ball is then polished in order to move easily in the pointing device.
  • FIG. 1 shows in exploded view an electronic trackball according to one embodiment of the present invention.
  • FIG. 2 A shows a generalized cross-sectional side view of the ball cage and ball according to one embodiment of the present invention.
  • FIG. 2B shows a more detailed cross-sectional side view of the ball cage and ball according to one embodiment of the present invention including light paths.
  • FIG. 3 shows in schematic block diagram form the circuitry of a single pixel according to one embodiment of the present invention.
  • FIG. 4 shows an array of four of the block diagrams of FIG. 3, thus showing the interrelationship between the pixels according to one embodiment of the present invention.
  • FIG. 5 A shows in schematic block diagram form the circuitry used for cursor control according to one embodiment of the present invention.
  • FIG. 5B shows in schematic block diagram form the signal conditioning circuitry of FIG.
  • FIGS. 6A-6B show in flow diagram form the operation of the firmware which controls the logic of FIGS. 3 and 4 according to one embodiment of the present invention.
  • FIG. 7A shows in exploded perspective view a second embodiment of a trackball according to one embodiment of the present invention.
  • FIG. 7B shows in three-quarter perspective view the assembled elements of FIG. 7 A according to one embodiment of the present invention.
  • FIG. 8 A shows in side elevational view the assembly of FIGS. 7A-B according to one embodiment of the present invention.
  • FIG. 8B shows in cross-sectional side view the assembled components shown in FIGS. 7A-
  • FIGS. 9A-9D show in side elevational, bottom plan, top plan and cross-sectional side view the ball cage shown generally in FIGS. 7A-8B according to one embodiment of the present invention.
  • FIGS. 10A-10D show in side elevational, top plan, bottom plan and cross-sectional side view the upper opto housing shown generally in FIGS. 7A-8B according to one embodiment of the present invention.
  • FIGS. 11 A-l ID show in side elevational, top plan, bottom plan and cross-sectional side view the lower opto housing shown generally in FIGS. 7A-8B according to one embodiment of the present invention.
  • FIG. 12A shows in simplified cross-sectional side view the operation of the optics according to one embodiment of the present invention.
  • FIG. 12B shows in simplified cross-sectional side view an arrangement of a lateral sensor according to one embodiment of the present invention.
  • FIG. 12C shows is simplified cross-sectional side view the operation of the optics according to one embodiment of the present invention.
  • FIG. 13 shows in block diagram form the components of the lateral sensor according to one embodiment of the present invention.
  • FIG. 14 shows in schematic block diagram form the interface logic included within the sensor of FIG. 13 according to one embodiment of the present invention.
  • FIG. 15 shows in state diagram form the operation of the state machine included within the interface logic of FIG. 14 according to one embodiment of the present invention.
  • FIG. 16 illustrates the arrangement of pixels within the pixel matrix of the sensor of FIG. 13 according to one embodiment of the present invention.
  • FIG. 17A illustrates in schematic form the logic associated with each type P pixel in FIG. 16 according to one embodiment of the present invention.
  • FIG. 17B depicts two images of the ball on the pixel matrix at times t and t-1 according to one embodiment of the present invention.
  • FIG. 18 shows in schematic diagram form the operation of the bidirectional pad of FIG. 13 according to one embodiment of the present invention.
  • FIGS. 19A and 19B show timing diagrams for the embodiment of FIG. 15 during various phases of operation according to one embodiment of the present invention.
  • FIG. 20A shows in exploded perspective view according to a third embodiment of the present invention.
  • FIG. 20B shows in top plan view the third embodiment of the present invention.
  • FIG. 20C shows in front elevational view the third embodiment of the invention.
  • FIG. 20D shows in back elevational view the third embodiment of the invention.
  • FIG. 20E shows the third embodiment in side elevational view.
  • FIG. 21 A shows in three-quarter perspective view the ball cage of the third embodiment.
  • FIG. 21B shows in cross-sectional side view the ball cage and optical elements of the third embodiment.
  • FIG. 21C shows the ball cage in rear elevational view according to one embodiment of the present invention.
  • FIG. 2 ID shows a portion of the ball cage in relation to a ball according to one embodiment of the present invention.
  • FIG. 22 shows in cross-sectional side view a fourth embodiment of the invention not requiring a ball.
  • FIGS. 23A-B show in exploded perspective view the optical components of a fifth embodiment of the invention.
  • FIG. 23 A is a wire frame view, with no hidden lines, to show additional structural features, while FIG. 23B is a more conventional perspective view.
  • FIG. 24A is a cross section of the dual-layer trackball according to one embodiment of the present invention.
  • FIG. 24B is a more detailed illustration of a portion of the dual-layer trackball according to one embodiment of the present invention.
  • the trackball 10 includes an upper housing 20, a printed circuit board 30 close to which a ball cage 40 is juxtaposed, a lower housing 50, a ball 60, and a plurality of buttons 70 located on the upper housing 20 which actuate associated switches 80.
  • the switches 80 are normally located on the circuit board 30.
  • the ball cage 40 typically is mounted on the PCB 30, although in some instances it can be mounted on a housing member.
  • the printed circuit board 30 includes circuitry for operating on the signals provided by a sensor and associated logic (see FIGS. 3 and 4). Thus, movement of the ball in the trackball is in turn converted into digital signals which control the cursor on the screen of an associated personal computer, terminal or workstation.
  • the printed circuit board will typically include a microprocessor and related driver circuitry for sending and receiving standard serial communications, such as RS232 signals.
  • the signals provided by the mouse will be compatible with PS/2 ports.
  • a ball cage 40 (shown in cross-section) and a ball 60 according to the present invention are shown.
  • the combination of ball 60 and ball cage 40 are markedly different from the prior art and form a key aspect of the present invention.
  • the ball 60 can be seen to have a plurality of randomly shaped markings thereon in a color which contrasts with the background, such that the overall effect is a randomly speckled ball.
  • a typical ball may, for example, have black spots on an otherwise white ball, although many other color combinations would be acceptable.
  • the ball may be illuminated by infrared, ultraviolet or other non-visible light, in which case the speckles may be implemented in a manner which is visible to the associated light source but opaque to visible light.
  • the speckles may be implemented in a manner which is visible to the associated light source but opaque to visible light.
  • a coating on the ball which is opaque, for example black, in the visible spectrum, but transparent to infrared light, with appropriate speckles beneath the coating.
  • the markings for this embodiment typically will range in size from 0.5 mm 2 to 0.7 mm 2 , with a density of about one spot per square millimeter.
  • the ball may be on the order of 10 mm in diameter, although the diameter could range from 5 mm or smaller to larger than 50 mm.
  • FIG. 2B which shows a more detailed cross-sectional view of the ball and ball cage taken along the centerlines thereof, the ball cage 40 includes at least one (FIG. 2A), and in some cases two or more (FIG.
  • light sources 200 such as an LED, which produces light that impinges on the ball 60.
  • the LED or other light source may include an integrally formed lens.
  • the light from the light sources 200 is preferably reflected and diffused off the inside surface 205 of the outer wall 210 of the ball cage 40, and is partially blocked by an interior wall 215 from striking directly the ball 60.
  • the inside surface 205 may be, for example, the inside surface of a sphere. In this manner the light from the light sources 200 is distributed relatively uniformly across a predetermined portion of the ball, while at the same time the light is caused to strike the ball obliquely, providing illumination of the ball and allowing light to light diffusely a sensor.
  • the ball includes at least two layers as illustrated in FIG. 24 A.
  • the outer layer 2404 is substantially smooth and rolls freely on the rollers or other bearing device.
  • the outer layer can be made of any material that is transparent to the radiation frequency used by the light source 200 and detected by sensor(s).
  • the outer layer can be opaque to visible light but transparent to infrared radiation or ultraviolet radiation.
  • the materials that may be used to form the outer surface include an epoxy.
  • other hard materials or paints can also be used, e.g., polyurethane.
  • the outer layer 2404 is polished using conventional techniques such that it is substantially smooth.
  • One technique for polishing the outer layer 2404 is to have the outer layer be thicker than necessary initially.
  • the outer layer 2404 is then rectified with a conventional centerless grinding technique and then polished with various abrasive pastes having finer and finer grains.
  • An alternative method is to place a batch of balls 2400 in a drum with abrasive sand and rotate the drum like a thumbler. After some time the balls are smoother. The time to stop is determined by measuring the diameter of the balls, when they reach a given value. The balls are washed and placed in another drum containing finer grain abrasive. Smaller and smaller layers are removed, getting closer and closer to the specified diameter. As this occurs the outer layer 2404 becomes smoother.
  • the balls 2400 are then polished with polishing paste, which may be similar to conventional car polish.
  • the outer layer should be substantially smooth so that it moves smoothly on the bearings of the pointing device, e.g., a trackball or mouse, when operated by the user. A surface that is not substantially smooth would result in difficulties in mechanical movement of the ball.
  • the inner layer 2402 of the ball 2400 can be made of one or more of a variety of materials.
  • One selection criteria is to use an inexpensive material. Examples of such materials include polyester, phenolic resin, epoxy, steel, aluminum, glass or a combination.
  • the outmost layer should be of a contrasting color with the color chosen for the pattern or with characteristics such that when lighted, some areas are of different light intensity than others. For example some areas will be diffusing light received from the source and other will not receive light and accordingly will appear black because these areas will not diffuse the light.
  • one embodiment of the present invention detects movement of the inner layer 2402.
  • a light signal is transmitted through the outer layer 2404, strikes the inner layer and is reflected and scattered (diffused). These reflected and diffused portions of the signal are received by a sensor, either a conventional sensor or the sensor described below, which detects changes in the patterns on the surface of the inner layer.
  • this surface of the inner layer included printed patterns.
  • printed patterns and the associated costs associated with printing the patterns
  • the surface of the inner layer is not polished. As a result the surface of the inner layer 2402 has a non-smooth texture. This is shown in more detail in FIG. 24B.
  • FIG. 24B is a more detailed illustration of a portion of the dual-layer trackball according to one embodiment of the present invention.
  • This texture 2406 need only provide the sensor with characteristics (lines, pits, etc.) that can be tracked.
  • the generation of the ball using a conventional process creates the required texture 2406.
  • One technique for making the ball is to create the ball core 2404 using a mix of a liquid material with solid particles of a contrasting color. After solidification of the liquid material, the core is rectified so that the solid particles become visible, separated by areas filled with the solidified material.
  • An alternative technique is to inject a ball with the outer surface of the inner layer 2402 including small protuberances, e.g., similar to conventional ping pong paddles (although on a smaller scale), or having many small holes.
  • the transparent outer layer 2404 coating When the transparent outer layer 2404 coating is applied, it fills the gaps and then covers uniformly the surface of the ball. It will be apparent that many other techniques can be used to create the ball. In contrast to conventional techniques, the inner layer 2402 is not polished in order to ensure the texture is present. Another embodiment of the present invention is to modify the manufacturing process for making the ball. In the manufacturing process the inner layer of the ball 2402 is injected with particles of a different material, or any material having a different reflection characteristic. For example, thermo hardening materials can be used like phenolic resin, polyester, epoxy, which, once polymerized, don't melt. It is then possible to mix hard particles with the monomere of the same material in the liquid form and then perform the polymerization of the liquid portion.
  • thermo hardening materials can be used like phenolic resin, polyester, epoxy, which, once polymerized, don't melt. It is then possible to mix hard particles with the monomere of the same material in the liquid form and then perform the polymerization of the liquid portion.
  • the particles are injected such that they are, at a minimum, positioned over the surface of the inner layer 2402.
  • the different reflective characteristics enable the sensor(s) to detect the movement of the inner layer 2402. It is preferable for the particles to be distributed such that small movements of the ball 2400 are detectable.
  • Another embodiment of the present invention is to create the inner layer using a mold such that the inner layer 2402 includes lines, dots, dimples or other characteristics that causes differences in light reflection as the ball rotates.
  • the molding is accomplished using conventional techniques.
  • Another embodiment of the present invention is to have the both the outer layer 2404 and inner layer 2402 made of a material, or materials, that are transparent to the radiation frequency generated by the light source 200 (the radiation of the light source can be outside of the visible spectrum, can be part of the visible spectrum or a combination).
  • the inner layer 2402 includes a pattern profile on its surface, e.g., protuberances or holes.
  • the valleys of the profile may be filled with a reflective material (and non-transparent material).
  • the operation of the ball is as follows: if the valleys are filled with a color contrasting with the peaks, the patterns include areas that either diffuse light or absorb light. The movement of these areas are detected using a conventional sensor or the sensor described below.
  • the valleys are filled with transparent material, the sides of the peaks that receive the light from the LED are diffusing light. The other sides of the peak do not.
  • the inner layer 2402 may include one or more particles of a material that have different reflective characteristics of the base inner layer material such that when the radiation strikes the particles the radiation is diffused differently from any diffusion that may be caused by the inner layer.
  • the pointing device can include different cages, sensors, bearings, light sources, etc.
  • the sensors and ball tracking devices and techniques described below are merely exemplary. It will be apparent to persons of ordinary skill in the art that the present invention will operate in conjunction with many different sensors, photodetectors, LEDs, cages, etc.
  • the ball is maintained in a rotatable position by a plurality of supports 150, which may for example be rollers of a conventional type, or may be jeweled bearing surfaces of the type disclosed in U.S. patent application Ser. No. 07/820,500, entitled Bearing Support for a Trackball, filed Jan. 14, 1992, now abandoned, and assigned to the same assignee as the present invention, incorporated herein by reference.
  • supports 150 may for example be rollers of a conventional type, or may be jeweled bearing surfaces of the type disclosed in U.S. patent application Ser. No. 07/820,500, entitled Bearing Support for a Trackball, filed Jan. 14, 1992, now abandoned, and assigned to the same assignee as the present invention, incorporated herein by reference.
  • a plurality, typically three, such rollers are provided to ensure uniform support for the ball 60.
  • a removable cover may be provided in some embodiments to permit readily insertion and removal of the ball 60; while such a removable cover is at present believed preferable, to permit cleaning of the ball and the inside of the pointing device, in at least some embodiments such a removable cover is unnecessary.
  • a photodetector array 220 is located centrally between the light sources 200 in a chamber 222 formed within a housing 224. A portion of the light which strikes the ball 60 is diffusely reflected into the array 220 through an optical element 225. The result is that an image of at least a portion of the illuminated surface of the ball is formed on the array 220.
  • the ball cage includes no shaft encoders, nor does it include the matched light source and photodetector typical of prior optomechanical mice.
  • the optical element 225 is typically fixed in location between the housing 224 and an aperture housing 228 of which the interior wall 215 forms the outside surface.
  • An aperture 229 is provided in the aperture housing 228 to permit the diffuse light reflected off the ball 60 to reach the optical element 225, and then the photosensitive array 220.
  • the photodetector array 220 will typically range in overall size from 1. times.1 mm to 7.times.7 mm, with each detector segment, or pixel, 220A-220n having dimensions in the range of 20 x 20 ⁇ m to 300 x 300 ⁇ m or more, where the exact dimensions are determined by the size of the overall array and the size of the individual detector. In the exemplary embodiments discussed herein, each pixel is on the order of 300 x 300 ⁇ m. As will be discussed hereinafter in connection with FIGS.
  • each pixel includes a photodetector element and associated circuitry for conditioning the output of the photodetector element into a signal useable external to the array.
  • the diameter of the ball (or other pattern) area whose image is projected on the sensor and used for detection corresponds to the detector field diameter, and thus determines the maximum field angle to be covered by the optics.
  • a typical ball area diameter viewable for detection may be on the order of 2.8 mm, which represents a field of 6.2 mm 2
  • the array 220 may comprise a matrix of 8. times.8 detectors 220 A-n, although other embodiments described hereinafter may use a matrix of 11.times.11 detectors.
  • the individual detectors may be arranged in a circle or hexagon.
  • the detectors may be arranged across the area of the element, or may be positioned around the circumference, such as the circumference of a circle, where the contrast and resolution are more constant and thus give the best performance at the lowest cost.
  • a square matrix is used but the corner elements are unused, to approximate a circle.
  • the objective is to match the area of the sensor with active pixels to the field of view obtained through the optics. In the exemplary embodiments discussed herein, this detector field typically approximates a circle, and in a typical embodiment will have a detector field diameter on the order of 3.25 mm.
  • the size of an acceptable spot on the ball is relatively independent of the diameter of the ball.
  • the minimum size of a spot on the ball should be large enough that, when the image of the ball is focused on the sensor, the image of one spot covers at least one photodetector at all times and in all directions.
  • the size of the image of a single dot or speckle on the sensor should cover the center to center distance between two adjacent pixels on the sensor.
  • the preferred typical dot size has been selected so that the surface covered by the image of the dot covers about five pixels. As a maximum dot size, the image may cover substantially all of the sensor, although such an image size will cause degraded performance, as discussed below.
  • Dot density may vary between 0.8 percent and 99.2 percent, but it is generally preferred that dot density be between twenty and seventy percent, with a typically preferred density on the order of forty percent.
  • the total or sum of the black or low intensity areas comprises 3.2 mm 2
  • the total or sum of the white or higher intensity areas comprises 5.1 mm 2 .
  • a contrast ratio of at least 2.5 between low intensity and high intensity areas of the image on the sensor is generally preferred.
  • the maximum dimension of the spot is related to the minimum desired output precision of the system; as will be better appreciated hereinafter, the resolution of the system depends upon the number of edges that move divided by the total number of edges viewable. In an exemplary embodiment described hereinafter, for an output resolution greater than 15 dots/mm, it is useful to have an image with at least sixteen edges in each of the X and Y directions. If the number of edges is too small, movement of the cursor will appear "jumpy" in response to movement of the ball. For a four bit A/D converter plus sign, sixteen edges are used to reach unit increments.
  • DOE's can provide the required light transfer while at the same time being fabricated by means of relatively conventional lithographic and etching methods known from microelectronics fabrication which fit into the normal manufacturing processes for fabricating the detector array itself, thus keeping additional costs to a minimum.
  • spherical and aspherical lenses may be used in appropriate embodiments, aspherical functionality can be readily provided in a DOE at virtually no additional expense, and provides desirable light transfer capabilities although it does involve a more complicated design effort.
  • different optical functions may be included in the same DOE, so that a portion of the DOE substrate can be fabricated with a first microstructure which directs the illumination cone from a light source at the appropriate incidence angle onto the ball surface, and a second microstructure which acts as an aspheric lens for pattern imaging, so that the image of the ball illuminated by the first microstructure is properly focused on the array 220 by the second microstructure.
  • a DOE is used only for imaging the illuminated area of the speckled ball 60 onto the array 220.
  • the focal length of the DOE is on the order of 2.4 mm where the total ball-to-detector array distance is on the order of 10 mm.
  • the aperture diameter is on the order of 1-1.5 mm, or a numerical aperture (NA) on the order of 0.1.
  • NA numerical aperture
  • the DOE is located midway between the ball 60 and the detector array 220.
  • the motion to be detected corresponds either to two translations (x,y), or one translation and one rotation about the center of the image.
  • the LED's are pulsed in the manner described in U.S. patent application Ser. No. 07/717,187, filed Jun. 18, 1991, now U.S. Pat. No. 5,256,913 and entitled Low Power Optoelectronic Device and Method, meaning that the photodetectors 220A-N can only detect a series of "snapshots" of the ball.
  • the output of the detector array 220 preferably is compatible with a microprocessor input so that the signal can be readily converted to control of a cursor.
  • the output could conform to the type of output provided by designs employing optical encoders, such as described in U.S. Pat. No. 5,008,528, and would result in a two-bit quadrature code of about 15 impulsions per millimeter of ball displacement.
  • circuitry for operating on the output signals received from the detector array 220 can be better understood by reference to FIG. 3, although FIG. 3 shows photodetector and logic comprising only a single pixel. Similar logic exists for each pixel 200A-n in the detector array (a four pixel array is shown in FIG. 4A), with the end result being a collective computation for the array as a whole.
  • the detector array 220 and the associated logic arrays of the type shown in FIG. 3 are all implemented on a single die, and in particular the individual detector and associated circuit elements formed on the same pixel.
  • a photodetector 220A such as a reverse biased photodiode generates a current proportional to the intensity of the light reflected off the ball onto the detector 220A.
  • the current is compared with a threshold by a threshold circuit 300, to decide whether the pixel is white or black.
  • the threshold can be adjusted differently for different sensor zones, such as to compensate for uneven lighting; such adjustment can be made automatically or otherwise, depending on application.
  • a differential circuit based on the signals from neighboring cells, can be used to reduce sensitivity to variations in lighting intensity, ball speckle density, and so on.
  • Phototransistor offer the advantage of high current gain, and thus give a high current output for a given level of illumination.
  • photodiodes continue to be preferred because at least some phototransistors have degraded current gain and device matching characteristics at low illumination, while photodiodes at present offer slightly more predictable performance, and thus greater precision.
  • the output of the threshold circuit 300 is then supplied to a first memory 305, which stores the state of the threshold circuit and allows the LED to be switched off without losing the illumination value of the image.
  • the first memory 305 which may be either a flip-flop or a latch, thus may be thought of as a one-bit sample and hold circuit. More particularly, on the appropriate phase of the clock signal, for example when the clock signal is high, the output of the threshold circuit 300 is copied into the memory, and that value is frozen into memory when the clock signal goes low.
  • a second memory 310 also typically a flip-flop or latch, stores the old state of the memory 305 in a similar manner, and thus the output of the second memory 310 is equal to the output of the first memory 305 at the end of the previous clock cycle.
  • the clock cycle is, in an exemplary embodiment, synchronized with the LED pulse, with the active edge being at the end of the light pulse.
  • the old state of the memory is supplied to the pixels below and on the left through a "CURRENT STATE" bus 3
  • the temporal intensity change ("tic") of a pixel can thus be determined by comparing the states of the first and second memories 305 and 310, respectively. This comparison is performed by comparator logic 315.
  • the output of the first memory 305 is provided to two additional comparators 320 and 325 to detect edges on the top and at the right, respectively.
  • the comparator 320 also receives information on a line 321 about the current state of the pixel above in the array.
  • the comparator 325 receives information from the pixel on the right through a line 326, or "EDGE ON RIGHT" bus, and supplies information to the pixel on the right through a line 327.
  • the comparators 315, 320 and 325 may each be implemented as Exclusive-Or circuits for simplicity.
  • Edges at the left and bottom are communicated to this pixel by the pixels at the left and on the bottom, respectively, as can be better appreciated from the portion of the array shown in FIG. 4 A. More specifically, as with reference to FIG. 3, the corresponding pixel circuits will inject a current on an associated wire if a tic and a corresponding edge is detected with the result being that edges at the left and bottom are deducted from the values of the corresponding neighboring pixels. Similarly, the detection of a horizontal or vertical edge is signaled by injecting a current on the corresponding wire.
  • left correlator logic circuit 330 receives information on a line 335 from what may be thought of as a "MOVE LEFT” bus, and also receives information from the adjacent pixel on a line 336, which may be thought of as an "EDGE ON LEFT” bus.
  • Down correlator logic 340 receives information on a line 345 from a "MOVE DOWN” bus, and also from a line 341, supplied from the pixel below as an "EDGE ON BOTTOM" bus.
  • up correlator logic 350 receives one input from the circuit 330 and a second input on a line 351, or "EDGE ON TOP” bus, and provides a signal on a line 355, or a "MOVE UP” bus; right correlator logic 360 provides a signal on a "MOVE RIGHT” bus 365.
  • the correlator circuits may be thought of simply as AND gates.
  • a pair of switched current sources, 370 and 375 provide a calibrated current injection onto respective busses 380 and 385, when edges are detected; the current source 370 receives its sole input from the EDGE ON TOP bus 351.
  • the current source 370 provides a calibrated current injection on line 380; similarly, when a vertical edge is detected moving horizontally, the current source 375 provides a calibrated current injection on line 385.
  • the lines 321,326, 336 and 341 are all tied to false logic levels at the edges of the array. Calibration is not required in all embodiments.
  • the implementation of a four pixel array can be better appreciated, and in particular the manner in which the correlator circuits 330, 340, 350 and 360 tie into adjacent pixel logic can be better understood. Similarly, the manner in which the vertical and horizontal edge detectors 370 and 375 cooperate with adj acent pixels can be better appreciated.
  • an 8.times.8 matrix of pixels and associated logic has been found suitable, although many other array sizes will be acceptable in particular applications, and an 11. times.11 matrix is typically used in connection with the embodiments discussed hereinafter.
  • the 8.times.8 array is, in an exemplary embodiment, comprised of four 4.times.4 quadrants, although it is not necessary to decompose the array into quadrants in other embodiments. Arrangement of the array into quadrants is helpful to detect rotation of the ball, although translation may be readily detected without such decomposition.
  • Each quadrant is provided with its own outputs for the four directions of displacement, to permit calculation of displacement to be performed.
  • six bus lines are provided, with the output of each pixel tied to each bus. Depending on the characteristics of the image in the pixel and its neighbors, one to all six busses may be driven. In essence, the function of the circuits of FIGS.
  • each pixel 200 A-n can either drive a preset amount of current onto the associated bus ("ON"), or do nothing.
  • ON a preset amount of current onto the associated bus
  • the six busses give six numbers, and the six numbers are combined to compute X and Y, or horizontal and vertical, displacements.
  • X and Y displacements can be calculated as:
  • Edge x Light (sample cell) > c X Light (cell left) or (Boolean) c X Light (sample cell) ⁇ Light (cell left)
  • Edge ⁇ Light (sample cell) > c X Light (cell top) or (Boolean) c X Light (sample cell) ⁇ Light (cell top)
  • Color Light (sample cell) >c X Light (cell left) or (Boolean)
  • Example cell >c X Light (cell top) MoveRight Edge ⁇ ( t ) (sample cell) and (Boolean)
  • Color t - ⁇ (cell left) Color t (sample cell)
  • Color t _ ⁇ (cell bottom) Color t (sample cell)
  • Color t - ⁇ (cell top) Color t (sample cell)
  • c in the foregoing is a constant chosen to avoid noise and mismatch problems between two adjacent pixels, and in the embodiment described has been chosen to be a value of 2. Also, as previously discussed described has been chosen to be a value of 2. Also, as previously discussed generally, it will be apparent from the foregoing algorithrn that an increase in the number of edges present in the image results in an increase in the precision of the displacement measurement. It will also be apparent that the measured displacement is a fraction of the distance between two pixels.
  • Some calculations may be done digitally or by other techniques.
  • a pixel array includes an image comprising some dark pixels D, some light pixels L, and some pixels E which are undergoing an intensity change indicative of the presence of an edge.
  • a first oval area F is defined as the image of the ball at a time (t-1)
  • a second oval area S is defined as the image of the ball at a time (t)
  • the direction of motion can be determined as shown by the arrow.
  • the difference between the right and left moves (the dividend in the above fractions) is easily implemented with a differential current amplifier having, in at least some embodiments, inverting and non-inverting inputs, as will be better appreciated in connection with FIG. 5B, discussed below.
  • FIG. 5A a generalized schematic block diagram is shown in which the array 220 is connected to the remaining circuitry necessary for operation as a trackball.
  • the array 220 is connected through signal conditioning logic 505 A-B to AD converters 510 and 520 to a microprocessor 530.
  • the A/D converter 510 supplies lines X0, XI and X2, as well as the sign of the X movement, to the microprocessor on lines 540; likewise, A/D converter 520 supplies lines Y0, Yl and Y2, as well as the sign of the Y movement, to the microprocessor on lines 550.
  • Switches 80 supply additional control inputs to the microprocessor 530.
  • the microprocessor provides a clock signal on line 535 to the array and associated circuits, indicated generally at 545, which may for example be implemented on a single sensor integrated circuit.
  • the microprocessor 530 then communicates bi-directional with line interface logic 560, and the output of the line interface logic 560 provides cursor control signals in conventional form to a host system, not shown, over an output bus 570. It will be appreciated by those skilled in the art that, in the embodiment detailed herein, the microprocessor 530 is used primarily for establishing the protocol for communications with the host, although it does also control LED pulsing, sleep mode and services interrupts.
  • the signal conditioning circuits 505 A-B shown in FIG. 5 can be better understood.
  • the X (horizontal move) signal conditioning circuit is shown in detail; the corresponding Y (vertical move) circuit is functionally identical.
  • the cumulative current signals from the various pixels are summed on their respective busses. These sums of such currents from the "move left” and “move right” busses are subtracted in summing circuit 570, followed by determination of the absolute value in an absolute value circuit 572, after which the absolute value is provided to the A/D converter 510.
  • sign of the move is determined by providing the output of the summing circuit 570 to a comparator 574.
  • circuits 510 and 520 can be readily implemented using a flash A/D converter. Division can be similarly implemented with a flash A/D converter by using a reference voltage proportional to the bus current for the horizontal (or vertical) edges. Use of current sources for such circuitry provides desirable simplicity and compactness.
  • the operating program which controls the microprocessor 530 can be better appreciated.
  • the operation of the system of FIGS. 1-5 begins at step 600 by resetting and initializing the logic, and enabling interrupts.
  • a check is made at step 610 to determine whether the sleep mode has been enabled.
  • step 630 If sleep mode is not enabled, or if a timeout or bus activity has occurred, the switches 80 on the trackball are read at step 630. After the switches are read, a check is made at step 640 to see whether the ball is moving. If not, sleep mode is enabled at step 650.
  • the interrupt service routine of the present invention can be better understood.
  • the interrupt service routine is accessed at step 675 whenever a timer function from the microprocessor generates an interrupt, although other methods of generating an interrupt at regular intervals are also acceptable in at least some embodiments.
  • the system responds by acknowledging the interrupt at step 680, followed at step 685 by pulsing the LEDs and sampling the sensor outputs for X and Y.
  • the time before a next sample is to be taken is calculated.
  • the amount of time can vary, depending upon whether the displacement of the ball since the last sample is large or small; for example, a sampling rate of once per millisecond is typical during normal movement, with less frequent sampling when the ball is stopped. If the displacement is small, the time between successive samples is increased; if the displacement is large, the time between samples is decreased. In a presently preferred implementation, a
  • FIGS. 7A-7B and 8A-8B an alternative embodiment of the present invention within a trackball is shown in exploded perspective view and indicated generally at 10.
  • FIG. 7B is an assembled view of the exploded perspective view of FIG. 7A
  • FIG. 8 A is a side elevational view of the assembled device.
  • FIG. 8B is a cross-sectional side view taken along line AA-AA in FIG. 8A.
  • the present embodiment comprises essentially four main elements: a ball with a detectable pattern on its surface; one or more light sources such as LEDs to illuminate the ball; a sensor for detecting an image of at least the portion of the ball illuminated by the light sources; and optics to allow the image to be focused on the sensor.
  • a mechanical framework for supporting the ball, the light sources, the optics and the sensor must be provided. Each of these components will be described in turn, beginning with the mechanical framework.
  • An upper housing 700 and lower housing 705 are shown in breakaway view, and in at least some embodiments (such as portable or handheld computers or similar devices) will be incorporated into, for example, a keyboard.
  • a ball 710 of the type described hereinabove, is maintained within a ballcage 715 by means of a retaining ring 720 which locks into the upper housing 700.
  • the ball is typically on the order of five to fifty millimeters in diameter, although larger or smaller sizes are acceptable in various applications; in the exemplary embodiment described herein, a ball diameter on the order of 19 millimeters is typical.
  • an opto housing cover 725 Situated below the ballcage 715 is an opto housing cover 725, into which is fitted an LED 730 through an angled bore better appreciated from FIGS. 10A-10D.
  • the LED may be, for example, in the 940 nm range (although as described above, the LED may emit a light signal in the visible light spectrum or the non-visible light spectrum.
  • the opto housing cover 725 also provides a mount for a sensor 735 and a window 740, as well as a lens 745.
  • the opto housing cover 725 then mates to a opto housing 750 and is fastened in position by means of an opto clip 755.
  • a second LED 730 is inserted into the opto housing 750 through a second angled bore, better appreciated from FIG. 11 A-l IB.
  • the opto clip 755 is retained in position by being fitted under a detent 760 formed on the opto housing 750 (best seen in FIG. 8B).
  • the subassembly 765 formed by the opto housing cover 725 and opto housing 750 and related components is positioned beneath the ball cage 715.
  • a PC board 775 Sandwiched between the ball cage 715 and subassembly 765 is a PC board 775, with the ball 710 viewable by the subassembly 765 through an orifice 770 in a PC board 775.
  • the ball cage 715 is affixed to the PC board 775 by screws 780 or other suitable means, and the subassembly 765 is fastened to the PC board 775 and the ball cage 715 by means of screws 780 which extend through the opto housing 750 and PC board 775 into the ball cage 715.
  • the PC board 775 also includes one or more buttons or switches 785.
  • a connector 790 connects the PC board 775 to a host system (not shown), such as a notebook or other computer, in a conventional manner such as through a serial or PS/2 protocol.
  • FIG. 9A-9D the ball cage 715 is shown in greater detail.
  • FIG. 9A shows the ball cage 715 in side elevational view
  • FIG. 9B shows it in bottom plan view
  • FIG. 9C shows the ball cage in top plan view
  • FIG. 9D shows the ball cage in cross-sectional side view taken along line B--B in FIG. 9C.
  • the ball cage 715 includes an upper annulus 860 with rotary slots 865 for locking in the retaining ring 720. Below the upper annulus 860 the interior of the ball cage forms a bowl 870. Excavated from the bowl are three slots 875 in which bearings 880 are placed for supporting the ball 710. The bearings 880 are of the type described in
  • U.S. patent application Ser. No. 07/820,500 entitled Bearing Support for a Trackball, filed Jan 14 1992, now abandoned, mentioned previously.
  • the slots are positioned substantially with radial symmetry within the bowl 870.
  • In the bottom of the bowl 870 is an orifice 885 through which the ball may be viewed by the optical portion, discussed generally above and also discussed in greater detail hereinafter.
  • Mounting pads 990 each include a bore 995 for receiving the screws 780 (FIG. 7A), for mounting the ball cage to the PCB 775 (FIG. 7 A), while mounting pins or bosses 1000 also include a bore 995 to permit the subassembly 765 to be affixed to the ball cage 715.
  • a pair of guide pins 1005 are also provided for positioning the ball cage relative to the PCB 775.
  • a flattened portion 1010 (FIG. 9D) is provided to receive and position the sensor relative to the lens and window discussed above in connection with FIG. 7 A.
  • the flattened portion 1010 cooperates with the orifice 885 to permit the ball 710 (FIG. 7A) to extend through the orifice so as to be illuminated by light from the LEDs 730 and illuminate a sensor with light diffusely reflected off the ball 710 (FIG. 7A).
  • the opto housing cover and opto housings can be better appreciated.
  • the opto housing cover 725 is shown in front elevational view (FIG. 10A), rear elevational view (FIG. 10B), side elevational view (FIG. IOC), and front and rear perspective view (FIG. 10D).
  • the opto housing 750 which mates to the upper housing 725, is show in top plan view in FIG. 11 A, in side elevational view in FIG. 1 IB, and in bottom plan view in FIG. 1 lC.
  • FIG. 1 ID the combination of the opto housing cover, opto housing, lens, mirror and sensor are shown assembled in cross-sectional side view in relation to the ball.
  • the opto housing cover 725 functions to position the LEDs 730 in a manner which floods a selected portion of the ball 710, while also positioning the lens, window and sensor relative to the ball so that light reflected from the ball impacts the lens and, from there, the sensor.
  • the housing 725 includes an angled bore 1020, at the outside end of which one of the LEDs may be positioned. The bore communicates with the central portion of the upper housing.
  • a raised member 1025 positioned substantially at the center of the upper housing provides support for one end of the window 740, while the lens 745 is supported within a recess 1030 partially formed in the upper housing 725.
  • the opto housing 750 joins mating portions 1035 and 1040, respectively, of the opto housing 750, as shown particularly in FIG. 11 A.
  • the opto housing includes an angled bore 1045 symmetrical to the bore 1020 for supporting the second of the LEDs 730 which, like the first LED, illuminates the lower portion of the ball 710 so that diffuse light is directed onto the sensor 735.
  • diffuse light is presently preferred because of the improved contrast it provides on the light and dark sections of the ball 710.
  • the lower housing 750 also includes a recess 1050 to receive the sensor 735, as better appreciated in FIG. 11D.
  • FIG. 1 ID which is a cross-sectional side view of the upper and lower housings together with lens, sensor and window, illustrates the relationship between the key optical elements of this embodiment.
  • the opto housing cover 725 can be seen to mate with the opto housing 750, with the two opto housings cooperating to position and support the lens 745 in alignment between the ball 710 and the sensor 735.
  • the window 740 is interposed between the ball and the lens, and in those embodiments which use infrared illumination of the ball may be made from a material which appears black in the visible spectrum but is transparent to infrared frequencies, which allows extraneous visible light (such as might enter between the ball and retaining ring) to be filtered out.
  • the retaining clip 760 can be seen on the underside of the lower housing 750. Not shown in FIG. 1 ID are the bores through which the LEDs 730 illuminate the ball 710.
  • FIGS. 12A-12C show the operation of the optics in simplified form.
  • the ball 710 is retained within the ball cage 715 by the retaining ring 720.
  • a pair of LEDs 730 illuminate the lower portion of the ball, with the light diffusely reflected through a transparent portion onto the lens 745 and thence onto the sensor 735.
  • other aspects of this embodiment which can be appreciated from this simplified view are the seal formed by the retainer ring, which helps to prevent dust and dirt from entering the ball cage, and the transparent window which further assists in preventing dirt from blocking the optics.
  • the lens which may be made of glass or any suitable optical plastic such as polymethybmefhacrylate (typically polished or molded such as by hot pressing), may be a simple biconvex lens having both radii equal to, for example, 2.37 mm where the thickness of the lens is on the order of 1.23 mm and the distance from the ball to the nearest lens surface is on the order of 4.35 mm.
  • the distance from the sensor to the nearest lens surface is on the order of 4.42 mm.
  • the field of view of ball is about 2.8 mm in diameter.
  • the optically free diameter of the lens is preferably limited, and in the foregoing example may be limited to about 1.5 mm aperture.
  • the optical limits may be imposed by mechanical or other means.
  • FIG. 12C the optical arrangement for a classical lens in a lateral arrangement of ball, lens and sensor are shown.
  • This approach which is presently preferred and shown in the second and third embodiments herein described, involves a folded light path.
  • an area 1240 of the ball is illuminated from the LEDs discussed previously.
  • Diffuse light from the illuminated portion of the ball passes through a portion of a plano-convex lens 1250, which is hemispherical in an exemplary embodiment.
  • the lens may be made of polylmethacrylate
  • the size of the mirrored area provides an aperture stop equivalent to that required in the in-line arrangement of FIG. 12B, and in the embodiment described herein may be, for example, on the order of 1.8 mm aperture where the field of view of the ball is again 2.8 mm, but the lens-to-ball distance is on the order of 3.2 mm and the lens to sensor distance is on the order of 3.3 mm. In this example, the radius of the lens may be on the order of 1.75 mm.
  • the total deflection angle of the lens is not especially critical, and for the embodiment described may vary between seventy-two and ninety degrees without deterioration of optical performance.
  • a baffle 1260 may be provided to ensure that no light from the ball strikes the sensor directly.
  • the distance between the lens and the sensor may need to be increased by an amount of about one-third of the thickness of the protective layer.
  • Such a simplified correction term is adequate for layers up to one millimeter thickness with a refractive index of 1.5.+-.0.05.
  • the surface of the protection layer may be curved to form a negative lens, which will act as a field flattener and thereby reduce the image field curvature. This would tend to improve the resolution and contrast in the border area of the sensor.
  • the electronics associated with the second embodiment described above is in some respects presently preferred over that associated with the first embodiment described above, although each approach has merit.
  • the electronics implemented in the second embodiment comprises an array of pixels composed of both the photodiode to detect the image and the circuitry both to perform the calculation and store the information, together with appropriate electronics to communicate that information to a host system.
  • the circuits of FIG. 13 are essentially a replacement for the sensor circuit 545 shown in FIG. 5 A.
  • the logic associated with the device of FIG. 7A includes a pixel matrix 1305, which is typically an 11. times.11 array of photodiodes and associated circuits but could be substantially larger in at least some embodiments.
  • the circuit also includes a current-based A/D converter circuit 1315 substantially similar to that shown in FIG. 5B but expanded to four data bits plus sign, an absolute value circuit 1320 substantially the same as shown in FIG.
  • the logic includes a first test shift register 1360 for the rows on the left of the matrix 1305, together with a second test shift register 1365 for the columns in the bottom of the matrix.
  • each shift register is eleven bits, but it will be apparent that the size of the shift register could be varied over a very large range to correspond to the number of pixels on one side of the matrix.
  • a plurality of test pads 1370 is also provided, as are V DD and V ss circuits.
  • the A/D converter circuit for the exemplary embodiment described herein is preferably a sequential, asynchronous device to reduce the circuitry required for implementation, although in other embodiments a parallel converter may be preferred.
  • a sample and hold circuit can be provided ahead of the A/D converter circuits.
  • the interface logic 1355 In the logic of FIG. 13, all of the digital blocks operate under the control of the interface logic 1355, which also interacts with the primary analog elements. In rum, the chip is typically controlled via a microcontroller, as illustrated previously.
  • the interface logic uses only synchronous logic blocks, as is therefore capable of being controlled by a synchronous state machine with a counter, such as a seven bit counter for the embodiment of FIG. 13.
  • no "power-on-reset" function is required, since the logic reaches a deterministic state after a predictably small number of cycles, such as about 150 cycles with the bidirectional (or input and output) "data" line forced high for the exemplary embodiment shown.
  • FIG. 14 the architecture of the interface logic 1355 may be appreciated in greater detail.
  • a control state machine 1400 operating in connection with a seven bit counter 1405, operates generally to select from among various inputs to place data on a bidirectional pad 1410 by control of a mux 1415.
  • the counter 1405 can be preset or can decrement its current count by means of a signal from the state machine 1400. In addition, if the count in the counter 1405 is null, the state machine is forced to change state by means of a signal supplied to the state machine.
  • the inputs to the mux 1415 include pixel information on line 1420, edge information on line 1425, a check bit on line 1430, or either wake up information on line 1435 or serial data out on line 1440. Both the wake up information and the serial data out information are provided by a parallel to serial converter 1445, which receives its input from a mux 1450 having, for the exemplary embodiment shown, a twelve bit output.
  • the input to the mux 1450 can be either displacement data on line 1455, or predetermined ID information, such as ID- HOD1 on line 1460. It will be apparent that the function of the mux 1450 is to select one of its two inputs for supply to the parallel-to-serial converter 1445, and is controlled by the state machine 1400.
  • the check bit on line 1430 is toggled after any image sample, and allows the processor to determine whether the chip is synchronized to ensure proper communications.
  • the particular input chosen to be passed through the mux 1415 is selected by control lines 1460 from the state machine 1400, which also supplies direction information on line 1465 to the bidirectional pad 1410 to determine whether signals flow to or from the pad 1410. If the state machine 1400 is seeking information from the pad 1410, the incoming data can be latched into a D flip-flop 1470, where the clock is controlled by the state machine 1400.
  • Data at the output of the flip-flop 1470 is then supplied to the state machine 1400, a serial-to-parallel converter 1475, and to a plurality of test image simulation circuits 1480 for diagnostics.
  • 1475 include reference level and hysteresis, on line 1485, dis sample on line 1490, and dis idle on line 1495.
  • the state machine 1400 is shown in greater detail in the form of a state diagram.
  • the state machine is controlled from two inputs: one from the seven bit counter 1405, when the counter reaches a null value, and another from data in from the bidirectional pad 1410 through the D flip-flop 1470.
  • “in” means that the microcontroller associated with the sensor chip must force a logical level on the data pad 1410, while “out” means that the interface logic 1355 will drive a logical level on the "data out” line from the mux 1415.
  • states will typically change on the rising clock edge, and control inputs are latched on the fall edge of the clock signal. Essentially, at the end of each cycle, the machine moves to the state for which the condition is true; but if no condition is true, the state remains unchanged for that cycle. Such a condition can occur, for example, when the machine forces the counter to decrement. It will be appreciated by those skilled in the art that the conventions used in the
  • Operation begins at RESET step 1500, typically following an initialization step.
  • a typical reset can occur by applying a predetermined number of clock cycles with the "data" line forced high.
  • a pull up arrangement could be implemented and the data line forced low to achieve an equivalent result.
  • the maximum number of cycles necessary to reach a known or "reset" state from an unknown, random starting state can be derived by inspection of FIGS. 13 and
  • the maximum number of cycles necessary to reach a determined state is 143, which occurs when the initial state is "wakeup". For conservative simplicity, approximately 150 cycles may be used. Alternately, a more conventional reset can be provided. Following the RESET step, the state machine moves to one of seven selector states,
  • SELECTOR1-SELECTOR7 indicated at reference numerals 1505-1535, respectively, which allows the microcontroller to choose among different operations to be performed. If the SELECTOR1 state indicated at 1505 is selected, the next state is the SS AMPLE, indicated at 1540.
  • the SS AMPLE state is the first state of the displacement reading loop. In this state, "data” is driven with the "check, bit” value (shown as 1430 in FIG. 14). If the value of
  • a wake- up occurs where there is sufficient X or Y movement to exceed the hysteresis programmed into the system. This can be expressed as "wake-up' — ((X [3:0] AND hysteresis) OR (Y[3 :0] AND hysteresis) 0). If the result is a one, or high, the edges are latched in the pixels when "CK" is low. A high result means that the state machine moves to the GETDISP state 1550; a low result means that the state branches back to the SELECTOR1 state 1505. The microcontroller is able to force the machine to branch to the GETDISP state 1550 by forcing up the "data" level, but the edges in the pixels will not be latched. The machine thereafter advances by returning to the SELECTOR1 state 1505.
  • the next state is RESET ALL, indicated at 1555. If "data" is high, a general reset is performed. All test shift registers (FIG. 13) and switches are reset to 0, and the hysteresis reference level is reset to 'B 11110; likewise, sample is enabled, normal sleep mode is enabled, and the checkbit is cleared. However, if "data" is low, no operation is performed. The machine then advances to the next state, GETID, indicated at 1560, and identification bits are put serially on "data", with the most significant bit first, for example 'B000011010001. The machine next returns to the RESET state 1500.
  • the machine advances to the FORCESHTFT state, indicated at 1565. If “data” is high, the edges are latched in the pixels during the Low phase of "CK", and the current edges replace the old edges. The machine then advances to the NOTFORCESLEEP state, indicated at 1570, where, if "data” is Low the chip is in sleep mode during the Low phase of "CK”. On the next cycle the machine advances to the SETREFSW state, indicated at 1575. In this state the values of different switches and reference levels (or hysteresis values) can be defined. In order of priority, dis sample is set and, if high, no image sample is done at the "SSAMPLE” state and edges for the current image are frozen.
  • the sensor chip is thus in a high power consumption mode.
  • dis idle is set, but only has meaning if dis sample is low. If dis sample is low and dis idle is also low, edges for the current image are held only during the low phase of "CK” in the "SSAMPLE” state, during the "WAKEUP” state, and the first high phase of "CK” in the "GETDISP” or “SELECTOR1" states. If the dis__idle bit is low, the edges are held everywhere except in the high phase of "CK” in the "SSAMPLE” state. Those skilled in the art will recognize that power will be wasted if this bit is active.
  • the reference level, or hysteresis is set by four bits, with MSB first.
  • the machine thereafter returns to the RESET state 1500 when the counter 1405 (FIG. 14) reaches a zero. If the value of "data" had been low, or "ldata" at the SELECTOR4 state, the machine would next have advanced to the GETIMAG state, indicated at 1580. In this state, an image scan is performed by comparing pixel currents one by one with a reference current. The details of this operation have been treated generally in connection with the first embodiment, described above, and will be described in greater detail hereinafter. After the image scan is completed, the machine returns to the
  • RESET state 1500 in response to a zero from the counter 1405 (FIG. 14).
  • the machine would thereafter advance to the SETTEST state, indicated at 1585.
  • the SETTEST state is used for testing the operation of the pixel matrix 1305.
  • the machine will remain in this state for enough clock cycles to cycle through each column and row of pixels; thus, for an eleven by eleven matrix, the machine remains in the SETTEST state for twenty-two clock cycles.
  • the bits on "data" are sampled and shifted in the test shift registers to create an artificial image, which may then be analyzed to ensure proper operation of the system.
  • the machine thereafter advances to the RESET state 1500 in response to a null value in the counter 1405.
  • the machine would next advance to the SCANCOLOR state, indicated at 1590. In this state color information is scanned in a manner analogous to the operation of the system in the GETIMAG state 1580. Thereafter, the machine would advance to the RESET state 1500 in response to a null value in the counter 1405. Similarly, if the SELECTOR7 state had been selected, and "data" was high, the machine would advance to the SCANEDGEX state, indicated at 1595 A, where "edge X" information is scanned. Alternatively, if "ldata" was present, the machine would advance to the SCANEDGEY state, indicated at 1595B, where "edge Y" information would be scanned.
  • State values having no state name are unused; in addition, in the exemplary embodiment shown, the state machine has been designed to reset after only one clock cycle in the event the machine enters into one of the unused states.
  • the organization and operation of the pixel matrix 1305 may be better understood.
  • an 11. times.11 pixel matrix has been used in the second exemplary embodiment.
  • the resulting 121 pixels are divided into four types: type P, which denotes a standard pixel with photodiode, amplifier, current comparator and digital memory for storing edge information; type D, which denotes a pixel with a diode and amplifier only; type E, which denotes an empty pixel; and type T, which is a test pixel biased like a type P or D, but with its output connections tied to test pads rather than connected to the displacement calculation circuitry.
  • the type P pixels provide the conventional image data used by the remainder of the sensor.
  • the type D are used to define border conditions and to provide its illumination current to neighboring pixels.
  • the type E sensors are used for signal routing purposes.
  • the type T pixels are accessible externally for test purposes only. From the arrangement of pixels in FIG. 16, it will be apparent that type P pixels predominate in the center of the sensor, while the type D pixels define a perimeter around the type P pixels. During any scan, the matrix is addressed row by row through incrementing of the column index, or:
  • the value of the current I ref cannot be null to avoid floating nodes.
  • the current I ref can be set through the reference level, or hysteresis, as described above in connection with the description of the state machine 1400.
  • the interface 1355 (FIG. 13) can be placed in a special mode to force an artificial image.
  • the artificial image is formed with pseudo- active pixels, which are of types D and T. at the crossings of two perpendicular active lines by entering two test words, one for lines and one for columns.
  • the artificial image can be cleared with a data High during the RESET ALL state 1555.
  • an edge is defined as a difference of intensities between two adjacent black and white pixels.
  • the difference of intensities is typically (though not necessarily) sensed as a difference in currents.
  • the ratio between the currents corresponding to black and white spots is typically between 3 and 4 or at least larger than 2 in both the x and y directions, although smaller differences may also be acceptable in some embodiments.
  • an edge will be defined as laying between two photodetectors if the ratio of intensities of the two adjacent photodetectors is larger than two.
  • the edges can be detected independently of the absolute light intensity.
  • differential sensing is less sensitive to gradients due either to lighting conditions or the curvature of the ball, as long as the fall-off in intensity for a ball surface of uniform color does not result in a ratio greater than two between two pixels.
  • the differential sensor shown in FIG. 17A is one approach to detecting the edges of the moving ball, and can be taken in conjunction with FIG. 17B, which shows a plurality of pixels P and two successive images I t and I M at times t and t-1 where black and white pixels represent low or high reflected light levels, respectively, while hashed pixels represent pixels detecting an intensity change.
  • a photodiode 1700 receives light input reflected off the ball, and provides accumulates charge in proportion to the light reaching it while the LEDs 730 (FIG. 7A), which are typically pulsed, are on. The current is supplied to an amplifier 1705.
  • the amplifier 1705 amplifies the current enough to output a current I out sufficient to allow a comparison with the adjacent right and top pixels in a predetermined time period, such as 50 ⁇ s. Each pixel also sends its current to its bottom and left neighbors, as explained previously in connection with FIG. 4 and shown in FIG. 17 as 1710A-B, 1715, 1720, 1725, 1730, 1735, 1740, and 1745.
  • the outputs of the various differential stages 1710 1745 can then compared in current comparators 1750A-1750D, and the results of those comparisons can be latched into latches 1760A-1760C, after conditioning through combinational logic 1765-1775 and activation of the latch operating signal nshift.
  • Comparisons can then be performed while the LED is off, where the latches store data representing values for edges on the X axis (E , edges on the Y axis (E y ), and color of the pixel (C and its complement NC), but as they existed during the previous state.
  • the stored data from the previous state may be represented as oE x , o E y , and oC.
  • various assumptions have been made about the signal currents. First, to accurately detect edges, it has been assumed above that the ratio of currents corresponding to a black spot and a white spot are assumed to be at least two; thus, a value of two has been arbitrarily chosen for the current comparator, although a lower or higher value would also work. Second, it has been assumed for the exemplary embodiment that the mismatch between two adj acent photodiodes is less than twenty percent although it has been shown that the circuit works acceptably at least as low as a ratio of 1.7:1.
  • An edge is detected is the current in the sampled pixel is either twice or half the current in the neighboring pixel.
  • color of the pixel is determined as high, or white, if the current in the pixel is either twice the current in the adjacent right cell or twice the current in the adjacent top cell. It will be apparent to those skilled in the art, from the teachings herein, that such a paradigm detects color in a sampled pixel only when an edge exists at its right or at its top, and tests only for white pixel. It is believed apparent that the invention includes extending detection to comparisons with other selected pixels and testing for black spots, and detailed discussion of such addition features is not believed necessary in this disclosure.
  • the pixel circuitry depicted in FIG. 17 also offers the additional feature of having test circuitry integrated into the sensor.
  • a test current source I test indicated at 1785 has been provided to supply a reference signal in parallel with the charge amplifier 1705. This permits injection of an image through the circuitry at the wafer test level, which reduces the amount of time required to test each wafer.
  • a scanning scheme allows comparisons between the value of the analog output current of the charge amplifier with a programmable reference current.
  • the reference current I ref can be set by a four bit digital word supplied to control hysteresis.
  • I ref will be zero; but if all four bits are ones, L ⁇ will be about 500 nA, which is substantially representative of the current amplifier in response to a pulse of white light for a suitable period.
  • a DATA OUT signal, on line 1900, is combined with a DIR signal on line 1905 in a NOR gate 1910.
  • the output of the NOR gate 1910 supplies a non-inverting gate to a transistor 1915 and an inverting gate to a transistor 1920.
  • Connecting between the respective source and drain of the transistors 1915 and 1920 is a pull down resistor 1925, which may for example be on the order of 10-20 K ..
  • a diode 1930 is shunted across the source and drain of the transistor 1915, the drain of which is tied to ground.
  • the output of the transistor/pullup resistor stage is taken at the junction 1935 of the drain of the transistor 1920 and one end of the resistor 1925.
  • a second diode 1940A is connected between ground and the junction 1935 and 1940 while a third diode 1940B is connected between the voltage supply and the junction 1935.
  • a pair of splitter resistors 1945 A-B are series connected between the output pad 1950 of the sensor and the junction 1935.
  • a data input from the pad 1950 (or external to the sensor) to the remainder of the interface logic 1355 is taken at the junction of the two resistors 1945 A-B, through two buffer inverters 1960.
  • the pull down resistor 1925 is switch between input and output states at appropriate times.
  • the pad 1410 (FIG. 14) is controlled so that the pull down resistor 1925 is connected when the pad is in input mode—which occurs when the signal DIR on line 1905 is low. However, the resistor 1925 is disconnected when the pad is in the output mode, caused by the signal DIR being high.
  • FIGS. 19A and 19B are timing diagrams for various operational states of the system.
  • FIG. 19A describes the main loop that is used to read displacements
  • FIG. 19B describes the latching of a new image, as well as the imposition of sleep mode.
  • FIGS. 20A-E show the trackball in exploded perspective, top plan, front elevational, rear elevational and side elevational views, respectively, with like elements for the embodiment of FIG. 7 A et seq. having like reference numerals.
  • This embodiment which is also a trackball but is implemented as an external device rather than integrated into the remainder of a system such as laptop computer or other control device, includes an upper housing 2005 and a lower housing 2010, best appreciated from the exploded perspective view of FIG. 20A.
  • the upper housing 2005 includes an angled aperture 2015 through which a ball such as the ball 710 may be inserted.
  • a retaining ring 2017 may be provided to allow easy insertion and removal of the ball.
  • a plurality of buttons or switches 2020A-C may be provided for entering commands of pointing devices.
  • a ball cage 2050 Enclosed within the housings 2005 and 2010 is a ball cage 2050, as shown in FIGS. 21 A-D, which supports the ball 710.
  • the ball cage is affixed to a printed circuit board 2051 by means of a pair of clips 2052A-B in combination with a pair of positioning pins 2052C- D, all of which extend through associated slots or holes in the printed circuit board 2051.
  • the lens 745 is held in position by a metallic clip 2053 which extends from the underside of the PC board 2051, through a pair of slots therein, and clips into position on a pair of ears 2054 on the ball cage.
  • the ball rests on three bearings 2055, each of which is maintained within one of three posts 2060A, 2060B and 2060C.
  • the post 2060C is shorter than the posts 2060A and 2060B so that the bearings define a plane sloped at an angle of approximately 30 degrees.
  • This angled support cooperates with the upper housing 2005 to cause the ball to extend through the angled aperture 2015, which allows an improved, ergonomic positioning of the thumb relative to the remainder of the hand, such that the fingers and thumb of the hand are in a substantially neutral posture while operating the trackball.
  • a pair of accurate supports 2065 may be provided to increase the rigidity of the baseplate, and may provide some absorption of force in the event the device is dropped.
  • An aperture 2070 is provided through which the ball may be illuminated and viewed by the same optics and same electronics as is used with the embodiment of FIG. 7A.
  • the sensor 735 is held in place by a further pair of clips 2056 which are typically formed as part of the ball cage 2050.
  • FIG. 21C shows the ball cage 2050 in rear elevational view
  • FIG. 21 D shows a portion of the ball cage 2050 in relation to a ball such as the ball 710.
  • a window 2075 is provided in the optical path between the ball 710 and the sensor 735, with the lens 745 providing a folded light path as in the third embodiment.
  • the location for the sensor 735 is provided by a mounting boss 2080, while a pair of cylindrical ports 2085A-B are provided into which a pair of LEDs such as the LEDs 730 of FIG. 7 A may be inserted to illuminate the ball 710 through ports 2090A and 2090B.
  • a housing 2200 includes an orifice 2205 into which a window 2210 may be placed, although the window is neither necessary nor preferred in all embodiments.
  • a prism 2215 is also supported within the housing 2200 at a position which is optically aligned with the window 2210.
  • the prism 2215 is a right angle prism positioned with its hypotenuse face placed parallel to (or as a replacement for) the window 2210.
  • One or more LEDs are positioned in line with one of the right angle faces to cause total internal reflection of the light emitted by the LEDs off the inside of hypotenuse face of the prism 2215, in the absence of interference.
  • a lens 2220 Optically aligned with the LEDs, but on the side of the other right angle face of the prism 2215, is a lens 2220, which may be a biconvex lens.
  • the prism may be of any suitable angle which provides for total internal reflection; i.e., the incidence angle of the light is greater than arcsin(l/n), where "n" is the refractive index of the prism material. In the exemplary embodiment, where the prism may be made of PMMA, this angle is about forty-two degrees from perpendicular.
  • the window 2210 may be provided to serve as a filter for visible light, and also to provide a more scratch resistant surface than the prism 2215 ; in at least some embodiments it is useful to affix the window directly to the prism.
  • a sensor Positioned on the opposite side of the lens 2220 from the prism 2215 and optically aligned with it is a sensor such as the sensor 735.
  • a finger (not shown) may be placed on the window 2210 and moved thereover, hi the absence of a finger, light from the LED enters the prism and strikes the top surface of the prism at an angle greater than 42 degrees from perpendicular, thus causing total internal reflection.
  • the ridges of the fingerprint contact the glass, canceling the total reflection in the contact areas.
  • an image of the finger's ridges and whorls- i.e., the fingerprint ⁇ may be formed on the sensor 735.
  • the movement of the light and dark spaces of the fingerprint over the window 2210 yields the same edge movement over the pixels of the sensor 735 as occurs with the movement of the ball 710, allowing cursor movement to be controlled merely by the movement of a finger.
  • the linear optical path of FIG. 22 may be made more compact by providing a more complicated prism which folds the light path.
  • a lens may be formed integrally with the prism to focus the image on the sensor, and one of the right angle surfaces of the prism itself may provide the window against which the finger may be placed.
  • the lens may be eliminated simply by placing the finger against the hypotenuse of a right angle prism, which permits a light source on one of the right angle sides to illuminate the finger, with the reflected light illuminating a sensor of the type described above.
  • the resulting image on the sensor is the result of frustrated total internal reflection, wherein the presence of the light and dark spots of the illuminated finger prevent total reflection of the illuminating light.
  • detection of the fingerprint ridges also providing a method of detecting switch activity.
  • a thresholding circuit may be provided such that, by an increase in dark areas in excess of the threshold, a "switch" activity may be detected.
  • FIG. 23 A-B an optical mouse is shown which uses the same principles as discussed in connection with the second and third embodiments discussed previously.
  • the upper housing and most of the lower housing have been removed for clarity from the device shown in FIG. 23, although appropriate housings are generally well known in the art; see, for example, FIG. 2 of U.S. patent application Ser. No. 672,090, filed Mar.
  • an optical assembly 2290 includes an optical housing 2300 having a pair or angular bores 2310A-B each of which receives, respectively, one of the LEDs 730.
  • An upper central bore 2320 extends from the top of the optical housing 2300 and part way therethrough until it communicates with a lower central bore 2330.
  • the lower central bore extends through the bottom of the optical housing 2300, but is smaller in diameter than the upper central bore 2320 so that the lower central bore fits between the angular bores 2310A-B, and is typically spaced symmetrically therebetween.
  • the pmpose of the central bore 2360 is to provide a shutter, and also to prevent stray light from reaching the sensor.
  • a plate or window 2340 is affixed by any suitable means to the bottom of the housing 2300.
  • the plate 2340 is transparent to the frequency of light emitted by the LEDs 730, and may be made of any suitably transparent material which is also scratch resistant such as plastic or glass.
  • the lens 745 is positioned within the upper central bore 2320, which is typically sized to center the lens 745 above the lower central bore 2330.
  • An aperture plate 2350 typically of substantially the same outer diameter as the upper central bore 2320, fits into the upper central bore 2320 to fixedly position the lens 745.
  • the aperture plate 2350 further includes a central bore 2360 which communicates light passing through the lens 745 to the sensor 735, positioned above the aperture plate 2350.
  • the central bore 2360 may also be conical, with the narrower portion at the bottom.
  • a retaining ring 2370 which fastens to the top of the optical housing 2300 by any suitable means, such as clips or screws, maintains the relative positions of the sensor 735, aperture plate 2350 and lens 745.
  • the assembly 2290 is positioned within the upper and lower housings of a mouse so that the plate or window 2340 is positioned above a speckled pattern of the same criteria as that on the ball 710, although in this instance the pattern is provided on a pad, tabletop, or other suitable, substantially flat surface.
  • a portion of a suitable lower housing is shown at 2380.
  • the light from the LEDs 730 is directed through the plate 2340 onto the pattern, and in turn is directed through the plate 2340, up through the lower central bore 2330 and through the lens 745.
  • the lens then images the pattern on the sensor 735 in the same manner as discussed previously, so that movement may be readily detected by the changes in position of the edges in the pattern. While the exemplary embodiment has two LEDs, in at least some embodiments only a single LED is required.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

A cursor control device for personal computers and workstations includes a dual-layer ball (2400) having an inner layer (2402) with a rough textured surface and an outer layer (2404) with a substantially smooth surface. The movement of the rough inner layer is detected using a sensor system. Circuitry of the sensor system determines movement of the rough inner layer and translates that movement into conventional cursor control signals supplied to a host system.

Description

Dual Layer Optical Ball for Pointing Device With Texture Sensing
Inventors: Rene Sornmer Marc Bidiville
FIELD OF THE INVENTION
The present invention relates to dual layer optical balls for use with pointing devices for cursors on displays for personal computers, workstations and other computing devices having cursor control devices, and more particularly relates to optical devices and methods for translating rotation of a patterned ball over optical elements or movement of an optical device over a patterned surface into digital signals representative of such movement.
BACKGROUND OF THE INVENTION
Pointing devices, such as mice and trackballs, are well known peripherals for personal computers and workstations. Such pointing devices allow rapid relocation of the cursor on a display screen, and are useful in many text, database and graphical programs. Perhaps the most common form of pointing device is the electronic mouse; the second most common may well be the trackball. With a mouse, the user controls the cursor by moving the mouse over a reference surface; the cursor moves a direction and distance proportional to the movement of the mouse. Although some electronic mice use reflectance of light over a reference pad, and others use a mechanical approach, most prior art mice use a ball which is on the underside of the mouse and rolls over the reference surface (such as a desktop) when the mouse is moved. In such a prior art device, the ball contacts a pair of shaft encoders and the rotation of the ball rotates the shaft encoders, which historically includes an encoding wheel having a plurality of slits therein. A light source, often an LED, is positioned on one side of the encoding wheel, while a photosensor, such as a phototransistor, is positioned substantially opposite the light source. Rotation of the encoding wheel therebetween causes a series of light pulses to be received by the photosensor, by which the rotational movement of the ball can be converted to a digital representation useable to move the cursor.
The optomechanical operation of a trackball is similar, although many structural differences exist. In a trackball, the device remains stationary while the user rotates the ball with the thumb, fingers or palm of the hand; one ergonomic trackball is shown in U.S. Pat. No. 5,122,654, assigned to the assignee of the present invention. As with the mouse, the ball in a conventional trackball typically engages a pair of shaft encoders having encoding wheels thereon. Associated with the encoding wheels are light sources and photosensors, which generate pulses when the movement of the ball causes rotation of the shaft encoders. One prior art trackball using this approach is shown in U.S. Pat. No. 5,008,528.
Although such a prior art approach has worked well for some time, with high quality mice and trackballs providing years of trouble-free use, the mechanical elements of such pointing devices necessarily limit the useful life of the device. Optical mice which illuminate a reference pad, while having few or no mechanical parts, have historically been limited due to the need for the reference pad to have a regular pattern, as well as many other limitations.
Additionally, in conventional electronic mice, a quadrature signal representative of the movement of the mouse is generated by the use of two pairs of LED's and photodetectors. However, the quality of the quadrature signal has often varied with the matching of the sensitivity of the photosensor to the light output of the LED. In many instances, this has required the expensive process of matching LED's and photodetectors prior to assembly. In addition, varying light outputs from the LED can create poor focus of light onto the sensor, and extreme sensitivity of photosensor output to the distance between the LED, the encoding wheel, and the photosensor.
There has therefore been a need for a photosensor which does not require matching to a particular LED or batch of LED's, while at the same time providing good response over varying LED-to-sensor distances. In addition, many prior art mice involve the use of a mask in combination with an encoder wheel to properly distinguish rotation of the encoder wheel. Because such masks and encoder wheels are typically constructed of injection molded plastic, tolerances cannot be controlled to the precision of most semiconductor devices. This has led, effectively, to a mechanical upper limit imposed on the accuracy of the conventional optomechanical mouse, despite the fact that the forward path of software using such mice calls for the availability of ever-increasing resolution. There has therefore been a need for a cursor control device for which accuracy is not limited by the historical tolerances of injection molding.
SUMMARY OF THE INVENTION
The present invention substantially overcomes the foregoing limitations of the prior art by providing a ball for use in a pointing device, e.g., a trackball or mouse, that includes at least two layers. The outer layer having a substantially smooth surface to enable the ball to move smoothly within the pointing device. The outer layer being transparent to a light signal of a particular frequency that can be used in conjunction with the ball to detect ball movement. The inner layer includes a texture that diffuses light signals at different intensities. Conventional balls used in pointing devices utilize a printed pattern. This movement of the ball, and thus the printed pattern, is detected by a sensor that translates the movement into a signal that can be used to move a cursor or otherwise indicate movement on a visual display, for example a computer screen. The printed ball is then polished in order to move easily in the pointing device. Brief Description of the Figures
FIG. 1 shows in exploded view an electronic trackball according to one embodiment of the present invention. FIG. 2 A shows a generalized cross-sectional side view of the ball cage and ball according to one embodiment of the present invention.
FIG. 2B shows a more detailed cross-sectional side view of the ball cage and ball according to one embodiment of the present invention including light paths.
FIG. 3 shows in schematic block diagram form the circuitry of a single pixel according to one embodiment of the present invention.
FIG. 4 shows an array of four of the block diagrams of FIG. 3, thus showing the interrelationship between the pixels according to one embodiment of the present invention.
FIG. 5 A shows in schematic block diagram form the circuitry used for cursor control according to one embodiment of the present invention. FIG. 5B shows in schematic block diagram form the signal conditioning circuitry of FIG.
5 A according to one embodiment of the present invention.
FIGS. 6A-6B show in flow diagram form the operation of the firmware which controls the logic of FIGS. 3 and 4 according to one embodiment of the present invention.
FIG. 7A shows in exploded perspective view a second embodiment of a trackball according to one embodiment of the present invention.
FIG. 7B shows in three-quarter perspective view the assembled elements of FIG. 7 A according to one embodiment of the present invention.
FIG. 8 A shows in side elevational view the assembly of FIGS. 7A-B according to one embodiment of the present invention. FIG. 8B shows in cross-sectional side view the assembled components shown in FIGS. 7A-
B according to one embodiment of the present invention.
FIGS. 9A-9D show in side elevational, bottom plan, top plan and cross-sectional side view the ball cage shown generally in FIGS. 7A-8B according to one embodiment of the present invention.
FIGS. 10A-10D show in side elevational, top plan, bottom plan and cross-sectional side view the upper opto housing shown generally in FIGS. 7A-8B according to one embodiment of the present invention. FIGS. 11 A-l ID show in side elevational, top plan, bottom plan and cross-sectional side view the lower opto housing shown generally in FIGS. 7A-8B according to one embodiment of the present invention.
FIG. 12A shows in simplified cross-sectional side view the operation of the optics according to one embodiment of the present invention. FIG. 12B shows in simplified cross-sectional side view an arrangement of a lateral sensor according to one embodiment of the present invention.
FIG. 12C shows is simplified cross-sectional side view the operation of the optics according to one embodiment of the present invention.
FIG. 13 shows in block diagram form the components of the lateral sensor according to one embodiment of the present invention.
FIG. 14 shows in schematic block diagram form the interface logic included within the sensor of FIG. 13 according to one embodiment of the present invention.
FIG. 15 shows in state diagram form the operation of the state machine included within the interface logic of FIG. 14 according to one embodiment of the present invention. FIG. 16 illustrates the arrangement of pixels within the pixel matrix of the sensor of FIG. 13 according to one embodiment of the present invention.
FIG. 17A illustrates in schematic form the logic associated with each type P pixel in FIG. 16 according to one embodiment of the present invention.
FIG. 17B depicts two images of the ball on the pixel matrix at times t and t-1 according to one embodiment of the present invention.
FIG. 18 shows in schematic diagram form the operation of the bidirectional pad of FIG. 13 according to one embodiment of the present invention.
FIGS. 19A and 19B show timing diagrams for the embodiment of FIG. 15 during various phases of operation according to one embodiment of the present invention.
FIG. 20A shows in exploded perspective view according to a third embodiment of the present invention.
FIG. 20B shows in top plan view the third embodiment of the present invention. FIG. 20C shows in front elevational view the third embodiment of the invention.
FIG. 20D shows in back elevational view the third embodiment of the invention.
FIG. 20E shows the third embodiment in side elevational view.
FIG. 21 A shows in three-quarter perspective view the ball cage of the third embodiment.
FIG. 21B shows in cross-sectional side view the ball cage and optical elements of the third embodiment.
FIG. 21C shows the ball cage in rear elevational view according to one embodiment of the present invention.
FIG. 2 ID shows a portion of the ball cage in relation to a ball according to one embodiment of the present invention. FIG. 22 shows in cross-sectional side view a fourth embodiment of the invention not requiring a ball.
FIGS. 23A-B show in exploded perspective view the optical components of a fifth embodiment of the invention. FIG. 23 A is a wire frame view, with no hidden lines, to show additional structural features, while FIG. 23B is a more conventional perspective view. FIG. 24A is a cross section of the dual-layer trackball according to one embodiment of the present invention.
FIG. 24B is a more detailed illustration of a portion of the dual-layer trackball according to one embodiment of the present invention.
DETAILED DESCRIPTION OF THE INVENTION
Referring first to FIG. 1, an electronic pointing device, and in particular an electronic trackball 10, is shown in exploded perspective view. The trackball 10 includes an upper housing 20, a printed circuit board 30 close to which a ball cage 40 is juxtaposed, a lower housing 50, a ball 60, and a plurality of buttons 70 located on the upper housing 20 which actuate associated switches 80. The switches 80 are normally located on the circuit board 30. The ball cage 40 typically is mounted on the PCB 30, although in some instances it can be mounted on a housing member.
The printed circuit board 30 includes circuitry for operating on the signals provided by a sensor and associated logic (see FIGS. 3 and 4). Thus, movement of the ball in the trackball is in turn converted into digital signals which control the cursor on the screen of an associated personal computer, terminal or workstation. In serial port pointing devices, the printed circuit board will typically include a microprocessor and related driver circuitry for sending and receiving standard serial communications, such as RS232 signals. Alternatively, the signals provided by the mouse will be compatible with PS/2 ports.
Referring next to FIG. 2A, a ball cage 40 (shown in cross-section) and a ball 60 according to the present invention are shown. As will be immediately appreciated by those skilled in the art, the combination of ball 60 and ball cage 40 are markedly different from the prior art and form a key aspect of the present invention. In particular, the ball 60 can be seen to have a plurality of randomly shaped markings thereon in a color which contrasts with the background, such that the overall effect is a randomly speckled ball. A typical ball may, for example, have black spots on an otherwise white ball, although many other color combinations would be acceptable. In some embodiments, the ball may be illuminated by infrared, ultraviolet or other non-visible light, in which case the speckles may be implemented in a manner which is visible to the associated light source but opaque to visible light. One example of such an arrangement is a coating on the ball which is opaque, for example black, in the visible spectrum, but transparent to infrared light, with appropriate speckles beneath the coating.
In one embodiment of the present invention, randomly shaped markings or spots are randomly or irregularly arranged on the ball, although the markings are within a predetermined suitable range. Thus, the markings for this embodiment typically will range in size from 0.5 mm2 to 0.7 mm2, with a density of about one spot per square millimeter. In an exemplary embodiment, the ball may be on the order of 10 mm in diameter, although the diameter could range from 5 mm or smaller to larger than 50 mm. In addition, and as can be better appreciated from FIG. 2B which shows a more detailed cross-sectional view of the ball and ball cage taken along the centerlines thereof, the ball cage 40 includes at least one (FIG. 2A), and in some cases two or more (FIG. 2B), light sources 200 such as an LED, which produces light that impinges on the ball 60. The LED or other light source may include an integrally formed lens. The light from the light sources 200 is preferably reflected and diffused off the inside surface 205 of the outer wall 210 of the ball cage 40, and is partially blocked by an interior wall 215 from striking directly the ball 60. The inside surface 205 may be, for example, the inside surface of a sphere. In this manner the light from the light sources 200 is distributed relatively uniformly across a predetermined portion of the ball, while at the same time the light is caused to strike the ball obliquely, providing illumination of the ball and allowing light to light diffusely a sensor. In another embodiment of the present invention, the ball includes at least two layers as illustrated in FIG. 24 A. Note that the dimensions of the layers in FIG. 24 are for illustrative purposes only. It will be apparent to persons of ordinary skill in the art that the two or more layers can be of different thicknesses. In each of the embodiments described below the outer layer 2404 is substantially smooth and rolls freely on the rollers or other bearing device. The outer layer can be made of any material that is transparent to the radiation frequency used by the light source 200 and detected by sensor(s). For example, the outer layer can be opaque to visible light but transparent to infrared radiation or ultraviolet radiation. Examples of the materials that may be used to form the outer surface include an epoxy. However, other hard materials or paints can also be used, e.g., polyurethane. The outer layer 2404 is polished using conventional techniques such that it is substantially smooth. One technique for polishing the outer layer 2404 is to have the outer layer be thicker than necessary initially. The outer layer 2404 is then rectified with a conventional centerless grinding technique and then polished with various abrasive pastes having finer and finer grains. An alternative method is to place a batch of balls 2400 in a drum with abrasive sand and rotate the drum like a thumbler. After some time the balls are smoother. The time to stop is determined by measuring the diameter of the balls, when they reach a given value. The balls are washed and placed in another drum containing finer grain abrasive. Smaller and smaller layers are removed, getting closer and closer to the specified diameter. As this occurs the outer layer 2404 becomes smoother. The balls 2400 are then polished with polishing paste, which may be similar to conventional car polish. The outer layer should be substantially smooth so that it moves smoothly on the bearings of the pointing device, e.g., a trackball or mouse, when operated by the user. A surface that is not substantially smooth would result in difficulties in mechanical movement of the ball.
The inner layer 2402 of the ball 2400 can be made of one or more of a variety of materials. One selection criteria is to use an inexpensive material. Examples of such materials include polyester, phenolic resin, epoxy, steel, aluminum, glass or a combination. In one embodiment, the outmost layer should be of a contrasting color with the color chosen for the pattern or with characteristics such that when lighted, some areas are of different light intensity than others. For example some areas will be diffusing light received from the source and other will not receive light and accordingly will appear black because these areas will not diffuse the light. In order to detect the movement of the ball, one embodiment of the present invention detects movement of the inner layer 2402. As described in greater detail herein, a light signal is transmitted through the outer layer 2404, strikes the inner layer and is reflected and scattered (diffused). These reflected and diffused portions of the signal are received by a sensor, either a conventional sensor or the sensor described below, which detects changes in the patterns on the surface of the inner layer. In conventional systems, this surface of the inner layer included printed patterns. In the present invention, printed patterns (and the associated costs associated with printing the patterns) are not necessary although they can be used and are used in some embodiments of the present invention. In one embodiment, the surface of the inner layer is not polished. As a result the surface of the inner layer 2402 has a non-smooth texture. This is shown in more detail in FIG. 24B. FIG. 24B is a more detailed illustration of a portion of the dual-layer trackball according to one embodiment of the present invention. This texture 2406 need only provide the sensor with characteristics (lines, pits, etc.) that can be tracked. In one embodiment the generation of the ball using a conventional process creates the required texture 2406. One technique for making the ball is to create the ball core 2404 using a mix of a liquid material with solid particles of a contrasting color. After solidification of the liquid material, the core is rectified so that the solid particles become visible, separated by areas filled with the solidified material. An alternative technique is to inject a ball with the outer surface of the inner layer 2402 including small protuberances, e.g., similar to conventional ping pong paddles (although on a smaller scale), or having many small holes. When the transparent outer layer 2404 coating is applied, it fills the gaps and then covers uniformly the surface of the ball. It will be apparent that many other techniques can be used to create the ball. In contrast to conventional techniques, the inner layer 2402 is not polished in order to ensure the texture is present. Another embodiment of the present invention is to modify the manufacturing process for making the ball. In the manufacturing process the inner layer of the ball 2402 is injected with particles of a different material, or any material having a different reflection characteristic. For example, thermo hardening materials can be used like phenolic resin, polyester, epoxy, which, once polymerized, don't melt. It is then possible to mix hard particles with the monomere of the same material in the liquid form and then perform the polymerization of the liquid portion. The particles are injected such that they are, at a minimum, positioned over the surface of the inner layer 2402. The different reflective characteristics enable the sensor(s) to detect the movement of the inner layer 2402. It is preferable for the particles to be distributed such that small movements of the ball 2400 are detectable.
Another embodiment of the present invention is to create the inner layer using a mold such that the inner layer 2402 includes lines, dots, dimples or other characteristics that causes differences in light reflection as the ball rotates. The molding is accomplished using conventional techniques.
Another embodiment of the present invention is to have the both the outer layer 2404 and inner layer 2402 made of a material, or materials, that are transparent to the radiation frequency generated by the light source 200 (the radiation of the light source can be outside of the visible spectrum, can be part of the visible spectrum or a combination). The inner layer 2402 includes a pattern profile on its surface, e.g., protuberances or holes. The valleys of the profile may be filled with a reflective material (and non-transparent material). The operation of the ball is as follows: if the valleys are filled with a color contrasting with the peaks, the patterns include areas that either diffuse light or absorb light. The movement of these areas are detected using a conventional sensor or the sensor described below. If the valleys are filled with transparent material, the sides of the peaks that receive the light from the LED are diffusing light. The other sides of the peak do not. Alternatively, the inner layer 2402 may include one or more particles of a material that have different reflective characteristics of the base inner layer material such that when the radiation strikes the particles the radiation is diffused differently from any diffusion that may be caused by the inner layer.
The following discloses one embodiment of how the multiple-layer ball of the present invention can be used. It will be apparent to persons of skill in the art that the ball may be used in a different manner without departing from the scope of the present invention. For example, the pointing device can include different cages, sensors, bearings, light sources, etc. In addition, the sensors and ball tracking devices and techniques described below are merely exemplary. It will be apparent to persons of ordinary skill in the art that the present invention will operate in conjunction with many different sensors, photodetectors, LEDs, cages, etc.
The ball is maintained in a rotatable position by a plurality of supports 150, which may for example be rollers of a conventional type, or may be jeweled bearing surfaces of the type disclosed in U.S. patent application Ser. No. 07/820,500, entitled Bearing Support for a Trackball, filed Jan. 14, 1992, now abandoned, and assigned to the same assignee as the present invention, incorporated herein by reference. Although only one such roller is shown in FIG. 2B because of the view shown, a plurality, typically three, such rollers are provided to ensure uniform support for the ball 60. A removable cover may be provided in some embodiments to permit readily insertion and removal of the ball 60; while such a removable cover is at present believed preferable, to permit cleaning of the ball and the inside of the pointing device, in at least some embodiments such a removable cover is unnecessary.
A photodetector array 220 is located centrally between the light sources 200 in a chamber 222 formed within a housing 224. A portion of the light which strikes the ball 60 is diffusely reflected into the array 220 through an optical element 225. The result is that an image of at least a portion of the illuminated surface of the ball is formed on the array 220. In an important distinction from prior art optomechanical mice, the ball cage includes no shaft encoders, nor does it include the matched light source and photodetector typical of prior optomechanical mice. The optical element 225 is typically fixed in location between the housing 224 and an aperture housing 228 of which the interior wall 215 forms the outside surface. An aperture 229 is provided in the aperture housing 228 to permit the diffuse light reflected off the ball 60 to reach the optical element 225, and then the photosensitive array 220. The photodetector array 220 will typically range in overall size from 1. times.1 mm to 7.times.7 mm, with each detector segment, or pixel, 220A-220n having dimensions in the range of 20 x 20 μm to 300 x 300 μm or more, where the exact dimensions are determined by the size of the overall array and the size of the individual detector. In the exemplary embodiments discussed herein, each pixel is on the order of 300 x 300 μm. As will be discussed hereinafter in connection with FIGS. 3 and 4, in the preferred embodiments of the invention described herein, each pixel includes a photodetector element and associated circuitry for conditioning the output of the photodetector element into a signal useable external to the array. The diameter of the ball (or other pattern) area whose image is projected on the sensor and used for detection corresponds to the detector field diameter, and thus determines the maximum field angle to be covered by the optics. In an exemplary embodiment, a typical ball area diameter viewable for detection may be on the order of 2.8 mm, which represents a field of 6.2 mm2, and the array 220 may comprise a matrix of 8. times.8 detectors 220 A-n, although other embodiments described hereinafter may use a matrix of 11.times.11 detectors. Although a square array of detectors has been implemented (substantially as shown in FIG. 5A), in at least some embodiments it may be preferable to arrange the individual detectors in a circle or hexagon. Depending upon the application, the detectors may be arranged across the area of the element, or may be positioned around the circumference, such as the circumference of a circle, where the contrast and resolution are more constant and thus give the best performance at the lowest cost. In one preferred embodiment, a square matrix is used but the corner elements are unused, to approximate a circle. In general, the objective is to match the area of the sensor with active pixels to the field of view obtained through the optics. In the exemplary embodiments discussed herein, this detector field typically approximates a circle, and in a typical embodiment will have a detector field diameter on the order of 3.25 mm.
At present, it appears that the size of an acceptable spot on the ball is relatively independent of the diameter of the ball. However, it has been found that the minimum size of a spot on the ball should be large enough that, when the image of the ball is focused on the sensor, the image of one spot covers at least one photodetector at all times and in all directions. It is preferred that, as a minimum, the size of the image of a single dot or speckle on the sensor should cover the center to center distance between two adjacent pixels on the sensor. In general, however, the preferred typical dot size has been selected so that the surface covered by the image of the dot covers about five pixels. As a maximum dot size, the image may cover substantially all of the sensor, although such an image size will cause degraded performance, as discussed below. Dot density may vary between 0.8 percent and 99.2 percent, but it is generally preferred that dot density be between twenty and seventy percent, with a typically preferred density on the order of forty percent. In a substantially case, with case, with a projected image size covering 8.3 mm2 on the sensor, the total or sum of the black or low intensity areas comprises 3.2 mm2, while the total or sum of the white or higher intensity areas comprises 5.1 mm2. A contrast ratio of at least 2.5 between low intensity and high intensity areas of the image on the sensor is generally preferred. Use of a dot size within the appropriate range permits motion detection of an image,
(for example grayscale, binary or other format) to be based on tracking of the differences in spatial intensity (or, more simply, "edges") of the spots. The maximum dimension of the spot is related to the minimum desired output precision of the system; as will be better appreciated hereinafter, the resolution of the system depends upon the number of edges that move divided by the total number of edges viewable. In an exemplary embodiment described hereinafter, for an output resolution greater than 15 dots/mm, it is useful to have an image with at least sixteen edges in each of the X and Y directions. If the number of edges is too small, movement of the cursor will appear "jumpy" in response to movement of the ball. For a four bit A/D converter plus sign, sixteen edges are used to reach unit increments.
In addition, it is important to maximize the amount of diffuse light energy reflected off the ball 60 and reaching the detector array 220, and in particular each particular detector element 220A-n. Although a wide range of magnifications is workable, a magnification of - 1 is preferable to minimize the effects of mechanical tolerances. In addition, because of the small size, expense, and required modulation transfer, conventional lenses are unsatisfactory in at least some of the presently preferred embodiments. Instead, for those embodiments where conventional lenses are unsatisfactory, diffractive optical elements (DOE's) are preferable. However, in some embodiments, as described hereinafter, classical lenses may be used although some reduction in resolution may be necessary. Even for embodiments which use classical lenses, a resolution on the order of one line per millimeter is possible. In particular, in at least some embodiments DOE's can provide the required light transfer while at the same time being fabricated by means of relatively conventional lithographic and etching methods known from microelectronics fabrication which fit into the normal manufacturing processes for fabricating the detector array itself, thus keeping additional costs to a minimum.
Additionally, while both spherical and aspherical lenses may be used in appropriate embodiments, aspherical functionality can be readily provided in a DOE at virtually no additional expense, and provides desirable light transfer capabilities although it does involve a more complicated design effort. In addition, different optical functions may be included in the same DOE, so that a portion of the DOE substrate can be fabricated with a first microstructure which directs the illumination cone from a light source at the appropriate incidence angle onto the ball surface, and a second microstructure which acts as an aspheric lens for pattern imaging, so that the image of the ball illuminated by the first microstructure is properly focused on the array 220 by the second microstructure. Although such multiple DOE structures are attractive for at least some embodiments of the present invention, in the generally preferred arrangement a DOE is used only for imaging the illuminated area of the speckled ball 60 onto the array 220. In such an exemplary embodiment, the focal length of the DOE is on the order of 2.4 mm where the total ball-to-detector array distance is on the order of 10 mm. The aperture diameter is on the order of 1-1.5 mm, or a numerical aperture (NA) on the order of 0.1. In addition, because the magnification is -1, the DOE is located midway between the ball 60 and the detector array 220. As with other optomechanical mice, the motion to be detected corresponds either to two translations (x,y), or one translation and one rotation about the center of the image. Additionally, for power consumption reasons, the LED's are pulsed in the manner described in U.S. patent application Ser. No. 07/717,187, filed Jun. 18, 1991, now U.S. Pat. No. 5,256,913 and entitled Low Power Optoelectronic Device and Method, meaning that the photodetectors 220A-N can only detect a series of "snapshots" of the ball. Finally, the output of the detector array 220 preferably is compatible with a microprocessor input so that the signal can be readily converted to control of a cursor. For example, the output could conform to the type of output provided by designs employing optical encoders, such as described in U.S. Pat. No. 5,008,528, and would result in a two-bit quadrature code of about 15 impulsions per millimeter of ball displacement.
For the exemplary embodiment of FIGS. 1-2, circuitry for operating on the output signals received from the detector array 220 can be better understood by reference to FIG. 3, although FIG. 3 shows photodetector and logic comprising only a single pixel. Similar logic exists for each pixel 200A-n in the detector array (a four pixel array is shown in FIG. 4A), with the end result being a collective computation for the array as a whole. In an exemplary embodiment, the detector array 220 and the associated logic arrays of the type shown in FIG. 3 are all implemented on a single die, and in particular the individual detector and associated circuit elements formed on the same pixel.
As a general explanation of the operation of the circuits of FIGS. 3 and 4, the basic function of the algorithm is the correlation of edges and temporal intensity changes ("tics"). Referring particularly to FIG. 3, a photodetector 220A such as a reverse biased photodiode generates a current proportional to the intensity of the light reflected off the ball onto the detector 220A. The current is compared with a threshold by a threshold circuit 300, to decide whether the pixel is white or black. The threshold can be adjusted differently for different sensor zones, such as to compensate for uneven lighting; such adjustment can be made automatically or otherwise, depending on application. Alternatively, a differential circuit, based on the signals from neighboring cells, can be used to reduce sensitivity to variations in lighting intensity, ball speckle density, and so on.
While a photodiode has been used in the exemplary embodiment of the photodetector 220A, it is also possible to use a phototransistor in a number of embodiments. Phototransistors offer the advantage of high current gain, and thus give a high current output for a given level of illumination. However, in some embodiments photodiodes continue to be preferred because at least some phototransistors have degraded current gain and device matching characteristics at low illumination, while photodiodes at present offer slightly more predictable performance, and thus greater precision.
The output of the threshold circuit 300 is then supplied to a first memory 305, which stores the state of the threshold circuit and allows the LED to be switched off without losing the illumination value of the image. The first memory 305, which may be either a flip-flop or a latch, thus may be thought of as a one-bit sample and hold circuit. More particularly, on the appropriate phase of the clock signal, for example when the clock signal is high, the output of the threshold circuit 300 is copied into the memory, and that value is frozen into memory when the clock signal goes low. A second memory 310, also typically a flip-flop or latch, stores the old state of the memory 305 in a similar manner, and thus the output of the second memory 310 is equal to the output of the first memory 305 at the end of the previous clock cycle. The clock cycle is, in an exemplary embodiment, synchronized with the LED pulse, with the active edge being at the end of the light pulse. The old state of the memory is supplied to the pixels below and on the left through a "CURRENT STATE" bus 306.
The temporal intensity change ("tic") of a pixel can thus be determined by comparing the states of the first and second memories 305 and 310, respectively. This comparison is performed by comparator logic 315. In addition, the output of the first memory 305 is provided to two additional comparators 320 and 325 to detect edges on the top and at the right, respectively. The comparator 320 also receives information on a line 321 about the current state of the pixel above in the array. The comparator 325 receives information from the pixel on the right through a line 326, or "EDGE ON RIGHT" bus, and supplies information to the pixel on the right through a line 327. The comparators 315, 320 and 325 may each be implemented as Exclusive-Or circuits for simplicity.
Edges at the left and bottom are communicated to this pixel by the pixels at the left and on the bottom, respectively, as can be better appreciated from the portion of the array shown in FIG. 4 A. More specifically, as with reference to FIG. 3, the corresponding pixel circuits will inject a current on an associated wire if a tic and a corresponding edge is detected with the result being that edges at the left and bottom are deducted from the values of the corresponding neighboring pixels. Similarly, the detection of a horizontal or vertical edge is signaled by injecting a current on the corresponding wire. Thus, left correlator logic circuit 330 receives information on a line 335 from what may be thought of as a "MOVE LEFT" bus, and also receives information from the adjacent pixel on a line 336, which may be thought of as an "EDGE ON LEFT" bus. Down correlator logic 340 receives information on a line 345 from a "MOVE DOWN" bus, and also from a line 341, supplied from the pixel below as an "EDGE ON BOTTOM" bus. In contrast, up correlator logic 350 receives one input from the circuit 330 and a second input on a line 351, or "EDGE ON TOP" bus, and provides a signal on a line 355, or a "MOVE UP" bus; right correlator logic 360 provides a signal on a "MOVE RIGHT" bus 365. The correlator circuits may be thought of simply as AND gates.
In addition, a pair of switched current sources, 370 and 375, provide a calibrated current injection onto respective busses 380 and 385, when edges are detected; the current source 370 receives its sole input from the EDGE ON TOP bus 351. Thus, when a horizontal edge is detected moving vertically, the current source 370 provides a calibrated current injection on line 380; similarly, when a vertical edge is detected moving horizontally, the current source 375 provides a calibrated current injection on line 385. The lines 321,326, 336 and 341 are all tied to false logic levels at the edges of the array. Calibration is not required in all embodiments.
Referring again to FIG. 4A, the implementation of a four pixel array can be better appreciated, and in particular the manner in which the correlator circuits 330, 340, 350 and 360 tie into adjacent pixel logic can be better understood. Similarly, the manner in which the vertical and horizontal edge detectors 370 and 375 cooperate with adj acent pixels can be better appreciated. In this first exemplary embodiment, an 8.times.8 matrix of pixels and associated logic has been found suitable, although many other array sizes will be acceptable in particular applications, and an 11. times.11 matrix is typically used in connection with the embodiments discussed hereinafter. In addition, the 8.times.8 array is, in an exemplary embodiment, comprised of four 4.times.4 quadrants, although it is not necessary to decompose the array into quadrants in other embodiments. Arrangement of the array into quadrants is helpful to detect rotation of the ball, although translation may be readily detected without such decomposition. Each quadrant is provided with its own outputs for the four directions of displacement, to permit calculation of displacement to be performed. In other embodiments, It will be appreciated that, basically, six bus lines are provided, with the output of each pixel tied to each bus. Depending on the characteristics of the image in the pixel and its neighbors, one to all six busses may be driven. In essence, the function of the circuits of FIGS. 3 and 4 is that each pixel 200 A-n can either drive a preset amount of current onto the associated bus ("ON"), or do nothing. By the use of very precise current drivers, it is then possible to sum the respective currents on each of the busses and determine the number of pixels that are on the bus. The six busses give six numbers, and the six numbers are combined to compute X and Y, or horizontal and vertical, displacements. In a presently preferred embodiment, X and Y displacements can be calculated as:
Δ X=( .∑ MoveRight - ∑ MoveLeft )/( ∑. Edgex)
Δ Y=( .∑ MoveUp - ∑ MoveDown )/( ∑. Edgeγ)
The algorithm may be summarized as follows:
Edgex = Light (sample cell) > c X Light (cell left) or (Boolean) c X Light (sample cell) < Light (cell left) Edgeγ = Light (sample cell) > c X Light (cell top) or (Boolean) c X Light (sample cell) < Light (cell top) Color = Light (sample cell) >c X Light (cell left) or (Boolean)
Light (sample cell) >c X Light (cell top) MoveRight Edgeχ(t) (sample cell) and (Boolean)
Edgex(t_i) (cell left) and
Colort-ι (cell left) = Colort (sample cell)
MoveLeft = Edgex(t) (sample cell) and (Boolean)
Edgex(t_i) (cell right) and
Colort_ι (cell right) = Colort (sample cell) MoveUp = Edgex(t) (sample cell) and (Boolean)
EdgeX(t-i) (cell bottom) and
Colort_ι (cell bottom) = Colort (sample cell)
MoveDown Edgex(t) (sample cell) and (Boolean)
Edgex(t_D (cell top) and
Colort-ι (cell top) = Colort (sample cell)
The value of c in the foregoing is a constant chosen to avoid noise and mismatch problems between two adjacent pixels, and in the embodiment described has been chosen to be a value of 2. Also, as previously discussed described has been chosen to be a value of 2. Also, as previously discussed generally, it will be apparent from the foregoing algorithrn that an increase in the number of edges present in the image results in an increase in the precision of the displacement measurement. It will also be apparent that the measured displacement is a fraction of the distance between two pixels.
Some calculations may be done digitally or by other techniques.
The effect of a move on the pixels can be graphically appreciated from FIG. 17B, in which a pixel array includes an image comprising some dark pixels D, some light pixels L, and some pixels E which are undergoing an intensity change indicative of the presence of an edge. Thus, if a first oval area F is defined as the image of the ball at a time (t-1), and a second oval area S is defined as the image of the ball at a time (t), the direction of motion can be determined as shown by the arrow. The difference between the right and left moves (the dividend in the above fractions) is easily implemented with a differential current amplifier having, in at least some embodiments, inverting and non-inverting inputs, as will be better appreciated in connection with FIG. 5B, discussed below.
Referring next to FIG. 5A, a generalized schematic block diagram is shown in which the array 220 is connected to the remaining circuitry necessary for operation as a trackball. The array 220 is connected through signal conditioning logic 505 A-B to AD converters 510 and 520 to a microprocessor 530. The A/D converter 510 supplies lines X0, XI and X2, as well as the sign of the X movement, to the microprocessor on lines 540; likewise, A/D converter 520 supplies lines Y0, Yl and Y2, as well as the sign of the Y movement, to the microprocessor on lines 550. In some embodiments a four-bit A/D converter plus sign may be preferred, in which case an extension of the present circuit to four bits is believed within the normal skill in the art. Switches 80 supply additional control inputs to the microprocessor 530. The microprocessor provides a clock signal on line 535 to the array and associated circuits, indicated generally at 545, which may for example be implemented on a single sensor integrated circuit. The microprocessor 530 then communicates bi-directional with line interface logic 560, and the output of the line interface logic 560 provides cursor control signals in conventional form to a host system, not shown, over an output bus 570. It will be appreciated by those skilled in the art that, in the embodiment detailed herein, the microprocessor 530 is used primarily for establishing the protocol for communications with the host, although it does also control LED pulsing, sleep mode and services interrupts.
With reference next to FIG. 5B, the signal conditioning circuits 505 A-B shown in FIG. 5 can be better understood. For convenience, only the X (horizontal move) signal conditioning circuit is shown in detail; the corresponding Y (vertical move) circuit is functionally identical. As previously noted, the cumulative current signals from the various pixels are summed on their respective busses. These sums of such currents from the "move left" and "move right" busses are subtracted in summing circuit 570, followed by determination of the absolute value in an absolute value circuit 572, after which the absolute value is provided to the A/D converter 510. In addition, sign of the move is determined by providing the output of the summing circuit 570 to a comparator 574. Finally, the sum of the edge currents is compared through a series of comparators 576, the outputs of which are fed to combinational logic 578, and thence provided as X0-X2 outputs. It should also be noted that the A/D conversion of circuits 510 and 520 can be readily implemented using a flash A/D converter. Division can be similarly implemented with a flash A/D converter by using a reference voltage proportional to the bus current for the horizontal (or vertical) edges. Use of current sources for such circuitry provides desirable simplicity and compactness.
Referring next to FIGS. 6A and 6B, the operating program which controls the microprocessor 530 can be better appreciated. Referring first to FIG. 6 A, the operation of the system of FIGS. 1-5 begins at step 600 by resetting and initializing the logic, and enabling interrupts. A check is made at step 610 to determine whether the sleep mode has been enabled.
If sleep mode is enabled, reflecting no recent movement of the ball of the trackball, the logic of FIGS. 3-5 sleeps at step 620 until the timeout or the occurrence of bus activity, whichever occurs first. The occurrence of sleep modes is discussed in U.S. patent application Ser. No. 07/672,090, filed Mar.
19, 1991, now abandoned, and assigned to the same assignee as the present invention, the relevant portions of which are incorporated herein by reference. If sleep mode is not enabled, or if a timeout or bus activity has occurred, the switches 80 on the trackball are read at step 630. After the switches are read, a check is made at step 640 to see whether the ball is moving. If not, sleep mode is enabled at step 650.
If the ball is moving, the total displacement is computed at step 660. Following computation of the displacement, the data is provided as an output to the host system at step 670, and the process loops back to step 610. Referring next to FIG. 6B, the interrupt service routine of the present invention can be better understood. The interrupt service routine is accessed at step 675 whenever a timer function from the microprocessor generates an interrupt, although other methods of generating an interrupt at regular intervals are also acceptable in at least some embodiments. The system responds by acknowledging the interrupt at step 680, followed at step 685 by pulsing the LEDs and sampling the sensor outputs for X and Y. At step 690 the time before a next sample is to be taken is calculated. The amount of time can vary, depending upon whether the displacement of the ball since the last sample is large or small; for example, a sampling rate of once per millisecond is typical during normal movement, with less frequent sampling when the ball is stopped. If the displacement is small, the time between successive samples is increased; if the displacement is large, the time between samples is decreased. In a presently preferred implementation, a
"small" displacement represents a movement on the order of 1/400* of an inch or less; a "large" displacement will range between 5/800Λ and 7/800 th of an inch. After computing the time until the next sample, the system returns from the interrupt at step 695. Referring next to FIGS. 7A-7B and 8A-8B, an alternative embodiment of the present invention within a trackball is shown in exploded perspective view and indicated generally at 10. FIG. 7B is an assembled view of the exploded perspective view of FIG. 7A, while FIG. 8 A is a side elevational view of the assembled device. FIG. 8B is a cross-sectional side view taken along line AA-AA in FIG. 8A.
It will be appreciated by those skilled in the art that the present embodiment comprises essentially four main elements: a ball with a detectable pattern on its surface; one or more light sources such as LEDs to illuminate the ball; a sensor for detecting an image of at least the portion of the ball illuminated by the light sources; and optics to allow the image to be focused on the sensor. In addition, a mechanical framework for supporting the ball, the light sources, the optics and the sensor must be provided. Each of these components will be described in turn, beginning with the mechanical framework. An upper housing 700 and lower housing 705 are shown in breakaway view, and in at least some embodiments (such as portable or handheld computers or similar devices) will be incorporated into, for example, a keyboard. A ball 710, of the type described hereinabove, is maintained within a ballcage 715 by means of a retaining ring 720 which locks into the upper housing 700. The ball is typically on the order of five to fifty millimeters in diameter, although larger or smaller sizes are acceptable in various applications; in the exemplary embodiment described herein, a ball diameter on the order of 19 millimeters is typical. Situated below the ballcage 715 is an opto housing cover 725, into which is fitted an LED 730 through an angled bore better appreciated from FIGS. 10A-10D. In the exemplary embodiment described here, the LED may be, for example, in the 940 nm range (although as described above, the LED may emit a light signal in the visible light spectrum or the non-visible light spectrum. The opto housing cover 725 also provides a mount for a sensor 735 and a window 740, as well as a lens 745. The opto housing cover 725 then mates to a opto housing 750 and is fastened in position by means of an opto clip 755. A second LED 730 is inserted into the opto housing 750 through a second angled bore, better appreciated from FIG. 11 A-l IB. The opto clip 755 is retained in position by being fitted under a detent 760 formed on the opto housing 750 (best seen in FIG. 8B). The subassembly 765 formed by the opto housing cover 725 and opto housing 750 and related components is positioned beneath the ball cage 715. Sandwiched between the ball cage 715 and subassembly 765 is a PC board 775, with the ball 710 viewable by the subassembly 765 through an orifice 770 in a PC board 775. The ball cage 715 is affixed to the PC board 775 by screws 780 or other suitable means, and the subassembly 765 is fastened to the PC board 775 and the ball cage 715 by means of screws 780 which extend through the opto housing 750 and PC board 775 into the ball cage 715. The PC board 775 also includes one or more buttons or switches 785. A connector 790 connects the PC board 775 to a host system (not shown), such as a notebook or other computer, in a conventional manner such as through a serial or PS/2 protocol.
Referring next to FIG. 9A-9D, the ball cage 715 is shown in greater detail. In particular, FIG. 9A shows the ball cage 715 in side elevational view, while FIG. 9B shows it in bottom plan view. FIG. 9C shows the ball cage in top plan view, while FIG. 9D shows the ball cage in cross-sectional side view taken along line B--B in FIG. 9C. The ball cage 715 includes an upper annulus 860 with rotary slots 865 for locking in the retaining ring 720. Below the upper annulus 860 the interior of the ball cage forms a bowl 870. Excavated from the bowl are three slots 875 in which bearings 880 are placed for supporting the ball 710. The bearings 880 are of the type described in
U.S. patent application Ser. No. 07/820,500, entitled Bearing Support for a Trackball, filed Jan 14 1992, now abandoned, mentioned previously. The slots are positioned substantially with radial symmetry within the bowl 870. In the bottom of the bowl 870 is an orifice 885 through which the ball may be viewed by the optical portion, discussed generally above and also discussed in greater detail hereinafter. Mounting pads 990 each include a bore 995 for receiving the screws 780 (FIG. 7A), for mounting the ball cage to the PCB 775 (FIG. 7 A), while mounting pins or bosses 1000 also include a bore 995 to permit the subassembly 765 to be affixed to the ball cage 715. A pair of guide pins 1005 are also provided for positioning the ball cage relative to the PCB 775.
A flattened portion 1010 (FIG. 9D) is provided to receive and position the sensor relative to the lens and window discussed above in connection with FIG. 7 A. The flattened portion 1010 cooperates with the orifice 885 to permit the ball 710 (FIG. 7A) to extend through the orifice so as to be illuminated by light from the LEDs 730 and illuminate a sensor with light diffusely reflected off the ball 710 (FIG. 7A).
Referring next to FIGS. 10A-10D and FIGS. 11A-1 ID, the opto housing cover and opto housings can be better appreciated. In particular, the opto housing cover 725 is shown in front elevational view (FIG. 10A), rear elevational view (FIG. 10B), side elevational view (FIG. IOC), and front and rear perspective view (FIG. 10D). The opto housing 750, which mates to the upper housing 725, is show in top plan view in FIG. 11 A, in side elevational view in FIG. 1 IB, and in bottom plan view in FIG. 1 lC. In FIG. 1 ID, the combination of the opto housing cover, opto housing, lens, mirror and sensor are shown assembled in cross-sectional side view in relation to the ball.
With particular reference to FIGS. 10A-10D, the opto housing cover 725 functions to position the LEDs 730 in a manner which floods a selected portion of the ball 710, while also positioning the lens, window and sensor relative to the ball so that light reflected from the ball impacts the lens and, from there, the sensor. The housing 725 includes an angled bore 1020, at the outside end of which one of the LEDs may be positioned. The bore communicates with the central portion of the upper housing. A raised member 1025 positioned substantially at the center of the upper housing provides support for one end of the window 740, while the lens 745 is supported within a recess 1030 partially formed in the upper housing 725. The raised member 1025, as well as the recess 1030, join with mating portions 1035 and 1040, respectively, of the opto housing 750, as shown particularly in FIG. 11 A. In addition, as shown in both FIGS. 11 A and 1 IB, the opto housing includes an angled bore 1045 symmetrical to the bore 1020 for supporting the second of the LEDs 730 which, like the first LED, illuminates the lower portion of the ball 710 so that diffuse light is directed onto the sensor 735. As noted previously, diffuse light is presently preferred because of the improved contrast it provides on the light and dark sections of the ball 710.
In addition, the lower housing 750 also includes a recess 1050 to receive the sensor 735, as better appreciated in FIG. 11D.
FIG. 1 ID, which is a cross-sectional side view of the upper and lower housings together with lens, sensor and window, illustrates the relationship between the key optical elements of this embodiment. In particular, the opto housing cover 725 can be seen to mate with the opto housing 750, with the two opto housings cooperating to position and support the lens 745 in alignment between the ball 710 and the sensor 735. The window 740 is interposed between the ball and the lens, and in those embodiments which use infrared illumination of the ball may be made from a material which appears black in the visible spectrum but is transparent to infrared frequencies, which allows extraneous visible light (such as might enter between the ball and retaining ring) to be filtered out. In addition, the retaining clip 760 can be seen on the underside of the lower housing 750. Not shown in FIG. 1 ID are the bores through which the LEDs 730 illuminate the ball 710.
To better understand the optical path of the embodiment shown in FIGS. 7-11, FIGS. 12A-12C show the operation of the optics in simplified form. In particular, in the simplified drawing of FIG. 12A, the ball 710 is retained within the ball cage 715 by the retaining ring 720. A pair of LEDs 730 illuminate the lower portion of the ball, with the light diffusely reflected through a transparent portion onto the lens 745 and thence onto the sensor 735. In addition, other aspects of this embodiment which can be appreciated from this simplified view are the seal formed by the retainer ring, which helps to prevent dust and dirt from entering the ball cage, and the transparent window which further assists in preventing dirt from blocking the optics.
Referring next to FIG. 12B, the optical arrangement for a classical lens in an in-line arrangement of ball, lens and sensor are shown. In particular, an area 1210 of the ball is illuminated from the LEDs discussed previously. Diffuse light from the illuminated portion of the ball passes through a lens 1220 and strikes a sensor 1230. The lens, which may be made of glass or any suitable optical plastic such as polymethybmefhacrylate (typically polished or molded such as by hot pressing), may be a simple biconvex lens having both radii equal to, for example, 2.37 mm where the thickness of the lens is on the order of 1.23 mm and the distance from the ball to the nearest lens surface is on the order of 4.35 mm. Similarly, the distance from the sensor to the nearest lens surface is on the order of 4.42 mm. In such an arrangement the field of view of ball is about 2.8 mm in diameter. The optically free diameter of the lens is preferably limited, and in the foregoing example may be limited to about 1.5 mm aperture. The optical limits may be imposed by mechanical or other means.
Referring next to FIG. 12C, the optical arrangement for a classical lens in a lateral arrangement of ball, lens and sensor are shown. This approach, which is presently preferred and shown in the second and third embodiments herein described, involves a folded light path. In particular, an area 1240 of the ball is illuminated from the LEDs discussed previously. Diffuse light from the illuminated portion of the ball passes through a portion of a plano-convex lens 1250, which is hemispherical in an exemplary embodiment. As before the lens may be made of polylmethacrylate
(PMMA), but now has a flat, mirrored back surface. The size of the mirrored area provides an aperture stop equivalent to that required in the in-line arrangement of FIG. 12B, and in the embodiment described herein may be, for example, on the order of 1.8 mm aperture where the field of view of the ball is again 2.8 mm, but the lens-to-ball distance is on the order of 3.2 mm and the lens to sensor distance is on the order of 3.3 mm. In this example, the radius of the lens may be on the order of 1.75 mm. The total deflection angle of the lens is not especially critical, and for the embodiment described may vary between seventy-two and ninety degrees without deterioration of optical performance. A baffle 1260 may be provided to ensure that no light from the ball strikes the sensor directly. In the event the sensor is covered with a protection layer (usually epoxy), the distance between the lens and the sensor may need to be increased by an amount of about one-third of the thickness of the protective layer. Such a simplified correction term is adequate for layers up to one millimeter thickness with a refractive index of 1.5.+-.0.05. Alternatively, the surface of the protection layer may be curved to form a negative lens, which will act as a field flattener and thereby reduce the image field curvature. This would tend to improve the resolution and contrast in the border area of the sensor.
With reference next to FIG. 13, the operation of the sensor electronics of the embodiment shown in FIG. 7 A can be better appreciated. In general, the electronics associated with the second embodiment described above is in some respects presently preferred over that associated with the first embodiment described above, although each approach has merit. In general, the electronics implemented in the second embodiment comprises an array of pixels composed of both the photodiode to detect the image and the circuitry both to perform the calculation and store the information, together with appropriate electronics to communicate that information to a host system.
From the description of FIG. 5 A, it will be apparent that the circuits of FIG. 13 are essentially a replacement for the sensor circuit 545 shown in FIG. 5 A. In particular, as shown in FIG. 13, the logic associated with the device of FIG. 7A includes a pixel matrix 1305, which is typically an 11. times.11 array of photodiodes and associated circuits but could be substantially larger in at least some embodiments. The circuit also includes a current-based A/D converter circuit 1315 substantially similar to that shown in FIG. 5B but expanded to four data bits plus sign, an absolute value circuit 1320 substantially the same as shown in FIG. 5B (which supplies the sign for the 4 bit data word from the A D converter), a top ring shift register 1325 and an analog mux 1330, a right ring shift register 1335 and an associated plurality of two-to-four decoders (eleven for an 11. times.11 array) 1340, data storage logic 1345, a current reference circuit 1350, and interface logic 1355. In addition, the logic includes a first test shift register 1360 for the rows on the left of the matrix 1305, together with a second test shift register 1365 for the columns in the bottom of the matrix. For a matrix of 11.times.11 , each shift register is eleven bits, but it will be apparent that the size of the shift register could be varied over a very large range to correspond to the number of pixels on one side of the matrix. In addition, a plurality of test pads 1370 is also provided, as are VDD and Vss circuits. The A/D converter circuit for the exemplary embodiment described herein is preferably a sequential, asynchronous device to reduce the circuitry required for implementation, although in other embodiments a parallel converter may be preferred. In addition, in some embodiments a sample and hold circuit can be provided ahead of the A/D converter circuits.
In the logic of FIG. 13, all of the digital blocks operate under the control of the interface logic 1355, which also interacts with the primary analog elements. In rum, the chip is typically controlled via a microcontroller, as illustrated previously. The interface logic uses only synchronous logic blocks, as is therefore capable of being controlled by a synchronous state machine with a counter, such as a seven bit counter for the embodiment of FIG. 13. In addition, for the embodiment described no "power-on-reset" function is required, since the logic reaches a deterministic state after a predictably small number of cycles, such as about 150 cycles with the bidirectional (or input and output) "data" line forced high for the exemplary embodiment shown. Referring next to FIG. 14, the architecture of the interface logic 1355 may be appreciated in greater detail. A control state machine 1400, operating in connection with a seven bit counter 1405, operates generally to select from among various inputs to place data on a bidirectional pad 1410 by control of a mux 1415. The counter 1405 can be preset or can decrement its current count by means of a signal from the state machine 1400. In addition, if the count in the counter 1405 is null, the state machine is forced to change state by means of a signal supplied to the state machine.
The inputs to the mux 1415 include pixel information on line 1420, edge information on line 1425, a check bit on line 1430, or either wake up information on line 1435 or serial data out on line 1440. Both the wake up information and the serial data out information are provided by a parallel to serial converter 1445, which receives its input from a mux 1450 having, for the exemplary embodiment shown, a twelve bit output. The input to the mux 1450 can be either displacement data on line 1455, or predetermined ID information, such as ID- HOD1 on line 1460. It will be apparent that the function of the mux 1450 is to select one of its two inputs for supply to the parallel-to-serial converter 1445, and is controlled by the state machine 1400. It will be noted that neither pixel information on line 1420 or edge information on line 1425 is latched in the exemplary embodiment, to allow real-time switching. However, it may be desirable in some embodiments to provide such latching. The check bit on line 1430 is toggled after any image sample, and allows the processor to determine whether the chip is synchronized to ensure proper communications. The particular input chosen to be passed through the mux 1415 is selected by control lines 1460 from the state machine 1400, which also supplies direction information on line 1465 to the bidirectional pad 1410 to determine whether signals flow to or from the pad 1410. If the state machine 1400 is seeking information from the pad 1410, the incoming data can be latched into a D flip-flop 1470, where the clock is controlled by the state machine 1400. Data at the output of the flip-flop 1470 is then supplied to the state machine 1400, a serial-to-parallel converter 1475, and to a plurality of test image simulation circuits 1480 for diagnostics. The signals which can be supplied to the remainder of the circuitry from the serial-to-parallel converter
1475 include reference level and hysteresis, on line 1485, dis sample on line 1490, and dis idle on line 1495.
Referring next to FIG. 15, the operation of the state machine 1400 is shown in greater detail in the form of a state diagram. As will be apparent from FIG. 14, the state machine is controlled from two inputs: one from the seven bit counter 1405, when the counter reaches a null value, and another from data in from the bidirectional pad 1410 through the D flip-flop 1470. In the drawing, "in" means that the microcontroller associated with the sensor chip must force a logical level on the data pad 1410, while "out" means that the interface logic 1355 will drive a logical level on the "data out" line from the mux 1415. Each box of the state diagram of FIG. 15 shows the name of the state as well as the operation performed, such as a pre-set to a certain value or a decrementing. In the exemplary embodiment shown, states will typically change on the rising clock edge, and control inputs are latched on the fall edge of the clock signal. Essentially, at the end of each cycle, the machine moves to the state for which the condition is true; but if no condition is true, the state remains unchanged for that cycle. Such a condition can occur, for example, when the machine forces the counter to decrement. It will be appreciated by those skilled in the art that the conventions used in the
C programming language have also been used in FIG. 15.
Operation begins at RESET step 1500, typically following an initialization step. For the exemplary embodiment shown, a typical reset can occur by applying a predetermined number of clock cycles with the "data" line forced high. Alternatively, a pull up arrangement could be implemented and the data line forced low to achieve an equivalent result. The maximum number of cycles necessary to reach a known or "reset" state from an unknown, random starting state can be derived by inspection of FIGS. 13 and
14. For the embodiment shown, the maximum number of cycles necessary to reach a determined state is 143, which occurs when the initial state is "wakeup". For conservative simplicity, approximately 150 cycles may be used. Alternately, a more conventional reset can be provided. Following the RESET step, the state machine moves to one of seven selector states,
SELECTOR1-SELECTOR7, indicated at reference numerals 1505-1535, respectively, which allows the microcontroller to choose among different operations to be performed. If the SELECTOR1 state indicated at 1505 is selected, the next state is the SS AMPLE, indicated at 1540. The SS AMPLE state is the first state of the displacement reading loop. In this state, "data" is driven with the "check, bit" value (shown as 1430 in FIG. 14). If the value of
"dis sample" on line 1490 (FIG. 14) is low, pixel currents from the pixel matrix 1305 (FIG. 13) are sampled on the falling edge of the clock signal CK in a manner described in greater detail hereinafter. Upon leaving the state, the "check_ bit" signal on line 1430 (FIG. 14) is toggled and the displacement is latched into the parallel-to-serial register/converter 1425. The displacement data is later shifted out. Following the S SAMPLE state, the state machine 1400 moves to the WAKEUP state 1545, where "wake-up" information is put on "data". For the exemplary embodiment shown, a wake- up occurs where there is sufficient X or Y movement to exceed the hysteresis programmed into the system. This can be expressed as "wake-up' — ((X [3:0] AND hysteresis) OR (Y[3 :0] AND hysteresis) 0). If the result is a one, or high, the edges are latched in the pixels when "CK" is low. A high result means that the state machine moves to the GETDISP state 1550; a low result means that the state branches back to the SELECTOR1 state 1505. The microcontroller is able to force the machine to branch to the GETDISP state 1550 by forcing up the "data" level, but the edges in the pixels will not be latched. The machine thereafter advances by returning to the SELECTOR1 state 1505.
If the SELECTOR2 state 1510 was selected, the next state is RESET ALL, indicated at 1555. If "data" is high, a general reset is performed. All test shift registers (FIG. 13) and switches are reset to 0, and the hysteresis reference level is reset to 'B 11110; likewise, sample is enabled, normal sleep mode is enabled, and the checkbit is cleared. However, if "data" is low, no operation is performed. The machine then advances to the next state, GETID, indicated at 1560, and identification bits are put serially on "data", with the most significant bit first, for example 'B000011010001. The machine next returns to the RESET state 1500.
If the SELECTOR4 state was selected, and "data" is high, the machine advances to the FORCESHTFT state, indicated at 1565. If "data" is high, the edges are latched in the pixels during the Low phase of "CK", and the current edges replace the old edges. The machine then advances to the NOTFORCESLEEP state, indicated at 1570, where, if "data" is Low the chip is in sleep mode during the Low phase of "CK". On the next cycle the machine advances to the SETREFSW state, indicated at 1575. In this state the values of different switches and reference levels (or hysteresis values) can be defined. In order of priority, dis sample is set and, if high, no image sample is done at the "SSAMPLE" state and edges for the current image are frozen. The sensor chip is thus in a high power consumption mode. Next in priority, dis idle is set, but only has meaning if dis sample is low. If dis sample is low and dis idle is also low, edges for the current image are held only during the low phase of "CK" in the "SSAMPLE" state, during the "WAKEUP" state, and the first high phase of "CK" in the "GETDISP" or "SELECTOR1" states. If the dis__idle bit is low, the edges are held everywhere except in the high phase of "CK" in the "SSAMPLE" state. Those skilled in the art will recognize that power will be wasted if this bit is active. For the particular embodiment shown, the reference level, or hysteresis, is set by four bits, with MSB first. The machine thereafter returns to the RESET state 1500 when the counter 1405 (FIG. 14) reaches a zero. If the value of "data" had been low, or "ldata" at the SELECTOR4 state, the machine would next have advanced to the GETIMAG state, indicated at 1580. In this state, an image scan is performed by comparing pixel currents one by one with a reference current. The details of this operation have been treated generally in connection with the first embodiment, described above, and will be described in greater detail hereinafter. After the image scan is completed, the machine returns to the
RESET state 1500 in response to a zero from the counter 1405 (FIG. 14).
If the SELECTOR5 state was selected, the machine would thereafter advance to the SETTEST state, indicated at 1585. The SETTEST state is used for testing the operation of the pixel matrix 1305. The machine will remain in this state for enough clock cycles to cycle through each column and row of pixels; thus, for an eleven by eleven matrix, the machine remains in the SETTEST state for twenty-two clock cycles. The bits on "data" are sampled and shifted in the test shift registers to create an artificial image, which may then be analyzed to ensure proper operation of the system. The machine thereafter advances to the RESET state 1500 in response to a null value in the counter 1405.
If the SELECTOR6 state was selected, the machine would next advance to the SCANCOLOR state, indicated at 1590. In this state color information is scanned in a manner analogous to the operation of the system in the GETIMAG state 1580. Thereafter, the machine would advance to the RESET state 1500 in response to a null value in the counter 1405. Similarly, if the SELECTOR7 state had been selected, and "data" was high, the machine would advance to the SCANEDGEX state, indicated at 1595 A, where "edge X" information is scanned. Alternatively, if "ldata" was present, the machine would advance to the SCANEDGEY state, indicated at 1595B, where "edge Y" information would be scanned. The sequence of operation for the remainder of the system during the SCANEDGEX and SCANEDGEY states is the same as for the GETIMAG state 1580. After either state, the machine returns to the RESET state 1500 in response to a null value on the counter 1405 (FIG. 14).
Set forth below in table form is the signal driven on the "data" lines of the bidirectional pad 1410 (FIG. 14) when the sensor of FIG. 13 is in the output mode:
STATE NAME SIGNAL
SSAMPLE check bit
WAKEUP wakeup
GETDISP serialo t
GETID serialout
GETIMAG pixel info
SCANCOLOR edge info
SCANEDGEX edge info
SCANEDGEY edge info
In addition, it is necessary to avoid any loops in the unused states of the machine. The state attribution table is shown below:
STATE NAME STATE VALUE
RESET ΉOO
WAKEUP ΉOI
SELECTOR6 'H02
SELECTOR7 'H03
SETTEST Η04
SETREFSW H05 SELECTOR2 HO6
SELECTOR3 H07
SCANEDGEY HO8
SELECTOR4 HO9
SELECTOR1 HOA
SCANEDGEX HOB
HOC
RESETALL HOD
HOE
GETIMAG 'HOF
GETID H10
SELECTOR5 Hll
GETDISP H12
H13
SSAMPLE HI4
SCANCOLOR HI5
HI6
H17
FORCESHIFT H18
HI9
H1A
H1B
NOTFORCESLEEP HIC
HID
HIE
H1F
State values having no state name are unused; in addition, in the exemplary embodiment shown, the state machine has been designed to reset after only one clock cycle in the event the machine enters into one of the unused states.
Referring next to FIG. 16, the organization and operation of the pixel matrix 1305 (FIG. 13) may be better understood. As previously noted, an 11. times.11 pixel matrix has been used in the second exemplary embodiment. The resulting 121 pixels are divided into four types: type P, which denotes a standard pixel with photodiode, amplifier, current comparator and digital memory for storing edge information; type D, which denotes a pixel with a diode and amplifier only; type E, which denotes an empty pixel; and type T, which is a test pixel biased like a type P or D, but with its output connections tied to test pads rather than connected to the displacement calculation circuitry. The type P pixels provide the conventional image data used by the remainder of the sensor. The type D are used to define border conditions and to provide its illumination current to neighboring pixels. The type E sensors are used for signal routing purposes. Finally, the type T pixels are accessible externally for test purposes only. From the arrangement of pixels in FIG. 16, it will be apparent that type P pixels predominate in the center of the sensor, while the type D pixels define a perimeter around the type P pixels. During any scan, the matrix is addressed row by row through incrementing of the column index, or:
(row#0, col#0), (row#0, col#l, (row#0, col#2) . . . (row#0, col#10),
(row#l, col#0) . . . (row#10, col#10).
It will be appreciated that, for the exemplary pixel arrangement shown in FIG. 16, the origin has been arbitrarily defined as the lower right comer.
During the various scans of the pixel matrix 1305, various information will be provided from the various types of pixels. Set forth below in table form are the types of information expected from addressing the specified pixel type during the different types of scans, with the associated state of the state machine 1400 in parentheses:
Figure imgf000039_0001
In the exemplary embodiment shown, the value of the current Iref cannot be null to avoid floating nodes. The current Iref can be set through the reference level, or hysteresis, as described above in connection with the description of the state machine 1400.
The entries in the table having an asterisk are valid only in the absence of current injection through the test pads. For test purposes, the interface 1355 (FIG. 13) can be placed in a special mode to force an artificial image. The artificial image is formed with pseudo- active pixels, which are of types D and T. at the crossings of two perpendicular active lines by entering two test words, one for lines and one for columns. The artificial image can be cleared with a data High during the RESET ALL state 1555.
Operation of the sensor of the present invention is fundamentally the recognition of edges and tracking those changes over time. As noted previously, an edge is defined as a difference of intensities between two adjacent black and white pixels. For the present invention, the difference of intensities is typically (though not necessarily) sensed as a difference in currents. With the optics and ball of the exemplary embodiment, the ratio between the currents corresponding to black and white spots is typically between 3 and 4 or at least larger than 2 in both the x and y directions, although smaller differences may also be acceptable in some embodiments. For purposes of discussion of this embodiment, an edge will be defined as laying between two photodetectors if the ratio of intensities of the two adjacent photodetectors is larger than two. By use of a differential approach, as mentioned briefly above as an alternative to the embodiment shown in FIG. 3, the edges can be detected independently of the absolute light intensity. In addition, differential sensing is less sensitive to gradients due either to lighting conditions or the curvature of the ball, as long as the fall-off in intensity for a ball surface of uniform color does not result in a ratio greater than two between two pixels.
The differential sensor shown in FIG. 17A is one approach to detecting the edges of the moving ball, and can be taken in conjunction with FIG. 17B, which shows a plurality of pixels P and two successive images It and IM at times t and t-1 where black and white pixels represent low or high reflected light levels, respectively, while hashed pixels represent pixels detecting an intensity change. A photodiode 1700 receives light input reflected off the ball, and provides accumulates charge in proportion to the light reaching it while the LEDs 730 (FIG. 7A), which are typically pulsed, are on. The current is supplied to an amplifier 1705. The amplifier 1705 amplifies the current enough to output a current Iout sufficient to allow a comparison with the adjacent right and top pixels in a predetermined time period, such as 50 μs. Each pixel also sends its current to its bottom and left neighbors, as explained previously in connection with FIG. 4 and shown in FIG. 17 as 1710A-B, 1715, 1720, 1725, 1730, 1735, 1740, and 1745. The outputs of the various differential stages 1710 1745 can then compared in current comparators 1750A-1750D, and the results of those comparisons can be latched into latches 1760A-1760C, after conditioning through combinational logic 1765-1775 and activation of the latch operating signal nshift. Comparisons can then be performed while the LED is off, where the latches store data representing values for edges on the X axis (E , edges on the Y axis (Ey), and color of the pixel (C and its complement NC), but as they existed during the previous state. The stored data from the previous state may be represented as oEx, o Ey, and oC. For the exemplary embodiment shown herein, various assumptions have been made about the signal currents. First, to accurately detect edges, it has been assumed above that the ratio of currents corresponding to a black spot and a white spot are assumed to be at least two; thus, a value of two has been arbitrarily chosen for the current comparator, although a lower or higher value would also work. Second, it has been assumed for the exemplary embodiment that the mismatch between two adj acent photodiodes is less than twenty percent although it has been shown that the circuit works acceptably at least as low as a ratio of 1.7:1.
An edge is detected is the current in the sampled pixel is either twice or half the current in the neighboring pixel. In addition, color of the pixel is determined as high, or white, if the current in the pixel is either twice the current in the adjacent right cell or twice the current in the adjacent top cell. It will be apparent to those skilled in the art, from the teachings herein, that such a paradigm detects color in a sampled pixel only when an edge exists at its right or at its top, and tests only for white pixel. It is believed apparent that the invention includes extending detection to comparisons with other selected pixels and testing for black spots, and detailed discussion of such addition features is not believed necessary in this disclosure.
The pixel circuitry depicted in FIG. 17 also offers the additional feature of having test circuitry integrated into the sensor. A test current source Itest indicated at 1785 has been provided to supply a reference signal in parallel with the charge amplifier 1705. This permits injection of an image through the circuitry at the wafer test level, which reduces the amount of time required to test each wafer. In addition, as noted previously, a scanning scheme allows comparisons between the value of the analog output current of the charge amplifier with a programmable reference current. The reference current Iref, as noted previously, can be set by a four bit digital word supplied to control hysteresis. For the particular embodiment shown, if all four bits of the hysteresis word are zero, Iref will be zero; but if all four bits are ones, L^ will be about 500 nA, which is substantially representative of the current amplifier in response to a pulse of white light for a suitable period.
Referring next to FIG. 18, the bi-directional pad of the present invention may be better appreciated. A DATA OUT signal, on line 1900, is combined with a DIR signal on line 1905 in a NOR gate 1910. The output of the NOR gate 1910 supplies a non-inverting gate to a transistor 1915 and an inverting gate to a transistor 1920. Connecting between the respective source and drain of the transistors 1915 and 1920 is a pull down resistor 1925, which may for example be on the order of 10-20 K .. A diode 1930 is shunted across the source and drain of the transistor 1915, the drain of which is tied to ground. The output of the transistor/pullup resistor stage is taken at the junction 1935 of the drain of the transistor 1920 and one end of the resistor 1925. A second diode 1940A is connected between ground and the junction 1935 and 1940 while a third diode 1940B is connected between the voltage supply and the junction 1935. A pair of splitter resistors 1945 A-B are series connected between the output pad 1950 of the sensor and the junction 1935. A pair of diodes 1955A-B and commonly connected to the junction between the pad 1950 and the resistor 1945B, with the other terminals of the diodes connected to ground and the voltage supply, respectively. Finally, a data input from the pad 1950 (or external to the sensor) to the remainder of the interface logic 1355 is taken at the junction of the two resistors 1945 A-B, through two buffer inverters 1960.
The arrangement shown in FIG. 18, while facilitating bi-directional communication between the sensor of the present invention and the external world, is particularly important because it allows reduction in pin count. In the exemplary embodiment described herein, particularly as shown in FIG. 7A, the sensor can be seen to have only four pins, which facilitates mounting and relating issues. To achieve the goal of bi-directionality, the pull down resistor 1925 is switch between input and output states at appropriate times. The pad 1410 (FIG. 14) is controlled so that the pull down resistor 1925 is connected when the pad is in input mode—which occurs when the signal DIR on line 1905 is low. However, the resistor 1925 is disconnected when the pad is in the output mode, caused by the signal DIR being high. It will be apparent to those skilled in the art that, if the data output signal on line 1915 is to be high, the state of the signal DIR is important. However, if the signal on line 1915 is to be low, the state of the DIR signal is irrelevant. It will be appreciated by those skilled in the art that the delay associated with pad capacitance must be taken into account to achieve acceptable response times; for the exemplary embodiment described herein, the capacitance associated with the pad is about 20 pf.
Shown in FIGS. 19A and 19B are timing diagrams for various operational states of the system. FIG. 19A describes the main loop that is used to read displacements, while FIG. 19B describes the latching of a new image, as well as the imposition of sleep mode.
Referring next to FIGS. 20A-E, a third embodiment of the present invention may be better appreciated. The FIGS. 20A-E show the trackball in exploded perspective, top plan, front elevational, rear elevational and side elevational views, respectively, with like elements for the embodiment of FIG. 7 A et seq. having like reference numerals. This embodiment, which is also a trackball but is implemented as an external device rather than integrated into the remainder of a system such as laptop computer or other control device, includes an upper housing 2005 and a lower housing 2010, best appreciated from the exploded perspective view of FIG. 20A. The upper housing 2005 includes an angled aperture 2015 through which a ball such as the ball 710 may be inserted. A retaining ring 2017 may be provided to allow easy insertion and removal of the ball. A plurality of buttons or switches 2020A-C may be provided for entering commands of pointing devices.
Enclosed within the housings 2005 and 2010 is a ball cage 2050, as shown in FIGS. 21 A-D, which supports the ball 710. The ball cage is affixed to a printed circuit board 2051 by means of a pair of clips 2052A-B in combination with a pair of positioning pins 2052C- D, all of which extend through associated slots or holes in the printed circuit board 2051. The lens 745 is held in position by a metallic clip 2053 which extends from the underside of the PC board 2051, through a pair of slots therein, and clips into position on a pair of ears 2054 on the ball cage. The ball rests on three bearings 2055, each of which is maintained within one of three posts 2060A, 2060B and 2060C. Unlike similar supports known in the art in which the bearing typically are located in a horizontal plane, the post 2060C is shorter than the posts 2060A and 2060B so that the bearings define a plane sloped at an angle of approximately 30 degrees. This angled support cooperates with the upper housing 2005 to cause the ball to extend through the angled aperture 2015, which allows an improved, ergonomic positioning of the thumb relative to the remainder of the hand, such that the fingers and thumb of the hand are in a substantially neutral posture while operating the trackball. In addition, a pair of accurate supports 2065 may be provided to increase the rigidity of the baseplate, and may provide some absorption of force in the event the device is dropped. An aperture 2070 is provided through which the ball may be illuminated and viewed by the same optics and same electronics as is used with the embodiment of FIG. 7A. The sensor 735 is held in place by a further pair of clips 2056 which are typically formed as part of the ball cage 2050.
With particular reference to FIGS. 21C and 2 ID, the operation of the optics may be better appreciated. FIG. 21C shows the ball cage 2050 in rear elevational view, while FIG. 21 D shows a portion of the ball cage 2050 in relation to a ball such as the ball 710. A window 2075 is provided in the optical path between the ball 710 and the sensor 735, with the lens 745 providing a folded light path as in the third embodiment. Referring again to FIG. 21B, the location for the sensor 735 is provided by a mounting boss 2080, while a pair of cylindrical ports 2085A-B are provided into which a pair of LEDs such as the LEDs 730 of FIG. 7 A may be inserted to illuminate the ball 710 through ports 2090A and 2090B.
Referring next to FIG. 22, a further embodiment of the present invention may be appreciated. The embodiment of FIG. 22 is particularly of interest because it does not use a speckled ball or other speckled pattern, but at the same time works on the same principles as the remaining embodiments disclosed herein. In particular, a housing 2200 includes an orifice 2205 into which a window 2210 may be placed, although the window is neither necessary nor preferred in all embodiments. A prism 2215 is also supported within the housing 2200 at a position which is optically aligned with the window 2210. In an exemplary embodiment the prism 2215 is a right angle prism positioned with its hypotenuse face placed parallel to (or as a replacement for) the window 2210. One or more LEDs are positioned in line with one of the right angle faces to cause total internal reflection of the light emitted by the LEDs off the inside of hypotenuse face of the prism 2215, in the absence of interference. Optically aligned with the LEDs, but on the side of the other right angle face of the prism 2215, is a lens 2220, which may be a biconvex lens. The prism may be of any suitable angle which provides for total internal reflection; i.e., the incidence angle of the light is greater than arcsin(l/n), where "n" is the refractive index of the prism material. In the exemplary embodiment, where the prism may be made of PMMA, this angle is about forty-two degrees from perpendicular. The window 2210 may be provided to serve as a filter for visible light, and also to provide a more scratch resistant surface than the prism 2215 ; in at least some embodiments it is useful to affix the window directly to the prism.
Positioned on the opposite side of the lens 2220 from the prism 2215 and optically aligned with it is a sensor such as the sensor 735. During operation, a finger (not shown) may be placed on the window 2210 and moved thereover, hi the absence of a finger, light from the LED enters the prism and strikes the top surface of the prism at an angle greater than 42 degrees from perpendicular, thus causing total internal reflection. When a finger is present, the ridges of the fingerprint contact the glass, canceling the total reflection in the contact areas. By properly adjusting the focal length of the lens 2220 and the optical path length from the window 2210 to the sensor 735, an image of the finger's ridges and whorls- i.e., the fingerprint~may be formed on the sensor 735. In this manner the movement of the light and dark spaces of the fingerprint over the window 2210 yields the same edge movement over the pixels of the sensor 735 as occurs with the movement of the ball 710, allowing cursor movement to be controlled merely by the movement of a finger. It will be appreciated by those skilled in the art that the linear optical path of FIG. 22 may be made more compact by providing a more complicated prism which folds the light path. In at least some such embodiments, a lens may be formed integrally with the prism to focus the image on the sensor, and one of the right angle surfaces of the prism itself may provide the window against which the finger may be placed. In other embodiments, the lens may be eliminated simply by placing the finger against the hypotenuse of a right angle prism, which permits a light source on one of the right angle sides to illuminate the finger, with the reflected light illuminating a sensor of the type described above. In each of these embodiments the resulting image on the sensor is the result of frustrated total internal reflection, wherein the presence of the light and dark spots of the illuminated finger prevent total reflection of the illuminating light.
In addition to providing an elegantly simple solution for cursor control, detection of the fingerprint ridges also providing a method of detecting switch activity. By increasing finger pressure on the window or prism, the percentage of dark areas increase. A thresholding circuit may be provided such that, by an increase in dark areas in excess of the threshold, a "switch" activity may be detected. It will also be appreciated that the embodiment of FIG. 22 provides an effective, efficient device for identifying fingerprints, when combined with suitable electronics for storing and comparing appropriate images. Those skilled in the art, given the teachings herein, will recognize that numerous other alternatives also exist.
It is also possible to create an optical mouse which does not require a ball by using a similar imaging technique. A pattern, such as that on a table or other suitable printed figure having sufficient numbers of dark and light areas of sufficient size, can be detected in much the same manner as a fingerprint, although the particular components of the device are somewhat different. With reference to FIG. 23 A-B, an optical mouse is shown which uses the same principles as discussed in connection with the second and third embodiments discussed previously. The upper housing and most of the lower housing have been removed for clarity from the device shown in FIG. 23, although appropriate housings are generally well known in the art; see, for example, FIG. 2 of U.S. patent application Ser. No. 672,090, filed Mar. 19 1991, now abandoned, and assigned to the assignee of the present application, the relevant portions of which are incorporated by reference. As before, like components are given like numerals. In particular, an optical assembly 2290 includes an optical housing 2300 having a pair or angular bores 2310A-B each of which receives, respectively, one of the LEDs 730. An upper central bore 2320 extends from the top of the optical housing 2300 and part way therethrough until it communicates with a lower central bore 2330. The lower central bore extends through the bottom of the optical housing 2300, but is smaller in diameter than the upper central bore 2320 so that the lower central bore fits between the angular bores 2310A-B, and is typically spaced symmetrically therebetween. The pmpose of the central bore 2360 is to provide a shutter, and also to prevent stray light from reaching the sensor. A plate or window 2340 is affixed by any suitable means to the bottom of the housing 2300. The plate 2340 is transparent to the frequency of light emitted by the LEDs 730, and may be made of any suitably transparent material which is also scratch resistant such as plastic or glass.
The lens 745 is positioned within the upper central bore 2320, which is typically sized to center the lens 745 above the lower central bore 2330. An aperture plate 2350, typically of substantially the same outer diameter as the upper central bore 2320, fits into the upper central bore 2320 to fixedly position the lens 745. The aperture plate 2350 further includes a central bore 2360 which communicates light passing through the lens 745 to the sensor 735, positioned above the aperture plate 2350. The central bore 2360 may also be conical, with the narrower portion at the bottom. A retaining ring 2370, which fastens to the top of the optical housing 2300 by any suitable means, such as clips or screws, maintains the relative positions of the sensor 735, aperture plate 2350 and lens 745.
The assembly 2290 is positioned within the upper and lower housings of a mouse so that the plate or window 2340 is positioned above a speckled pattern of the same criteria as that on the ball 710, although in this instance the pattern is provided on a pad, tabletop, or other suitable, substantially flat surface. A portion of a suitable lower housing is shown at 2380. As the mouse is moved over the pattern, the light from the LEDs 730 is directed through the plate 2340 onto the pattern, and in turn is directed through the plate 2340, up through the lower central bore 2330 and through the lens 745. The lens then images the pattern on the sensor 735 in the same manner as discussed previously, so that movement may be readily detected by the changes in position of the edges in the pattern. While the exemplary embodiment has two LEDs, in at least some embodiments only a single LED is required.
While the foregoing design provides a simple and elegant design for a mouse capable of detecting motion, it typically requires a pattern having speckles meeting the criteria previously discussed. However, by altering the optical components to resolve small pattern elements, it is also possible to provide a pointing device which can detect movement over an object such as everyday paper, where the weave of the paper provides the detected pattern.
Having fully described a preferred embodiment of the invention and various alternatives, those skilled in the art will recognize, given the teachings herein, that numerous alternatives and equivalents exist which do not depart from the invention. It is therefore intended that the invention not be limited by the foregoing description, but only by the appended claims.

Claims

1. A ball for use in a pointing device illuminated by a light source for emitting
light signals at a first wavelength, and a sensor, the ball comprising:
an inner layer having a surface; capable of diffusing a light signal; and
an outer layer having a substantially smooth surface and surrounding said inner
layer, said outer layer transparent to said light signals;
wherein said inner layer diffuses said light signals at different intensities depending
upon an illumination position on the inner layer, said illumination position is a position of
said inner layer that is illuminated by said light signals.
2. The ball of claim 1, wherein said outer layer is opaque to visible light.
3. The ball of claim 1 , wherein a surface of said inner layer has a texture that
diffuses said light signals at different intensities.
4. The ball of claim 3, wherein said texture includes one of a pit, a line, and a
protuberance.
5. The ball of claim 3, wherein inner layer and said outer layer have different
reflective characteristics.
6. The ball of claim 1, wherein said inner layer includes a texture that is capable
of being detected by a sensor.
7. The ball of claim 6, wherein movement of said texture is capable of being tracked.
8. The ball of claim 1 , wherein said inner layer includes a printed pattern.
9. The ball of claim 1 , wherein said inner layer includes particles having a reflective characteristic that differs from a reflective characteristic of the inner layer.
10. The ball of claim 1, further comprising:
the light source; and the sensor, disposed to receive light diffused from said inner layer, for identifying movement of said different intensities of said diffused signals to detect movement of said
ball.
11. The ball of claim 10, further comprising:
an optical element for focusing the diffused light onto the sensor.
12. A pointing device comprising: a light source for emitting light signals, said light signals including signals of a first
wavelength;
a ball having: an inner layer having a surface; capable of diffusing a light signal; and an outer layer having a substantially smooth surface and surrounding said
inner layer, said outer layer transparent to said light signals at said first wavelength;
wherein said inner layer diffuses said light signals at different intensities
depending upon an illumination position on the inner layer, said illumination position is a
position of said inner layer that is illuminated by said light signals; and
a sensor, disposed to receive light diffused from said inner layer, for identifying movement of said different intensities of said diffused signals to detect movement of said
ball.
13. The pointing device of claim 7, further comprising: an optical element for focusing the diffused light onto the sensor.
14. The pointing device of claim 13, wherein said outer layer is opaque to visible
light.
15. The pointing device of claim 13 , wherein a surface of said inner layer has a
texture that diffuses said light signals at different intensities.
16. The pointing device of claim 15, wherein said texture includes one of a pit, a
line, and a protuberance.
17. The pointing device of claim 15, wherein inner layer and said outer layer
have different reflective characteristics.
18. The pointing device of claim 13, wherein said inner layer includes a texture
that is capable of being detected by a sensor.
19. The pointing device of claim 18, wherein movement of said texture is
capable of being tracked.
20. The pointing device of claim 13, wherein said inner layer includes a printed
pattern.
21. The pointing device of claim 13 , wherein said inner layer includes particles
having a reflective characteristic that differs from a reflective characteristic of the inner
layer.
22. The pointing device of claim 13, further comprising:
the light source; and
the sensor, disposed to receive light diffused from said inner layer, for identifying
movement of said different intensities of said diffused signals to detect movement of said ball.
23. The pointing device of claim 22, further comprising:
an optical element for focusing the diffused light onto the sensor.
PCT/US2001/020802 2000-07-05 2001-06-29 Dual layer optical ball for pointing device with texture sensing WO2002003369A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2001273086A AU2001273086A1 (en) 2000-07-05 2001-06-29 Dual layer optical ball for pointing device with texture sensing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US61057500A 2000-07-05 2000-07-05
US09/610,575 2000-07-05

Publications (1)

Publication Number Publication Date
WO2002003369A1 true WO2002003369A1 (en) 2002-01-10

Family

ID=24445573

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/020802 WO2002003369A1 (en) 2000-07-05 2001-06-29 Dual layer optical ball for pointing device with texture sensing

Country Status (3)

Country Link
AU (1) AU2001273086A1 (en)
DE (2) DE10132645A1 (en)
WO (1) WO2002003369A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2887657A1 (en) * 2005-06-27 2006-12-29 Itt Mfg Enterprises Inc BALL DEVICE FOR CONTROLLING DISPLACEMENTS OF A CURSOR ON A SCREEN
US7400950B2 (en) 2002-09-23 2008-07-15 Stefan Reich Optical sensing system and system for stabilizing machine-controllable vehicles
US8847888B2 (en) 2007-12-18 2014-09-30 Microsoft Corporation Optical mouse with limited wavelength optics

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10258545B4 (en) * 2002-09-23 2008-01-24 Stefan Reich Method and system for stabilizing a translation motion size of a missile

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6218659B1 (en) * 1992-10-05 2001-04-17 Logitech, Inc. Dual layer optical ball for pointing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6218659B1 (en) * 1992-10-05 2001-04-17 Logitech, Inc. Dual layer optical ball for pointing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7400950B2 (en) 2002-09-23 2008-07-15 Stefan Reich Optical sensing system and system for stabilizing machine-controllable vehicles
FR2887657A1 (en) * 2005-06-27 2006-12-29 Itt Mfg Enterprises Inc BALL DEVICE FOR CONTROLLING DISPLACEMENTS OF A CURSOR ON A SCREEN
EP1739531A1 (en) * 2005-06-27 2007-01-03 Itt Manufacturing Enterprises, Inc. Ball-based device for controlling the movements of a cursor on a screen
US8847888B2 (en) 2007-12-18 2014-09-30 Microsoft Corporation Optical mouse with limited wavelength optics

Also Published As

Publication number Publication date
DE20111181U1 (en) 2001-11-15
DE10132645A1 (en) 2002-01-24
AU2001273086A1 (en) 2002-01-14

Similar Documents

Publication Publication Date Title
US5854482A (en) Pointing device utilizing a photodector array
US5703356A (en) Pointing device utilizing a photodetector array
US6084574A (en) Compact cursor pointing device utilizing photodetector array
US5288993A (en) Cursor pointing device utilizing a photodetector array with target ball having randomly distributed speckles
US9103658B2 (en) Optical navigation module with capacitive sensor
EP0170783B1 (en) Optical mouse
US8723816B2 (en) Pointing devices
TWI513304B (en) Ambient light sensor configured to determine the direction of a beam of ambient light incident thereon
US7122781B2 (en) Method and sensing device for motion detection in an optical pointing device, such as an optical mouse
Arreguit et al. A CMOS motion detector system for pointing devices
JP4347452B2 (en) Screen pointer position control device
JP2004318891A (en) System and method for multiplexing reflection in module in which finger recognition and finger system and method are combined
US20110128220A1 (en) Cursor control device
US6784413B2 (en) Reading apparatus for reading fingerprint
JP2004318892A (en) System and method for time space multiplexing in finger image inputting application
JP2004318890A (en) Image inputting system and device for combining finger recognition and finger navigation
JP2014222539A (en) Optical touch screen using total internal reflection
US20060131487A1 (en) Continuous base beneath optical sensor and optical homodyning system
JP2008176763A (en) Lens array imaging with cross-talk inhibiting optical stop structure
JP2015503157A (en) Optical element with alternating reflective lens facets
US10558838B2 (en) Optimized scan sequence for biometric sensor
US7446677B2 (en) Method and apparatus for optically detecting selections made on an input device
WO2002003369A1 (en) Dual layer optical ball for pointing device with texture sensing
US20060125792A1 (en) Input device adapted for a variety of surfaces of different reflective natures
JPH05313816A (en) Pointing device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP