[go: up one dir, main page]

CN103163535A - Direct Acquisition Method of P-code Based on DSP - Google Patents

Direct Acquisition Method of P-code Based on DSP Download PDF

Info

Publication number
CN103163535A
CN103163535A CN2013100822181A CN201310082218A CN103163535A CN 103163535 A CN103163535 A CN 103163535A CN 2013100822181 A CN2013100822181 A CN 2013100822181A CN 201310082218 A CN201310082218 A CN 201310082218A CN 103163535 A CN103163535 A CN 103163535A
Authority
CN
China
Prior art keywords
code
dsp
sequence
local
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013100822181A
Other languages
Chinese (zh)
Inventor
陈红光
张旭东
曹玉玺
张纪超
梁淏翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN2013100822181A priority Critical patent/CN103163535A/en
Publication of CN103163535A publication Critical patent/CN103163535A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a P code direct capturing method based on a digital signal processor (DSP) and solves the problem that power consumption is overhigh when a P code is parallelly captured by using a field programmable gate array (FPGA). According to the method, the P code is directly captured through coordination of two DSPs so as to ensure that navigation data are positioned and resolved, one of the two DSPs is used for processing analog/digital (A/D) input signals, and the other DSP is used for processing locally generated P code. Compared with the conventional method in which only the FPGA is used, the method has the advantages that power consumption of a system is reduced, and convenience is brought to design of the portable miniature system. Simultaneously, 3dB of loss generated by correlated peaks is eliminated through composition and average operations, the composition and average operations aim to reduce sampling points and operation quantity, but a small amount of noise can be correspondingly introduced. By the method, the noise introduction quantity is reduced by reducing the composition frequency and the number of average points, so that the capture probability is increased.

Description

基于DSP的P码直接捕获方法Direct Acquisition Method of P-code Based on DSP

技术领域technical field

本发明属于卫星导航技术领域,特别涉及卫星导航系统中基于数字信号处理器(DSP,Digital Signal Processor)的P码快速直接捕获方法。The invention belongs to the technical field of satellite navigation, in particular to a fast and direct capture method of P code based on a digital signal processor (DSP, Digital Signal Processor) in a satellite navigation system.

背景技术Background technique

北斗导航系统与全球定位系统(GPS,Global Positioning System)一样,能为用户提供标准定位服务和精密定位服务,两种服务分别以C/A码和P码为基础。在北斗导航系统中,二者速率相同(10.23M Chip/s),但精码周期非常长,具有很强的抗干扰,抗欺骗能力。通常P码捕获是通过C/A码的锁定获取导航电文,然后利用导航电文中的转接字提供的信息捕获P码。但是,由于C/A码的码长很短,极易受到干扰与欺骗,并且需要在得到某一帧的转接字之后才能开始对P码进行捕获,其捕获速度亦较慢(转接字出现间隔为0.6S)。而P码周期长达一周,具有与C/A码相比强的多的抗干扰性能,在复杂地理或电磁环境下,针对北斗导航系统的P码直接捕获可以进一步提高定位授时精度和利用导航系统进行电子战,导航战的能力,具有很高的实用价值。The Beidou navigation system, like the Global Positioning System (GPS, Global Positioning System), can provide users with standard positioning services and precise positioning services. The two services are based on C/A code and P code respectively. In the Beidou navigation system, the rate of the two is the same (10.23M Chip/s), but the precise code period is very long, and it has strong anti-jamming and anti-spoofing capabilities. Usually the P code capture is to obtain the navigation message through the locking of the C/A code, and then use the information provided by the transfer word in the navigation message to capture the P code. However, because the code length of the C/A code is very short, it is very susceptible to interference and spoofing, and it is necessary to start capturing the P code after obtaining the transfer word of a certain frame, and its capture speed is also slow (the transfer word Appearance interval is 0.6S). The P code period is as long as one week, and it has much stronger anti-interference performance than the C/A code. In complex geographical or electromagnetic environments, direct capture of the P code for the Beidou navigation system can further improve the positioning and timing accuracy and use navigation. The ability of the system to carry out electronic warfare and navigation warfare has high practical value.

近年来,对P码直接捕获技术的研究大致可以分为两类,一类是使用大规模并行相关器为基础的时域处理方法,以STS Y-EXPRESS ASIC为代表,另一类是基于FFT处理技术的各种频域处理方法,以XFAST为代表。In recent years, the research on P-code direct acquisition technology can be roughly divided into two categories, one is the time-domain processing method based on large-scale parallel correlators, represented by STS Y-EXPRESS ASIC, and the other is based on FFT Various frequency domain processing methods of processing technology, represented by XFAST.

