A kind of tracking engine and tracking of multi-channel parallel

文档序号:1770859 发布日期:2019-12-03 浏览:30次 中文

阅读说明:本技术 一种多通道并行的跟踪引擎和跟踪方法 (A kind of tracking engine and tracking of multi-channel parallel ) 是由 陈俊林 贾志科 黄磊 于 2019-09-25 设计创作,主要内容包括:本申请公开了一种多通道并行的跟踪引擎和跟踪方法,跟踪引擎包括信道配置单元以及与信道配置单元相连接的一个或多个逻辑信道,信道配置单元包括检测模块、复制模块和第一码生成器,逻辑信道包括第二码生成器,检测模块检测各个逻辑信道是否初始配置或更新码相位,若是,将初始配置或更新的码相位信息输入第一码生成器;第一码生成器根据输入的码相位信息生成对应码相位的码;复制模块复制第一码生成器的状态和生成的码至第二码生成器。本申请通过设置包括检测模块、复制模块和第一码生成器的信道配置单元,使得码相位生成和相关运算相互分离,保证了各逻辑信道有足够的时间用于相关运算,增加了硬件使用率,最大化了并行信道的数量。(This application discloses a kind of tracking engine of multi-channel parallel and trackings, one or more logic channels that tracking engine includes channel configuration unit and is connected with channel configuration unit, channel configuration unit includes detection module, replication module and the first code generator, logic channel includes the second code generator, detection module detects whether each logic channel initial configuration or updates code phase, if so, initial configuration or the code phase information of update are inputted the first code generator;First code generator generates the code of corresponding code phase according to the code phase information of input;Replication module replicates the state of the first code generator and the code of generation to the second code generator.Channel configuration unit of the application by setting including detection module, replication module and the first code generator, so that code phase generates and related operation is separated from each other, it ensure that each logic channel has time enough for related operation, increase hardware utilization rate, maximise the quantity of parallel channel.)

1. a kind of tracking engine of multi-channel parallel, which is characterized in that including channel configuration unit and and channel configuration unit The one or more logic channels being connected, the channel configuration unit include detection module, the first code generator and backed stamper Block, the logic channel include the second code generator, in which:

The detection module, for detecting whether each logic channel initial configuration or updates code phase, if initial configuration or more Initial configuration or the code phase information of update are inputted the first code generator by new code phase;

First code generator, for generating the code of corresponding code phase according to the code phase information of input;

The replication module, for replicating the state of first code generator and the code of generation to second code generator.

2. the tracking engine of multi-channel parallel according to claim 1, which is characterized in that

When the code phase information of the input is the code phase of initial configuration, the code phase for the code that first code generator generates Position is N;

When the code phase information of the input is the code phase updated, the code phase for the code that first code generator generates is N-n;

Wherein, N is the code phase of the initial configuration or update, and n is preset code phase surplus.

3. the tracking engine of multi-channel parallel according to claim 2, which is characterized in that the logic channel further includes number Control oscillator, in which:

The digital controlled oscillator, when the code of the code phase for generating the corresponding update in first code generator, continuously Operation simultaneously counts spilling number, and the variable quantity △ N of the code phase of the update is calculated according to spilling number;

First code generator or second code generator are also used to the variable quantity △ N according to the code phase of the update And the code phase surplus n, generate code corresponding with the code phase of final update.

4. the tracking engine of multi-channel parallel according to claim 1, which is characterized in that will be updated in the detection module Code phase information input the first code generator before, the detection module is also used to:

Compare the size of the code phase that the logic channel updates and the code phase that the logic channel is currently configured;

If the code phase that the logic channel updates is less than the code phase that the logic channel is currently configured, trigger it is described will more New code phase information inputs the operation of the first code generator;

If the code phase that the logic channel updates is greater than the code phase that the logic channel is currently configured, the logic is calculated The difference for the code phase that the code phase and the logic channel that channel updates are currently configured, and the difference and preset code The size of phase threshold;

If the difference is greater than preset code phase threshold value, triggers the code phase information by update and input first yard of generation The operation of device.

5. the tracking engine of multi-channel parallel according to claim 1, which is characterized in that the logic channel further includes phase Device is closed, the detection module detects whether each logic channel updates code phase, comprising:

Detect whether the logic channel reconfigures correlator quantity;

Detect whether the logic channel reconfigures correlator interval;

Detect whether the logic channel reconfigures code phase.

6. a kind of tracking of multi-channel parallel characterized by comprising

Detect each logic channel whether initial configuration or update code phase;

If initial configuration updates code phase, initial configuration or the code phase information of update are inputted into the first code generator, so that Obtain the code that the first code generator generates corresponding code phase according to the code phase information of input;

The state of first code generator and the code of generation are replicated to second code generator.

