CN110727004A - Weil code generation method and device and storage medium - Google Patents

Weil code generation method and device and storage medium Download PDF

Info

Publication number
CN110727004A
CN110727004A CN201910932325.6A CN201910932325A CN110727004A CN 110727004 A CN110727004 A CN 110727004A CN 201910932325 A CN201910932325 A CN 201910932325A CN 110727004 A CN110727004 A CN 110727004A
Authority
CN
China
Prior art keywords
legendre
weil
channel
sequence
legendre sequence
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.)
Withdrawn
Application number
CN201910932325.6A
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.)
WUHAN MENGXIN TECHNOLOGY Co Ltd
Original Assignee
WUHAN MENGXIN TECHNOLOGY Co Ltd
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 WUHAN MENGXIN TECHNOLOGY Co Ltd filed Critical WUHAN MENGXIN TECHNOLOGY Co Ltd
Priority to CN201910932325.6A priority Critical patent/CN110727004A/en
Publication of CN110727004A publication Critical patent/CN110727004A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/35Constructional details or hardware or software details of the signal processing chain
    • G01S19/37Hardware or software details of the signal processing chain
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/30Acquisition or tracking or demodulation of signals transmitted by the system code related

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention relates to a Weil code generation method, a Weil code generation device and a storage medium, wherein the Weil code generation method comprises the following steps: respectively determining the storage address of a Legendre sequence corresponding to Weil code to be generated of each channel; reading the corresponding Legendre sequence from a storage device in which the Legendre sequence is stored continuously for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel during each reading; and operating according to the read Legendre sequence to obtain the continuous Weil code of each channel. According to the technical scheme, only the Legendre sequence needs to be stored, the Legendre sequence is extracted for operation, continuous Weil codes can be generated and used for capturing and tracking satellite signals of multiple channels in real time, storage space is saved, and hardware resources can be saved.

Description

