Patent ID: 8049665

Claim:
A method for selecting a local coarse acquisition (C/A) code for GPS signal processing, the method comprising: performing autocorrelation of a received GPS coarse acquisition (C/A) code with a plurality of versions of a local coarse acquisition (C/A) code, wherein each local C/A code version is autocorrelated with the received GPS C/A code over a plurality of autocorrelation periods; wherein an autocorrelation result is generated for each autocorrelation period, and wherein, from among the autocorrelation results of each local C/A code version, a maximum autocorrelation result and a minimum autocorrelation result is determined for each local C/A code version; and selecting one of the plurality of local C/A code versions based upon the maximum autocorrelation result and the minimum autocorrelation result thereof, comprising: computing an autocorrelation difference value for each local C/A code version, whereby a plurality of autocorrelation difference values are computed, each autocorrelation difference value of a particular local C/A code version comprising a difference between the maximum and minimum autocorrelation values of the particular local C/A code version; determining the largest autocorrelation difference value among the plurality of autocorrelation difference values; and selecting the local C/A code version having the largest autocorrelation difference value.