The invention relates to spread spectrum signal processing, and more particularly, to determining a carrier-to-noise power density ratio (CN0) of a spread spectrum signal, e.g., a GPS signal.
Generally, a GPS (global position system) receiver acquires GPS signals from a set of satellites and then tracks these GPS signals. During the acquisition stage, the initial carrier frequency of a carrier signal and initial phase of a pseudorandom noise (PRN) code associated with a received GPS signal are identified. These two parameters are then used for tracking the GPS signal.
Due to the motion of the satellites and the receiver, Doppler effects may occur and the carrier frequency and PRN code may vary over time. To overcome Doppler effects and maintain the availability of GPS signals, a tracking process is performed based on the initial carrier frequency and initial PRN code which are acquired during the acquisition stage.
When the variations of the carrier frequency and PRN code are successfully tracked by the receiver, the GPS signal can be referred to as “locked” by the receiver. When the receiver fails to track the variations of the carrier frequency and PRN code, the GPS signal from a corresponding satellite can be referred to as “lost”. When a signal is lost, it may not be used by the receiver for further processing such as calculating the position of the receiver. The receiver may need to perform acquisition again to ensure that there is enough number of GPS signals acquired and locked for further processing.
When the GPS signal is received by the receiver, bit boundaries of the navigation data stream can be identified after the carrier signal and PRN code have been stripped off from the received GPS signal. The navigation data stream is formed by a sequence of navigation data bits. The lasting time of each data bit can be 20 ms. The end of a data bit, which is also the beginning of another data bit, can be referred to as a boundary of a navigation data bit (also called bit boundary).
Conventionally, in a GPS receiver, a bit synchronization method is employed to determine if the GPS signal is locked or lost. More specifically, the bit synchronization module is needed to identify the bit boundaries of navigation data stream after the carrier signal and PRN code have been stripped off from the received GPS signal. According to such conventional bit synchronization method, the lock status of the GPS signal is detected at the same time when the bit boundaries of navigation data stream are determined. If the bit boundaries can not be determined after repeating the search process for a predetermined times, the signal is regarded as lost.
There are some drawbacks of this conventional method. First, the bit synchronization module may be difficult to determine the bit boundaries and the lock status if there are no data transitions within a relatively long bit sequence. In other words, this method may not be efficient when there are relatively long sequences of “0” or “1” in the navigation data stream. Second, this conventional method can be time-consuming. Third, the bit synchronization process may need to be performed from time to time in order to detect the lock status even after the GPS signal is acquired.
GPS signal power can indicate the quality of GPS signals. The carrier-to-noise power density ratio (CN0) in GPS receivers is defined as a ratio of the modulated carrier power to the noise power in a 1 Hz bandwidth. In decibels, carrier-to-noise power density ratio is expressed in dB-Hz. A greater carrier-to-noise power density ratio can indicate a higher signal quality. Carrier-to-noise power density ratio is a parameter in analyzing GPS receiver performance and may directly affect the precision of the receiver's pseudo range and carrier phase observations.
A traditional method to determine a carrier-to-noise power density ratio involves receiving a GPS signal, generating a noise signal and then calculating the signal power and the noise power to obtain the carrier-to-noise power density ratio. The traditional method may require extra hardware resources to calculate the noise power.
According to one embodiment of the invention, there is provided an apparatus for determining a carrier-to-noise power density ratio (CN0) of a spread spectrum signal. The apparatus includes a signal power calculation unit and a conversion unit. The signal power calculation unit determines a signal power indicator indicative of a signal to noise ratio of the spread spectrum signal. The conversion unit is coupled to the signal power calculation unit and stores a lookup table representing a relationship between the signal power indicator and the carrier-to-noise power density ratio. The conversion unit is operable for converting the signal power indicator to the carrier-to-noise power density ratio according to the lookup table.
Features and advantages of embodiments of the invention will become apparent as the following detailed description proceeds, and upon reference to the drawings, where like numerals depict like elements, and in which:
Reference will now be made in detail to the embodiments of the present invention. While the invention will be described in conjunction with these embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims.
Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
In operation, the carrier generator 102 can generate two orthogonal carrier signals shown as an in-phase carrier signal 104 and a quadrature carrier signal 106. The IF signal is multiplied with these two orthogonal carrier signals 104 and 106 by the multiplier 108-1 and the multiplier 108-2 to generate a first data stream 110 and a second data stream 111, respectively. The code generator 112 can generate three PRN codes: an early code 114, a late code 116, and a prompt code 118. In one embodiment, the prompt code 118 is the same as the aforementioned modulated PRN code PRN0. The prompt code 118 has the same phase shift as the first data stream 110 and the second data stream 111, in one embodiment. The early code 114 and the late code 116 are both derived from the prompt code 118 time-shifted by an approximately one-half-chip time period, in one embodiment. The initial frequency of the in-phase carrier signal 104 and the quadrature carrier signal 106, as well as the prompt code 118, can be determined by an acquisition module 902 (shown in
The early code 114, late code 116, and prompt code 118 are integrated with the first data stream 110 and the second data stream 111 respectively in a set of integrators, which are numbered consecutively from the integrator 119-1 to the integrator 119-6, to generate six integration results. Integration herein refers to an operation of multiplying one of the data stream with one of the PRN code point by point and sum up the products over a time period. In one embodiment, the time period of the integration is 1 ms, which is equal to a period of the PRN code. The in-phase integration result based on the prompt code 118 and the first data stream 110 is referred to as a first integration result ‘Ii’ (i=1, 2, . . . X). The quadrature integration result based on the prompt code 118 and the second data stream 111 is referred to as a second integration result ‘Qi’ (i=1, 2, . . . X).
The first integration result ‘Ii’ and the second integration result ‘Qi’ are applied to the carrier tracking controller 124 which controls the carrier generator 102 to generate the two orthogonal carrier signals 104 and 106. ‘Ii’ and ‘Qi’ are also applied to the lock status detector 126 to detect the lock status of the GPS signal. The rest four integration results are applied to the code tracking controller 128 which controls the code generator 112 to generate the early, late and prompt codes 114, 116, and 118. The carrier tracking controller 124 may use a first phase-locked loop (carrier loop) to track the carrier frequency by using an oscillator to control the frequency of carrier signals 104 and 106, such that the frequency of carrier signals 104 and 106 follows the carrier frequency of the aforementioned modulated carrier signal Cm. The code tracking controller 128 may use a second phase-locked loop (code loop) to track the PRN code by adjusting the rate of the prompt code 118, such that the rate of prompt code 118 follows the rate of the aforementioned modulated PRN code PRN0.
In the S channel, ‘Ii’ and ‘Qi’ are sent to the first accumulator 202 where ‘Ii’ and ‘Qi’ are accumulated over a time period to produce a first accumulated result ‘Is’ and a second accumulated result ‘Qs’, respectively. In one embodiment, the first accumulated result ‘Is’ is generated by summing up all the first integration result ‘Ii’ which are generated from a navigation data bit and the second accumulated results ‘Qs’ is generated by summing up all the second integration result ‘Qi’ which are generated from the same navigation data bit. In one embodiment, a bit synchronization module 906 (shown in
According to one embodiment of the present invention, the lock status detector 126, rather than the bit synchronization module 906 (shown in
After a pair of ‘Is’ and ‘Qs’ is generated by the first accumulator 202, a first calculation unit 204 determines a first evaluation value SL based on ‘Is’ and ‘Qs’.
In the N channel, ‘Ii’ and ‘Qi’ are processed in a second calculation unit 206. The processed results are then accumulated in a second accumulator 208 by summing up multiple processed results in a predetermined time period. The predetermined time period can be multiple of 1 ms. In one embodiment, the predetermined time period is 20 ms which is consistent with the time used to produce ‘Is’ and ‘Qs’ in the S channel. The output of the second accumulator 208 is a second evaluation value NL.
The processing of ‘Is’ and ‘Qs’ in the first calculation unit 204 and the processing of ‘Ii’ and ‘Qi’ in the second calculation unit 206 will be described in detail below. In one embodiment of the invention, in the S channel, the first calculation unit 204 calculates the sum of squares of ‘Is’ and ‘Qs’. In the N channel, the second calculation unit 206 calculates the sum of squares of ‘Ii’ and ‘Qi’. Such embodiment can be expressed as the following equation.
In equation (1), ‘Ii’ is the first integration result from the integrator 119-2. ‘Qi’ is the second integration result from the integrator 119-5.
represents the first accumulated result ‘Is’ from the first accumulator 202.
represents the second accumulated result ‘Qs’ from the first accumulator 202. SL is the first evaluation value from the first calculation unit 204. NL is the second evaluation value from the second accumulator 208.
In another embodiment, in the S channel, the first calculation unit 204 calculates the sum of squares of ‘Is’ and ‘Qs’ and then calculates the square root of the sum of squares. In the N channel, the second calculation unit 206 calculates the sum of squares of ‘Ii’ and ‘Qi’ and then calculates the square root of the sum of squares. Such embodiment can be expressed as the following equation.
In equation (2), ‘Ii’ is the first integration result from the integrator 119-2. ‘Qi’ is the second integration result from the integrator 119-5.
represents the first accumulated result ‘Is’ from the first accumulator 202.
represents the second accumulated result ‘Qs’ from the first accumulator 202. SL is the first evaluation value from the first calculation unit 204. NL is the second evaluation value from the second accumulator 208.
In yet another embodiment, in the S channel, the first calculation unit 204 calculates the sum of absolute values of ‘Is’ and ‘Qs’. In the N channel, the second calculation unit 206 calculates the sum of absolute values of ‘Ii’ and ‘Qi’. Such embodiment is expressed as the following equation.
In equation (3), ‘Ii’ is the first integration result from the integrator 119-2. ‘Qi’ is the second integration result from the integrator 119-5.
represents the first accumulated result ‘Is’ from the first accumulator 202.
represents the second accumulated result ‘Qs’ from the first accumulator 202. SL is the first evaluation value from the first calculation unit 204. NL is the second evaluation value from the second accumulator 208.
The first evaluation value SL and the second evaluation value NL are passed through the LPF 210-1 and the LPF 210-2 respectively to obtain smoother filtered results. In one embodiment, the LPF 210-1 and/or the LPF 210-2 can be a first order infinite impulse response filter (IIR filter). The filtered result of the first evaluation value SL is referred to as A and the filtered result of the second evaluation value NL is referred to as D. The ratio of A to D is compared with a threshold value TH to generate a lock status result, in one embodiment. In one embodiment, D is first multiplied with TH at multiplier 214 to obtain a product which is referred to as B, and then A is compared with B at comparator 216 to generate a comparison result which is an indicator of the lock status of the GPS signal. If A is greater than B, it is suggested that the GPS signal may be locked. If B is greater than A, it is suggested that the GPS signal may be lost. To determine the lock status more accurately, a state machine 218 can be provided to make a determination, in one embodiment.
The state machine 218 receives a pair of A and B and makes a comparison, in step 302. If A is greater than B or if A is equal to B, LOSTOUT is set to FALSE and LOSTCNT is set to 0, in step 304. Then, the state machine 218 checks the value of LOCKCNT, in step 306. If LOCKCNT is equal to LP, LOCKOUT is set to TRUE, in step 308. Otherwise LOCKCNT is increased by 1, in step 310.
If A is smaller than B, then LOCKCNT is set to 0, in step 312. Then the state machine 218 checks the value of LOSTCNT, in step 314. If LOSTCNT is equal to LO, then LOSTOUT is set to TRUE, in step 316. Otherwise LOSTCNT is increased by 1, in step 318. Then the value of LOSTCNT is compared with LNA, in step 320. If LOSTCNT is greater than LNA or LOSTCNT is equal to LNA, then LOCKOUT is set to FALSE, in step 322.
The lock status is determined by the value of LOCKOUT and LOSTOUT, in one embodiment. If LOSTOUT is FALSE and LOCKOUT is TRUE, a status of “locked” can be detected and the receiver will further process the information obtained from the GPS signal.
If LOSTOUT is TRUE and LOCKOUT is FALSE, a status of “lost” can be detected. The receiver may stop further processing the GPS signal and may need to perform the acquisition process again.
If LOSTOUT is FALSE and LOCKOUT is FALSE, a status of “pre-lost” can be detected. The status of “pre-lost” means that the GPS signal is not locked but may become locked through tracking process. Under this condition, the GPS signal is held and not used for further processing, but re-acquisition is not performed, in one embodiment. The state machine 218 continues running until LOSTCNT is equal to LO to determine a status of “lost”, or until LOCKCNT is equal to LP to determine a status of “locked”.
In one embodiment of the invention, the state machine 218 can be updated each time when a pair of ‘Is’ and ‘Qs’ is produced. To reduce the workload, in another embodiment of the invention, the state machine 218 is updated each time when a predetermined number of ‘Is’ and ‘Qs’ have been produced.
By using the state machine 218, detection probability can be increased and false alarm probability can be decreased because the final result can be based on the signal status which is obtained from a sequence of navigation data bits rather than from only one navigation data bit. Occasional incidental or error can have little effect on the final result.
In the example of
In one embodiment, the signal power calculation unit 402 includes a first accumulator 202 for accumulating an in-phase integration result (also referred to as the first integration result) ‘Ii’ and a quadrature integration result (also referred to as the second integration result) ‘Qi’ separately over a time period, a first calculation unit 204 coupled to the first accumulator 202 for determining a first evaluation value SL based on the accumulated in-phase integration result ‘Is’ and the accumulated quadrature integration result ‘Qs’, a second calculation unit 206 for processing the in-phase integration result ‘Ii’ and the quadrature integration result ‘Qi’, a second accumulator 208 coupled to the second calculation unit 206 for determining a second evaluation value NL by accumulating an output of the second calculation unit 206 over the time period, a low-pass filter (LPF) 210-1, a LPF 210-2, and a division unit 514 for determining a signal power indicator based on the first and second evaluation results SL and NL.
The first integration result ‘Ii’ and the second integration result ‘Qi’ are respectively transferred through two paths: an S channel including the first accumulator 202, the first calculation unit 204 and the LPF 210-1, and an N channel including the second calculation unit 206, the second accumulator 208 and the LPF 210-2.
In the S channel, ‘Ii’ and ‘Qi’ are processed by the first accumulator 202 and the first calculation unit 204 to determine a first evaluation value SL. In the N channel, ‘Ii’ and ‘Qi’ are processed by the second calculation unit 206 and the second accumulator 208 to determine a second evaluation value NL. The process to determine the first evaluation value SL and the second evaluation value NL is similar to the process which is described with
The first evaluation value SL and the second evaluation value NL are passed through the low-pass filter (LPF) 210-1 and the LPF 210-2 respectively to obtain smoother filtered results. In one embodiment, the LPF 210-1 and/or the LPF 210-2 can be a first order infinite impulse response filter (IIR filter). The filtered SL is divided by the filtered NL in the division unit 514 to produce a ratio which is the signal power indicator, in one embodiment. Referring to
The curve 600 can be obtained by the computer simulation. In one embodiment, for a spread spectrum signal with certain signal strength, a carrier-to-noise power density ratio CN0 of the spread spectrum signal is first calculated according to a computer simulation of an exemplary architecture illustrated in
Sensitivity=CN0−174(dBm) (4)
As a result, the curve 600 can be obtained according to the simulation results of the sensitivity and the carrier-to-noise power density ratio CN0 of the spread spectrum signal.
‘Ii’ and ‘Qi’ are applied to a first accumulator 713-1 in which ‘Ii’ and ‘Qi’ are accumulated over a time period of K, to produce a first and second accumulated results respectively. At a first sum-square unit 715-1, the sum of squares of the first and second accumulated results is calculated, which is shown as ‘C’. The value of ‘C’ can indicate the power of the signal.
At the noise processing unit 704, the IF signal is processed to provide a noise signal. The noise signal is integrated for a time period (e.g., 1 ms) to generate an in-phase integration result ‘In’ and a quadrature integration result ‘Qn’, respectively.
‘In’ and ‘Qn’ are accumulated respectively by the second accumulator 713-2 over the time period of K, to produce a third and fourth accumulated results. At the second sum-square unit 715-2, the sum of squares of the third and fourth accumulated results is calculated, which is shown as ‘N’. The value of ‘N’ can indicate the noise power.
The first accumulator 713-1 produces the first and second accumulated results based on all the ‘Ii’ and ‘Qi’ which are generated from a complete navigation data bit. In one embodiment, the time period of K, during which the first accumulator 713-1 and the second accumulator 713-2 produce the first, second, third and fourth accumulated results, can be 20 ms, which is the period of a navigation data bit. The process to generate ‘C’ and ‘N’ can be shown as equation (5).
The signal power ‘C’ and the noise power ‘N’ are passed through the first filter 714-1 and the second filter 714-2 respectively to obtain smoother filtered results, which are shown as ‘C1’ and ‘N1’ respectively. In a CN0 calculation unit 716, a carrier-to-noise power density ratio CN0 is determined based on ‘C1’ and ‘N1’ according to equation (6).
CN0=[10*lg 10(C1/N1−1)+10*lg K]dB-Hz (6)
Furthermore, according to equation (4), a corresponding sensitivity of the spread spectrum signal can be determined based on the carrier-to-noise power density ratio CN0. The value of the sensitivity of the spread spectrum signal determines a position on the horizontal axis of the exemplary plot in
The plot 600 in the example of
In operation, the conversion unit 404 receives a signal power indicator from the signal power calculation unit 402, compares the received signal power indicator with the set of predetermined signal power indicators, looks up a predetermined signal power indicator that is closest to the received signal power indicator, and provides the carrier-to-noise power density ratio CN0 according to a predetermined carrier-to-noise power density ratio CN0 that corresponds to the closest predetermined signal power indicator, in one embodiment.
Advantageously, once the signal power indicator is calculated, the corresponding carrier-to-noise power density ratio CN0 can be determined through the lookup table 800. The required hardware resources for the conventional noise processing unit can also be reduced/avoided since the lookup table 800 pre-stored in the conversion unit 404 is obtained by computer simulation, in one embodiment. These advantages can result in simpler receiver architecture and less hardware resource.
In one embodiment, the lock status detector 126 shown in
The spread spectrum signal receiver 900 includes an acquisition module 902 and a tracking module 904. The acquisition module 902 can acquire a spread spectrum signal and determine an initial carrier frequency of an in-phase carrier signal and a quadrature carrier signal (e.g., the in-phase carrier signal 104 and the quadrature carrier signal 106) in
The tracking module 904 includes a bit synchronization module 906 for determining the boundaries of the navigation data bit, a lock status detector 126 for determining a lock status of the spread spectrum signal, a signal power calculation unit 402 for calculating a signal power indicator of the spread spectrum signal, and a conversion unit 404 for converting the signal power indicator to a carrier-to-noise power density ratio CN0 of the spread spectrum signal according to a lookup table, e.g., the lookup table 800, in one embodiment. The lookup table 800 stores a set of predetermined carrier-to-noise power density ratios and a set of predetermined signal power indicators, in one embodiment. Each predetermined signal power indicator corresponds to a corresponding predetermined carrier-to-noise power density ratio CN0, and vice versa.
In operation, once a signal power indicator of the received spread spectrum signal is calculated by the signal power calculation unit 402, a corresponding carrier-to-noise power density ratio CN0 of the spread spectrum signal can be determined by searching the lookup table 800.
In block 1002, a signal power indicator indicative of a signal to noise ratio of the spread spectrum signal is calculated and received.
In block 1004, a lookup table, e.g., the lookup table 800, representing a relationship between the signal power indicator and the carrier-to-noise power density ratio is stored, e.g., in the conversion unit 404, in advance. The lookup table 800 which is acquired by simulation, contains a plurality of predetermined carrier-to-noise power density ratios CN0 and a plurality of predetermined signal power indicators. Each predetermined signal power indicator corresponds to a corresponding predetermined carrier-to-noise power density ratio CN0, and vice versa.
In block 1006, the received signal power indicator is converted to the carrier-to-noise power density ratio CN0 according to the lookup table 800. In one embodiment, the received signal power indicator is compared with the plurality of predetermined signal power indicators, and a predetermined signal power indicator which is closest to the received signal power indicator is selected from the plurality of predetermined signal power indicators. Then the carrier-to-noise power density ratio CN0 according to a predetermined carrier-to-noise power density ratio corresponding to the selected predetermined signal power indicator is provided.
Accordingly, in one embodiment, the carrier-to-noise power density ratio CN0 of a spread spectrum signal, e. g., a GPS signal can be calculated by calculating a signal power indicator and converting the signal power indicator to the carrier-to-noise power density ratio CN0 by a lookup table. Advantageously, since the lookup table is obtained by computer simulation, extra hardware for the noise calculation can be reduced, in one embodiment.
The terms and expressions which have been employed herein are used as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding any equivalents of the features shown and described (or portions thereof), and it is recognized that various modifications are possible within the scope of the claims. Other modifications, variations, and alternatives are also possible. Accordingly, the claims are intended to cover all such equivalents.
This application is a continuation-in-part of the U.S. application Ser. No. 11/820,807, filed on Jun. 21, 2007, now U.S. Pat. No. 7,869,485 which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
4785463 | Janc et al. | Nov 1988 | A |
5223843 | Hutchinson | Jun 1993 | A |
5963582 | Stansell, Jr. | Oct 1999 | A |
6272189 | Garin et al. | Aug 2001 | B1 |
6487174 | Mizuguchi et al. | Nov 2002 | B1 |
7161977 | Jung | Jan 2007 | B1 |
7395155 | Hsu | Jul 2008 | B2 |
7613258 | Yu et al. | Nov 2009 | B2 |
20020015439 | Kohli et al. | Feb 2002 | A1 |
20040071196 | Marsden et al. | Apr 2004 | A1 |
20040141549 | Abraham et al. | Jul 2004 | A1 |
20060022868 | Awata | Feb 2006 | A1 |
20070076788 | Jia et al. | Apr 2007 | A1 |
20070153880 | Cartmell | Jul 2007 | A1 |
20070237269 | Lillo et al. | Oct 2007 | A1 |
Number | Date | Country |
---|---|---|
2896304 | May 2007 | CN |
0946013 | Sep 1999 | EP |
2007020 | Dec 2008 | EP |
7140224 | Jun 1995 | JP |
10013364 | Jan 1998 | JP |
2000165294 | Jun 2000 | JP |
2001313593 | Nov 2001 | JP |
2005253055 | Sep 2005 | JP |
0246789 | Jun 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20080317099 A1 | Dec 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11820807 | Jun 2007 | US |
Child | 12151668 | US |