7. the tracking of multi-channel parallel according to claim 6, which is characterized in that

When the code phase information of the input is the code phase of initial configuration, the code phase for the code that first code generator generates Position is N;

When the code phase information of the input is the code phase updated, the code phase for the code that first code generator generates is N-n;

Wherein, N is the code phase of the initial configuration or update, and n is preset code phase surplus.

8. the tracking of multi-channel parallel according to claim 7, which is characterized in that the logic channel further includes number Oscillator is controlled, the method also includes:

For the digital controlled oscillator when first code generator generates the code of the code phase of the corresponding update, consecutive operations are simultaneously Statistics overflows number, and the variable quantity △ N of the code phase of the update is calculated according to spilling number;

First code generator or second code generator are according to the variable quantity △ N of the code phase of the update and described Code phase surplus n generates the corresponding code of code phase of final update.

9. the tracking of multi-channel parallel according to claim 6, which is characterized in that in the code phase by update Before the first code generator of information input, the method also includes:

Compare the size of the code phase that the logic channel updates and the code phase that the logic channel is currently configured;

If the code phase that the logic channel updates is less than the code phase that the logic channel is currently configured, trigger it is described will more New code phase information inputs the operation of the first code generator;

If the code phase that the logic channel updates is greater than the code phase that the logic channel is currently configured, the logic is calculated The difference for the code phase that the code phase and the logic channel that channel updates are currently configured, and the difference and preset code The size of phase threshold;

If the difference is greater than preset code phase threshold value, triggers the code phase information by update and input first yard of generation The operation of device.

10. the tracking of multi-channel parallel according to claim 6, which is characterized in that the logic channel further includes Whether correlator, each logic channel of detection update code phase, comprising:

Detect whether the logic channel reconfigures correlator quantity;

Detect whether the logic channel reconfigures correlator interval;

Detect whether the logic channel reconfigures code phase.

Technical field

This application involves but be not limited to technical field of satellite navigation more particularly to a kind of tracking engine of multi-channel parallel and Tracking.

Background technique

Global Satellite Navigation System (Global Navigation Satellite System, GNSS) is one with more The artificial satellite system of satellite, it can to the ground GNSS receiver send include position and temporal information signal, by this A little signals, receiver may be implemented to position.Currently, main GNSS system has European Union's Galileo (Galileo) satellite navigation system System, american global positioning system (Global Positioning System, GPS), Russian Glonass (GLONASS) are defended Star navigation system and Chinese Beidou Navigation System.As shown in Figure 1, receiver mainly includes that radio-frequency front-end, digital front-end, capture are drawn Hold up, tracking engine and position and speed time (Position Velocity and Time, PVT) calculate etc. parts, wherein capture The main task of engine is detection, the code phase and carrier doppler searching for and calculate pseudo noise code in the signal that receiver samples Value can then capture once searching for successfully and turn tracking, and into tracking engine, by loop tracks, bit decoding, ephemeris is extracted, complete At accurately calculating for position and speed and time, to realize positioning.

With the continuous development of each satellite navigation system and perfect, simultaneously visible number of satellite gradually increases in the air in day, It receives the number of satellite that function tracks simultaneously to be also increasing, this is very beneficial to positioning performance is improved.It is multiple to track simultaneously Satellite-signal, and the hardware cost of receiver is reduced, the relevant technologies are come by time-multiplexed mode using a physical channel Track multiple logic channels.It usually, is to guarantee real-time, to the pseudorandom through digital front-end treated 1 millisecond of data Code removing and related operation etc., need to complete in 1 millisecond;So in time division multiplex system, each logic channel is left for Time is then shorter, is 1/R milliseconds, wherein R is the quantity of the logic channel of multiplexing process in a physical channel.At one In the tracking engine of point multiplexing, each logic channel temporally successively sequential processes, most time-consuming two in each logic channel Task is the configuration of code phase and the removing of code and related operation respectively.

In tracking engine, each channel can generate pseudo noise code according to specified code phase, generally use linear anti- The mode of feedback shift register generates, and the advantages of this method is to realize that simple, hardware spending is low, the disadvantage is that generating any one phase The code of position, requires to generate since phase 0 by shifting, so the length of time complexity and code is directly proportional.To the modern times The satellite-signal (such as L5, E5 and B2a etc.) of change, code rate 10.23Mcps, the length of code is 10230, so under worst case It generates clock number required for specified beginning code phase and is up to 10229.If what is be multiplexed in a physical channel multiple patrols Channel is collected, all specifies new code phase simultaneously, then the time for leaving each channel for is nearly all occupied by the generation of pseudo noise code, will There is no over head time to carry out related calculation, so as to cause operation mistake or be forced to reduce parallel channel quantity.