基于并行相关器的P码捕获的核心思想是利用并行相关器同时对多个时频单元进行搜索,搜索之前,首先根据当前接收机的GPS系统时、位置信息和卫星位置来确定搜索时间与频率范围,然后根据AGC所确定的干扰情况和已定的捕获概率、虚警概率等来确定积分周期,也就确定了每次并行搜索所能覆盖的时频范围以及搜索次数。之后将接收机前端处理后的卫星信号与本地码在相关器中进行相关处理。将大于门限的峰值所对应的扩频码相位偏移以及多普勒频偏移交给跟踪模块。以STS Y-EXPRESS接收机为例,它同时能搜索32704个时频单元(511个时间单元和64个频率单元),搜索精度为1/2个码片,覆盖时间范围可达±12.5μs,频率覆盖范围可达±20kHz。为了提高抗干扰能力,Y-EXPRESS ASIC可以剥离GPS电文使相干积分时间超过20ms。并且利用FFT可以将相干积分周期扩展到200ms。在文献“Wolfert R、Chen S、Kohli S,Direct P(Y)-code acquisition under a jammingenvironment,Proceedings of IEEE PLANS,April1998,228-235”中对Y-EXPRESS性能分析和仿真测试表明使用单一的Y-EXPRESS芯片进行P码直捕时,当J/S超过50dB,不确定度为±1ms,频率搜索范围为±315kHz时,捕获时间是600s,而大部分军用接收机P码捕获时间要求在不确定度为±1s时小于等于60s,其捕获时间远远不能满足要求,只有增加并行相关器数量来增加并行度从而提高捕获效率。但这就会成倍的增加功耗和硬件资源开销。The core idea of P code acquisition based on parallel correlator is to use parallel correlator to search multiple time-frequency units at the same time. Before searching, first determine the search time and frequency according to the GPS system time, position information and satellite position of the current receiver Range, and then determine the integration period according to the interference situation determined by AGC and the determined acquisition probability, false alarm probability, etc., which also determines the time-frequency range and search times that each parallel search can cover. Afterwards, the satellite signal processed by the front end of the receiver is correlated with the local code in the correlator. The phase offset of the spreading code and the Doppler frequency offset corresponding to the peak value greater than the threshold are given to the tracking module. Taking the STS Y-EXPRESS receiver as an example, it can search 32704 time-frequency units (511 time units and 64 frequency units) at the same time, the search accuracy is 1/2 chip, and the coverage time range can reach ±12.5μs. Frequency coverage up to ±20kHz. In order to improve the anti-interference ability, Y-EXPRESS ASIC can strip the GPS message to make the coherent integration time exceed 20ms. And the coherent integration period can be extended to 200ms by using FFT. In the literature "Wolfert R, Chen S, Kohli S, Direct P(Y)-code acquisition under a jamming environment, Proceedings of IEEE PLANS, April1998, 228-235", the Y-EXPRESS performance analysis and simulation test show that using a single Y -When the EXPRESS chip performs P code direct capture, when the J/S exceeds 50dB, the uncertainty is ±1ms, and the frequency search range is ±315kHz, the capture time is 600s, and most military receivers require that the P code capture time be within When the degree of certainty is less than or equal to 60s when the degree of certainty is ±1s, the capture time is far from meeting the requirements. Only by increasing the number of parallel correlators can the degree of parallelism be increased to improve capture efficiency. But this will increase power consumption and hardware resource overhead exponentially.

Lin M David等人提出的一种延迟相乘的P码直捕方法。这种方法首先根据频率搜索精度和频率不确定度将卫星信号和本地码信号分成M段,每一段有N点长数据,然后卫星信号与本地码对应段做相关运算,得到M点数据,再对该数据做FFT运算,然后与门限比较,若超过门限阈值,则捕获成功,否则移动一个采样点再重复以上处理。这种方法在码相位搜索上是一种串行搜索方式,通过对相关后的结果做FFT来实现频率并行搜索,搜索速度比较慢。A P-code direct capture method proposed by Lin M David et al. This method first divides the satellite signal and the local code signal into M segments according to the frequency search accuracy and frequency uncertainty, and each segment has N points of long data, and then the satellite signal and the corresponding segment of the local code are correlated to obtain M points of data, and then Perform FFT operation on the data, and then compare it with the threshold. If it exceeds the threshold, the capture is successful, otherwise move a sampling point and repeat the above process. This method is a serial search method in terms of code phase search, and the frequency parallel search is realized by performing FFT on the correlated result, and the search speed is relatively slow.

扩展复制重叠捕获搜索技术(XFAST)不但利用了频域相关的优势,还利用了P码的低互相关特性。为了提高不确定区间的搜索速率,XFAST法将本地不确定区间划分为M个子区间每段长为N,然后每段对应叠加,构造成一个母序列,最后与输入序列相关,从而使捕获速率加快了M倍,但是大量叠加之后其信噪比降低极其严重,反而影响捕获性能。The Extended Copy Overlapping Acquisition Search Technology (XFAST) not only takes advantage of frequency domain correlation, but also takes advantage of the low cross-correlation characteristics of P codes. In order to improve the search rate of the uncertain interval, the XFAST method divides the local uncertain interval into M sub-intervals, and each segment is N in length, and then each segment is correspondingly superimposed to construct a parent sequence, which is finally correlated with the input sequence, thereby speeding up the capture rate M times, but after a large number of stacking, the signal-to-noise ratio is extremely reduced, which affects the capture performance.

