Pointing method and pointing device

By adjusting the input displacement in the pointing device of the optical mouse to generate a small output displacement, the problems of inaccurate cursor positioning and high system power consumption caused by optical mouse jitter are solved, and more accurate movement and low power consumption are achieved.

CN119105659APending Publication Date: 2024-12-10PIXART IMAGING INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410114553.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-09
Filing Date
2024-01-26
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The jitter of the optical mouse causes inaccurate cursor positioning, increasing the power consumption of the laptop computer system and unable to enter sleep mode.

Method used

By using a processing circuit in the pointing device to receive the input displacement, adjusting its amplitude to generate an output displacement, ensuring that the amplitude of the output displacement is less than or equal to the input displacement amplitude, thereby automatically compensating for jitter.

Benefits of technology

Improves the cursor movement accuracy, reduces system power consumption, and allows to enter sleep mode when stationary.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105659A_ABST
    Figure CN119105659A_ABST
Patent Text Reader

Abstract

A pointing method is disclosed for use on a pointing device comprising processing circuitry, the pointing method comprising: (a) receiving, with the processing circuitry, an input displacement, where the input displacement represents a hypothetical movement of the pointing device; (b) the processing circuit adjusts the input displacement to generate an output displacement, the input displacement has a first amplitude and the output displacement has a second amplitude, and the second amplitude is smaller than or equal to the first amplitude; and (c) outputting the output shift with the processing circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a pointing method and a pointing device, and in particular to a pointing method and a pointing device capable of compensating for jitter. Background Art

[0002] For the optical sensor of an optical mouse, noise from digital / analog circuits or noise from external factors such as power supply / surface lighting may cause jitter in the motion output. Users usually do not want jitter because it affects the accuracy of cursor positioning, especially when the optical mouse is stationary. For example, when jitter occurs, the cursor may move back and forth in the X or Y direction on the screen, making it difficult for users to click on the target. Optical sensors with jitter also cause higher power consumption in systems such as laptops because the system cannot enter sleep mode when not in use. Summary of the invention

[0003] An object of the present invention is to disclose a pointing method capable of automatically compensating for jitter.

[0004] Another object of the present invention is to disclose a pointing device capable of automatically compensating for jitter.

[0005] An embodiment of the present invention discloses a pointing method for use on a pointing device including a processing circuit, characterized in that it includes: (a) receiving an input displacement by the processing circuit, wherein the input displacement represents a hypothetical movement of the pointing device; (b) adjusting the input displacement by the processing circuit to generate an output displacement, wherein the input displacement has a first amplitude and the output displacement has a second amplitude, the second amplitude is smaller than the first amplitude or equal to the first amplitude; and (c) outputting the output displacement by the processing circuit.

[0006] Another embodiment of the present invention discloses a pointing device, characterized in that it includes: a displacement calculation device for generating an input displacement, wherein the input displacement represents a hypothetical movement of the pointing device; a processing circuit for performing the following steps: (a) receiving the input displacement from the displacement calculation device; (b) adjusting the input displacement to generate an output displacement, wherein the input displacement has a first amplitude and the output displacement has a second amplitude, the second amplitude is smaller than the first amplitude or equal to the first amplitude; and (c) outputting the output displacement.

[0007] According to the above-mentioned embodiments, jitter can be automatically compensated, so that the movement of the pointing object can more accurately correspond to the movement of the pointing device. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A block diagram of a pointing device according to an embodiment of the present invention is shown.

[0009] Figure 2 A schematic diagram of an optical mouse according to an embodiment of the present invention is shown.

[0010] Figure 3 FIG. 4 is a schematic diagram showing the amplitude and sign of the jitter according to an embodiment of the present invention.

[0011] Figure 4 , Figure 5 , Fig. 6A , Figure 6B as well as Figure 7 The diagrams show the operation of the input displacement processing method according to different embodiments of the present invention.

[0012] Figure 8 A flow chart of an output displacement processing method according to an embodiment of the present invention is shown.

[0013] Fig. 9 FIG. 4 is a schematic diagram of image signals in different domains according to an embodiment of the present invention.

[0014] Fig.10 A flow chart of a pointing method according to an embodiment of the present invention is shown.

[0015] The reference numerals are described as follows:

[0016] 100 Pointing device

[0017] 101 Displacement Calculation Device

[0018] 103 Processing Circuit

[0019] 200 Optical Mouse

[0020] 201 Optical Sensor

[0021] 901 pixel array

[0022] 903 Reading Circuit

[0023] 905 Amplifier

[0024] 907ADC

[0025] Steps 801,803,805,807,809,811,813,815,817,1001,1003,1005 DETAILED DESCRIPTION

[0026] The present invention will be described below with multiple embodiments. Please note that the components in each embodiment can be implemented by hardware (e.g., a device or circuit) or firmware (e.g., at least one program written in a microprocessor). In addition, the "first", "second" and similar descriptions in the following description are only used to define different components, parameters, data, signals or steps. They are not used to limit their order. For example, the first device and the second device can be different devices with the same structure.

[0027] Figure 1 FIG. 4 is a block diagram of a pointing device according to an embodiment of the present invention. Figure 1 As shown, the pointing device 100 includes a displacement calculation device 101 and a processing circuit 103. The displacement calculation device 101 is used to generate an input displacement ID, wherein the input displacement ID represents an assumed movement of the pointing device 100. In more detail, if the input displacement ID has a value other than zero, the pointing device 100 is expected to have moved, thereby causing the input displacement ID. However, the input displacement ID may be the jitter mentioned above. In this case, even if the pointing device 100 does not move, the input displacement ID has a value other than zero. The processing circuit 103 is used to perform the following steps to compensate for the jitter: (a) receiving the input displacement ID from the displacement calculation device 101; (b) adjusting the input displacement ID by the processing circuit 103 to generate an output displacement OD, wherein the input displacement ID has a first amplitude and the output displacement OD has a second amplitude, wherein the second amplitude is less than or equal to the first amplitude; (c) outputting the output displacement OD. The detailed actions of the processing circuit 103 will be described in detail in the following description.

[0028] In the following embodiments, the pointing device 100 is an optical mouse, and the displacement calculation device 101 is an optical sensor (eg, an image sensor) of the optical mouse. Figure 2 FIG. 2 is a schematic diagram of an optical mouse 200 according to an embodiment of the present invention. Figure 2 As shown, the optical mouse 200 includes a processing circuit 103 and an optical sensor 201. The optical sensor 201 serves as the displacement calculation device 101. Specifically, the optical sensor 201 is used to sense multiple images and generate an input displacement ID according to the difference between the images sensed by the optical sensor 201. Figure 2 The processing circuit 103 in the embodiment receives the input displacement ID from the displacement calculation device 101, adjusts the input displacement ID to generate the output displacement ID, and outputs the output displacement OD.

[0029] Please also note that the action of "outputting the output displacement OD" may refer to the processing circuit 103 outputting the output displacement OD to another circuit or device for further processing. However, the action of "outputting the output displacement OD" may also simply represent "generating the output displacement OD". In this case, the processing circuit 103 is also used to perform subsequent actions after generating the output displacement OD. In one embodiment, the processing circuit 201 controls the optical mouse 200 to move the cursor on the screen according to the output displacement OD. Since the jitter of the output displacement OD has been compensated, the movement of the cursor can correspond more accurately to the movement of the optical mouse 200.

[0030] In the following description, several embodiments are disclosed to explain displacement compensation. In order to clearly explain these embodiments, Figure 3 Some parameters are used in Figure 3 FIG. 4 is a schematic diagram showing the amplitude and sign of jitter according to an embodiment of the present invention. Figure 3 In an embodiment, displacement can occur in but is not limited to two directions: X direction and Y direction. The "sign" indicates the direction in which the displacement points to the reference point. For example, for a displacement in the X direction, if the displacement points to the right of the reference point, the sign is "-". Conversely, for a displacement in the X direction, if the displacement points to the left of the reference point, the sign is "+". Following the same rule, for a displacement in the Y direction, if the displacement points below the reference point, the sign is "-". Conversely, for a displacement in the Y direction, if the displacement points above the reference point, the sign is "+". Amplitude refers to the absolute value of the displacement. For example, for a displacement in the X direction, a displacement of +3 means that the displacement points to the left of the reference point and its magnitude is 3. Following the same rule, for a displacement in the Y direction, a displacement of -4 means that the displacement points below the reference point and its magnitude is 4.