Summary of the invention

This application provides a kind of tracking engine of multi-channel parallel and tracking, it can guarantee that each logic channel has foot The enough time is used for related operation.

In a first aspect, the embodiment of the invention provides a kind of tracking engine of multi-channel parallel, including channel configuration unit And the one or more logic channels being connected with channel configuration unit, the channel configuration unit include detection module, One code generator and replication module, the logic channel include the second code generator, in which:

The detection module, for detect each logic channel whether initial configuration or update code phase, if initial configuration Or code phase is updated, initial configuration or the code phase information of update are inputted into the first code generator;

First code generator, for generating the code of corresponding code phase according to the code phase information of input;

The replication module, state and code to the second code of generation for replicating first code generator generate Device.

It is described when the code phase information of the input is the code phase of initial configuration in a kind of exemplary embodiment The code phase for the code that first code generator generates is N;

When the code phase information of the input is the code phase updated, the code phase for the code that first code generator generates Position is N-n;

Wherein, N is the code phase of the initial configuration or update, and n is preset code phase surplus.

In a kind of exemplary embodiment, the logic channel further includes digital controlled oscillator, in which:

The digital controlled oscillator, when the code of the code phase for generating the corresponding update in first code generator, Consecutive operations simultaneously count spilling number, and the variable quantity △ N of the code phase of the update is calculated according to spilling number;

First code generator or second code generator, are also used to the variable quantity of the code phase according to the update The △ N and code phase surplus n generates code corresponding with the code phase of final update.

In a kind of exemplary embodiment, the code phase information of update is inputted into the first code generator in the detection module Before, the detection module is also used to:

Compare the size of the code phase that the logic channel updates and the code phase that the logic channel is currently configured;

If code phase of the code phase of the logic channel update less than logic channel current-configuration, described in triggering The code phase information of update is inputted to the operation of the first code generator;

If code phase of the code phase of the logic channel update greater than logic channel current-configuration, described in calculating The difference for the code phase that the code phase and the logic channel that logic channel updates are currently configured, and the difference and default Code phase threshold value size;

If the difference is greater than preset code phase threshold value, triggers the code phase information by update and input first yard The operation of generator.

In a kind of exemplary embodiment, the logic channel further includes correlator, and the detection module detection is each to patrol Collect whether channel updates code phase, comprising:

Detect whether the logic channel reconfigures correlator quantity;

Detect whether the logic channel reconfigures correlator interval;

Detect whether the logic channel reconfigures code phase.

Second aspect, the embodiment of the invention also provides a kind of trackings of multi-channel parallel, comprising:

Detect each logic channel whether initial configuration or update code phase;

If initial configuration updates code phase, initial configuration or the code phase information of update are inputted into the first code generator, So that the first code generator generates the code of corresponding code phase according to the code phase information of input;

The state of first code generator and the code of generation are replicated to second code generator.

It is described when the code phase information of the input is the code phase of initial configuration in a kind of exemplary embodiment The code phase for the code that first code generator generates is N;

When the code phase information of the input is the code phase updated, the code phase for the code that first code generator generates Position is N-n;

Wherein, N is the code phase of the initial configuration or update, and n is preset code phase surplus.

In a kind of exemplary embodiment, the logic channel further includes digital controlled oscillator, the multi-channel parallel with Track method further include:

The digital controlled oscillator is continuous to transport when first code generator generates the code of the code phase of the corresponding update Spilling number is calculated and counted, the variable quantity △ N of the code phase of the update is calculated according to spilling number;

First code generator or second code generator according to the variable quantity △ N of the code phase of the update and The code phase surplus n generates the corresponding code of code phase of final update.

In a kind of exemplary embodiment, before the code phase information by update inputs the first code generator, institute State the tracking of multi-channel parallel further include:

Compare the size of the code phase that the logic channel updates and the code phase that the logic channel is currently configured;

If code phase of the code phase of the logic channel update less than logic channel current-configuration, described in triggering The code phase information of update is inputted to the operation of the first code generator;

If code phase of the code phase of the logic channel update greater than logic channel current-configuration, described in calculating The difference for the code phase that the code phase and the logic channel that logic channel updates are currently configured, and the difference and default Code phase threshold value size;

If the difference is greater than preset code phase threshold value, triggers the code phase information by update and input first yard The operation of generator.

In a kind of exemplary embodiment, the logic channel further includes correlator, and each logic channel of detection is No update code phase, comprising:

Detect whether the logic channel reconfigures correlator quantity;

Detect whether the logic channel reconfigures correlator interval;

Detect whether the logic channel reconfigures code phase.

