The present invention relates to a GNSS (Global Navigation Satellite System) receiver, more particularly, to a correlation system and method for a GNSS receiver using FFT (Fast Fourier Transform) techniques.
Fast Fourier Transform (FFT), which is well known in digital signal processing, has been applied in satellite communication, such as GNSS (Global Navigation Satellite System). For a GNSS receiver, TTFF (Time to First Fix), which generally means that at least four satellite are found for 3D positioning, is always a key issue for a user. To improve the performance of TTFF, a long period of integration for acquiring a satellite signal is undesirable. FFT solution provides powerful ability to improve correlation speed and signal acquisition and tracking performances.
To acquire a satellite, at least three domains must be considered. The three domains include visible satellites, code phases and Doppler frequency bins. A set of a specific satellite, a specific code phase and a specific Doppler frequency bin is called a hypothesis. The receiver detects the signal, which is spread-spectrum coded, from a specific satellite by correlating the signal with delayed versions of a spreading code (e.g. PRN (Pseudo Random Noise) code). If the correlation result is sufficiently high, it means that the receiver hits the satellite. This is called “acquisition”. After that, the receiver uses the delayed spreading code to achieve synchronization with the signal transmission from the satellite. This is called “tracking”. For a specific satellite and a specific Doppler frequency bin, a GPS receiver needs to search 1023 code phases, for example. Conventionally, correlations for the 1023 code phases are done in a TDM (Time Division Multiplexing) manner. As can be known, it will take a long time. In addition, due to noises and other interference, the accuracy and sensitivity of the receiver are influenced. It will be desirable if an additional process is provided after correlation to promote the receiver performances. FFT is a suitable solution to satisfy these requirements. FFT solution provides powerful correlating capability which is helpful in quick signal acquisition, but the huge memory requirement for post processing is a real burden in hardware cost.
The present invention is to provide a correlation system for a GNSS receiver. The correlation system uses an FFT engine to perform correlation and post-FFT to promote receiver performance. In the receiver of the present invention, the FFT engine is used to execute FFT operation to an input data stream so as to generate a frequency-domain correlation with frequency-domain C/A code and IFFT operation to the frequency-domain correlation result to generate post correlation data for each hypothesis at a correlation stage, and executes FFT operation to the post correlation data of a selected hypothesis to generate a post-correlation FFT result at a post-correlation stage. The FFT engine executes these operations in a programmable TDM manner. An FFT buffer for storing the data stream, IFFT buffer for storing the frequency-domain correlation result and hypothesis buffer for storing the post-correlation FFT result for the selected hypothesis can be implemented by a single data buffer divided into three portions. The system has a magnitude calculation unit for calculating magnitude of the correlation result or the FFT result. That is, the magnitude calculation unit is shared for both the correlation stage and post-correlation stage. The system further has a spectrum memory for storing the post-correlation FFT result. In addition, the spectrum memory also accumulates coherent integration result of the correlation result for incoherent integration of the signal.
The present invention further provides another correlation system. The correlation system uses a time-domain correlator to execute correlation operation to a signal data stream. In addition, the system uses an FFT engine to perform post-correlation FFT to the correlation result to obtain a post-correlation FFT result so as to promote the receiver performance. The system has a magnitude calculation unit for calculating magnitude of the correlation result or the FFT result of the post-correlation FFT. The system further has a spectrum memory for storing the post-correlation FFT result. In addition, the memory also accumulates coherent integration result of the correlation result for incoherent integration of the signal.
By sharing some essential components, the hardware complexity can be reduced while maintaining excellent receiver performance.
The present invention also provide a correlation method for a GNSS receiver. The method includes executing correlation operation to a data stream to generate post correlation data; accumulating the post correlation data to obtain a coherent integration result; selecting the post correlation data or the coherent integration result thereof; and conducting FFT operation to the selected post correlation or the coherent integration result to generate a post correlation FFT result. The correlation operation can be done in time domain or frequency domain.
The present invention will be described in detail in conjunction with the appending drawings.
If sampling frequency for input data is 1.023 MHz, then 1023 data points are obtained every millisecond (ms). For a specific satellite and specific Doppler frequency bin, the signal data stream is transformed into frequency domain (FFT), correlations (multiplying and adding operations) for 1023 code phases are done at the same time, then the correlation results are converted back to time domain, which is known as IFFT (Inverse FFT). The effects of FFT correlation, which is referred to as pre-correlation FFT and time domain correlation are equivalent. The time period for correlation is much shorter for pre-correlation FFT with the price of more power consumption in comparison with time-domain correlation. However, since rapid acquisition is essential for a GNSS receiver, pre-correlation FFT can be a desirable choice.
The resultant IFFT data (i.e. the post correlation data) is stored in a coherent integration memory 60 via the router 50 (step S70). A magnitude calculation unit 65 is used for incoherent integration of the coherent integration results. After hypotheses of one millisecond have been completely collected, a post-correlation FFT is triggered.
If the hypothesis, of which the post correlation data is calculated and stored into the coherent integration memory 60, is selected (step S75), the post correlation data thereof is also sent to the hypothesis buffer region 306 of the data buffer 30 via the router 50 and a hypothesis selector 80, which will be further described later. Preferably, the hypotheses around the correlation peak are considered to be collected. The code phase range and point number for post-correlation FFT depends on correlation magnitude distribution, frequency search range, resolution requirement and the like. The router 50 is used to arrange a route for the data stream so as to direct the data stream to the proper successive component, such as the mixer 52, coherent integration memory 60, magnitude calculation unit 65 or hypothesis selector 80. The router 50 and the selectors 35, 80 can be implemented by hardware or software controlled blocks. The router 50 and selectors 35, 80 are respectively controlled by hardware logic or a processor (not shown) of the receiver for the data paths according to time and channel multiplexing arrangements, for example.
If there are 1023 code phases to be tried for 1 ms, then correlation data for 1023 code phases are calculated for each ms. To promote receiver performance, it is preferred that points with the same code phase at different frequencies are collected to be analyzed. As shown in
The data of the selected hypotheses is then sent to the FFT engine 40 through the selector 35 to be processed with FFT operation, which is referred to as “post-correlation FFT” (step S90). The frequency spectrum of the data obtained by the post-correlation FFT is stored into a memory 70. The memory is used as a spectrum memory for storing the spectrum and as an incoherent integration memory. Alternatively, the memory 70 is used only as a spectrum memory. In some circumstances, the memory 70 can store only the post-correlation spectrums, since the correlation peak and correct code phase can be derived from the spectrums. In addition, it is possible to store only the spectrum results of the top N frequency bins in the memory 70 to reduce the memory capacity requirement. For example, as the post-correlation FFT outputs are generated, only the top two or three spectrum results are stored with the frequency bin indices thereof. By doing so, the memory capacity requirement is reduce, while information for handling multi-tone jammer, for example, still remains. The magnitude calculation unit 65 is used to calculate a magnitude from the spectrum (step S100), so that a peak can be found to determine whether signal acquisition is achieved, for example. The magnitude calculation unit 65 calculates the magnitudes for the coherent integration result from the coherent integration memory 60 for incoherent integration and the spectrum obtained by the post-FFT in a TDM manner.
As described above, the FFT engine 40 is shared for pre-correlation FFT/IFFT and the post-correlation FFT. In addition, different channels can share the same FFT engine 40. The sharing scheme can be implemented in a time multiplexing manner (e.g. TDM). The TDM sequence for the pre-correlation FFT, IFFT and post-FFT is adjustable to optimize the performance or as required. If the FFT engine 40 is shared between acquisition mode and tracking mode, the collection trends, especially for the post-correlation FFT, are different. In acquisition mode, it is necessary to search a wide code phase range, but for a specific code phase, the collected points can be less. In tracking mode, the code phase is substantially determined, so there is no need to search a wide code phase range. For the determined small code phase range, more points can be collected to achieve a better performance.
In accordance with the present invention, the post-correlation FFT can also cooperate with time-domain correlation.
The data stored in the hypothesis buffer 130 is sent to an FFT engine 140, which can be implemented by an FFT kernel. The FFT engine 140 executes FFT operation to the data so as to generate post-correlation FFT data (step S90), that is, spectrums of the hypotheses, which can be referred to as post-correlation spectrums. To determine a correlation peak, it is necessary to calculate magnitudes of the spectrums by a magnitude calculation unit 150, which is also shared to calculate magnitudes of the coherent integration results from the coherent integration memory 115 for incoherent integration (step S100). The spectrums obtained from the FFT engine 140 and the calculated magnitudes thereof are stored in a memory 160, which is used as a spectrum memory. The memory 160 can also be used as an incoherent integration memory for accumulating coherent integration results at the same time. Information for signal acquisition and tracking can be derived from the post-correlation spectrum. Therefore, the post-FFT provides the benefits to promote the receiver performance.
In the receiver of the present invention, some components are shared, such as the FFT engine, magnitude calculation unit and the memories. Therefore, the hardware complexity can be reduced.
While the preferred embodiments of the present invention have been illustrated and described in detail, various modifications and alterations can be made by persons skilled in this art. The embodiment of the present invention is therefore described in an illustrative but not restrictive sense. It is intended that the present invention should not be limited to the particular forms as illustrated, and that all modifications and alterations which maintain the spirit and realm of the present invention are within the scope as defined in the appended claims.