MOUSE COMMAND CODING

Abstract: The invention relates to a method of encoding manipulations of a multidimensional input device, such as a mouse, into a data to be communicated to a data processing apparatus. Sensors in the input device detect manipulations of a member of the input device with respect to an X-axis and a Y-axis. From the sensor data, a direction and a magnitude of the manipulation are derived. These intermediate quantities are communicated to the data processing apparatus instead of the X- and Y-values themselves. In the data processing apparatus a decoder decodes the intermediate quantities into a further pair of X- and Y-values. The intermediate values more adequately represent the manipulations. Therefore, in input devices having a limited power budget, like TV remote controls and other wireless input devices, the method achieves a higher performance.

Description: Mouse command coding. The invention relates to a method of transforming user manipulations of a multidimensional input device into code vectors for a data processing apparatus, the manipulations being confined to a range around an origin, the method comprising the steps of: (1) dividing the range into a plurality of subranges; (2) assigning a unique code vector to each subrange; (3) for a particular manipulation determining a corresponding particular subrange and selecting a corresponding particular code vector for transmission to the data processing apparatus. The invention further relates to a system and a multidimensional input device for carrying out such a method. A method as specified in the preamble is known from DE-A 35.23.284. In that document, an input device is described that is used for updating one or more parameters in a data processing apparatus (e.g. co-ordinates of a pointer on a screen). According to that document, a manipulation of the input device is not directly translated to a corresponding parameter value, but to a rate of change of that value. The actual updating is performed in the data processing apparatus. The latter is provided with input data indicative of the manipulation. Hereto, the input device transforms the manipulation into particular input data (further referred to as a code vector), representing the manipulation. Subsequently, the code vector is sent via some kind of communication channel (cable, wireless) to the data processing apparatus. There, a decoder is present to decode the received code vectors into data that can be handled by the data processing apparatus. In a two-dimensional variant of the known input device, the user manipulation is essentially projected on two orthogonal axes (an X-axis and a Y-axis). From the projections, a code vector is constructed and transmitted that comprises digital representations of the projections. A special field of application of such input devices is in the area of remote controls, such as TV remote controls. Remote controls have their own, limited, power supply (battery). A significant amount of power is required for transmitting the code vectors to the data processing apparatus. Therefore, in order to extend battery-life, power can be saved by minimising the amount of information to be sent to the data processing apparatus. At the same time, the user has to be offered convenient control over the parameter to be adjusted. The latter is determined by aspects such as speed of parameter update, accuracy of parameter update and, in case of a multidimensional input device, convenient simultaneous control over more than one parameter (for example moving the pointer over the TV screen). A problem of the known method is that power considerations have not been given attention. Consequently, the known method does not transform the manipulations into efficient code vectors, from a power point of view. It is, inter alia, an object of the invention to provide a method as specified in the preamble, providing a better balance between power consumption and operational convenience of the input device. To this end, the invention provides a method as specified in the preamble that is characterised in that step (1) comprises the steps of: (la) dividing the range into a plurality of contiguous concentric rings around the origin; (lb) dividing each ring into a same number of sectors thereby constituting the subranges. This expresses the basic idea that it is not necessary to reserve a relatively large number of code vectors for manipulations of large magnitude. For example, when updating one out of two parameters, a user will initially provoke a manipulation of large magnitude in a direction corresponding to the relevant parameter for fast but relatively inaccurate adjustment. Subsequently, by provoking manipulations of smaller magnitude, the user will make the final, accurate adjustments. While performing the first step, the user is not interested in accurate control over the second parameter. A similar argument applies to the situation where the user wants to update two parameters simultaneously. In summary, a code vector representing a large magnitude manipulation should not be accompanied by neighbouring code vectors that represent basically the same manipulation with only a minor deviation in a perpendicular direction. In the known input device, the projections on the orthogonal axes are independently coded into the code vectors. This results in a set of code vectors with the above-mentioned feature, namely that, compared to small magnitude manipulations, large magnitude manipulations are covered by a relatively large amount of code vectors. Especially when using a non-linear decoding, in which a manipulation corresponds to a rate of change in a non-linear way, the measure of the invention results in a more balanced distribution of subranges than the distribution of the known method. In the known method, manipulations just off either one of the axes are assigned unique code vectors. A kind of clustering of code vectors around the co-ordinate axes takes place. These clustered code vectors render the known method inefficient, as a user will hardly experience a difference between them. A consequence of the measure of the invention is that the total number of code vectors can be reduced while maintaining the same level of operational convenience. A reduced number of code vectors means that the code vectors can be smaller in terms of the number of bits. Thus, less power will be used by the input device for communicating with the data processing apparatus. It has to be noted that it is also considered to be in line with the invention to interpret the phrase 'a same number of sectors' in step (lb) as 'approximately a same number of sectors. ' The measure defined in dependent claim 3 has the advantage that it leads to a method that can be implemented with very simple components. Suppose for example, that we have a two-dimensional input device comprising two sensor circuits that produce sensor signals proportional to a magnitude of the manipulation in respective orthogonal directions. With the measure of claim 3, for determining to which particular ring the manipulation corresponds, it suffices to determine the maximum value of either sensor signal. This is an operation that can be realised in hardware very efficiently. The measure defined in dependent claim 4 has the advantage that it leads to a very regular transformation, therefore being experienced as natural by the user. For determining to which ring a manipulation corresponds, the magnitude of the manipulation could be derived by squaring and adding the sensor signals. The particular sector could be determined by deriving some ratio of the sensor signals. The invention is further explained below by way of example, with reference to the accompanying drawing in which Figure 1 shows a system in accordance with the invention, Figure 2 shows a diagram of a division of the range of manipulations into subranges according to the invention, Figure 3 shows a set of delta vectors corresponding to one of the rings of Figure 2, Figure 4 shows a comparison of a set of code vectors according to the invention with a set of code vectors according to the prior art, Figure 5 shows an alternative range of manipulations and division thereof, Figure 6 shows a further alternative range of manipulations and division thereof. Figure 1 shows a system in accordance with the invention. It comprises a remote control 100 with a two-dimensional trackball 102, and a data processing apparatus 104 being a TV set. With the remote control 100, a user can select TV channels, set a volume level, select menu items by moving a pointer over the TV screen with the aid of the trackball 102, etc. The remote control 100 further comprises sensor circuits 120 for detecting manipulations of the trackball 102, selection means 122 for selecting code vectors representing said manipulations and transmission means 124 for transmitting said code vectors to the data processing apparatus via an infra-red (IR) communication channel. Alternatively, the remote control 100 comprises a joystick or touch pad instead of the trackball 102. Each one of the sensor circuits 120 is provided for detecting manipulations in a single dimension. The signals that are produced by the sensor circuits 120 are limited between certain boundaries being imposed by either mechanical or electrical limits, like the finite size of registers for storing the signals, or the clipping of certain analogue sensor signals. These boundaries can be regarded as boundaries of a range of possible manipulations of the input device. In the data processing apparatus 104, a receiver is provided for receiving the code vectors and passing them on to a decoder 132. The decoder 132 decodes the code vectors to corresponding delta vectors that can be used by the data processing apparatus for updating co-ordinates of the pointer on the TV screen. Figure 2 shows a diagram of a division of a range of manipulations into subranges according to the invention. A manipulation of the trackball 102 is restricted to a range 200 around an origin 202. The range 200 is divided according to the invention into rings, one of which being ring 222 that is indicated in the figure by the shaded area. Each ring is divided into a same number of sectors, namely sixteen. For example, one of the sectors of the ring 222 is sector 224. To each one of the subranges a unique code vector is allocated. A code vector could explicitly represent the ring number and sector number of the corresponding subrange, or just relate to an arbitrary numbering of the subranges. For a particular manipulation, the corresponding subrange can be identified by identifying a corresponding ring number and sector number. The ring number is a measure of magnitude of the manipulation and the sector number is indicative of direction. Rotations of the trackball 102 with respect to two perpendicular axes in the plane of the top side of the remote control 100 are detected by the sensor circuits 120 and 122, providing two sensor signals. If the sensor signals are proportional to the magnitude of the manipulation, then, for square rings, the ring number is simply determined by the absolute maximum of the sensor signals. By quantising this maximum value to a limited number of levels, a first group of bits of the code vector is derived. Here we choose that there are sixteen rings, therefore, a four-bit code suffices to code the magnitude of the manipulation. As shown in Figure 2, sixteen lines extending radially from the origin can be drawn through the subranges, together traversing all subranges. After numbering these lines, to each subrange corresponds a single line number. This line number could be used as a sector number, which could be held in a second group of bits of the particular code vector. In each ring sixteen different sectors can be identified, therefore 4 bits suffice to code the direction of the manipulation. Thus we have obtained a code vector comprising eight bits in total for the direction and the magnitude information. The sensor signals of any input device with a rectangular manipulation range can always be scaled to a square range. Therefore, the scheme described here for determining the ring generally applies to rectangular rings. Finally, the code vector is encoded into a signal that can be efficiently communicated over the IR communication channel, or the code vector is directly used to modulate an IR transmitter signal. Figure 3 shows a set of delta vectors corresponding to one of the rings of Figure 2. In the data processing apparatus, a new pair of screen co-ordinates in X-Y format is constructed, on the basis of the received code vector that is decoded by the decoder 130 into a delta vector. This delta vector stands for a translation of the pointer on the TV screen with respect to a previous position. Sixteen delta vectors, corresponding to a single ring of Figure 2, are depicted in Figure 3. A code vector is translated into a delta vector by translating the ring number and sector number that are contained therein. First a MAX value is obtained from the ring number. The MAX value represents a magnitude of the delta vector. We are free to decode the ring number into a corresponding MAX value in a non-linear way. The non-linear mapping increases the dynamic range of the input device, in the sense that it allows both fast and accurate parameter updates. The non-linear mapping further enhances operational convenience of the input device. Table 1 gives an example of a non-linear mapping. It could be envisaged that the user is allowed to select a particular table that he finds most convenient. a e . pee eco ng ta e Note that in Table 1 there is no ring number reserved for zero MAX value. This implies that when there is no user action, no data is sent to the data processing apparatus 104. No user action could mean for example that the input device is in its rest state or, more generally, that there has been no change of state of the input device since the last code vector has been provided to the data processing apparatus 104. Naturally, this is a further way to save power. A further advantage is that, since there is no need for a code vector corresponding to the situation that there is no user action, an extra code vector can be reserved for a more useful event. Subsequently, the sector number of the code vector is used in order to get the X- and Y-values. Table 2 shows how this is done for the delta vectors of Figure 3. Ta e . rect on eco ng ta e. Figure 4 shows a comparison of a set of code vectors according to the invention with a set of code vectors according to the prior art. Reference is made to Figure 2. For the sake of clearness, only the upper right quadrant of the range 200 is depicted, whereas only a few code vector magnitudes are included. The code vectors of the prior art method and the method of the invention are indicated by crosses and circles, respectively. Figure 4 clearly shows the clustering of code vectors that is typical for the prior art method. From this figure it is also clear that with the measure of the invention a more balanced covering with code vectors of the range is obtained. Figure 5 shows an alternative range of manipulations and division thereof. A manipulation of the trackball 102 is restricted to a range 500 around an origin 502. The range has a square border 504, the size of which being determined by the size of respective registers holding projections of the manipulation in respective orthogonal directions. According to an aspect of the invention, the range 500 is divided into more or less triangular wedges and square rings around a centre region 506. Intersections of the wedges and rings constitute the subranges. For example, to manipulations of the trackball 102 to the upper right one of the subranges of wedge 510 is allocated, whereas to a strong downward manipulation subrange 512 is allocated. A code vector could explicitly code a ring number and a wedge number. The ring number for a particular manipulation can be derived as described with reference to Figure 2. The wedge number could be determined by deriving some ratio of the sensor signals. Figure 6 shows a further alternative range of manipulations and division thereof. The range 600 being circular, rings of circular form are more appropriate. For example with a joystick, a circular range can be imposed by a circular mechanical stop, limiting the movements of the member. The particular wedge corresponding to a particular manipulation could be determined by deriving some ratio of the sensor signals. For determining the ring, the magnimde of the manipulation should be derived by squaring and adding the sensor signals. In the data processing apparatus, X- and Y-values can be reconstructed by taking the product of the magnitude and the cosine and sine of an angle, the latter being determined by the wedge number. The ideas of the invention equally apply to three dimensional input devices, like a 3D trackball. The concepts of wedges and rings are readily extended to a three- dimensional range. Furthermore, the invention applies both to input devices integrated with a keyboard, a remote control or even the data processing apparatus itself, like with a notebook, and to stand-alone input devices. In summary, the invention relates to a method of encoding manipulations of a multidimensional input device, such as a mouse, into data to be communicated to a data processing apparatus. Sensors in the input device detect manipulations of a member of the input device with respect to an X-axis and a Y-axis. From the sensor data, a direction and a magnimde of the manipulation is derived. These intermediate quantities are communicated to the data processing apparatus instead of the X- and a Y-values themselves. In the data processing apparatus a decoder decodes the intermediate quantities into a further pair of X- and Y-values. The intermediate values more adequately represent the manipulations. Therefore, in input devices having a limited power budget, like TV remote controls and other wireless input devices, the method achieves a higher performance