[0031] Figure 4 , Figure 5 FIG. 1 is a schematic diagram showing an operation of an input displacement processing method according to an embodiment of the present invention. More specifically, Figure 4 A table showing the input displacement, output displacement and sign is shown. Figure 4 The table in also shows the cumulative value (hereinafter ACV) which will be described later. Figure 5 Draws Figure 4 A line graph of the input displacement and output displacement of . Figure 4 and Figure 5 In the embodiment, after sensing a frame other than the first frame, the input displacement is received and the corresponding output displacement is generated. However, the receiving of the input displacement and the generation of the corresponding output displacement may be performed in different time intervals.

[0032] exist Figure 4 and Figure 5In the embodiment of the present invention, the step of "outputting the output displacement OD" may selectively output 0 as the output displacement OD, output the input displacement ID as the output displacement OD, or output the adjusted displacement as the output displacement OD. The absolute value of the adjusted displacement is smaller than the absolute value of the input displacement. That is, the input displacement ID may have a first amplitude and the output displacement has a second amplitude that is smaller than or equal to the first amplitude. For example, the step of "outputting the output displacement OD" outputs 0 as the output displacement OD after the optical sensor 201 senses frames 5, 6, and 7, respectively. For another example, the step of "outputting the output displacement OD" outputs the input displacement ID as the output displacement OD after the optical sensor 201 senses frames 2, 3, and 4, respectively. For another example, the step of "outputting the output displacement OD" outputs the adjusted displacement as the output displacement OD after the optical sensor 201 senses frames 8 and 10, respectively.

[0033] Fig. 6A , Figure 6B , Figure 7 is a schematic diagram of an input displacement processing method according to an embodiment of the present invention. More specifically, Fig. 6A , Figure 6B A table showing the input displacement, output displacement and sign is shown. Fig. 6A and Figure 6B The table in further illustrates the aforementioned ACV. Figure 7 To illustrate Fig. 6A A line graph of the input and output values ​​shown. Figure 6B The corresponding line chart can be based on Fig. 6A and Figure 7 The description of , so no further description is given. Fig. 6A , Figure 6B and Figure 7 In the embodiment, except for the first frame, the input displacement is received and the corresponding output displacement is generated within a frame period after a frame is sensed.

[0034] Figure 4 , Figure 5 The same rules as described in the examples above apply to Fig. 6A , Figure 6B and Figure 7 For example, in the step of "outputting the output displacement OD", the optical sensor 201 outputs 0 as the output displacement OD after sensing frames 5, 6, and 7 respectively. For another example, in the step of "outputting the output displacement OD", the optical sensor 201 outputs the input displacement ID as the output displacement OD after sensing frames 2, 3, and 4 respectively. For another example, in the step of "outputting the output displacement OD", the optical sensor 201 outputs the adjusted displacement as the output displacement OD after sensing frame 8. And, Figure 6BThe embodiment further includes the step of "after changing the sign of the output displacement OD, outputting the adjusted displacement as the output displacement OD". The details of this step will be described below. Figure 6B is described in detail in the description.

[0035] Figure 4 , Figure 5 , Fig. 6A , Figure 6B and Figure 7 The actions described can be achieved through various steps. Figure 8 A flow chart of an output displacement processing method according to an embodiment of the present invention is shown. Figure 8 The steps shown can be achieved Figure 4 , Figure 5 , Fig. 6A , Figure 6B and Figure 7 The action described. Figure 8 The input displacement processing method shown includes the following steps:

[0036] Step 801

[0037] Receives input displacement ID.

[0038] Step 803

[0039] Accum=Accum'+ID.

[0040] Calculate the current ACV Accum, which is equal to the previous ACV Accum' plus the input displacement ID.

[0041] Figure 4 and Fig. 6A , Figure 6B The “ACV before output” in the embodiment refers to the current ACVAccum obtained in step 803 .

[0042] Step 805

[0043] Accum(sign)=last non-zero output delta (sign)

[0044] or

[0045] first non-zero input delta

[0046] Determine whether the current ACV sign Accum (sign) is equal to the sign of the last non-zero output delta (sign) or whether the input displacement is the first non-zero value in the input displacement to generate a first determination result. If the first determination result is yes, go to step 807. Otherwise, if the first determination result is no, go to step 809.

[0047] After step 805 , the output displacement OD is selectively set to 0, the input displacement ID, or the adjusted displacement according to the first judgment result. Detailed steps are shown in steps 807 , 809 , 811 , 813 and 815 .

[0048] Step 807

[0049] output delta OD (mag)=Accum (abs)

[0050] output delta OD(sign)=Accum(sign)