直接平均法是对卫星信号和本地码每N点取一次平均,得到一个新的采样点。再分别对他们做FFT运算,该方法与XFAST不同之处就在于每N点求一次平均得到一个新采样点而不是分段叠加,其码相位精度为N,然后再从这N个码相位中进行搜索。该方法能将运算量直接减少N倍,但是缺点是当码相位偏移为N/2时,其相关峰产生3dB损耗。The direct averaging method is to average every N points of the satellite signal and the local code to obtain a new sampling point. Then perform FFT operations on them separately. The difference between this method and XFAST is that every N points are averaged to obtain a new sampling point instead of segmented superposition. The code phase accuracy is N, and then from the N code phases to search. This method can directly reduce the calculation amount by N times, but the disadvantage is that when the code phase offset is N/2, the correlation peak will produce 3dB loss.

由于以上P码串行捕获方法在捕获速度或性能上存在严重缺陷,大多数接收机都采用基于FPGA的P码并行捕获方法,但是由于FPGA的功耗过高,对于类似单兵手持型接收机的小型接收机,高功耗器件会减少接收机的待机能力。Because the above P code serial capture method has serious defects in capture speed or performance, most receivers use the FPGA-based P code parallel capture method, but due to the high power consumption of FPGA, for similar individual handheld receivers For small receivers, high power consumption devices will reduce the receiver's standby capability.

发明内容Contents of the invention

本发明的目的是为了解决上述现有的利用FPGA实现P码并行捕获方法时功耗过高的问题,提出了一种基于DSP的P码直接捕获方法。The purpose of the present invention is to solve the problem of high power consumption when using FPGA to realize the parallel capture method of P code, and proposes a direct capture method of P code based on DSP.

为了实现上述目的,本发明的技术方案是:一种基于DSP的P码快速直接捕获方法,具体包括如下步骤:In order to achieve the above object, the technical solution of the present invention is: a kind of P code based on DSP fast direct capture method, specifically comprises the steps:

S1.接收到的经过A/D变换后的卫星信号输入至第一块DSP中,然后进行I/Q分离,下变频、下采样,将采样得到的序列a存入第一块DSP的内部RAM中;S1. The received satellite signal after A/D conversion is input to the first block of DSP, and then I/Q separation, down-conversion and down-sampling are performed, and the sequence a obtained by sampling is stored in the internal RAM of the first block of DSP middle;

S2.在第二块DSP中根据本地时钟提供的时间信息,确定当前时间可捕获卫星的个数和卫星号以及对应可捕获卫星中卫星号最小的P码序列不确定度范围,成本地P码b,将其存入外部RAM;S2. In the second block of DSP, according to the time information provided by the local clock, determine the number of satellites and satellite numbers that can be captured at the current time, and the uncertainty range of the P code sequence with the smallest satellite number in the corresponding satellites that can be captured, and cost the local P code b, store it in external RAM;

S3.将采样得到的序列a从第一块DSP的内部RAM取出,本地P码b从第二块DSP的外部RAM中取出,对其分别进行叠加和平均操作,得到A,B,叠加和平均操作的具体过程如下:S3. The sequence a obtained by sampling is taken out from the internal RAM of the first DSP, and the local P code b is taken out from the external RAM of the second DSP, and superposition and average operations are performed on them respectively to obtain A, B, superposition and average The specific process of operation is as follows:

S31.将采样得到的序列a与本地P码b按N点一段进行分段,其中,序列a分为M段,序列b分为K段,将序列a偏移N点得到a’,将序列b偏移N/2、N点分别得到b’、b’’,将a与a’叠加得到序列c,将b、b’、b’、b’’叠加再平均得到序列d;S31. Segment the sampled sequence a and the local P code b by N points and one segment, wherein, sequence a is divided into M segments, sequence b is divided into K segments, and sequence a is offset by N points to obtain a', and sequence b is shifted by N/2 and N points to obtain b' and b'' respectively, superimposed a and a' to obtain sequence c, superimposed b, b', b', b'' and then averaged to obtain sequence d;

S32.将叠加后的两路信号序列c和序列d每段求平均形成一个新的采样点,平均之后得到M个点的A/D输入信号A和K个点的本地码L;S32. Average each section of the superimposed two-way signal sequence c and sequence d to form a new sampling point, and obtain the A/D input signal A of M points and the local code L of K points after averaging;

S33.将长度为K的本地码L按照每段M点分割为J段,之后将所有段叠加形成本地码B;S33. The local code L with a length of K is divided into J segments according to the M points of each segment, and then all segments are superimposed to form the local code B;

S4.在第一块DSP中,将步骤S32得到的A进行补零,然后取共轭,做FFT运算,在第二块DSP中,对将步骤S33得到的B进行补零,然后做FFT运算,将第二块DSP中的运算结果输入至第一块DSP,然后将其与第一块DSP中的运算结果相乘后做IFFT;S4. In the first block of DSP, zero-fill the A obtained in step S32, then take the conjugate, and perform an FFT operation, and in the second block of DSP, perform zero-fill on the B obtained in step S33, and then perform an FFT operation , input the operation result in the second block DSP to the first block DSP, then multiply it with the operation result in the first block DSP and do IFFT;

S5.将IFFT结果与门限值进行比较,若超过门限值,则对超过门限的N/2个码相位进一步精确搜索,之后,将该星转入跟踪模块并判断是否完成所有可捕获卫星的搜索,若还有可捕获卫星未搜索,则开始捕获下一颗卫星,若全部搜索完成,则捕获完成,第二块DSP转入导航数据定位解算;S5. Compare the IFFT result with the threshold value, if it exceeds the threshold value, then search more precisely for the N/2 code phases exceeding the threshold value, after that, transfer the star to the tracking module and judge whether all satellites that can be captured are completed If there are still captureable satellites that have not been searched, start to capture the next satellite. If all the searches are completed, the capture is completed, and the second block of DSP is transferred to the navigation data positioning solution;

S6.若未超过门限值,则按照不确定度范围偏移一个码片后重新生成本地P码,重复步骤S3-S5。S6. If the threshold value is not exceeded, regenerate the local P code after shifting by one chip according to the uncertainty range, and repeat steps S3-S5.

本发明的有益效果:本发明通过采用两块DSP实现P码快速直接捕获,一块DSP负责A/D输入信号的处理,另外一块DSP负责本地生成P码的处理,与FPGA相比,降低了系统功耗,有利于系统的便携式小型化设计的实现,另外在捕获阶段通过步骤S31可以消除相关峰产生的3dB的损耗,其原理是通过对输入信号a和本地码b做偏移叠加操作,消除码偏移对相关峰值损耗,通过步骤S32,S33可以看出,由于平均与叠加操作的目的都是减小采样点从而减少运算量,但是由于P码互相关性的影响会引入少量噪声,因此该方法是以引入噪声为代价减少捕获运算量从而减少捕获时间,本方法又通过将叠加次数和平均点数减少进而减少引入噪声,从而提高捕获概率。Beneficial effects of the present invention: the present invention realizes P code quick direct capture by adopting two pieces of DSP, and one DSP is responsible for the processing of A/D input signal, and another piece of DSP is responsible for the processing of local generation P code, compared with FPGA, has reduced the system Power consumption is conducive to the realization of portable and miniaturized design of the system. In addition, the 3dB loss generated by the correlation peak can be eliminated through step S31 in the capture phase. The principle is to eliminate the The loss of the code offset to the correlation peak value can be seen through steps S32 and S33. Since the purpose of the average and superposition operations is to reduce the sampling point and reduce the amount of calculation, but due to the influence of the P code cross-correlation will introduce a small amount of noise, so This method reduces the amount of capture calculation at the cost of introducing noise, thereby reducing the capture time. This method also reduces the introduction of noise by reducing the number of stacking times and the number of average points, thereby increasing the capture probability.

附图说明Description of drawings

图1是本发明方法的信号分段前后N/2点叠加示意图。Fig. 1 is a schematic diagram of N/2 point superimposition before and after signal segmentation in the method of the present invention.

图2是本发明方法的本地码J段叠加示意图。Fig. 2 is a schematic diagram of the local code J-segment superimposition in the method of the present invention.

图3是本发明的P码的捕获的处理流程示意图。Fig. 3 is a schematic diagram of the processing flow of capturing P codes in the present invention.

图4是利用本发明方法的导航系统定位接收机系统内部结构及连接关系示意图。Fig. 4 is a schematic diagram of the internal structure and connection relationship of the positioning receiver system of the navigation system using the method of the present invention.

具体实施方式Detailed ways

下面结合附图和具体的实施例对本发明作进一步的阐述。The present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

由于P码的捕获需要处理的信号有两个,A/D输入信号和本地生成P码。由于DSP是串行处理器件,若仅仅使用一块单核DSP,必须先处理其中一个信号再处理另一个,这样的结构会影响信号处理的实时性,本发明的方法就是基于以上考虑而设计的,采用两块DSP联合去完成P码的捕获。这里的两块DSP可以是两块单核高性能DSP,也可以是一块多核DSP。Because there are two signals that need to be processed for the capture of P code, A/D input signal and locally generated P code. Because DSP is a serial processing device, if only a single-core DSP is used, one of the signals must be processed earlier and then another, such a structure will affect the real-time performance of signal processing, and the method of the present invention is designed based on the above considerations. Two pieces of DSP are used to jointly capture the P code. The two DSPs here can be two single-core high-performance DSPs, or one multi-core DSP.

