Signal capturing method and device, electronic equipment, chip and medium
By adjusting the frequency domain value matrix to improve the signal-to-noise ratio, the problem in the prior art is difficult to accurately determine satellite signal parameters in weak signal environments, and a higher signal capture success rate and performance are achieved.
Patent Information
- Application Number
- CN202411621020.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-11-13
AI Technical Summary
The prior art is difficult to accurately determine the code phase offset and Doppler frequency deviation of satellite signals in weak signal environments, resulting in capture failure and degradation of capture performance.
By acquiring the satellite signal and local code sequences, the frequency domain value matrix is determined, and the signal-to-noise ratio value is calculated based on the maximum frequency domain value in the matrix. When the signal-to-noise ratio is less than the threshold, adjust the frequency domain value matrix until the signal-to-noise ratio reaches or exceeds the threshold, and then determines the code phase offset and the Doppler offset.
The accuracy of code phase offset and Doppler frequency deviation determination in weak signal environments is improved, and the success probability and performance of signal capture is enhanced.
Smart Images

Figure CN119716929A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a signal capturing method, device, electronic device, chip and medium. Background Art
[0002] GNSS is the Global Navigation Satellite System (GNSS), which refers to all satellite navigation systems, including global systems, regional systems and augmentation systems. The GNSS system is a complex combination of multiple systems, multiple levels and multiple modes.
[0003] The GNSS global navigation satellite system can provide users with all-weather three-dimensional coordinates, speed and time information at any location on the Earth's surface or in near-Earth space. It is currently widely used in positioning and navigation, especially in vehicle navigation systems, as well as future unmanned driving systems. Summary of the invention
[0004] The present disclosure provides a signal capturing method, device, electronic device, chip and medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a signal acquisition method is provided, the method comprising: acquiring a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal; determining a frequency domain value matrix according to the satellite signal and the local code sequence; determining a signal-to-noise ratio value corresponding to the frequency domain value matrix according to a maximum frequency domain value in the frequency domain value matrix; when the signal-to-noise ratio value is less than a signal-to-noise ratio threshold, adjusting the frequency domain value matrix to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determining a code phase offset and a Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the adjusted frequency domain value matrix.
[0006] In one embodiment of the present disclosure, determining a frequency domain value matrix according to the satellite signal and the local code sequence includes: performing correlation processing on the satellite signal and the local code sequence to obtain a correlation value sequence; performing segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple values; when the number of the values is less than a power of 2, padding the multiple values with zeros to obtain a direct correlation processing result including N values; N is a power of 2; performing fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; performing shift processing on the satellite signal, and re-determining the shifted correlation processing result and the frequency domain value sequence in combination with the satellite signal after the shift processing and the local code sequence until there is no overlap between the satellite signal and the satellite signal after the shift processing; and determining the frequency domain value matrix according to the multiple frequency domain value sequences obtained.
[0007] In one embodiment of the present disclosure, the lengths of the satellite signal and the local code sequence are the same, which is CL code chips; the shift length when the satellite signal is shifted is half a code chip; the number of shifts of the satellite signal is 2CL times; and the number of frequency domain value sequences is 2CL.
[0008] In one embodiment of the present disclosure, determining the signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix includes: performing mean processing on each non-maximum frequency domain value in the frequency domain value matrix to obtain a frequency domain mean; and determining the ratio of the maximum frequency domain value to the frequency domain mean as the signal-to-noise ratio value corresponding to the frequency domain value matrix.
[0009] In one embodiment of the present disclosure, the method further includes: when the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determining the code phase offset and Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the frequency domain value matrix.
[0010] In one embodiment of the present disclosure, each row of frequency domain values in the frequency domain value matrix is obtained by performing fast Fourier transform processing on each correlation processing result of the satellite signal and the local code sequence; the adjusting processing of the frequency domain value matrix to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix includes: adjusting the each correlation processing result to obtain each adjusted correlation processing result; performing fast Fourier transform processing on each adjusted correlation processing result to obtain an adjusted frequency domain value sequence; determining the adjusted frequency domain value matrix according to each adjusted frequency domain value sequence; and determining the adjusted signal-to-noise ratio value according to the adjusted frequency domain value matrix.
[0011] In one embodiment of the present disclosure, the adjustment processing of each of the related processing results to obtain each adjusted related processing result includes: determining a window function, and the numerical values at each point in the window function; the number of points in the window function is consistent with the number of numerical values in the related processing result; for the numerical value at each position in the related processing result, multiplying the numerical value at the position with the numerical value of the point at the corresponding position in the window function to obtain the adjusted numerical value at the position; and determining the adjusted related processing result based on the adjusted numerical values at each position in the related processing result.
[0012] In one embodiment of the present disclosure, the method further includes: when the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, reacquiring the satellite signal and the local code sequence to perform signal acquisition processing.
[0013] In one embodiment of the present disclosure, the method further includes: when the satellite signal does not carry the satellite number, obtaining a local code sequence corresponding to each satellite number; for each satellite number, combining the satellite signal and the local code sequence corresponding to the satellite number, determining a frequency domain value matrix corresponding to the satellite number and a maximum frequency domain value in the frequency domain value matrix; determining a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which a maximum value among the maximum frequency domain values belongs; when the target signal-to-noise ratio value is less than the signal-to-noise ratio threshold, adjusting the frequency domain value matrix corresponding to each satellite number to obtain an adjusted frequency domain value matrix corresponding to each satellite number and an adjusted maximum frequency domain value in the adjusted frequency domain value matrix; determining a target adjusted signal-to-noise ratio value corresponding to a target adjusted frequency domain value matrix to which the maximum value among the adjusted maximum frequency domain values belongs; when the target adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determining a target satellite number corresponding to the target adjusted frequency domain value matrix, and determining a code phase offset and a Doppler frequency deviation corresponding to the target satellite number according to the maximum frequency domain value in the target adjusted frequency domain value matrix.
[0014] In one embodiment of the present disclosure, the method further includes: when the target signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determining the target satellite number corresponding to the target frequency domain value matrix, and determining the code phase offset and Doppler frequency deviation corresponding to the target satellite number based on the maximum frequency domain value in the target frequency domain value matrix.
[0015] In one embodiment of the present disclosure, the method further includes: when the target adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, reacquiring the satellite signal and the local code sequence to perform signal acquisition processing.
[0016] According to a second aspect of an embodiment of the present disclosure, a signal acquisition device is further provided, the device comprising: a first acquisition module, used to acquire a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal; a first determination module, used to determine a frequency domain value matrix according to the satellite signal and the local code sequence; a second determination module, used to determine a signal-to-noise ratio value corresponding to the frequency domain value matrix according to a maximum frequency domain value in the frequency domain value matrix; a first adjustment module, used to adjust the frequency domain value matrix when the signal-to-noise ratio value is less than a signal-to-noise ratio threshold, to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; and a third determination module, used to determine a code phase offset and a Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the adjusted frequency domain value matrix when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold.
[0017] In one embodiment of the present disclosure, the first determination module is specifically used to perform correlation processing on the satellite signal and the local code sequence to obtain a correlation value sequence; perform segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple values; when the number of the values is less than the power of 2, perform zero padding processing on the multiple values to obtain a direct correlation processing result including N values; N is a power of 2; perform fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; perform shift processing on the satellite signal, and combine the satellite signal after the shift processing and the local code sequence to re-determine the shifted correlation processing result and the frequency domain value sequence until there is no overlap between the satellite signal and the satellite signal after the shift processing; determine the frequency domain value matrix according to the multiple frequency domain value sequences obtained.
[0018] In one embodiment of the present disclosure, the lengths of the satellite signal and the local code sequence are the same, which is CL code chips; the shift length when the satellite signal is shifted is half a code chip; the number of shifts of the satellite signal is 2CL times; and the number of frequency domain value sequences is 2CL.
[0019] In one embodiment of the present disclosure, the second determination module is specifically used to perform mean processing on each non-maximum frequency domain value in the frequency domain value matrix to obtain a frequency domain mean; and determine the ratio of the maximum frequency domain value to the frequency domain mean as the signal-to-noise ratio value corresponding to the frequency domain value matrix.
[0020] In one embodiment of the present disclosure, the device further includes: a fourth determination module, configured to determine, when the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, a code phase offset and a Doppler frequency offset corresponding to the satellite number according to a maximum frequency domain value in the frequency domain value matrix.
[0021] In one embodiment of the present disclosure, the frequency domain values of each row in the frequency domain value matrix are obtained by performing fast Fourier transform processing on each correlation processing result of the satellite signal and the local code sequence; the first adjustment module is specifically used to perform adjustment processing on each correlation processing result to obtain each adjusted correlation processing result; perform fast Fourier transform processing on each adjusted correlation processing result to obtain an adjusted frequency domain value sequence; determine the adjusted frequency domain value matrix according to each adjusted frequency domain value sequence; determine the adjusted signal-to-noise ratio value according to the adjusted frequency domain value matrix.
[0022] In one embodiment of the present disclosure, the first adjustment module is further specifically used to determine a window function and the values at each point in the window function; the number of points in the window function is consistent with the number of values in the related processing result; for the value at each position in the related processing result, the value at the position is multiplied with the value of the point at the corresponding position in the window function to obtain an adjusted value at the position; and the adjusted related processing result is determined based on the adjusted values at each position in the related processing result.
[0023] In one embodiment of the present disclosure, the first acquisition module is further configured to reacquire the satellite signal and the local code sequence to perform signal acquisition processing when the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold.
[0024] In one embodiment of the present disclosure, the device further includes: a second acquisition module, a fifth determination module, a sixth determination module, a second adjustment module, a seventh determination module and an eighth determination module; the second acquisition module is used to acquire a local code sequence corresponding to each satellite number when the satellite signal does not carry the satellite number; the fifth determination module is used to determine, for each satellite number, a frequency domain value matrix corresponding to the satellite number and a maximum frequency domain value in the frequency domain value matrix in combination with the satellite signal and the local code sequence corresponding to the satellite number; the sixth determination module is used to determine a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which a maximum value among the maximum frequency domain values belongs; the second adjustment module is used to determine a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which a maximum value among the maximum frequency domain values belongs; When the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the frequency domain value matrix corresponding to each of the satellite numbers is adjusted to obtain the adjusted frequency domain value matrix corresponding to each of the satellite numbers and the adjusted maximum frequency domain value in the adjusted frequency domain value matrix; the seventh determining module is used to determine the target adjusted signal-to-noise ratio value corresponding to the target adjusted frequency domain value matrix to which the maximum value among the adjusted maximum frequency domain values belongs; the eighth determining module is used to determine the target satellite number corresponding to the target adjusted frequency domain value matrix when the target adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, and determine the code phase offset and Doppler frequency deviation corresponding to the target satellite number according to the maximum frequency domain value in the target adjusted frequency domain value matrix.
[0025] In one embodiment of the present disclosure, the device also includes: a ninth determination module, used to determine the target satellite number corresponding to the target frequency domain value matrix when the target signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, and determine the code phase offset and Doppler frequency deviation corresponding to the target satellite number according to the maximum frequency domain value in the target frequency domain value matrix.
[0026] In one embodiment of the present disclosure, the first acquisition module is further configured to reacquire the satellite signal and the local code sequence to perform signal acquisition processing when the target adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold.
[0027] According to a third aspect of an embodiment of the present disclosure, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to: implement the steps of the signal capture method as described above.
[0028] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor, the processor is enabled to execute the signal capture method as described above.
[0029] According to the fifth aspect of the embodiment of the present disclosure, a chip is also provided, comprising one or more interface circuits and one or more processors; the interface circuit is used to receive a signal, the signal comprising a computer instruction, and when the processor executes the computer instruction, the chip executes the signal capture method as described above.
[0030] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0031] By acquiring satellite signals and local code sequences corresponding to satellite numbers in the satellite signals; determining a frequency domain value matrix according to the satellite signals and the local code sequences; determining a signal-to-noise ratio value corresponding to the frequency domain value matrix according to a maximum frequency domain value in the frequency domain value matrix; when the signal-to-noise ratio value is less than a signal-to-noise ratio threshold, adjusting the frequency domain value matrix to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determining a code phase offset and a Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the adjusted frequency domain value matrix; wherein, when the signal-to-noise ratio value corresponding to the frequency domain value matrix is less than the signal-to-noise ratio threshold, adjusting the frequency domain value matrix to further determine the code phase offset and the Doppler frequency deviation can improve the accuracy of the determined code phase offset and the Doppler frequency deviation, thereby improving the probability of successful capture and improving capture performance.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0034] Figure 1 A flowchart of a signal acquisition method according to an embodiment of the present disclosure;
[0035] Figure 2 A flowchart of a signal acquisition method according to another embodiment of the present disclosure;
[0036] Figure 3 A flowchart of a signal acquisition method according to another embodiment of the present disclosure;
[0037] Figure 4 Schematic diagram of signal capture;
[0038] Figure 5 This is a schematic diagram of the structure of a signal acquisition device according to an embodiment of the present disclosure;
[0039] Figure 6 is a structural block diagram of an electronic device according to an exemplary embodiment of the present disclosure;
[0040] Figure 7 The figure is a schematic diagram of the structure of a chip according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0043] In the related art, in order to achieve signal synchronization between the terminal device and the satellite, it is necessary to capture the satellite signal to determine the information used for synchronization, such as Doppler frequency deviation Doppler, etc. The capture method mainly includes the following steps: receiving the satellite signal; combining the received satellite signal, the local code sequence and the parallel matched filtering (PMF)-Fast Fourier Transform (FFT) algorithm to determine the satellite number, code phase offset and Doppler frequency deviation. In the related art, before performing FFT processing on the PMF processing result, zero padding processing is required, resulting in signal energy leakage. In a weak signal environment, signal energy leakage may result in low accuracy of the determined code phase offset and Doppler frequency deviation, resulting in capture failure and the need for re-capture, thereby reducing capture performance.
[0044] Figure 1 The flowchart of the signal capture method of one embodiment of the present disclosure is as follows. It should be noted that the signal capture method of the present embodiment can be applied to a signal capture device, which can be configured in an electronic device or chip so that the electronic device or chip can perform a signal capture function.
[0045] Among them, the electronic device can be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a terminal device, a server, an antenna device, a satellite scanning device, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other hardware devices with various operating systems, touch screens and / or display screens.
[0046] In addition, the signal capture device may also be software in an electronic device, etc. The software may be, for example, signal capture software, etc. In the following embodiments, the execution subject is a terminal device as an example for description.
[0047] like Figure 1 As shown, the method comprises the following steps:
[0048] Step 101: Acquire a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal.
[0049] In the disclosed embodiment, the satellite signal may be a signal sent by a satellite in a global navigation satellite system and received by a terminal device. The global navigation satellite system may include at least one of the following: Beidou Satellite Navigation System (BDS / COMPASS), the US Global Positioning System (GPS), the Russian GLONASS system (GLONASS), the European Union Galileo system (Galileo) and other existing satellite navigation systems, as well as other satellite navigation systems that may appear in the future. No specific limitation is made here, and the setting and processing can be performed according to actual needs.
[0050] In the disclosed embodiment, the satellite signal may carry a satellite number. The satellite number refers to the number or identification of the satellite, etc., which is used to identify a specific satellite. It should be noted that the satellite numbers in different satellite navigation systems use different coding rules. Satellites in the same satellite navigation system use different satellite numbers. Therefore, a satellite in a satellite navigation system can be uniquely identified based on the satellite number.
[0051] In the disclosed embodiment, different satellite numbers correspond to different local code sequences. The lengths of local code sequences corresponding to different satellite numbers in the same satellite navigation system are the same. The lengths of local code sequences corresponding to satellite numbers in different satellite navigation systems are different.
[0052] In the embodiment of the present disclosure, the terminal device may store at least one local code sequence corresponding to a satellite number in a satellite navigation system. Correspondingly, the process of the terminal device executing step 101 may, for example, include receiving a satellite signal; querying local storage content according to the satellite number in the satellite signal, and obtaining the local code sequence corresponding to the satellite number.
[0053] Step 102: determine a frequency domain value matrix according to the satellite signal and the local code sequence.
[0054] In the embodiment of the present disclosure, the process of the terminal device executing step 102 may, for example, be to perform correlation processing on the satellite signal and the local code sequence to obtain a correlation value sequence; perform segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple values; when the number of values is less than the power of 2, perform zero padding processing on the multiple values to obtain a direct correlation processing result including N values; N is a power of 2; perform fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; perform shift processing on the satellite signal, and combine the satellite signal after the shift processing and the local code sequence to re-determine the shifted correlation processing result and the frequency domain value sequence until there is no overlap between the satellite signal and the satellite signal after the shift processing; determine the frequency domain value matrix based on the multiple frequency domain value sequences obtained.
[0055] The terminal device may perform correlation processing on the satellite signal and the local code sequence in combination with the PMF algorithm. Specifically, it is assumed that the length of the satellite signal is CL chips; the length of the local code sequence is CL chips. For each chip in the satellite signal, a value on the chip is multiplied with a value on a corresponding chip in the local code sequence to obtain a product result; the product result is determined as a correlation value on the chip; and a correlation value sequence is determined based on the correlation values on each chip.
[0056] Among them, the process in which the terminal device performs segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple numerical values can be, for example, that the terminal device obtains a first number of fast Fourier transform time points; selects a factor smaller than the first number from the factors of CL as the number of segments; performs equal segmentation processing on multiple correlation values in the correlation value sequence based on the segmentation number to obtain multiple segments; for each segment, accumulates at least one correlation value located in the segment to obtain the numerical value of the segment; and then obtains multiple numerical values.
[0057] In the disclosed embodiment, specifically, the terminal device may perform shift processing on the satellite signal, shifting half a chip to obtain the satellite signal after the shift processing; combining the satellite signal after the shift processing and the local code sequence, re-determine the shift correlation processing result and the frequency domain value sequence. Afterwards, the satellite signal after the shift processing may continue to be shifted, shifting half a chip to obtain the satellite signal after the shift processing, and repeating the above steps until there is no overlap between the satellite signal and the satellite signal after the shift processing.
[0058] Among them, the length of the satellite signal and the local code sequence is the same, which can be CL code chips; the shift length when the satellite signal is shifted is half a code chip; the number of shifts of the satellite signal is 2CL times; the number of frequency domain value sequences is 2CL.
[0059] Step 103: Determine the signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix.
[0060] In the embodiment of the present disclosure, the process of the terminal device executing step 103 may, for example, be to perform mean processing on each non-maximum frequency domain value in the frequency domain value matrix to obtain the frequency domain mean; and determine the ratio of the maximum frequency domain value to the frequency domain mean as the signal-to-noise ratio value corresponding to the frequency domain value matrix.
[0061] Among them, each frequency domain value in the frequency domain value matrix can be a representation of the signal in the frequency domain. That is, each frequency domain value in the frequency domain value matrix can be represented as a signal. That is, the maximum frequency domain value in the frequency domain value matrix can represent the signal component in the satellite signal; the non-maximum frequency domain value in the frequency domain value matrix can represent the noise component in the satellite signal. Determining the ratio of the maximum frequency domain value to the frequency domain mean as the signal-to-noise ratio value corresponding to the frequency domain value matrix can improve the accuracy of the determined signal-to-noise ratio value, thereby ensuring the accuracy of the determined code phase offset and Doppler frequency deviation.
[0062] Step 104 , when the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the frequency domain value matrix is adjusted to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix.
[0063] In an embodiment of the present disclosure, the terminal device may also perform the following process: when the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determine the code phase offset and Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the frequency domain value matrix.
[0064] Among them, when the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and Doppler frequency deviation corresponding to the satellite number are determined directly based on the maximum frequency domain value in the frequency domain value matrix. This can reduce the amount of data processing during signal capture and improve signal capture efficiency while ensuring the accuracy of the code phase offset and Doppler frequency deviation.
[0065] Step 105: When the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and Doppler frequency shift corresponding to the satellite number are determined according to the maximum frequency domain value in the adjusted frequency domain value matrix.
[0066] In the disclosed embodiment, in the frequency domain value matrix, frequency domain values in different rows correspond to different shift times, that is, to different code phase offsets. Frequency domain values in different columns correspond to different frequency bands, that is, to different Doppler frequency deviations. Therefore, the code phase offset corresponding to the satellite number can be determined in combination with the row number where the maximum frequency domain value is located; the Doppler frequency deviation corresponding to the satellite number can be determined in combination with the column number where the maximum frequency domain value is located.
[0067] In the embodiment of the present disclosure, the terminal device may also perform the following process: when the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, reacquire the satellite signal and the local code sequence to perform signal capture processing.
[0068] The process of reacquiring satellite signals and local code sequences, and the process of re-performing signal capture processing, can refer to the descriptions in steps 101 to 105, and will not be described in detail here.
[0069] Among them, when the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the satellite signal and the local code sequence are re-acquired to perform signal capture processing, that is, the frequency domain value matrix that meets the signal-to-noise ratio threshold is re-determined, and then the code phase offset and Doppler frequency deviation corresponding to the satellite number are determined, which can further ensure the accuracy of the determined code phase offset and Doppler frequency deviation.
[0070] In the signal capture method of the embodiment of the present disclosure, a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal are acquired; a frequency domain value matrix is determined according to the satellite signal and the local code sequence; a signal-to-noise ratio value corresponding to the frequency domain value matrix is determined according to a maximum frequency domain value in the frequency domain value matrix; when the signal-to-noise ratio value is less than a signal-to-noise ratio threshold, the frequency domain value matrix is adjusted to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, a code phase offset and a Doppler frequency deviation corresponding to the satellite number are determined according to the maximum frequency domain value in the adjusted frequency domain value matrix; wherein, when the signal-to-noise ratio value corresponding to the frequency domain value matrix is less than the signal-to-noise ratio threshold, the frequency domain value matrix is adjusted to further determine the code phase offset and the Doppler frequency deviation, so that the accuracy of the determined code phase offset and the Doppler frequency deviation can be improved, thereby improving the probability of successful capture and improving capture performance.
[0071] Figure 2 This is a flow chart of a signal capture method according to another embodiment of the present disclosure. It should be noted that the signal capture method according to this embodiment can be applied to a signal capture device, which can be configured in an electronic device or chip so that the electronic device or chip can perform a signal capture function.
[0072] Among them, the electronic device can be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a terminal device, a server, an antenna device, a satellite scanning device, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other hardware devices with various operating systems, touch screens and / or display screens.
[0073] In addition, the signal capture device may also be software in an electronic device, etc. The software may be, for example, signal capture software, etc. In the following embodiments, the execution subject is a terminal device as an example for description.
[0074] like Figure 2 As shown, the method comprises the following steps:
[0075] Step 201: Acquire a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal.
[0076] Step 202, determining a frequency domain value matrix according to the satellite signal and the local code sequence; each row of frequency domain values in the frequency domain value matrix is obtained by performing fast Fourier transform processing on each correlation processing result of the satellite signal and the local code sequence.
[0077] In the embodiment of the present disclosure, the process of the terminal device executing step 202 may, for example, be to perform correlation processing on the satellite signal and the local code sequence to obtain a correlation value sequence; perform segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple values; when the number of values is less than the power of 2, perform zero padding processing on the multiple values to obtain a direct correlation processing result including N values; N is a power of 2; perform fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; perform shift processing on the satellite signal, and combine the satellite signal after the shift processing and the local code sequence to re-determine the shifted correlation processing result and the frequency domain value sequence until there is no overlap between the satellite signal and the satellite signal after the shift processing; determine the frequency domain value matrix based on the multiple frequency domain value sequences obtained.
[0078] Among them, in order to further improve the accuracy of multiple values obtained after segmented accumulation processing, the terminal device can collect multiple satellite signals; for each satellite signal, the satellite signal is correlated with the local code sequence, segmented, and segmented accumulated to obtain multiple values; assuming that multiple values form a combination, there are multiple combinations; for each position in the combination, the values at the position in each combination are averaged to obtain an average value; based on the average value at each position, zero-padding processing and fast Fourier transform processing are performed to obtain a frequency domain value sequence.
[0079] Among them, determining and processing the frequency domain value sequence based on multiple satellite signals and then determining and processing the frequency domain value matrix can avoid the influence of the weak signal of a single satellite signal on signal capture, can further improve the success probability of signal capture, and further improve the capture performance.
[0080] Step 203: Determine the signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix.
[0081] Step 204: When the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, each correlation processing result is adjusted to obtain each adjusted correlation processing result.
[0082] In the embodiment of the present disclosure, the process of the terminal device executing step 204 may, for example, be to determine the window function and the values at each point in the window function; the number of points in the window function is consistent with the number of values in the relevant processing result; for the value at each position in the relevant processing result, the value at the position is multiplied by the value of the point at the corresponding position in the window function to obtain an adjusted value at the position; and the adjusted relevant processing result is determined based on the adjusted values at each position in the relevant processing result.
[0083] Among them, the values of each point in the window function are used to attenuate the values located at the edge positions in the correlation processing results, and / or to enhance the values located at the center positions in the correlation processing results, thereby reducing the edge effect, reducing the leakage effect, and ensuring the accuracy of the spectrum analysis.
[0084] The window function may be, for example, a Hanning window, a Hamming window, a rectangular window, a cosine window, etc., and may be set and processed according to actual needs.
[0085] In an embodiment of the present disclosure, the terminal device may also perform the following process: when the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determine the code phase offset and Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the frequency domain value matrix.
[0086] Step 205 , performing fast Fourier transform processing on each adjusted correlation processing result to obtain an adjusted frequency domain value sequence.
[0087] In the embodiment of the present disclosure, the process of the terminal device executing step 205 may, for example, be to perform fast Fourier transform processing on each of the multiple adjusted correlation processing results in turn to obtain an adjusted frequency domain value sequence.
[0088] Step 206: Determine an adjusted frequency domain value matrix according to each adjusted frequency domain value sequence.
[0089] Step 207: Determine an adjusted signal-to-noise ratio value according to the adjusted frequency domain value matrix.
[0090] In the embodiment of the present disclosure, the process of the terminal device executing step 207 may, for example, be to determine the maximum frequency domain value in the adjusted frequency domain value matrix; perform mean processing on each non-maximum frequency domain value in the adjusted frequency domain value matrix to obtain a frequency domain mean; determine the ratio between the maximum frequency domain value and the frequency domain mean; and determine the ratio as the adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix.
[0091] Step 208: When the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and Doppler frequency offset corresponding to the satellite number are determined according to the maximum frequency domain value in the adjusted frequency domain value matrix.
[0092] In an embodiment of the present disclosure, the terminal device may further perform the following process: when the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, reacquire the satellite signal and the local code sequence; and re-execute at least one of steps 201 to 208 in combination with the reacquired satellite signal and the local code sequence to perform signal capture processing.
[0093] It should be noted that the detailed description of steps 201 to 203 and step 208 can be found in Figure 1 Steps 101 to 103 and step 105 in the illustrated embodiment will not be described in detail herein.
[0094] In the signal capture method of the embodiment of the present disclosure, a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal are acquired; a frequency domain value matrix is determined according to the satellite signal and the local code sequence; each row of frequency domain values in the frequency domain value matrix is obtained by performing fast Fourier transform processing on each correlation processing result of the satellite signal and the local code sequence; a signal-to-noise ratio value corresponding to the frequency domain value matrix is determined according to the maximum frequency domain value in the frequency domain value matrix; when the signal-to-noise ratio value is less than a signal-to-noise ratio threshold, each correlation processing result is adjusted to obtain each adjusted correlation processing result; each adjusted correlation processing result is respectively subjected to fast Fourier transform processing to obtain an adjusted frequency domain value sequence; an adjusted frequency domain value matrix is determined according to each adjusted frequency domain value sequence; The adjusted frequency domain value matrix is used to determine the adjusted signal-to-noise ratio value; when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and the Doppler frequency deviation corresponding to the satellite number are determined according to the maximum frequency domain value in the adjusted frequency domain value matrix; wherein the window function can be used to attenuate the value located at the edge position in the correlation processing result, and / or enhance the value located at the center position in the correlation processing result, thereby reducing the edge effect, reducing the leakage effect, and ensuring the accuracy of the spectrum analysis; therefore, when the signal-to-noise ratio value corresponding to the frequency domain value matrix is less than the signal-to-noise ratio threshold, the correlation processing result is adjusted to obtain the adjusted correlation processing result, which can reduce the influence caused by the leakage effect and improve the gain in the capture performance.
[0095] Figure 3 This is a flow chart of a signal capture method according to another embodiment of the present disclosure. It should be noted that the signal capture method according to this embodiment can be applied to a signal capture device, which can be configured in an electronic device or chip so that the electronic device or chip can perform a signal capture function.
[0096] Among them, the electronic device can be any device with computing capabilities, such as a personal computer (PC), a mobile terminal, a terminal device, a server, an antenna device, a satellite scanning device, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and other hardware devices with various operating systems, touch screens and / or display screens.
[0097] In addition, the signal capture device may also be software in an electronic device, etc. The software may be, for example, signal capture software, etc. In the following embodiments, the execution subject is a terminal device as an example for description.
[0098] like Figure 3 As shown, the method comprises the following steps:
[0099] Step 301: Acquire satellite signals and local code sequences corresponding to each satellite number.
[0100] In the embodiments of the present disclosure, the satellite number refers to the number or identification of the satellite, etc., which is used to identify a specific satellite. It should be noted that satellite numbers in different satellite navigation systems use different coding rules. Satellites in the same satellite navigation system use different satellite numbers. Therefore, based on the satellite number, a satellite in a satellite navigation system can be uniquely identified.
[0101] In the embodiment of the present disclosure, the terminal device may store at least one local code sequence corresponding to a satellite number in a satellite navigation system. Correspondingly, the process of the terminal device executing step 301 may be, for example, obtaining the local code sequence corresponding to each stored satellite number when the satellite signal does not carry the satellite number.
[0102] Step 302: for each satellite number, determine the frequency domain value matrix corresponding to the satellite number and the maximum frequency domain value in the frequency domain value matrix in combination with the satellite signal and the local code sequence corresponding to the satellite number.
[0103] In the embodiment of the present disclosure, the process of the terminal device executing step 302 may, for example, be as follows: for each satellite number, performing correlation processing on the satellite signal and the local code sequence corresponding to the satellite number to obtain a correlation value sequence; performing segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple values; when the number of values is less than a power of 2, performing zero padding processing on the multiple values to obtain a direct correlation processing result including N values; N is a power of 2; performing fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; performing shift processing on the satellite signal, and combining the satellite signal after the shift processing and the local code sequence, re-determining the shifted correlation processing result and the frequency domain value sequence until there is no overlap between the satellite signal and the satellite signal after the shift processing; determining the frequency domain value matrix corresponding to the satellite number according to the multiple frequency domain value sequences determined; and obtaining the maximum frequency domain value in the frequency domain value matrix.
[0104] Step 303: determine a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which the maximum value among the maximum frequency domain values belongs.
[0105] In the embodiment of the present disclosure, the process of the terminal device executing step 303 may, for example, be to determine the maximum value among each maximum frequency domain value; determine the frequency domain value matrix including the maximum value as the target frequency domain value matrix; perform mean processing on each non-maximum frequency domain value in the target frequency domain value matrix to obtain the frequency domain mean; and determine the ratio of the maximum frequency domain value to the frequency domain mean as the target signal-to-noise ratio value corresponding to the target frequency domain value matrix.
[0106] Step 304: When the target signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the frequency domain value matrix corresponding to each satellite number is adjusted to obtain an adjusted frequency domain value matrix corresponding to each satellite number and an adjusted maximum frequency domain value in the adjusted frequency domain value matrix.
[0107] In the disclosed embodiment, for each frequency domain value matrix in the frequency domain value matrix corresponding to each satellite number, the process of the terminal device determining the adjusted frequency domain value matrix may be, for example, obtaining each relevant processing result corresponding to the frequency domain value matrix; for each relevant processing result, for each value at each position in the relevant processing result, multiplying the value at the position with the value of the point at the corresponding position in the window function to obtain an adjusted value at the position; wherein the number of points in the window function is consistent with the number of values in the relevant processing result; determining the adjusted relevant processing result according to the adjusted values at each position; performing fast Fourier transform processing on each adjusted relevant processing result to obtain an adjusted frequency domain value sequence; and determining the adjusted frequency domain value matrix according to each adjusted frequency domain value sequence.
[0108] In an embodiment of the present disclosure, the terminal device may also perform the following process: when the target signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determine the target satellite number corresponding to the target frequency domain value matrix, and determine the code phase offset and Doppler frequency deviation corresponding to the target satellite number based on the maximum frequency domain value in the target frequency domain value matrix.
[0109] Among them, when the target signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and Doppler frequency deviation corresponding to the target satellite number are determined directly based on the maximum frequency domain value in the target frequency domain value matrix. This can reduce the amount of data processing during signal capture and improve signal capture efficiency on the basis of ensuring the accuracy of the code phase offset and Doppler frequency deviation.
[0110] Step 305 : determining a target adjusted signal-to-noise ratio value corresponding to the target adjusted frequency domain value matrix to which the maximum value among the adjusted maximum frequency domain values belongs.
[0111] In the embodiment of the present disclosure, the process of the terminal device executing step 305 may, for example, be to determine the maximum value among the adjusted maximum frequency domain values; determine the adjusted frequency domain value matrix to which the maximum value belongs as the target adjusted frequency domain value matrix; perform mean processing on each non-maximum frequency domain value in the target adjusted frequency domain value matrix to obtain a frequency domain mean; determine the ratio between the maximum frequency domain value in the target adjusted frequency domain value matrix and the frequency domain mean; and determine the ratio as the target adjusted signal-to-noise ratio value corresponding to the target adjusted frequency domain value matrix.
[0112] Step 306, when the target adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determine the target satellite number corresponding to the target adjusted frequency domain value matrix, and determine the code phase offset and Doppler frequency deviation corresponding to the target satellite number according to the maximum frequency domain value in the target adjusted frequency domain value matrix.
[0113] In the disclosed embodiment, in the target frequency domain value matrix, frequency domain values in different rows correspond to different shift times, that is, to different code phase offsets. Frequency domain values in different columns correspond to different frequency bands, that is, to different Doppler frequency deviations. Therefore, the code phase offset corresponding to the satellite number can be determined in combination with the row number where the maximum frequency domain value is located; the Doppler frequency deviation corresponding to the satellite number can be determined in combination with the column number where the maximum frequency domain value is located.
[0114] In an embodiment of the present disclosure, the terminal device may further perform the following process: when the signal-to-noise ratio value after target adjustment is less than the signal-to-noise ratio threshold, reacquire the satellite signal and the local code sequence corresponding to each satellite number; and re-execute at least one of steps 301 to 306 in combination with the reacquired satellite signal and each local code sequence to perform signal capture processing.
[0115] Among them, when the signal-to-noise ratio value after the target adjustment is less than the signal-to-noise ratio threshold, the satellite signal and the local code sequence corresponding to each satellite number are re-acquired to perform signal capture processing, which can further ensure the accuracy of the determined code phase offset and Doppler frequency deviation.
[0116] It should be noted that the detailed description of steps 301 to 306 can be found in Figure 2 Steps 201 to 208 in the illustrated embodiment will not be described in detail herein.
[0117] In the signal capture method of the embodiment of the present disclosure, satellite signals and local code sequences corresponding to each satellite number are obtained; for each satellite number, a frequency domain value matrix corresponding to the satellite number and a maximum frequency domain value in the frequency domain value matrix are determined in combination with the satellite signal and the local code sequence corresponding to the satellite number; a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which the maximum value among each maximum frequency domain value belongs is determined; when the target signal-to-noise ratio value is less than a signal-to-noise ratio threshold, the frequency domain value matrix corresponding to each satellite number is adjusted to obtain an adjusted frequency domain value matrix corresponding to each satellite number and an adjusted maximum frequency domain value in the adjusted frequency domain value matrix; the maximum value among each adjusted maximum frequency domain value is determined. The target adjusted signal-to-noise ratio value corresponding to the target adjusted frequency domain value matrix to which the value belongs; when the target adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the target satellite number corresponding to the target adjusted frequency domain value matrix is determined, and the code phase offset and the Doppler frequency deviation corresponding to the target satellite number are determined according to the maximum frequency domain value in the target adjusted frequency domain value matrix; wherein, when the target signal-to-noise ratio value corresponding to the target frequency domain value matrix is less than the signal-to-noise ratio threshold, the target frequency domain value matrix is adjusted to further determine the code phase offset and the Doppler frequency deviation, which can improve the accuracy of the determined code phase offset and the Doppler frequency deviation, thereby improving the probability of successful capture and improving the capture performance.
[0118] The following examples are used to illustrate this. Figure 4 FIG. 1 is a schematic diagram of signal capture, wherein the following steps may be included.
[0119] Step 401, receive data with codeword length CL, that is, receive satellite signals with codeword length CL. Step 402, obtain code gen (local code sequence corresponding to the satellite number in the satellite signal), combine code gen and received data with PMF (parallel matched filter) algorithm and accumulate in coherent integration period (coherent integration period includes multiple incoherent integration periods, and correlation processing and segmented accumulation processing are performed in each incoherent integration period), and output the correlation processing results of each M point. Step 403, add 0 to the correlation processing results of each M point to N points to obtain the correlation processing results of each N point. Step 404, perform FFT (fast Fourier transform) processing on the correlation processing results of each N point to obtain a frequency domain value matrix. Step 405, calculate SNR (signal to noise ratio) according to the maximum value in the frequency domain value matrix to determine whether it is correctly detected. Step 406, if it is correctly detected, output phase offset (code phase offset), frequency offset (Doppler frequency offset) and satellite number (carried in the satellite signal). Step 407: If an error is detected, N points are windowed (the relevant processing results of each N point are adjusted in combination with the window function), and then FFT operation is performed to obtain a frequency domain value matrix, and then the phase offset, frequency offset and satellite number are output.
[0120] Figure 5 The present invention is a schematic diagram of the structure of a signal acquisition device according to an embodiment of the present invention.
[0121] like Figure 5 As shown, the signal acquisition device may include: a first acquisition module 501 , a first determination module 502 , a second determination module 503 , a first adjustment module 504 and a third determination module 505 .
[0122] Among them, the first acquisition module 501 is used to acquire the satellite signal and the local code sequence corresponding to the satellite number in the satellite signal; the first determination module 502 is used to determine the frequency domain value matrix according to the satellite signal and the local code sequence; the second determination module 503 is used to determine the signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix; the first adjustment module 504 is used to adjust the frequency domain value matrix when the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, to obtain the adjusted frequency domain value matrix and the adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; the third determination module 505 is used to determine the code phase offset and Doppler frequency deviation corresponding to the satellite number according to the maximum frequency domain value in the adjusted frequency domain value matrix when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold.
[0123] In one embodiment of the present disclosure, the first determination module 502 is specifically used to perform correlation processing on the satellite signal and the local code sequence to obtain a correlation value sequence; perform segmentation processing and segmentation accumulation processing on the correlation value sequence to obtain multiple values; when the number of the values is less than the power of 2, perform zero padding processing on the multiple values to obtain a direct correlation processing result including N values; N is a power of 2; perform fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; perform shift processing on the satellite signal, and combine the satellite signal after the shift processing and the local code sequence to re-determine the shifted correlation processing result and the frequency domain value sequence until there is no overlap between the satellite signal and the satellite signal after the shift processing; determine the frequency domain value matrix according to the multiple frequency domain value sequences obtained.
[0124] In one embodiment of the present disclosure, the lengths of the satellite signal and the local code sequence are the same, which is CL code chips; the shift length when the satellite signal is shifted is half a code chip; the number of shifts of the satellite signal is 2CL times; and the number of frequency domain value sequences is 2CL.
[0125] In one embodiment of the present disclosure, the second determination module 503 is specifically used to perform mean processing on each non-maximum frequency domain value in the frequency domain value matrix to obtain a frequency domain mean; and determine the ratio of the maximum frequency domain value to the frequency domain mean as the signal-to-noise ratio value corresponding to the frequency domain value matrix.
[0126] In one embodiment of the present disclosure, the device further includes: a fourth determination module, configured to determine, when the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, a code phase offset and a Doppler frequency offset corresponding to the satellite number according to a maximum frequency domain value in the frequency domain value matrix.
[0127] In one embodiment of the present disclosure, the frequency domain values of each row in the frequency domain value matrix are obtained by performing fast Fourier transform processing on each correlation processing result of the satellite signal and the local code sequence; the first adjustment module 504 is specifically used to adjust the each correlation processing result to obtain each adjusted correlation processing result; perform fast Fourier transform processing on each adjusted correlation processing result to obtain an adjusted frequency domain value sequence; determine the adjusted frequency domain value matrix according to each adjusted frequency domain value sequence; determine the adjusted signal-to-noise ratio value according to the adjusted frequency domain value matrix.
[0128] In one embodiment of the present disclosure, the first adjustment module 504 is further specifically used to determine a window function and the values at each point in the window function; the number of points in the window function is consistent with the number of values in the related processing result; for the value at each position in the related processing result, the value at the position is multiplied with the value of the point at the corresponding position in the window function to obtain an adjusted value at the position; and the adjusted related processing result is determined based on the adjusted values at each position in the related processing result.
[0129] In one embodiment of the present disclosure, the first acquisition module 501 is further configured to reacquire the satellite signal and the local code sequence to perform signal acquisition processing when the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold.
[0130] In one embodiment of the present disclosure, the device further includes: a second acquisition module, a fifth determination module, a sixth determination module, a second adjustment module, a seventh determination module and an eighth determination module; the second acquisition module is used to acquire a local code sequence corresponding to each satellite number when the satellite signal does not carry the satellite number; the fifth determination module is used to determine, for each satellite number, a frequency domain value matrix corresponding to the satellite number and a maximum frequency domain value in the frequency domain value matrix in combination with the satellite signal and the local code sequence corresponding to the satellite number; the sixth determination module is used to determine a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which a maximum value among the maximum frequency domain values belongs; the second adjustment module is used to determine a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which a maximum value among the maximum frequency domain values belongs; When the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the frequency domain value matrix corresponding to each of the satellite numbers is adjusted to obtain the adjusted frequency domain value matrix corresponding to each of the satellite numbers and the adjusted maximum frequency domain value in the adjusted frequency domain value matrix; the seventh determining module is used to determine the target adjusted signal-to-noise ratio value corresponding to the target adjusted frequency domain value matrix to which the maximum value among the adjusted maximum frequency domain values belongs; the eighth determining module is used to determine the target satellite number corresponding to the target adjusted frequency domain value matrix when the target adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, and determine the code phase offset and Doppler frequency deviation corresponding to the target satellite number according to the maximum frequency domain value in the target adjusted frequency domain value matrix.
[0131] In one embodiment of the present disclosure, the device also includes: a ninth determination module, used to determine the target satellite number corresponding to the target frequency domain value matrix when the target signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, and determine the code phase offset and Doppler frequency deviation corresponding to the target satellite number according to the maximum frequency domain value in the target frequency domain value matrix.
[0132] In one embodiment of the present disclosure, the first acquisition module 501 is further configured to reacquire the satellite signal and the local code sequence to perform signal acquisition processing when the target adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold.
[0133] In the signal capture device of the embodiment of the present disclosure, a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal are acquired; a frequency domain value matrix is determined according to the satellite signal and the local code sequence; a signal-to-noise ratio value corresponding to the frequency domain value matrix is determined according to a maximum frequency domain value in the frequency domain value matrix; when the signal-to-noise ratio value is less than a signal-to-noise ratio threshold, the frequency domain value matrix is adjusted to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, a code phase offset and a Doppler frequency deviation corresponding to the satellite number are determined according to the maximum frequency domain value in the adjusted frequency domain value matrix; wherein, when the signal-to-noise ratio value corresponding to the frequency domain value matrix is less than the signal-to-noise ratio threshold, the frequency domain value matrix is adjusted to further determine the code phase offset and the Doppler frequency deviation, so that the accuracy of the determined code phase offset and the Doppler frequency deviation can be improved, thereby improving the probability of successful capture and improving capture performance.
[0134] According to a third aspect of an embodiment of the present disclosure, there is also provided an electronic device, including: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to: implement the steps of the signal capture method as described above.
[0135] In order to implement the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium.
[0136] When the instructions in the storage medium are executed by the processor, the processor is enabled to execute the signal capture method as described above.
[0137] In order to implement the above embodiments, the present disclosure also provides a computer program product.
[0138] When the computer program product is executed by a processor of an electronic device, the electronic device is enabled to execute the above method.
[0139] Figure 6 The figure is a structural block diagram of an electronic device according to an exemplary embodiment. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0140] like Figure 6As shown, the electronic device 1000 includes a processor 111, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 112 or a program loaded from a memory 116 to a random access memory (RAM) 113. In the RAM 113, various programs and data required for the operation of the electronic device 1000 are also stored. The processor 111, the ROM 112, and the RAM 113 are connected to each other via a bus 114. An input / output (I / O) interface 115 is also connected to the bus 114.
[0141] The following components are connected to the I / O interface 115: a memory 116 including a hard disk, etc.; and a communication part 117 including a network interface card such as a local area network (LAN) card, a modem, etc., and the communication part 117 performs communication processing via a network such as the Internet; a drive 118 is also connected to the I / O interface 115 as needed.
[0142] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 117. When the computer program is executed by the processor 111, the above-mentioned functions defined in the method of the present disclosure are executed.
[0143] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by the processor 111 of the electronic device 1000 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0144] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0145] Figure 7 FIG. 1 is a schematic diagram of the structure of a chip according to an embodiment of the present disclosure. Figure 7 As shown, the chip 700 includes a processing circuit 701, and the processing circuit 701 is configured to execute any of the above methods.
[0146] In some embodiments, the chip 700 further includes one or more interface circuits 702. Optionally, the interface circuit 702 is connected to the memory 703, and the interface circuit 702 can be used to receive signals from the memory 703 or other devices, and the interface circuit 702 can be used to send signals to the memory 703 or other devices. For example, the interface circuit 702 can read instructions stored in the memory 703 and send the instructions to the processing circuit 701.
[0147] In some embodiments, the interface circuit 702 performs at least one of the communication steps such as sending and / or receiving in the above method, and the processing circuit 701 performs other steps.
[0148] In some embodiments, terms such as interface circuit, interface, transceiver pin, and transceiver may be used interchangeably.
[0149] In some embodiments, the chip 700 further includes one or more memories 703 for storing instructions. Optionally, all or part of the memory 703 may be outside the chip 700.
[0150] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.
[0151] In addition, the word "exemplary" is used herein to indicate serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a specific way. As used herein, the term "or" is intended to represent an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to represent any one of the natural inclusive arrangements. That is, if X applies A; X applies B; or X applies both A and B, "X applies A or B" is satisfied under any of the aforementioned examples. In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "one" and "an" as used in this application and the appended claims are generally understood to mean "one or more".
[0152] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise noted, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although the specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and conducive to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in the specific embodiments or claims, such terms are intended to be inclusive in a manner similar to the term "comprising".
[0153] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0154] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A signal capture method, characterized in that: The method comprises: Acquire a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal; Determine a frequency domain value matrix according to the satellite signal and the local code sequence; Determine a signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix; When the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, adjusting the frequency domain value matrix to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; When the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and the Doppler frequency offset corresponding to the satellite number are determined according to the maximum frequency domain value in the adjusted frequency domain value matrix.
2. The method according to claim 1, characterized in that The determining of a frequency domain value matrix according to the satellite signal and the local code sequence comprises: Performing correlation processing on the satellite signal and the local code sequence to obtain a correlation value sequence; Performing segment processing and segment accumulation processing on the correlation value sequence to obtain multiple values; In the case where the number of the values is less than a power of 2, the multiple values are padded with zeros to obtain a direct correlation processing result including N values; N is a power of 2; Performing fast Fourier transform processing on the direct correlation processing result to obtain a frequency domain value sequence; the frequency domain value sequence includes N frequency domain values; Performing shift processing on the satellite signal, and re-determining the shift correlation processing result and the frequency domain value sequence by combining the satellite signal after the shift processing and the local code sequence, until there is no overlap between the satellite signal and the satellite signal after the shift processing; The frequency domain value matrix is determined according to the determined multiple frequency domain value sequences.
3. The method according to claim 2, characterized in that The satellite signal and the local code sequence have the same length, which is CL chips; The shift length when the satellite signal is shifted is half a chip; the number of shifts of the satellite signal is 2CL times; and the number of frequency domain value sequences is 2CL.
4. The method according to claim 1, characterized in that: The step of determining the signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix includes: Performing mean processing on each non-maximum frequency domain value in the frequency domain value matrix to obtain a frequency domain mean; The ratio of the maximum frequency domain value to the frequency domain mean value is determined as the signal-to-noise ratio value corresponding to the frequency domain value matrix.
5. The method according to claim 1, characterized in that: The method further comprises: When the signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the code phase offset and the Doppler frequency offset corresponding to the satellite number are determined according to the maximum frequency domain value in the frequency domain value matrix.
6. The method according to claim 1, characterized in that Each row of frequency domain values in the frequency domain value matrix is obtained by performing fast Fourier transform processing on each correlation processing result of the satellite signal and the local code sequence; The adjusting process of the frequency domain value matrix to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix includes: Performing adjustment processing on each of the related processing results to obtain each adjusted related processing result; Performing fast Fourier transform processing on each adjusted correlation processing result to obtain an adjusted frequency domain value sequence; Determining the adjusted frequency domain value matrix according to each adjusted frequency domain value sequence; The adjusted signal-to-noise ratio value is determined according to the adjusted frequency domain value matrix.
7. The method according to claim 6, characterized in that The adjusting process of each of the related processing results to obtain each adjusted related processing result includes: Determine a window function and a value at each point in the window function; the number of points in the window function is consistent with the number of values in the correlation processing result; For each value at a position in the correlation processing result, multiply the value at the position by the value of a point at a corresponding position in the window function to obtain an adjusted value at the position; The adjusted correlation processing result is determined according to the adjusted values at each position in the correlation processing result.
8. The method according to claim 1, characterized in that: The method further comprises: When the adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the satellite signal and the local code sequence are reacquired to perform signal acquisition processing.
9. The method according to claim 1, characterized in that: The method further comprises: When the satellite signal does not carry a satellite number, obtaining a local code sequence corresponding to each satellite number; For each satellite number, determine a frequency domain value matrix corresponding to the satellite number and a maximum frequency domain value in the frequency domain value matrix in combination with the satellite signal and a local code sequence corresponding to the satellite number; Determine a target signal-to-noise ratio value corresponding to a target frequency domain value matrix to which the maximum value among each maximum frequency domain value belongs; When the target signal-to-noise ratio value is less than the signal-to-noise ratio threshold, adjusting the frequency domain value matrices corresponding to the satellite numbers to obtain adjusted frequency domain value matrices corresponding to the satellite numbers and an adjusted maximum frequency domain value in the adjusted frequency domain value matrices; Determine a target adjusted signal-to-noise ratio value corresponding to a target adjusted frequency domain value matrix to which the maximum value among the adjusted maximum frequency domain values belongs; When the target adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, determine the target satellite number corresponding to the target adjusted frequency domain value matrix, and determine the code phase offset and Doppler frequency offset corresponding to the target satellite number according to the maximum frequency domain value in the target adjusted frequency domain value matrix.
10. The method according to claim 9, characterized in that The method further comprises: When the target signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold, the target satellite number corresponding to the target frequency domain value matrix is determined, and the code phase offset and the Doppler frequency offset corresponding to the target satellite number are determined according to the maximum frequency domain value in the target frequency domain value matrix.
11. The method according to claim 9, characterized in that The method further comprises: When the target adjusted signal-to-noise ratio value is less than the signal-to-noise ratio threshold, the satellite signal and the local code sequence are reacquired to perform signal acquisition processing.
12. A signal acquisition device, characterized in that: The device comprises: A first acquisition module, used to acquire a satellite signal and a local code sequence corresponding to a satellite number in the satellite signal; A first determination module, configured to determine a frequency domain value matrix according to the satellite signal and the local code sequence; A second determination module, used to determine a signal-to-noise ratio value corresponding to the frequency domain value matrix according to the maximum frequency domain value in the frequency domain value matrix; A first adjustment module is used to adjust the frequency domain value matrix when the signal-to-noise ratio value is less than the signal-to-noise ratio threshold, to obtain an adjusted frequency domain value matrix and an adjusted signal-to-noise ratio value corresponding to the adjusted frequency domain value matrix; The third determination module is used to determine the code phase offset and the Doppler frequency offset corresponding to the satellite number according to the maximum frequency domain value in the adjusted frequency domain value matrix when the adjusted signal-to-noise ratio value is greater than or equal to the signal-to-noise ratio threshold.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to: Implement the steps of the signal acquisition method according to any one of claims 1 to 11. 14 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enables the processor to perform the signal acquisition method according to any one of claims 1 to 11.
15. A chip, characterized in that: It comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal, the signal comprises a computer instruction, and when the processor executes the computer instruction, the chip executes the signal capture method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Methods and apparatus for detecting gnss satellite signals in signal degraded environments
CN105474042A
Fast capturing method of high-dynamic weak L1CP signal
CN107976696A
Signal capturing method and device, computer equipment and storage medium
CN110907958A
High-sensitivity satellite navigation signal capturing method
CN116953739A
Methods for improving computational efficiency in a global positioning satellite receiver
US20080143598A1