[0051] The displacement amplitude output delta OD (mag) of the output displacement OD is set to the absolute value Accum (abs) of the current ACV, and the displacement sign output delta OD (sign) of the output displacement OD is set to the sign Accum (sign) of the current ACV.

[0052] Step 809

[0053] Accum(abs)>FLT_TH?

[0054] It is determined whether the current absolute value Accum(abs) of ACV is greater than the filtering threshold FLT_TH to generate a second determination result.

[0055] According to the second judgment result, the output displacement OD is selectively set to 0, or the current ACV Accum is reset (cleared) before the input displacement ID is set to the output displacement OD. The detailed steps are shown in steps 811, 813 and 815.

[0056] Step 811

[0057] output delta OD(mag)=Accum(abs)-FILT_TH

[0058] output delta OD (sign)=Accum (sign)

[0059] The displacement amplitude output delta OD(mag) is adjusted to the absolute value of the current ACV Accum(abs) minus the filter threshold FILT_TH. That is, the adjustment displacement of the output displacement OD is set from the absolute value of the current ACV Accum(abs) minus the filter threshold FILT_TH. In addition, the output displacement sign output delta OD(sign) is updated by the current ACV sign Accum(sign).

[0060] Step 813

[0061] Reset the current ACV accumulation.

[0062] Step 815

[0063] Set the output displacement OD to 0.

[0064] Step 817

[0065] Output the output displacement OD.

[0066] After the output displacement OD is output, the previous ACV value is replaced by the current ACV value.

[0067] The following will be Fig. 6A , Figure 6B and Figure 7 The input displacement ID and output displacement OD described in the embodiment are explained as an example. Figure 8 For the convenience of explanation, the following input displacement ID and output displacement OD are named corresponding to the frame after which the input displacement ID and output displacement OD are obtained. For example, the input displacement ID and output displacement OD obtained after sensing frame 0 are named input displacement ID_0 and output displacement OD_0 respectively. For another example, the input displacement ID and output displacement OD obtained after sensing frame 5 are named input displacement ID_5 and output displacement OD_5 respectively.

[0068] Please refer to Fig. 6A. After sensing frame 0, since only one frame is sensed, the input displacement ID_0 is 0. And, the initial previous ACV Accum' is 0, so the previous ACV Accum (ACV before output) in step 803 is 0. In addition, in step 805, the initial sign of the sign Accum (sign) of the current ACV is "+", and the initial last non-zero output delta (sign) is also "+", so enter step 807. In step 807, since the absolute value Accum (abs) of the current ACV is 0 and the sign of the current ACV Accum (sign) is "+", the output displacement amplitude delta OD (mag) is set to 0, and the output displacement sign OD (sign) is set to "+". In step 813, the current ACV Accum is reset to 0, and then the output displacement OD_0 is output in step 817, that is, 0 is output. “Post-output ACV” refers to the current ACV Accum after step 817, which can be 0 or non-0, depending on whether the current ACV Accum is reset in step 813. After sensing frame 1, the input displacement ID_1 is still 0, so according to steps 803, 805, 807, 813 and 817, the output displacement OD_1 is still 0.

[0069] After sensing frame 2, input displacement ID_2 is 1, so the previous ACV Accum is 1 in step 803. In step 805, input displacement ID_2 is the first non-zero input displacement ID, so go to step 807. In step 807, the displacement magnitude output delta OD (mag) is set to 1, and the displacement sign output delta OD (sign) is set to "+". Next, in step 813, the current ACV Accum is reset to 0, and then in step 817, output delta OD_2 is output, which is 1.

[0070] After the 3rd frame is sensed, the input displacement ID_3 is 2, so the current ACV Accum in step 803 is 2. In step 805, the current ACV sign Accum (sign) is "+", and the sign of the previous non-zero output delta OD_2 is "+", so it goes to step 807. In step 807, the displacement magnitude output delta OD (mag) is set to 2, and the displacement sign outputdelta OD (sign) is set to "+". Next, in step 813, the current ACV Accum is reset to 0, and then in step 817, the output delta OD_3 is output, that is, 2 is output. After the 4th frame is sensed, the input delta ID_4 is 1, and the subsequent steps 803, 805, 807, and 813 are also performed, so in step 817, the output delta OD_4 is output, which is 1.