Weil code generation method and device and storage medium
Technical Field
The invention relates to the technical field of satellite navigation signal processing, in particular to a Weil code generation method, a Weil code generation device and a storage medium.
Background
The Global Navigation Satellite System (GNSS) is used to provide users with all-weather, real-time and continuous position information, speed information and time information in a Global area, and plays an important role in the life of people. The ranging code is a pseudo-random code, and when the navigation signal receiver works, the navigation signal receiver performs correlation operation on the ranging code locally generated by the receiver and the received satellite navigation signal to perform positioning.
Along with the continuous improvement of intellectualization and informatization levels, the requirement of people on navigation precision is higher and higher, the requirement of people cannot be met by adopting traditional ranging codes such as Gold codes for positioning, and therefore people need to search the ranging codes with better properties for each navigation system.
Presently, a method for applying Weil codes as new ranging codes to processing various navigation signals has been proposed, such as an L1C signal in GPS iii (Global Positioning System iii) and a B1C signal in BDS iii (beidou navigation Satellite System, third generation beidou Satellite navigation System) all using Weil codes as ranging codes. Weil codes are very well correlated and have a relatively flexible selectable sequence length.
The Weil code is generated by a Legendre sequence, and for a fixed length, until a Legendre sequence exists, a specific generation formula is as follows:
W(t;w)=L(t)⊕L((t+w)mod N),N=10223;
w is an offset value of the Legendre sequence, exclusive-or operation is carried out on the Legendre sequence L ((t + w) mod N) after offset and a LegendreL (t) sequence without offset to obtain Weil codes, Weil codes with specified code length can be generated according to needs, and further processing is carried out on the obtained Weil codes to obtain the ranging codes. For example, for the L1C signal, a Weil code with a code length of 10223 can be generated, and then a fixed sequence 0110100 is inserted into the Weil code, so that a ranging code with a code length of 10230 can be obtained. For the B1C signal, a Weil code with a code length of 10243 may be generated, and the Weil code may be truncated to obtain a ranging code with a code length of 10230.
Currently, the Weil code is generated by software, then the ranging code is generated according to the Weil code, the receiver stores the generated ranging code in the storage device, and the ranging code is read from the storage device in real time when the satellite signal is captured and tracked. However, storing these ranging codes requires a large amount of memory, for example, 63 signals, i.e., L1C signal of GPS iii or B1C signal of bdscid, each signal is composed of a pilot component and a data component, one component corresponds to one ranging code, and the memory required for one ranging code is 10230bit, so that 1.23 mbit of memory is required in total. Moreover, when the receiver needs to capture and track signals of multiple satellites, it needs to output ranging codes of multiple channels, and the number of channels is the same as the number of satellites, and then it needs to store the corresponding number of ranging codes, which requires more memory space.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides a Weil code generation method, apparatus and storage medium.
The technical scheme for solving the technical problems is as follows:
in a first aspect, the present invention provides a Weil code generating method, including the following steps:
and respectively determining the storage address of the Legendre sequence corresponding to the Weil code to be generated of each channel.
And continuously reading the corresponding Legendre sequence from the storage device in which the Legendre sequence is stored for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel during each reading.
And operating according to the read Legendre sequence to obtain the continuous Weil code of each channel.
In a second aspect, the present invention provides a Weil code generating device, including:
and the control module is used for respectively determining the storage addresses of Legendre sequences corresponding to Weil codes to be generated by each channel.
And the reading module is used for continuously reading the corresponding Legendre sequence from the storage device in which the Legendre sequence is stored for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel during each reading.
And the calculation module is used for calculating according to the read Legendre sequence to obtain the continuous Weil codes of all the channels.
In a third aspect, the present invention provides a weil code generating device, which includes a memory and a processor.
The memory is used for storing the computer program.
The processor is used for realizing the Weil code generation method when the computer program is executed.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for generating the above-mentioned well code.
The Weil code generation method, the Weil code generation device and the storage medium have the advantages that: the method comprises the steps that only Legendre sequences are stored in a storage device, only one Legendre sequence exists for a fixed length, so that only a plurality of Legendre sequences with different lengths need to be stored in the storage device, only one Legendre sequence needs to be stored in each Legendre sequence with the fixed length, when signals of a plurality of channels need to be captured and tracked, the corresponding Legendre sequence is found in the storage device according to Weil codes to be generated of the channels, the Legendre sequences are read from the storage device for multiple times according to a time sequence, the Legendre sequences corresponding to all the channels are read once in sequence during each reading, and the read Legendre sequences are operated to generate continuous Weil codes of each channel. According to the technical scheme, only the Legendre sequence needs to be stored, the Legendre sequence is extracted for operation, Weil codes can be generated in real time and used for capturing and tracking satellite signals of multiple channels in real time, storage space is saved, and hardware resources can be saved.
Drawings
FIG. 1 is a flow chart illustrating a method for generating Weil codes according to an embodiment of the present invention;
FIG. 2 is a timing diagram illustrating a Legendre sequence read according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a Weil code generating device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a Weil code generating device according to another embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, a Weil code generation method provided by an embodiment of the present invention is applicable to a satellite navigation receiver, and the method includes the following steps:
and 110, respectively determining the storage address of the Legendre sequence corresponding to the Weil code to be generated by each channel.
Specifically, multiple satellites are often required to realize satellite positioning, and the receiver needs to generate ranging codes of multiple channels in real time, wherein the number of the channels is the same as that of the satellites.
And 120, reading the corresponding Legendre sequence from the storage device in which the Legendre sequence is stored continuously for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel every time of reading.
Specifically, reading a corresponding Legendre sequence in the storage device according to the storage address, reading the Legendre sequence corresponding to each channel every time, and continuously reading for multiple times to obtain a continuous Legendre sequence corresponding to each channel.
130, operating according to the read Legendre sequence to obtain the continuous Weil code of each channel.
Specifically, the operation is performed according to the read continuous Legendre sequence corresponding to each channel, so that the continuous Weil code corresponding to each channel can be obtained.
In this embodiment, only the Legendre sequence is stored in the storage device, and only one Legendre sequence exists for a fixed length, so that only a plurality of Legendre sequences with different lengths need to be stored in the storage device, only one Legendre sequence needs to be stored in each fixed length, and when signals of a plurality of channels need to be captured and tracked, a corresponding Legendre sequence is found in the storage device according to a Weil code to be generated in each channel, wherein the Legendre sequence is read from the storage device for a plurality of times according to a time sequence, the Legendre sequences corresponding to all the channels are read once in sequence during each reading, and the read Legendre sequences are operated to generate continuous Weil codes of each channel. According to the technical scheme, only the Legendre sequence needs to be stored, the Legendre sequence is extracted for operation, Weil codes can be generated in real time and used for capturing and tracking satellite signals of multiple channels in real time, storage space is saved, and hardware resources can be saved.
Specifically, the storage device may employ a RAM memory, the storage capacity is 10240 bits, the memory is used for storing a Legendre sequence of B1C or a Legendre sequence of L1C, the memory may employ a single-port RAM memory, or may employ a dual-port RAM memory, and if the storage resource area is to be saved as much as possible, the memory may employ a single-port RAM memory, and the Legendre sequence stored in the single-port RAM memory may be read in a time-sharing access manner. The RAM memory is suitable for acquiring and tracking only the L1C signal of the GPS or only the B1C signal of the BDS in real time, and under the conditions that the requirement on real-time performance is not high and the software of the satellite navigation receiver supports, the acquisition and tracking of the L1C signal of the GPS and the B1C signal of the BDS can be supported simultaneously.
The storage device can also adopt two ROM memories, wherein one ROM memory is used for storing a Legendre sequence of L1C, the other ROM memory is used for storing a Legendre sequence of B1C, the storage capacity of the two ROM memories can be 10240 bits, the Legendre sequence of B1C is 10243 bits in length, 10240 bits can be stored in the ROM memory only, the last 3 bits of the Legendre sequence are stored in the computing module, and after the Legendre sequence of a B1C signal in the ROM memory is read each time, the last 3bit sequence is inserted into the Legendre sequence, so that the two ROM memories with the same specification and model can be adopted, and the setting is convenient. When the Legendre sequence is read from the ROM memory, the reading is carried out from the corresponding ROM memory according to the type selection of the channel. The ROM with the same specification occupies smaller resource area for the RAM, can simultaneously capture and track the L1C signal of the GPS and the B1C signal of the BDS in real time, and has good real-time performance.
The bandwidth and the depth of the storage device can be set according to needs, and in order to optimize the processing performance and the resource area consumed by required hardware, the bandwidth and the depth of a storage array in the storage device can be determined according to the bit width of a CPU (Central processing Unit) bus of a satellite navigation receiver chip, so that the storage address can be determined conveniently. For example, for a 32-bit bus, the bandwidth and depth of a RAM memory or ROM memory may be 320 (depth D) x 32 (bandwidth W). For a 64-bit bus, the bandwidth and depth of the RAM memory or ROM memory may be 160 (depth D) x 64 (bandwidth W).
Preferably, the step of respectively determining the storage addresses of the Legendre sequences corresponding to the Weil codes to be generated by each channel specifically includes the following steps:
and determining the offset address of the Legendre sequence corresponding to the Weil code according to the Weil code to be generated.
And adding the offset address and the initial address of the Legendre sequence to obtain the storage address of the Legendre sequence.
Specifically, the initial address of the Legendre sequence corresponding to each channel is fixed, the offset value of the corresponding Legendre sequence is determined according to the Weil code to be generated, and the offset value is added to the initial address to obtain the storage address of the Legendre sequence.
Preferably, the specific implementation of sequentially reading the Legendre sequence corresponding to each channel in each reading is as follows:
for any one of the channels, each time the Legendre sequence corresponding to the channel with K bits is read from the storage device, K is less than or equal to the bandwidth of the storage device.
Specifically, the complexity of Weil code generation is directly related to the number of channels that need to be captured and tracked simultaneously, the number of channels is the same as the number of satellites, and the more the number of channels, the more complex the channel is. A balance point needs to be found between receiver performance and the number of channels processed simultaneously to achieve optimum performance with minimum resource consumption.
After the Legendre sequence is obtained, in order to ensure that the Weil code generation has a sufficiently high frequency timing, so that the Weil code can be generated in real time, and the positioning accuracy is improved, two clock cycles are usually adopted for calculating the Weil code, and assuming that the bandwidth of the storage device is W, the Weil code of W bit can be calculated at most once, namely K is less than or equal to W, and the Weil code calculated at one time can be used for the subsequent W clock cycles. Because each channel reads the Legendre sequence from the storage device in sequence, each channel reads the Legendre sequence of W bit from the storage device each time for the subsequent W clock cycles, time can be reserved for other channels to read data from the storage device, and the Legendre sequences can be respectively read from the storage device by multiple channels.
In the preferred embodiment, each time a Legendre sequence with K bits is read, K is greater than or equal to 1 and less than or equal to the bandwidth of the storage device, operation is performed according to the Legendre sequence, a Weil code with K bits can be obtained once, and if output is performed at a speed of 1bit each time, the requirement for subsequent K cycles can be met. Compared with the prior art that the generated Weil codes are read from the storage device in real time, the number of times of accessing the storage device is reduced, and the Weil codes of a plurality of bits are calculated at one time, so that the calculation times are reduced, and the power consumption of the processor can be reduced.
When the Legendre sequence is continuously read for each channel for multiple times, each Weil code corresponds to two Legendre sequences, the two Legendre sequences are respectively a first Legendre sequence and a second Legendre sequence, the storage address of the first Legendre sequence corresponding to each channel is assumed to be index1, the storage address of the corresponding second Legendre sequence is index2, the storage address of the first Legendre sequence corresponding to the first channel is made to be index1_ channal1, the storage address of the corresponding second Legendre sequence is made to be index2_ channal1, the storage address of the first Legendre sequence corresponding to the second channel is made to be index1_ channal2, the storage address of the corresponding second Legendre sequence is made to be index2_ channal2 … …, the storage address of the first Legendre sequence corresponding to the N channel is made to be index1_ channal2, and the storage address of the second Legendre sequence corresponding to the second Legendre sequence is made to be index 2.
As shown in fig. 2, let the initial storage addresses of the two Legendre sequences corresponding to the first channel be index m, index N, the initial storage addresses of the two Legendre sequences corresponding to the second channel be index m, index N, the initial storage addresses of the two Legendre sequences corresponding to the third channel be index m, index N, N W/2, when the first reading is performed, the S stage in fig. 2 needs to read the corresponding Legendre sequences from two consecutive storage addresses, the storage address of the Legendre sequence corresponding to each channel that is read for the first time is index _ chan (m), index _ chan (m +1), index _ chan (N), index _ chan (1 + chan) (mN +1), index _ chan (mN + chan) (mN + chan (1), index _ index N (1), index1_ channal2(mN +1), index2_ channalN (nN), index2_ channalN (nN + 1). In the second reading, at the stage S2 in fig. 2, the storage address of the Legendre sequence corresponding to each channel is obtained by adding 1 to the corresponding storage address of the first time, and the index1_ channal1(m1+2), index2_ channal1(n1+2), index1_ channal2(m2+2), index2_ channal2(n2+2), index … … index1_ channal n (mN +2), and index2_ channal n (nN +2) are added to the corresponding storage address of the first time. The order of reading the whole for the third time is: index1_ channal1(m1+3), index2_ channal1(n1+3) … … index1_ channal n (mN +3), and index2_ channal n (nN + 3).
Preferably, the operation performed according to the read Legendre sequence to obtain the continuous Weil code of each channel specifically includes the following steps:
and calculating the Legendre sequence corresponding to each channel read each time according to each Legendre sequence in sequence by adopting a time division multiplexing method to obtain the Weil code of each channel.
Specifically, the time division multiplexing is a parameter for division by operation, and the Legendre sequences are operated by the channels without overlapping on the time axis.
And for the Legendre sequences which are continuously read for multiple times and correspond to the same channel, adopting a pipeline operation method to sequentially operate according to the Legendre sequences to obtain the continuous Weil codes of the channel.
Specifically, for example, for the Legendre sequence read multiple times by the first channel, the Legendre sequence with the storage address of index1_ channal1(m1), index1_ channal1(m1+1), index2_ channal1(n1), and index2_ channal1(n1+1) is read for the first time, the offset part of the first Legendre sequence at index1_ channal1(m1) is removed according to the initial address of the first Legendre sequence corresponding to the first channel and the initial address of the second Legendre sequence, and the offset part is spliced with the first Legendre sequence at index1_ channal1(m1+1) to form a complete first Legendre sequence of Wbit, and the second Legendre sequence with the second Legendre sequence 2 is processed by XOR operation to obtain a second Leendre sequence, and the first Leendre sequence is obtained by performing a similar operation on the first Legendre sequence and the second Legendre sequence.
And then temporarily storing the offset part of the first Legendre sequence at the position of the index1_ channal1(m1+1) for subsequent splicing with the first Legendre sequence at the position of the index1_ channal1(m1+2) to obtain the first Legendre sequence of W bit, and carrying out the same operation on the second Legendre sequence. And splicing the first Legendre sequence and the second Legendre sequence read each time subsequently by the first channel with the offset part of the first Legendre sequence and the offset part of the second Legendre sequence temporarily stored last time to obtain a new first Legendre sequence of the W bit and a new second Legendre sequence of the W bit, carrying out XOR operation on the two sequences to obtain a new Weil code of the W bit, and so on to continuously obtain the Weil code of the first channel of the W bit.
By carrying out the same operation on Legendre sequences corresponding to other channels, Weil codes of all channels can be continuously obtained. And storing the offset part of the Legendre sequence in correspondence with the corresponding channel number when temporarily storing the offset part.
If the Weil code to be generated is the Weil code of the L1C signal, after the Weil code is obtained, the Weil code of the L1C signal can be obtained by inserting the fixed sequence 0110100 into the offset according to the offset of the Weil code. If the Weil code to be generated is the Weil code of the B1C signal, the Weil code of the B1C signal is obtained by circularly intercepting the generated Weil code, and the code length of the B1C signal is 10230, which can be obtained by intercepting the Weil code with the code length of 10243.
Preferably, each Weil code corresponds to two Legendre sequences, the two Legendre sequences are respectively a first Legendre sequence and a second Legendre sequence, the Legendre sequence corresponding to each channel is sequentially read at each reading, and the operation according to the read Legendre sequence is specifically realized as follows:
and when the Legendre sequence is read each time, for any one channel, the first Legendre sequence and the second Legendre sequence corresponding to the channel are read respectively twice continuously.
And carrying out exclusive OR operation on the first Legendre sequence and the second Legendre sequence to obtain the Weil code of the channel.
Preferably, after the step of obtaining the consecutive Weil codes of each channel according to the operation performed by the read Legendre sequence, the method further comprises the following steps:
and outputting the Weil codes of the channels according to the corresponding channels respectively.
Specifically, the Weil code of 1bit can be output at a time, and the Weil code of W bit can also be output at a time, and the number of output channels is consistent with the number of channels when the Legendre sequence is read.
As shown in fig. 3, a Weil code generating device according to an embodiment of the present invention includes:
and the control module is used for respectively determining the storage addresses of Legendre sequences corresponding to Weil codes to be generated by each channel.
And the reading module is used for continuously reading the corresponding Legendre sequence from the storage device in which the Legendre sequence is stored for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel during each reading.
And the calculation module is used for calculating according to the read Legendre sequence to obtain the continuous Weil codes of all the channels.
Preferably, the calculation module is specifically configured to:
and calculating the Legendre sequence corresponding to each channel read each time according to each Legendre sequence in sequence by adopting a time division multiplexing method to obtain the Weil code of each channel.
And for the Legendre sequences which are continuously read for multiple times and correspond to the same channel, adopting a pipeline operation method to sequentially operate according to the Legendre sequences to obtain the continuous Weil codes of the channel.
Preferably, as shown in fig. 4, the Weil code generating device further includes an output module, and the output module is configured to:
and outputting the Weil codes of the channels according to the corresponding channels respectively.
Another embodiment of the present invention provides a method for generating a web code, comprising the steps of storing a computer program in a memory; the processor is used for realizing the Weil code generation method when the computer program is executed. The Weil code generating device may be a SoC (System-on-a-Chip) Chip or an FPGA (field programmable Gate Array) prototype verification Chip.
For the SoC chip, a 32-bit bus CPU can be used, the storage device adopts a ROM memory, and Weil codes can be simultaneously generated through 16 channels at most to capture and track a plurality of satellite navigation signals in real time.
For the FPGA prototype verification chip, a 32-bit bus CPU can be adopted, and a RAM memory is adopted as a storage device.
When the receiver adopting the two chips is used for capturing and tracking the L1C signal or the B1C signal, the performance is stable, the power consumption is low, the sensitivity is high, the capturing sensitivity is about-142 dBm, and the tracking sensitivity is about-160 dBm.
Another embodiment of the present invention provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the above-mentioned method for generating the weil code.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A Weil code generation method, comprising the steps of:
respectively determining the storage address of a Legendre sequence corresponding to Weil code to be generated of each channel;
reading the corresponding Legendre sequence from a storage device in which the Legendre sequence is stored continuously for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel during each reading;
and operating according to the read Legendre sequence to obtain the continuous Weil code of each channel.
2. The Weil code generation method according to claim 1, wherein the step of respectively determining the storage addresses of the Legendre sequences corresponding to Weil codes to be generated in each channel specifically comprises the steps of:
determining an offset address of the Legendre sequence corresponding to the Weil code according to the Weil code to be generated;
and adding the offset address and the initial address of the Legendre sequence to obtain the storage address of the Legendre sequence.
3. The Weil code generation method according to claim 1, wherein each time reading is performed, the implementation of sequentially reading the Legendre sequence corresponding to each channel is as follows:
for any one of the channels, each time the Legendre sequence corresponding to the channel with K bits is read from the storage device, K is less than or equal to the bandwidth of the storage device.
4. A Weil code generation method according to any of claims 1 to 3, wherein said obtaining successive Weil codes of each of said channels by performing an operation according to said Legendre sequence read comprises the steps of:
calculating the Legendre sequence corresponding to each channel read each time according to each Legendre sequence in sequence by adopting a time division multiplexing method to obtain the Weil code of each channel;
and for the Legendre sequences which are continuously read for multiple times and correspond to the same channel, adopting a pipeline operation method to sequentially operate according to the Legendre sequences to obtain the continuous Weil codes of the channel.
5. The Weil code generation method according to claim 4, wherein each Weil code corresponds to two Legendre sequences, the two Legendre sequences are respectively a first Legendre sequence and a second Legendre sequence, the Legendre sequence corresponding to each channel is sequentially read at each reading, and the operation according to the read Legendre sequence is specifically realized as follows:
when the Legedre sequence is read every time, for any one channel, the first Legendre sequence and the second Legendre sequence corresponding to the channel are read twice continuously;
and carrying out exclusive OR operation on the first Legendre sequence and the second Legendre sequence to obtain the Weil code of the channel.
6. The Weil code generation method according to claim 1, wherein after said step of obtaining successive Weil codes for each of said channels by operating according to said Legendre sequence read, said method further comprises the steps of:
and outputting the Weil codes of the channels according to the corresponding channels respectively.
7. A Weil code generating device, comprising:
the control module is used for respectively determining the storage addresses of Legendre sequences corresponding to Weil codes to be generated of all channels;
the reading module is used for continuously reading the corresponding Legendre sequence from the storage device in which the Legendre sequence is stored for multiple times according to the storage address, and sequentially reading the Legendre sequence corresponding to each channel during each reading;
and the calculation module is used for calculating according to the read Legendre sequence to obtain the continuous Weil codes of all the channels.
8. The Weil code generation device of claim 7, wherein the calculation module is specifically configured to:
calculating the Legendre sequence corresponding to each channel read each time according to each Legendre sequence in sequence by adopting a time division multiplexing method to obtain the Weil code of each channel;
and for the Legendre sequences which are continuously read for multiple times and correspond to the same channel, adopting a pipeline operation method to sequentially operate according to the Legendre sequences to obtain the continuous Weil codes of the channel.
9. A weil code generation apparatus, comprising a memory and a processor;
the memory for storing a computer program;
the processor, when executing the computer program, is configured to implement the Weil code generation method of any of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the method of generating the weil code of any of claims 1 to 6.
CN201910932325.6A 2019-09-29 2019-09-29 Weil code generation method and device and storage medium Withdrawn CN110727004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910932325.6A CN110727004A (en) 2019-09-29 2019-09-29 Weil code generation method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910932325.6A CN110727004A (en) 2019-09-29 2019-09-29 Weil code generation method and device and storage medium

Publications (1)

Publication Number Publication Date
CN110727004A true CN110727004A (en) 2020-01-24

Family

ID=69219684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910932325.6A Withdrawn CN110727004A (en) 2019-09-29 2019-09-29 Weil code generation method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110727004A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694029A (en) * 2020-05-28 2020-09-22 哈尔滨工程大学 Hardware implementation method for generating B1C signal pseudo-random noise code
CN112596084A (en) * 2020-11-09 2021-04-02 华中光电技术研究所(中国船舶重工集团公司第七一七研究所) Multichannel ranging code generation device and method for Beidou B1C signals
CN113126127A (en) * 2021-04-02 2021-07-16 中国电子科技集团公司第五十四研究所 HDL (hardware description language) -based quick Weil code generation method
CN113391331A (en) * 2021-06-23 2021-09-14 湖南国科微电子股份有限公司 Ranging code acquisition method and device, electronic equipment and storage medium
CN113691344A (en) * 2021-10-25 2021-11-23 长沙海格北斗信息技术有限公司 Multi-path Weil code generation method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694029A (en) * 2020-05-28 2020-09-22 哈尔滨工程大学 Hardware implementation method for generating B1C signal pseudo-random noise code
CN112596084A (en) * 2020-11-09 2021-04-02 华中光电技术研究所(中国船舶重工集团公司第七一七研究所) Multichannel ranging code generation device and method for Beidou B1C signals
CN113126127A (en) * 2021-04-02 2021-07-16 中国电子科技集团公司第五十四研究所 HDL (hardware description language) -based quick Weil code generation method
CN113391331A (en) * 2021-06-23 2021-09-14 湖南国科微电子股份有限公司 Ranging code acquisition method and device, electronic equipment and storage medium
CN113391331B (en) * 2021-06-23 2022-12-09 湖南国科微电子股份有限公司 Ranging code acquisition method and device, electronic equipment and storage medium
CN113691344A (en) * 2021-10-25 2021-11-23 长沙海格北斗信息技术有限公司 Multi-path Weil code generation method and device
CN113691344B (en) * 2021-10-25 2021-12-28 长沙海格北斗信息技术有限公司 Multi-path Weil code generation method and device

Similar Documents

Publication Publication Date Title
CN110727004A (en) Weil code generation method and device and storage medium
US9405009B2 (en) Navigation data structure generation and data transmission for optimal time to first fix
KR101693389B1 (en) Apparatus and Method for generating satellite navigation signal based on software
CN105467409A (en) Universal navigational satellite capturing method and universal navigational satellite capturing system
US7477186B2 (en) Memory systems with column read to an arithmetic operation circuit, pattern detector circuits and methods and computer program products for the same
JP4828308B2 (en) Phase modulation sequence playback device
CN104808221A (en) Weil code generation device and satellite navigation signal receiver
CN104541182A (en) GNSS radio signal for improved synchronisation
US9454512B2 (en) Method of generating correlation function, method of tracking signal and signal tracking system
CN105527634B (en) A kind of satellite navigation message processing method and GPS receiver
CN103675862A (en) Method for generating satellite-borne multi-frequency and multi-mode universal pseudo-codes with configurable relevant separation distances
CN113253316B (en) Universal navigation signal capturing and processing method
CN109581433B (en) L5 signal capturing method and device and computer storage medium
CN113031026B (en) Ranging code generation method, device, equipment and storage medium
CN201152895Y (en) GPS signal correlating device
CN104181566A (en) Method of positioning receiver in global satellite navigation and positioning system and receiver
CN111650619A (en) Method and device for determining bit edge position, readable medium and bit synchronization method
CN106656257A (en) Method and device for determining code phase of ranging code, and user terminal
CN110376619B (en) Signal processing device in global navigation satellite system
CN107505637B (en) Hot start positioning method based on relative pseudo-range
CN104422939B (en) Method and apparatus for being associated with the signal received from navigational satellite system
JP2013228380A (en) Method and system for navigation
CN117610316B (en) GNSS positioning performance simulation test model generation method, device, equipment and medium
CN113009527A (en) Universal satellite navigation pseudo code generation method
JP2015200593A (en) Count value acquisition apparatus and count value acquisition program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200124

WW01 Invention patent application withdrawn after publication