GPS analog signal generation methods, devices, storage media, and electronic equipment
By determining the phase and chip rate of the GPS analog satellite pseudo-noise code received by the receiver, the target pseudo-noise code is generated, solving the problem of high complexity in GPS analog signal generation and realizing simple and efficient analog signal generation and accurate navigation and positioning.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2026-04-07
AI Technical Summary
Existing technologies are highly complex in generating GPS analog signals, requiring pre-designed real-time calculations of trigonometric functions, which makes the process cumbersome.
By determining the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, calculating the chip rate, controlling the chip programmer to generate the target pseudo-noise code, and generating the GPS analog signal based on the actual phase, complex trigonometric function calculations are avoided.
The process of generating GPS analog signals has been simplified, improving the accuracy and efficiency of generation, reducing complexity, and ensuring the accuracy of navigation and positioning.
Smart Images

Figure CN116203590B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a method, apparatus, storage medium and electronic device for generating GPS analog signals. Background Technology
[0002] Currently, navigation and positioning primarily rely on the US Global Positioning System (GPS). If GPS were to become unusable, it would severely disrupt the normal operations of various industries and sectors. To avoid this problem, the common practice is to generate analog GPS signals independently to prevent GPS system outages.
[0003] However, the generation of GPS analog signals requires the pre-design of real-time calculations of trigonometric functions, which is quite complex. Summary of the Invention
[0004] This disclosure provides a method, apparatus, storage medium, and electronic device for generating GPS analog signals, thereby reducing the complexity of GPS analog signal generation.
[0005] In a first aspect, one embodiment of this disclosure provides a method for generating GPS analog signals, including:
[0006] The phases of the initial pseudo-noise codes transmitted by the GPS analog satellites received by the receiver at different times are determined, resulting in multiple phases;
[0007] Multiple chip rates are determined based on the interval between multiple phases and two adjacent phases.
[0008] The control chip programmer generates each chip according to the chip rate, and generates the target pseudo-noise code based on multiple chips;
[0009] Determine the actual phase of the target pseudo-noise code at each time point to obtain multiple actual phases;
[0010] GPS analog signals are generated based on multiple actual phases.
[0011] In one optional embodiment of this disclosure, the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times is determined to obtain multiple phases, including:
[0012] Determine the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at the first moment;
[0013] Determine the second pseudorange between the GPS simulated satellite and the receiver at a second time point; wherein the second time point is later than the first time point but adjacent to the first time point.
[0014] The second phase of the initial pseudo-noise code received by the receiver at the second time point is determined based on the first phase and the second pseudorange.
[0015] In an optional embodiment of this disclosure, determining the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at a first moment includes:
[0016] Determine the initial phase of the initial pseudo-noise code transmitted by the GPS simulated satellite at the first moment;
[0017] Determine the first pseudorange between the GPS simulated satellite and the receiver at the first moment;
[0018] The first phase of the initial pseudo-noise code received by the receiver at the first moment is determined based on the initial phase, the first pseudorange, and the frequency of the GPS signal.
[0019] In an optional embodiment of this disclosure, determining the second phase of the initial pseudo-noise code received by the receiver at a second time point based on the first phase and the second pseudorange includes:
[0020] The ratio of the second pseudorange to the speed of light is calculated to obtain the first duration;
[0021] The second phase of the initial pseudo-noise code is determined based on the first phase, the first duration, and the frequency of the GPS signal.
[0022] In an optional embodiment of this disclosure, the receiver receives initial pseudo-noise code according to a preset period, determines the phase of the initial pseudo-noise code transmitted by the GPS simulated satellite received by the receiver at different times, and obtains multiple phases, including:
[0023] Determine the initial phase of the initial pseudo-noise code received by the receiver at the initial moment;
[0024] Determine the current pseudorange between the GPS analog satellite and the receiver at the current moment;
[0025] The receiving frequency of the receiver to receive the initial pseudo-noise code is determined based on the initial time and the current time;
[0026] The phase of the initial pseudo-noise code received by the receiver at the current moment is determined based on the initial phase, current pseudorange, receiving frequency, and the frequency of the GPS signal.
[0027] In an optional embodiment of this disclosure, determining the phase of the initial pseudo-noise code received by the receiver at the current moment based on the initial phase, the current pseudorange, the reception frequency, and the frequency of the GPS signal includes:
[0028] Calculate the ratio of the current pseudorange to the speed of light to obtain the second duration;
[0029] The third duration is obtained by multiplying the receiving frequency by the preset period;
[0030] Calculate the sum of the second and third durations to obtain the total duration;
[0031] The phase of the initial pseudo-noise code received by the receiver at the current moment is determined based on the total duration, the initial phase, and the frequency of the GPS signal.
[0032] In one optional embodiment of this disclosure, generating a GPS analog signal based on multiple actual phases includes:
[0033] Obtain navigation data codes transmitted by GPS simulated satellites;
[0034] The navigation data code is modulated based on the actual phase to obtain the GPS digital signal;
[0035] The GPS digital signal is converted from digital to analog to obtain the GPS analog signal.
[0036] Secondly, one embodiment of this disclosure provides a GPS analog signal generation apparatus, the apparatus comprising:
[0037] The first determining module is used to determine the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, and obtain multiple phases;
[0038] The second determining module is used to determine multiple chip rates based on multiple phases and the interval between two adjacent phases.
[0039] The first generation module is used to control the chip programmer to generate each chip according to each chip rate, and to generate the target pseudo-noise code based on multiple chips;
[0040] The third determining module is used to determine the actual phase of the target pseudo-noise code at each time moment, and obtain multiple actual phases;
[0041] The second generation module is used to generate GPS analog signals based on multiple actual phases.
[0042] Thirdly, one embodiment of this disclosure provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method described above.
[0043] Fourthly, one embodiment of this disclosure provides an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described method by executing the executable instructions.
[0044] The technical solution disclosed herein has the following beneficial effects:
[0045] The aforementioned GPS analog signal generation method first determines the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times. Then, it calculates the chip rate for generating chips from the phase in the initial pseudo-noise code. Next, it controls the chip programmer to generate the target pseudo-noise code according to the obtained chip rate. Finally, based on the actual phase of the target pseudo-noise code at each time, the actual phase corresponding to each chip can be obtained. The analog signal generated based on the actual phase of each chip is consistent with the pre-set actual phase of the GPS analog satellite. Therefore, navigation and positioning can be performed based on the obtained GPS analog signal with high accuracy. Furthermore, the GPS analog signal generation method provided in this disclosure only requires real-time determination of the phase and chip rate of the currently predetermined GPS analog satellite by the receiver, and finally, the corresponding GPS analog signal is generated based on the chip rate. The method is simple and fast, requiring no pre-designed complex trigonometric function calculations, thus solving the technical problem of high complexity in current GPS analog signal generation in traditional technologies and achieving a reduction in the complexity of GPS analog signal generation.
[0046] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0048] Figure 1 This illustration shows an application scenario diagram of a GPS analog signal generation method according to this exemplary embodiment;
[0049] Figure 2 This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0050] Figure 3 This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0051] Figure 4 This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0052] Figure 5 This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0053] Figure 6This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0054] Figure 7 This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0055] Figure 8 This diagram illustrates a flowchart of a GPS analog signal generation method in this exemplary embodiment;
[0056] Figure 9 This diagram illustrates the data interaction in a GPS analog signal generation method according to this exemplary embodiment.
[0057] Figure 10 This diagram illustrates the structure of a GPS analog signal generation device according to this exemplary embodiment.
[0058] Figure 11 A schematic diagram of the structure of an electronic device in this exemplary embodiment is shown. Detailed Implementation
[0059] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of exemplary embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0060] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0061] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0062] Currently, navigation and positioning primarily utilize the US Global Positioning System (GPS). If GPS were to become unusable, it would severely disrupt the normal operations of various industries and sectors. To avoid this problem, the common practice is to generate analog GPS signals independently. However, generating analog GPS signals requires pre-designing real-time calculations of trigonometric functions, which is highly complex.
[0063] In view of the above problems, this disclosure provides a method for generating GPS analog signals. First, the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times is determined. Then, the chip rate of the phase in the initial pseudo-noise code is calculated to generate chips. Next, a chip programmer is controlled to generate a target pseudo-noise code according to the obtained chip rate. Finally, the actual phase of each chip is obtained based on the actual phase of the target pseudo-noise code at each time. The analog signal generated based on the actual phase of each chip is consistent with the pre-set actual phase of the GPS analog satellite. Therefore, navigation and positioning can be performed based on the obtained GPS analog signal with high accuracy. Furthermore, the GPS analog signal generation method provided by this disclosure only requires real-time determination of the phase and chip rate of the currently predetermined GPS analog satellite by the receiver, and finally, the corresponding GPS analog signal is generated based on the chip rate. The method is simple and fast, without the need for pre-designed complex trigonometric function calculations, thus solving the technical problem of high complexity in the generation of current GPS analog signals in traditional technologies, and achieving a reduction in the complexity of GPS analog signal generation.
[0064] The following is a brief introduction to the application environment of the GPS analog signal generation method provided in the embodiments of this disclosure:
[0065] Please see Figure 1 The GPS analog signal generation method provided in this embodiment is applied to a GPS analog system 10. The GPS analog system 10 includes at least a microprocessor 110, a chip editor 120, and a controller 130. The microprocessor 110 can be an ARM processor, the chip editor 120 can be an integrated chip such as an FPGA (Field Programmable Gate Array), and the controller 130 can be any server, computer, PLC chip, etc. with data processing and control capabilities. This embodiment does not make any specific limitations.
[0066] The following example illustrates how the GPS analog signal generation method is applied to the aforementioned controller to generate GPS analog signals. Please refer to [link to relevant documentation]. Figure 2 The GPS analog signal generation method provided in this embodiment includes the following steps 201-205:
[0067] Step 201: The controller determines the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, and obtains multiple phases.
[0068] The initial pseudo-noise code refers to the pseudo-noise code emitted by the GPS simulated satellite. This pseudo-noise code, also known as pseudo-random noise code or ranging code, mainly includes two types: fine ranging code (P code) and coarse ranging code (C / A code). The P code has a code rate of 10.23MHz, and the C / A code has a code rate of 1.023MHz, with a length of 1023. It should be noted that this initial pseudo-noise code refers to all pseudo-noise codes emitted by the GPS simulated satellite during its operation, not just the first one emitted. The GPS simulated satellite can be any operational satellite in the space station, not limited to the GPS system, BeiDou system, or any other navigation and positioning system. The number of GPS simulated satellites can be selected according to actual needs; this embodiment does not impose any limitations. Phase can be understood as the degree of chip offset. For example, the C / A code includes 1023 chips, and each chip represents one phase. The phase of the initial pseudo-noise code is the current encoded position of the pseudo-noise code, which is the position corresponding to the last chip.
[0069] Step 202: The controller determines multiple chip rates based on multiple phases and the interval between two adjacent phases.
[0070] For example, the phase of the initial pseudo-noise code at the first moment is PN. t1 The phase of the initial pseudo-noise code at the second time step is PN. t2 If the time interval between the first and second moments is Δt, then the corresponding chip rate is... It should be noted that the phase PN at this first moment t1 The phase of the initial pseudo-noise code transmitted by the GPS simulated satellite, measured in practice, and the phase PN at the second moment. t2 Based on the phase PN at the first moment t1 The pseudorange at the second time point is calculated, and of course, the phase PN at that second time point is... t2 It can also be done by comparing with PN at the first moment. t1 The same method was used to obtain the actual measurement, and this embodiment is not specifically limited. Similarly, the rates of other chips can be calculated using the same method.
[0071] Step 203: The controller controls the chip programmer to generate each chip according to the chip rate, and generates the target pseudo-noise code based on multiple chips.
[0072] The chip programmer can be a pre-configured software program in the controller or other electronic devices. This embodiment does not impose specific limitations and can be selected according to the actual situation, as long as it can generate chips. After obtaining the chip rates through the above steps, the controller generates chips at different times according to the corresponding chip efficiency based on the internally pre-configured chip generation information. The generated chips are arranged in a predetermined sequence to generate the target pseudo-noise code.
[0073] Step 204: The controller determines the actual phase of the target pseudo-noise code at each time moment, and obtains multiple actual phases.
[0074] The actual phase refers to the actual phase of each chip in the target pseudo-noise code generated based on the chip rate mentioned above. This is different from the phase in steps 201 and 202, which are calculated phases. It can also be understood that the phase obtained in steps 201-202 is the theoretical phase.
[0075] Step 205: The controller generates GPS analog signals based on multiple actual phases.
[0076] After obtaining multiple actual phases, the control equipment processes the pre-configured message information according to the actual phases, including arranging, modulation, and digital-to-analog conversion, to form a GPS analog signal.
[0077] The GPS analog signal generation method provided in this disclosure first determines the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times. Then, it calculates the chip rate of the phase-generated chips in the initial pseudo-noise code. Next, it controls the chip programmer to generate the target pseudo-noise code according to the obtained chip rate. Finally, based on the actual phase of the target pseudo-noise code at each time, the actual phase corresponding to each chip can be obtained. The analog signal generated based on the actual phase of each chip is consistent with the actual phase of the pre-set GPS analog satellite. Therefore, navigation and positioning can be performed based on the obtained GPS analog signal with high accuracy. Furthermore, the GPS analog signal generation method provided in this disclosure only requires real-time determination of the phase and chip rate of the currently predetermined GPS analog satellite by the receiver, and finally, the corresponding GPS analog signal is generated based on the chip rate. The method is simple and fast, without the need for pre-designed complex trigonometric function calculations, thus solving the technical problem of high complexity in the generation of current GPS analog signals in traditional technologies and achieving a reduction in the complexity of GPS analog signal generation.
[0078] Please see Figure 3In an optional embodiment of this disclosure, step 201 above, where the controller determines the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, and obtains multiple phases, includes the following steps 301-303:
[0079] Step 301: The controller determines the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at the first moment.
[0080] In practice, each GPS analog satellite continuously transmits pseudo-noise codes, that is, it continuously transmits initial pseudo-noise codes. The receiver receives them according to a certain period. For example, the first phase of the initial pseudo-noise code received at the first moment is the 100th bit, that is, the last bit of the current initial pseudo-noise code chip is the 100th bit.
[0081] Please see Figure 4 In a specific embodiment of this disclosure, step 301, where the controller determines the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at a first moment, may include the following steps 401-403:
[0082] Step 401: The controller determines the initial phase of the initial pseudo-noise code transmitted by the GPS simulated satellite at the first moment;
[0083] Step 402: The controller determines the first pseudorange between the GPS simulated satellite and the receiver at the first moment;
[0084] Step 403: The controller determines the first phase of the initial pseudo-noise code received by the receiver at the first moment based on the initial phase, the first pseudorange, and the frequency of the GPS signal.
[0085] The controller can calculate the first phase using the following formula (1):
[0086]
[0087] In formula (1), PN1 represents the first phase of the initial pseudo-noise code, PN0 represents the initial phase of the initial pseudo-noise code, L1 represents the first pseudorange, c represents the speed of light, and 1.023MHz represents the frequency of the GPS signal.
[0088] Step 302: The controller determines the second pseudorange between the GPS simulated satellite and the receiver at the second time point.
[0089] The second time point is later than the first time point but adjacent to it. The GPS simulation satellites are all operational satellites in the space station. Satellites in operation will move continuously along a predetermined path, so the distance between them and the receiver will also change in real time. Therefore, the controller needs to re-determine the second pseudorange between the GPS simulation satellites and the receiver at the second time point.
[0090] Step 303: The controller determines the second phase of the initial pseudo-noise code received by the receiver at the second time point based on the first phase and the second pseudorange.
[0091] The GPS simulated satellite moves continuously along a pre-set path. After the controller determines the first phase at the first moment, it can obtain the second phase of the initial pseudo-noise code of the GPS simulated satellite at the second moment by using the phase calculation formula based on the second pseudorange between the GPS simulated satellite and the receiver at the second moment.
[0092] Please see Figure 5 In a specific embodiment of this disclosure, step 303, where the controller determines the second phase of the initial pseudo-noise code received by the receiver at the second time point based on the first phase and the second pseudorange, includes the following steps 501-502:
[0093] Step 501: The controller calculates the ratio between the second pseudorange and the speed of light to obtain the first duration;
[0094] Step 502: The controller determines the second phase of the initial pseudo-noise code based on the first phase, the first duration, and the frequency of the GPS signal.
[0095] The controller can calculate the second phase based on the following formula (2):
[0096]
[0097] In formula (2), PN2 represents the second phase of the initial pseudo-noise code, PN1 represents the first phase of the initial pseudo-noise code, L2 represents the second pseudorange, c represents the speed of light, and 1.023MHz represents the frequency of the GPS signal. Indicates the first duration.
[0098] In this embodiment, the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at the first moment, and the second pseudorange between the receiver and the receiver at the second moment, are determined. The second phase of the initial pseudo-noise code received by the receiver at the second moment can be determined by the first phase and the second pseudorange. The determination method is simple and does not require a complex algorithm. The second phase of the initial pseudo-noise code at the second moment can be obtained quickly and easily by using the current pseudorange, which can further improve the efficiency of GPS analog signal generation in this embodiment.
[0099] Please see Figure 6 In an optional embodiment of this disclosure, step 201 above, in which the controller determines the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, obtains multiple phases, including the following steps 601-604:
[0100] Step 601: The controller determines the initial phase of the initial pseudo-noise code received by the receiver at the initial moment.
[0101] The initial phase refers to the phase of the initial pseudo-noise code received by the receiver at the beginning of operation, for example, located at the 2nd bit.
[0102] Step 602: The controller determines the current pseudorange between the GPS analog satellite and the receiver at the current moment.
[0103] As described above, pseudorange refers to the distance between the satellite and the receiver. In this embodiment of the disclosure, the current pseudorange is the distance between the GPS simulated satellite and the receiver at the current moment.
[0104] Step 603: The controller determines the reception frequency of the receiver to receive the initial pseudo-noise code based on the initial time and the current time.
[0105] In this embodiment, the receiver receives initial pseudo-noise codes according to a preset period. That is, the frequency of receiving the initial pseudo-noise codes is fixed, and the time interval between the two initial phases is equal and constant. The controller can first determine the duration between the initial moment and the current moment, and then calculate the ratio of this duration to the preset period to calculate the reception frequency of the initial pseudo-noise codes. In other words, it can determine how many initial pseudo-noise codes the receiver received between the initial moment and the current moment.
[0106] Step 604: The controller determines the phase of the initial pseudo-noise code received by the receiver at the current moment based on the initial phase, current pseudorange, reception frequency and GPS signal frequency.
[0107] The GPS simulated satellite moves continuously along a pre-set path. The period of receiving the initial pseudo-noise code is fixed. After the controller determines the initial phase at the initial moment, it can obtain the current phase of the initial pseudo-noise code of the GPS simulated satellite at the current moment by using the phase calculation formula based on the current pseudorange between the GPS simulated satellite and the receiver and the receiving frequency at the current moment.
[0108] Please see Figure 7 In a specific embodiment of this disclosure, step 604, where the controller determines the phase of the initial pseudo-noise code received by the receiver at the current moment based on the initial phase, the current pseudorange, the receiving frequency, and the frequency of the GPS signal, includes the following steps 701-704:
[0109] Step 701: The controller calculates the ratio between the current pseudorange and the speed of light to obtain the second duration;
[0110] Step 702: The controller calculates the product between the receiving frequency and the preset period to obtain the third duration;
[0111] Step 703: The controller calculates the sum of the second duration and the third duration to obtain the total duration;
[0112] Step 704: The controller determines the phase of the initial pseudo-noise code received by the receiver at the current moment based on the total duration, the initial phase, and the frequency of the GPS signal.
[0113] The controller can calculate the current phase based on the following formula (3):
[0114]
[0115] In formula (3), PN t PN0 represents the initial phase of the initial pseudo-noise code received at the current time t, n represents the reception frequency, Δt represents the preset period, nΔt represents the third duration, and L represents the initial phase of the initial pseudo-noise code. t This represents the current pseudorange, and c represents the speed of light. The second duration is indicated by 1.023MHz, which represents the frequency of the GPS signal.
[0116] The GPS analog signal generation method provided in this disclosure first determines the initial phase of the initial pseudo-noise code received by the receiver at the initial moment and the receiving frequency of the initial pseudo-noise code received by the receiver. It only needs to determine the current pseudorange between the GPS analog satellite and the receiver at the current moment in real time. The phase of the initial pseudo-noise code received at the current moment can be determined through simple calculation. There is no need to calculate the chip rate in real time or repeatedly calculate the phase of the initial pseudo-noise code received each time. It only needs to calculate the phase of the initial pseudo-noise code at the current moment according to actual needs. The calculation method is simple and fast, saves a lot of computing resources, and can greatly improve the generation efficiency of GPS analog signals.
[0117] Please see Figure 8 In an optional embodiment of this disclosure, step 205, where the controller generates a GPS analog signal based on multiple actual phases, includes the following steps 801-803:
[0118] Step 801: The controller obtains the navigation data code sent by the GPS simulated satellite.
[0119] Among them, navigation data code refers to satellite code containing specific navigation information, such as navigation message. This embodiment does not specifically limit the specific type and content of navigation data code, and can be configured arbitrarily according to the actual situation.
[0120] Step 802: The controller modulates the navigation data code based on the actual phase to obtain the GPS digital signal.
[0121] The actual phase refers to the chip position corresponding to each symbol. After obtaining the actual phase of each symbol, the controller adjusts the navigation data code, adjusting the content of each symbol in the navigation data code to the corresponding actual phase, that is, the actual chip position. Thus, the symbols encoded according to the actual phase can be obtained, and the GPS digital signal can be obtained.
[0122] Step 803: The controller performs digital-to-analog conversion on the GPS digital signal to obtain a GPS analog signal.
[0123] After receiving the aforementioned GPS digital signal, the controller can perform digital-to-analog conversion through a pre-configured ADC module to convert the digital signal into a usable analog signal, thus obtaining a GPS analog signal that can be used for positioning and navigation. The ADC module can be an independent chip or a micro-circuit inside a processor, etc. This embodiment does not make specific limitations, as long as it can realize the function of converting digital signals into analog signals.
[0124] Please see Figure 9 , Figure 9 The diagram illustrates the interaction of various data in the above embodiments. The clock module in the microprocessor is used for timing and measuring the pseudorange between the current GPS analog satellite and the receiver, sending the measured time and pseudorange to the controller. The controller determines the chip rate based on the obtained duration and pseudorange, then controls the chip editor to generate the target pseudo-noise code using this chip rate. Finally, the actual phase of each chip in the determined target pseudo-noise code is returned to the controller. The controller modulates the navigation data code, i.e., the satellite message code, based on the actual phase to obtain the GPS digital signal, and finally obtains the GPS analog signal that can be used for navigation and positioning through digital-to-analog conversion.
[0125] Please see Figure 10 To implement the above-mentioned business processing method, one embodiment of this disclosure provides a GPS analog signal generation device 1000. Figure 10 A schematic architecture diagram of a GPS analog signal generation device 1000 is shown. This device includes a first determining module 1010, a second determining module 1020, a first generating module 1030, a third determining module 1040, and a second generating module 1050, wherein:
[0126] The first determining module 1010 is used to determine the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, and obtain multiple phases;
[0127] The second determining module 1020 is used to determine multiple chip rates based on multiple phases and the interval between two adjacent phases.
[0128] The first generation module 1030 is used to control the chip programmer to generate each chip according to each chip rate, and to generate the target pseudo-noise code based on multiple chips.
[0129] The third determining module 1040 is used to determine the actual phase of the target pseudo-noise code at each time moment, and obtain multiple actual phases;
[0130] The second generation module 1050 is used to generate GPS analog signals based on multiple actual phases.
[0131] In an optional embodiment, the first determining module 1010 is specifically configured to: determine the first phase of the initial pseudo-noise code transmitted by the GPS simulated satellite received by the receiver at a first time; determine the second pseudorange between the GPS simulated satellite and the receiver at a second time; wherein the second time is later than the first time and adjacent to the first time; and determine the second phase of the initial pseudo-noise code received by the receiver at the second time based on the first phase and the second pseudorange.
[0132] In an optional embodiment, the first determining module 1010 is specifically configured to: determine the initial phase of the initial pseudo-noise code transmitted by the GPS simulated satellite at a first moment; determine the first pseudorange between the GPS simulated satellite and the receiver at the first moment; and determine the first phase of the initial pseudo-noise code received by the receiver at the first moment based on the initial phase, the first pseudorange, and the frequency of the GPS signal.
[0133] In an optional embodiment, the first determining module 1010 is specifically used to calculate the ratio between the second pseudorange and the speed of light to obtain a first duration; and to determine the second phase of the initial pseudo-noise code based on the first phase, the first duration, and the frequency of the GPS signal.
[0134] In an optional embodiment, the first determining module 1010 is specifically configured to: determine the initial phase of the initial pseudo-noise code received by the receiver at an initial time; determine the current pseudorange between the GPS analog satellite and the receiver at the current time; determine the receiving frequency of the initial pseudo-noise code received by the receiver based on the initial time and the current time; and determine the phase of the initial pseudo-noise code received by the receiver at the current time based on the initial phase, the current pseudorange, the receiving frequency, and the frequency of the GPS signal.
[0135] In an optional embodiment, the first determining module 1010 is specifically used to: calculate the ratio between the current pseudorange and the speed of light to obtain a second duration; calculate the product between the receiving frequency and the preset period to obtain a third duration; calculate the sum of the second duration and the third duration to obtain a total duration; and determine the phase of the initial pseudo-noise code received by the receiver at the current moment based on the total duration, the initial phase, and the frequency of the GPS signal.
[0136] In an optional embodiment, the third determining module 1040 is specifically used to: acquire navigation data codes transmitted by GPS analog satellites; modulate the navigation data codes based on the actual phase to obtain GPS digital signals; and perform digital-to-analog conversion on the GPS digital signals to obtain GPS analog signals.
[0137] Exemplary embodiments of this disclosure also provide a computer-readable storage medium that can be implemented as a program product including program code, which, when run on an electronic device, causes the electronic device to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. In one embodiment, the program product can be implemented as a portable compact disc read-only memory (CD-ROM) including program code and can run on an electronic device, such as a personal computer. However, the program product of this disclosure is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0138] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0139] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0140] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0141] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider). In embodiments of this disclosure, the program code stored in a computer-readable storage medium, when executed, can implement any step of the GPS analog signal generation method described above.
[0142] Please see Figure 11 Exemplary embodiments of this disclosure also provide an electronic device 1100, which can be a backend server for an information platform. Reference is made below. Figure 11 The electronic device 1100 will be described below. It should be understood that... Figure 11 The electronic device 1100 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0143] like Figure 11 As shown, the electronic device 1100 is presented in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processing unit 1110, at least one storage unit 1120, and a bus 1130 connecting different system components (including storage unit 1120 and processing unit 1110).
[0144] The storage unit stores program code, which can be executed by the processing unit 1110 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention. For example, the processing unit 1110 can perform actions such as... Figure 2 The methods and steps shown are as follows.
[0145] Storage unit 1120 may include volatile storage units, such as random access memory (RAM) 1121 and / or cache memory 1122, and may further include read-only memory (ROM) 1123.
[0146] Storage unit 1120 may also include a program / utility 1124 having a set (at least one) program module 1125, such program module 1125 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.
[0147] Bus 1130 may include a data bus, an address bus, and a control bus.
[0148] Electronic device 1100 can also communicate with one or more external devices 2000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.) via input / output (I / O) interface 1140. Electronic device 1100 can also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 1150. As shown, network adapter 1150 communicates with other modules of electronic device 1100 via bus 1130. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0149] In this embodiment of the disclosure, the program code stored in the electronic device can be executed to perform any step of the GPS analog signal generation method described above.
[0150] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0151] Those skilled in the art will understand that various aspects of this disclosure can be implemented as systems, methods, or program products. Therefore, various aspects of this disclosure can be embodied in entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuit,” “module,” or “system.” Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0152] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.
Claims
1. A method for generating GPS analog signals, characterized in that, include: The phases of the initial pseudo-noise codes transmitted by the GPS analog satellites received by the receiver at different times are determined, resulting in multiple phases; Multiple chip rates are determined based on the interval between the multiple phases and two adjacent phases. The control chip programmer generates each chip according to the chip rate, and generates a target pseudo-noise code based on multiple chips; Determine the actual phase of the target pseudo-noise code at each time point to obtain multiple actual phases; GPS analog signals are generated based on the multiple actual phases; The determination of the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times yields multiple phases, including: Determine the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite and received by the receiver at the first moment; Determine the second pseudorange between the GPS simulated satellite and the receiver at a second time point; wherein the second time point is later than the first time point and adjacent to the first time point. The second phase of the initial pseudo-noise code received by the receiver at the second time is determined based on the first phase and the second pseudorange.
2. The GPS analog signal generation method according to claim 1, characterized in that, Determining the first phase of the initial pseudo-noise code transmitted by the GPS simulated satellite and received by the receiver at a first moment includes: Determine the initial phase of the initial pseudo-noise code transmitted by the GPS simulated satellite at the first moment; Determine the first pseudorange between the GPS simulated satellite and the receiver at the first moment; The first phase of the initial pseudo-noise code received by the receiver at the first moment is determined based on the initial phase, the first pseudorange, and the frequency of the GPS signal.
3. The GPS analog signal generation method according to claim 1, characterized in that, Determining the second phase of the initial pseudo-noise code received by the receiver at the second time based on the first phase and the second pseudorange includes: Calculate the ratio between the second pseudorange and the speed of light to obtain the first duration; The second phase of the initial pseudo-noise code is determined based on the first phase, the first duration, and the frequency of the GPS signal.
4. The GPS analog signal generation method according to claim 1, characterized in that, The receiver receives the initial pseudo-noise code according to a preset period. The phase of the initial pseudo-noise code transmitted by the GPS simulated satellite and received by the receiver at different times is determined to obtain multiple phases, including: Determine the initial phase of the initial pseudo-noise code received by the receiver at the initial moment; Determine the current pseudorange between the GPS simulated satellite and the receiver at the current moment; The receiving frequency of the receiver receiving the initial pseudo-noise code is determined based on the initial time and the current time; The phase of the initial pseudo-noise code received by the receiver at the current time is determined based on the initial phase, the current pseudorange, the receiving frequency, and the frequency of the GPS signal.
5. The GPS analog signal generation method according to claim 4, characterized in that, The step of determining the phase of the initial pseudo-noise code received by the receiver at the current time based on the initial phase, the current pseudorange, the receiving frequency, and the frequency of the GPS signal includes: The second duration is obtained by calculating the ratio between the current pseudorange and the speed of light. The third duration is obtained by multiplying the receiving frequency by the preset period. Calculate the sum of the second duration and the third duration to obtain the total duration; The phase of the initial pseudo-noise code received by the receiver at the current moment is determined based on the total duration, the initial phase, and the frequency of the GPS signal.
6. The GPS analog signal generation method according to claim 1, characterized in that, The generation of GPS analog signals based on the multiple actual phases includes: Obtain the navigation data code transmitted by the GPS simulated satellite; The navigation data code is modulated based on the actual phase to obtain a GPS digital signal; The GPS digital signal is converted from digital to analog to obtain the GPS analog signal.
7. A GPS analog signal generation device, characterized in that, The device includes: The first determining module is used to determine the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times, and obtain multiple phases; The second determining module is used to determine multiple chip rates based on the interval between the multiple phases and two adjacent phases. The first generation module is used to control the chip programmer to generate each chip according to the chip rate, and to generate a target pseudo-noise code based on multiple chips. The third determining module is used to determine the actual phase of the target pseudo-noise code at each time moment, and obtain multiple actual phases; The second generation module is used to generate GPS analog signals based on the plurality of actual phases; The determination of the phase of the initial pseudo-noise code transmitted by the GPS analog satellite received by the receiver at different times yields multiple phases, including: Determine the first phase of the initial pseudo-noise code transmitted by the GPS analog satellite and received by the receiver at the first moment; Determine the second pseudorange between the GPS simulated satellite and the receiver at a second time point; wherein the second time point is later than the first time point and adjacent to the first time point. The second phase of the initial pseudo-noise code received by the receiver at the second time is determined based on the first phase and the second pseudorange.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 6.
9. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1 to 6 by executing the executable instructions.
Citation Information
Patent Citations
Galileo satellite signal simulation system and simulation method thereof
CN110531384A