[0071] After sensing frame 5, the input displacement ID_5 is -1, so the current ACV Accum in step 803 is -1. In step 805, the sign of the current ACV Accum (sign) is "-", but the sign of the last non-zero output displacement OD_4 is "+", and the input displacement ID_5 is not the first non-zero input displacement, so go to step 809. The filter threshold FLT_TH is Fig. 6A , Figure 6B , Figure 7 In the embodiment of , it is set to 3, so in step 809, the current ACV absolute value Accum(abs) is 1, which is less than the filter threshold FLT_TH, so it goes to steps 815 and 817 and outputs 0 as the output displacement OD_5. Please also note that the current ACV sign Accum(sign) has not been reset in this round, so it is still -1.

[0072] After sensing frame 6, the input displacement ID_6 is 1, so the current ACV Accum in step 803 is 0. In step 805, the current ACV sign Accum (sign) is "+", and the sign of the previous non-zero output displacement OD_4 is "+", so it goes to step 809. In step 809, the absolute value Accum (abs) of the current ACV is 1, which is less than the filtering threshold FLT_TH, so it goes to steps 815 and 817 to output 0 as the output displacement OD_6.

[0073] After sensing frame 7, the input displacement ID_7 is -1, so the current ACV Accum in step 803 is -1. In step 805, the sign Accum (sign) of the current ACV is "-", but the sign of the last non-zero output displacement OD_4 is "+", and the input displacement ID_7 is not the first non-zero input displacement, so it goes to step 809. In step 809, the absolute value Accum (abs) of the current ACV is 1, which is less than the filtering threshold FLT_TH, so it goes to steps 815 and 817, and outputs 0 as the output displacement OD_7. The current ACV sign Accum (sign) is not reset in this round, so it is still -1.

[0074] After sensing frame 8, the input displacement ID_8 is 2, so the current ACV Accum is 1 in step 803. In step 805, the sign of the current ACV Accum (sign) is "+", and the sign of the last non-zero output displacement OD_7 is "+", so enter step 807. In step 807, the displacement amplitude output delta OD (mag) is set to 1, and the displacement sign outputdelta OD (sign) is set to "+". Next, in step 813, the current ACV Accum is reset to 0, and then in step 817, the output displacement OD_8 is output, which is 1. The steps for generating the output data OD_9 and the output data OD_7 are the same, so they are not repeated.

[0075] After sensing frame 10, the input displacement ID_10 is -1, so the current ACV Accum in step 803 is -2. In step 805, the current ACV sign Accum (sign) is "-", the sign of the previous non-zero output displacement OD_8 is "+", and the input displacement ID_10 is not the first non-zero input displacement, so it goes to step 809. In step 809, the current ACV absolute value Accum (abs) is 1, which is less than the filter threshold FLT_TH, so it goes to steps 815 and 817, and outputs 0 as the output displacement OD_7. The current ACV sign Accum (sign) is not cleared in this round, so it is still -2.

[0076] After sensing frame 11, the input displacement ID_11 is -2, so the current ACV Accum in step 803 is -4. In step 805, the sign of the current ACV Accum is "-", but the sign of the last non-zero output displacement OD_8 is "+", and the input displacement ID_7 is not the first non-zero input displacement, so it goes to step 809. In step 809, the current ACV absolute value Accum (abs) is 4, which is greater than the filter threshold FLT_TH, so it goes to step 811. In step 811, the displacement amplitude output delta OD (mag) is adjusted to the absolute value Accum (abs) minus the filter threshold FILT_TH (i.e., an adjusted displacement is generated). Therefore, in step 811, the displacement amplitude output delta OD (mag) is 1. In addition, the displacement sign output delta OD (sign) is updated according to the current ACV sign Accum (sign). Therefore, in step 811, the displacement sign output delta OD (sign) is "-". Next, in step 813 , the current ACV Accum is cleared, and in step 817 , an output displacement OD_11 of −1 is output.

[0077] exist Fig. 6A In step 803, after sensing frame 12, the input displacement ID_12 is 1, so the current ACV Accum in step 803 is 1. In step 805, the current ACV sign Accum (sign) is "+", but the sign of the last non-zero output displacement OD_11 is "-", and the input displacement ID_12 is not the first non-zero input displacement, so it goes to step 809. In step 809, the value of the current ACV absolute value Accum (abs) is 1, which is less than the filter threshold FLT_TH, so it goes to steps 815 and 817, and outputs 0 as the output displacement OD_12. The current ACV sign Accum (sign) is not reset in this round, so it is still 1.