本实施例采用一块多核DSPTI C6000系列高性能信号处理器,其单核主频可达到1GHz以上,为处理P码直捕的巨大运算量提供了有力保证。本实施例中DSP主要负责以下功能:I/Q分离,下变频、下采样、数据存储、本地码生成、重叠平均FFT处理、频偏搜索、门限检测。This embodiment adopts a multi-core DSPTI C6000 series high-performance signal processor, whose single-core main frequency can reach more than 1GHz, which provides a strong guarantee for processing the huge amount of calculations of P-code direct capture. In this embodiment, the DSP is mainly responsible for the following functions: I/Q separation, down-conversion, down-sampling, data storage, local code generation, overlapping and average FFT processing, frequency offset search, and threshold detection.

P码的捕获的处理流程如图3所示,具体如下:The processing flow of capturing the P code is shown in Figure 3, specifically as follows:

S1.接收到的经过A/D变换后的卫星信号输入至DSP核1中,然后进行I/Q分离,下变频、下采样,将采样得到的序列a存入核1的内部RAM中;S1. The satellite signal received after the A/D conversion is input in the DSP core 1, then I/Q separation is performed, down-converted and down-sampled, and the sequence a obtained by sampling is stored in the internal RAM of the core 1;

S2.在DSP核2中根据本地时钟提供的时间信息,确定当前时间可捕获卫星的个数和卫星号以及对应可捕获卫星中卫星号最小的P码序列不确定度范围,之后,生成本地P码b,将其存入外部RAM。S2. In the DSP core 2, according to the time information provided by the local clock, determine the number and satellite number of the satellites that can be captured at the current time and the minimum P code sequence uncertainty range of the corresponding satellite number in the satellites that can be captured, and then generate the local P code b, and store it in external RAM.

具体的,这里可以通过精密测距码芯片(PRM)生成本地P码b。Specifically, the local P code b can be generated by a precision ranging code chip (PRM).

S3.将采样得到的序列a从DSP核1的内部RAM取出,本地P码b从外部RAM中取出,对其分别进行叠加和平均操作,得到A,B,叠加和平均操作的具体过程如下:S3. the sequence a obtained by sampling is taken out from the internal RAM of the DSP core 1, and the local P code b is taken out from the external RAM, and superposition and average operations are carried out to it respectively to obtain A, B, and the specific process of superposition and average operations is as follows:

S31.如图1所示,将采样得到的序列a与本地P码b按N点一段进行分段,其中,序列a分为M段,序列b分为K段,将序列a偏移N点得到a’,将序列b偏移N/2、N点分别得到b’、b’’,将a与a’叠加得到序列c,将b、b’、b’、b’’叠加再平均得到序列d;本领域的技术人员应该意识到,这里的N可以根据实际情况进行选择。S31. As shown in Figure 1, the sequence a obtained by sampling and the local P code b are segmented by N points and one segment, wherein sequence a is divided into M segments, sequence b is divided into K segments, and sequence a is offset by N points Obtain a', offset the sequence b by N/2, and N points to obtain b' and b'' respectively, superimpose a and a' to obtain sequence c, superimpose b, b', b', b'' and then average to obtain Sequence d; those skilled in the art should realize that N here can be selected according to actual conditions.

S32.将叠加后的两路信号序列c和序列d每段求平均形成一个新的采样点,平均之后得到M个点的A/D输入信号A和K个点的本地码L;S32. Average each section of the superimposed two-way signal sequence c and sequence d to form a new sampling point, and obtain the A/D input signal A of M points and the local code L of K points after averaging;

S33.如图2所示,将长度为K的本地码L按照每段M点分割为J段,之后将所有段叠加形成本地码B;S33. As shown in Figure 2, the local code L with a length of K is divided into J sections according to every M point, and then all sections are superimposed to form the local code B;

S4.在DSP核1中,将步骤S32得到的A进行补零,然后取共轭,做FFT运算,在DSP核2中,将步骤S33得到的B进行补零,然后做FFT运算,将DSP核2中的运算结果输入至DSP核1,然后将其与DSP核1中的运算结果相乘后做IFFT;S4. In DSP core 1, the A obtained in step S32 is zero-filled, then conjugated, and FFT operation is performed. In DSP core 2, the B obtained in step S33 is zero-filled, and then FFT operation is performed, and the DSP The operation result in core 2 is input to DSP core 1, and then it is multiplied by the operation result in DSP core 1 to perform IFFT;

S5.将IFFT结果与门限值进行比较。若超过门限值,则对超过门限的N/2个码的相位进一步精确搜索。之后,将该星转入跟踪模块并判断是否所有可捕获卫星搜索完成,若还有可捕获卫星未搜索,则开始捕获下一颗卫星,若全部搜索完成,则捕获完成,DSP转入导航数据定位解算。S5. Comparing the IFFT result with the threshold value. If the threshold value is exceeded, the phases of the N/2 codes exceeding the threshold are further precisely searched. After that, transfer the star to the tracking module and judge whether all the satellites that can be captured have been searched. If there are still satellites that can be captured, start to capture the next satellite. If all the searches are completed, the capture is completed, and the DSP transfers the navigation data positioning solution.

S6.若未超过门限值,则按照不确定度范围偏移一个码片后重新生成本地P码,重复步骤S3-S5。S6. If the threshold value is not exceeded, regenerate the local P code after shifting by one chip according to the uncertainty range, and repeat steps S3-S5.