The tracking engine and tracking of the multi-channel parallel of the application, by the first code generator according to the code phase of input Position information generates the code of corresponding code phase, and the state of the first code generator of duplication and code to the second code of generation generate Device ensure that each logic channel has time enough so that the generation of the code phase of logic channel and related operation are separated from each other For related operation, hardware utilization rate is increased, maximises the quantity of parallel channel.

Other features and advantage will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood and implementing the application.Other advantages of the application can be by specification, claims And scheme described in attached drawing is achieved and obtained.

Detailed description of the invention

Attached drawing is used to provide the understanding to technical scheme, and constitutes part of specification, with the application's Embodiment is used to explain the technical solution of the application together, does not constitute the limitation to technical scheme.

Fig. 1 is the structural schematic diagram of one of the relevant technologies GNSS receiver;

Fig. 2 is the time of each logic channel in the time-multiplexed tracking engine of the relevant technologies to distribute schematic diagram;

Fig. 3 is a kind of structural schematic diagram of the tracking engine of multi-channel parallel provided in an embodiment of the present invention;

Processing flow schematic diagram when Fig. 4 is a kind of code phase of generation update of the embodiment of the present invention;

Fig. 5 is the schematic illustration for reconfiguring correlator quantity in the embodiment of the present invention and code phase being caused to update;

Fig. 6 is a kind of flow diagram of the tracking of multi-channel parallel of the embodiment of the present invention.

Specific embodiment

This application describes multiple embodiments, but the description is exemplary, rather than restrictive, and for this It is readily apparent that can have more in the range of embodiments described herein includes for the those of ordinary skill in field More embodiments and implementation.Although many possible feature combinations are shown in the attached drawings, and in a specific embodiment It is discussed, but many other combinations of disclosed feature are also possible.Unless the feelings specially limited Other than condition, any feature or element of any embodiment can be with any other features or element knot in any other embodiment It closes and uses, or any other feature or the element in any other embodiment can be substituted.

The application includes and contemplates the combination with feature known to persons of ordinary skill in the art and element.The application is It can also combine with any general characteristics or element through disclosed embodiment, feature and element, be defined by the claims with being formed Unique scheme of the invention.Any feature or element of any embodiment can also be with features or member from other scheme of the invention Part combination, to form the unique scheme of the invention that another is defined by the claims.It will thus be appreciated that showing in this application Out and/or any feature of discussion can be realized individually or in any suitable combination.Therefore, in addition to according to appended right It is required that and its other than the limitation done of equivalent replacement, embodiment is not limited.Furthermore, it is possible in the guarantor of appended claims It carry out various modifications and changes in shield range.

In addition, method and/or process may be rendered as spy by specification when describing representative embodiment Fixed step sequence.However, in the degree of this method or process independent of the particular order of step described herein, this method Or process should not necessarily be limited by the step of particular order.As one of ordinary skill in the art will appreciate, other steps is suitable Sequence is also possible.Therefore, the particular order of step described in specification is not necessarily to be construed as limitations on claims.This Outside, the claim for this method and/or process should not necessarily be limited by the step of executing them in the order written, art technology Personnel are it can be readily appreciated that these can sequentially change, and still remain in the spirit and scope of the embodiment of the present application.

Fig. 2 is the time of each logic channel in a time-multiplexed tracking engine to distribute schematic diagram, wherein R is one The quantity of the logic channel of multiplexing process in physical channel, each logic channel temporally successively believe by sequential processes, each logic Two most time-consuming tasks are the configuration of code phase and the removing of code and related operation respectively in road.If a physical channel Multiple logic channels of middle multiplexing all specify new code phase simultaneously, then leave the time of each channel for nearly all by the life of code At occupancy, will carry out related calculation without over head time, so as to cause operation mistake or be forced to reduce parallel channel quantity.

As shown in figure 3, a kind of tracking engine of multi-channel parallel according to an embodiment of the present invention, including channel configuration unit 10 and one or more logic channels 20 for being connected with channel configuration unit 10, channel configuration unit 10 include detection module 101, the first code generator 102 and replication module 103, logic channel 20 include the second code generator 201, in which:

Detection module 101, for detecting whether each logic channel 20 initial configuration or updates code phase, if initial configuration Or code phase is updated, initial configuration or the code phase information of update are inputted into the first code generator 102;

First code generator 102, for generating the code of corresponding code phase according to the code phase information of input;

Replication module 103, for replicate first code generator 102 state and generation code it is raw to the second code Grow up to be a useful person 201.

The embodiment of the present invention, which passes through, is arranged the shared channel configuration unit 10 of each logic channel 20, in channel configuration unit 10 Detection module 101, replication module 103 and the first code generator 102 are set, initial configuration or the code phase of update are accelerated It generates, so that the generation of code phase and the use of code are separated, does not block mutually, guarantee that each logic channel has time enough use In related operation.Multi-channel parallel described in the embodiment of the present invention, that is, multiple logic channels 20 are parallel.