Claims: CLAIMS: 1. Method of transforming user manipulations of a multidimensional input device into code vectors for a data processing apparatus, the manipulations being confined to a range around an origin, the method comprising the steps of: (1) dividing the range into a plurality of subranges; (2) assigning a unique code vector to each subrange; (3) for a particular manipulation determining a corresponding particular subrange and selecting a corresponding particular code vector for transmission to the data processing apparatus, characterised in that step (1) comprises the steps of: (la) dividing the range into a plurality of contiguous concentric rings around the origin; (lb) dividing each ring into a same number of sectors thereby constituting the subranges. 2. Method as claimed in Claim 1, characterised by in step (lb) dividing the range into contiguous wedges extending from the origin and intersecting the rings, said subranges being formed of respective intersections of the wedges and the rings. 3. Method as claimed in Claim 1, characterised by in step (la) dividing the range into a plurality of contiguous concentric rectangular rings around the origin. 4. Method as claimed in Claim 1, characterised by in step (la) dividing the range into a plurality of contiguous concentric circular rings around the origin. 5. Method as claimed in Claim 1, characterised by in step (2) using code vectors, each one of which comprising a pair of numbers, a first number indicating one of the rings, a second number indicating one of the sectors of said ring. 6. Method as claimed in Claim 3, characterised by in step (3) for the particular manipulation deriving digital values being projections of the particular manipulation on an X- axis and a Y-axis, and subsequently determining a maximum of said digital values and taking a representation thereof as a first group of bits of the corresponding particular code vector. 7. Method as claimed in Claim 6, characterised by in step (lb) arranging the subranges on lines extending radially from the origin, and in step (3) taking a line number representing a particular one of said lines as a secoad group of bits of the particular code vector. 8. System comprising a multidimensional input device, a data processing apparatus and a communication channel between them, the input device being arranged for transforming manipulations thereof by a user into code vectors for the data processing apparatus, the manipulations being confined to a range around an origin, the input device comprising selection and transmission means for, in accordance with a division of the range into a plurality of subranges being associated with respective unique code vectors, for a particular manipulation selecting a particular code vector that is assigned to a particular subrange to which the particular manipulation belongs and transmitting said particular code vector to the data processing apparatus where a decoder decodes said particular code vector into a delta vector, characterised in that the division of the range comprises a plurality of contiguous concentric rings around the origin, each ring being divided into a same number of sectors thereby constituting the subranges. 9. System as claimed in Claim 8, characterised in that the division comprises a plurality of wedges extending from the origin and intersecting the rings, said subranges being formed of respective intersections of the rings and the wedges. 10. System as claimed in Claim 8, the input device comprising sensor means for developing digital values that are proportional to respective projections of the manipulations on an X-axis and a Y-axis, characterised in that the selection means is arranged for deriving a first four bits of the code vector by mapping a maximum value of said digital values on one of sixteen levels, the decoder being arranged for decoding the first four bits according to Table 1. 11. System as claimed in Claim 10, characterised in that the subranges are arranged on sixteen lines extending radially from the origin, the selection means being arranged for constructing a second four bits of the code vector representing a particular one of said lines, the decoder being arranged for decoding said first and second four bits according to Tables 1 and 2. 12. Multidimensional input device arranged for transforming manipulations thereof by a user into code vectors for output, the manipulations being confined to a range around an origin, the input device comprising selection and transmission means for, in accordance with a division of the range into a plurality of subranges and associations to each subrange of respective unique code vectors, for a particular manipulation selecting and transmitting a particular code vector that is assigned to a particular subrange to which the particular manipulation belongs, characterised in that the division of the range comprises a plurality of contiguous concentric rings around the origin, each ring being divided into a same number of sectors thereby constituting the subranges.

Inventors: LAMBRECHTS MARC EMIEL CELINE, LAMBRECHTS, MARC, EMIEL, CELINE
Applicants: KONINKL PHILIPS ELECTRONICS NV, PHILIPS SVENSKA AB, KONINKLIJKE PHILIPS ELECTRONICS N.V., PHILIPS AB
Application year: 1998
Main classification: G06F3
IPC codes: G06F3