具体的,可以通过控制PRM按照不确定度范围偏移一个码片后重新生成本地P码。Specifically, the local P code can be regenerated by controlling the PRM to offset by one chip according to the uncertainty range.

从前面背景技术的方法介绍可以看出,本发明的方法在捕获阶段通过步骤S31消除相关峰产生的3dB的损耗,其原理可由式(1)看出,同过对输入信号a和本地码b做偏移叠加操作,可以完全消除码偏移对相关峰值损耗,通过步骤S32,S33可以看出,由于平均与叠加操作的目的都是减小采样点从而减少运算量,但是由于P码互相关性的影响会引入少量噪声,重复捕获3次后若还未超过门限阈值,则放弃捕获该星,转而捕获其他可见星。As can be seen from the method introduction of the previous background technology, the method of the present invention eliminates the loss of 3dB that the correlation peak produces by step S31 in the capture phase, its principle can be seen by formula (1), same as to input signal a and local code b Doing the offset superposition operation can completely eliminate the loss of the code offset to the correlation peak value. It can be seen from steps S32 and S33 that since the purpose of the average and superposition operations is to reduce the sampling point to reduce the amount of calculation, but due to the cross-correlation of the P code A small amount of noise will be introduced due to the influence of nature, and if the threshold value is not exceeded after three repeated captures, the star will be abandoned and other visible stars will be captured instead.

Corpeak=max{∑[(xm+xm+N)×(y0+yN/2+yN/2+yN)/4]}Cor peak =max{∑[(x m +x m+N )×(y 0 +y N/2 +y N/2 +y N )/4]}

=max{∑[xmy0+2(xmyN/2+xm+NyN/2)+xmyN+xm+Ny0+xm+NyN]/4}=max{∑[x m y 0 +2(x m y N/2 +x m+N y N/2 )+x m y N +x m+N y 0 +x m+N y N ]/4 }

=max{∑[(xmy0+xm+Ny0)+2(xmyN/2+xm+NyN/2)+(xm+Ny0+xm+NyN)]/4}   式(1)=max{∑[(x m y 0 +x m+N y 0 )+2(x m y N/2 +x m+N y N/2 )+(x m+N y 0 +x m+N y N )]/4} formula (1)

=max{∑[x0y0+2x0y0+x0y0]/4}=max{∑[x 0 y 0 +2x 0 y 0 +x 0 y 0 ]/4}

=max{∑x0y0}=max{∑x 0 y 0 }

利用本发明方法的导航系统定位接收机系统内部结构及连接关系如图4所示,首先天线接收信号进入前置放大器放大信号,然后下变频,模数转换,之后进入DSP进行P码捕获,捕获完成之后将已捕获卫星送入跟踪模块进行载波同步和P码相位同步。由于定位解算需要最少4颗卫星,跟踪模块必须至少同时跟踪卫星的卫星数为4,所以使用FPGA利用其并行处理的优势建立此跟踪模块,当卫星数为4颗以上时进行定位解算,由DSP核2负责此模块,并以一定时间间隔对失锁卫星重捕,定位解算完成之后,将结果输入至用户接口供用户使用。Utilize the navigation system positioning receiver system internal structure of the inventive method and connection relationship as shown in Figure 4, at first the antenna receiving signal enters the preamplifier to amplify the signal, then down-converts, analog-to-digital conversion, and then enters the DSP to carry out P code capture, capture After completion, the captured satellites are sent to the tracking module for carrier synchronization and P code phase synchronization. Since the positioning calculation requires at least 4 satellites, the tracking module must track at least 4 satellites at the same time, so use FPGA to take advantage of its parallel processing to build this tracking module, and perform positioning calculation when the number of satellites is more than 4. The DSP core 2 is responsible for this module, and recaptures the lost satellite at a certain time interval. After the positioning calculation is completed, the result is input to the user interface for the user to use.

综上所述,本发明中的P码直接捕获方法,采用多核DSP代替普遍采用的FPGA来降低接收机功耗及硬件资源,并改进重叠平均补零算法适应该平台,因此基本不会增加捕获时间。此方法特别适用于手持式导航定位接收机。In summary, the direct acquisition method of P code in the present invention adopts multi-core DSP to replace commonly used FPGA to reduce receiver power consumption and hardware resources, and improves the overlapping average zero-padding algorithm to adapt to this platform, so it will not increase the capture rate substantially. time. This method is especially suitable for handheld navigation and positioning receivers.

本领域的普通技术人员将会意识到,这里所述的实施例是为了帮助读者理解本发明的原理,应被理解为发明的保护范围并不局限于这样的特别陈述和实施例。凡是根据上述描述做出各种可能的等同替换或改变,均被认为属于本发明的权利要求的保护范围。Those skilled in the art will appreciate that the embodiments described herein are to help readers understand the principles of the present invention, and it should be understood that the protection scope of the invention is not limited to such specific statements and embodiments. All possible equivalent replacements or changes made according to the above descriptions are deemed to belong to the protection scope of the claims of the present invention.