In a kind of exemplary embodiment, the logic channel 20 further includes digital controlled oscillator (Numerically Controlled Oscillator, NCO), in which:

NCO, when for generating the code of the corresponding code phase updated in the first code generator 102, consecutive operations simultaneously count excessive Outdegree, according to the variable quantity △ N for overflowing the code phase that number calculating updates;

First code generator 102 or the second code generator 201, be also used to according to the variable quantity △ N of the code phase of update with And code phase surplus n, generate the corresponding code of code phase of final update.

In the tracking engine of the multi-channel parallel of the application embodiment of the present invention, detection module 101, which checks, to need initially to match The logic channel 20 of code phase is set or updated, and enables the first code generator 102 and generates corresponding code phase;At the same time, respectively The continuous normal operation of Configuration Values that NCO in logic channel 20 can be arranged according to software, to keep each logic channel 20 Continuity.After the code for generating corresponding code phase Deng the first code generator 102, the state inside the first code generator 102 is replicated Code with generation is into the second code generator 201 of counterlogic channel 20, and according to the code phase of the calculated update of NCO Variable quantity △ N generates code corresponding with the code phase of final update, so that it may the generation and removing of code are re-started, this The tracking engine for the multi-channel parallel that inventive embodiments provide guarantees so that the configuration of code phase and related operation are separated from each other The consecutive operations and correctness of tracking engine, improve the real-time concurrence of hardware, maximise the quantity of parallel channel.

In a kind of exemplary embodiment, the first code generator 102 and/or the second code generator 201 are linear feedback shifting Bit register.

Pseudo noise code is generated by linear feedback shift register, advantage is to realize that simple, hardware spending is low, the disadvantage is that raw At the code of any one phase, require to generate since phase 0 by shifting, so the length of time complexity and code It is directly proportional.The application does not block mutually by separating the use of the generation of code phase and code, guarantees that each logic channel has enough Time be used for related operation.

In a kind of exemplary embodiment, when the code phase information of input is the code phase of initial configuration, first yard of life Grow up to be a useful person 102 generations code code phase be N;

When the code phase information of input is the code phase updated, the code phase for the code that the first code generator 102 generates is N-n;

Wherein, N is the code phase of initial configuration or update, and n is preset code phase surplus.

The tracking engine of the multi-channel parallel of the embodiment of the present invention include two kinds of usage scenarios: initial configuration logic channel and Code phase;Modification configuration results in the need for updating code phase in operational process.It, can be in initial configuration logic channel and code phase The code of the code phase of corresponding initial configuration is directly generated by the first code generator 102.

For the usage scenario of initial configuration code phase, the tracking engine of multi-channel parallel provided in an embodiment of the present invention Code phase generating process includes:

(1) at the N ms moment, detection module 101 has detected whether initial channel configuration, and the code phase of initial configuration It is sent into the first code generator 102 and is lined up the code for generating required code phase, it should be noted that new channel can't enable immediately simultaneously Operation, the other configurations of new channel will not be configured at this moment in logic channel 20;

(2) in N ms to N+1ms, the code of required code phase, backed stamper are lined up and generated in the first code generator 102 Block 103 is the state copying and saving of the code generated in the first code generator 102 to corresponding second code generator of logic channel 20 In 201;

(3) state of the second code generator 201 in the N+1ms moment, logic channel 20 has been prepared for, and is adjusted to Corresponding code phase location can directly enable logic channel 20 at this time, remove pseudo noise code and start normal operation.

From the foregoing, it will be observed that the delay that the code phase generating process of the embodiment of the present invention introduces 1ms enables and operation.

Code phase process meeting complexity one is updated caused by real time modifying configuration or adjustment code phase in channel operational process A bit.To guarantee each 20 Continuous plus of logic channel, code phases cannot be waited to update and complete just to start counting, need parallel processing code phase The update of position and the related operation of logic channel 20;Simultaneously as code phase, which generates, needs at least delay of 1ms, updated Code phase may be because that Doppler effect increases or decreases 1 by the delay of 1ms, such as: at the beginning of N ms, need more New pseudo-random code phases are 1000, and after 1ms, which becomes 999 or 1001;If the code phase directly generated is 1000, the value is by becoming 999 after 1ms, then needing again to shift code generator 999 times can just obtain, i.e., for the first time The code of generation fails, and wastes more times.Therefore, in real-time update pseudo noise code, required for cannot directly generating Code phase values need the code phase surplus of reserved default value.

For updating the usage scenario of code phase in operational process, as shown in figure 4, multichannel provided in an embodiment of the present invention The code phase generating process of parallel tracking engine includes:

