This application claims priority under 35 U.S.C. 119 from Japanese patent application No. 2005-358687 filed on Dec. 13, 2005, the disclosure of which is incorporated by reference herein.
Also, the disclosure of U.S. patent application Ser. No. 11/353,011 is incorporated by reference herein.
1. Technical Field
The invention relates to a position measurement system, which determines positional coordinates of a point under measurement (herein after called a “target point”) by means of removing noise, which would cause a problem at the time of measurement of a position and a direction.
2. Related Art
Various position measurement systems have already been proposed.
A position measurement system for measuring positional coordinates of a point under measurement includes a first noise removal unit, a parameter determination unit and a second noise removal unit. The first noise removal unit removes noise from the measured positional coordinates to acquire first positional coordinate values. The parameter determination unit determines a noise removal parameter on a basis of the first positional coordinate values. The second noise removal unit again removes noise from the first positional coordinate values with using the noise removal parameter, to acquire second positional coordinate values.
Exemplary embodiments of the present invention will be described in detail based on the following figures, wherein:
A position measurement system according to exemplary embodiments of the invention will be described hereinbelow by reference to the drawings.
In this system, the computer 12 does not only determine the indicated position 6 of the pointer 3, but also eliminates noise from positional coordinates of the determined indicated position 6 to thus compute first positional coordinate values; again eliminates noise from the first positional coordinate values with using a noise removal parameter determined on the basis of the first positional coordinate values, to compute second positional coordinate values; and determines the indicated position of the pointer 3 on the basis of the second positional coordinate values. That is, when the Kalman filter is used, noise is removed by first filtering the measured values by means of the Kalman filter and determine true values (the first positional coordinate values). True variations in the target point are predicted from the true values, and a parameter value of another Kalman filter to be used next is set, noise is eliminated, and second positional coordinate values are obtained. Thereby, vibration of the indicated position 6, which are caused by physical vibration, such as shaking of the user's hand at the time a person operates the pointer 3, is restrained, and quick movement of the target point can be tacked. This will be described in detail later.
In
The center of the concentric interference pattern located on a continuation line of the optical axis of the interference lens 1-3 becomes an indicated point (an indicated position). As shown in
As mentioned above, the detectors 10, 11 are attached to the display 100, and detect concentric interference patterns; the computer computes the position indicated by the pointer 3; and the computer 12 sends to the display 100 a signal, which is used for moving the cursor to this computed position. As a result, the pointer 3 can be used in displaying a cursor, as an input interface with a computer. In this exemplary embodiment, two detectors are provided, but number of the detectors is not limited to two. That is, one detector or three or more detectors may be provided.
In this system, noise is eliminated from the positional coordinates of the position indicated by the pointer, to thus compute first positional coordinate values. The system again eliminates noise from the first positional coordinate values with using a noise removal parameter determined on the basis of the first positional coordinate values, to thus compute second positional coordinate values. On the basis of the second positional coordinate values, the position indicated by the pointer is determined. Considered below is a case where a person holds a pointer in his/her hand and gives a presentation while indicating a display device connected to the computer or a display screen projected by a projector, by means of the pointer. The cursor displayed at the indicated point moves in accordance with movement of the pointer. Vibration of the position indicated by the pointer, which would be induced by physical vibration such as shaking of the user's hand at this time, is restrained by the following method.
Next, in step 45 (functioning as the first noise removal unit), X0 (in the case of the first time, X1; otherwise X3) is filtered with the first Kalman filter, to thereby eliminate noise and compute a true position (true values) X2 (first positional coordinate values). A status vector Xk of the Kalman filter is expressed by the following expression.
Xk=(x(k),y(k),vx(k),vy(k))T (1)
Here, x(k), y(k) designate positional coordinates of the point indicated at a time “k”; and Vx(k), Vy(k) designate a moving speed of the point indicated at time “k.” The basic model of the Kalman filter is based on the common model provided below.
F denotes a status transition matrix; G denotes a drive matrix; and H denotes an observation matrix. wk denotes system noise, and vk denotes observation noise. Covariance matrices for the respective noises are expressed as follows:
Σwk=σw2·I2×2′
Σvk=σv2·I2×2
In the expression, σw and σv are variance values, and I2×2 signifies a unit matrix of 2×2.
Noise removal performed by the Kalman filter is carried out by computation of the status vector Xk. This computation is effected by sequentially executing the following recurrence formula.
{circumflex over (x)}k|k={circumflex over (x)}k|k−1+Kk(yk−H{circumflex over (x)}k|k−1) (6)
{circumflex over (x)}k+1|k=F{circumflex over (x)}k|k
Kk=Σ{circumflex over (k)}|k−1HkT(HkΣ{circumflex over (k)}|k−1HkT+Σvk)−1 (7)
{circumflex over (Σ)}ê|ê={circumflex over (Σ)}ê|ê−1−KkHk{circumflex over (Σ)}k|k−1 (8)
{circumflex over (Σ)}k+1|k=Fk·{circumflex over (Σ)}ê|ê·FkT+Gk·Σwk·GkT (9)
where
{circumflex over (x)}0|−1=
Symbol ^ indicates an estimated value.
As mentioned above, the first noise removal unit determines a status vector Xk|k, to thus initially eliminate first noise from the indicated position X0 measured at each measurement time “k.” The thus-determined values are referred to as true values X2 (first positional coordinate values) of the indicated position. In step 46, X2 is compared with X0 (in the case of the first time, X1; otherwise, X3), to thus compute the amount of change. In this case, the travel distance L of the cursor is computed. The travel distance L is expressed by
L=|X2−X0| (11)
where ∥ indicates an absolute value.
Noise variance value σw of system noise and noise variance value σv of observation noise of the Kalman filters are determined in accordance with the travel distance L. That is, when the travel distance L (the amount of change) is smaller than a reference value, the person indicates a specific location and it is preferable that the cursor is fixed. On the contrary, when the travel distance L (the amount of change) is greater than the reference value, the person is dynamically moving the pointer in order to indicate another location. Therefore, it is preferable that the cursor is moved quickly to track the movement of the pointer. To this end, in step 47, the noise variance values σw and σv of the Kalman filters are determined as a function of the travel distance L as follows:
σw=L×A (12)
σv=B/L (13),
where A and B denote constants. As can be seen from expressions (5), (12), and (13), when a difference (a travel distance) L between X2 and X0 is smaller than the reference value, system noise is set so as to be small, and observation noise is set so as to be large. When the difference (a travel distance) L between X2 and X0 is greater than the reference value, system noise is set so as to be large, and observation noise is set so as to be small. The processing method is changed depending on whether L is greater than or smaller than the reference value. However, the reference value can be set, e.g., in order for the cursor position of the pointer to remain stationary or for the vibration of the cursor to be small enough for recognizing it by a person viewing the cursor. However, the reference value is not limited thereto and can be set freely. In relation to setting the system noise and the observation noise so as to become large or small, the parameter is set to a large value or a small value, which imparts a natural feeling to the person who views vibration of the cursor, as in the case mentioned above.
In step 48 (functioning as a second noise removal unit), the input signal is again filtered with the Kalman filters by using the noise variance values σw and σv as noise removal parameters, to thus compute a status vector Xk|k. Namely, X2 (the first positional coordinate values) is filtered with a second Kalman filter, to thus compute X3. In step 49, this value X3 (second positional coordinate values) is stored in memory. In step 44, X0=X3 is set, and the value is used for next noise removal processing. In step 50, the cursor is moved to the position indicated by the value X3. In step 51, a determination is made as to whether or not above processing is terminated. When processing is not terminated, processing returns to step 41, and the above processing is repeated. Through the above technique, when the person is indicating a specific location by the pointer, the cursor remains stationary without involvement shaking. In contrast, when the pointer is being moved, the cursor can quickly pursue the movement.
When the person holds the pointer by hand, the person's hand often shakes. Consequently, the cursor displayed on the display screen vibrates. Therefore, this system grasps the intention of the person from the true values of the indicated position, thereby preventing vibration of the cursor. In a situation where a certain position is indicated during a presentation utilizing a pointer, even when the person's hand shakes, the travel distance of the shaking hand frequently falls within a given range. Meanwhile, when another location is indicated, the travel distance of the indicated position becomes great, and hence movement can be distinguished from vibration due to a shaking hand.
In this example, a filter, which attenuates a value measured in the past in the manner of an exponential function, is used as the first filter for removing noise. As in the case of the first embodiment, a Kalman filter is used for the second filter. Coordinates of the cursor measured “nth” time since initiation of measurement are taken as (xn, yn). An attenuation coefficient is taken as “a,” and the value obtained as a result of removal of noise is taken as (x, y). Coordinates (x, y) are computed as follows.
x=(x1((a−1)/a)n+x2((a−1)/a)n−1+x3((a−1)/a)n−2+ . . . +xn)/a=Σi=1nxi((a−1)/a)n−1/a (14)
y=(y1((a−1)/a)n+y2((a−1)/a)n−1+y3((a−1)/a)n−2+ . . . +yn)/a=Σi=1nyi((a−1)/a)n−1/a (15)
Numerical subscripts 1, 2, 3 . . . denote the number of ith frames. For instance, provided that an attenuation coefficient is set to a=5, coordinates (x, y) at the n=100th frame are determined as follows:
x=(x1(4/5)100+x2(4/5)99+x3(4/5)98+ . . . +x100)/5 (16)
y=(y1(4/5)100+y2(4/5)99+y3(4/5)98+ . . . +y100)/5 (17)
An algorithm of this computation is simple, and if the following expressions are repeated for every “i” frame:
xarray=xarray(a−1)/a+xi/a (18)
yarray=yarray(a−1)/a+yi/a (19).
the above geometric series are obtained. Measured values are computed by use of such noise removal unit. A difference (travel distance) L between these values and previously-measured values is computed according to Equation (11). Subsequently, as in the case of the first example, the moving speed of the cursor is set as indicated by Equations (12), (13), by using the Kalman filter. Thus, as in the case of the first example, the cursor can be moved by taking the operator's intention into consideration.
In this example, system noise σv of the Kalman filter represented by Equation (11) and the observation noise σw are used for the function of a measurement position. In this example, the first Kalman filter is set so as to assume noise variance values σv=1 and σw=100, and noise is first eliminated. Next, from Equation (11), the travel distance L of the cursor is computed. In relation to the travel distance L, the second Kalman filter is set so as to assume noise variance values σv0=10−6 and σw0=106, the following functions are employed.
σv0=σv0×L (20)
σw0=σw0/L (21)
The Result are shown in
The above embodiments can be fulfilled by use of, e.g., a computer program. According to the invention, a filtering parameter is set in accordance with the operator's intention. Hence, quick movement of the target point can be pursued. Concurrently, when the target point is stationary, noise is thoroughly eliminated, and true values can be made stationary.
Number | Date | Country | Kind |
---|---|---|---|
2005-358687 | Dec 2005 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
3702477 | Brown | Nov 1972 | A |
3740152 | Iisuka | Jun 1973 | A |
3848509 | Corn | Nov 1974 | A |
3889108 | Cantrell | Jun 1975 | A |
4004729 | Rawicz et al. | Jan 1977 | A |
4025721 | Graupe et al. | May 1977 | A |
4049958 | Hartmann | Sep 1977 | A |
4050068 | Berg et al. | Sep 1977 | A |
4144571 | Webber | Mar 1979 | A |
5612883 | Shaffer et al. | Mar 1997 | A |
6266142 | Junkins et al. | Jul 2001 | B1 |
7433538 | Kusakabe et al. | Oct 2008 | B2 |
20040004723 | Seko et al. | Jan 2004 | A1 |
20050253806 | Liberty et al. | Nov 2005 | A1 |
Number | Date | Country |
---|---|---|
A 2004-28977 | Jan 2004 | JP |
Number | Date | Country | |
---|---|---|---|
20070133006 A1 | Jun 2007 | US |