Primary synchronization signal PSS sequence detection method and device
By configuring parameters based on the search scenario and performing PSS-related calculations and peak searches, the problems of poor configurability and reusability of PSS sequence detection are solved, and efficient PSS sequence detection is achieved.
Patent Information
- Application Number
- CN202310480842.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-11-05
AI Technical Summary
In the prior art, the configurability and reusability of the main synchronization signal PSS sequence detection are poor, and the calculation efficiency is low, resulting in a long detection time and large resource overhead.
By configuring search parameters according to the search scenario, calling resources for PSS related calculations, and performing peak search to select PSS sequences, PSS sequence detection is realized.
It improves the configurability and reusability of PSS sequence detection, reduces computing and storage overhead, and improves detection efficiency.
Smart Images

Figure CN118900225A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a method and device for detecting a primary synchronization signal (PSS) sequence. Background Art
[0002] Primary Synchronisation Signal (PSS) detection is a search for a specified time at a certain frequency point. For the initial cell search, the period of the synchronization broadcast block (SSB) is unknown, and the user equipment (UE) assumes this time to be 20ms. As long as the PSS is searched, the UE can obtain the network identifier (NID) of the PSS timing, subcarrier spacing, and physical cell identifier (PCI). At the same time, the PSS can also be used to eliminate frequency fluctuations between the UE and the network, and subsequent secondary synchronization signals (SSS) can be detected to obtain the PCI.
[0003] PSS detection needs to support concurrent blind detection of two frequencies of two carriers. It is divided into two scenarios: initial cell search and cell residence. In the initial search, only the data of one carrier is detected. After the cell residence, the two frequencies of two carriers may be detected in parallel. In the current conventional practice, the PSS detection device of each carrier is fixed, and the configurability and multiplexing of the resources called by each carrier are poor. PSS is the first signal for UE to search for a cell, and it is also the most complicated process in the cell search. At this stage, the UE does not know the system timing, and there is a large fluctuation in frequency with the network. In the current conventional practice, a sliding correlation method with preset frequency deviation is adopted. The amount of calculation and storage increases in proportion to the number of preset frequency deviations, and the overhead is too large.
[0004] In summary, the prior art has the problems of poor configurability and multiplexability and low computational efficiency in detecting PSS sequences. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for detecting a primary synchronization signal (PSS) sequence, so as to at least solve the problems of poor configurability and multiplexability and low calculation efficiency of PSS sequence detection in the related art.
[0006] According to one embodiment of the present invention, a method for detecting a primary synchronization signal PSS sequence is provided, comprising: configuring search parameters according to a search scenario of the primary synchronization signal PSS sequence; calling resources to perform PSS correlation calculations according to the search parameters; performing peak search according to correlation values of the PSS correlation calculations, and selecting a corresponding PSS sequence according to the peak value to complete PSS sequence detection.
[0007] According to another embodiment of the present invention, a primary synchronization signal PSS sequence detection device is provided, including: a parameter configuration module, used to configure search parameters according to the search scenario of the primary synchronization signal PSS sequence; a first detection branch, including a correlation calculation unit and a peak search unit, wherein the correlation calculation unit is used to call resources to perform PSS correlation calculation according to the search parameters; the peak search unit is used to perform peak search according to the correlation value of the PSS correlation calculation; a selection module is used to select the corresponding PSS sequence according to the peak search result to complete PSS sequence detection.
[0008] Through the present invention, a method for detecting a primary synchronization signal PSS sequence is provided, comprising: configuring search parameters according to a search scenario of the primary synchronization signal PSS sequence; calling resources to perform PSS correlation calculation according to the search parameters; performing peak search according to the correlation value of the PSS correlation calculation, and selecting the corresponding PSS sequence according to the peak value to complete PSS sequence detection. The problem of poor configurability and reusability and low calculation efficiency of PSS sequence detection in the related art is solved, and the effect of improving the configurability and reusability of PSS sequence detection and improving calculation efficiency is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 It is a schematic diagram of the SSB transmission format in the related art;
[0010] Figure 2 is a flow chart of a method for detecting a primary synchronization signal PSS sequence according to an embodiment of the present invention;
[0011] Figure 3 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present invention;
[0012] Figure 4 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present invention;
[0013] Figure 5 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present invention;
[0014] Figure 6 is a hardware block diagram of a PSS sequence detection device according to a scenario embodiment of the present invention;
[0015] Figure 7 is a flow chart of a PSS sequence detection method according to a scenario embodiment of the present invention;
[0016] Figure 8 is a principle block diagram of a PSS-related calculation unit according to a scenario embodiment of the present invention;
[0017] Fig. 9 2 is a schematic diagram of the segmented correlation calculation principle according to a scenario embodiment of the present invention;
[0018] Fig.10 is a schematic diagram of the time domain data caching principle according to a scenario embodiment of the present invention;
[0019] Fig.11 is a schematic diagram of the time domain data caching principle according to a scenario embodiment of the present invention;
[0020] Fig.12 is a schematic diagram of the principle of external storage according to a scenario embodiment of the present invention;
[0021] Fig.13 2 is a schematic diagram of the principle of first data writing to external storage according to a scenario embodiment of the present invention;
[0022] Fig.14 2 is a schematic diagram of the principle of non-first data writing to external storage according to a scenario embodiment of the present invention;
[0023] Fig.15 It is a flowchart of a PSS sequence detection according to a scenario embodiment of the present invention. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0026] In the communication system, the synchronization broadcast block SSB carries the primary synchronization signal PSS, the secondary synchronization signal SSS, and the physical broadcast channel (PBCH) so that the UE can achieve downlink synchronization. Figure 1 This is a schematic diagram of the SSB transmission format in the related art, such as Figure 1As shown, the vertical axis represents the frequency domain and the horizontal axis represents the time domain. When transmitting SSB, each SSB is composed of 240 consecutive subcarriers in the frequency domain and numbered from 0 to 239, and in the time domain, it is composed of 4 consecutive OFDM (Orthogonal Frequency Division Multiplex) symbols and numbered from 0 to 3, where PSS is mapped to the 127 consecutive subcarriers in the middle of SSB symbol 0. In NR, the SSB block period is variable and can be configured to 5ms, 10ms, 20ms, 40ms, 80ms, and 160ms. In each period, multiple SSBs are limited to a 5ms half-frame. Among them, PSS is mapped to the 127 consecutive subcarriers in the middle of SSB. According to the different SSB subcarrier intervals, there are 5 cases for SSB blocks.
[0027] In the current conventional PSS detection practice, in the initial cell search scenario, there may be a large carrier frequency offset between the UE and the base station, which will cause the PSS sliding correlation peak detection performance to degrade. At this time, the PSS detection module needs to be able to combat the impact of the large frequency offset; a sliding correlation method with a preset frequency offset is usually adopted, and the amount of calculation and storage increases proportionally with the number of preset frequency offsets, resulting in excessive overhead; in the related technology for PSS blind detection, the resource configurability and multiplexing are poor, the amount of sliding correlation calculation and storage of the preset frequency offset is large, and the long detection time may reduce the decoding processing performance. No solution has been proposed yet.
[0028] In this embodiment, a primary synchronization signal PSS sequence detection method is provided. Figure 2 is a flow chart of a method for detecting a primary synchronization signal PSS sequence according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0029] Step S202, configuring search parameters according to a search scenario of a primary synchronization signal PSS sequence;
[0030] In an exemplary embodiment, the search scenario includes one of the following: frequency scanning, cell search, and cell dwelling. In actual implementation, the system software identifies the search scenario according to actual conditions, and configures the search parameters according to the specific search scenario.
[0031] In an exemplary embodiment, the search parameters include at least one of the following: carrier type, subcarrier spacing (SCS), sampling rate, synchronization broadcast block SSB period, correlation length, cell identification ID, number of antennas, noise elimination normalization, and multi-period accumulation.
[0032] Step S204, calling resources to perform PSS related calculations according to the search parameters;
[0033] In an exemplary embodiment, storage resources and computing resources are called according to the search parameters to perform PSS related calculations, wherein the PSS related calculations include segmented related calculations or non-segmented related calculations.
[0034] In an exemplary embodiment, after calling resources to perform PSS related calculations according to the search parameters, it also includes: comparing the antenna received signal power with a preset normalization threshold, and if the antenna received signal power is greater than or equal to the preset normalization threshold, performing noise elimination normalization processing on the antenna received signal.
[0035] In an exemplary embodiment, after calling resources to perform PSS correlation calculation according to search parameters, it also includes: when the search parameters include multi-cycle accumulation, accumulating the PSS correlation value of the current position and the historical PSS correlation value of the current position.
[0036] Step S206, performing peak search according to the correlation value of the PSS correlation calculation, and selecting the corresponding PSS sequence according to the peak value to complete PSS sequence detection.
[0037] In an exemplary embodiment, searching and selecting a corresponding PSS sequence according to a correlation value of a PSS correlation calculation includes: calculating a noise threshold according to noise statistics data; and selecting a corresponding PSS sequence by comparing the noise threshold with a peak value of the correlation value.
[0038] Through the above steps, the search parameters are configured according to the search scenario of the main synchronization signal PSS sequence; resources are called according to the search parameters to perform PSS related calculations; peak search is performed according to the correlation value of the PSS related calculation, and the corresponding PSS sequence is selected according to the peak value to complete the PSS sequence detection. The problems of poor configurability and reusability of PSS sequence detection in related technologies, large amount of calculation and storage, long detection time, and possible reduction of detection processing performance are solved, and the effect of improving the configurability and reusability of PSS sequence detection is achieved. At the same time, while ensuring the detection performance, the calculation and storage overhead are greatly reduced, and the PSS detection can be completed quickly.
[0039] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0040] In this embodiment, a primary synchronization signal PSS sequence detection device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0041] Figure 3 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present invention, Figure 3 As shown, the detection device 30 includes: a parameter configuration module 310, used to configure search parameters according to the search scenario of the main synchronization signal PSS sequence; a first detection branch 320, including a correlation calculation unit 3201 and a peak search unit 3202, wherein the correlation calculation unit 3201 is used to call resources according to the search parameters to perform PSS correlation calculation; the peak search unit 3202 is used to perform peak search according to the correlation value of the PSS correlation calculation; a selection module 330 is used to select the corresponding PSS sequence according to the peak search result to complete the PSS sequence detection.
[0042] In a specific embodiment, the parameter configuration module 310 and the selection module 330 may be software modules, and the first detection branch 320 may be a hardware module.
[0043] In an exemplary embodiment, there are multiple correlation calculation units 3201, and each correlation calculation unit 3201 performs PSS correlation calculation corresponding to data received by an antenna.
[0044] In an exemplary embodiment, the correlation calculation unit 3201 also includes: a first cache, a second cache, and a correlation value cache area located in the second-level cache L2D, wherein the first cache and the second cache are used to store input values of PSS correlation calculations written in a ping-pong manner, and the correlation value cache area is used to store historical correlation values output by the correlation calculation unit 3201.
[0045] In an exemplary embodiment, the relevant calculation unit 3201 also includes: a first random access memory, a second random access memory, a first read-only memory, and a second read-only memory, wherein the first random access memory and the second random access memory are used to cache time domain data in a ping-pong manner, and the first read-only memory and the second read-only memory are used to cache parity and even local PSS sequences respectively.
[0046] In the actual implementation process, the correlation calculation unit 3201 includes: a segmented correlation accumulation branch and a non-segmented correlation accumulation branch, wherein the 128-point accumulation calculation of the non-segmented correlation accumulation branch and the last 64-point accumulation calculation of the segmented correlation accumulation branch share a set of computing resources, and the enabling of the segmented correlation accumulation branch and the non-segmented correlation accumulation branch is controlled by a configuration signal. In the actual implementation process, setting a periodic accumulation unit can improve the peak search performance.
[0047] In an exemplary embodiment, Figure 4 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present invention, Figure 4 As shown, the first detection branch 320 also includes: a software and hardware interface unit 3203, which is used to send the configured search parameters to the first detection branch 320, and report the peak search results to the selection module 330. In an exemplary embodiment, the first detection branch 320 also includes: a period accumulation unit 3204, which is used to accumulate the PSS correlation value of the current position and the historical PSS correlation value of the current position when the search parameters include multi-period accumulation. In an exemplary embodiment, the first detection branch 320 also includes: a noise suppression unit 3205, which is used to compare the antenna received signal power with a preset normalization threshold. If the antenna received signal power is greater than or equal to the preset normalization threshold, the antenna received signal is subjected to noise elimination normalization processing.
[0048] In the specific implementation process, although the above-mentioned software and hardware interface unit 3203 is included in the first detection branch 320 in this embodiment, in the actual implementation process, the software and hardware interface unit 3203 can also be independent of the first detection branch 320 and used as a separate hardware module. At the same time, the software and hardware interface unit 3203 has a data interaction relationship with other components of the first detection branch 320, not just with the relevant calculation unit 3201. Figure 4 The form and connection relationship of the software and hardware interface unit 3203 shown are only used as examples for schematic illustration, and no specific limitation is imposed on the form and connection relationship of the software and hardware interface unit 3203.
[0049] In an exemplary embodiment, the software and hardware interface unit 3203 uses two levels of storage to store the search parameters for PSS sequence detection in the current cycle and the next cycle respectively, so as to support early delivery of the search parameters.
[0050] In an exemplary embodiment, the first detection branch also includes one or more registers for storing search parameters, wherein the search parameters include at least one of the following: carrier type, subcarrier spacing SCS, sampling rate, synchronization broadcast block SSB period, correlation length, cell identification ID, number of antennas, noise elimination normalization, and multi-cycle accumulation.
[0051] In an exemplary embodiment, Figure 5 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present invention, Figure 5 As shown, the detection device 50 includes Figure 3 In addition to the modules in the embodiment, the present invention further includes: a second detection branch 510, wherein the second detection branch 510 has the same structure as the first detection branch 320, and the second detection branch 510 and the first detection branch 320 form a two-carrier parallel PSS sequence detection branch.
[0052] In actual implementation, the second detection branch 510 and the first detection branch 320 may be used simultaneously. The two have the same structure and can meet the requirement of parallel detection of two carriers.
[0053] In an exemplary embodiment, the detection device may further include: an external memory and an external memory read and write control circuit. In an exemplary embodiment, the detection device may further include: a sampling rate counter for adapting different subcarrier spacings SCS and sampling rate data.
[0054] It should be noted that the above-mentioned modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned modules, especially the software modules, can all be located in the same processor; or, the above-mentioned modules can be located in different processors in any combination.
[0055] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0056] In order to enable those skilled in the art to better understand the technical solution of the present invention, it is described below in conjunction with specific scenario embodiments.
[0057] Scenario Example 1
[0058] In the embodiment of the present invention, the efficient PSS sequence detection design is mainly reflected in that the software configures different parameters (including different carriers, subcarrier spacing SCS, sampling rate, SSB period, correlation length, cell ID, number of antennas, normalized noise elimination and multi-cycle accumulation, etc.) according to different scenarios such as frequency scanning, cell search and cell residence, and the hardware calls different resources for calculation according to different parameters, so that resources and power consumption are minimized. For example, in the case of low signal-to-noise ratio cell search, the multi-cycle accumulation function can be enabled to improve the PSS peak search quality, and the periodic accumulation module is not applicable in the case of high signal-to-noise ratio cell search to release resources and reduce power consumption; in the case of large frequency deviation in cell search, the software can enable PSS segmentation related options to resist the influence of frequency deviation. In order to overcome the problems of insufficient flexible configuration and reuse of resources for complex scenarios and low detection efficiency in PSS detection, the present invention proposes an efficient PSS sequence detection method and device, which can cope with the scenarios of public land mobile network (PLMN) frequency scanning, channel selection (ICS) cell search, and same-frequency and different-frequency search in idle and connected states, and for the convenience of hardware implementation, the method of making the scene opaque to the design is adopted to enhance the versatility of the detection method. The PSS detection branch with two carriers in parallel is adopted, and the data input can be independently selected by software configuration. The PSS detection of two carriers in parallel can be performed simultaneously according to the configuration, and of course, the PSS detection of a single carrier can also be performed according to the configuration. Each branch is set with a related length indication and a register indicating whether the SSB cycle is continuous, so that the hardware can work under software scheduling, and the maximum hardware compatibility and reuse can be achieved. The hardware can flexibly configure the relevant modules to achieve, save resources, reduce power consumption and improve detection efficiency.
[0059] Figure 6 is a hardware block diagram of a PSS sequence detection device according to an embodiment of the present invention, such as Figure 6As shown, the PSS related calculation unit enables the corresponding module according to the number of antennas to save resources and power consumption. The module has a built-in sampling rate counter that can adapt to different subcarrier spacing SCS and sampling rate data. The PSS related calculation supports arbitrary correlation length calculation and supports segmented correlation occupying the same storage and computing resources. It can be flexibly calculated according to the software configuration, supporting continuous calculation and discontinuous calculation; the noise suppression unit can eliminate the noise caused by the rapid change of AGC, and the software can enable or delete this module; the periodic accumulation unit mainly accumulates multiple periodic data of PSS related data to improve the peak search performance. This module is in multiple periods It works when accumulation is enabled. In addition, in order to save hardware storage resources, data is stored in external memory and a special external memory read and write control circuit is set for interaction; the peak search unit mainly completes the search for PSS related data, and sorts the searched data and reports it to the software. The peak search related parameters can be flexibly configured by the software according to the situation; the main function of the hardware and software interface unit accepts the parameters sent by the software and supports the parameters to be sent in advance, that is, the parameters for the next week can be sent when the current cycle is working. The hardware design samples the 2-level storage to ensure that the parameters can be stored. In addition, the interface is used to search the peak and noise statistics for the software to calculate the noise threshold.
[0060] According to the hardware structure of the above detection device, the scenario embodiment of the present invention provides a PSS sequence detection method. Figure 7 is a flow chart of a PSS sequence detection method according to an embodiment of the present invention. Figure 7 As shown, the specific process is as follows:
[0061] Step S702, configuring search parameters according to the search scenario of the PSS sequence;
[0062] Specifically, the software configures different parameters according to different scenarios such as PLMN frequency scanning, ICS cell search, and same-frequency and different-frequency searches in idle and connected states, including different carriers, SCS, sampling rate, SSB period, correlation length, cell ID, number of antennas, noise elimination normalization and multi-cycle accumulation.
[0063] Step S704, calling resources to perform PSS related calculations according to the searched parameters;
[0064] Specifically, after the parameter configuration is completed, the hardware starts working and calls resources to perform PSS related calculations according to different parameter set configurations.
[0065] Step S706: perform peak search and select a corresponding PSS sequence according to the peak value to complete PSS sequence detection.
[0066] Specifically, the peak search is reported to the software, and the noise statistical data is reported to the software for noise threshold calculation, etc. The software selects the corresponding PSS sequence according to the peak calculation.
[0067] Figure 8 is a principle block diagram of a PSS related calculation unit according to a scenario embodiment of the present invention, such as Figure 8 As shown, the present invention can support the design of SCS with 120k and 30.72MHz sampling rate in millimeter wave (Milli Merer Wave, MMW), and can support parallel calculation of up to 4 antennas (ant0~ant3 in the figure); different SCS designs (for example, 15k, 30k and 120k) only need to configure the sampling point counter to reuse the calculation unit. In order to support 120k@30.72MHz, parity separation and ping-pong operation are used for real-time and efficient calculation. The PSS related calculation adopts the time domain matching filtering method, and the data is cached in RAM (that is, the first random access memory and the second random access memory in the above embodiment) and multiplied with the local PSS sequence; then the PSS sliding correlation operation is performed by controlling the RAM address; the local PSS sequence is stored in ROM, and the PSS sequences of the three IDs are respectively stored in ROM (that is, the first read-only memory and the second read-only memory in the above embodiment). In addition, the selector (such as Figure 8 The mux selector in the module switches to the PSS sequence of V2X. Two working modes, NR and V2X, are supported in hardware. After the correlation operation of the odd and even PSS, antenna merging and noise elimination are performed, and then the downsampled data is given to the peak search module. If the software is configured for multi-cycle accumulation, data can be exchanged with the external memory through a dedicated external memory read and write control circuit to avoid using hardware internal storage to increase resources.
[0068] Fig. 9 Schematic diagram of the segmented correlation calculation principle according to the scenario embodiment of the present invention. Fig. 9As shown, the present invention adopts segmented correlation technology instead of preset frequency deviation technology. In the initial cell search scenario, there may be a large carrier frequency deviation between the UE and the base station, which will cause the PSS sliding correlation peak detection performance to decrease. At this time, the PSS detection module needs to be able to resist the influence of large frequency deviation. The usual practice is to use a preset frequency deviation algorithm to achieve resistance to the influence of large frequency deviation, and pre-set a frequency deviation hypothesis set. Different assumed frequency deviations are loaded for the three local time domain PSS sequences respectively, and the local time domain PSS sequences loaded with the assumed frequency deviations are subjected to sliding correlation operations with the time domain received signal. There are a total of 3Nbin combinations of the three local sequences and Nbin assumed frequency deviations, corresponding to 3Nbin mutually independent processing branches. If 5 preset frequency deviations are added, the corresponding calculation amount and storage amount are increased to 5 times the original. The present invention adopts a segmented correlation scheme to divide the PSS in the time domain into multiple segments and correlate them with the received signal. The segmented correlation in the time domain shortens the direct correlation accumulation length, thereby obtaining enhanced resistance to frequency deviation. At the same time, the segmented correlation and the non-segmented correlation are coupled and designed to share a set of resources. The corresponding modules are selected according to the configuration signal. The non-segmented correlation 128-point accumulation and the segmented correlation last 64-point accumulation share a set of resources. In the segmented correlation mode, two branches are opened to perform the front and back 64-point accumulation calculation. In the non-segmented mode, only the last 64 points are opened to perform the 128-point accumulation calculation. Finally, the power calculation of the correlation result data (i.e., I 2 +Q 2 ). Compared with the preset frequency deviation which increases storage and computing resources exponentially, the PSS detection performance loss of the present invention is small, saving storage and computing resources. Specifically, in the correlation calculation, a pair of antenna receiving signals are slidingly correlated with the local sequences of three local ID2s in the time domain. The sliding correlation operation is implemented by the matched filtering method in the time domain. Each ID2 uses an independent filtering branch, and the software configures whether the corresponding branch is enabled.
[0069] Fig.10 is a schematic diagram of the time domain data caching principle according to a scenario embodiment of the present invention, Fig.11 is a schematic diagram of the time domain data caching principle according to a scenario embodiment of the present invention, such as Fig.10 As shown in the figure, the design of one of the parity branches and one local code is introduced. The other branches are similar. First, the PSS matching correlator uses RAM to cache time domain data. When the sampling rate is 30.72M, the resource consumption is the highest. The other sampling rates can reuse the resources of the highest sampling rate. The local code is divided into parity and stored in ROM0 and ROM1. Fig.11As shown, online data is stored in two RAMs respectively. After the first 128 data arrive, they are ping-pong stored in RAM0 and RAM1. For example, the first data is stored in RAM0, the second data is stored in RAM1, and so on until the two RAMs are full. After the 129th data arrives, the data is stored in RAM0 address 0; after the 130th data arrives, the data is stored in RAM1 address 0; after the 131st data arrives, the data is stored in RAM0 address 1, and so on, in a circular storage.
[0070] Fig.12 Schematic diagram of the principle of external storage according to the scenario embodiment of the present invention, such as Fig.12 As shown, the PSS related calculation in the present invention is completed in the hardware, but no long-term storage space is opened in the hardware. Instead, the PSS related values are exported to the external storage L2D for caching; in this solution, the hardware sets two temporary cache buffers (i.e., the first cache and the second cache in the above embodiment), and the PSS related results are written to the buffer in a ping-pong manner. Every time a buffer is filled, the hardware is responsible for writing the PSS related results of the buffer to the temporary cache in L2D. In addition to completing the writing of the PSS related values to L2D, the hardware counts the non-zero noise greater than the noise threshold according to the noise threshold configured by the software, and reports it to the software for related peak threshold calculation. When the temporary cache receives the PSS related peak value at that time, the software will schedule it at an appropriate time and accumulate it with the PSS historical data in L2D. It is stored back to the main storage space in L2D, and the peak search of the segment is performed. In order to match the hardware storage buffer to be small enough and the software operation is not frequent, the temporary cache in L2D can be N times the size of the hardware cache buffer. In the hardware peak search scheme, the hardware needs to read back the segmented historical PSS correlation peak from L2D to the hardware buffer and accumulate it with the current PSS correlation peak of the PSS correlator. After the hardware completes the peak search for the current accumulated value, the accumulated value is written back to L2D for storage.
[0071] Fig.13 is a schematic diagram of the principle of first data writing to external storage according to a scenario embodiment of the present invention, such as Fig.13 As shown in Figure 1, the entire search space is divided into N segments (seg0, seg1, and segN-1), and then the peaks are searched in sequence; first consider the initial PSS correlation peak search and its writing to L2D. PSS correlation is completed in hardware, and two temporary buffers are set in the hardware (i.e. Fig.13buf0 and buf1 in the above embodiment are the first cache and the second cache, and the PSS related results are written to the buffer in segments by ping-pong. Every time a buffer is filled, the hardware is responsible for writing the PSS related results of the buffer into the related value cache area in the L2D.
[0072] Fig.14 is a schematic diagram of the principle of non-first data writing to external storage according to a scenario embodiment of the present invention, such as Fig.14 As shown in the figure, if it is not the first PSS peak search, it is necessary to consider the accumulation of PSS related historical data and current data, peak search and writing to L2D. PSS correlation is completed in hardware, and two temporary buffers are set in the hardware (i.e. Fig.14 buf0 and buf1 in L2D). Before the relevant values are written to buf0, the hardware scheduler first reads the historical PSS relevant values in L2D into buffer0, and then, when processing the current segment, the relevant values of the current segment and the historical data in buf0 are accumulated and written back to buf0. Every time a buf0 is filled, the hardware is responsible for writing the PSS relevant results of buf0 to the relevant value cache in L2D. Similarly, before the relevant values are written to buf1, the hardware scheduler first reads the historical PSS relevant values in L2D into buf1, and then, when processing the current segment, the relevant values of the current segment and the historical data in buf0 are accumulated and written back to buf1. Every time a buf1 is filled, the hardware is responsible for writing the PSS relevant results of buf1 into the relevant value cache in L2D.
[0073] Fig.15 : is a schematic diagram of the process of PSS sequence detection according to a scenario embodiment of the present invention, such as Fig.15 As shown, the specific process is as follows:
[0074] First, the software configures different parameters according to different scenarios, such as PLMN frequency scanning, ICS cell search, and same-frequency and different-frequency search in idle and connected states. The PSS correlator calls different resources to calculate the received data, and the power accumulation calculation is also performed synchronously. When the software configuration noise elimination normalization is enabled, noise suppression operation will be performed; after downsampling, when the periodic accumulation is enabled, multi-period PSS related data will be accumulated and peak search will be performed. The peak and noise statistics will be reported to the software through the software and hardware interface. When the peak reaches the threshold, the periodic accumulation can be terminated in advance. The specific process is as follows:
[0075] PSS related processing: First, the software sends parameters according to different scenarios. The PSS correlator separates the odd and even data of each receiving antenna and performs independent matched filtering. In this embodiment, the ping-pong RAM is required to cache the time domain data until a data is no longer used for related calculations, and is replaced by new data and stored at the address of the replaced data, and so on, for circular storage. The key to filtering lies in the generation of read and write pointers. Data is read only when the sampling point count value reaches the filter order, and matched filtering calculations are performed with the three local sequences of ID2 respectively. When the carrier frequency deviation between the UE and the base station is large, in order to combat the degradation of detection performance caused by the large frequency deviation, the matched filter can support the segmented correlation method, and the filtering results of the 64 points before and after are output separately. By shortening the length of the direct correlation accumulation, good resistance to frequency deviation is obtained with a small performance loss.
[0076] Noise elimination normalization: eliminate the impact of AGC spikes on detection performance, and perform sampling noise elimination normalization. Specifically, compare the normalization threshold with the received signal power. If the received signal power is greater than or equal to the threshold value, normalization processing will be performed, that is, the filtered power value is multiplied by the normalization factor, which is the ratio of the target power value to the received signal power. When the channel quality is good, the noise elimination normalization module may not be required.
[0077] Power accumulation: Calculate the sliding accumulation results of 128 odd and even points before matched filtering, and align them with the matched filtering data.
[0078] Downsampling: To reduce the amount of storage, the normalized result is downsampled, that is, the normalized results of the odd and even data are extracted to retain the maximum data.
[0079] Periodic accumulation: Through multiple periodic accumulation and smoothing, the problem of large changes in related results within the detection cycle is overcome, the detection success rate is improved, and data is taken from the read control module for merging. When merging is not required, the merged accumulation is directly deleted. When merging is required, the read control module returns the historical value of the corresponding position; write control, write the relevant accumulation results of each sample point into the accumulation buffer in sequence. In the software peak search mode, the storage space of each ID2 in L2D is managed in the form of a circular buffer. In the hardware peak search, the starting address and size of the storage space of each ID2 in L2D are fixed, which is the number of sampling points in the working cycle. At the same time, this module counts the sample points whose related power is greater than the noise threshold and the sum of all sample point powers for software statistics. Read control is the reverse process of write control. The power of the sampling points to be accumulated is prepared in advance to the on-chip buffer, and the pre-fetch mode is adopted. The structure of the pre-fetch control unit is as follows Fig.13 As shown, the next historical power to be accumulated is prepared in advance at the interface with the accumulation module. Each time the power accumulation module uses the data of a sampling point, it prepares the power of the next sampling point to be output to the interface.
[0080] Peak search: 3 IDs are processed independently, and MaxPeakNum (the number of maximum peaks) maximum peaks are selected for each ID2, and they are sorted and reported to the software as 3*MaxPeakNum peaks.
[0081] Software and hardware interface: implements software parameter configuration, hardware detection result reporting, and peak value reporting.
[0082] In summary, the embodiment of the present invention provides a PSS sequence detection method and device, which can solve the problems of poor configurability and reusability of hardware resources compared with the prior art; adding a carrier selector can realize flexible configuration and reuse of resources, which is conducive to improving the ability of the receiving end to cope with complex scenarios and providing more reliable PSS detection performance. The technical solution of the present invention can be applied in scenarios involving 5G wireless communications, and the application fields include industrial fields, automotive fields, energy fields, medical fields, etc. Among them, the application scenarios in the industrial field include remote control, product status monitoring, automatic driving, ultra-high-definition video, equipment perception, material information collection, environmental information collection, remote after-sales, etc.; the application scenarios in the automotive field include in-vehicle VR video calls, real-life navigation, etc.; the application in the energy field includes transmission line drone inspection, power quality monitoring, workplace video monitoring, etc.; the application in the medical field includes ultra-high-definition remote consultation, emergency rescue, remote surgery, etc. Specific products include driverless cars, mobile phones, portable routers, etc.
[0083] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for detecting a primary synchronization signal PSS sequence, characterized in that: include: Configure search parameters according to the search scenario of the primary synchronization signal PSS sequence; Calling resources to perform PSS related calculations according to the search parameters; A peak search is performed based on the correlation value of the PSS correlation calculation, and a corresponding PSS sequence is selected based on the peak value to complete PSS sequence detection.
2. The method according to claim 1, characterized in that in, The search scenario includes one of the following: Frequency scanning, cell search, and cell dwell.
3. The method according to claim 1, characterized in that in, The search parameters include at least one of the following: Carrier type, subcarrier spacing SCS, sampling rate, synchronization broadcast block SSB period, correlation length, cell identification ID, number of antennas, noise elimination normalization, and multi-period accumulation.
4. The method according to claim 1, characterized in that: The calling of resources according to the search parameters to perform PSS related calculations includes: Storage resources and computing resources are called according to the search parameters to perform PSS related calculations.
5. The method according to claim 1, characterized in that in, The PSS correlation calculation includes segmented correlation calculation or non-segmented correlation calculation.
6. The method according to claim 1, characterized in that After calling resources according to the search parameters to perform PSS related calculations, the method further includes: The antenna received signal power is compared with a preset normalization threshold, and if the antenna received signal power is greater than or equal to the preset normalization threshold, a noise elimination normalization process is performed on the antenna received signal.
7. The method according to claim 1, characterized in that After calling resources according to the search parameters to perform PSS related calculations, the method further includes: In the case where the search parameters include multi-period accumulation, the PSS correlation value of the current position and the historical PSS correlation value of the current position are accumulated.
8. The method according to claim 1, characterized in that Searching and selecting a corresponding PSS sequence according to a correlation value of the PSS correlation calculation, including: Calculate noise threshold based on noise statistics; According to the noise threshold and the peak value of the correlation value, a corresponding PSS sequence is selected by comparison.
9. A primary synchronization signal PSS sequence detection device, characterized in that: include: A parameter configuration module, used to configure search parameters according to the search scenario of the primary synchronization signal PSS sequence; The first detection branch includes a correlation calculation unit and a peak search unit, wherein the correlation calculation unit is used to call resources to perform PSS correlation calculation according to the search parameter; the peak search unit is used to perform peak search according to the correlation value of the PSS correlation calculation; The selection module is used to select the corresponding PSS sequence according to the peak search result to complete the PSS sequence detection.
10. The device according to claim 9, characterized in that There are multiple correlation calculation units, and each correlation calculation unit corresponds to PSS correlation calculation of data received by an antenna.
11. The device according to claim 9, characterized in that The correlation calculation unit also includes: a first cache, a second cache and a correlation value cache area located in the second-level cache L2D, wherein the first cache and the second cache are used to store input values of PSS correlation calculations written in a ping-pong manner, and the correlation value cache area is used to store historical correlation values output by the correlation calculation unit.
12. The device according to claim 9, characterized in that The related calculation unit also includes: a first random access memory, a second random access memory, a first read-only memory and a second read-only memory, wherein the first random access memory and the second random access memory are used to cache time domain data in a ping-pong manner, and the first read-only memory and the second read-only memory are used to cache parity and even local PSS sequences respectively.
13. The device according to claim 9, characterized in that The first detection branch also includes: The software and hardware interface unit is used to send the configured search parameters to the first detection branch, and report the peak search result to the selection module.
14. The device according to claim 13, characterized in that The software and hardware interface unit adopts two-level storage to store the search parameters of the PSS sequence detection of the current cycle and the next cycle respectively, so as to support the early delivery of the search parameters.
15. The device according to claim 9, characterized in that The first detection branch also includes: The periodic accumulation unit is used to accumulate the PSS correlation value of the current position and the historical PSS correlation value of the current position when the search parameter includes multi-period accumulation.
16. The device according to claim 9, characterized in that The first detection branch also includes: The noise suppression unit is used to compare the antenna received signal power with a preset normalization threshold, and if the antenna received signal power is greater than or equal to the preset normalization threshold, perform noise elimination normalization processing on the antenna received signal.
17. The device according to claim 9, characterized in that The first detection branch also includes one or more registers for storing the search parameters, wherein the search parameters include at least one of the following: carrier type, subcarrier spacing SCS, sampling rate, synchronization broadcast block SSB period, correlation length, cell identification ID, number of antennas, noise elimination normalization, and multi-period accumulation.
18. The device according to claim 9, characterized in that Also includes: A second detection branch, wherein the second detection branch has the same structure as the first detection branch, and the second detection branch and the first detection branch form a two-carrier parallel PSS sequence detection branch.
19. The device according to claim 9, characterized in that Also includes: External memory and external memory read and write control circuit.
20. The device according to claim 9, characterized in that Among them, it also includes: The sampling rate counter is used to adapt to different subcarrier spacing SCS and sampling rate data.
Citation Information
Cited By
Signal processing method, chip, computer equipment and readable medium
CN119789068A
Master synchronization method and device, base station communication equipment and readable storage medium
CN119815500A
Synchronization method and device for vehicle-mounted gigabit Ethernet
CN120434095A
Detection method and apparatus for primary synchronization signal (PSS) sequence
EP4704469A1