(I) at the N ms moment, detection module 101 detects whether update code phase in need, and the code phase of update is believed Breath is sent into the first code generator 102 and is lined up the code for generating required code phase;

(II) in N ms to N+1ms, the code of required code phase, backed stamper are lined up and generated in the first code generator 102 Block 103 is the state copying and saving of the code generated in the first code generator 102 to corresponding second code generator of logic channel 20 In 201.It is compared with the generating process of code phase in the usage scenario of initial configuration code phase, required for cannot directly generating at this time Whole code phase values, need the code phase surplus there are certain numerical value, for example, if update code phase be 1000, at this point, Only generate 995 code phase in 1000, the code phase that remaining 5 code phases are used to prevent Doppler effect from displacement being caused to generate Position it is bigger than the code phase of final updated when, generation code failure the problem of.This 5 code phases can in subsequent operation polishing;

Meanwhile in N ms to N+1ms, the NCO still consecutive operations in channel are tracked, and counts the NCO in this 1ms and overflows Number, calculated with this and judge whether the pseudo-random code phases configured in this 1ms change, there are three types of may situation: Add 1, subtract 1 or remain unchanged.It is emphasized that in this 1ms, since the pseudo noise code newly configured is also being lined up generation, no It can be used for the related operation of logic channel 20, therefore correlated results can to malfunction;But NCO needs to keep consecutive operations, with the company of maintenance Continuous time and result output;

(III) at the N+1ms moment, number is overflowed according to the NCO of statistics, calculates the value of pseudo-random code phases at this moment, and It subtracts the generated part code phase values in N ms to N+1ms and obtains residual code phase.This residual code phase, it is usually a Digit can shift generation directly in the second code generator 201 of logic channel 20.Still by taking code phase surplus is equal to 5 as an example, Residual code phase may be any of 5+1,5-1,5 these three probable values.Final update is generated according to residual code phase Code phase.

In a kind of exemplary embodiment, the code phase information of update is inputted into the first code generator in detection module 101 Before 102, detection module 101 is also used to:

The size for the code phase that the code phase and logic channel 20 that CL Compare Logic channel 20 updates are currently configured;

If the code phase that logic channel 20 updates is less than the code phase that logic channel 20 is currently configured, trigger update Code phase information inputs the operation of the first code generator 102;

If the code phase that logic channel 20 updates is greater than the code phase that logic channel 20 is currently configured, calculating logic channel The difference for the code phase that 20 code phases updated and logic channel 20 are currently configured, and compare difference and preset code phase threshold value Size;

If difference is greater than preset code phase threshold value, the code phase information of update is inputted the first code generator by triggering 102 operation.

Under normal circumstances, under the code generator that linear feedback shift register is constituted can only generate in each processing clock The code of one adjacent phase, in this embodiment, the code phase if necessary to update differ into hundred with currently used code phase Or it is thousands of, or the direction adjustment that the code phase that updates needs to reduce toward currently used code phase, then it needs using first yard The code phase that generator 102 updates needed for generating.

In a kind of exemplary embodiment, logic channel 20 further includes correlator, and detection module 101 detects each logic letter Whether road 20 updates code phase, comprising:

Detect whether the logic channel 20 reconfigures correlator quantity;

Detect whether the logic channel 20 reconfigures correlator interval;

Detect whether the logic channel 20 reconfigures code phase.

It includes following several situations that the case where configuration results in the need for update code phase is modified in operational process: reconfiguring phase Close device quantity, reconfigure correlator interval, reduce currently used code phase values, increase currently used code phase values etc..

As shown in figure 5, for reconfiguring correlator quantity, the code phase of instant (Prompt, the P) correlator before configuration Position is 1000, and correlator quantity is 9, and the intersymbol interval of each correlator is 0.5 chip, then lags (Late, L) correlator Code phase with advanced (Early, E) correlator is 1002 (1000+ (9-1)/2*0.5) and 998 (1000- (9-1)/2* 0.5).If the quantity for reconfiguring correlator at this time is 5, for the continuity for guaranteeing tracking, need updating any new configuration When keep the code phase of P correlator constant, therefore be 1000/1001/999 respectively with the code phase of P/L/E correlator postponed, Wherein 1001=1000+ (5-1)/2*0.5,999=1000- (5-1)/2*0.5.Therefore, code generation is needed to reset at this time The phase of device is from 1002 to 1001, it may be assumed that code generator is needed to adjust toward the direction that phase reduces.At this point, if using related skill Tracking engine in art, it is necessary to first reset code generator to phase 0, required phase can be just obtained after then shifting 1001 times Position, time needed for greatly occupying operation.And if the tracking using multi-channel parallel provided in an embodiment of the present invention is drawn It holds up, then can generate the code of required code phase by the first code generator 102, meanwhile, the NCO in the logic channel 20 can be kept Consecutive operations, to judge whether the code phase updated changes, by the way that the removing of code phase reconfigured with code is mutual Separation, ensure that the continuity of operation, the limited time for distributing to each channel is used for related operation, increasing hardware makes With rate, the quantity of parallel channel is maximised, degree of parallelism is improved.