Claims (1)

1.一种基于DSP的P码直接捕获方法,具体包括包括如下步骤:1. a kind of direct capture method of P code based on DSP, specifically comprises the following steps: S1.接收到的经过A/D变换后的卫星信号输入至第一块DSP中,然后进行I/Q分离,下变频、下采样,将采样得到的序列a存入第一块DSP的内部RAM中;S1. The received satellite signal after A/D conversion is input to the first block of DSP, and then I/Q separation, down-conversion and down-sampling are performed, and the sequence a obtained by sampling is stored in the internal RAM of the first block of DSP middle; S2.在第二块DSP中根据本地时钟提供的时间信息,确定当前时间可捕获卫星的个数和卫星号以及对应可捕获卫星中卫星号最小的P码序列不确定度范围,成本地P码b,将其存入外部RAM;S2. In the second block of DSP, according to the time information provided by the local clock, determine the number of satellites and satellite numbers that can be captured at the current time, and the uncertainty range of the P code sequence with the smallest satellite number in the corresponding satellites that can be captured, and cost the local P code b, store it in external RAM; S3.将采样得到的序列a从第一块DSP的内部RAM取出,本地P码b从第二块DSP的外部RAM中取出,对其分别进行叠加和平均操作,得到A,B,叠加和平均操作的具体过程如下:S3. The sequence a obtained by sampling is taken out from the internal RAM of the first DSP, and the local P code b is taken out from the external RAM of the second DSP, and superposition and average operations are performed on them respectively to obtain A, B, superposition and average The specific process of operation is as follows: S31.将采样得到的序列a与本地P码b按N点一段进行分段,其中,序列a分为M段,序列b分为K段,将序列a偏移N点得到a’,将序列b偏移N/2、N点分别得到b’、b’’,将a与a’叠加得到序列c,将b、b’、b’、b’’叠加再平均得到序列d;S31. Segment the sampled sequence a and the local P code b by N points and one segment, wherein, sequence a is divided into M segments, sequence b is divided into K segments, and sequence a is offset by N points to obtain a', and sequence b is shifted by N/2 and N points to obtain b' and b'' respectively, superimposed a and a' to obtain sequence c, superimposed b, b', b', b'' and then averaged to obtain sequence d; S32.将叠加后的两路信号序列c和序列d每段求平均形成一个新的采样点,平均之后得到M个点的A/D输入信号A和K个点的本地码L;S32. Average each section of the superimposed two-way signal sequence c and sequence d to form a new sampling point, and obtain the A/D input signal A of M points and the local code L of K points after averaging; S33.将长度为K的本地码L按照每段M点分割为J段,之后将所有段叠加形成本地码B;S33. The local code L with a length of K is divided into J segments according to the M points of each segment, and then all segments are superimposed to form the local code B; S4.在第一块DSP中,将步骤S32得到的A进行补零,然后取共轭,做FFT运算,在第二块DSP中,对将步骤S33得到的B进行补零,然后做FFT运算,将第二块DSP中的运算结果输入至第一块DSP,然后将其与第一块DSP中的运算结果相乘后做IFFT;S4. In the first block of DSP, zero-fill the A obtained in step S32, then take the conjugate, and perform an FFT operation, and in the second block of DSP, perform zero-fill on the B obtained in step S33, and then perform an FFT operation , input the operation result in the second block DSP to the first block DSP, then multiply it with the operation result in the first block DSP and do IFFT; S5.将IFFT结果与门限值进行比较,若超过门限值,则对超过门限的N/2个码相位进一步精确搜索,之后,将该星转入跟踪模块并判断是否完成所有可捕获卫星的搜索,若还有可捕获卫星未搜索,则开始捕获下一颗卫星,若全部搜索完成,则捕获完成,第二块DSP转入导航数据定位解算;S5. Compare the IFFT result with the threshold value, if it exceeds the threshold value, then search more precisely for the N/2 code phases exceeding the threshold value, after that, transfer the star to the tracking module and judge whether all satellites that can be captured are completed If there are still captureable satellites that have not been searched, start to capture the next satellite. If all the searches are completed, the capture is completed, and the second block of DSP is transferred to the navigation data positioning solution; S6.若未超过门限值,则按照不确定度范围偏移一个码片后重新生成本地P码,重复步骤S3-S5。S6. If the threshold value is not exceeded, regenerate the local P code after shifting by one chip according to the uncertainty range, and repeat steps S3-S5.
CN2013100822181A 2013-03-15 2013-03-15 Direct Acquisition Method of P-code Based on DSP Pending CN103163535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100822181A CN103163535A (en) 2013-03-15 2013-03-15 Direct Acquisition Method of P-code Based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100822181A CN103163535A (en) 2013-03-15 2013-03-15 Direct Acquisition Method of P-code Based on DSP

Publications (1)

Publication Number Publication Date
CN103163535A true CN103163535A (en) 2013-06-19

Family

