Detection method and apparatus for primary synchronization signal (PSS) sequence
By configuring parameters according to the search scenario and performing PSS related calculations and peak searches, the problem of poor configurability and reusability of PSS sequence detection is solved, detection efficiency is improved, overhead is reduced, and rapid PSS sequence detection is achieved.
Patent Information
- Application Number
- PCT/CN2024/078597
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-02-26
- Publication Date
- 2024-10-31
AI Technical Summary
The main synchronization signal PSS sequence detection in the prior art has poor configurability and reusability, and low calculation efficiency, resulting in long detection time and possibly reduced decoding processing performance.
By configuring search parameters according to the search scenario of the main synchronization signal PSS sequence, calling resources to perform PSS related calculations, and performing peak search to select the corresponding PSS sequence, PSS sequence detection is achieved.
It improves the configurability and reusability of PSS sequence detection, reduces computing and storage overhead, ensures detection performance, and quickly completes PSS detection.
Smart Images

Figure CN2024078597_31102024_PF_FP_ABST
Abstract
Description
Primary synchronization signal PSS sequence detection method and device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on Chinese patent application CN202310480842.0, filed on April 27, 2023, entitled “Primary Synchronization Signal PSS Sequence Detection Method and Device”, and claims the priority of the patent application. All the disclosed contents are incorporated into this application by reference. Technical Field
[0003] The present disclosure relates to the field of communications, and in particular to a method and apparatus for detecting a Primary Synchronization Signal (PSS) sequence. Background Art
[0004] Primary Synchronisation Signal (PSS) detection involves searching for a specific frequency at a specified time. For the initial cell search, the period of the Synchronisation Signal Block (SSB) is unknown, and the User Equipment (UE) assumes this period is 20ms. Once the PSS is found, the UE can obtain the PSS timing, subcarrier spacing, and the Network Identifier (NID) of the Physical Cell Identifier (PCI). The PSS can also be used to eliminate frequency fluctuations between the UE and the network, enabling subsequent Secondary Synchronisation Signal (SSS) detection and obtaining the PCI.
[0005] PSS detection needs to support concurrent blind detection of two frequencies on two carriers. It is divided into two scenarios: initial cell search and cell residency. During the initial search, only the data of one carrier is detected. After cell residency, 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 the UE to search for a cell, and it is also the most complex 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 offset is adopted. The amount of calculation and storage increases proportionally with the number of preset frequency offsets, and the overhead is too large.
[0006] In summary, the related art has the problems of poor configurability and multiplexability for PSS sequence detection and low computational efficiency.
[0007] Summary of the Invention
[0008] The embodiments of the present disclosure provide a method and apparatus for detecting a primary synchronization signal (PSS) sequence, so as to at least solve the problems of poor configurability and multiplexing and low computational efficiency of PSS sequence detection in related technologies.
[0009] According to one embodiment of the present disclosure, a method for detecting a primary synchronization signal PSS sequence is provided, including: 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 the correlation value of the PSS correlation calculation, and selecting a corresponding PSS sequence according to the peak value to complete PSS sequence detection.
[0010] According to another embodiment of the present disclosure, a primary synchronization signal PSS sequence detection device is provided, including: a parameter configuration module, configured 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 configured to call resources to perform PSS correlation calculation according to the search parameters; the peak search unit is configured to perform peak search according to the correlation value of the PSS correlation calculation; and a selection module is configured to select a corresponding PSS sequence according to the peak search result to complete PSS sequence detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a schematic diagram of an SSB transmission format in the related art;
[0012] FIG2 is a flow chart of a method for detecting a primary synchronization signal PSS sequence according to an embodiment of the present disclosure;
[0013] FIG3 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present disclosure;
[0014] FIG4 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present disclosure;
[0015] FIG5 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present disclosure;
[0016] FIG6 is a hardware block diagram of a PSS sequence detection apparatus according to an embodiment of the present disclosure;
[0017] FIG7 is a flow chart of a PSS sequence detection method according to an embodiment of the present disclosure;
[0018] FIG8 is a principle block diagram of a PSS correlation calculation unit according to an embodiment of the present disclosure;
[0019] FIG9 is a schematic diagram of a segmented correlation calculation principle according to an embodiment of the present disclosure;
[0020] FIG10 is a schematic diagram of a time domain data buffering principle according to an embodiment of the present disclosure;
[0021] FIG11 is a schematic diagram of a time domain data buffering principle according to an embodiment of the present disclosure;
[0022] FIG12 is a schematic diagram of the principle of external storage according to an embodiment of the present disclosure;
[0023] FIG13 is a schematic diagram showing the principle of first data writing to external storage according to an embodiment of the present disclosure;
[0024] FIG14 is a schematic diagram showing a principle of non-first data writing to external storage according to an embodiment of the present disclosure;
[0025] FIG15 is a flow chart showing the principle of PSS sequence detection according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in combination with the embodiments.
[0027] It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0028] 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 is a schematic diagram of the SSB transmission format in the related art. As shown in Figure 1, 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 the 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 certain 5ms half frame. The PSS is mapped to 127 consecutive subcarriers in the middle of the SSB. Depending on the SSB subcarrier spacing, there are five types of SSB blocks.
[0029] 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 resist the influence of large frequency offset; the sliding correlation method with preset frequency offset is usually adopted, and the calculation amount and storage amount increase proportionally with the preset frequency offset number, and the overhead is too large; for the problems of poor resource configurability and multiplexing in PSS blind detection in related technologies, the sliding correlation calculation amount and storage amount of preset frequency offset are large, and the long detection time may reduce the decoding processing performance, no solution has been proposed yet.
[0030] In this embodiment, a method for detecting a primary synchronization signal (PSS) sequence is provided. FIG2 is a flow chart of the method for detecting a primary synchronization signal (PSS) sequence according to an embodiment of the present disclosure. As shown in FIG2 , the flow chart includes the following steps:
[0031] Step S202, configuring search parameters according to a search scenario of a primary synchronization signal PSS sequence;
[0032] In an exemplary embodiment, the search scenario includes one of the following: frequency scanning, cell search, and cell camping. In actual implementation, the system software identifies the search scenario according to actual conditions and configures search parameters according to the specific search scenario.
[0033] 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 cancellation normalization, and multi-cycle accumulation.
[0034] Step S204, calling resources according to the search parameters to perform PSS related calculations;
[0035] In an exemplary embodiment, storage resources and computing resources are called according to the search parameters to perform PSS correlation calculation, wherein the PSS correlation calculation includes segmented correlation calculation or non-segmented correlation calculation.
[0036] In an exemplary embodiment, after calling resources to perform PSS related calculations based on the search parameters, it also includes: comparing 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.
[0037] In an exemplary embodiment, after calling resources to perform PSS correlation calculation according to the search parameters, the method further includes: accumulating the PSS correlation value of the current position and the historical PSS correlation value of the current position when the search parameters include multi-cycle accumulation.
[0038] Step S206 , performing a peak search based on the correlation value of the PSS correlation calculation, and selecting a corresponding PSS sequence based on the peak value to complete PSS sequence detection.
[0039] In an exemplary embodiment, searching and selecting a corresponding PSS sequence based on a correlation value of a PSS correlation calculation includes: calculating a noise threshold based on noise statistics; and selecting a corresponding PSS sequence by comparing the noise threshold with a peak value of the correlation value.
[0040] Through the above steps, the search parameters are configured according to the search scenario of the primary synchronization signal (PSS) sequence; resources are called according to the search parameters to perform PSS correlation calculations; peak search is performed based on the correlation value of the PSS correlation calculation, and the corresponding PSS sequence is selected based on the peak value to complete PSS sequence detection. This solves the problems in the related art of poor configurability and reusability of PSS sequence detection, large computational and storage requirements, long detection time, and potential reduction in detection processing performance. The configurability and reusability of PSS sequence detection are improved, while the computational and storage overhead are greatly reduced while ensuring detection performance, and PSS detection can be completed quickly.
[0041] 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 the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD-ROM), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the method described in the embodiment of the present disclosure.
[0042] This embodiment also provides a Primary Synchronization Signal (PSS) sequence detection device, which is used to implement the above-mentioned embodiments and preferred implementations. Details already described are omitted. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0043] Figure 3 is a structural block diagram of a primary synchronization signal PSS sequence detection device according to an embodiment of the present disclosure. As shown in Figure 3, the detection device 30 includes: a parameter configuration module 310, used to configure search parameters according to the search scenario of the primary 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; and a selection module 330 is used to select a corresponding PSS sequence according to the peak search result to complete PSS sequence detection.
[0044] In one 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.
[0045] In an exemplary embodiment, there are multiple correlation calculation units 3201, and each correlation calculation unit 3201 performs PSS correlation calculation on data received by one antenna.
[0046] 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 the input values of the PSS correlation calculation written in a ping-pong manner, and the correlation value cache area is used to store the historical correlation values output by the correlation calculation unit 3201.
[0047] In an exemplary embodiment, the correlation 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.
[0048] In actual implementation, correlation calculation unit 3201 includes a segmented correlation accumulation branch and a non-segmented correlation accumulation branch. 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. Configuration signals control the enabling of the segmented correlation accumulation branch and the non-segmented correlation accumulation branch. In actual implementation, providing a periodic accumulation unit can improve peak search performance.
[0049] In an exemplary embodiment, FIG4 is a structural block diagram of a primary synchronization signal (PSS) sequence detection apparatus according to an embodiment of the present disclosure. As shown in FIG4 , the first detection branch 320 further includes: a software and hardware interface unit 3203, configured to send the configured search parameters to the first detection branch 320, and report the peak search result to the selection module 330. In an exemplary embodiment, the first detection branch 320 further includes: a period accumulation unit 3204, configured 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 further includes: a noise suppression unit 3205, configured to compare the antenna received signal power with a preset normalization threshold, and perform noise elimination and normalization processing on the antenna received signal if the antenna received signal power is greater than or equal to the preset normalization threshold.
[0050] In one implementation, although the software and hardware interface unit 3203 is included in the first detection branch 320 in this embodiment, in actual implementation, the software and hardware interface unit 3203 can also be used independently of the first detection branch 320 as a separate hardware module. Furthermore, the software and hardware interface unit 3203 interacts with data from all other components of the first detection branch 320, not just with the associated computing unit 3201. The form and connection relationship of the software and hardware interface unit 3203 shown in FIG4 are merely illustrative and do not impose specific limitations on the form and connection relationship of the software and hardware interface unit 3203.
[0051] 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.
[0052] 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.
[0053] 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 disclosure. As shown in Figure 5, in addition to the modules in Figure 3, the detection device 50 also 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.
[0054] 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.
[0055] 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 to different subcarrier spacings SCS and sampling rate data.
[0056] It should be noted that the above-mentioned modules can be implemented through 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.
[0057] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present disclosure can be implemented using a general-purpose 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 using program codes executable by the 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 performed in a different order than herein, or they can be made into individual integrated circuit modules, or multiple modules or steps can be made into a single integrated circuit module for implementation. Thus, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
[0058] In order to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the following is an elaboration with reference to scenario embodiments.
[0059] Scenario Example 1
[0060] In the disclosed embodiment, 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 as to minimize resources and power consumption. For example, in the case of low signal-to-noise ratio cell search, the multi-cycle accumulation function can be enabled to improve the quality of PSS peak search, and in the case of high signal-to-noise ratio cell search, the periodic accumulation module is not applicable 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 PSS detection in complex scenarios and low detection efficiency, the embodiments of the present disclosure propose an efficient PSS sequence detection method and device to cope with scenarios such as Public Land Mobile Network (PLMN) frequency scanning, In-Channel Selectivity (ICS) cell search, and same-frequency and different-frequency searches in idle and connected states that require PSS search. In order to facilitate hardware implementation, a method of making the scene opaque to the design is adopted to enhance the versatility of the detection method. A two-carrier parallel PSS detection branch is adopted, and the data input can be independently selected by software configuration. PSS detection of two carriers in parallel can be performed simultaneously according to the configuration. Of course, PSS detection of only a single carrier can also be performed according to the configuration. Each branch is set with a related length indication and an SSB period continuous indication register, so that the hardware can work under software scheduling to achieve maximum hardware compatibility and multiplexing. The hardware can flexibly configure related modules to save resources, reduce power consumption and improve detection efficiency.
[0061] Figure 6 is a hardware block diagram of a PSS sequence detection device according to an embodiment of the present disclosure. As shown in Figure 6, the PSS correlation calculation unit enables the corresponding module according to different antenna numbers 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 correlation 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 and supports 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 the module; the periodic accumulation unit mainly accumulates multiple periodic data of the PSS related data to improve the peak search Search performance, this module works when multi-cycle accumulation is enabled. In addition, in order to save hardware storage resources, the data is stored in the 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 software can flexibly configure the peak search related parameters according to the situation; the main function of the hardware and software interface unit is to receive the parameters sent by the software and support 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 secondary storage to ensure that the parameters can be stored. In addition, the search peak and noise statistical data are provided to the software through this interface so that the software can calculate the noise threshold.
[0062] According to the hardware structure of the above-mentioned detection device, an embodiment of the present disclosure provides a PSS sequence detection method. FIG7 is a flow chart of the PSS sequence detection method according to an embodiment of the present disclosure. As shown in FIG7 , the process is as follows:
[0063] Step S702, configuring search parameters according to the search scenario of the PSS sequence;
[0064] In one embodiment, 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 cancellation normalization, and multi-cycle accumulation.
[0065] Step S704, calling resources to perform PSS related calculations according to the searched parameters;
[0066] In one embodiment, after the parameter configuration is completed, the hardware starts working and calls resources according to different parameter set configurations to perform PSS related calculations.
[0067] Step S706: perform peak search and select the corresponding PSS sequence according to the peak value to complete PSS sequence detection.
[0068] In one embodiment, the peak search is reported to the software, and the noise statistics are reported to the software for noise threshold calculation, etc. The software selects the corresponding PSS sequence based on the peak calculation.
[0069] Figure 8 is a principle block diagram of a PSS related calculation unit according to an embodiment of the present disclosure. As shown in Figure 8, the embodiment of the present disclosure can support the design of SCS of 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); to design different SCS (for example, 15k, 30k and 120k), it is only necessary 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 time domain matching filtering, 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 by controlling the RAM address Perform PSS sliding correlation operation; the local PSS sequence is stored in ROM, and the PSS sequences of the three IDs are stored in ROM respectively (i.e., the first read-only memory and the second read-only memory in the above embodiment). In addition, the PSS sequence of V2X can be switched through a selector (such as the mux selector in Figure 8). Two working modes NR and V2X are supported in hardware. After the correlation operation, the odd and even PSSs are antenna combined and noise eliminated, 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.
[0070] Figure 9 is a schematic diagram of the principle of segmented correlation calculation according to an embodiment of the present disclosure. As shown in Figure 9, this embodiment of the present disclosure utilizes segmented correlation technology instead of the preset frequency offset technology. In the initial cell search scenario, there may be a large carrier frequency offset between the UE and the base station, which can degrade the performance of the PSS sliding correlation peak detection. In this case, the PSS detection module needs to be able to withstand the effects of large frequency offsets. A preset frequency offset algorithm is commonly used to combat this effect, presetting a set of frequency offset hypotheses. Three local time-domain PSS sequences are assigned different assumed frequency offsets. These local time-domain PSS sequences with the assumed frequency offsets are then subjected to sliding correlation operations with the received time-domain signal. There are a total of 3N bin combinations of the three local sequences and N bins of assumed frequency offsets, corresponding to 3N bins of independent processing branches. Adding five preset frequency offsets increases the corresponding computational and storage requirements by five times. This embodiment of the present disclosure utilizes a segmented correlation scheme, dividing the time-domain PSS into multiple segments and correlating them with the received signal. Segmented correlation in the time domain shortens the direct correlation accumulation length, enhancing frequency offset resistance. At the same time, segmented correlation and 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 to presetting frequency offsets, which exponentially increase storage and computing resources, the disclosed embodiments of PSS detection minimize performance loss and conserve storage and computing resources. In one embodiment, during the correlation calculation, a sliding correlation is performed on the received signals of one pair of antennas with the local sequences of three local ID2s. The sliding correlation operation is implemented using a time-domain matched filtering method. Each ID2 utilizes an independent filtering branch, and the software configures whether the corresponding branch is enabled.
[0071] Figure 10 is a schematic diagram of the time-domain data caching principle according to an embodiment of the present disclosure, and Figure 11 is a schematic diagram of the time-domain data caching principle according to an embodiment of the present disclosure. As shown in Figure 10, the design of one of the parity branches and one local code is described. 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 highest resource consumption occurs. For other sampling rates, the resources of the highest sampling rate can be reused. The local code is divided into parity and even and stored in ROM0 and ROM1. As shown in Figure 11, online data is stored in two RAMs. After the first 128 data arrives, 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 both 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 manner.
[0072] FIG12 is a schematic diagram of the principle of external storage according to an embodiment of the present disclosure. As shown in FIG12 , in the embodiment of the present disclosure, the PSS correlation calculation is performed in hardware, but no long-term storage space is allocated in the hardware. Instead, the PSS correlation value is exported to the external storage L2D for caching. In this solution, the hardware sets up two temporary cache buffers (i.e., the first cache and the second cache in the above embodiment), and the PSS correlation results are written to the buffers in a ping-pong manner. Each time a buffer is filled, the hardware is responsible for writing the PSS correlation results of the buffer to the temporary cache in the L2D. In addition to completing the writing of the PSS correlation value to the L2D, the hardware counts non-zero noise greater than the noise threshold according to the noise threshold configured by the software and reports it to the software for correlation peak threshold calculation. When the temporary cache receives the current PSS correlation peak, the software schedules it at an appropriate time and accumulates it with the PSS historical data in the L2D. The accumulated result is stored back to the main storage space in the L2D, and a peak search for the segment is performed. To ensure a small hardware storage buffer and infrequent software operations, 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 the segmented historical PSS correlation peaks from L2D back to the hardware buffer and accumulate them with the current PSS correlation peak of the PSS correlator. After the hardware completes the peak search for the current accumulated value, it writes the accumulated value back to L2D for storage.
[0073] FIG13 is a schematic diagram of the principle of the first data writing to the external storage according to an embodiment of the present disclosure. As shown in FIG13 , the entire search space is divided into N segments (respectively, seg0, seg1, and segN-1), and then the peak search is performed in sequence; first, the initial PSS-related peak search and its writing to L2D are considered. PSS correlation is completed in hardware, and two temporary cache buffers (i.e., buf0 and buf1 in FIG13 ) are set in the hardware, namely the first cache and the second cache in the above embodiment. The PSS-related results are segmented and written to the buffer for ping-pong. Each 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 L2D.
[0074] Figure 14 is a schematic diagram of the principle of non-first data writing to external storage according to an embodiment of the present disclosure. As shown in Figure 14, 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 cache buffers (i.e., buf0 and buf1 in Figure 14) are set in the hardware. Before the relevant value is written to buf0, the hardware first schedules the historical PSS-related value in L2D to be read into buffer0. Then, when processing the current segment, the relevant value 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-related results of the buf0 into the relevant value cache area in L2D. Similarly, before writing the relevant values to buf1, the hardware first schedules the reading of the historical PSS relevant values from L2D into buf1. Then, when processing the current segment, the relevant values for the current segment are accumulated with the historical data in buf0 and written back to buf1. Whenever a buf1 is full, the hardware is responsible for writing the PSS relevant results for that buf1 to the relevant value buffer in L2D.
[0075] FIG15 is a schematic diagram of a process for detecting a PSS sequence according to an embodiment of the present disclosure. As shown in FIG15 , the process is as follows:
[0076] First, 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. The PSS correlator calls different resources to calculate the received data, and the power accumulation calculation is also carried out synchronously. When the software configuration noise elimination normalization is enabled, noise suppression operation will be performed; after downsampling, when 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 process is as follows:
[0077] PSS correlation processing: First, the software sends parameters according to different scenarios. The PSS correlator performs independent matched filtering after separating the odd and even data of each receiving antenna. In this embodiment, a ping-pong RAM is required to cache the time domain data until a data is no longer used for correlation calculations. It is replaced by new data and stored at the address of the replaced data, and so on, for cyclic 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 segmented correlation and output the filtering results of the 64 points before and after respectively. By shortening the length of the direct correlation accumulation, good resistance to frequency deviation is achieved with less performance loss.
[0078] Noise elimination and normalization: This eliminates the impact of AGC spikes on detection performance and performs sampling noise elimination and normalization. By comparing the normalization threshold with the received signal power, if the received signal power is greater than or equal to the threshold, normalization is performed. This involves multiplying the filtered power value by a normalization factor, which is the ratio of the target power value to the received signal power. When channel quality is good, the noise elimination and normalization module may not be required.
[0079] Power accumulation: Calculate the sliding accumulation results of 128 odd and even points before matched filtering, and align them with the matched filtering data.
[0080] 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.
[0081] Cycle Accumulation: This module uses multiple cycle accumulation and smoothing to overcome the problem of large variations in correlation results within the detection cycle, improving the detection success rate. Data is retrieved from the read control module and merged. When merging is not required, the merged accumulation is directly deleted. When merging is required, the read control module returns the historical value at the corresponding position. Write control sequentially writes the correlation accumulation results of each sample point into the accumulation buffer. In software peak search mode, the L2D storage space for each ID2 is managed as a circular buffer. In hardware peak search mode, the starting address and size of the L2D storage space for each ID2 are fixed, equal to the number of sample points in the operating cycle. This module also calculates the number of sample points whose correlation power exceeds the noise threshold and the sum of all sample power points. Read control is the inverse of write control. The power of the sample points to be accumulated is pre-prepared into an on-chip buffer and pre-fetched. The structure of the pre-fetch control unit is shown in Figure 13. The next historical power to be accumulated is pre-prepared at the interface with the accumulation module. After the power accumulation module consumes the data of a sample point, it prepares the power of the next sample point and outputs it to the interface.
[0082] 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.
[0083] Software and hardware interface: implements software parameter configuration, hardware detection result reporting, and peak value reporting.
[0084] In summary, the embodiments of the present disclosure provide a PSS sequence detection method and device, which can solve the problems of poor configurability and multiplexing of hardware resources; adding a carrier selector can realize flexible configuration and multiplexing 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 embodiments of the present disclosure 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-scene navigation, etc.; the applications in the energy field include transmission line drone inspections, power quality monitoring, workplace video surveillance, etc.; the applications in the medical field include ultra-high-definition remote consultations, emergency rescue, remote surgery, etc. Products include driverless cars, mobile phones, portable routers, etc.
[0085] The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure should be included within the scope of protection of the present disclosure.
Claims
1. A primary synchronization signal PSS sequence detection method, comprising: 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, wherein: The search scenario includes one of the following: Frequency scanning, cell search, and cell dwell.
3. The method according to claim 1, 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.
4. The method according to claim 1, wherein: 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, wherein: The PSS correlation calculation includes segmented correlation calculation or non-segmented correlation calculation.
6. The method according to claim 1, wherein: 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, wherein: 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, wherein: 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, comprising: A parameter configuration module, configured to configure search parameters according to a search scenario of a 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 set to Calling resources to perform PSS correlation calculation according to the search parameters; the peak search unit is configured to perform peak search according to the correlation value of the PSS correlation calculation; The selection module is configured to select a corresponding PSS sequence according to the peak search result to complete the PSS sequence detection.
10. The device according to claim 9, wherein: 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, wherein: 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 configured to store input values of PSS correlation calculations written in a ping-pong manner, and the correlation value cache area is configured to store historical correlation values output by the correlation calculation unit.
12. The device according to claim 9, wherein: 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 configured to cache time domain data in a ping-pong manner, and the first read-only memory and the second read-only memory are configured to cache odd and even local PSS sequences respectively.
13. The device according to claim 9, wherein: The first detection branch also includes: The software and hardware interface unit is configured 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, wherein: The software and hardware interface unit adopts two-level storage to respectively store the search parameters of the PSS sequence detection of the current cycle and the next cycle, so as to support the early delivery of the search parameters.
15. The device according to claim 9, wherein: The first detection branch also includes: The periodic accumulation unit is configured 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.
16. The device according to claim 9, wherein: The first detection branch also includes: The noise suppression unit is configured 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, wherein: The first detection branch also includes one or more registers configured to store 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, wherein: 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, wherein: Also includes: External memory and external memory read and write control circuit.
20. The device according to claim 9, wherein: Also includes: The sampling rate counter is configured to adapt to different subcarrier spacings SCS and sampling rate data.
Citation Information
Patent Citations
Method and device for detecting a master synchronization sequence
CN102158249A
PSS detection method and device, storage medium and terminal
CN111294084A
Cell search method and device, storage medium and terminal
CN111294889A
5G NR primary synchronization detection method and device, and wireless terminal
CN114025420A
Cell searching method and device, electronic device and storage medium
CN114339979A
Cited By
Signal processing method, chip, computer equipment and readable medium
CN119789068A
Signal Processing Method, Chip, Computer Device and Readable Medium
CN119789068B
