The invention relates to an optical encoder. More particularly, the invention relates to measuring movement by means of an optical encoder.
User equipment (UE), for example a mobile terminal, such as a mobile station (MS), a cellular phone, a personal digital assistant (PDA) or the like, or other terminals, such as a personal computer (PC), or other devices, such as a digital camera, may be used to handle information and/or to access a communication network, for example. One skilled in the art is familiar with the features and operation of typical user equipment. A user may use user equipment for tasks such as for making and receiving phone calls, for receiving and sending data from and to the network and for experiencing multimedia content or otherwise using multimedia services. Furthermore, user equipment may be used for capturing still or video images, recording and outputting voice and so on.
The operation of user equipment may be controlled by means of an appropriate user interface such as control buttons, voice commands and so on. User equipment may be provided with a display for displaying images and other graphical information for the user of the user terminal. Camera means may be provided for capturing still or video images. Speaker means may also be provided. User equipment may include an antenna for wirelessly receiving and transmitting signals from and to base stations of a mobile communication network. Furthermore, a user terminal is typically provided with a processor entity and memory means.
The number of different functions supported by user equipment is increasing. Handling such functions, for example navigation among menu items, selection of menu items and data entry, may be time consuming and difficult by means of control buttons, such as an alphanumerical keypad. Therefore, in some user interfaces a rolling or rotating key has been introduced in addition or to replace control buttons.
A rotating key may use a combination of a code wheel and a photosensor for detecting the amount and direction of the rotation. Two sensors may be used together with an alternating black and white pattern on a surface of the code wheel. The positions of the sensors in relation to the black and white pattern on the surface of the rotating wheel may be arranged so that when one sensor detects either a completely black or a completely white pattern, the other sensor will detect half white and half black pattern. When the photosensor comprising a light source and a photodetector outputs light and detects the pattern continuously, the photosensor may conclude the amount and direction of the rotation. However, continuous detection consumes a lot of power. This may be a problem in various devices, in particular in mobile devices.
In accordance with an aspect of the invention, there is provided an optical encoder for measuring movement. The optical encoder comprises at least one light source for outputting light. Furthermore, the optical encoder comprises a movable pattern. Furthermore, the optical encoder comprises at least one photodetector for detecting the light reflected off the movable pattern, the movable pattern comprising regions of varying reflectivity for modulating the light from the at least one light source onto the at least one photodetector in response to movement of the pattern, wherein the at least one photodetector is configured to detect the light at a detection rate comprising detection instants in regular intervals.
In accordance with another aspect of the invention, there is provided user equipment comprising such an optical encoder.
In accordance with a further aspect of the invention, there is provided a method for measuring movement. The method comprises outputting light from at least one light source. Furthermore, the method comprises moving a movable pattern positioned relative to the at least one light source, the pattern comprising regions of varying reflectivity. Furthermore, the method comprises modulating the light from the at least one light source onto a photodetector in response to movement of the pattern. Furthermore, the method comprises detecting the light reflected off the movable pattern in the photodetector at a detection rate comprising detection instants in regular intervals.
In an embodiment, the optical encoder may comprise two sensors each comprising a light source and a photodetector. In an embodiment, the optical encoder may comprise two photodetectors and one light source. A direction of the movement may be determined by comparing the light reflected from the movable pattern in each of two photodetectors during a determined detection instant to the light reflected from the movable pattern during the previous detection instant.
In an embodiment, the light source may comprise at least one pulsed light source for outputting light in pulses. The at least one photodetector may be configured to detect light reflected from the movable pattern during each pulse.
In an embodiment, the at least one photodetector may be connected to processing means for converting the amount of reflected light received in the at least one photodetector in a suitable analogue signal which is proportional to the amount of reflected light.
The movable pattern may comprise regions of low reflectivity and high reflectivity. In an embodiment, the movable pattern may comprise alternating black and white regions. In an embodiment, the regions of low reflectivity may be positioned at a first distance from a light source, the first distance being longer than a second distance between the regions of high reflectivity and said light source.
The movable pattern may be arranged on a surface of a rotary dial. The movable pattern may comprise equally spaced sectors having alternating two different reflectivities. The detection rate may be at least twice the rotational speed of the rotary dial multiplied by a number of sectors in the movable pattern.
In an embodiment, the pattern may be arranged on a stationary surface and the sensor is configured to move in function of the stationary surface.
The invention will now be described in further detail, by way of example only, with reference to the following examples and accompanying drawings, in which:
Furthermore, a rotary dial 16 or a rotating disk is shown in
It shall be appreciated that the position and size of also the rotary dial 16 are only examples. Depending on the user equipment, the rotary dial 16 may be different in size, may be positioned in a different position on the surface of the user equipment. In an embodiment, the control buttons 14 may be omitted completely from the user equipment 10 and replaced by the rotary dial 16 functions. In an embodiment, the rotary dial may be mounted perpendicular to the front surface of the user equipment sticking out of the side of the user equipment so that the user may move the dial on its circumference.
In an embodiment, the rotary dial 16 may belong to an optical encoder arrangement for translation of movement into an analogue output representation.
In the rear side, i.e. on the surface which is directed towards the inside of the user equipment, the rotary dial 16 has a pattern having regions of varying reflectivity, such as alternating regions of high reflectivity and low reflectivity. The regions of varying reflectivity may comprise sectors of alternating tones of grey, an alternating black and white pattern or sectors of alternating opacities. Any other appropriate regions of varying reflectivity may also be used.
A principle of an optical encoder 20 is shown in
Two sensors may be used to conclude the direction of the movement of the moving member. Each sensor provides a channel detecting the reflecting light in different phases. Depending on the direction of the movement, one of the channels leads and indicates thus the direction of the movement, such as movement leftwards or rightwards or rotation clockwise or counter clockwise.
For example, the moving member may be a rotating member, such as a rotating dial. In the embodiment comprising two sensors, one of the sensors, the sensor A in
In an embodiment, the optical encoder comprises two photodetectors, but only one light source. Two photodetectors enable to conclude the direction of the movement of the moving member.
In an embodiment, the power consumption may be reduced by outputting light in pulses. In an embodiment, at least one light source, such as an IR LED, is pulse driven, for example, such that at least two measurements are permitted per a sensor cycle, when the moving member is a rotary dial and the movable pattern comprises equally spaced sectors having alternating two different reflectivities. Measuring at a rate of twice the sensor cycle rate may prevent so-called aliasing effects and ensure that a change on light reflectivity is not missed. The sensor cycle rate may be defined as the rotational speed of the rotary dial multiplied by a number of sectors in the movable pattern.
The power consumption may be reduced significantly. For example, repeating a light pulse of 20 μs followed by a switched off period of 20 ms the power consumption may be reduced by a factor of 1000, for example from 10 mA to 10 μA. However, the edge detection scheme described referring to
In an embodiment, a standard 4-state encoder may be used to determine direction of movement by detecting the light at a detection rate comprising detection instants in regular intervals. An output from two detectors of the 4-state encoder may be approximately 90 degrees out of phase as shown in
In an embodiment, light may be output continuously and the measurement may be carried out by activating detection in the photodetector at predetermined intervals. In an alternative, light may be pulsed as explained above and the measurement may be carried out at the same intervals as the light is pulsed. In a further alternative, the light may be output in pulses and the measurement may be carried out during a pulse, but not necessarily for as long as the pulse lasts and not necessarily during each pulse. The direction of rotation can then be determined by comparing the state of the two sensors with their previous state, as shown in Table 1 referring to
Clockwise and anti-clockwise direction may be determined as indicated in Table 1. In the event of one of the changes defined “could be either” in Table 1, the encoder may assume that the direction of movement remains the same than previously. For example, the encoder knows that the previous movement had been in a clockwise direction. Upon receiving a change of state from 0,0 to 1,1 “could be either”, the encoder would assume the movement was still in a clockwise direction. To verify the assumption, a further detection of state change may be required.
This method gives 48 changes of state for a complete rotation with an exemplifying code disk of 12 black sectors and 12 white sectors. Thus, 48 measurements are needed for each complete rotation, and 48 movements will be detected for each complete rotation. Different numbers of black and white sectors can be used to give a higher or lower number of detected movements for each complete rotation.
Output of the photodetector 23 is a function of the distance 28 from the sensor 21 to the pattern 24 as illustrated in
In an embodiment, the reflected light ratio between the high reflectivity portions and the low reflectivity portions may be increased by positioning the low reflectivity portions 25 of the pattern 24 further away from the sensor 21 than the high reflectivity portions 26 of the pattern as shown in
In an embodiment, the first distance 30 is about twice the second distance 31. For example, the distance 30 between the low reflectivity portions 25 and the sensor 21 may be 200 units and the distance 31 between the high reflectivity portions 26 and the sensor 21 may be 100 units, respectively. For example, in an embodiment using an alternating black and white pattern, this may give a 100% increase in the reflected light ratio between the white portions and the black portions. In an exemplifying embodiment, the first distance may be 1.65 mm nominal, and the second distance may be 0.95 mm nominal. These distances may be suitable, for example, in an optical encoder implemented in a mobile terminal when using an alternating black and white pattern. Other distances and differences between the distances may be used, for example, depending on the user equipment.
In an embodiment, an arrangement comprising an optical encoder 20 and a rotary dial 16 is implemented in user equipment, such as a mobile station 10 or another type of user equipment.
The sensor 21 may be connected to processing means 33 located in any appropriate location in the user equipment. The processing means 33 may convert the amount of reflected light received in the photodetector 23 in a suitable analogue signal which is proportional to the amount of reflected light. As the rotary dial 16 is rotated, the light is reflected more or less depending on whether a high reflectivity or a low reflectivity portion is met. As explained above, the direction of the movement of the rotary dial 14 is concluded by means of two sensors 21, 34. Information on the movement of the rotary dial 16 may be translated by the processing means 33 or by further processing means into cursor movement on a display of the user equipment, for example, for selecting items from a menu or a character string displayed on the display. The rotary dial 16 may also be moved in a longitudinal direction of its axis 29, for example pressed, for activating a menu function or a character once a portion of the menu or the character has been highlighted by means of the rotary dial 16. This may enable or facilitate, for example, but not limiting to, browsing menus provided by the device or quick text entry using word detection, where text entry can be done by presenting a user with a row of character on the display.
In an embodiment, the optical encoder may utilise a standard commercially available sensor, such as a sensor combining an infrared LED and an infrared phototransistor in one package, which is configured to use a detection rate comprising detection instants in regular intervals and/or the light source may be arranged to output light in pulses in accordance with embodiments of the invention. In further embodiments, other types of light sources may be used, such as a source of visible light outputting light in pulses, depending on the device and its use, for example. The rear side of the rotary dial 16 may be implemented in accordance with embodiments of the invention such that a pattern 24 on the rear side has alternating low reflectivity portions 25 and high reflectivity portions 26 wherein the low reflectivity portions 25 are positioned at a first distance 30 from the sensor 21 or sensors 21, 34, the first distance being longer than a second distance 31 between the high reflectivity portions 26 and the sensor 21 or sensors 21, 34.
In an embodiment, the pattern 24 having alternating low reflectivity portions 25 and high reflectivity portions 26 may lie on a stationary surface and at least one sensor comprising the at least photodetector and the at least one light source is configured to move in function of the stationary surface. For example, the at least one sensor 21 may be positioned on the rear surface of the rotary dial 16 and the pattern 24 may lie on a stationary surface in the user equipment.
Although the invention has been described in the context of particular embodiments, various modifications are possible without departing from the scope and spirit of the invention as defined by the appended claims. It should be appreciated that whilst embodiments of the present invention have mainly been described in relation to mobile terminals, embodiments of the present invention may be applicable to other types of user equipment that may have a selectable menu or another application requiring control means. Furthermore, the optical encoder may comprise an alternating low reflectivity and high reflectivity pattern in another form than the rear side of the rotary dial. As an example, the alternating low reflectivity and high reflectivity pattern may have a rectangular or an elongated form.
| Filing Document | Filing Date | Country | Kind | 371c Date |
|---|---|---|---|---|
| PCT/FI2004/000404 | 6/30/2004 | WO | 00 | 12/29/2006 |