ID=48586777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100822181A Pending CN103163535A (en) 2013-03-15 2013-03-15 Direct Acquisition Method of P-code Based on DSP

Country Status (1)

Country Link
CN (1) CN103163535A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158559A (en) * 2014-07-31 2014-11-19 上海航天电子通讯设备研究所 Long code fast-acquisition method on basis of direct spread system
CN106896382A (en) * 2015-12-18 2017-06-27 大唐半导体设计有限公司 A kind of navigation signal catching method and device
CN111190344A (en) * 2018-11-15 2020-05-22 北京自动化控制设备研究所 Design method of satellite navigation military code time service equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5535278A (en) * 1994-05-02 1996-07-09 Magnavox Electronic Systems Company Global positioning system (GPS) receiver for recovery and tracking of signals modulated with P-code
WO2003067279A2 (en) * 2002-02-08 2003-08-14 Qualcomm, Incorporated Directly acquiring precision code gps signals
CN201532467U (en) * 2009-11-09 2010-07-21 上海华测导航技术有限公司 Structure of base-band circuit for double-frequency GPS satellite signal receiver
WO2011054225A1 (en) * 2009-11-09 2011-05-12 上海华测导航技术有限公司 Baseband circuit structure for realizing dual-frequency global positioning system (gps) satellite signal receiver and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5535278A (en) * 1994-05-02 1996-07-09 Magnavox Electronic Systems Company Global positioning system (GPS) receiver for recovery and tracking of signals modulated with P-code
WO2003067279A2 (en) * 2002-02-08 2003-08-14 Qualcomm, Incorporated Directly acquiring precision code gps signals
CN201532467U (en) * 2009-11-09 2010-07-21 上海华测导航技术有限公司 Structure of base-band circuit for double-frequency GPS satellite signal receiver
WO2011054225A1 (en) * 2009-11-09 2011-05-12 上海华测导航技术有限公司 Baseband circuit structure for realizing dual-frequency global positioning system (gps) satellite signal receiver and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈红光: "GPS微弱信号捕获关键技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158559A (en) * 2014-07-31 2014-11-19 上海航天电子通讯设备研究所 Long code fast-acquisition method on basis of direct spread system
CN106896382A (en) * 2015-12-18 2017-06-27 大唐半导体设计有限公司 A kind of navigation signal catching method and device
CN106896382B (en) * 2015-12-18 2019-06-28 大唐半导体设计有限公司 A kind of navigation signal catching method and device
CN111190344A (en) * 2018-11-15 2020-05-22 北京自动化控制设备研究所 Design method of satellite navigation military code time service equipment
CN111190344B (en) * 2018-11-15 2022-01-11 北京自动化控制设备研究所 Design method of satellite navigation military code time service equipment

Similar Documents

Publication Publication Date Title
CN102608626B (en) High-sensitivity satellite navigation signal capturing method and system
CN101029923A (en) Software receiver for indoor position and navigation technology of global positioning system
CN103645483B (en) Beidou signal capturing method in weak signal environment
WO2014089988A1 (en) High-sensitivity beidou auxiliary timing device, timing receiver and timing method
CN103954977B (en) A kind of GNSS cheating interference cognitive method and system
CN104407323A (en) Measuring method for pseudo code delay of spread spectrum signal with high dynamic range and low signal-to-noise ratio
CN102914782B (en) Rapid acquiring method suitable for GPS (Global Positioning System) weak signal
CN107991695A (en) Big Dipper weak signal catching method based on zero padding algorithm and differential coherence algorithm
CN104898136A (en) Capturing method of Beidou second-generation B1 signals and system thereof
CN103592664B (en) A kind of spread spectrum signal synchronization method of slightly catching refinement and catching
CN105759288B (en) The Big Dipper B1I weak signal catching methods of feature based sequence
CN102520423A (en) Circuit for rapidly capturing long period pseudo random spread spectrum code of satellite navigation receiver and capturing method thereof
CN101520505B (en) Adaptive coherent accumulation joint acquisition method under GNSS weak signal
CN105553506B (en) A kind of quick capturing method and device of long code spread-spectrum signal
CN106646541A (en) Beidou weak signal capture method based on difference correlation integral
CN101881818B (en) Device and method for rapidly detecting weak signal
CN103176189A (en) Near-far Effect Suppressor and Method for High Sensitivity Satellite Navigation Receiver
CN101581776B (en) A Differential Coherent Accumulation Acquisition Method for Weak GNSS Signals
CN103197328B (en) High dynamic satellite receiver fast capture method based on 2 ms data storage
CN113009522B (en) Long-time coherent integration capturing algorithm module for Doppler frequency residual error correction
CN103885071A (en) Satellite signal capturing method and equipment
CN103809192A (en) Dynamic correction algorithm of GNSS receiver
CN107907893B (en) Sectional configurable military code direct capturing method based on parallel frequency and parallel code search
CN103760578B (en) A kind of GNSS satellite navigation signal without fuzzy tracking method
CN103163535A (en) Direct Acquisition Method of P-code Based on DSP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130619