On the other hand, as shown in fig. 6, the embodiment of the invention also provides a kind of trackings of multi-channel parallel, including Following steps:

Step 601: detect each logic channel whether initial configuration or update code phase;

In a kind of exemplary embodiment, the logic channel further includes correlator, and each logic channel of detection is No update code phase, comprising:

Detect whether the logic channel reconfigures correlator quantity;

Detect whether the logic channel reconfigures correlator interval;

Detect whether the logic channel reconfigures code phase.

It includes following several situations that the case where configuration results in the need for update code phase is modified in operational process: reconfiguring phase Close device quantity, reconfigure correlator interval, reduce currently used code phase values, increase currently used code phase values etc..

As shown in figure 5, the code phase of the P correlator before configuration is 1000, related for reconfiguring correlator quantity Device quantity is 9, and the intersymbol interval of each correlator is 0.5 chip, then the code phase of L correlator and E correlator is 1002 (1000+ (9-1)/2*0.5) and 998 (1000- (9-1)/2*0.5).If the quantity for reconfiguring correlator at this time is 5, it for the continuity for guaranteeing tracking, needs to keep the code phase of P correlator constant when updating any new configuration, therefore match and postpone The code phase of P/L/E correlator be 1000/1001/999 respectively, wherein 1001=1000+ (5-1)/2*0.5,999= 1000-(5-1)/2*0.5.Therefore, the phase of code generator is needed to reset at this time from 1002 to 1001, it may be assumed that needs code raw It grows up to be a useful person toward the direction adjustment of phase reduction.At this point, if using tracking in the related technology, it is necessary to which first reset code generates Device can just obtain required phase after then shifting 1001 times, the time needed for greatly occupying operation to phase 0.And If using the tracking of multi-channel parallel provided in an embodiment of the present invention, needed for being generated by the first code generator The code of code phase, meanwhile, the NCO in the logic channel can keep consecutive operations, to judge whether the code phase updated becomes Change, by the way that the removing of code phase reconfigured with code to be separated from each other, ensure that the continuity of operation, each letter will be distributed to The limited time in road is used for related operation, increases hardware utilization rate, maximises the quantity of parallel channel, improves parallel Degree.

Step 602: if initial configuration or update code phase, input first yard for initial configuration or the code phase information of update Generator, so that the first code generator generates the code of corresponding code phase according to the code phase information of input;

It is described when the code phase information of the input is the code phase of initial configuration in a kind of exemplary embodiment The code phase for the code that first code generator generates is N;

When the code phase information of the input is the code phase updated, the code phase for the code that first code generator generates Position is N-n;

Wherein, N is the code phase of the initial configuration or update, and n is preset code phase surplus.

In a kind of exemplary embodiment, the logic channel further includes NCO, the method also includes:

For the NCO when the first code generator generates the code of the corresponding code phase updated, consecutive operations simultaneously count spilling time Number, according to the variable quantity △ N for overflowing the code phase that number calculating updates;

First code generator or the second code generator according to the variable quantity △ N and code phase surplus n of the code phase of update, Generate code corresponding with the code phase of final update.

In the tracking of the multi-channel parallel of the application embodiment of the present invention, corresponding code is generated in the first code generator While phase, the continuous normal operation of Configuration Values that the NCO in each logic channel can be arranged according to software, to keep each patrolling Collect the continuity of channel.After the code for generating corresponding code phase Deng the first code generator, replicate the first code generator state and The code of generation is into the second code generator of counterlogic channel, and the variable quantity of the code phase according to the calculated update of NCO △ N generates code corresponding with the code phase of final update, so that it may re-start the generation and removing of code, the present invention is real The tracking for applying the multi-channel parallel of example offer ensure that correlation so that the configuration of code phase and related operation are separated from each other The continuity and correctness of operation, improve the real-time concurrence of hardware, maximise the quantity of parallel channel.

In a kind of exemplary embodiment, before the code phase information that will be updated inputs the first code generator, the side Method further include:

Compare the size of the code phase that the logic channel updates and the code phase that the logic channel is currently configured;

If code phase of the code phase of the logic channel update less than logic channel current-configuration, described in triggering The code phase information of update is inputted to the operation of the first code generator;

If code phase of the code phase of the logic channel update greater than logic channel current-configuration, described in calculating The difference for the code phase that the code phase and the logic channel that logic channel updates are currently configured, and the difference and default Code phase threshold value size;

