NOT APPLICABLE
NOT APPLICABLE
NOT APPLICABLE
This invention relates to a technique for determining a location in space. More particularly, the invention is related to technology associated with touch screen displays and is the basis for determining location of a contact on a touch screen display. In a more general sense, the underlying technology of the invention can be applied to the determining of a location in multi-dimensional space, where some of the dimensions relate to parameters other than physical location.
By way of theoretical background, an array of N vectors denoted (XV[1:N]), in an L-dimensional space is a collection of unique signatures which identify a specific characterized system. An example of a system according to the field of invention is a characterization of a touch screen display having N distinguishable touch locations on a two-dimensional display screen. A sample vector (XS) in L-dimensional space, each sample in the vector representing a dimension, is presented as an input from a pair of sensors on each edge of the display to the search subsystem to identify the closest match to the array of N unique signatures. A sample vector typically consists of one of the vectors in the array with additive white noise in each of L dimensions uniformly distributed in the range [−e,e]. The coefficient ‘e’ is referred to as a noise-splatter coefficient and is typically expressed as a percentage of the dynamic range M of each dimension. The closest match XVM to the sample vector XS is defined as one which has the lowest “score” S of all elements in the array, XV[1:N], where the score is defined as
It is already known that this match is achieved by computing the scores for all the array elements and then picking the minimum value. A key requirement is that computing the scores for all vectors is necessary, since each dimension is equally important. This process of computing scores for all the vectors with respect to the sample involves accessing the entire array of N vectors in all the L dimensions every time a new sample arrives. Hence, arriving at a signature match for every new sample requires N×L memory accesses, (N×L) subtractions, (N×(L−1)) additions and (n−1)×N×L multiplications, which is slow and certainly burdensome task.
An exhaustive search such as this to find a match places significant restrictions on the response time to locate a match due to high memory access and computational requirements which grows exponentially with the array length (N) and vector dimension (L). What is needed is a technique for accelerating and streamlining this processing to improve the performance of a touch screen display.
According to the invention, a system and method provide for efficient computation in the course of locating a position on the face of a touch-screen-equipped display device by limiting the amount of computations to weighted vectors within a range substantially less than the entire range of data input from the touch screen sensors.
The invention will be better understood by reference to the following detailed description in connection with the accompanying drawings.
This array wXV is then structured or sorted in a searchable order (Step D) (for example, ascending or descending), wYVN, and stored in memory 42 along with the sorted index (SRTix[i]) corresponding to the original array, wXV[i] (Step E). The weight of the sample vector XS {=wXS} is also computed (Step F) as
Using a fast search algorithm, such as a binary search, the context index kw, which is the result of the minimum weight-score as defined by WS is then computed (Step G) as
WS[i]=|wXV[i]−wXS|
kw=Index of min{WS[i]}i=1i=N
Considerable time and storage space can be saved in this manner. Structured ordering of wXV[1:N] and an algorithm such as a binary search requires merely log2(N) subtractions. Other faster search methods of arriving at this context index are possible, for example by using a polynomial fit for the organized weights. This short search procedure involving O(log(N)+L) or less computations (including multiplications, additions and subtractions) is crucial in minimizing the number of score computations necessary to arrive at the exact match. The value of ‘kw’ is referred to as the “context” of sample XS.
A search range value K for k is determined (Step H). This value could be predetermined before computation by an analysis of the signature array XV as well as the permitted noise-splatter coefficient. As an example, a 1% noise splatter coefficient (e) can result in K being as low as N/40, resulting in 20× reduction in the number of score computations needed to determine the correct location. To make best use of the context ‘kw’ only the vectors whose indices are present in the SRTix[kw-K,kw+K] subset of SRTix array will be used for score computation. Once the context index kw is determined, the score computations are computed (Step I) over the search range, the score computations being restricted to the range 2*K vectors (out of a total of N) based on magnitude of the noise {−e, e}. Noise can be present in each of the L dimensions of the vector. The minimum of the scores is then identified (Step J). The minimum of these scores indicates the index k of the matching vector XVM (=XV[k]). The matching vector is then output to a pattern recognizer 50 for further processing and/or the output display 14 (Step K), after which the process is repeated (Step L).
This algorithm is most effective when the noise-splatter coefficient is not very large. Large noise-splatter coefficients typically represents non-physical systems.
Below is a MATLAB script that illustrates one embodiment of the invention that has been used to verify the efficacy of the foregoing method, using as parameters a 1% noise-splatter coefficient (e=2) on 5% of signature array vectors and a signature array of 4332×1024 (N=57×76=4332, L=1024, M=256 (8-bits)).
% ACS Technology Test Script %
fid=fopen(‘SIGN_ARRAY—1024×4332.mat’,‘r’);
VLEN=1024;
VNUM=4332;
MEMSIZE=VLEN*VNUM;
XM=fread(fid,MEMSIZE);
XV=reshape(XM,VLEN,VNUM)′;
size(XV)
ORIG=0;
CENTR=ORIG*ones(VNUM,VLEN);
XVc=XV−CENTR;
wXV=sum(abs(XVc).^2,2);
size(wXV)
t=1:VNUM;
[wYV,SRTix]=sort(wXV,‘ascend’);
% Generate random sample vector
% Loop once for every vector with noise
CNTXT_VEC=[ ];
MATCH_VEC=[ ];
acs_pos=0;
for ix=1:228,
t1=1:VLEN;
NOISE=round(4*(rand(size(t1))−0.5));
XS=XV(ix*19,:)+1*NOISE;
% display(‘Sample Vector Weight’)
wXS=sum(XS.^2,2)
% Calculate all scores and find match by brute force
XSE=[ ];
for i=1:VNUM,
XSE=[XSE;XS′];
end
XS2=reshape(XSE′,VLEN,VNUM)′;
SCRVEC=XV−XS2;
SCRV=sum(abs(SCRVEC),2);
[SORT_SCRV,SCR_INDX]=sort(SCRV,‘ascend’);
BRUTE_MIN_INDX=SCR_INDX(1);
%%%%%%%%%%%%%%%%%%%
FIG. (1)
wXS_t=wXS*ones(size(t));
subplot(2,1,1)
plot(t,wYV,‘+’,t,wXS_t);
grid on
% Find context index, kw
WS=abs(wYV−wXS_t′);
[DMY,BINSRCH_INDX]=sort(WS,‘ascend’);
display(‘Closest index for weight metric’)
kw=BINSRCH_INDX(1)
K=100;
FIRST=kw−K;
LAST=kw+K;
if (FIRST<=1)
FIRST=1;
end
if (LAST>=VNUM),
LAST=VNUM;
end
zoom_t=FIRST:LAST;
MATCH_IX=zoom_t(1);
subplot(2,1,2)
ploht(zoom_t),INDX(zoom_t),‘*’);
grid on
for i=1:length(zoom_t),
if (INDX(zoom_t(i))==BRUTE_MIN_INDX)
MATCH_IX=zoom_t(i)
end
end
BRUTE_MIN_INDX
if (INDX(MATCH_IX)==BRUTE_MIN_INDX)
display(‘Exact Match found by ACS’);
acs_pos=acs_pos+1;
end
CNTXT_VEC=[CNTXT_VEC;kw];
MATCH_VEC=[MATCH_VEC;MATCH_IX];
end
FIG. (2)
tn=1:length(CNTXT_VEC);
plot(tn,CNTXTVEC-MATCH_VEC)
grid on
title(‘Distance of MATCH index (k) from CONTEXT index (kw)’)
xlabel(‘Sample Vector #’)
print-dpsc acsx.ps
The invention has been explained with reference to specific embodiments. Other embodiments will be evident to those of skill in the art. It is therefore not intended that this invention be limited, except as indicated by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
4030045 | Clark | Jun 1977 | A |
4324950 | Strickland | Apr 1982 | A |
5038325 | Douglas et al. | Aug 1991 | A |
5072171 | Eng | Dec 1991 | A |
5115203 | Krett et al. | May 1992 | A |
5347171 | Cordoba et al. | Sep 1994 | A |
5491839 | Schotz | Feb 1996 | A |
5694072 | Hsiao | Dec 1997 | A |
6107886 | Kusakabe | Aug 2000 | A |
6215356 | Servaes et al. | Apr 2001 | B1 |
6256482 | Raab | Jul 2001 | B1 |
6304138 | Johnson | Oct 2001 | B1 |
6323729 | Sevenhans et al. | Nov 2001 | B1 |
6417736 | Lewyn | Jul 2002 | B1 |
6486733 | Myers et al. | Nov 2002 | B2 |
6504426 | Picha et al. | Jan 2003 | B2 |
6538514 | Harvey | Mar 2003 | B2 |
6614310 | Quarfoot et al. | Sep 2003 | B2 |
6636103 | Wurcer et al. | Oct 2003 | B2 |
6815988 | Sanduleanu | Nov 2004 | B2 |
6838942 | Somerville et al. | Jan 2005 | B1 |
6853244 | Robinson et al. | Feb 2005 | B2 |
6975175 | Sanduleanu | Dec 2005 | B2 |
6982600 | Harvey | Jan 2006 | B2 |
6987417 | Winter et al. | Jan 2006 | B2 |
6993302 | Bausov et al. | Jan 2006 | B2 |
6998914 | Robinson | Feb 2006 | B2 |
7026868 | Robinson et al. | Apr 2006 | B2 |
7034614 | Robinson et al. | Apr 2006 | B2 |
7042284 | Moons et al. | May 2006 | B2 |
7043213 | Robinson et al. | May 2006 | B2 |
7061327 | Doy | Jun 2006 | B2 |
7061328 | Doy | Jun 2006 | B2 |
7106135 | Makino et al. | Sep 2006 | B2 |
7183857 | Doy et al. | Feb 2007 | B2 |
7525050 | Weaver et al. | Apr 2009 | B1 |
20030210235 | Roberts | Nov 2003 | A1 |
Number | Date | Country |
---|---|---|
WO 9723005 | Jun 1997 | WO |
WO 0000983 | Jan 2000 | WO |
Number | Date | Country | |
---|---|---|---|
60976655 | Oct 2007 | US |