[0078] Please also understand that if the current ACV absolute value Accum(abs) is greater than the filter threshold FLT_TH, the output displacement OD_12 will be different. Specifically, the output displacement OD_12 is the adjusted displacement instead of 0. For example, in Figure 6BIn step 803, after sensing frame 12, the input displacement ID_12 is 4, so the current ACV Accum in step 803 is 4. In step 805, the current ACV sign Accum (sign) is "+", but the sign of the last non-zero output displacement OD_11 is "-", and the input displacement ID_12 is not the first non-zero input delta, so enter step 809. In step 809, the current ACV absolute value Accum (abs) is 4, which is greater than the filtering threshold FLT_TH (which is 3), so enter step 811.

[0079] In step 811, the displacement amplitude output delta OD(mag) is adjusted to the absolute value Accum(abs) minus the filter threshold FILT_TH. Figure 6B , in step 811, the displacement magnitude output delta OD(mag) is 1. In addition, the displacement sign output deltaOD(sign) is updated according to the current ACV sign Accum(sign). Therefore, in step 811, the displacement sign output delta OD(sign) is "+". Next, in step 813, the current ACV Accum is reset, and in step 817, the output displacement OD_12 of 1 is output.

[0080] According to the above embodiments, it can be obtained Fig. 6A , Figure 6B , Figure 7 Examples and Figure 4 , Figure 5 Other output displacements in the embodiment will not be described in detail here.

[0081] The above embodiments can be implemented in the analog domain or the digital domain. Fig. 9 FIG. 1 is a schematic diagram of image signals in different domains according to an embodiment of the present invention. Fig. 9 As shown, the optical sensor 201 includes a pixel array 901, a readout circuit 903, an amplifier 905, and an ADC (Analog to Digital converter) 907. The pixel circuits in the pixel array 901 are used to generate charges corresponding to the received light. The readout circuit 903 is used to read the charges to generate an analog image signal AS. The amplifier 905 is used to generate an amplified image signal, which may be removed in some embodiments. The ADC 907 is used to convert the analog image signal AS into a digital image signal DS. The above embodiments may be performed based on the analog image signal AS or the digital image signal DS.

[0082] In another embodiment, the displacement can be transmitted in analog form or in digital form. The above embodiments can be performed based on the displacement in analog form or the displacement in digital form.

[0083] Through the above embodiments, a pointing method can be obtained. Fig.10 A flow chart of a pointing method according to an embodiment of the present invention is shown, comprising the following steps:

[0084] Step 1001

[0085] To process circuits (e.g. Figure 1 The processing circuit in the pointing device receives an input displacement, wherein the input displacement represents a hypothetical movement of the pointing device.

[0086] Step 1003

[0087] The processing circuit adjusts the input displacement to generate an output displacement, wherein the input displacement has a first amplitude and the output displacement has a second amplitude, and the second amplitude is smaller than or equal to the first amplitude.

[0088] Step 1005

[0089] The output is shifted by the processing circuit.

[0090] The pointing method may also include controlling a pointing object (eg, a cursor) according to the output displacement.

[0091] In the related art, a method for smoothing the moving trajectory of a pointing device is disclosed. For example, U.S. Patent No. US 7,342,088 discloses a method that generates an accumulated value of multiple displacements and outputs the accumulated value to smooth the trajectory of a pointing object. However, this method cannot be used when the mouse is stopped, nor can it be used to compensate for the jitter when the mouse is stopped, because the method is based on the accumulated value generated according to multiple displacements.

[0092] According to the above-mentioned embodiments, jitter can be automatically compensated, so that the movement of the pointing object can more accurately correspond to the movement of the pointing device.

[0093] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A pointing method, used on a pointing device including a processing circuit, characterized in that: include: (a) receiving, with the processing circuit, an input displacement, wherein the input displacement represents an assumed movement of the pointing device; (b) adjusting the input displacement by the processing circuit to generate an output displacement, wherein the input displacement has a first amplitude and the output displacement has a second amplitude, the second amplitude being smaller than the first amplitude or equal to the first amplitude; as well as (c) outputting the output displacement with the processing circuit.

2. The pointing method according to claim 1, characterized in that: The step (c) selectively outputs 0 as the output displacement, outputs the input displacement as the output displacement, or outputs an adjusted displacement as the output displacement, wherein the absolute value of the adjusted displacement is smaller than the absolute value of the input displacement.

3. The pointing method according to claim 2, characterized in that: The step (b) comprises: (b1) calculating a current cumulative value, which is equal to the previous cumulative value plus the input displacement; (b2) determining whether the sign of the current accumulated value is the same as the sign of the previous non-zero output displacement, or whether the input displacement is the first non-zero input displacement, to generate a first determination result; and (b3) selectively outputting 0 as the output displacement, setting the input displacement as the output displacement, or setting the output adjusted displacement as the output displacement according to the first judgment result.

4. The pointing method according to claim 3, characterized in that: The step (b3) comprises: (b31) determining whether the absolute value of the current cumulative value is greater than a filtering threshold value to generate a second determination result; (b32) According to the first judgment result and the second judgment result, selectively outputting 0 as the output displacement, or resetting the current accumulated value before setting the input displacement as the output displacement.

5. The pointing method according to claim 4, characterized in that: The step (b3) comprises: If the first judgment result is yes, the displacement amplitude of the output displacement is set according to the absolute value of the current cumulative value, and the displacement sign value of the output displacement is set according to the sign of the current cumulative value; If the first judgment result is no, executing step (b31) after step (b2); The step (b3) further comprises: (b33) updating the displacement amplitude by subtracting the filtering threshold from the absolute value of the current accumulated value; and (b34) After step (b31), the displacement sign value is updated with the sign of the current accumulated value.

6. The pointing method according to claim 5, characterized in that: The step (b33) and the step (b34) are performed before resetting the current accumulated value.

7. The pointing method according to claim 4, characterized in that: The adjusted displacement is equal to the absolute value of the current accumulated value minus the filtering threshold.

8. The pointing method according to claim 1, characterized in that: The pointing device is an optical mouse, which includes an optical sensor. The optical sensor generates the input displacement according to an image sensed by the optical sensor.

9. A pointing device, characterized in that: include: a displacement calculation device for generating an input displacement, wherein the input displacement represents an assumed movement of the pointing device; A processing circuit is used to perform the following steps: (a) receiving the input displacement from a displacement calculation device; (b) adjusting the input displacement to generate an output displacement, wherein the input displacement has a first amplitude and the output displacement has a second amplitude, the second amplitude being less than or equal to the first amplitude; as well as (c) Output the output displacement.

10. The pointing device according to claim 9, characterized in that The step (c) selectively outputs 0 as the output displacement, outputs the input displacement as the output displacement, or outputs an adjusted displacement as the output displacement, wherein the absolute value of the adjusted displacement is smaller than the absolute value of the input displacement.

11. The pointing device according to claim 10, characterized in that The step (b) comprises: (b1) calculating a current cumulative value, which is equal to the previous cumulative value plus the input displacement; (b2) determining whether the sign of the current accumulated value is the same as the sign of the previous non-zero output displacement, or whether the input displacement is the first non-zero input displacement, to generate a first determination result; and (b3) selectively outputting 0 as the output displacement, setting the input displacement as the output displacement, or setting the output adjusted displacement as the output displacement according to the first judgment result.

12. The pointing device according to claim 11, characterized in that The step (b3) comprises: (b31) determining whether the absolute value of the current cumulative value is greater than a filtering threshold value to generate a second determination result; (b32) According to the first judgment result and the second judgment result, selectively outputting 0 as the output displacement, or resetting the current accumulated value before setting the input displacement as the output displacement.

13. The pointing device according to claim 12, characterized in that The step (b3) comprises: If the first judgment result is yes, the displacement amplitude of the output displacement is set according to the absolute value of the current cumulative value, and the displacement sign value of the output displacement is set according to the sign of the current cumulative value; If the first judgment result is no, executing step (b31) after step (b2); The step (b3) further comprises: (b33) updating the displacement amplitude by subtracting the filtering threshold from the absolute value of the current accumulated value; and (b34) After step (b31), the displacement sign value is updated with the sign of the current accumulated value.

14. The pointing device according to claim 13, wherein: The step (b33) and the step (b34) are performed before resetting the current accumulated value.

15. The pointing device according to claim 12, characterized in that The adjusted displacement is equal to the absolute value of the current accumulated value minus the filtering threshold.

16. The pointing device according to claim 9, characterized in that The pointing device is an optical mouse and the displacement calculating device is an optical sensor. The displacement calculating device is used for sensing an image and generating the input displacement according to the image.