If the difference is greater than preset code phase threshold value, triggers the code phase information by update and input first yard The operation of generator.

Under normal circumstances, under the code generator that linear feedback shift register is constituted can only generate in each processing clock The code of one adjacent phase, in this embodiment, the code phase if necessary to update differ into hundred with currently used code phase Or it is thousands of, or the direction adjustment that the code phase that updates needs to reduce toward currently used code phase, then it needs using first yard The code phase that generator updates needed for generating.

Step 603: the state of duplication first code generator and the code of generation to second code generator.

The tracking of multi-channel parallel provided in an embodiment of the present invention includes two kinds of usage scenarios: initial configuration logic letter Road and code phase;Modification configuration results in the need for updating code phase in operational process.In initial configuration logic channel and code phase, The code of the code phase of corresponding initial configuration can be directly generated by the first code generator.

For the usage scenario of initial configuration code phase, the tracking of multi-channel parallel provided in an embodiment of the present invention Code phase generating process includes:

(1) it at the N ms moment, has detected whether initial channel configuration, and the code phase of initial configuration is sent into first yard of life Grow up to be a useful person be lined up generate needed for code phase code, it should be noted that new channel can't enable union immediately, new channel its He configures, and will not be configured in logic channel at this moment;

(2) in N ms to N+1ms, the code of required code phase is lined up and generated in the first code generator, first yard The state copying and saving of the code generated in generator is into corresponding second code generator of logic channel;

(3) state of the second code generator in the N+1ms moment, logic channel has been prepared for, and is adjusted to corresponding Code phase location, can directly enable logic channel at this time, removing pseudo noise code simultaneously starts normal operation.

From the foregoing, it will be observed that the delay that the code phase generating process of the embodiment of the present invention introduces 1ms enables and operation.

Code phase process meeting complexity one is updated caused by real time modifying configuration or adjustment code phase in channel operational process A bit.To guarantee each logic channel Continuous plus, code phases cannot be waited to update and complete just to start counting, need parallel processing code phase Update and logic channel related operation;Simultaneously as code phase, which generates, needs at least delay of 1ms, the code phase updated Position may be because that Doppler effect increases or decreases 1 by the delay of 1ms, such as: at the beginning of N ms, need to update Pseudo-random code phases are 1000, and after 1ms, which becomes 999 or 1001;If the code phase directly generated is 1000, the value is by becoming 999 after 1ms, then needing again to shift code generator 999 times can just obtain, i.e., for the first time The code of generation fails, and wastes more times.Therefore, in real-time update pseudo noise code, required for cannot directly generating Code phase values need the code phase surplus of reserved default value.

For updating the usage scenario of code phase in operational process, as shown in figure 4, multichannel provided in an embodiment of the present invention The code phase generating process of parallel tracking includes:

(I) it at the N ms moment, detects whether update code phase in need, and the code phase information of update is sent into first yard Generator is lined up the code for generating required code phase;

(II) in N ms to N+1ms, the code of required code phase is lined up and generated in the first code generator, first yard of life Grow up to be a useful person generation code state copying and saving into corresponding second code generator of logic channel.With initial configuration code phase The generating process of code phase is compared in usage scenario, whole code phase values required for cannot directly generating at this time, need there are The code phase surplus of certain numerical value, for example, if the code phase updated is 1000, at this point, only generating the code phase of 995 in 1000 Position, the code phase that remaining 5 code phases are used to prevent Doppler effect from displacement being caused to generate are bigger than the code phase of final updated When, generation code failure the problem of.This 5 code phases can in subsequent operation polishing;

Meanwhile in N ms to N+1ms, the NCO still consecutive operations in channel are tracked, and counts the NCO in this 1ms and overflows Number, calculated with this and judge whether the pseudo-random code phases configured in this 1ms change, there are three types of may situation: Add 1, subtract 1 or remain unchanged.It is emphasized that in this 1ms, since the pseudo noise code newly configured is also being lined up generation, no It can be used for the related operation of logic channel, therefore correlated results can to malfunction;But NCO needs to keep consecutive operations, to remain continuous Time and result output;

(III) at the N+1ms moment, number is overflowed according to the NCO of statistics, calculates the value of pseudo-random code phases at this moment, and It subtracts the generated part code phase values in N ms to N+1ms and obtains residual code phase.This residual code phase, it is usually a Digit can shift generation directly in the second code generator of logic channel.Still by taking code phase surplus is equal to 5 as an example, residual Code phase may be any of 5+1,5-1,5 these three probable values.The code of final update is generated according to residual code phase Phase.

It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于WMAD的GNSS卫星钟差数据预处理方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类