Timing synchronization detection method, controller and readable storage medium
By grouping, average amplitude detection and sliding-related operations on the signals received by N antennas in the wireless communication system, the correlation coefficient is determined to realize timing synchronization detection, which solves the problem of insufficient timing synchronization detection performance in complex environments, and improves anti-interference ability and spectrum usage efficiency.
Patent Information
- Application Number
- CN202411607552.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art has insufficient timing synchronization detection performance in complex environments and is susceptible to noise, multipath interference and electromagnetic interference, resulting in demodulation and decoding errors and affecting the reception performance of wireless communication systems.
By obtaining the original signals received by N antennas, performing packet processing and average amplitude detection, performing amplitude compensation and sliding correlation operations, determining the correlation coefficient to achieve timing synchronization detection.
It improves spectrum usage efficiency, enhances the anti-interference capability of wireless communication systems, and improves the timing synchronization detection performance.
Smart Images

Figure CN119545385A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communications, and in particular to a timing synchronization detection method, a controller, and a readable storage medium. Background Art
[0002] Timing synchronization plays a vital role in wireless communication systems. At the receiving end, only when timing synchronization is successful can the starting position of the wireless frame be accurately obtained, and then the demodulation and decoding processes can be completed. If timing synchronization fails or an error occurs, the subsequent demodulation and decoding work will be completely wrong, which will lead to packet loss and error problems, affecting the receiving performance of the wireless communication system.
[0003] The main factors affecting timing synchronization detection are noise, multipath self-interference, and strong electromagnetic interference signals from the enemy in military communications. Multipath interference and strong electromagnetic interference can be considered as a type of high-power noise. In related technologies, in order to improve the timing synchronization performance in complex environments, the length of the synchronization reference symbol is directly increased, but this method will significantly reduce the utilization rate of spectrum resources and greatly increase the complexity of calculations, which is not very economical; or, a high-speed frequency hopping design is adopted, and the frequency points and frequency hopping patterns change rapidly over time, but in an electromagnetic interference environment, some frequency points will be interfered with, and timing synchronization detection cannot be achieved; redundant synchronization head technology is used to redundantly send the same synchronization reference symbol on multiple frequency hopping points, and the receiving end controls the switching of the receiving frequency points according to the known control sequence, which can achieve timing synchronization detection to a certain extent, but this method will reduce the efficiency of spectrum use. Summary of the invention
[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application embodiment provides a timing synchronization detection method, a controller and a readable storage medium, which are conducive to improving spectrum utilization efficiency, improving anti-interference ability in the field of wireless communication, and improving timing synchronization detection performance.
[0005] In a first aspect, an embodiment of the present application provides a timing synchronization detection method, including:
[0006] Obtaining original signals received by N antennas, and performing group processing on the original signals received by the N antennas to obtain N / M groups of signals, where N is a positive integer greater than 2, M is a positive integer, and N is an integer multiple of M;
[0007] Performing average amplitude detection on the N / M groups of signals respectively to determine average amplitude values corresponding to the N / M groups of signals one by one;
[0008] Performing amplitude compensation on the M signals in the group according to the average amplitude value of each group of signals, so that the amplitude values of the M signals in the group all reach the average amplitude value of the current group, thereby obtaining M signals to be processed;
[0009] Perform sliding correlation operations on N / M groups of signals to be processed respectively to determine a correlation value sequence corresponding to each group of signals to be processed;
[0010] Performing sliding energy calculations on the N / M groups of signals to be processed respectively to determine the power accumulation value of each group of signals to be processed within the synchronization symbol length;
[0011] Determine the correlation coefficients of the N / M groups of signals to be processed according to correlation value sequences corresponding to the N / M groups of signals to be processed and power accumulation values of the N / M groups of signals to be processed within a synchronization symbol length;
[0012] A timing synchronization point corresponding to the signal to be processed is determined according to the correlation coefficient.
[0013] According to some embodiments of the present application, an effective path search is performed on the correlation coefficients of the N / M groups of signals to be processed to determine a maximum correlation coefficient;
[0014] Comparing the maximum correlation coefficient with a detection threshold value;
[0015] When the maximum correlation coefficient is greater than the detection threshold, the time information and the phase codebook index corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient are written into the FIFO, and the path exceeding the effective time window is removed from the FIFO.
[0016] According to some embodiments of the present application, after performing effective path search on the correlation coefficients of the N / M groups of signals to be processed, the method further includes:
[0017] When it is detected that there is a valid path at the current moment, all correlation coefficients in the FIFO are accumulated to obtain the correlation coefficient after time diversity reception;
[0018] Performing threshold detection on the correlation coefficient after the time diversity reception;
[0019] When the correlation coefficient after the time diversity reception is greater than the product of the weighted decision coefficient and the detection threshold value, it is determined that the timing synchronization detection is successful;
[0020] When the correlation coefficient after the time diversity reception is less than the product of the weighted decision coefficient and the detection threshold value, the sliding detection continues.
[0021] According to some embodiments of the present application, after determining that the timing synchronization detection is successful, the method further includes:
[0022] The time information corresponding to the original signal received by the antenna corresponding to the first correlation coefficient stored in the FIFO is used as the timing synchronization point.
[0023] According to some embodiments of the present application, before writing the time information and the phase codebook index corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient into the FIFO, the method further includes:
[0024] Check the number of valid paths stored in FIFO;
[0025] When the number of valid paths stored in the FIFO is 8, the first valid path written into the FIFO is deleted;
[0026] Determine whether the difference between the time of the effective path stored in the FIFO and the current time exceeds the length of the effective window;
[0027] When the difference between the time of the effective path stored in the FIFO and the current time exceeds the length of the effective window, the current effective path is removed from the FIFO;
[0028] When the difference between the time of the effective path stored in the FIFO and the current time is less than the length of the effective window, the maximum correlation coefficient, the time information corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient, and the phase codebook index are written into the FIFO.
[0029] According to some embodiments of the present application, the performing average amplitude detection on the N / M groups of signals includes:
[0030] Determine the power of each group of M signals respectively;
[0031] The average amplitude of the current group of M signals is determined according to the power of each group of M signals.
[0032] According to some embodiments of the present application, performing a sliding correlation operation on the N / M groups of signals to be processed to determine a correlation value sequence corresponding to each group of signals to be processed includes:
[0033] Set M to 2, so that each group of signals to be processed includes a first signal and a second signal;
[0034] Performing a sliding correlation operation on the first signal and the local sequence to obtain a first correlation value;
[0035] Performing correlation operation on the second signal and the local sequence to obtain a second correlation value, and multiplying the second correlation value by K phase codebooks respectively to obtain a first correlation value sequence;
[0036] The first correlation value and the first correlation value sequence are coherently weighted to obtain K correlation values, and the K correlation values are determined as the correlation value sequence corresponding to the current group of signals to be processed.
[0037] According to some embodiments of the present application, performing sliding energy operation on the N / M groups of signals to be processed to determine the power accumulation value of each group of signals to be processed within the synchronization symbol length includes:
[0038] Set M to 2, so that each group of signals to be processed includes a first signal and a second signal;
[0039] Multiplying the second signal and K phase codebooks respectively to obtain K groups of data;
[0040] Adding the K groups of data and the first signal to obtain weighted K groups of data;
[0041] Sliding energy calculations are performed on the weighted K groups of data respectively to determine the power accumulation value of the current group of signals to be processed within the synchronization symbol length.
[0042] In a second aspect, an embodiment of the present application provides a controller comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method described in the technical solution of the first aspect when running the computer program.
[0043] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method described in the technical solution of the first aspect.
[0044] The timing synchronization detection method, controller and readable storage medium provided by the embodiment of the present application have at least one of the following advantages or beneficial effects: the original signals received by the N antennas are processed in groups, and the timing synchronization detection performance is improved and the complexity is reduced by antenna group detection; the average amplitude detection and amplitude compensation are performed on the N / M groups of signals, so that the amplitude values of the M signals in the same group all reach the average amplitude value of the current group, so that the amplitude values of each signal in the same group are kept consistent, and the N / M groups of signals to be processed are obtained. By performing amplitude compensation on the signals, the signal spectrum utilization efficiency can be improved, noise and interference signals can be suppressed to a certain extent, and the anti-interference ability in the field of wireless communication can be improved. Sliding correlation operations are performed on the N / M groups of signals to be processed respectively, and the correlation value sequence corresponding to each group of signals to be processed is determined, and synchronization judgment is performed on the signals to be processed with good autocorrelation according to the correlation value sequence; sliding energy operations are performed on the N / M groups of signals to be processed respectively, and the power accumulation value of each group of signals to be processed within the synchronization symbol length is determined, and the existence of the signal is identified by the power accumulation value of the signal to be processed, which is used for signal quality evaluation and noise suppression. The correlation coefficients of the N / M groups of signals to be processed are determined according to the correlation value sequences corresponding to the N / M groups of signals to be processed and the power accumulation values of the N / M groups of signals to be processed within the synchronization symbol length, and the processing signals corresponding to the optimal correlation coefficients are selected for timing synchronization detection judgment, thereby improving the timing synchronization detection performance.
[0045] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 is a flow chart of a timing synchronization detection method provided by an embodiment of the present application;
[0047] Figure 2 It is a flow chart of a method for performing effective path search on correlation coefficients of N / M groups of signals to be processed provided by an embodiment of the present application;
[0048] Figure 3 is a flow chart of a method for threshold detection of correlation coefficients provided in an embodiment of the present application;
[0049] Figure 4 is a flow chart of a method for determining an effective path provided in an embodiment of the present application;
[0050] Figure 5 is a flow chart of a method for performing average amplitude detection on N / M groups of signals provided by an embodiment of the present application;
[0051] Figure 6 It is a flow chart of a method provided by an embodiment of the present application for performing sliding correlation operations on N / M groups of signals to be processed and determining a correlation value sequence corresponding to each group of signals to be processed;
[0052] Figure 7 It is a block diagram of a method for performing sliding correlation operation on N / M groups of signals to be processed and determining a correlation value sequence corresponding to each group of signals to be processed, provided in an embodiment of the present application;
[0053] Figure 8 It is a flow chart of a method for performing sliding energy operation on N / M groups of signals to be processed and determining the power accumulation value of each group of signals to be processed within the synchronization symbol length provided by an embodiment of the present application;
[0054] Fig. 9 It is a block diagram of a method for performing sliding energy operation on N / M groups of signals to be processed and determining the power accumulation value of each group of signals to be processed within the synchronization symbol length provided by an embodiment of the present application;
[0055] Fig.10 It is a structural schematic diagram of a controller provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] This section will describe in detail the specific embodiments of the present application. The preferred embodiments of the present application are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present application, but it cannot be understood as a limitation on the scope of protection of the present application.
[0057] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, "above", "below", "within", etc. are understood to include the number itself, "any one" means one or more, "at least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0058] It should be noted that the terms such as setting, installing, and connecting in the embodiments of the present application should be understood in a broad sense, and the technical personnel in the relevant technical field can reasonably determine the specific meanings of the above terms in the embodiments of the present application in combination with the specific content of the technical solution. For example, the term "connection" can be a mechanical connection, an electrical connection, or mutual communication; it can be directly connected or indirectly connected through an intermediate medium.
[0059] It should be noted that the technical features involved in the various embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.
[0060] Timing synchronization plays a vital role in wireless communication systems. At the receiving end, only when timing synchronization is successful can the starting position of the wireless frame be accurately obtained, and then the demodulation and decoding processes can be completed. If timing synchronization fails or an error occurs, the subsequent demodulation and decoding work will be completely wrong, which will lead to packet loss and error problems, affecting the receiving performance of the wireless communication system.
[0061] In the related art, in order to improve the timing synchronization performance in complex environments, the length of the synchronization reference symbol is directly increased, but this method will significantly reduce the utilization rate of spectrum resources, and at the same time greatly increase the complexity of calculation, and the economy is not high; or, a high-speed frequency hopping design is adopted, and the frequency point and the frequency hopping pattern change rapidly over time, but in an electromagnetic interference environment, some frequency points will be interfered with, and timing synchronization detection cannot be achieved; redundant synchronization head technology is used to redundantly send the same synchronization reference symbol on multiple frequency hopping points, and the receiving end controls the switching of the receiving frequency points according to the known control timing, and realizes timing synchronization detection to a certain extent, but this method will reduce the efficiency of spectrum utilization.
[0062] Based on this, the embodiments of the present application provide a timing synchronization detection method, a controller, and a readable storage medium, which are conducive to improving spectrum utilization efficiency, improving anti-interference capabilities in the field of wireless communications, and improving timing synchronization detection performance.
[0063] Please refer to the accompanying drawings below to further explain the timing synchronization detection method, controller and readable storage medium provided in the embodiments of the present application.
[0064] Reference Figure 1 , Figure 1 is a flowchart of a timing synchronization detection method provided in an embodiment of the present application. The timing synchronization detection method includes but is not limited to steps S100 to S700. Specifically,
[0065] Step S100: obtaining original signals received by N antennas, and performing group processing on the original signals received by the N antennas to obtain N / M groups of signals, where N is a positive integer greater than 2, M is a positive integer, and N is an integer multiple of M;
[0066] Step S200: performing average amplitude detection on the N / M groups of signals respectively to determine the average amplitude values of the N / M groups of signals corresponding to each other;
[0067] Step S300: performing amplitude compensation on the M signals in the group according to the average amplitude value of each group of signals, so that the amplitude values of the M signals in the group all reach the average amplitude value of the current group, thereby obtaining M signals to be processed;
[0068] Step S400: performing sliding correlation operations on N / M groups of signals to be processed respectively to determine a correlation value sequence corresponding to each group of signals to be processed;
[0069] Step S500: performing sliding energy calculations on N / M groups of signals to be processed respectively, and determining the power accumulation value of each group of signals to be processed within the synchronization symbol length;
[0070] Step S600: determining the correlation coefficients of the N / M groups of signals to be processed according to the correlation value sequences corresponding to the N / M groups of signals to be processed and the power accumulation values of the N / M groups of signals to be processed within the synchronization symbol length;
[0071] Step S700: Determine a timing synchronization point corresponding to the signal to be processed according to the correlation coefficient.
[0072] In some embodiments of the present application, the timing synchronization detection method includes: first, grouping the original signals received by the N antennas to obtain N / M groups of signals, using antenna group detection to improve the timing synchronization detection performance and reduce the complexity; performing average amplitude detection and amplitude compensation on the N / M groups of signals, so that the amplitude values of the M signals in the same group all reach the average amplitude value of the current group, so that the amplitude values of each signal in the same group remain consistent, and obtaining N / M groups of signals to be processed, and performing amplitude compensation on the signals is conducive to improving the signal spectrum utilization efficiency, and can suppress noise to a certain extent, and can also suppress interference signals, and improve the anti-interference ability in the field of wireless communication. Afterwards, sliding correlation operations are performed on the N / M groups of signals to be processed respectively, and the correlation value sequence corresponding to each group of signals to be processed is determined, and synchronization judgment is performed on the signals to be processed with better autocorrelation according to the correlation value sequence; sliding energy operations are performed on the N / M groups of signals to be processed respectively, and the power accumulation value of each group of signals to be processed within the synchronization symbol length is determined, and the existence of the signal is identified according to the power accumulation value of the signal to be processed within the synchronization symbol length, which can be used for signal quality evaluation and noise suppression. The correlation coefficients of the N / M groups of signals to be processed are determined according to the correlation value sequences corresponding to the N / M groups of signals to be processed and the power accumulation values of the N / M groups of signals to be processed within the synchronization symbol length. The processing signals corresponding to the optimal correlation coefficients are selected from the correlation coefficients of the N / M groups of signals to be processed for timing synchronization detection and judgment. The timing synchronization points corresponding to the signals to be processed are determined according to the correlation coefficients, thereby improving the timing synchronization detection performance.
[0073] In some embodiments of the present application, the original signals received by N antennas are grouped and processed according to the correlation of the N antennas. It can be understood that when the antenna correlation is low, there will be a significant gain in suppressing electromagnetic interference. According to the use scenario of the wireless communication system, product form and other factors, the receiving antenna is adjusted, for example: adjusting the antenna spacing, polarization direction, etc., and the original signals received by M antennas with low correlation are selected and merged into one group to obtain N / M groups of signals.
[0074] In some embodiments of the present application, the wireless communication system includes 4 antennas, and the original signals received by the N antennas are grouped and processed to obtain N / M groups of signals, including: grouping the 4 antennas, with each two antennas being grouped together to obtain two groups of signals, so as to convert the weighted original signals received by the N antennas into the weighted original signals received by the N / 2 groups of antennas. The antenna grouping detection method is adopted to improve the timing synchronization detection performance and reduce the complexity.
[0075] Reference Figure 2 , Figure 2 1 is a flowchart of a method for searching effective paths for correlation coefficients of N / M groups of signals to be processed provided by an embodiment of the present application. The method for searching effective paths for correlation coefficients of N / M groups of signals to be processed includes but is not limited to steps S900 to S920. Specifically,
[0076] Step S900: performing effective path search on the correlation coefficients of N / M groups of signals to be processed to determine the maximum correlation coefficient;
[0077] Step S910: Compare the maximum correlation coefficient with the detection threshold value;
[0078] Step S920: When the maximum correlation coefficient is greater than the detection threshold, the time information and the phase codebook index corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient are written into the FIFO, and the path exceeding the effective time window is removed from the FIFO.
[0079] In a multipath channel of a wireless communication system, since each multipath may come from a different direction and requires a different phase for suppression, searching each effective path independently can improve the sensitivity of timing synchronization detection. In some embodiments of the present application, a method for performing effective path search on correlation coefficients of N / M groups of signals to be processed includes: performing effective path search on correlation coefficients of N / M groups of signals to be processed to determine the maximum correlation coefficient ρ max , the maximum phase coefficient ρ max Compared with the detection threshold Thres, when the maximum correlation coefficient ρ max Greater than the detection threshold Thres, that is, ρ max >Thres, then the maximum correlation coefficient ρmax The time information t corresponding to the original signal received by the corresponding antenna i And the phase codebook index m is written into FIFO,
[0080] The paths that exceed the valid time window are removed from the FIFO. For example, when the time information t of the first valid path stored in the FIFO is k and the maximum correlation coefficient ρ max The time information t corresponding to the original signal received by the corresponding antenna i The difference between them is greater than the effective time window t window , that is, t k -t i >t window , then the maximum correlation coefficient ρ max The time information t corresponding to the original signal received by the corresponding antenna i The path is moved out of the FIFO.
[0081] It should be noted that the detection threshold value Thres is related to the length of the synchronization reference symbol. Those skilled in the art can set the size of the detection threshold value Thres according to actual conditions. The embodiment of the present application does not limit the size of the detection threshold value Thres.
[0082] It should be noted that the length of the effective time window is related to the multipath delay of the usage scenario. Those skilled in the art can set the length of the effective time window according to actual conditions. The embodiments of the present application do not limit the length of the effective time window.
[0083] Reference Figure 3 As shown, Figure 3 is a flow chart of a method for threshold detection of a correlation coefficient provided in an embodiment of the present application. The method for threshold detection of a correlation coefficient includes but is not limited to steps S901 to S904. Specifically,
[0084] Step S901: when it is detected that there is a valid path at the current moment, all correlation coefficients in the FIFO are accumulated to obtain the correlation coefficient after time diversity reception;
[0085] Step S902: performing threshold detection on the correlation coefficient after time diversity reception;
[0086] Step S903: When the correlation coefficient after time diversity reception is greater than the product of the weighted decision coefficient and the detection threshold value, it is determined that the timing synchronization detection is successful;
[0087] Step S904: When the correlation coefficient after time diversity reception is less than the product of the weighted decision coefficient and the detection threshold, continue the sliding detection.
[0088] In some embodiments of the present application, considering that different reflection paths have different directions of arrival in a multipath channel of a wireless communication system, the effective path is determined by performing amplitude detection, sliding calculation and detection processing on each reflection path, and the effective path search is performed on the correlation coefficients of N / M groups of signals to be processed to determine the maximum correlation coefficient. When it is detected that there is an effective path at the current moment, all correlation coefficients in the FIFO are accumulated to obtain the correlation coefficient ρ after time diversity reception. div , by the correlation coefficient ρ div Perform time domain diversity reception to improve the sensitivity of timing synchronization detection. The correlation coefficient after time diversity reception is ρ div Threshold detection is performed, and the correlation coefficient ρ after time diversity reception div Greater than the product of the weighted decision coefficient coeff(K) and the detection threshold Thres, that is, ρ div >coeff(K)*Thres, then the timing synchronization detection is determined to be successful. When the correlation coefficient after time diversity reception is ρ div Less than the product of the weighted decision coefficient coeff(K) and the detection threshold Thres, that is, ρ div <coeff(K)*Thres, continue sliding detection.
[0089] It should be noted that the weighted decision coefficient coeff(K) corresponds to different coefficients according to different numbers of diversity receptions K, and the embodiment of the present application does not limit the weighted decision coefficient coeff(K).
[0090] In some embodiments of the present application, after determining that the timing synchronization detection is successful, the timing synchronization detection method further includes step S905, specifically,
[0091] Step S905: taking the time information corresponding to the original signal received by the antenna corresponding to the first correlation coefficient stored in the FIFO as the timing synchronization point.
[0092] When the correlation coefficient after time diversity reception is ρ div Greater than the product of the weighted decision coefficient coeff(K) and the detection threshold Thres, that is, ρ div >coeff(K)*Thres, it is determined that the timing synchronization detection is successful, and the time information corresponding to the original signal received by the antenna corresponding to the first correlation coefficient stored in the FIFO is used as the timing synchronization point; by determining the timing synchronization point corresponding to the signal to be processed according to the correlation coefficient, the timing synchronization detection performance is improved.
[0093] Reference Figure 4 As shown, Figure 4is a flow chart of a method for determining an effective diameter provided in an embodiment of the present application. The method for determining an effective diameter includes but is not limited to steps S921 to S925. Specifically,
[0094] Step S921: Detect the number of valid paths stored in the FIFO;
[0095] Step S922: when the number of valid paths stored in the FIFO is 8, the first valid path written into the FIFO is deleted;
[0096] Step S923: Determine whether the difference between the effective path time stored in the FIFO and the current time exceeds the length of the effective window;
[0097] Step S924: When the difference between the time of the effective path stored in the FIFO and the current time exceeds the length of the effective window, the current effective path is removed from the FIFO;
[0098] Step S925: When the difference between the time of the effective path stored in the FIFO and the current time is less than the length of the effective window, the maximum correlation coefficient, the time information corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient, and the phase codebook index are written into the FIFO.
[0099] In some embodiments of the present application, before writing the time information corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient and the phase codebook index into the FIFO, it is first necessary to determine whether the number of valid paths meets the requirements and whether the difference between the time of the valid path stored in the FIFO and the current moment exceeds the length of the valid window. First, the number of valid paths stored in the FIFO is detected. When the number of valid paths stored in the FIFO is 8, the first valid path written into the FIFO is deleted. After that, it is determined whether the difference between the time of the valid path stored in the FIFO and the current moment exceeds the length of the valid window. It can be understood that the length of the valid window is calculated based on sampling points, and the length of the valid window is 5e6*4e-6=20 sampling points. If it exceeds the effective length, the current valid path is removed from the FIFO; when the difference between the time of the valid path stored in the FIFO and the current moment is less than the length of the effective window, the time information corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient and the maximum correlation coefficient, and the phase codebook index are written into the FIFO.
[0100] Reference Figure 5 , Figure 5 is a flow chart of a method for performing average amplitude detection on N / M groups of signals provided by an embodiment of the present application. The method for performing average amplitude detection on N / M groups of signals includes but is not limited to steps S210 to S220. Specifically,
[0101] Step S210: respectively determining the power of each group of M signals;
[0102] Step S220: determining the average amplitude of the current group of M signals according to the power of each group of M signals.
[0103] In some embodiments of the present application, a method for performing average amplitude detection on N / M groups of signals includes: determining the power of each group of M signals respectively;
[0104] The formula for calculating the signal power is:
[0105] Power i =∑|r i (idx-Len+1:idx)| 2 / Len;
[0106] Among them, Power i is the power of the signal corresponding to the i-th antenna, r i is the i-th antenna, Len is the length of the signal, and idx is the starting sampling point index for power calculation.
[0107] The average amplitude of the current group of M signals is determined according to the power of each group of M signals.
[0108] The signal amplitude is calculated as:
[0109]
[0110] Among them, Amp i is the amplitude of the ith signal, Power i is the power of the signal corresponding to the i-th antenna;
[0111] After the power magnitudes of the M signals in each group are calculated, the average amplitude of the M signals in the current group is determined according to the power magnitudes of the M signals in each group.
[0112] By determining N / M groups of signals for average amplitude detection and amplitude compensation, the amplitude values of the M signals in the same group are made to reach the average amplitude value of the current group, so that the amplitude values of each signal in the same group remain consistent, and N / M groups of signals to be processed are obtained.
[0113] Reference Figure 6 As shown, Figure 6 It is a flowchart of a method for performing sliding correlation operation on N / M groups of signals to be processed and determining a correlation value sequence corresponding to each group of signals to be processed provided by an embodiment of the present application. The method for performing sliding correlation operation on N / M groups of signals to be processed and determining a correlation value sequence corresponding to each group of signals to be processed includes but is not limited to steps S410 to S440. Specifically,
[0114] Step S410: setting M to 2 so that each group of signals to be processed includes a first signal and a second signal;
[0115] Step S420: performing sliding correlation operation on the first signal and the local sequence to obtain a first correlation value;
[0116] Step S430: performing correlation operation on the second signal and the local sequence to obtain a second correlation value, and multiplying the second correlation value by K phase codebooks to obtain a first correlation value sequence;
[0117] Step S440: performing coherent weighted processing on the first correlation value and the first correlation value sequence to obtain K correlation values, and determining the K correlation values as the correlation value sequence corresponding to the current group of signals to be processed.
[0118] In some embodiments of the present application, a method for performing sliding correlation operation on N / M groups of signals to be processed to determine a correlation value sequence corresponding to each group of signals to be processed includes: performing correlation operation processing on N / M groups of signals to be processed, and each group of signals to be processed is calculated independently; the specific method is, referring to Figure 7 As shown, M is set to 2, so that each group of signals to be processed includes a first signal r'1 and a second signal r'2, and the first signal r'1 in each group is processed by sliding correlation operation with the local sequence to obtain a first correlation value R 1,1 The second signal r'2 is correlated with the local sequence to obtain a second correlation value, and then the second correlation value is multiplied with the K phase codebooks to obtain a first correlation value sequence. The K phase codebooks include Angle_1, Angle_2, ...Angle_M, ...Angle_K. Then, the first correlation value R obtained by the correlation operation of the first signal r'1 is multiplied by the K phase codebooks to obtain a first correlation value sequence. 1,1 The first correlation value sequence obtained by the correlation operation with the first signal is subjected to coherent weighted processing to obtain K correlation values, and the K correlation values are determined as the correlation value sequence corresponding to the current group of signals to be processed, and the correlation value sequence corresponding to the signals to be processed includes (R 1,2 , R 1,3 ,......R 1,M .......R 1,K ), and make synchronization decisions on the signals to be processed with good autocorrelation according to the correlation value sequence.
[0119] It can be understood that performing sliding correlation operation on N / M groups of signals to be processed means that the above operation is performed once at each sampling point, and the formula for the correlation operation is:
[0120] R i,j (idx) = ∑r′ i,j (idx-L+1:idx)*conj(local);
[0121] Among them, R is the correlation value, local is the local sequence, idx is the count index of the current sampling point, and L is the length of the local sequence.
[0122] In some embodiments of the present application, the phase codebook generation method is to divide 360 degrees into K parts to generate K phase codebooks. In one embodiment, K is 20, so that the phase difference between two adjacent phase codebooks in the phase codebook is 18°.
[0123] Reference Figure 8 As shown, Figure 8 1 is a flowchart of a method for performing sliding energy operation on N / M groups of signals to be processed and determining the power accumulation value of each group of signals to be processed within the synchronization symbol length provided by an embodiment of the present application. The method for performing sliding energy operation on N / M groups of signals to be processed and determining the power accumulation value of each group of signals to be processed within the synchronization symbol length includes but is not limited to steps S510 to S540. Specifically,
[0124] Step S510: setting M to 2 so that each group of signals to be processed includes a first signal and a second signal;
[0125] Step S520: multiplying the second signal and K phase codebooks respectively to obtain K groups of data;
[0126] Step S530: adding K groups of data and the first signal to obtain K groups of weighted data;
[0127] Step S540: Perform sliding energy calculation on the weighted K groups of data respectively to determine the power accumulation value of the current group of signals to be processed within the synchronization symbol length.
[0128] In some embodiments of the present application, a method for performing sliding energy operation on N / M groups of signals to be processed to determine the power accumulation value of each group of signals to be processed within the synchronization symbol length includes: performing energy operation on N / M groups of signals to be processed, calculating the power accumulation value of the signals to be processed within the synchronization symbol length, and calculating each group of signals to be processed independently; the specific method is as follows Fig. 9 As shown: M is set to 2, so that each group of signals to be processed includes a first signal r'1 and a second signal r'2, the second signal r'2 is multiplied by each phase in K phase codebooks, the K phase codebooks include Angle_1, Angle_2, ... Angle_M, ... Angle_K, to obtain K groups of data, and then the K groups of data are added to the first signal r'1 in the group to obtain K groups of weighted data, the K groups of data include (r" 1,1 , r″ 1,2 ,......r″ 1,M .......r″1,K ), then, slidingly calculating the energy of the weighted K groups of data, respectively, to obtain the power accumulation value of the N / M groups of signals to be processed within the synchronization symbol length, the power accumulation value of the signals to be processed within the synchronization symbol length includes (P 1,2 , P 1,3 ,......P 1,M .......P 1,K ).
[0129] It can be understood that the sliding energy operation means that the above operation is performed once at each sampling point. The calculation formula of the energy operation is:
[0130] P i,j (idx) = ∑|r″ i,j (idx-L+1:idx))| 2 ;
[0131] Among them, P i,j (idx) is the energy value of the i-th sampling point, idx is the count index of the current sampling point, and L is the length of the local sequence.
[0132] In order to simplify the computational complexity, the energy value can be calculated iteratively. The specific calculation method is:
[0133] P 1_1 (i+1)=P 1_1 (i)-|r″ 1,1 (i-L+1)| 2 +|r″ 1,1 (i)| 2
[0134] It can be understood that the above calculation method is a typical iterative calculation method, that is, the energy value corresponding to the i+1th sampling point is equal to the energy value corresponding to the i-th sampling point minus the power value of the i-L+1th sampling point plus the power value of the i-th sampling point.
[0135] In some embodiments of the present application, the correlation coefficients of the N / M groups of signals to be processed are determined according to the correlation value sequences corresponding to the N / M groups of signals to be processed and the power accumulation values of the N / M groups of signals to be processed within the synchronization symbol length. The specific method for calculating the correlation coefficients of the N / M groups of signals to be processed is as follows: at each sampling point, the corresponding N*K / M correlation values R are calculated according to the N / M groups of signals to be processed. i,j , get the correlation value sequence, according to N*K / M correlation values R i,j and the power accumulation value P of N / M groups of signals to be processed within the synchronization symbol length i,j , calculate the correlation coefficient ρ of N / M groups of signals to be processed i,j ;
[0136] ρ i,j =|R i,j | 2 / (P i,j *P local );
[0137] Among them, 1≤i≤N / M, 1≤j≤K, P local is the power accumulation of the local sequence, that is, P local =∑|local| 2 .
[0138] After determining the correlation coefficient of the signal to be processed, the timing synchronization point corresponding to the signal to be processed is determined according to the correlation coefficient, and the processing signal corresponding to the optimal correlation coefficient is selected for timing synchronization detection judgment, thereby improving the timing synchronization detection performance.
[0139] Reference Fig.10 , Fig.10 It is a structural diagram of a controller 1000 provided in an embodiment of the present application, including a processor 1001, which can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the method provided in the embodiment of the present application; a memory 1002, which can be implemented in the form of a read-only memory 1002 (Read Only Memory, ROM), a static storage device, a dynamic storage device or a random access memory 1002 (Random Access Memory, RAM), etc. The memory 1002 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1002 and are called by the processor 1001 to execute the embodiments of this application; the input / output interface 1003 is used to implement information input and output; the communication interface 1004 is used to implement communication interaction between this device and other devices, and communication can be achieved through wired methods (such as USB, network cables, etc.) or wireless methods (such as mobile networks, WIFI, Bluetooth, etc.); a bus transmits information between various components of the device (such as the processor 1001, the memory 1002, the input / output interface 1003 and the communication interface 1004); wherein the processor 1001, the memory 1002, the input / output interface 1003 and the communication interface 1004 are connected to each other within the device through the bus.
[0140] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer-readable storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0141] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings.
Claims
1. A timing synchronization detection method, characterized in that: include: Obtaining original signals received by N antennas, and performing group processing on the original signals received by the N antennas to obtain N / M groups of signals, where N is a positive integer greater than 2, M is a positive integer, and N is an integer multiple of M; Performing average amplitude detection on the N / M groups of signals respectively to determine average amplitude values corresponding to the N / M groups of signals one by one; Performing amplitude compensation on the M signals in the group according to the average amplitude value of each group of signals, so that the amplitude values of the M signals in the group all reach the average amplitude value of the current group, thereby obtaining M signals to be processed; Perform sliding correlation operations on N / M groups of signals to be processed respectively to determine a correlation value sequence corresponding to each group of signals to be processed; Performing sliding energy calculations on the N / M groups of signals to be processed respectively to determine the power accumulation value of each group of signals to be processed within the synchronization symbol length; Determine the correlation coefficients of the N / M groups of signals to be processed according to correlation value sequences corresponding to the N / M groups of signals to be processed and power accumulation values of the N / M groups of signals to be processed within a synchronization symbol length; A timing synchronization point corresponding to the signal to be processed is determined according to the correlation coefficient.
2. The timing synchronization detection method according to claim 1, characterized in that: Also includes: Performing effective path search on the correlation coefficients of the N / M groups of signals to be processed to determine the maximum correlation coefficient; Comparing the maximum correlation coefficient with a detection threshold value; When the maximum correlation coefficient is greater than the detection threshold, the time information and the phase codebook index corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient are written into the FIFO, and the path exceeding the effective time window is removed from the FIFO.
3. The timing synchronization detection method according to claim 2, characterized in that: After performing effective path search on the correlation coefficients of the N / M groups of signals to be processed, the method further includes: When it is detected that there is a valid path at the current moment, all correlation coefficients in the FIFO are accumulated to obtain the correlation coefficient after time diversity reception; Performing threshold detection on the correlation coefficient after the time diversity reception; When the correlation coefficient after the time diversity reception is greater than the product of the weighted decision coefficient and the detection threshold value, it is determined that the timing synchronization detection is successful; When the correlation coefficient after the time diversity reception is less than the product of the weighted decision coefficient and the detection threshold value, the sliding detection continues.
4. The timing synchronization detection method according to claim 3, characterized in that: After the determination that the timing synchronization detection is successful, the method further includes: The time information corresponding to the original signal received by the antenna corresponding to the first correlation coefficient stored in the FIFO is used as the timing synchronization point.
5. The timing synchronization detection method according to claim 2, characterized in that: Before writing the time information and the phase codebook index corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient into the FIFO, the method further includes: Check the number of valid paths stored in FIFO; When the number of valid paths stored in the FIFO is 8, the first valid path written into the FIFO is deleted; Determine whether the difference between the time of the effective path stored in the FIFO and the current time exceeds the length of the effective window; When the difference between the time of the effective path stored in the FIFO and the current time exceeds the length of the effective window, the current effective path is removed from the FIFO; When the difference between the time of the effective path stored in the FIFO and the current time is less than the length of the effective window, the maximum correlation coefficient, the time information corresponding to the original signal received by the antenna corresponding to the maximum correlation coefficient, and the phase codebook index are written into the FIFO.
6. The timing synchronization detection method according to claim 1, characterized in that: The performing average amplitude detection on the N / M groups of signals comprises: Determine the power of each group of M signals respectively; The average amplitude of the current group of M signals is determined according to the power of each group of M signals.
7. The timing synchronization detection method according to claim 1, characterized in that: The performing sliding correlation operation on the N / M groups of signals to be processed to determine a correlation value sequence corresponding to each group of signals to be processed includes: Set M to 2, so that each group of signals to be processed includes a first signal and a second signal; Performing a sliding correlation operation on the first signal and the local sequence to obtain a first correlation value; Performing correlation operation on the second signal and the local sequence to obtain a second correlation value, and multiplying the second correlation value by K phase codebooks respectively to obtain a first correlation value sequence; The first correlation value and the first correlation value sequence are coherently weighted to obtain K correlation values, and the K correlation values are determined as the correlation value sequence corresponding to the current group of signals to be processed.
8. The timing synchronization detection method according to claim 1, characterized in that: The performing sliding energy operation on the N / M groups of signals to be processed to determine the power accumulation value of each group of signals to be processed within the synchronization symbol length includes: Set M to 2, so that each group of signals to be processed includes a first signal and a second signal; Multiplying the second signal and K phase codebooks respectively to obtain K groups of data; Adding the K groups of data and the first signal to obtain weighted K groups of data; Sliding energy calculations are performed on the weighted K groups of data respectively to determine the power accumulation value of the current group of signals to be processed within the synchronization symbol length.
9. A controller, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method according to any one of claims 1 to 8.