CN113031026A - Ranging code generation method, device, equipment and storage medium - Google Patents
Ranging code generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113031026A CN113031026A CN202110211451.XA CN202110211451A CN113031026A CN 113031026 A CN113031026 A CN 113031026A CN 202110211451 A CN202110211451 A CN 202110211451A CN 113031026 A CN113031026 A CN 113031026A
- Authority
- CN
- China
- Prior art keywords
- ranging code
- satellite
- target satellite
- ranging
- target
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 10
- 238000005259 measurement Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/24—Acquisition or tracking or demodulation of signals transmitted by the system
- G01S19/30—Acquisition 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)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The application discloses a method, a device, equipment and a storage medium for generating ranging codes. The method comprises the following steps: generating ranging codes of all satellites in the target navigation system through a C program or a Matlab program; storing the ranging code to a Flash memory; when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code. Therefore, the ranging codes of all satellites in the target navigation system are generated through software, the ranging codes are stored in the Flash memory, when the satellite signals of the target satellites are captured, the corresponding ranging codes are extracted from the Flash memory through the ARM processor, the satellite signals of the target satellites can be conveniently tracked, the requirement of generating the ranging codes of the plurality of GNSS systems is met, the complexity of hardware can be reduced, and the baseband processing efficiency is improved.
Description
Technical Field
The present invention relates to the field of navigation systems, and in particular, to a method, an apparatus, a device, and a storage medium for generating ranging codes.
Background
Currently, a receiver captures and tracks a satellite signal, and performs correlation operation with a received signal through a carrier and a ranging code signal copied inside the receiver, and the ranging code is a pseudo-random noise code. In the prior art, the receiver generates the ranging code through hardware, because the ranging code is generally realized by a shift register, the implementation by hardware is more convenient. However, as GNSS systems (global navigation satellite systems) need to support more and more systems, such as GPS, GLONASS, GALILEO and beidou satellite systems, and the generation methods of ranging codes of various frequency bands of the systems are different, and the initial value of each satellite is also different, not only is the complexity of hardware implementation increased, but also the link delay is increased, because the ranging codes are realized through shift registers, the length is different from 511 to 10230, and the time for generating the ranging codes is increased. In the prior art, the generation of the test codes is improved in a parallel mode, but the hardware space is used for replacing time, so that the complexity of hardware is increased.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a device and a medium for generating ranging codes, which can reduce the complexity of hardware while satisfying the requirement of generating multiple GNSS system ranging codes. The specific scheme is as follows:
in a first aspect, the present application discloses a method for generating ranging codes, including:
generating ranging codes of all satellites in the target navigation system through a C program or a Matlab program;
storing the ranging code to a Flash memory;
when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code.
Optionally, when capturing a satellite signal of a target satellite, extracting, by using an ARM processor, a ranging code corresponding to the target satellite from the Flash memory includes:
when the satellite signal of the target satellite is captured, sending a ranging code acquisition request aiming at the target satellite to an ARM processor through a micro control unit;
the ARM processor acquires a request according to the ranging code and determines the storage position of the corresponding ranging code in the Flash memory;
and reading the ranging code and writing the ranging code into a register.
Optionally, the writing the ranging code into the register includes:
writing the ranging code into a local RAM memory through the ARM processor, and sending a response signal corresponding to the ranging code acquisition request to the micro control unit;
and after receiving the response signal, the micro control unit reads the ranging code from the local RAM memory and writes the ranging code into the register.
Optionally, before acquiring the satellite signal of the target satellite, the method further includes:
sending a target satellite list to the micro control unit through an ARM processor;
the micro control unit starts a capture module according to the target satellite list to capture satellite signals of a target satellite and checks the target satellite list to obtain parameter information corresponding to the target satellite; the parameter information comprises a navigation system type and a target satellite number;
generating the ranging code acquisition request based on the parameter information.
Optionally, the ranging code acquisition request includes the navigation system type, the target satellite number, the ranging code type, and an array pointer corresponding to the ranging code; the ranging code types include a pilot ranging code and a data ranging code.
Optionally, the acquiring the satellite signal of the target satellite includes:
receiving a radio frequency signal of the target satellite through an antenna and a low noise amplifier, and converting the radio frequency signal into a digital intermediate frequency signal by using a radio frequency circuit and digital-to-analog conversion;
and converting the digital intermediate frequency signal into a baseband signal through a baseband signal processing module so as to obtain a baseband signal corresponding to the satellite signal.
In a second aspect, the present application discloses a ranging code generating apparatus, including:
the distance measurement code generation module is used for generating the distance measurement codes of all satellites in the target navigation system through a C program or a Matlab program;
the storage module is used for storing the ranging code to a Flash memory;
and the ranging code calling module is used for extracting a ranging code corresponding to the target satellite from the Flash memory by using the ARM processor when the satellite signal of the target satellite is captured, so that the micro control unit can track the satellite signal of the target satellite by using the ranging code.
Optionally, the ranging code invoking module includes:
the request sending unit is used for sending a ranging code acquisition request aiming at a target satellite to the ARM processor through the micro control unit when the satellite signal of the target satellite is captured;
the ranging code query unit is used for the ARM processor to determine the storage position of the ranging code in the Flash memory according to the ranging code acquisition request;
and the reading and writing unit is used for reading the ranging code and writing the ranging code into a register.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the aforementioned ranging code generation method.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the aforementioned ranging code generation method.
In the application, the ranging codes of all satellites in the target navigation system are generated through a C program or a Matlab program; storing the ranging code to a Flash memory; when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code. Therefore, the ranging codes of all satellites in the target navigation system are generated through software, the ranging codes are stored in a Flash memory with low cost and large memory, when the satellite signals of the target satellite are captured, the ARM processor is used for extracting the corresponding ranging codes from the Flash memory, so that the micro control unit can track the satellite signals of the target satellite through the ranging codes, namely the ranging codes are generated through the software and stored in the Flash memory, the complexity of hardware is reduced while the requirement for generating the ranging codes of a plurality of GNSS systems is met, and meanwhile the baseband processing efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for generating ranging codes according to the present disclosure;
fig. 2 is a flowchart of a specific method for generating ranging codes according to the present disclosure;
FIG. 3 is a schematic diagram of a ranging code generator provided herein;
FIG. 4 is a schematic view of a GNSS demodulation process provided in the present application;
fig. 5 is a schematic structural diagram of a ranging code generating apparatus according to the present application;
fig. 6 is a block diagram of an electronic device provided in the present application.
Detailed Description
In the prior art, a receiver generates a ranging code through hardware, but as GNSS systems need more and more systems to be supported, and the ranging code generation modes of each frequency band of each system are different, the initial values of each satellite are different, so that not only is the complexity of hardware implementation increased, but also the link delay and the ranging code generation time are increased. In order to overcome the technical problem, the application provides a method for generating ranging codes, which can reduce the complexity of hardware and improve the efficiency of generating and utilizing the ranging codes while satisfying the requirement of generating the ranging codes of a plurality of GNSS systems.
The embodiment of the application discloses a method for generating ranging codes, and as shown in fig. 1, the method can include the following steps:
step S11: and generating the ranging codes of all the satellites in the target navigation system through a C program or a Matlab program.
In this embodiment, first, the ranging codes of all satellites in the target navigation system are generated through software, and specifically, the ranging codes of different satellites can be generated through a C program or a Matlab program based on navigation systems and satellite numbers of different satellites; it can be understood that the ranging code has good autocorrelation and cross-correlation properties as a pseudo-random noise code, and the satellite and the receiver can generate two sets of ranging codes with the same structure based on the same navigation system type, target satellite number and method. In the prior art, as shown in fig. 2, a ranging code generator may implement different offsets of the phase of a G2 sequence by modulo two addition of different taps of a shift register generating a G2 sequence, and may generate ranging codes of different satellites by modulo two addition of the G1 sequence. It can be understood that the principle of generating the ranging code by the hardware is the same as that of generating the ranging code by the software, the ranging code of different satellites is generated by the software through simulating the generating flow of the ranging code, but the process of generating the ranging code by the hardware is realized through an RTL (Register Transfer Language) Language, and the process can be written into a chip and cannot be modified; and the software realizes the generation of the ranging code through a C program or a Matlab program.
Step S12: and storing the ranging code to a Flash memory.
In this embodiment, after obtaining the ranging codes of different satellites, the ranging codes are stored in the Flash memory, the Flash memory has low cost and large memory space, and can store a large number of ranging codes.
Step S13: when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code.
In this embodiment, when the receiver captures a satellite signal of a target satellite, the ARM processor is used to extract a ranging code corresponding to the target satellite from the Flash memory, so that a Micro Controller Unit (MCU) tracks the satellite signal of the target satellite by using the ranging code. It can be understood that the ranging code of the target satellite is extracted from the Flash memory through the ARM processor, and then the micro control unit determines the distance between the target satellite and the receiver according to the received satellite signal and the extracted ranging code, and tracks the frequency offset and the code phase of the satellite.
As can be seen from the above, in this embodiment, the ranging codes of all satellites in the target navigation system are generated through the C program or the Matlab program; storing the ranging code to a Flash memory; when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code. Therefore, the ranging codes of all satellites in the target navigation system are generated through software, the ranging codes are stored in a Flash memory with low cost and large memory, when the satellite signals of the target satellite are captured, the ARM processor is used for extracting the corresponding ranging codes from the Flash memory, so that the micro control unit can track the satellite signals of the target satellite through the ranging codes, namely the ranging codes are generated through the software and stored in the Flash memory, the complexity of hardware is reduced while the requirement for generating the ranging codes of a plurality of GNSS systems is met, and meanwhile the baseband processing efficiency can be improved.
The embodiment of the application discloses a specific method for generating ranging codes, and as shown in fig. 3, the method may include the following steps:
step S21: and generating the ranging codes of all the satellites in the target navigation system through a C program or a Matlab program.
Step S22: and storing the ranging code to a Flash memory.
Step S23: when the satellite signal of the target satellite is captured, a ranging code acquisition request aiming at the target satellite is sent to the ARM processor through the micro control unit.
In the embodiment, when a satellite signal of a target satellite is captured, a Micro Control Unit (MCU) sends a ranging code acquisition request aiming at the target satellite to an ARM processor; it can be understood that, as shown in fig. 4, the MCU module is used to complete the acquisition, tracking and synchronization of signals and send the parsed bit information to the ARM processor, and this part of the circuit can be implemented by the DSP microprocessor, and specifically, the information can be exchanged with the ARM processor through the I2C bus.
In this embodiment, before acquiring the satellite signal of the target satellite, the method may further include: sending a target satellite list to the micro control unit through an ARM processor; the micro control unit starts a capture module according to the target satellite list to capture satellite signals of a target satellite and checks the target satellite list to obtain parameter information corresponding to the target satellite; the parameter information comprises a navigation system type and a target satellite number; generating the ranging code acquisition request based on the parameter information. It can be understood that the micro control unit is configured to acquire and track satellite signals, but a specific acquisition object is determined according to a target satellite list sent by the ARM processor, where the target satellite list may include one or more satellites in the target navigation system and includes a navigation system type corresponding to the satellites and a target satellite number, and then the micro control unit generates a ranging code acquisition request corresponding to the target satellite based on the parameter information.
In this embodiment, the ranging code acquisition request may include the navigation system type, the target satellite number, the ranging code type, and an array pointer corresponding to the ranging code; the ranging code types may include a pilot ranging code and a data ranging code.
In this embodiment, the capturing the satellite signal of the target satellite may include: receiving a radio frequency signal of the target satellite through an antenna and a low noise amplifier, and converting the radio frequency signal into a digital intermediate frequency signal by using a radio frequency circuit and digital-to-analog conversion; and converting the digital intermediate frequency signal into a baseband signal through a baseband signal processing module so as to obtain a baseband signal corresponding to the satellite signal. It can be understood that, as shown in fig. 4, the rf analog module receives the rf signal through the antenna and the Low Noise Amplifier (LNA), and after mixing and filtering by the rf circuit, sends the rf signal to the analog circuit for power control and digital-to-analog conversion into a digital intermediate frequency signal. This part of the circuit can be realized by analog circuits. The baseband signal processing module processes the digital intermediate frequency signal to become a baseband signal, and then performs related operation, the part of circuits can be realized by ASIC or FPGA, and the baseband signal processing module and the MCU transmit control information and data by interrupting and reading and writing registers. And the micro control unit captures and tracks signals through related operation, the analyzed bit information is sent to the ARM, the ARM analyzes the tracked bit information stream to generate ephemeris information, and finally the ephemeris information is modeled and solved to calculate the time position and the speed received by the user.
Step S24: and the ARM processor determines the storage position of the corresponding ranging code in the Flash memory according to the ranging code acquisition request.
Step S25: and writing the ranging code into a local RAM memory through the ARM processor, and sending a response signal corresponding to the ranging code acquisition request to the micro control unit.
In this embodiment, the ARM processor searches for a corresponding ranging code from Flash according to the received ranging code acquisition request, writes the ranging code into a designated array, and sends a response signal generated by the ranging code to the micro control unit after the ranging code acquisition request is completed.
Step S26: and after receiving the response signal, the micro control unit reads the ranging code from the local RAM memory and writes the ranging code into the register, so that the micro control unit can track the satellite signal of the target satellite by using the ranging code.
In this embodiment, after receiving the response signal generated by the ranging code, the mcu reads the ranging code from the local RAM memory, and sequentially writes the data of the ranging code into the register, so that the hardware can calculate the distance between the receiver and the satellite using the ranging code, and further track the satellite signal of the target satellite.
For the specific processes of step S21 and step S22, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
As can be seen from the above, in this embodiment, the ranging code of the navigation system is generated by software and stored in Flash, the ARM obtains the storage location of the ranging code according to the ranging code acquisition request, reads the corresponding ranging code from Flash into the internal RAM, and finally writes the ranging code into the register, so that the hardware reads the corresponding ranging code through the register. The distance measurement code generator is not needed to be used for generating the distance measurement code in the process, the complexity of hardware implementation can be reduced, the baseband processing efficiency is further improved, the implementation is simple and convenient, and the software-based mode is easier to maintain and update.
Correspondingly, an embodiment of the present application further discloses a ranging code generating device, as shown in fig. 5, the ranging code generating device includes:
the ranging code generating module 11 is configured to generate ranging codes of all satellites in the target navigation system through a C program or a Matlab program;
the storage module 12 is used for storing the ranging code to a Flash memory;
and the ranging code calling module 13 is configured to, when a satellite signal of a target satellite is captured, extract a ranging code corresponding to the target satellite from the Flash memory by using the ARM processor, so that the micro control unit tracks the satellite signal of the target satellite by using the ranging code.
As can be seen from the above, in this embodiment, the ranging codes of all satellites in the target navigation system are generated through the C program or the Matlab program; storing the ranging code to a Flash memory; when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code. Therefore, the ranging codes of all satellites in the target navigation system are generated through software, the ranging codes are stored in a Flash memory with low cost and large memory, when the satellite signals of the target satellite are captured, the ARM processor is used for extracting the corresponding ranging codes from the Flash memory, so that the micro control unit can track the satellite signals of the target satellite through the ranging codes, namely the ranging codes are generated through the software and stored in the Flash memory, the complexity of hardware is reduced while the requirement for generating the ranging codes of a plurality of GNSS systems is met, and meanwhile the baseband processing efficiency can be improved.
In some embodiments, the ranging code invoking module 13 may specifically include:
the request sending unit is used for sending a ranging code acquisition request aiming at a target satellite to the ARM processor through the micro control unit when the satellite signal of the target satellite is captured;
the ranging code query unit is used for the ARM processor to determine the storage position of the ranging code in the Flash memory according to the ranging code acquisition request;
and the reading and writing unit is used for reading the ranging code and writing the ranging code into a register.
The reading and writing unit may specifically include:
the first writing unit is used for writing the ranging code into a local RAM memory through the ARM processor and sending a response signal corresponding to the ranging code acquisition request to the micro control unit;
and the second writing-in unit is used for reading the ranging code from the local RAM memory after the micro-control unit receives the response signal and writing the ranging code into the register.
In some embodiments, the ranging code generating apparatus may specifically include:
the radio frequency analog module is used for receiving a radio frequency signal of the target satellite through an antenna and a low noise amplifier and converting the radio frequency signal into a digital intermediate frequency signal by utilizing a radio frequency circuit and digital-to-analog conversion;
and the baseband signal processing module is used for converting the digital intermediate frequency signal into a baseband signal through the baseband signal processing module so as to obtain a baseband signal corresponding to the satellite signal.
Further, the embodiment of the present application also discloses an electronic device, which is shown in fig. 6, and the content in the drawing cannot be considered as any limitation to the application scope.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the ranging code generation method disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon include an operating system 221, a computer program 222, data 223 including a ranging code, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the ranging code generation method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, an embodiment of the present application further discloses a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and when the computer-executable instructions are loaded and executed by a processor, the steps of the ranging code generation method disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for a method, an apparatus, a device and a medium for generating a ranging code, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for generating ranging codes, comprising:
generating ranging codes of all satellites in the target navigation system through a C program or a Matlab program;
storing the ranging code to a Flash memory;
when the satellite signal of the target satellite is captured, the ranging code corresponding to the target satellite is extracted from the Flash memory by the ARM processor, so that the micro control unit can track the satellite signal of the target satellite by the ranging code.
2. The method as claimed in claim 1, wherein the extracting the ranging code corresponding to the target satellite from the Flash memory by using an ARM processor when the satellite signal of the target satellite is captured comprises:
when the satellite signal of the target satellite is captured, sending a ranging code acquisition request aiming at the target satellite to an ARM processor through a micro control unit;
the ARM processor acquires a request according to the ranging code and determines the storage position of the corresponding ranging code in the Flash memory;
and reading the ranging code and writing the ranging code into a register.
3. The method of claim 2, wherein the writing the ranging code into a register comprises:
writing the ranging code into a local RAM memory through the ARM processor, and sending a response signal corresponding to the ranging code acquisition request to the micro control unit;
and after receiving the response signal, the micro control unit reads the ranging code from the local RAM memory and writes the ranging code into the register.
4. The method of claim 2, wherein before the acquiring the satellite signal of the target satellite, the method further comprises:
sending a target satellite list to the micro control unit through an ARM processor;
the micro control unit starts a capture module according to the target satellite list to capture satellite signals of a target satellite and checks the target satellite list to obtain parameter information corresponding to the target satellite; the parameter information comprises a navigation system type and a target satellite number;
generating the ranging code acquisition request based on the parameter information.
5. The method of claim 4, wherein the ranging code acquisition request comprises the navigation system type, the target satellite number, a ranging code type, and an array pointer corresponding to a ranging code; the ranging code types include a pilot ranging code and a data ranging code.
6. The method of claim 1, wherein the acquiring the satellite signal of the target satellite comprises:
receiving a radio frequency signal of the target satellite through an antenna and a low noise amplifier, and converting the radio frequency signal into a digital intermediate frequency signal by using a radio frequency circuit and digital-to-analog conversion;
and converting the digital intermediate frequency signal into a baseband signal through a baseband signal processing module so as to obtain a baseband signal corresponding to the satellite signal.
7. A ranging code generating apparatus, comprising:
the distance measurement code generation module is used for generating the distance measurement codes of all satellites in the target navigation system through a C program or a Matlab program;
the storage module is used for storing the ranging code to a Flash memory;
and the ranging code calling module is used for extracting a ranging code corresponding to the target satellite from the Flash memory by using the ARM processor when the satellite signal of the target satellite is captured, so that the micro control unit can track the satellite signal of the target satellite by using the ranging code.
8. The apparatus of claim 7, wherein the ranging code invoking module comprises:
the request sending unit is used for sending a ranging code acquisition request aiming at a target satellite to the ARM processor through the micro control unit when the satellite signal of the target satellite is captured;
the ranging code query unit is used for the ARM processor to determine the storage position of the ranging code in the Flash memory according to the ranging code acquisition request;
and the reading and writing unit is used for reading the ranging code and writing the ranging code into a register.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the ranging code generation method of any of claims 1 to 6.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements a ranging code generation method as claimed in any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110211451.XA CN113031026B (en) | 2021-02-25 | 2021-02-25 | Ranging code generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110211451.XA CN113031026B (en) | 2021-02-25 | 2021-02-25 | Ranging code generation method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113031026A true CN113031026A (en) | 2021-06-25 |
CN113031026B CN113031026B (en) | 2024-03-19 |
Family
ID=76462329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110211451.XA Active CN113031026B (en) | 2021-02-25 | 2021-02-25 | Ranging code generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113031026B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116520367A (en) * | 2023-07-04 | 2023-08-01 | 深圳市天龙世纪科技发展有限公司 | Satellite positioning security method and device based on Internet of things, electronic equipment and medium |
CN117471504A (en) * | 2023-11-09 | 2024-01-30 | 毫厘智能科技(江苏)有限公司 | GNSS baseband chip verification method, electronic equipment and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103293538A (en) * | 2013-06-17 | 2013-09-11 | 中南大学 | Beidou satellite signal acquisition method based on code storage |
CN104808221A (en) * | 2014-01-29 | 2015-07-29 | 清华大学 | Weil code generation device and satellite navigation signal receiver |
US20170212246A1 (en) * | 2014-08-20 | 2017-07-27 | Sony Semiconductor Solutions Corporation | Receiving apparatus, receiving method, and program for global navigation satellite system |
CN206832997U (en) * | 2017-04-01 | 2018-01-02 | 西安拓蓝电子科技有限公司 | One kind is used for the parallel generation module of GPS system L1 band receiver spread spectrum code sequences |
CN109557568A (en) * | 2018-11-29 | 2019-04-02 | 湖南国科微电子股份有限公司 | A kind of ranging code generation method and device |
US20200049829A1 (en) * | 2017-04-20 | 2020-02-13 | Wuhan University | Method and system of real-time transmission and demodulation of beidou satellite navigation signals |
CN111090108A (en) * | 2019-08-22 | 2020-05-01 | 香港理工大学深圳研究院 | Deception signal generation method and device |
CN112068164A (en) * | 2020-09-15 | 2020-12-11 | 湖南国科微电子股份有限公司 | Navigation satellite capturing method and device, satellite navigation receiver and storage medium |
-
2021
- 2021-02-25 CN CN202110211451.XA patent/CN113031026B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103293538A (en) * | 2013-06-17 | 2013-09-11 | 中南大学 | Beidou satellite signal acquisition method based on code storage |
CN104808221A (en) * | 2014-01-29 | 2015-07-29 | 清华大学 | Weil code generation device and satellite navigation signal receiver |
US20170212246A1 (en) * | 2014-08-20 | 2017-07-27 | Sony Semiconductor Solutions Corporation | Receiving apparatus, receiving method, and program for global navigation satellite system |
CN206832997U (en) * | 2017-04-01 | 2018-01-02 | 西安拓蓝电子科技有限公司 | One kind is used for the parallel generation module of GPS system L1 band receiver spread spectrum code sequences |
US20200049829A1 (en) * | 2017-04-20 | 2020-02-13 | Wuhan University | Method and system of real-time transmission and demodulation of beidou satellite navigation signals |
CN109557568A (en) * | 2018-11-29 | 2019-04-02 | 湖南国科微电子股份有限公司 | A kind of ranging code generation method and device |
CN111090108A (en) * | 2019-08-22 | 2020-05-01 | 香港理工大学深圳研究院 | Deception signal generation method and device |
CN112068164A (en) * | 2020-09-15 | 2020-12-11 | 湖南国科微电子股份有限公司 | Navigation satellite capturing method and device, satellite navigation receiver and storage medium |
Non-Patent Citations (2)
Title |
---|
LUKE WINTEMITZ 等: "Navigator GPS Receiver for Fast Acquisition and Weak Signal Space Applications", 《17TH INTERNATIONAL TECHNICAL MEETING OF THE SATELLITE DIVISION OF THE INSTITUTE OF NAVIGATION》, 24 September 2004 (2004-09-24), pages 1 - 14 * |
陈伟波 等: "导航卫星有效载荷新型扩频码研究及实现", 《遥感遥控》, vol. 41, no. 02, 15 March 2020 (2020-03-15), pages 43 - 48 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116520367A (en) * | 2023-07-04 | 2023-08-01 | 深圳市天龙世纪科技发展有限公司 | Satellite positioning security method and device based on Internet of things, electronic equipment and medium |
CN116520367B (en) * | 2023-07-04 | 2023-09-08 | 深圳市天龙世纪科技发展有限公司 | Satellite positioning security method and device based on Internet of things, electronic equipment and medium |
CN117471504A (en) * | 2023-11-09 | 2024-01-30 | 毫厘智能科技(江苏)有限公司 | GNSS baseband chip verification method, electronic equipment and medium |
CN117471504B (en) * | 2023-11-09 | 2024-06-07 | 毫厘智能科技(江苏)有限公司 | GNSS baseband chip verification method, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN113031026B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5976768B2 (en) | Global navigation receiver | |
CN101568851B (en) | Method for acquisition of GPS signals and GPS receiver with sample time error and frequency offset compensation | |
US7526015B2 (en) | Parallel correlator implementation using hybrid correlation in spread-spectrum communication | |
US20170139053A1 (en) | Simultaneous signal reception device of different satellite navigation systems | |
CN102282773B (en) | Method and system for spread spectrum signal acquisition | |
CN113031026B (en) | Ranging code generation method, device, equipment and storage medium | |
US20090213006A1 (en) | Gnss receiver with reduced storage requirements | |
CN112910499B (en) | Spread spectrum signal accurate acquisition system | |
CN103149579A (en) | Adding multi-system functionalities to legacy navigation satellite system receivers | |
CN101952735B (en) | Multiphase code generator and GNSS receiver | |
CN110727004A (en) | Weil code generation method and device and storage medium | |
CN103207400A (en) | Method Of Capturing Satellite Signal And Device For Capturing Satellite Signal | |
WO2024148778A1 (en) | Positioning method and apparatus fusing indoor and outdoor satellites, and terminal device and storage medium | |
JP6047944B2 (en) | Receiver and correlation integration processing method | |
US20070002933A1 (en) | Parallel correlator implementation using block integration for spread-spectrum communication | |
CN201152895Y (en) | GPS signal correlating device | |
US9977131B2 (en) | Fast fix using perfect reference in a satellite-based positioning system | |
KR20130006171A (en) | Signal processing method, correlator, software signal receiver by using code cycle | |
JP2015068661A (en) | Satellite signal search method | |
CN112764063A (en) | Method for realizing capture processing and receiver | |
JP2015200593A (en) | Count value acquisition apparatus and count value acquisition program | |
CN106896381B (en) | A kind of signal search method and apparatus | |
CN104422939A (en) | Method and apparatus for correlating signals received from a navigation satellite system | |
CN113391331B (en) | Ranging code acquisition method and device, electronic equipment and storage medium | |
KR100808922B1 (en) | Method and Apparatus for Fast Signal Acquisition in Receiver |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |