WO2018161505A1 - Method and device for determining symbol position of primary synchronization signal, and storage medium - Google Patents

Method and device for determining symbol position of primary synchronization signal, and storage medium Download PDF

Info

Publication number
WO2018161505A1
WO2018161505A1 PCT/CN2017/098245 CN2017098245W WO2018161505A1 WO 2018161505 A1 WO2018161505 A1 WO 2018161505A1 CN 2017098245 W CN2017098245 W CN 2017098245W WO 2018161505 A1 WO2018161505 A1 WO 2018161505A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
npss
signal
subframes
values
Prior art date
Application number
PCT/CN2017/098245
Other languages
French (fr)
Chinese (zh)
Inventor
黄舒怀
Original Assignee
深圳市中兴微电子技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2018161505A1 publication Critical patent/WO2018161505A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0605Special codes used as synchronising signal
    • H04J3/0608Detectors therefor, e.g. correlators, state machines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals
    • H04L7/041Speed or phase control by synchronisation signals using special codes as synchronising signal
    • H04L7/042Detectors therefor, e.g. correlators, state machines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of Internet of Things, and in particular, to a method, an apparatus, and a computer readable storage medium for determining a symbol position of a primary synchronization signal.
  • NB-IoT Narrow Band Internet of Things
  • IoT Internet of Things
  • NB-IoT technology license (License) frequency band can take in-band, guard band or independent carrier
  • the first step in NB-IoT communication is to complete the initial synchronization of the terminal with the system, including time synchronization and frequency synchronization, which can be obtained by the terminal's sweep and master synchronization process.
  • the primary synchronization process constructs a primary synchronization signal locally through the terminal, and uses the correlation of the primary synchronization sequence to compare with the received signal (base station transmitted signal) at each time point, and the time point at which the highly correlated signal is located is considered to be
  • NB-IoT can also use its narrowband primary synchronization signal (NPSS, Narrow Band Primary Synchronization Signal) to evaluate the correlation of received signals to obtain primary synchronization, but without any prior information.
  • NPSS narrowband primary synchronization signal
  • this method needs to traverse all possible time points within a radio frame (10ms), whether it is related in the time domain or the frequency domain, this method will eliminate It consumes a lot of hardware resources or digital signal processor (DSP) resources, and continuously receives signals and operations without interruption, and can not reduce power consumption.
  • DSP digital signal processor
  • NB-IoT has very high requirements on cost and power consumption. According to the simulation data of TR45.820, it is expected that the standby time of the terminal module can be up to 10 years, the single connected module does not exceed 5 US dollars, and in order to reduce the cost, it is possible The use of a low-performance crystal oscillator will result in a larger initial frequency offset (up to 25.5 kHz) between the terminal and the system than in previous cellular communication systems, which has an impact on the initial timing. The primary synchronization method in the technology cannot meet the low cost and low power requirements of NB-IoT.
  • embodiments of the present invention are directed to a method, apparatus, and computer readable storage medium for determining a symbol position of a primary synchronization signal.
  • an embodiment of the present invention provides a method for determining a symbol position of a primary synchronization signal, including: processing a received radio frequency signal to obtain a digital baseband signal, and sampling the digital baseband signal to obtain a sampling signal; Processing the sampled signal to obtain a cumulative power value of the sampled signal in K subframes; determining a maximum value of the sampled signal in the cumulative power values of the K subframes as a first cumulative power value, a subframe position corresponding to an accumulated power value is determined as a subframe position of the NPSS; and the pre-configured NPSS is correlated with the sampling signal according to the subframe position of the NPSS to obtain respective correlation values; The correlation value determines the symbol position of the NPSS.
  • the sampling signal is processed to obtain a cumulative power value of the sampling signal in the K subframes, including: processing the sampling signal according to a preset algorithm, to obtain the sampling signal in one The energy of the K subframes in the radio frame; the energy of the K subframes in the radio frame is accumulated and filtered according to the first preset frame number in a radio frame to obtain the accumulated power value of the sample signal in the K subframes.
  • the sampling signal is processed according to a preset algorithm to obtain energy of the K subframes of the sampled signal in a radio frame, including: performing conjugate point multiplication on the sampling signal to obtain a a conjugate point multiplication result of the sampled signal; from the sampled signal
  • the K-group conjugate point multiplication result is selected from each of the conjugate point multiplication results, and the K-group conjugate point multiplication result is subjected to an accumulated averaging operation to obtain energy of the K-subframes of the sampled signal in one radio frame.
  • the method further includes: determining, according to the subframe position corresponding to the first accumulated power value, a first frequency offset of the sampling signal; and frequencying the sampling signal according to the first frequency offset Partial compensation.
  • the method further includes: at least two peaks in the accumulated power value of the sampled signal in the K subframes, and And the power difference between the peak value and the maximum value of the sampling signal in the accumulated power values of the K subframes is less than or equal to a first preset threshold value, and the peak value and the sampling signal are in K sub-subjects.
  • the sampling signal is in K sub-subjects Determining, as the first accumulated power value, a first peak value before a maximum value of the accumulated power values of
  • the correlation between the pre-configured NPSS and the sampling signal is performed according to the subframe position of the NPSS, to obtain each correlation value, including: obtaining a frequency offset value of the preset number of segments; Performing a frequency offset compensation process on the sampled signal to obtain a processed sample signal of the preset number of segments; and The constructed NPSS is correlated with the processed sampled signals of the preset number of segments to obtain the correlation values.
  • determining the symbol position of the NPSS according to the correlation values includes: accumulating and filtering the correlation values according to the second preset frame number to obtain power values corresponding to the correlation values; And selecting a preset number of peaks from the power values corresponding to the correlation values; and calculating, in the power values corresponding to the correlation values, an average value of power values other than the preset number of peak values; Determining, by the power value corresponding to each correlation value, a power value greater than a product of the average value and a preset decision threshold, and determining a symbol position in a subframe corresponding to a maximum value of the selected power values as the NPSS Symbol location.
  • an embodiment of the present invention provides a device for determining a symbol position of a primary synchronization signal, including: a sampling module configured to process a received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal a sampling signal, configured to process the sampled signal to obtain an accumulated power value of the sampled signal in K subframes; and a first determining module configured to accumulate power of the sampled signal in K subframes
  • the maximum value of the value is determined as a first cumulative power value, and the subframe position corresponding to the first accumulated power value is determined as a subframe position of the NPSS; and the operation module is configured to be pre-framed according to the subframe position of the NPSS
  • the constructed NPSS performs a correlation operation with the sampling signal to obtain each correlation value, and the second determining module is configured to determine a symbol position of the NPSS according to the correlation values.
  • the processing module includes: a processing submodule configured to process the sampling signal according to a preset algorithm to obtain energy of the K subframes of the sampling signal in a radio frame; and an accumulation filtering submodule, The energy of the K subframes in the radio frame is accumulated and filtered according to the first preset frame number, and the accumulated power value of the sample signal in the K subframes is obtained.
  • the processing submodule is configured to perform a conjugate point multiplication operation on the sampling signal to obtain a conjugate point multiplication result of the sampling signal; and multiply each conjugate point of the sampling signal In the result, the K-group conjugate point multiplication operation result is selected, and the K-group conjugate point multiplication operation result is separately subjected to an averaging operation to obtain the energy of the K-subframes of the sampled signal in one radio frame.
  • the apparatus further includes: a compensation module configured to determine a maximum value of the accumulated power values of the sampling signals in the K subframes as a first accumulated power value, and corresponding to the first accumulated power value After the subframe position is determined as the subframe position of the NPSS, according to the Determining a first frequency offset of the sampling signal according to a subframe position corresponding to the accumulated power value; performing frequency offset compensation on the sampling signal according to the first frequency offset.
  • a compensation module configured to determine a maximum value of the accumulated power values of the sampling signals in the K subframes as a first accumulated power value, and corresponding to the first accumulated power value After the subframe position is determined as the subframe position of the NPSS, according to the Determining a first frequency offset of the sampling signal according to a subframe position corresponding to the accumulated power value; performing frequency offset compensation on the sampling signal according to the first frequency offset.
  • the device further includes: an adjusting module, configured to perform frequency offset compensation on the sampling signal according to the first frequency offset, and at least two of the accumulated power values of the sampling signal in the K subframes a peak value, and the power difference between the peak value and the maximum value of the sampling signal in the cumulative power values of the K subframes is less than or equal to a first preset threshold value, and the peak value and the sampling value And when the time difference between the maximum values of the accumulated power values of the K subframes is greater than or equal to the second preset threshold, and the first frequency offset is greater than the absolute value of the preset operation threshold Determining, by the first peak after the maximum value of the accumulated power values of the K subframes, the first accumulated power value; wherein the sampling signal is present in at least the accumulated power values of the K subframes Two peaks, and the power difference between the peak value and the maximum value of the sampling signal in the cumulative power values of the K subframes is less than or equal to the first preset threshold value, and the
  • the operation module is configured to obtain a frequency offset value of the preset number of segments; and perform frequency offset compensation processing on the sampling signal according to the frequency offset value of the preset number of segments, to obtain the pre-prepared a segmented number of processed sampled signals; performing a correlation operation between the pre-configured NPSS and the preset number of segments of the processed sample signals according to the subframe position of the NPSS, to obtain the Relevant values.
  • the second determining module is configured to accumulate and filter the correlation values according to the second preset frame number to obtain power values corresponding to the correlation values, and corresponding to the correlation values.
  • a preset number of peaks is selected from the power values; and an average value of power values other than the preset number of peaks is calculated among the power values corresponding to the correlation values; and power values corresponding to the correlation values And selecting a power value that is greater than a product of the average value and a preset decision threshold, and determining a symbol position in the subframe corresponding to the maximum value of the selected power values as the NPSS Symbol location.
  • an embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of any of the foregoing methods.
  • the method and device for determining the symbol position of the primary synchronization signal and the computer readable storage medium provided by the embodiment of the present invention firstly process the received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal to obtain a sampling signal. Then, the sampled signal is processed to obtain a cumulative power value of the sampled signal in K subframes, and the maximum value of the sampled signal in the accumulated power values of the K subframes is determined as a first accumulated power value, and the first accumulated power value is corresponding.
  • the subframe position is determined as the subframe position of the NPSS, so that the approximate position of the time point of the NPSS to be synchronized can be known.
  • the pre-configured NPSS is correlated with the sampling signal to obtain a correlation.
  • the symbol position of the NPSS is determined according to each correlation value; that is, the embodiment of the present invention processes the sampled signal to obtain the cumulative power value of the sampled signal in K subframes, and accumulates in the K subframes according to the sampled signal.
  • the power value can determine the subframe position of the corresponding NPSS, so that the NPSS and the non-NPSS are avoided.
  • the sampling signal performs correlation operations and avoids continuous reception of signals, thus reducing the amount of computation for performing correlation operations, thereby reducing the cost and power consumption of the NB-IoT for the main synchronization process, and finally, improving the NB-IoT master.
  • the efficiency of synchronization That is to say, the solution of the embodiment of the present invention can meet the requirements of low cost and low power consumption of the NB-IoT, and improve the efficiency of the primary synchronization in the NB-IoT.
  • FIG. 1 is a schematic flow chart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention
  • FIG. 2 is an optional schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention
  • FIG. 3 is another optional schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention
  • FIG. 4 is still another optional flow diagram of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention
  • FIG. 5 is an optional schematic flowchart of S402 corresponding to FIG. 4 according to an embodiment of the present disclosure
  • FIG. 6 is an optional schematic flowchart of S403 corresponding to FIG. 4 according to an embodiment of the present disclosure
  • FIG. 7 is an optional schematic flowchart of S404 corresponding to FIG. 4 according to an embodiment of the present disclosure
  • FIG. 8 is a schematic diagram of an example of an apparatus for performing NB-IoT primary synchronization according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an NPSS subframe boundary operation unit in FIG. 8 according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an NPSS symbol boundary operation unit in FIG. 8 according to an embodiment of the present invention.
  • FIG. 11 is a timing diagram of a time domain matched filter according to an embodiment of the present invention.
  • FIG. 12 is a timing diagram of performing NB-IoT main synchronization according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an apparatus for determining a symbol position of a main synchronization signal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention; as shown in FIG. 1, the method includes:
  • S101 processing the received radio frequency signal to obtain a digital baseband signal, and sampling the digital baseband signal to obtain a sampling signal;
  • the terminal receives the radio frequency signal sent by the incoming system, and the terminal performs front end processing on the radio frequency signal to obtain a digital baseband signal, and then samples the digital baseband signal.
  • the sampling of the digital baseband signal may be sequential sampling in accordance with the standard sampling rate, or downsampling the digital baseband signal, and the sampling frequency of the down sampling may be according to performance requirements and cost in the design target.
  • the sampling frequency can be an integer multiple of 240KHz, multiples can be selected 1, 2, 4, 8; here, need to be explained
  • the embodiment of the present invention does not specifically limit the sampling mode and the sampling frequency.
  • FIG. 2 is an optional schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention.
  • S102 may include:
  • S102A processing the sampled signal according to a preset algorithm to obtain energy of the K subframes of the sampled signal in a radio frame;
  • S102A may include:
  • the result of the point multiplication operation is subjected to an accumulated averaging operation to obtain the energy of the K sub-frames of the sampled signal in one radio frame.
  • the conjugate point multiplication result of the sampled signal can be obtained, and then multiplied from each conjugate point of the sampled signal.
  • the K group conjugate point multiplication result is selected according to the preset number. For example, 10 conjugate point multiplication results are selected in each group, and after the K group conjugate point multiplication result is obtained, each group is conjugated.
  • the result of the point multiplication operation is subjected to an accumulated averaging operation to obtain the energy of the K sub-frames of the sampled signal in one radio frame.
  • S102B Accumulating and filtering the energy of the K subframes of the sampled signal in a radio frame according to the first preset number of frames to obtain the accumulated power value of the sampled signal in the K subframes.
  • the power value is used to represent the energy, specifically, the energy of the K-subframes of the sampled signal in one radio frame is subjected to the first preset frame.
  • the accumulation of the number and the smoothing of the filter can obtain the cumulative power value of the sampled signal in K subframes.
  • the above K may be an integer greater than or equal to 70 and less than or equal to 140.
  • the first preset frame number can be flexibly set to adapt to the NB-IoT scene change. Demand.
  • S103 determining, as a first accumulated power value, a maximum value of the accumulated power values of the sampled signals in the K subframes, and determining a subframe position corresponding to the first accumulated power value as a subframe position of the NPSS;
  • FIG. 3 is a schematic diagram of another optional process for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention. As shown in FIG. 3, after the step S103, the method may further include:
  • S103A Determine, according to a subframe position corresponding to the first accumulated power value, a first frequency offset of the sampling signal
  • S103B Perform frequency offset compensation on the sampling signal according to the first frequency offset.
  • the subframe position of the NPSS is known, and then the point multiplication between adjacent symbols near the NPSS subframe position can be selected according to the subframe position of the NPSS.
  • the first frequency offset is calculated according to the result of the point multiplication conjugate operation between adjacent symbols near the NPSS subframe position, and the frequency offset compensation is performed on the sampling signal according to the first frequency offset.
  • the method of frequency offset compensation may employ a piecewise quantized phase angle value algorithm or a coordinate rotation digital calculation (CORDIC) algorithm. This embodiment of the present invention does not specifically limit this.
  • S103B may further include:
  • the power difference between the peak value and the maximum value of the sampled signal in the accumulated power values of the K subframes is less than or equal to the first preset threshold.
  • the time difference between the peak value and the maximum value of the sampled signal in the accumulated power values of the K subframes is greater than or equal to the second preset threshold value, and the first frequency offset is greater than a preset operation threshold.
  • the first peak after the maximum value of the accumulated power values of the K subframes is determined as the first cumulative power value, and at least two peaks exist in the accumulated power values of the sampled signals in the K subframes.
  • the power difference between the peak value and the sampling signal in the cumulative power value of the K subframes is less than or equal to the first preset threshold value, and the peak value and the sampling signal are in the cumulative power value of the K subframes
  • the time difference between the maximum values is greater than or equal to the second pre- When the threshold is set, and the first frequency offset is less than the inverse of the absolute value of the preset operation threshold, the first peak before the maximum value of the accumulated power values of the K subframes is determined as the first
  • An accumulated power value is returned to perform the step of determining the subframe position corresponding to the first accumulated power value as the subframe position of the NPSS.
  • the first preset threshold value and the second preset threshold value are all preset values.
  • the first accumulated power value can be re-determined by the above method, and the subframe position of the NPSS is re-determined according to the re-determined first accumulated power value, so that the accuracy of determining the subframe position of the NPSS can be improved.
  • S104 Perform correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS, to obtain each correlation value;
  • the pre-configured NPSS is constructed according to the requirements of the 3rd Generation Partnership Project (3GPP, 3rd Generation Partnership Project) 36.211 protocol standard;
  • a fixed-size small window is opened on the sampling signal centered on the NPSS subframe position, and if the small window includes M sampling time points, the sampling signal in the small window and the narrow-band main synchronization signal are Performing the time domain sliding correlation operation, M correlation values can be obtained, where M is an integer greater than or equal to 2; in the embodiment of the present invention, the time domain sliding correlation operation can be completed by using a matched filter.
  • sampling signal for performing the correlation operation on the primary synchronization signal may be after the first frequency offset compensation, or may be after the first frequency offset compensation, where the embodiment of the present invention does not Specifically limited.
  • S104 may include:
  • the pre-configured NPSS is correlated with the processed sampled signals of the preset number of segments to obtain respective correlation values.
  • the method for obtaining the frequency offset value of the preset number of segments may be: segmenting the maximum initial frequency offset value to obtain a frequency offset value of the preset number of segments; wherein the maximum initial frequency offset value is initial The maximum initial frequency offset value generated during the frequency synchronization process during the initial synchronization process; and the preset number of segments can be flexibly set to meet the changing requirements of the NB-IoT scenario.
  • the NPSS subframe position determined in S103 is centered on a fixed-size small window, and it is assumed that the small window includes M time points, and the window will pass through
  • the processed sampled signal of the preset number of segments and the local narrowband primary synchronization signal are subjected to a time domain sliding correlation operation, and each correlation value is obtained, wherein the number of each correlation value is a preset number of segments multiplied by M.
  • the frequency offset value according to the preset number of segments is respectively subjected to frequency offset compensation processing on the sampled signal
  • the processed sampled signal obtained by obtaining the preset number of segments may be: using a serial working mechanism for the same segment of the sampled signal.
  • Offset compensation it is also possible to use the parallel working mechanism for frequency offset compensation for the same segment of the sampled signal; it can also use the serial working mechanism for frequency offset compensation for different segments of the sampled signal, or parallel working mechanism for different segments of the sampled signal Perform frequency offset compensation.
  • the frequency offset compensation by using the serial working mechanism for the same sampling signal can reduce the cost and power consumption of the NB-IoT main synchronization.
  • the maximum initial frequency offset value includes the first frequency offset plus the second frequency offset.
  • S105 Determine a symbol position of the NPSS according to each correlation value.
  • the first manner may determine, according to the size of each correlation value, a symbol position in a subframe corresponding to a maximum value among the correlation values as a symbol position of the NPSS;
  • the second method can determine the symbol position of the NPSS according to the following method.
  • S105 can include:
  • the second preset frame number can be flexibly set to meet the changing needs of the NB-IoT scenario.
  • each correlation value needs to be converted into a power value.
  • the correlation values are respectively accumulated and filtered and smoothed according to the second preset frame number, so that each correlation value can be converted into a power value; and among the power values corresponding to the correlation values, the preset number is calculated.
  • the average value of the power values other than the peak value; in the power value corresponding to each correlation value, the power value greater than the product of the average value and the preset decision threshold is selected, and the frequency offset corresponding to the maximum value of the selected power values is determined as the synchronization.
  • the frequency offset value in the process may then calculate a second frequency offset value according to the difference between the frequency offset value and the first frequency offset value, and the second frequency offset value may be used in subsequent processing.
  • the sampling frequency of the down sampling is selected to be 240 KHz
  • the subframe synchronization processing time at the determination of the subframe boundary (position) is the number of radio frames N 1
  • the symbol synchronization processing time at the determination of the symbol boundary (position) is wireless.
  • the number of frames N 2 , the number of segments of the frequency offset is N 3 , the operation threshold ⁇ f Th , and the maximum initial frequency offset ⁇ f 0 .
  • FIG. 4 is still another optional flow diagram of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the base station sends a radio frequency signal to the terminal, and the terminal performs front end processing on the received radio frequency signal to obtain a digital baseband signal, and downsamples the digital baseband signal according to the selected sampling frequency of 240 KHz, thereby obtaining time domain data at a rate of 240 KHz;
  • S403 In the subframe position of the NPSS obtained in S402, using the feature of the NPSS sequence, the first frequency offset is estimated by the adjacent symbol conjugate multiplication phase shift method, and the step also needs to perform multi-frame joint evaluation, and the number of repeated radio frames After the configurable "subframe synchronization processing time" N 1 , S403 and S402 processing time reaches the specified number of radio frames, proceeds to S404, otherwise continues to repeat S402 to S403;
  • S404 Perform frequency offset compensation on the time domain data in the subframe position of the NPSS obtained in S402, and then perform time domain correlation calculation with the local NPSS signal, and locate the symbol position of the NPSS by evaluating the relevant power peak method, and simultaneously segment by The frequency offset compensation comparison method estimates the residual position offset value of the symbol position of the NPSS.
  • This step also requires multiple radio frame joint evaluation decisions.
  • the number of repeated radio frames is a configurable "symbol synchronization processing time" N 2 ; for the processing of an "NPSS sub-frame position" data, if the specified radio frame is not reached The number continues the multi-frame accumulation processing of the current NPSS subframe position. Otherwise, the next "NPSS subframe position" is selected for processing until all the "NPSS subframe positions" given in S402 have been processed by S404. At this time, S404 will make a decision.
  • S402A For the downsampled signal r, starting from an arbitrary time starting point, a continuous 150 symbols are selected, and a conjugate point multiplication operation is performed between each adjacent symbol:
  • S402B The result of the point multiplication of S402A is cumulatively averaged every 10, and 140 accumulated average values are calculated by a recursive method as shown in the following formula:
  • S k represents an accumulated average value
  • the 140 accumulated average values obtained above correspond to 140 candidate subframe time points in one radio frame.
  • S is the accumulated average value S k obtained by the above formulas (2) and (3), and
  • E 1 (1- ⁇ )
  • ; when n N 1 ,
  • E n is the multi-frame accumulation result, ⁇ is the set filter factor; Re(S) is the real part of S, and Im(S) is the imaginary part of S.
  • S402D Determine the subframe position of the NPSS according to the decision rule 1, specifically, search for the power value obtained in S402C, and directly select the time position corresponding to the maximum value as the subframe position of the NPSS.
  • FIG. 6 is an optional schematic flowchart of S403 corresponding to FIG. 4 in the embodiment of the present invention. As shown in FIG. 6, S403 may include:
  • S403A Acquire the result of S402B.
  • S403C According to the result of the subframe position of the NPSS given by S402D, a result representing the conjugate multiplication of the adjacent symbols of the NPSS is selected in S402A, and the angle is obtained and converted into a frequency offset value as follows:
  • T s is the NPSS symbol period
  • P ⁇ , j represents the P value corresponding to the subframe j near ⁇
  • the method may further include:
  • the peak value after the maximum value (to the right of the time axis) is selected, and when ⁇ f 1 ⁇
  • the result of S403C and the result of S402D have a sequential relationship in time series, and the apparatus of the present invention may also adopt a delay of several clock cycles in timing in the timing of the decision rule two.
  • FIG. 7 is an optional schematic flowchart of S404 corresponding to FIG. 4 in the embodiment of the present invention. As shown in FIG. 7, S404 may include:
  • S404A Perform frequency offset compensation of ⁇ f 1 on the time domain data according to the result obtained by S403C, and use a piecewise quantized phase angle value algorithm or a CORDIC algorithm for the compensation operation.
  • the value of N is a multiple of the sampling frequency multiplied by 16; according to the subframe position of the NPSS obtained by S402D, the current position of the first NPSS symbol A small window of size T resync (sampling point) is opened for the center, and the time domain sliding correlation operation is performed with the local NPSS signal and the frequency offset compensated time domain data in this window. In this example, a matched filter is used. The sliding correlation operation is completed, and the matching filtering algorithm is as follows:
  • T resync is the set value
  • d m is the time domain NPSS sequence
  • the operation is the above formula (8)
  • the root is 5
  • the ZC sequence is obtained by IFFT transform and adding CP.
  • T is the number of sampling points of 11 consecutive NPSS symbols
  • f s is the sampling frequency
  • n is the sampling point count of the resynchronization window, and the window size can be flexibly configured, and is determined by the signal to noise ratio of the application scenario and the initial frequency offset.
  • the example uses a window of 3 symbols. .
  • S404C Convert the correlation result obtained by S404B into a power value to represent the energy size, and perform multi-frame accumulation and filter smoothing. The specific operation is consistent with S402C, and the accumulated number of radio frames is N 2 .
  • S404d applying a segment offset hypothesis results of S404A, S404B and S404C will be repeated several times, i.e. the number of segments preset number of repetitions is N 3, based on the choice of the frequency offset of the formula:
  • the above N 3 is an odd number; ⁇ f 0 is equivalent to the maximum initial frequency offset value, and the maximum initial frequency offset value is segmented by using the above formula (11) and formula (12) to obtain a frequency offset value of the preset number of segments. ⁇ f(n).
  • S404E Search for N p peaks (including the maximum value) among all the power values obtained in S404C and S404D, and average the power values after the peaks are removed, and then obtain a resynchronization result according to the preset rule. (ie, the symbol position of the NPSS) and the frequency offset estimation result ⁇ f.
  • FIG. 8 is a schematic diagram of an apparatus for performing NB-IoT primary synchronization according to an embodiment of the present invention.
  • the apparatus for performing NB-IoT primary synchronization includes a processor and an interface unit 81, and a data pre-processing unit 82.
  • the storage unit 88 belongs to a common resource of the NB-IoT terminal.
  • the processor and the interface unit 81 are responsible for running the scheduling software of the main synchronization process, including configuring operating parameters of other units, driving other units to run, and collecting operation results;
  • the pre-processing unit 82 is responsible for processing the data received by the NB-IoT terminal from the antenna for processing by the main synchronization process, including mixing, filtering, Low Noise Amplifier (LNA), and variable gain amplifier ( VGA, Variable Gain Amplifier), Analog-to-Digital Converter (ADC), Digital Front End (DFE, Digital Front End), etc.
  • LNA Low Noise Amplifier
  • VGA Variable Gain Amplifier
  • ADC Analog-to-Digital Converter
  • DFE Digital Front End
  • Digital Front End Digital Front End
  • the example of the present invention also adds an important downsampling function to the general hardware unit, and reduces the computational amount and occupation of the main synchronization processing flow by reducing the rate of the data source. Resources, otherwise if you try a large number of frequency offset possible values and all symbol position possible values directly in the 19200 sampling points, a huge amount of computation is required.
  • the example of the present invention uses a sampling rate of 240 kHz, and the computational amount can be reduced to 1 by downsampling. /8, and reduce the hardware size, especially the resource consumption of the storage unit 88; the storage unit 88 is responsible for buffering the input process data and the operation data and results of other units, or Other processes of the NB-IoT terminal are reused to reduce terminal costs.
  • the other units are unique units implemented by the NB-IoT terminal primary synchronization processing apparatus in the present invention, and include a control unit 83, a first frequency offset estimation unit 84, an NPSS subframe boundary operation unit 85, an NPSS symbol boundary operation unit 87, and a decision.
  • the function of control unit 83 is to control the operational timing of other units and to control the interface of storage unit 88.
  • FIG. 9 is a schematic structural diagram of an NPSS subframe boundary operation unit in FIG. 8 according to an embodiment of the present invention. As shown in FIG. 9, the NPSS subframe boundary operation unit 85 is multiplied by a shift register 921 and a conjugate point.
  • the operator 922, the complex accumulating averager 923, the register set 924, the register 925, and the recursive operator 926 are configured; wherein the shift register 921 is configured to buffer input data of one symbol, and the input data is shifted and outputted to implement adjacent The sampling point data of the two symbols is aligned; the conjugate point multiplier 922 performs the real-time operation of the adjacent two symbol data according to the above formula (1) to obtain the result of the conjugate point multiplication; the complex accumulating averager 923 and the register 925 together The conjugate point multiplication result of the 922 output is subjected to every 10 accumulated averaging; the register set 924 is configured to buffer the conjugate point multiplication result of the current sub-frame; the recursive operator 926 performs real-time according to the above formulas (2) and (3).
  • the recursive operation outputs 140 results every 10 ms, corresponding to the starting positions of 140 candidates of the subframe in which the NPSS is located; the power estimator 951 converts the output of the recursive operator 926 into power according to the above formula (5). Characterization Correlation between symbols; the floating point accumulator 952 completes the accumulation of the above formula (4), and stores the result in the first working RAM 901. After the corresponding time of the next radio frame arrives, the last result is read from the RAM. To accumulate the current power value, in order to mitigate the influence of time drift, the IIR filtering method is used for accumulating. In order to improve performance, a large amount of radio frame data may be used for accumulating.
  • the online comparator 954 compares the accumulated results in real time when the last frame is accumulated, and the maximum value is output to the decision module 955, which saves the time for storing the data in the RAM and then reading out;
  • the peak searcher 953 is used to search for the other peaks except the maximum value in the first working RAM 901, and output to the decision module 955;
  • the decision module 955 determines whether the maximum value and the peak value output by the peak searcher 953 and the online comparator 954 are determined according to a predetermined rule.
  • the time point corresponding to the selection of the appropriate value is the subframe position of the NPSS (corresponding to the subframe position of the NPSS described above) as the output result of step S402,
  • the embodiment directly outputs the time point corresponding to the maximum value as the subframe position of the NPSS;
  • the first frequency offset estimation unit is composed of the complex accumulation averager 931 and the frequency offset calculator 932, and further requires the second in the storage unit 88.
  • Work RAM 902 to assist in the completion of the work.
  • the multi-accumulation averager 923 accumulates the 140 results output by the recursive operator 926 across the frame, and the accumulated result is temporarily stored in the second working RAM 902.
  • the position value corresponds to The address is selected from one of the 140 data in the second working RAM 902, and is output to the frequency offset calculator 932.
  • the frequency offset calculator 932 performs the angle-of-angle and frequency offset conversion work in the above formula (7) to obtain the first frequency. Deviation ⁇ f 1 .
  • FIG. 10 is a schematic structural diagram of an NPSS symbol boundary operation unit in FIG. 8 according to an embodiment of the present invention.
  • the NPSS symbol boundary operation unit 87 is composed of a data selector 1041 and a local NPSS signal generator 1042.
  • the frequency offset compensator 1043 and the time domain matched filter 1044 are combined.
  • the storage unit 88 is required to cooperate.
  • the control unit 83 provides the subframe position information of the NPSS according to S402, and stores the data of the subframe where the NPSS is located in the storage unit 88.
  • the size of the resynchronization window only needs to buffer data of one subframe within one subframe, and more than one subframe needs to buffer data in the entire window, and the device in this embodiment has the most The data of 2 subframes is buffered; the data selector 1041 is responsible for selecting the current real-time data or the data read from the second working RAM 902.
  • the selection rule is that when the subframe where the NPSS of each radio frame arrives, the real-time input data is selected, and the other The time selects the data read from the second working RAM 902; the frequency offset compensator 1043 performs frequency offset compensation on the data output by the data selector, since the device uses serializer Mode, the maximum deviation of the number N of the segment 9, when a 25.5KHz application scenario in the maximum absolute value of the initial frequency offset ⁇ f is 0, when the above equation (11), the segment offset is set ⁇ 25.5KHz , 19.1KHz, 12.8KHz, 6.4KHz, 0, -6.4KHz, -12.8KHz, -19.1KHz, -25.5KHz ⁇ , the frequency offset estimation error can be controlled within 3.2KHz; if the above formula (12) is used, the frequency The partial estimation error can be further controlled within 1.4 kHz; the specific implementation of the segmentation frequency offset compensation operation can adopt the CORDIC algorithm or the piecewise quantization phase compensation method; the local NPSS signal generator locally generates the
  • FIG. 11 is a timing diagram of a time domain matched filter according to an embodiment of the present invention.
  • the time domain matched filter completes the received signal output by the frequency offset compensator 1043 and the local signal output by the local NPSS signal generator 1042.
  • correlation operation between its basic structure as illustrated, r ' is the received signal preprocessing, d 0 -d n NPSS local sequence signal, characterized by using NPSS sequences in the subframe 11 when the unit is implemented, the The 11 consecutive symbols are treated as the same NPSS symbol, so one basic filter hardware can be reused to reduce resource consumption.
  • the symmetry of the NPSS root sequence itself can be utilized to further reduce the local NPSS signal generator 1042.
  • the hardware size of the domain matched filter 1044 is a timing diagram of a time domain matched filter according to an embodiment of the present invention.
  • the subsequent processing of the output result of the NPSS symbol boundary operation unit 87 multiplexes the decision unit 86 used by the aforementioned NPSS subframe boundary operation unit 85.
  • the output of time domain matched filter 1044 is converted to power estimator 951, converted to a power value, and then accumulated by floating point accumulator 952, which accumulates the obtained power value, and is input to online comparator 954 to find the maximum value.
  • it is temporarily stored in the first working RAM 901, and then several peaks are found by the peak searcher (two in this embodiment), and finally the decision unit 86 determines the NPSS symbol position and the second according to a predetermined rule.
  • the frequency offset estimate is output as the final result of the primary synchronization process.
  • the peak searcher will get two peaks, and the decision module 955 will first reject the maximum value and the two peaks, then accumulate all remaining power values, representing the noise power level, and then find the maximum value. And the ratio of the peak value to the average value, if the ratio is greater than the preset threshold, it is judged to be valid, and the maximum value is selected, and the corresponding sampling point time position is the symbol position of the NPSS, and the corresponding frequency offset is The total initial frequency offset.
  • FIG. 12 is a timing diagram of performing NB-IoT primary synchronization according to an embodiment of the present invention.
  • the apparatus of the embodiment of the present invention can process up to 10 segment frequency offsets.
  • the initial The error of the frequency offset estimation is controlled within 1.4 kHz, which effectively copes with the scene with large initial frequency offset; the serial working mechanism is adopted when processing multiple segment frequency offsets, and the control unit 83 increases the received radio frequency signal according to the working timing.
  • Control in particular, controls the radio frequency switch in the data pre-processing unit 82 to turn on the radio frequency switch in the data pre-processing unit 82 to receive the radio frequency signal only when the sub-frame position of the NPSS arrives, in the NPSS sub- At the end of the frame position, the RF switch in the data pre-processing unit 82 is turned off to stop receiving the RF signal, and the RF signal can be shortened to 1/10 by controlling the RF switch, that is, the serial working mechanism and the RF are used.
  • the control of the switch can significantly reduce the power consumption of the NB-IoT terminal in the main synchronization process.
  • the method for determining the symbol position of the primary synchronization signal provided by the embodiment of the present invention firstly processes the received radio frequency signal to obtain a digital baseband signal, and samples the digital baseband signal. Obtaining a sampling signal, and then processing the sampling signal to obtain a cumulative power value of the sampling signal in K subframes, and determining a first cumulative power value from the accumulated power values of the sampling signals in the K subframes according to a preset rule, which will be first
  • the subframe position corresponding to the accumulated power value is determined as the subframe position of the NPSS, so that the approximate position of the time point of the NPSS to be synchronized can be known, and finally, the pre-configured NPSS and the sampling signal are constructed according to the subframe position of the NPSS.
  • Performing a correlation operation to obtain each correlation value, and determining a symbol position of the NPSS according to each correlation value; that is, the embodiment of the present invention processes the sampled signal to obtain a cumulative power value of the sampled signal in K subframes, according to the sampling signal.
  • the accumulated power values of the K subframes can determine the subframe position of the corresponding NPSS, so that the correlation between the NPSS and the sampling signals of the subframe in which the non-NPSS is located is avoided, and the continuous reception of signals is avoided, thereby reducing correlation.
  • the amount of computation of the operation which in turn reduces the cost and power consumption of the NB-IoT for the main synchronization process, and ultimately improves the NB-IoT The efficiency of synchronization.
  • an embodiment of the present invention further provides a device for determining a symbol position of a primary synchronization signal
  • FIG. 13 is a schematic structural diagram of a device for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention, as shown in FIG.
  • the device includes: a sampling module 131, a processing module 132, a first determining module 133, an arithmetic module 134, and a second determining module 135;
  • the sampling module 131 is configured to process the received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal to obtain a sampling signal.
  • the processing module 132 is configured to process the sampling signal to obtain a sampling signal in the K sub-samples.
  • the first determining module 133 is configured to determine a maximum value of the sampled signals in the accumulated power values of the K subframes as a first accumulated power value, and determine a subframe position corresponding to the first accumulated power value as a sub-frame position of the NPSS;
  • the operation module 134 is configured to perform a correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS to obtain each correlation value; and the second determining module 135 is configured to determine according to each correlation value.
  • the symbol position of the NPSS is configured to determine a maximum value of the sampled signals in the accumulated power values of the K subframes as a first accumulated power value, and determine a subframe position corresponding to the first accumulated power value as a sub-frame position of the NPSS;
  • the operation module 134 is configured to perform a correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS to obtain each correlation value;
  • the processing module 132 includes: a processing submodule configured to process the sampling signal according to a preset algorithm to obtain a sampling signal.
  • the energy of K subframes in a radio frame the accumulating filter sub-module is configured to accumulate and filter the energy of the K subframes of the sampled signal in a radio frame according to the first preset frame number to obtain the accumulation of the sampled signal in the K subframes. Power value.
  • the processing submodule is configured to perform a conjugate point multiplication operation on the sampled signal to obtain conjugates of the sampled signal, in order to obtain the energy of the K subframes of the sampled signal in a radio frame.
  • the energy of K subframes is configured to perform a conjugate point multiplication operation on the sampled signal to obtain conjugates of the sampled signal, in order to obtain the energy of the K subframes of the sampled signal in a radio frame.
  • the above apparatus further includes a compensation module configured to determine a maximum value of the cumulative power values of the sampled signals in the K subframes as a first cumulative power value, and determine a subframe position corresponding to the first accumulated power value as a sub-narrow primary synchronization signal NPSS After the frame position, determining a first frequency offset of the sampling signal according to the subframe position corresponding to the first accumulated power value; performing frequency offset compensation on the sampling signal according to the first frequency offset.
  • a compensation module configured to determine a maximum value of the cumulative power values of the sampled signals in the K subframes as a first cumulative power value, and determine a subframe position corresponding to the first accumulated power value as a sub-narrow primary synchronization signal NPSS After the frame position, determining a first frequency offset of the sampling signal according to the subframe position corresponding to the first accumulated power value; performing frequency offset compensation on the sampling signal according to the first frequency offset.
  • the apparatus further includes: an adjusting module configured to perform frequency offset compensation on the sampling signal according to the first frequency offset, after the sampling signal is in the There are at least two peaks in the accumulated power values of the K subframes, and the power difference between the peak value and the maximum value of the sampled signals in the accumulated power values of the K subframes is less than or equal to the first preset threshold value, and When the time difference between the peak value and the sampling signal is greater than or equal to the second preset threshold value in the cumulative power value of the K subframes, when the first frequency offset is greater than the absolute value of the preset operation threshold, Determining, as a first accumulated power value, a first peak after the maximum value of the accumulated power values of the K subframes; and at least two peaks in the cumulative power value of the sampled signals in the K subframes, and the peak value The power difference between the maximum value of the accumulated power values of the K subframes is less than or equal to the first preset threshold value, and the peak value and the maximum
  • the operation module 134 is specifically configured to obtain a preset score, because the frequency offset is caused in the initial synchronization process.
  • the frequency offset value of the number of segments; the frequency offset value of the sampled signal is respectively subjected to frequency offset compensation processing to obtain a processed sample signal of a preset number of segments; according to the subframe position of the NPSS, the pre-configuration is performed according to the subframe position of the NPSS
  • the NPSS is correlated with the processed sampled signal to obtain correlation values, and each correlation value is accumulated and filtered according to the second preset frame number to obtain a power value corresponding to each correlation value.
  • the second determining module 135 determines the symbol position of the NPSS according to each correlation value, and at least the following two manners are adopted: in the first manner, according to the size of each correlation value, the subframe corresponding to the maximum value among the correlation values may be The symbol position is determined as the symbol position of the NPSS; the second method may determine the symbol position of the NPSS according to the following manner.
  • the second determining module is specifically configured to correspond to each related value.
  • a preset number of peaks are selected from the power values; an average value of the power values other than the preset number of peaks is calculated among the power values corresponding to the correlation values; and the power value corresponding to each correlation value is selected to be greater than the average value
  • the power value of the product of the preset decision threshold is determined as the symbol position of the NPSS in the symbol position in the subframe corresponding to the maximum value of the selected power values.
  • the sampling module 131, the processing module 132, the first determining module 133, the computing module 134, the second determining module 135, the processing submodule, the accumulating filtering submodule, the compensating module, and the adjusting module may all be provided by a processor located in the device.
  • a processor located in the device.
  • a CPU a microprocessor (MPU, Microprocessor Unit), an application specific integrated circuit (ASIC), or a Field-Programmable Gate Array (FPGA) are implemented.
  • This embodiment describes a computer readable storage medium, which may be a read only memory (ROM) (for example, a read only memory, a FLASH memory, a transfer device, etc.), a magnetic storage medium (for example, a magnetic tape, a magnetic disk drive, etc.).
  • ROM read only memory
  • magnetic storage medium for example, a magnetic tape, a magnetic disk drive, etc.
  • Optical storage medium eg, CD-ROM, DVD-ROM, paper card, paper tape, etc.
  • computer-readable storage medium stores computer-executable instructions that, when executed, cause At least one processor performs the following operations:
  • Processing the received RF signal to obtain a digital baseband signal sampling the digital baseband signal to obtain a sampled signal; processing the sampled signal to obtain a cumulative power value of the sampled signal in K subframes; according to a preset rule, the sampled signal is Determined among the cumulative power values of K subframes a first cumulative power value, the subframe position corresponding to the first accumulated power value is determined as a subframe position of the NPSS; and the pre-configured NPSS is correlated with the sampling signal according to the subframe position of the NPSS to obtain each correlation value; The symbol position of the NPSS is determined based on each correlation value.
  • the computer readable storage medium provided by the embodiment of the present invention has a computer program stored thereon, and when the computer program is executed by the processor, the steps of any method of the embodiment of the present invention are implemented.
  • the method for determining the symbol position of the primary synchronization signal firstly processes the received radio frequency signal to obtain a digital baseband signal, samples the digital baseband signal to obtain a sampling signal, and then processes the sampled signal to obtain a sampled signal.
  • the cumulative power value of the sampled signal in the K subframes, the maximum value of the sampled signal in the cumulative power values of the K subframes is determined as the first cumulative power value, and the subframe position corresponding to the first accumulated power value is determined as the child of the NPSS
  • the position of the frame, so that the approximate position of the time point of the NPSS to be synchronized can be known.
  • the pre-configured NPSS is correlated with the sampled signal to obtain correlation values, according to the correlation values. Determining the symbol position of the NPSS; that is, the embodiment of the present invention obtains the cumulative power value of the sampled signal in the K subframes by processing the sampled signal, and the corresponding NPSS can be determined according to the accumulated power value of the sampled signal in the K subframes.
  • the position of the sub-frame then, the correlation between the NPSS and the sampling signal of the sub-frame where the non-NPSS is located is avoided. And avoids discontinuous reception signal, this can reduce the amount of calculation for the correlation calculation, thereby reducing the cost and power for NB-IoT primary synchronization process, ultimately, improve the efficiency of NB-IoT main synchronization.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a ROM, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the solution provided by the embodiment of the present invention processes the received radio frequency signal to obtain a digital baseband signal, samples the digital baseband signal to obtain a sampling signal, and processes the sampled signal to obtain a cumulative power value of the sampled signal in K subframes, which will be sampled.
  • the maximum value of the accumulated power values of the K subframes is determined as the first accumulated power value, and the subframe position corresponding to the first accumulated power value is determined as the subframe position of the NPSS, so that the NPSS needs to be synchronized.
  • the approximate position of the time point is determined as the first accumulated power value, and the subframe position corresponding to the first accumulated power value.
  • the pre-configured NPSS is correlated with the sampling signal to obtain each correlation value, and the symbol position of the NPSS is determined according to each correlation value; that is, the present invention
  • the embodiment obtains the accumulated power value of the sampled signal in the K subframes by processing the sampled signal, and determines the subframe position of the corresponding NPSS according to the accumulated power value of the sampled signal in the K subframes, thereby avoiding the NPSS and the non-negative
  • the sampling signal of the sub-frame in which the NPSS is located performs correlation operations, and avoids continuous reception of signals, so that the reduction can be reduced. Calculating an amount of correlation calculation, thereby reducing the cost and power for NB-IoT primary synchronization process, ultimately, improve the efficiency of NB-IoT main synchronization.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Disclosed in an embodiment of the present invention is a method for determining a symbol position of a primary synchronization signal, comprising: performing processing on a received radio-frequency signal to obtain a digital baseband signal, and performing sampling on the digital baseband signal to obtain a sampled signal; performing processing on the sampled signal to obtain cumulative power values of the sampled signal over K subframes; determining, according to a preset rule, a first cumulative power value from the cumulative power values of the sampled signal over the K subframes, and determining a subframe position corresponding to the first cumulative power value to be a subframe position of a narrow band primary synchronization signal (NPSS); performing, according to the subframe position of the NPSS, a correlation operation on a pre-configured NPSS and the sampled signal to obtain respective correlation values; and determining, according to the respective correlation values, a symbol position of the NPSS. Also disclosed in the embodiment of the present invention are a device for determining a symbol position of a primary synchronization signal and a computer readable storage medium.

Description

一种主同步信号的符号位置的确定方法、装置及存储介质Method, device and storage medium for determining symbol position of main synchronization signal
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710142402.9、申请日为2017年03月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 10, 2017, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及物联网领域,尤其涉及一种主同步信号的符号位置的确定方法、装置及计算机可读存储介质。The present invention relates to the field of Internet of Things, and in particular, to a method, an apparatus, and a computer readable storage medium for determining a symbol position of a primary synchronization signal.
背景技术Background technique
窄带物联网(NB-IoT,Narrow Band Internet of Things)技术是物联网(IoT,Internet of Things)领域一个新兴的技术。与现有的IoT技术不同的是,NB-IoT技术是基于电信蜂窝网络的、可全球通用的物联网技术;NB-IoT技术使用许可(License)频段,可采取带内、保护带或独立载波三种部署方式,与现有网络共存,具有广覆盖、深覆盖、海量连接、成本低、功耗低、数据安全等优点。The Narrow Band Internet of Things (NB-IoT) technology is an emerging technology in the Internet of Things (IoT). Different from the existing IoT technology, NB-IoT technology is a globally-available Internet of Things technology based on telecom cellular networks; NB-IoT technology license (License) frequency band, can take in-band, guard band or independent carrier Three deployment methods coexist with existing networks, with wide coverage, deep coverage, massive connectivity, low cost, low power consumption, and data security.
与其他蜂窝通信技术一样,NB-IoT通信工作的第一步是要完成终端与系统的初始同步过程,包括获得时间同步和频率同步,这可以通过终端的扫频和主同步过程来得到。相关技术中主同步过程通过终端在本地构造主同步信号,利用主同步序列的相关性与每个时间点的接收信号(基站发射信号)进行比对,相关性高的信号所在的时间点认为是主同步时间点,根据这一思路,NB-IoT也可以利用其窄带主同步信号(NPSS,Narrow Band Primary Synchronization Signal)与接收信号的相关性评估来获得主同步,但是,在没有任何先验信息的情况下,这种方法需要遍历一个无线帧(10ms)内所有可能的时间点,不管是在时域还是频域进行相关,这种方法都会消 耗大量的硬件资源或数字信号处理器(DSP,Digital Signal Processor)资源,并且要不间断的连续接收信号和运算,无法降低功耗。As with other cellular communication technologies, the first step in NB-IoT communication is to complete the initial synchronization of the terminal with the system, including time synchronization and frequency synchronization, which can be obtained by the terminal's sweep and master synchronization process. In the related art, the primary synchronization process constructs a primary synchronization signal locally through the terminal, and uses the correlation of the primary synchronization sequence to compare with the received signal (base station transmitted signal) at each time point, and the time point at which the highly correlated signal is located is considered to be According to this idea, NB-IoT can also use its narrowband primary synchronization signal (NPSS, Narrow Band Primary Synchronization Signal) to evaluate the correlation of received signals to obtain primary synchronization, but without any prior information. In this case, this method needs to traverse all possible time points within a radio frame (10ms), whether it is related in the time domain or the frequency domain, this method will eliminate It consumes a lot of hardware resources or digital signal processor (DSP) resources, and continuously receives signals and operations without interruption, and can not reduce power consumption.
而NB-IoT对成本和功耗方面有着非常高的要求,根据TR45.820的仿真数据,预期终端模块的待机时间可长达10年、单个接连模块不超过5美元,而且为了降低成本,可能使用了低性能的晶振,会给终端和系统之间带来比以往的蜂窝通讯系统更大的初始频偏(可到25.5KHz),对初始定时的获得造成影响,由此可以看出,相关技术中的主同步方法不能满足NB-IoT低成本和低功耗的要求。NB-IoT has very high requirements on cost and power consumption. According to the simulation data of TR45.820, it is expected that the standby time of the terminal module can be up to 10 years, the single connected module does not exceed 5 US dollars, and in order to reduce the cost, it is possible The use of a low-performance crystal oscillator will result in a larger initial frequency offset (up to 25.5 kHz) between the terminal and the system than in previous cellular communication systems, which has an impact on the initial timing. The primary synchronization method in the technology cannot meet the low cost and low power requirements of NB-IoT.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种主同步信号的符号位置的确定方法、装置及计算机可读存储介质。In view of this, embodiments of the present invention are directed to a method, apparatus, and computer readable storage medium for determining a symbol position of a primary synchronization signal.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供一种主同步信号的符号位置的确定方法,包括:对接收到的射频信号进行处理得到数字基带信号,对所述数字基带信号进行采样得到采样信号;对所述采样信号进行处理,得出所述采样信号在K个子帧的累积功率值;将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为NPSS的子帧位置;根据所述NPSS的子帧位置,将预先构造出的NPSS与所述采样信号进行相关运算,得到各相关值;根据所述各相关值确定出所述NPSS的符号位置。In a first aspect, an embodiment of the present invention provides a method for determining a symbol position of a primary synchronization signal, including: processing a received radio frequency signal to obtain a digital baseband signal, and sampling the digital baseband signal to obtain a sampling signal; Processing the sampled signal to obtain a cumulative power value of the sampled signal in K subframes; determining a maximum value of the sampled signal in the cumulative power values of the K subframes as a first cumulative power value, a subframe position corresponding to an accumulated power value is determined as a subframe position of the NPSS; and the pre-configured NPSS is correlated with the sampling signal according to the subframe position of the NPSS to obtain respective correlation values; The correlation value determines the symbol position of the NPSS.
上述方案中,所述对所述采样信号进行处理,得出所述采样信号在K个子帧的累积功率值,包括:按照预设算法对所述采样信号进行处理,得到所述采样信号在一个无线帧内K个子帧的能量;对所述采样信号在一个无线帧内K个子帧的能量按照第一预设帧数进行累加、滤波得到所述采样信号在K个子帧的累积功率值。In the above solution, the sampling signal is processed to obtain a cumulative power value of the sampling signal in the K subframes, including: processing the sampling signal according to a preset algorithm, to obtain the sampling signal in one The energy of the K subframes in the radio frame; the energy of the K subframes in the radio frame is accumulated and filtered according to the first preset frame number in a radio frame to obtain the accumulated power value of the sample signal in the K subframes.
上述方案中,所述按照预设算法对所述采样信号进行处理,得到所述采样信号在一个无线帧内K个子帧的能量,包括:对所述采样信号进行共轭点乘运算,得到所述采样信号的各共轭点乘运算结果;从所述采样信号 的各共轭点乘运算结果中挑选K组共轭点乘运算结果,分别对K组共轭点乘运算结果进行累加平均运算,得到所述采样信号在一个无线帧内K个子帧的能量。In the above solution, the sampling signal is processed according to a preset algorithm to obtain energy of the K subframes of the sampled signal in a radio frame, including: performing conjugate point multiplication on the sampling signal to obtain a a conjugate point multiplication result of the sampled signal; from the sampled signal The K-group conjugate point multiplication result is selected from each of the conjugate point multiplication results, and the K-group conjugate point multiplication result is subjected to an accumulated averaging operation to obtain energy of the K-subframes of the sampled signal in one radio frame.
上述方案中,在将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置之后,所述方法还包括:根据所述第一累积功率值对应的子帧位置,确定出所述采样信号的第一频偏;根据所述第一频偏对所述采样信号进行频偏补偿。In the above solution, the maximum value of the sampling signal in the cumulative power values of the K subframes is determined as the first accumulated power value, and the subframe position corresponding to the first accumulated power value is determined as the child of the NPSS. After the frame position, the method further includes: determining, according to the subframe position corresponding to the first accumulated power value, a first frequency offset of the sampling signal; and frequencying the sampling signal according to the first frequency offset Partial compensation.
上述方案中,在根据所述第一频偏对所述采样信号进行频偏补偿之后,所述方法还包括:在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏大于所述预设的运算门限的绝对值时,将所述采样信号在K个子帧的累积功率值中的最大值之后的第一个峰值确定为所述第一累积功率值;在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏小于所述预设的运算门限的绝对值的相反数时,将所述采样信号在K个子帧的累积功率值中的最大值之前的第一个峰值确定为所述第一累积功率值,返回执行所述将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置的步骤。In the above solution, after frequency offset compensation is performed on the sampling signal according to the first frequency offset, the method further includes: at least two peaks in the accumulated power value of the sampled signal in the K subframes, and And the power difference between the peak value and the maximum value of the sampling signal in the accumulated power values of the K subframes is less than or equal to a first preset threshold value, and the peak value and the sampling signal are in K sub-subjects. When the time difference between the maximum values of the accumulated power values of the frames is greater than or equal to the second preset threshold, and the first frequency offset is greater than the absolute value of the preset operation threshold, the a first peak after the maximum value of the sampled signal in the cumulative power values of the K subframes is determined as the first cumulative power value; and at least two peaks are present in the cumulative power value of the sampled signals in the K subframes, And the power difference between the peak value and the maximum value of the sampling signal in the accumulated power values of the K subframes is less than or equal to the first preset threshold value, and the peak value and the sampling signal are at the K The maximum of the cumulative power values of the sub-frames When the time difference between the time difference is greater than or equal to the second preset threshold value, and the first frequency offset is less than the inverse of the absolute value of the preset operation threshold, the sampling signal is in K sub-subjects Determining, as the first accumulated power value, a first peak value before a maximum value of the accumulated power values of the frame, and returning to performing performing the subframe position corresponding to the first accumulated power value as a subframe of the NPSS The steps of the location.
上述方案中,所述根据所述NPSS的子帧位置,将预先构造出的NPSS与所述采样信号进行相关运算,得到各相关值,包括:获取预设分段数目的频偏值;根据所述预设分段数目的频偏值分别对所述采样信号进行频偏补偿处理,得到所述预设分段数目的处理后的采样信号;根据所述NPSS的子帧位置,将所述预先构造出的NPSS分别与所述预设分段数目的处理后的采样信号进行相关运算,得到所述各相关值。 In the above solution, the correlation between the pre-configured NPSS and the sampling signal is performed according to the subframe position of the NPSS, to obtain each correlation value, including: obtaining a frequency offset value of the preset number of segments; Performing a frequency offset compensation process on the sampled signal to obtain a processed sample signal of the preset number of segments; and The constructed NPSS is correlated with the processed sampled signals of the preset number of segments to obtain the correlation values.
上述方案中,根据所述各相关值确定出所述NPSS的符号位置,包括:对所述各相关值分别按照第二预设帧数进行累加、滤波得到所述各相关值对应的功率值;从所述各相关值对应的功率值中选取出预设数目的峰值;在所述各相关值对应的功率值中,计算除所述预设数目的峰值以外的功率值的平均值;在所述各相关值对应的功率值中,选取大于所述平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的子帧中的符号位置确定为所述NPSS的符号位置。In the above solution, determining the symbol position of the NPSS according to the correlation values includes: accumulating and filtering the correlation values according to the second preset frame number to obtain power values corresponding to the correlation values; And selecting a preset number of peaks from the power values corresponding to the correlation values; and calculating, in the power values corresponding to the correlation values, an average value of power values other than the preset number of peak values; Determining, by the power value corresponding to each correlation value, a power value greater than a product of the average value and a preset decision threshold, and determining a symbol position in a subframe corresponding to a maximum value of the selected power values as the NPSS Symbol location.
第二方面,本发明实施例提供一种主同步信号的符号位置的确定装置,包括:采样模块,配置为对接收到的射频信号进行处理得到数字基带信号,对所述数字基带信号进行采样得到采样信号;处理模块,配置为对所述采样信号进行处理,得出所述采样信号在K个子帧的累积功率值;第一确定模块,配置为将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为NPSS的子帧位置;运算模块,配置为根据所述NPSS的子帧位置,将预先构造出的NPSS与所述采样信号进行相关运算,得到各相关值;第二确定模块,配置为根据所述各相关值确定出所述NPSS的符号位置。In a second aspect, an embodiment of the present invention provides a device for determining a symbol position of a primary synchronization signal, including: a sampling module configured to process a received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal a sampling signal, configured to process the sampled signal to obtain an accumulated power value of the sampled signal in K subframes; and a first determining module configured to accumulate power of the sampled signal in K subframes The maximum value of the value is determined as a first cumulative power value, and the subframe position corresponding to the first accumulated power value is determined as a subframe position of the NPSS; and the operation module is configured to be pre-framed according to the subframe position of the NPSS The constructed NPSS performs a correlation operation with the sampling signal to obtain each correlation value, and the second determining module is configured to determine a symbol position of the NPSS according to the correlation values.
上述方案中,所述处理模块,包括:处理子模块,配置为按照预设算法对所述采样信号进行处理,得到所述采样信号在一个无线帧内K个子帧的能量;累加滤波子模块,配置为对所述采样信号在一个无线帧内K个子帧的能量按照第一预设帧数进行累加、滤波得到所述采样信号在K个子帧的累积功率值。In the above solution, the processing module includes: a processing submodule configured to process the sampling signal according to a preset algorithm to obtain energy of the K subframes of the sampling signal in a radio frame; and an accumulation filtering submodule, The energy of the K subframes in the radio frame is accumulated and filtered according to the first preset frame number, and the accumulated power value of the sample signal in the K subframes is obtained.
上述方案中,所述处理子模块,配置为对所述采样信号进行共轭点乘运算,得到所述采样信号的各共轭点乘运算结果;从所述采样信号的各共轭点乘运算结果中挑选K组共轭点乘运算结果,分别对K组共轭点乘运算结果进行累加平均运算,得到所述采样信号在一个无线帧内K个子帧的能量。In the above solution, the processing submodule is configured to perform a conjugate point multiplication operation on the sampling signal to obtain a conjugate point multiplication result of the sampling signal; and multiply each conjugate point of the sampling signal In the result, the K-group conjugate point multiplication operation result is selected, and the K-group conjugate point multiplication operation result is separately subjected to an averaging operation to obtain the energy of the K-subframes of the sampled signal in one radio frame.
上述方案中,所述装置还包括:补偿模块,配置为在将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置之后,根据所述第 一累积功率值对应的子帧位置,确定出所述采样信号的第一频偏;根据所述第一频偏对所述采样信号进行频偏补偿。In the above solution, the apparatus further includes: a compensation module configured to determine a maximum value of the accumulated power values of the sampling signals in the K subframes as a first accumulated power value, and corresponding to the first accumulated power value After the subframe position is determined as the subframe position of the NPSS, according to the Determining a first frequency offset of the sampling signal according to a subframe position corresponding to the accumulated power value; performing frequency offset compensation on the sampling signal according to the first frequency offset.
上述方案中,所述装置还包括:调整模块,配置为根据所述第一频偏对所述采样信号进行频偏补偿之后,在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏大于所述预设的运算门限的绝对值时,将所述采样信号在K个子帧的累积功率值中的最大值之后的第一个峰值确定为所述第一累积功率值;在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏小于所述预设的运算门限的绝对值的相反数时,将所述采样信号在K个子帧的累积功率值中的最大值之前的第一个峰值确定为所述第一累积功率值,触发所述第一确定模块返回执行将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置。In the above solution, the device further includes: an adjusting module, configured to perform frequency offset compensation on the sampling signal according to the first frequency offset, and at least two of the accumulated power values of the sampling signal in the K subframes a peak value, and the power difference between the peak value and the maximum value of the sampling signal in the cumulative power values of the K subframes is less than or equal to a first preset threshold value, and the peak value and the sampling value And when the time difference between the maximum values of the accumulated power values of the K subframes is greater than or equal to the second preset threshold, and the first frequency offset is greater than the absolute value of the preset operation threshold Determining, by the first peak after the maximum value of the accumulated power values of the K subframes, the first accumulated power value; wherein the sampling signal is present in at least the accumulated power values of the K subframes Two peaks, and the power difference between the peak value and the maximum value of the sampling signal in the cumulative power values of the K subframes is less than or equal to the first preset threshold value, and the peak value is Cumulative work of sampled signals in K subframes When the time difference between the maximum values in the rate values is greater than or equal to the second predetermined threshold value, and the first frequency offset is less than the inverse of the absolute value of the preset operation threshold, Determining, by the first peak, the first peak before the maximum value of the accumulated power values of the K subframes is the first accumulated power value, triggering the first determining module to return to perform execution of the first cumulative power value The subframe position is determined as the subframe position of the NPSS.
上述方案中,所述运算模块,配置为获取预设分段数目的频偏值;根据所述预设分段数目的频偏值分别对所述采样信号进行频偏补偿处理,得到所述预设分段数目的处理后的采样信号;根据所述NPSS的子帧位置,将所述预先构造出的NPSS分别与所述预设分段数目的处理后的采样信号进行相关运算,得到所述各相关值。In the above solution, the operation module is configured to obtain a frequency offset value of the preset number of segments; and perform frequency offset compensation processing on the sampling signal according to the frequency offset value of the preset number of segments, to obtain the pre-prepared a segmented number of processed sampled signals; performing a correlation operation between the pre-configured NPSS and the preset number of segments of the processed sample signals according to the subframe position of the NPSS, to obtain the Relevant values.
上述方案中,所述第二确定模块,配置为对所述各相关值分别按照第二预设帧数进行累加、滤波得到所述各相关值对应的功率值;从所述各相关值对应的功率值中选取出预设数目的峰值;在所述各相关值对应的功率值中,计算除所述预设数目的峰值以外的功率值的平均值;在所述各相关值对应的功率值中,选取大于所述平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的子帧中的符号位置确定为所述NPSS的 符号位置。In the above solution, the second determining module is configured to accumulate and filter the correlation values according to the second preset frame number to obtain power values corresponding to the correlation values, and corresponding to the correlation values. A preset number of peaks is selected from the power values; and an average value of power values other than the preset number of peaks is calculated among the power values corresponding to the correlation values; and power values corresponding to the correlation values And selecting a power value that is greater than a product of the average value and a preset decision threshold, and determining a symbol position in the subframe corresponding to the maximum value of the selected power values as the NPSS Symbol location.
第三方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。In a third aspect, an embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of any of the foregoing methods.
本发明实施例所提供的主同步信号的符号位置的确定方法、装置及计算机可读存储介质,首先,对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样得到采样信号,然后,对采样信号进行处理得到采样信号在K个子帧的累积功率值,将采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置,这样,便可以知晓NPSS的需同步的时间点的大致位置,最后,根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值,根据各相关值确定出NPSS的符号位置;也就是说,本发明实施例通过对采样信号进行处理得到采样信号在K个子帧的累积功率值,根据采样信号在K个子帧的累积功率值可以确定出对应的NPSS的子帧位置,那么,避免了将NPSS与非NPSS所在子帧的采样信号进行相关运算,并且避免了连续接收信号,这样,能够降低进行相关运算的运算量,进而降低了NB-IoT进行主同步过程的成本和功耗,最终,提高了NB-IoT中主同步的效率。也就是说,采用本发明实施例的方案,能够满足NB-IoT低成本和低功耗的要求,提高了NB-IoT中主同步的效率。The method and device for determining the symbol position of the primary synchronization signal and the computer readable storage medium provided by the embodiment of the present invention firstly process the received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal to obtain a sampling signal. Then, the sampled signal is processed to obtain a cumulative power value of the sampled signal in K subframes, and the maximum value of the sampled signal in the accumulated power values of the K subframes is determined as a first accumulated power value, and the first accumulated power value is corresponding. The subframe position is determined as the subframe position of the NPSS, so that the approximate position of the time point of the NPSS to be synchronized can be known. Finally, according to the subframe position of the NPSS, the pre-configured NPSS is correlated with the sampling signal to obtain a correlation. For each correlation value, the symbol position of the NPSS is determined according to each correlation value; that is, the embodiment of the present invention processes the sampled signal to obtain the cumulative power value of the sampled signal in K subframes, and accumulates in the K subframes according to the sampled signal. The power value can determine the subframe position of the corresponding NPSS, so that the NPSS and the non-NPSS are avoided. The sampling signal performs correlation operations and avoids continuous reception of signals, thus reducing the amount of computation for performing correlation operations, thereby reducing the cost and power consumption of the NB-IoT for the main synchronization process, and finally, improving the NB-IoT master. The efficiency of synchronization. That is to say, the solution of the embodiment of the present invention can meet the requirements of low cost and low power consumption of the NB-IoT, and improve the efficiency of the primary synchronization in the NB-IoT.
附图说明DRAWINGS
图1为本发明实施例中主同步信号的符号位置的确定方法的流程示意图;1 is a schematic flow chart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention;
图2为本发明实施例中主同步信号的符号位置的确定方法的一种可选的流程示意图;2 is an optional schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention;
图3为本发明实施例中主同步信号的符号位置的确定方法的另一种可选的流程示意图;3 is another optional schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention;
图4为本发明实施例中主同步信号的符号位置的确定方法的再一种可选的流程示意图; 4 is still another optional flow diagram of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention;
图5为本发明实施例中与图4对应的S402的一种可选的流程示意图;FIG. 5 is an optional schematic flowchart of S402 corresponding to FIG. 4 according to an embodiment of the present disclosure;
图6为本发明实施例中与图4对应的S403的一种可选的流程示意图;FIG. 6 is an optional schematic flowchart of S403 corresponding to FIG. 4 according to an embodiment of the present disclosure;
图7为本发明实施例中与图4对应的S404的一种可选的流程示意图;FIG. 7 is an optional schematic flowchart of S404 corresponding to FIG. 4 according to an embodiment of the present disclosure;
图8为本发明实施例中一种执行NB-IoT主同步的装置的实例示意图;FIG. 8 is a schematic diagram of an example of an apparatus for performing NB-IoT primary synchronization according to an embodiment of the present invention; FIG.
图9为本发明实施例中图8中的NPSS子帧边界运算单元的一种可选的结构示意图;FIG. 9 is a schematic structural diagram of an NPSS subframe boundary operation unit in FIG. 8 according to an embodiment of the present invention;
图10为本发明实施例中图8中的NPSS符号边界运算单元的一种可选的结构示意图;FIG. 10 is a schematic structural diagram of an NPSS symbol boundary operation unit in FIG. 8 according to an embodiment of the present invention; FIG.
图11为本发明实施例中时域匹配滤波器的时序示意图;11 is a timing diagram of a time domain matched filter according to an embodiment of the present invention;
图12为本发明实施例中一种执行NB-IoT主同步的时序示意图;FIG. 12 is a timing diagram of performing NB-IoT main synchronization according to an embodiment of the present invention;
图13为本发明实施例中主同步信号的符号位置的确定装置的结构示意图。FIG. 13 is a schematic structural diagram of an apparatus for determining a symbol position of a main synchronization signal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
本发明实施例提供一种主同步信号的符号位置的确定方法,图1为本发明实施例中主同步信号的符号位置的确定方法的流程示意图;如图1所示,该方法包括:An embodiment of the present invention provides a method for determining a symbol position of a primary synchronization signal. FIG. 1 is a schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention; as shown in FIG. 1, the method includes:
S101:对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样得到采样信号;S101: processing the received radio frequency signal to obtain a digital baseband signal, and sampling the digital baseband signal to obtain a sampling signal;
为了实现终端与系统的初始同步过程,首先,终端接收到来系统发出的射频信号,终端对射频信号进行前端处理,得到数字基带信号,然后对数字基带信号进行采样。In order to realize the initial synchronization process between the terminal and the system, first, the terminal receives the radio frequency signal sent by the incoming system, and the terminal performs front end processing on the radio frequency signal to obtain a digital baseband signal, and then samples the digital baseband signal.
这里,对数字基带信号的采样,可以是按照标准采样率按顺序连续地进行采样,也可以是对数字基带信号进行下采样,并且下采样的采样频率可以根据设计目标中的性能要求、以及成本/功耗要求来确定,例如,采样频率可以为240KHz的整数倍,倍数可选1、2、4、8;这里,需要说明的 是,本发明实施例对采样的方式和采样频率不做具体限定。Here, the sampling of the digital baseband signal may be sequential sampling in accordance with the standard sampling rate, or downsampling the digital baseband signal, and the sampling frequency of the down sampling may be according to performance requirements and cost in the design target. / power consumption requirements to determine, for example, the sampling frequency can be an integer multiple of 240KHz, multiples can be selected 1, 2, 4, 8; here, need to be explained The embodiment of the present invention does not specifically limit the sampling mode and the sampling frequency.
S102:对采样信号进行处理,得出采样信号在K个子帧的累积功率值;S102: Processing the sampled signal to obtain a cumulative power value of the sampled signal in K subframes;
这里,终端采样得到的采样信号均封装至无线帧中,无线帧中的每一个子帧中封装有若干个采样信号,为了得到采样信号在K个子帧的累积功率值,在一种可选的实施例中,图2为本发明实施例中主同步信号的符号位置的确定方法的一种可选的流程示意图,如图2所示,S102可以包括:Here, the sampled signals obtained by the terminal sampling are all encapsulated into a radio frame, and each of the subframes in the radio frame is encapsulated with a plurality of sampling signals, in order to obtain the accumulated power value of the sampled signals in the K subframes, in an optional In an embodiment, FIG. 2 is an optional schematic flowchart of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention. As shown in FIG. 2, S102 may include:
S102A:按照预设算法对采样信号进行处理,得到采样信号在一个无线帧内K个子帧的能量;S102A: processing the sampled signal according to a preset algorithm to obtain energy of the K subframes of the sampled signal in a radio frame;
为了得到采样信号在一个无线帧内K个子帧的能量,在一种可选的实施例中,S102A可以包括:In order to obtain the energy of the K subframes of the sampled signal in a radio frame, in an optional embodiment, S102A may include:
对采样信号进行共轭点乘运算,得到采样信号的各共轭点乘运算结果;从采样信号的各共轭点乘运算结果中挑选K组共轭点乘运算结果,分别对K组共轭点乘运算结果进行累加平均运算,得到采样信号在一个无线帧内K个子帧的能量。Performing a conjugate point multiplication operation on the sampled signal to obtain a conjugate point multiplication result of the sampled signal; selecting K sets of conjugate point multiplication results from the conjugate point multiplication results of the sampled signals, respectively conjugated to the K set The result of the point multiplication operation is subjected to an accumulated averaging operation to obtain the energy of the K sub-frames of the sampled signal in one radio frame.
具体来说,对无线帧中相邻符号中采样信号形成的矩阵之间进行共轭点乘运算,可以得到采样信号的各共轭点乘运算结果,然后,从采样信号的各共轭点乘运算结果中按照预设数目挑选出K组共轭点乘运算结果,例如,每组中挑选10个共轭点乘运算结果,在得到K组共轭点乘运算结果之后,对每组共轭点乘运算结果进行累加平均运算,从而得到采样信号在一个无线帧内K个子帧的能量。Specifically, by performing a conjugate point multiplication operation between the matrices formed by the sampled signals in adjacent symbols in the radio frame, the conjugate point multiplication result of the sampled signal can be obtained, and then multiplied from each conjugate point of the sampled signal. In the operation result, the K group conjugate point multiplication result is selected according to the preset number. For example, 10 conjugate point multiplication results are selected in each group, and after the K group conjugate point multiplication result is obtained, each group is conjugated. The result of the point multiplication operation is subjected to an accumulated averaging operation to obtain the energy of the K sub-frames of the sampled signal in one radio frame.
S102B:对采样信号在一个无线帧内K个子帧的能量按照第一预设帧数进行累加、滤波得到采样信号在K个子帧的累积功率值。S102B: Accumulating and filtering the energy of the K subframes of the sampled signal in a radio frame according to the first preset number of frames to obtain the accumulated power value of the sampled signal in the K subframes.
为了将采样信号在一个无线帧内K个子帧的能量转换成功率值,从而用功率值来表征能量,具体来说,将采样信号在一个无线帧内K个子帧的能量进行第一预设帧数的累加及滤波平滑,可以得到采样信号在K个子帧的累积功率值。In order to convert the energy of the K-subframes of the sampled signal into a power value in a radio frame, the power value is used to represent the energy, specifically, the energy of the K-subframes of the sampled signal in one radio frame is subjected to the first preset frame. The accumulation of the number and the smoothing of the filter can obtain the cumulative power value of the sampled signal in K subframes.
例如,上述K可以为大于或等于70且小于或等于140之间的整数。For example, the above K may be an integer greater than or equal to 70 and less than or equal to 140.
其中,上述第一预设帧数可以灵活进行设置,以适应NB-IoT场景多变 的需求。The first preset frame number can be flexibly set to adapt to the NB-IoT scene change. Demand.
S103:将采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置;S103: determining, as a first accumulated power value, a maximum value of the accumulated power values of the sampled signals in the K subframes, and determining a subframe position corresponding to the first accumulated power value as a subframe position of the NPSS;
具体来说,由于终端与系统在初始同步的过程中除了时间同步还进行频率同步,那么在频率同步的过程中会引起频偏,那么为了消除频偏,在一种可选的实施例中,图3为本发明实施例中主同步信号的符号位置的确定方法的另一种可选的流程示意图,如图3所示,在S103之后,上述方法还可以包括:Specifically, since the terminal and the system perform frequency synchronization in addition to time synchronization in the initial synchronization process, frequency offset is caused in the process of frequency synchronization, and in an optional embodiment, in order to eliminate the frequency offset, FIG. 3 is a schematic diagram of another optional process for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention. As shown in FIG. 3, after the step S103, the method may further include:
S103A:根据第一累积功率值对应的子帧位置,确定出采样信号的第一频偏;S103A: Determine, according to a subframe position corresponding to the first accumulated power value, a first frequency offset of the sampling signal;
S103B:根据第一频偏对采样信号进行频偏补偿。S103B: Perform frequency offset compensation on the sampling signal according to the first frequency offset.
在S103中确定出第一累积功率值对应的子帧位置之后,便知晓了NPSS的子帧位置,进而根据NPSS的子帧位置可以挑选出NPSS子帧位置附近相邻符号之间的点乘共轭运算结果,根据NPSS子帧位置附近相邻符号之间的点乘共轭运算结果计算出第一频偏,进而根据第一频偏对采样信号进行频偏补偿。这里,频偏补偿的方法可以采用分段量化相角值算法或者坐标旋转数字计算(CORDIC,Coordinate Rotation Digital Computer)算法等。本发明实施例对此不做具体限定。After determining the subframe position corresponding to the first accumulated power value in S103, the subframe position of the NPSS is known, and then the point multiplication between adjacent symbols near the NPSS subframe position can be selected according to the subframe position of the NPSS. As a result of the yoke operation, the first frequency offset is calculated according to the result of the point multiplication conjugate operation between adjacent symbols near the NPSS subframe position, and the frequency offset compensation is performed on the sampling signal according to the first frequency offset. Here, the method of frequency offset compensation may employ a piecewise quantized phase angle value algorithm or a coordinate rotation digital calculation (CORDIC) algorithm. This embodiment of the present invention does not specifically limit this.
为了确定出更加精确的NPSS的子帧位置,在一种可选的实施例中,S103B之后还可以包括:In order to determine a more accurate subframe position of the NPSS, in an optional embodiment, S103B may further include:
在采样信号在K个子帧的累积功率值中存在至少两个峰值,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且第一频偏大于预设的运算门限的绝对值时,将采样信号在K个子帧的累积功率值中的最大值之后的第一个峰值确定为第一累积功率值,在采样信号在K个子帧的累积功率值中存在至少两个峰值,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预 设门限值时,且第一频偏小于预设的运算门限的绝对值的相反数时,将采样信号在K个子帧的累积功率值中的最大值之前的第一个峰值确定为第一累积功率值,返回执行将第一累积功率值对应的子帧位置确定为NPSS的子帧位置的步骤。There are at least two peaks in the accumulated power value of the sampled signal in the K subframes, and the power difference between the peak value and the maximum value of the sampled signal in the accumulated power values of the K subframes is less than or equal to the first preset threshold. And the time difference between the peak value and the maximum value of the sampled signal in the accumulated power values of the K subframes is greater than or equal to the second preset threshold value, and the first frequency offset is greater than a preset operation threshold. In the absolute value, the first peak after the maximum value of the accumulated power values of the K subframes is determined as the first cumulative power value, and at least two peaks exist in the accumulated power values of the sampled signals in the K subframes. And the power difference between the peak value and the sampling signal in the cumulative power value of the K subframes is less than or equal to the first preset threshold value, and the peak value and the sampling signal are in the cumulative power value of the K subframes The time difference between the maximum values is greater than or equal to the second pre- When the threshold is set, and the first frequency offset is less than the inverse of the absolute value of the preset operation threshold, the first peak before the maximum value of the accumulated power values of the K subframes is determined as the first An accumulated power value is returned to perform the step of determining the subframe position corresponding to the first accumulated power value as the subframe position of the NPSS.
其中,上述第一预设门限值和第二预设门限值均为预先设置出的值。The first preset threshold value and the second preset threshold value are all preset values.
通过上述方法可以重新确定第一累积功率值,根据重新确定出的第一累积功率值再重新确定出NPSS的子帧位置,从而可以提高确定出NPSS的子帧位置的精确性。The first accumulated power value can be re-determined by the above method, and the subframe position of the NPSS is re-determined according to the re-determined first accumulated power value, so that the accuracy of determining the subframe position of the NPSS can be improved.
S104:根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值;S104: Perform correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS, to obtain each correlation value;
这里,上述预先构造出的NPSS是按照第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)36.211协议标准的要求构造出的;Here, the pre-configured NPSS is constructed according to the requirements of the 3rd Generation Partnership Project (3GPP, 3rd Generation Partnership Project) 36.211 protocol standard;
具体来说,在采样信号上以NPSS子帧位置为中心开一个固定大小的小窗口,假设该小窗口中包括M个采样时间点,那么,将该小窗口中的采样信号与窄带主同步信号进行时域滑动相关运算,可以得到M个相关值,其中,M为大于或等于2的整数;本发明实施例可以通过采用一个匹配滤波器来完成时域滑动相关运算。Specifically, a fixed-size small window is opened on the sampling signal centered on the NPSS subframe position, and if the small window includes M sampling time points, the sampling signal in the small window and the narrow-band main synchronization signal are Performing the time domain sliding correlation operation, M correlation values can be obtained, where M is an integer greater than or equal to 2; in the embodiment of the present invention, the time domain sliding correlation operation can be completed by using a matched filter.
另外,这里需要说明的是,上述主同步信号进行相关运算的采样信号可以是未经过第一频偏补偿后的,也可以是经过第一频偏补偿之后的,这里,本发明实施例不做具体限定。In addition, it should be noted that the sampling signal for performing the correlation operation on the primary synchronization signal may be after the first frequency offset compensation, or may be after the first frequency offset compensation, where the embodiment of the present invention does not Specifically limited.
由于在初始同步过程中会引起频偏,那么,为了消除频偏对相关值的影响,在一种可选的实施例中,S104可以包括:In order to eliminate the influence of the frequency offset on the correlation value, in an optional embodiment, S104 may include:
获取预设分段数目的频偏值;根据预设分段数目的频偏值分别对采样信号进行频偏补偿处理,得到预设分段数目的处理后的采样信号;根据NPSS的子帧位置,将预先构造出的NPSS分别与预设分段数目的处理后的采样信号进行相关运算,得到各相关值。Obtaining a frequency offset value of the preset number of segments; respectively performing frequency offset compensation processing on the sampled signal according to the frequency offset value of the preset number of segments, to obtain a processed sample signal of a preset number of segments; and determining a subframe position according to the NPSS The pre-configured NPSS is correlated with the processed sampled signals of the preset number of segments to obtain respective correlation values.
这里,获取预设分段数目的频偏值的方法可以为:对最大初始频偏值进行分段,得到预设分段数目的频偏值;其中,上述最大初始频偏值为初 始同步过程中频率同步过程中所产生的最大初始频偏值;并且,上述预设分段数目可以灵活进行设置,以适应NB-IoT场景多变的需求。The method for obtaining the frequency offset value of the preset number of segments may be: segmenting the maximum initial frequency offset value to obtain a frequency offset value of the preset number of segments; wherein the maximum initial frequency offset value is initial The maximum initial frequency offset value generated during the frequency synchronization process during the initial synchronization process; and the preset number of segments can be flexibly set to meet the changing requirements of the NB-IoT scenario.
具体来说,以“子帧同步”过程中,即S103中确定出的NPSS子帧位置为中心开一个固定大小的小窗口,假设该小窗口中包括M个时间点,在此窗口内将经过预设分段数目的处理后的采样信号与本地窄带主同步信号进行时域滑动相关运算,可以得到各相关值,其中,各相关值的个数为预设分段数目乘以M。Specifically, in the "subframe synchronization" process, that is, the NPSS subframe position determined in S103 is centered on a fixed-size small window, and it is assumed that the small window includes M time points, and the window will pass through The processed sampled signal of the preset number of segments and the local narrowband primary synchronization signal are subjected to a time domain sliding correlation operation, and each correlation value is obtained, wherein the number of each correlation value is a preset number of segments multiplied by M.
举例来说,当M=5,预设分段数目为10时,在对每个采样信号进行分段频偏处理之后得到50个采样信号,将50个采样信号与NPSS进行相关运算,可以得到50个相关值,通过上述方法,可以提高所确定出的NPSS的符号位置的准确性。For example, when M=5 and the number of preset segments is 10, 50 sampling signals are obtained after segmentation frequency offset processing for each sampled signal, and 50 sampling signals are correlated with NPSS to obtain a correlation operation. With 50 correlation values, the accuracy of the determined symbol position of the NPSS can be improved by the above method.
另外,上述根据预设分段数目的频偏值分别对采样信号进行频偏补偿处理,得到预设分段数目的处理后的采样信号可以为:对同一段采样信号采用串行工作机制进行频偏补偿;也可以是对同一段采样信号采用并行工作机制进行频偏补偿;还可以是对不同段的采样信号采用串行工作机制进行频偏补偿,或者是对不同段采样信号采用并行工作机制进行频偏补偿。其中,对同一段采样信号采用串行工作机制进行频偏补偿可以降低NB-IoT主同步的成本和功耗。In addition, the frequency offset value according to the preset number of segments is respectively subjected to frequency offset compensation processing on the sampled signal, and the processed sampled signal obtained by obtaining the preset number of segments may be: using a serial working mechanism for the same segment of the sampled signal. Offset compensation; it is also possible to use the parallel working mechanism for frequency offset compensation for the same segment of the sampled signal; it can also use the serial working mechanism for frequency offset compensation for different segments of the sampled signal, or parallel working mechanism for different segments of the sampled signal Perform frequency offset compensation. Among them, the frequency offset compensation by using the serial working mechanism for the same sampling signal can reduce the cost and power consumption of the NB-IoT main synchronization.
其中,上述最大初始频偏值包括上述第一频偏加第二频偏。The maximum initial frequency offset value includes the first frequency offset plus the second frequency offset.
S105:根据各相关值确定出NPSS的符号位置。S105: Determine a symbol position of the NPSS according to each correlation value.
这里,根据各相关值确定NPSS的符号位置中,至少可以采用以下两种方式:Here, in determining the symbol position of the NPSS according to each correlation value, at least the following two methods may be used:
第一种方式可以根据各相关值的大小,将各相关值中最大值对应的子帧中的符号位置确定为NPSS的符号位置;The first manner may determine, according to the size of each correlation value, a symbol position in a subframe corresponding to a maximum value among the correlation values as a symbol position of the NPSS;
第二种方式可以根据下述方法来确定NPSS的符号位置,在具体实施过程中,S105可以包括:The second method can determine the symbol position of the NPSS according to the following method. In a specific implementation process, S105 can include:
对各相关值分别按照第二预设帧数进行累加、滤波得到各相关值对应的功率值;从各相关值对应的功率值中选取出预设数目的峰值;在各相关 值对应的功率值中,计算除预设数目的峰值以外的功率值的平均值;在各相关值对应的功率值中,选取大于平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的子帧中的符号位置确定为NPSS的符号位置。Accumulating and filtering each correlation value according to the second preset frame number to obtain a power value corresponding to each correlation value; selecting a preset number of peak values from the power values corresponding to the correlation values; In the power value corresponding to the value, an average value of the power values other than the preset number of peaks is calculated; and among the power values corresponding to the correlation values, a power value greater than the product of the average value and the preset decision threshold is selected, and the selected The symbol position in the subframe corresponding to the maximum value among the power values is determined as the symbol position of the NPSS.
其中,上述第二预设帧数可以灵活进行设置,以适应NB-IoT场景多变的需求。The second preset frame number can be flexibly set to meet the changing needs of the NB-IoT scenario.
这里,需要说明的是,需要将各相关值转换成功率值。具体来说,对各相关值分别按照第二预设帧数进行累加及滤波平滑,这样,可以将各相关值转换成功率值;在各相关值对应的功率值中,计算除预设数目的峰值以外的功率值的平均值;在各相关值对应的功率值中,选取大于平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的频偏确定为同步过程中的频偏值,然后根据该频偏值与第一频偏值之差可以计算出第二频偏值,该第二频偏值可以用于后续处理过程中。Here, it should be noted that each correlation value needs to be converted into a power value. Specifically, the correlation values are respectively accumulated and filtered and smoothed according to the second preset frame number, so that each correlation value can be converted into a power value; and among the power values corresponding to the correlation values, the preset number is calculated. The average value of the power values other than the peak value; in the power value corresponding to each correlation value, the power value greater than the product of the average value and the preset decision threshold is selected, and the frequency offset corresponding to the maximum value of the selected power values is determined as the synchronization. The frequency offset value in the process may then calculate a second frequency offset value according to the difference between the frequency offset value and the first frequency offset value, and the second frequency offset value may be used in subsequent processing.
为了能更加体现本发明的目的,下面举实例来对上述主同步信号的符号位置的确定方法中一个或多个实施例进行说明。In order to further embodies the object of the present invention, one or more embodiments of the method for determining the symbol position of the above-described primary synchronization signal will be described below by way of example.
首先,根据应用场景选定下采样的采样频率为240KHz,在确定子帧边界(位置)的子帧同步处理时间为无线帧数N1,在确定符号边界(位置)的符号同步处理时间为无线帧数N2,频偏的分段数目为N3,运算门限ΔfTh,最大初始频偏Δf0First, according to the application scenario, the sampling frequency of the down sampling is selected to be 240 KHz, the subframe synchronization processing time at the determination of the subframe boundary (position) is the number of radio frames N 1 , and the symbol synchronization processing time at the determination of the symbol boundary (position) is wireless. The number of frames N 2 , the number of segments of the frequency offset is N 3 , the operation threshold Δf Th , and the maximum initial frequency offset Δf 0 .
图4为本发明实施例中主同步信号的符号位置的确定方法的再一种可选的流程示意图,如图4所示,该方法包括:FIG. 4 is still another optional flow diagram of a method for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
S401:基站向终端发送射频信号,终端对接收到的射频信号进行前端处理得到数字基带信号,并对数字基带信号按照选定的采样频率240KHz进行下采样,即得到240KHz速率的时域数据;S401: The base station sends a radio frequency signal to the terminal, and the terminal performs front end processing on the received radio frequency signal to obtain a digital baseband signal, and downsamples the digital baseband signal according to the selected sampling frequency of 240 KHz, thereby obtaining time domain data at a rate of 240 KHz;
S402:对下采样得到的时域数据,利用NPSS在子帧内的序列特征,通过计算、评估上述时域数据在每个子帧内的时域累积功率的方法,得到NPSS的子帧位置,作为初级同步(子帧同步)结果,此步骤需要进行多帧联合评估,重复的无线帧数目为可配置的“子帧同步处理时间”N1S402: Using time-domain data obtained by downsampling, using a sequence feature of the NPSS in the subframe, calculating and evaluating a time domain cumulative power of the time domain data in each subframe, obtaining a subframe position of the NPSS, as Primary synchronization (subframe synchronization) result, this step requires multi-frame joint evaluation, the number of repeated radio frames is configurable "subframe synchronization processing time" N 1 ;
S403:在S402得到的NPSS的子帧位置,利用NPSS序列的特征,通过相邻符号共轭乘求相移方法估算第一频偏,此步骤也需要进行多帧联合评估,重复的无线帧数目为可配置的“子帧同步处理时间”N1,S403和S402处理时间达到指定的无线帧数目后,进入S404,否则继续重复S402至S403;S403: In the subframe position of the NPSS obtained in S402, using the feature of the NPSS sequence, the first frequency offset is estimated by the adjacent symbol conjugate multiplication phase shift method, and the step also needs to perform multi-frame joint evaluation, and the number of repeated radio frames After the configurable "subframe synchronization processing time" N 1 , S403 and S402 processing time reaches the specified number of radio frames, proceeds to S404, otherwise continues to repeat S402 to S403;
S404:在S402得到的NPSS的子帧位置,对上述时域数据做频偏补偿,然后与本地NPSS信号进行时域相关运算,通过评估相关功率峰值方法定位出NPSS的符号位置,同时通过分段频偏补偿比较法,估算NPSS的符号位置残留频偏值。S404: Perform frequency offset compensation on the time domain data in the subframe position of the NPSS obtained in S402, and then perform time domain correlation calculation with the local NPSS signal, and locate the symbol position of the NPSS by evaluating the relevant power peak method, and simultaneously segment by The frequency offset compensation comparison method estimates the residual position offset value of the symbol position of the NPSS.
此步骤也需要多个无线帧联合评估判决,重复的无线帧数目为可配置的“符号同步处理时间”N2;对于一个“NPSS的子帧位置”数据的处理,若未到达指定的无线帧数目,则继续当前NPSS的子帧位置的多帧累积处理,否则,选择下一个“NPSS的子帧位置”进行处理,直到S402给出的所有“NPSS的子帧位置”都已得到S404的处理;此时S404会做一个判决,如果认为S402和S404得到的结果有效,则输出“NPSS的符号位置”和“总的初始频偏”作为主同步流程的最终结果,否则返回S402,重复S402至S404。This step also requires multiple radio frame joint evaluation decisions. The number of repeated radio frames is a configurable "symbol synchronization processing time" N 2 ; for the processing of an "NPSS sub-frame position" data, if the specified radio frame is not reached The number continues the multi-frame accumulation processing of the current NPSS subframe position. Otherwise, the next "NPSS subframe position" is selected for processing until all the "NPSS subframe positions" given in S402 have been processed by S404. At this time, S404 will make a decision. If the results obtained by S402 and S404 are considered valid, the "symbol position of NPSS" and "total initial frequency offset" are output as the final result of the main synchronization process, otherwise return to S402 and repeat S402 to S404.
图5为本发明实施例中与图4对应的S402的一种可选的流程示意图,如图5所示,以K=140为例,S402可以包括:FIG. 5 is an optional schematic flowchart of S402 corresponding to FIG. 4 according to the embodiment of the present invention. As shown in FIG. 5, taking K=140 as an example, S402 may include:
S402A:对于下采样后信号r,从任意时间起点开始,选择连续的150个符号,每相邻符号之间进行共轭点乘运算:S402A: For the downsampled signal r, starting from an arbitrary time starting point, a continuous 150 symbols are selected, and a conjugate point multiplication operation is performed between each adjacent symbol:
Figure PCTCN2017098245-appb-000001
Figure PCTCN2017098245-appb-000001
其中,上述
Figure PCTCN2017098245-appb-000002
为第j个符号中采样信号的共轭,上述
Figure PCTCN2017098245-appb-000003
第j+1个符号中采样信号的共轭转置。
Among them, the above
Figure PCTCN2017098245-appb-000002
For the conjugate of the sampled signal in the jth symbol,
Figure PCTCN2017098245-appb-000003
The conjugate transpose of the sampled signal in the j+1th symbol.
S402B:对S402A的点乘结果,每10个进行累加平均,并用下式所示的一种递推方法计算出140个累加平均值:S402B: The result of the point multiplication of S402A is cumulatively averaged every 10, and 140 accumulated average values are calculated by a recursive method as shown in the following formula:
Figure PCTCN2017098245-appb-000004
Figure PCTCN2017098245-appb-000004
Figure PCTCN2017098245-appb-000005
Figure PCTCN2017098245-appb-000005
其中,Sk表示累加平均值,上述得到的140个累加平均值与一个无线帧内的140个候选子帧时间点相对应。Where S k represents an accumulated average value, and the 140 accumulated average values obtained above correspond to 140 candidate subframe time points in one radio frame.
S402C:将S402B得到的累加平均值按照下式转换为功率值以表征能量大小,并进行n个(n=N1)帧累加及滤波平滑:S402C: Convert the accumulated average value obtained by S402B into a power value according to the following formula to represent the energy size, and perform n (n=N 1 ) frame accumulation and filter smoothing:
En=αEn-1+(1-α)|S|         (4)E n =αE n-1 +(1-α)|S| (4)
Figure PCTCN2017098245-appb-000006
Figure PCTCN2017098245-appb-000006
其中,S为通过上述公式(2)和(3)得到的累加平均值Sk,|S|表示能量,在上述公式(4)中,当n=1时,E1=(1-α)|S|;当n=N1时,
Figure PCTCN2017098245-appb-000007
其中,En为多帧累加结果,α为设定的滤波因子;Re(S)表示取S的实部,Im(S)表示取S的虚部。
Where S is the accumulated average value S k obtained by the above formulas (2) and (3), and |S| represents energy. In the above formula (4), when n=1, E 1 = (1-α) |S|; when n=N 1 ,
Figure PCTCN2017098245-appb-000007
Where E n is the multi-frame accumulation result, α is the set filter factor; Re(S) is the real part of S, and Im(S) is the imaginary part of S.
这里,为了减轻时间漂移的影响,S402C在对N1个无线帧进行累加时采用无限脉冲响应(IIR,Infinite Impulse Response)滤波进行加权。Here, in order to mitigate the effects of drift time, S402C using an infinite impulse response (IIR, Infinite Impulse Response) filter for weighting at the N 1 radio frames accumulated.
S402D:按判决规则一判断NPSS的子帧位置,具体来说,在S402C所得到的功率值中进行搜索,直接选中最大值对应的时间位置作为NPSS的子帧位置。S402D: Determine the subframe position of the NPSS according to the decision rule 1, specifically, search for the power value obtained in S402C, and directly select the time position corresponding to the maximum value as the subframe position of the NPSS.
其中,判决规则一可用下式来表示:Among them, the judgment rule one can be expressed by the following formula:
Figure PCTCN2017098245-appb-000008
Figure PCTCN2017098245-appb-000008
其中,上述|En,k|表示每个符号对应的N1个无线帧的累加结果之和取模。Wherein, the above |E n,k | represents the sum of the accumulated results of the N 1 radio frames corresponding to each symbol.
至此,便得到了NPSS的子帧位置。At this point, the subframe position of the NPSS is obtained.
这里,需要说明的是,当K小于140且大于或等于70时,在S402中确定出的NPSS的子帧位置存在漏检位置,所以,需要重复执行S402以防止漏检。Here, it should be noted that when K is less than 140 and greater than or equal to 70, the subframe position of the NPSS determined in S402 has a missed detection position, so it is necessary to repeatedly execute S402 to prevent missed detection.
图6为本发明实施例中与图4对应的S403的一种可选的流程示意图,如图6所示,S403可以包括:FIG. 6 is an optional schematic flowchart of S403 corresponding to FIG. 4 in the embodiment of the present invention. As shown in FIG. 6, S403 may include:
S403A:获取S402B的结果; S403A: Acquire the result of S402B.
S403B:将S402B结果进行N1个无线帧累加;S403B: The results of the N 1 S402B radio frame accumulation;
S403C:根据S402D给出的NPSS的子帧位置的结果,在S402A中挑选出代表NPSS相邻符号共轭乘的一个结果,对其求角度并转换为频偏值如下:S403C: According to the result of the subframe position of the NPSS given by S402D, a result representing the conjugate multiplication of the adjacent symbols of the NPSS is selected in S402A, and the angle is obtained and converted into a frequency offset value as follows:
Figure PCTCN2017098245-appb-000009
Figure PCTCN2017098245-appb-000009
其中,Ts为NPSS符号周期,Pθ,j表示取θ附近的子帧j对应的P值,
Figure PCTCN2017098245-appb-000010
表示取θ附近的子帧j+1对应的P值的共轭,
Figure PCTCN2017098245-appb-000011
为S402D中最大值对应的时间位置。
Where T s is the NPSS symbol period, and P θ, j represents the P value corresponding to the subframe j near θ,
Figure PCTCN2017098245-appb-000010
Indicates that the conjugate of the P value corresponding to the subframe j+1 near θ is taken,
Figure PCTCN2017098245-appb-000011
It is the time position corresponding to the maximum value in S402D.
这里,在S403C之后,该方法还可以包括:Here, after S403C, the method may further include:
在S402C所得到的功率值中进行峰值搜索,然后按判决规则二挑选出指定数目的峰值,本实施例挑选出1个,将其对应的时间点
Figure PCTCN2017098245-appb-000012
作为为NPSS的子帧位置,其中,判决规则二包括:
Performing a peak search in the power value obtained by S402C, and then selecting a specified number of peaks according to decision rule two, and selecting one one in this embodiment, and corresponding time points thereof
Figure PCTCN2017098245-appb-000012
As a subframe position for the NPSS, where the decision rule 2 includes:
若存在至少两个峰值,该峰值与最大值的功率差值小于或等于第一预设门限值时,且该峰值与最大值的时间差值大于或等于第二预设门限值时,当Δf1>|ΔfTh|时,选中最大值之后(时间轴右边)的峰值,当Δf1<-|ΔfTh|时,选中最大值之前(时间轴左边)的峰值。If there are at least two peaks, and the power difference between the peak value and the maximum value is less than or equal to the first preset threshold value, and the time difference between the peak value and the maximum value is greater than or equal to the second preset threshold value, When Δf 1 >|Δf Th |, the peak value after the maximum value (to the right of the time axis) is selected, and when Δf 1 <−|Δf Th |, the peak value before the maximum value (to the left of the time axis) is selected.
本发明装置的实施例中S403C的结果和S402D的结果在时序上有先后关系,本发明的装置也可以采用判决规则二时在时序上多几个时钟周期的延迟。In the embodiment of the apparatus of the present invention, the result of S403C and the result of S402D have a sequential relationship in time series, and the apparatus of the present invention may also adopt a delay of several clock cycles in timing in the timing of the decision rule two.
图7为本发明实施例中与图4对应的S404的一种可选的流程示意图,如图7所示,S404可以包括:FIG. 7 is an optional schematic flowchart of S404 corresponding to FIG. 4 in the embodiment of the present invention. As shown in FIG. 7, S404 may include:
S404A:根据S403C得到的结果,对上述时域数据进行Δf1的频偏补偿,补偿运算可采用分段量化相角值算法或CORDIC算法。S404A: Perform frequency offset compensation of Δf 1 on the time domain data according to the result obtained by S403C, and use a piecewise quantized phase angle value algorithm or a CORDIC algorithm for the compensation operation.
S404B:按式(8)、(9)在本地生成时域NPSS信号:S404B: Local time domain NPSS signals are generated according to equations (8) and (9):
Figure PCTCN2017098245-appb-000013
Figure PCTCN2017098245-appb-000013
Sl={1,1,1,1,-1,-1,1,1,1,-1,1}  l=3,4,...,13        (9) S l ={1,1,1,1,-1,-1,1,1,1,-1,1} l=3,4,...,13 (9)
其中,上述N的值为采样频率的倍数乘以16;根据S402D得到的NPSS的子帧位置,以其中第一个NPSS符号的当前位置
Figure PCTCN2017098245-appb-000014
为中心开一个大小为Tresync(个采样点)的小窗口,在此窗口内用本地NPSS信号与频偏补偿后的时域数据进行时域滑动相关运算,本实例中采用一个匹配滤波器来完成滑动相关运算,匹配滤波算法如下式:
Wherein, the value of N is a multiple of the sampling frequency multiplied by 16; according to the subframe position of the NPSS obtained by S402D, the current position of the first NPSS symbol
Figure PCTCN2017098245-appb-000014
A small window of size T resync (sampling point) is opened for the center, and the time domain sliding correlation operation is performed with the local NPSS signal and the frequency offset compensated time domain data in this window. In this example, a matched filter is used. The sliding correlation operation is completed, and the matching filtering algorithm is as follows:
Figure PCTCN2017098245-appb-000015
Figure PCTCN2017098245-appb-000015
其中,rm表示对时域数据进行分段频偏补偿之后所得到的数据,Tresync为设定值,dm为时域NPSS序列,其运算为上述公式(8),由根为5的ZC序列做IFFT变换及添加CP后得到,T为连续11个NPSS符号的采样点数,fs为采样频率,Δf=Δf1+Δf2,即为第一频偏值与第二频偏值之和;n为重同步窗口的采样点计数,其开窗大小可以灵活配置,以应用场景的信噪比和初始频偏大小来决定,结合本发明提出的装置,本实例采用3个符号的窗口。Where r m represents the data obtained after segmentation frequency offset compensation for the time domain data, T resync is the set value, and d m is the time domain NPSS sequence, and the operation is the above formula (8), and the root is 5 The ZC sequence is obtained by IFFT transform and adding CP. T is the number of sampling points of 11 consecutive NPSS symbols, f s is the sampling frequency, Δf=Δf 1 +Δf 2 , which is the first frequency offset value and the second frequency offset value. And n is the sampling point count of the resynchronization window, and the window size can be flexibly configured, and is determined by the signal to noise ratio of the application scenario and the initial frequency offset. In combination with the device proposed by the present invention, the example uses a window of 3 symbols. .
S404C:将S404B得到的相关结果转换为功率值以表征能量大小,并进行多帧累加及滤波平滑,具体操作跟S402C一致,累加的无线帧数目为N2S404C: Convert the correlation result obtained by S404B into a power value to represent the energy size, and perform multi-frame accumulation and filter smoothing. The specific operation is consistent with S402C, and the accumulated number of radio frames is N 2 .
S404D:对S404A的结果施加假设的分段频偏,将S404B和S404C重复多次,重复次数即预设的分段数目为N3,频偏的选择依据下式:S404d: applying a segment offset hypothesis results of S404A, S404B and S404C will be repeated several times, i.e. the number of segments preset number of repetitions is N 3, based on the choice of the frequency offset of the formula:
Figure PCTCN2017098245-appb-000016
Figure PCTCN2017098245-appb-000016
Figure PCTCN2017098245-appb-000017
Figure PCTCN2017098245-appb-000017
其中,上述N3为奇数;Δf0相当于上述最大初始频偏值,采用上述公式(11)和公式(12)对最大初始频偏值进行分段,得到预设分段数目的频 偏值Δf(n)。Wherein, the above N 3 is an odd number; Δf 0 is equivalent to the maximum initial frequency offset value, and the maximum initial frequency offset value is segmented by using the above formula (11) and formula (12) to obtain a frequency offset value of the preset number of segments. Δf(n).
S404E:在S404C和S404D所得到的所有功率值中搜索出Np个峰值(包含最大值),并对剔除峰值后功率值求平均值,然后根据预置的规则判决得到重同步结果
Figure PCTCN2017098245-appb-000018
(即NPSS的符号位置)和频偏估计结果Δf。
S404E: Search for N p peaks (including the maximum value) among all the power values obtained in S404C and S404D, and average the power values after the peaks are removed, and then obtain a resynchronization result according to the preset rule.
Figure PCTCN2017098245-appb-000018
(ie, the symbol position of the NPSS) and the frequency offset estimation result Δf.
Figure PCTCN2017098245-appb-000019
Figure PCTCN2017098245-appb-000019
上述的预置的规则如上述公式(13)所示,其中Ek表示S404C和S404D所得到的所有功率值,k=1,2…,Np,其中,Np为设定值,|Em|为S404C和S404D得到的剔除峰值之后的代表各采样点和频偏的相关功率值,THE为预设判决门限,上述
Figure PCTCN2017098245-appb-000020
为平均值。
The above preset rules are as shown in the above formula (13), where E k represents all the power values obtained by S404C and S404D, k=1, 2..., N p , where N p is the set value, |E m | is the correlation power value of each sampling point and frequency offset after the culling peak obtained by S404C and S404D, and TH E is a preset decision threshold,
Figure PCTCN2017098245-appb-000020
It is the average.
图8为本发明实施例中一种执行NB-IoT主同步的装置的实例示意图,如图8所示,执行NB-IoT主同步的装置包括处理器及接口单元81、数据预处理单元82、控制单元83、第一频偏估计单元84、NPSS子帧边界运算单元85、判决单元86、NPSS符号边界运算单元87和存储单元88;其中,处理器及接口单元81、数据预处理单元82和存储单元88属于NB-IoT终端的公共资源,在本发明实例中处理器及接口单元81负责运行主同步流程的调度软件,包括配置其他单元的运行参数、驱动其他单元运行、收集运算结果;数据预处理单元82负责将NB-IoT终端从天线接收到的数据做预处理后供主同步流程进行处理,其包括混频、滤波、低噪声放大器(LNA,Low Noise Amplifier)、可变增益放大器(VGA,Variable Gain Amplifier)、模数转换器(ADC,Analog-to-Digital Converter)、数字前端(DFE,Digital Front End)等模块,可以将射频数据转换为适合数字信号处理的基带数据,本发明实例在这个通用的硬件单元中还加入了一个重要的下采样功能,通过降低数据源的速率来降低主同步处理流程的运算量和占用的资源,否则如果直接在19200采样点中尝试大量的频偏可能值和所有符号位置可能值,需要巨大的运算量,本发明实例采用240KHz的采样率,通过下采样就可以把运算量降为1/8,且降低硬件规模特别是存储单元88的资源消耗;存储单元88负责缓存输入数据和其他单元的运算过程数据和结果,也可以为 NB-IoT终端的其他流程所复用,降低终端成本。FIG. 8 is a schematic diagram of an apparatus for performing NB-IoT primary synchronization according to an embodiment of the present invention. As shown in FIG. 8, the apparatus for performing NB-IoT primary synchronization includes a processor and an interface unit 81, and a data pre-processing unit 82. Control unit 83, first frequency offset estimation unit 84, NPSS subframe boundary operation unit 85, decision unit 86, NPSS symbol boundary operation unit 87, and storage unit 88; among them, processor and interface unit 81, data pre-processing unit 82, and The storage unit 88 belongs to a common resource of the NB-IoT terminal. In the example of the present invention, the processor and the interface unit 81 are responsible for running the scheduling software of the main synchronization process, including configuring operating parameters of other units, driving other units to run, and collecting operation results; The pre-processing unit 82 is responsible for processing the data received by the NB-IoT terminal from the antenna for processing by the main synchronization process, including mixing, filtering, Low Noise Amplifier (LNA), and variable gain amplifier ( VGA, Variable Gain Amplifier), Analog-to-Digital Converter (ADC), Digital Front End (DFE, Digital Front End), etc. The radio frequency data is converted into baseband data suitable for digital signal processing. The example of the present invention also adds an important downsampling function to the general hardware unit, and reduces the computational amount and occupation of the main synchronization processing flow by reducing the rate of the data source. Resources, otherwise if you try a large number of frequency offset possible values and all symbol position possible values directly in the 19200 sampling points, a huge amount of computation is required. The example of the present invention uses a sampling rate of 240 kHz, and the computational amount can be reduced to 1 by downsampling. /8, and reduce the hardware size, especially the resource consumption of the storage unit 88; the storage unit 88 is responsible for buffering the input process data and the operation data and results of other units, or Other processes of the NB-IoT terminal are reused to reduce terminal costs.
其他几个单元为本发明中NB-IoT终端主同步处理装置实施的特有单元,包括控制单元83、第一频偏估计单元84、NPSS子帧边界运算单元85、NPSS符号边界运算单元87和判决单元86;控制单元83的作用是控制其他单元的运行时序以及控制存储单元88的接口。The other units are unique units implemented by the NB-IoT terminal primary synchronization processing apparatus in the present invention, and include a control unit 83, a first frequency offset estimation unit 84, an NPSS subframe boundary operation unit 85, an NPSS symbol boundary operation unit 87, and a decision. Unit 86; The function of control unit 83 is to control the operational timing of other units and to control the interface of storage unit 88.
图9为本发明实施例中图8中的NPSS子帧边界运算单元的一种可选的结构示意图,如图9所示,NPSS子帧边界运算单元85由移位寄存器921、共轭点乘运算器922、复数累加平均器923、寄存器组924、寄存器925、递推运算器926组成;其中,移位寄存器921配置为缓存一个符号的输入数据,将输入数据移位输出后可以实现相邻两个符号的采样点数据对齐;共轭点乘运算器922将相邻两个符号数据按上述公式(1)进行实时运算得出共轭点乘的结果;复数累加平均器923和寄存器925一起对922输出的共轭点乘结果进行每10个累加平均;寄存器组924配置为缓存当前子帧10个共轭点乘结果;递推运算器926根据上述公式(2)和(3)完成实时递推运算,每10ms输出140个结果,与NPSS所在子帧的140个候选的起始位置相对应;功率估算器951根据上述公式(5),将递推运算器926输出结果转换为功率以表征各符号间的相关性;浮点累加器952完成上述公式(4)的累加,并将结果存入第一工作RAM 901,下一个无线帧对应时间到来后,再从RAM里读出上一次的结果与当前功率值进行累加,为减轻时间漂移的影响,其采用了IIR滤波方式进行累加,为提高性能,可采用大量的无线帧数据进行累加,当累加帧数大的时候,需要采用浮点格式进行运算;在线比较器954在累加到最后一帧时,对累加结果进行实时比较,得出最大值输出给判决模块955,节省了把数据先存入RAM里再读出来的时间;峰值搜索器953用于在第一工作RAM 901里搜索出除最大值外的其他峰值,输出给判决模块955;判决模块955根据预定规则,判断峰值搜索器953和在线比较器954输出的最大值和峰值是否有效,从中选取合适的值对应的时间点为NPSS的子帧位置(相当于上述NPSS的子帧位置)作为步骤S402的输出结果,本装置实施例直接采用最大值对应的时间点作为NPSS的子帧位置进行输出;第一频偏估计单元由复数累加平均器931和频偏计算器932组成,此外还需要存储单元88中的第二工作RAM 902来辅助完 成工作。其中复数累加平均器923将递推运算器926输出的140个结果进行跨帧累加,累加结果暂存在第二工作RAM 902中,在判决模块955得到NPSS的子帧位置后,以此位置值对应的地址从第二工作RAM 902中140个数据中选出一个,输出给频偏计算器932,频偏计算器932完成上述公式(7)中的求角度和频偏换算工作,得到第一频偏Δf1FIG. 9 is a schematic structural diagram of an NPSS subframe boundary operation unit in FIG. 8 according to an embodiment of the present invention. As shown in FIG. 9, the NPSS subframe boundary operation unit 85 is multiplied by a shift register 921 and a conjugate point. The operator 922, the complex accumulating averager 923, the register set 924, the register 925, and the recursive operator 926 are configured; wherein the shift register 921 is configured to buffer input data of one symbol, and the input data is shifted and outputted to implement adjacent The sampling point data of the two symbols is aligned; the conjugate point multiplier 922 performs the real-time operation of the adjacent two symbol data according to the above formula (1) to obtain the result of the conjugate point multiplication; the complex accumulating averager 923 and the register 925 together The conjugate point multiplication result of the 922 output is subjected to every 10 accumulated averaging; the register set 924 is configured to buffer the conjugate point multiplication result of the current sub-frame; the recursive operator 926 performs real-time according to the above formulas (2) and (3). The recursive operation outputs 140 results every 10 ms, corresponding to the starting positions of 140 candidates of the subframe in which the NPSS is located; the power estimator 951 converts the output of the recursive operator 926 into power according to the above formula (5). Characterization Correlation between symbols; the floating point accumulator 952 completes the accumulation of the above formula (4), and stores the result in the first working RAM 901. After the corresponding time of the next radio frame arrives, the last result is read from the RAM. To accumulate the current power value, in order to mitigate the influence of time drift, the IIR filtering method is used for accumulating. In order to improve performance, a large amount of radio frame data may be used for accumulating. When the number of accumulated frames is large, floating point format is required. The operation is performed; the online comparator 954 compares the accumulated results in real time when the last frame is accumulated, and the maximum value is output to the decision module 955, which saves the time for storing the data in the RAM and then reading out; the peak searcher 953 is used to search for the other peaks except the maximum value in the first working RAM 901, and output to the decision module 955; the decision module 955 determines whether the maximum value and the peak value output by the peak searcher 953 and the online comparator 954 are determined according to a predetermined rule. Valid, the time point corresponding to the selection of the appropriate value is the subframe position of the NPSS (corresponding to the subframe position of the NPSS described above) as the output result of step S402, The embodiment directly outputs the time point corresponding to the maximum value as the subframe position of the NPSS; the first frequency offset estimation unit is composed of the complex accumulation averager 931 and the frequency offset calculator 932, and further requires the second in the storage unit 88. Work RAM 902 to assist in the completion of the work. The multi-accumulation averager 923 accumulates the 140 results output by the recursive operator 926 across the frame, and the accumulated result is temporarily stored in the second working RAM 902. After the decision module 955 obtains the subframe position of the NPSS, the position value corresponds to The address is selected from one of the 140 data in the second working RAM 902, and is output to the frequency offset calculator 932. The frequency offset calculator 932 performs the angle-of-angle and frequency offset conversion work in the above formula (7) to obtain the first frequency. Deviation Δf 1 .
图10为本发明实施例中图8中的NPSS符号边界运算单元的一种可选的结构示意图,如图10所示,NPSS符号边界运算单元87由数据选择器1041、本地NPSS信号生成器1042、频偏补偿器1043、时域匹配滤波器1044组成,此外还需要存储单元88配合工作,控制单元83根据S402给出NPSS的子帧位置信息,将NPSS所在子帧的数据存入存储单元88中的第二工作RAM 902中,重同步窗口的大小在1个子帧之内只需要缓存1个子帧的数据,大于1个子帧则需要把整个窗口内的数据缓存下来,本实施例的装置最多缓存2个子帧的数据;数据选择器1041负责选择当前实时数据还是从第二工作RAM 902中读出的数据,选择规则是每个无线帧的NPSS所在子帧到来时,选择实时输入数据,其他时间则选择从第二工作RAM 902中读出的数据;频偏补偿器1043将数据选择器输出的数据进行频偏补偿,由于本装置采用串行工作模式,频偏分段数目N最大值为9,当应用在最大初始频偏Δf0的绝对值为25.5KHz的场景时,若采用上述公式(11),则分段频偏集合为{25.5KHz,19.1KHz,12.8KHz,6.4KHz,0,-6.4KHz,-12.8KHz,-19.1KHz,-25.5KHz},频偏估计误差可控制在3.2KHz之内;若采用上述公式(12),频偏估计误差可进一步控制在1.4KHz之内;分段频偏补偿运算的具体实施可采用CORDIC算法或分段量化相位补偿法;本地NPSS信号生成器按上述公式(8)在本地生成时域NPSS信号,具体实施时是实时产生频域根序列,然后按2的整数次幂补0后做离散傅里叶逆变换(IFFT)到时域再加上CP生成。FIG. 10 is a schematic structural diagram of an NPSS symbol boundary operation unit in FIG. 8 according to an embodiment of the present invention. As shown in FIG. 10, the NPSS symbol boundary operation unit 87 is composed of a data selector 1041 and a local NPSS signal generator 1042. The frequency offset compensator 1043 and the time domain matched filter 1044 are combined. In addition, the storage unit 88 is required to cooperate. The control unit 83 provides the subframe position information of the NPSS according to S402, and stores the data of the subframe where the NPSS is located in the storage unit 88. In the second working RAM 902, the size of the resynchronization window only needs to buffer data of one subframe within one subframe, and more than one subframe needs to buffer data in the entire window, and the device in this embodiment has the most The data of 2 subframes is buffered; the data selector 1041 is responsible for selecting the current real-time data or the data read from the second working RAM 902. The selection rule is that when the subframe where the NPSS of each radio frame arrives, the real-time input data is selected, and the other The time selects the data read from the second working RAM 902; the frequency offset compensator 1043 performs frequency offset compensation on the data output by the data selector, since the device uses serializer Mode, the maximum deviation of the number N of the segment 9, when a 25.5KHz application scenario in the maximum absolute value of the initial frequency offset Δf is 0, when the above equation (11), the segment offset is set {25.5KHz , 19.1KHz, 12.8KHz, 6.4KHz, 0, -6.4KHz, -12.8KHz, -19.1KHz, -25.5KHz}, the frequency offset estimation error can be controlled within 3.2KHz; if the above formula (12) is used, the frequency The partial estimation error can be further controlled within 1.4 kHz; the specific implementation of the segmentation frequency offset compensation operation can adopt the CORDIC algorithm or the piecewise quantization phase compensation method; the local NPSS signal generator locally generates the time domain NPSS according to the above formula (8). The signal is generated in real time by generating the frequency domain root sequence in real time, and then adding 0 to the integer power of 2 to do the inverse discrete Fourier transform (IFFT) to the time domain plus CP generation.
图11为本发明实施例中时域匹配滤波器的时序示意图,如图11所示,时域匹配滤波器完成频偏补偿器1043输出的接收信号与本地NPSS信号生成器1042输出的本地信号之间的相关运算,其基本结构如图11所示,r’为预处理后的接收信号,d0-dn为本地NPSS序列信号,本装置实现时利用NPSS在子帧内的序列特征,将连续11个符号视为相同的NPSS符号,因 此可以重复使用1个基本的滤波器硬件,以降低资源消耗,此外还可以利用NPSS根序列本身的对称性,进一步降低本地NPSS信号生成器1042和时域匹配滤波器1044的硬件规模。11 is a timing diagram of a time domain matched filter according to an embodiment of the present invention. As shown in FIG. 11, the time domain matched filter completes the received signal output by the frequency offset compensator 1043 and the local signal output by the local NPSS signal generator 1042. correlation operation between its basic structure as illustrated, r 'is the received signal preprocessing, d 0 -d n NPSS local sequence signal, characterized by using NPSS sequences in the subframe 11 when the unit is implemented, the The 11 consecutive symbols are treated as the same NPSS symbol, so one basic filter hardware can be reused to reduce resource consumption. In addition, the symmetry of the NPSS root sequence itself can be utilized to further reduce the local NPSS signal generator 1042. The hardware size of the domain matched filter 1044.
同样是为了节省资源、降低成本,对于NPSS符号边界运算单元87输出结果的后续处理,复用了前述NPSS子帧边界运算单元85使用过的判决单元86。时域匹配滤波器1044的输出至功率估算器951,转换为功率值,接着用浮点累加器952进行累加,累加完成得到的功率值,一方面输入到在线比较器954找出其中的最大值,另一方面暂存到第一工作RAM 901中,然后由峰值搜索器找到其中的若干个峰值(本实施例为2个),最后由判决单元86按预定规则判决出NPSS符号位置和第二频偏估计值作为主同步流程的最终结果输出。Similarly, in order to save resources and reduce costs, the subsequent processing of the output result of the NPSS symbol boundary operation unit 87 multiplexes the decision unit 86 used by the aforementioned NPSS subframe boundary operation unit 85. The output of time domain matched filter 1044 is converted to power estimator 951, converted to a power value, and then accumulated by floating point accumulator 952, which accumulates the obtained power value, and is input to online comparator 954 to find the maximum value. On the other hand, it is temporarily stored in the first working RAM 901, and then several peaks are found by the peak searcher (two in this embodiment), and finally the decision unit 86 determines the NPSS symbol position and the second according to a predetermined rule. The frequency offset estimate is output as the final result of the primary synchronization process.
在本实例中,峰值搜索器会得到两个峰值,判决模块955首先会将最大值和两个峰值剔除,然后将剩下的所有功率值进行累加平均,代表噪声功率水平,接着求出最大值和峰值与平均值的比,如果此比值大于预设的门限,则判为有效,并将其中的最大值选中,其对应的采样点时间位置即为NPSS的符号位置,对应的频偏即为总的初始频偏。In this example, the peak searcher will get two peaks, and the decision module 955 will first reject the maximum value and the two peaks, then accumulate all remaining power values, representing the noise power level, and then find the maximum value. And the ratio of the peak value to the average value, if the ratio is greater than the preset threshold, it is judged to be valid, and the maximum value is selected, and the corresponding sampling point time position is the symbol position of the NPSS, and the corresponding frequency offset is The total initial frequency offset.
图12为本发明实施例中一种执行NB-IoT主同步的时序示意图,本发明实施例装置最大可以处理10个分段频偏,在使用上述公式(12)的判决规则时,可以将初始频偏估计的误差控制在1.4KHz之内,有效应对初始频偏大的场景;在处理多个分段频偏时采用串行工作机制,控制单元83会根据工作时序增加对接收到的射频信号的控制,具体来说,控制单元83控制在数据预处理单元82中的射频开关,只在NPSS的子帧位置到来时打开数据预处理单元82中的射频开关以接收射频信号,在NPSS的子帧位置结束时则关闭数据预处理单元82中的射频开关以停止接收射频信号,通过控制射频开关能将射频信号的接收时间缩短至1/10,也就是说,采用串行工作机制和对射频开关的控制,可以显著降低NB-IoT终端在主同步流程中的功耗。FIG. 12 is a timing diagram of performing NB-IoT primary synchronization according to an embodiment of the present invention. The apparatus of the embodiment of the present invention can process up to 10 segment frequency offsets. When using the decision rule of the above formula (12), the initial The error of the frequency offset estimation is controlled within 1.4 kHz, which effectively copes with the scene with large initial frequency offset; the serial working mechanism is adopted when processing multiple segment frequency offsets, and the control unit 83 increases the received radio frequency signal according to the working timing. Control, in particular, the control unit 83 controls the radio frequency switch in the data pre-processing unit 82 to turn on the radio frequency switch in the data pre-processing unit 82 to receive the radio frequency signal only when the sub-frame position of the NPSS arrives, in the NPSS sub- At the end of the frame position, the RF switch in the data pre-processing unit 82 is turned off to stop receiving the RF signal, and the RF signal can be shortened to 1/10 by controlling the RF switch, that is, the serial working mechanism and the RF are used. The control of the switch can significantly reduce the power consumption of the NB-IoT terminal in the main synchronization process.
本发明实施例所提供的主同步信号的符号位置的确定方案,首先,对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样 得到采样信号,然后,对采样信号进行处理得到采样信号在K个子帧的累积功率值,按照预设规则从采样信号在K个子帧的累积功率值中确定出第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置,这样,便可以知晓NPSS的需同步的时间点的大致位置,最后,根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值,根据各相关值确定出NPSS的符号位置;也就是说,本发明实施例通过对采样信号进行处理得到采样信号在K个子帧的累积功率值,根据采样信号在K个子帧的累积功率值可以确定出对应的NPSS的子帧位置,那么,避免了将NPSS与非NPSS所在子帧的采样信号进行相关运算,并且避免了连续接收信号,这样,能够降低进行相关运算的运算量,进而降低了NB-IoT进行主同步过程的成本和功耗,最终,提高了NB-IoT中主同步的效率。The method for determining the symbol position of the primary synchronization signal provided by the embodiment of the present invention firstly processes the received radio frequency signal to obtain a digital baseband signal, and samples the digital baseband signal. Obtaining a sampling signal, and then processing the sampling signal to obtain a cumulative power value of the sampling signal in K subframes, and determining a first cumulative power value from the accumulated power values of the sampling signals in the K subframes according to a preset rule, which will be first The subframe position corresponding to the accumulated power value is determined as the subframe position of the NPSS, so that the approximate position of the time point of the NPSS to be synchronized can be known, and finally, the pre-configured NPSS and the sampling signal are constructed according to the subframe position of the NPSS. Performing a correlation operation to obtain each correlation value, and determining a symbol position of the NPSS according to each correlation value; that is, the embodiment of the present invention processes the sampled signal to obtain a cumulative power value of the sampled signal in K subframes, according to the sampling signal. The accumulated power values of the K subframes can determine the subframe position of the corresponding NPSS, so that the correlation between the NPSS and the sampling signals of the subframe in which the non-NPSS is located is avoided, and the continuous reception of signals is avoided, thereby reducing correlation. The amount of computation of the operation, which in turn reduces the cost and power consumption of the NB-IoT for the main synchronization process, and ultimately improves the NB-IoT The efficiency of synchronization.
基于同一发明构思,本发明实施例还提供一种主同步信号的符号位置的确定装置,图13为本发明实施例中主同步信号的符号位置的确定装置的结构示意图,如图13所示,该装置包括:采样模块131、处理模块132、第一确定模块133、运算模块134和第二确定模块135;Based on the same inventive concept, an embodiment of the present invention further provides a device for determining a symbol position of a primary synchronization signal, and FIG. 13 is a schematic structural diagram of a device for determining a symbol position of a primary synchronization signal according to an embodiment of the present invention, as shown in FIG. The device includes: a sampling module 131, a processing module 132, a first determining module 133, an arithmetic module 134, and a second determining module 135;
其中,采样模块131,配置为对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样得到采样信号;处理模块132,配置为对采样信号进行处理,得出采样信号在K个子帧的累积功率值;第一确定模块133,配置为将采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置;运算模块134,配置为根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值;第二确定模块135,配置为根据各相关值确定出NPSS的符号位置。The sampling module 131 is configured to process the received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal to obtain a sampling signal. The processing module 132 is configured to process the sampling signal to obtain a sampling signal in the K sub-samples. a cumulative power value of the frame; the first determining module 133 is configured to determine a maximum value of the sampled signals in the accumulated power values of the K subframes as a first accumulated power value, and determine a subframe position corresponding to the first accumulated power value as a sub-frame position of the NPSS; the operation module 134 is configured to perform a correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS to obtain each correlation value; and the second determining module 135 is configured to determine according to each correlation value. The symbol position of the NPSS.
为了得到采样信号在K个子帧的累积功率值,在一种可选的实施例中,上述处理模块132,包括:处理子模块,配置为按照预设算法对采样信号进行处理,得到采样信号在一个无线帧内K个子帧的能量;累加滤波子模块,配置为对采样信号在一个无线帧内K个子帧的能量按照第一预设帧数进行累加、滤波得到采样信号在K个子帧的累积功率值。 In order to obtain the cumulative power value of the sampled signal in the K subframes, in an optional embodiment, the processing module 132 includes: a processing submodule configured to process the sampling signal according to a preset algorithm to obtain a sampling signal. The energy of K subframes in a radio frame; the accumulating filter sub-module is configured to accumulate and filter the energy of the K subframes of the sampled signal in a radio frame according to the first preset frame number to obtain the accumulation of the sampled signal in the K subframes. Power value.
为了得到采样信号在一个无线帧内K个子帧的能量,在一种可选的实施例中,上述处理子模块,具体配置为对采样信号进行共轭点乘运算,得到采样信号的各共轭点乘运算结果;从采样信号的各共轭点乘运算结果中挑选K组共轭点乘运算结果,分别对K组共轭点乘运算结果进行累加平均运算,得到采样信号在一个无线帧内K个子帧的能量。In an optional embodiment, the processing submodule is configured to perform a conjugate point multiplication operation on the sampled signal to obtain conjugates of the sampled signal, in order to obtain the energy of the K subframes of the sampled signal in a radio frame. The result of the point multiplication operation; the K sets of conjugate point multiplication results are selected from the conjugate point multiplication results of the sampled signals, and the K sets of conjugate point multiplication results are respectively subjected to the cumulative averaging operation to obtain the sampled signals in one radio frame. The energy of K subframes.
由于终端与系统在初始同步的过程中除了时间同步还进行频率同步,那么在频率同步的过程中会引起频偏,那么为了消除频偏,在一种可选的实施例中,上述装置还包括:补偿模块,配置为在将采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将第一累积功率值对应的子帧位置确定为窄带主同步信号NPSS的子帧位置之后,根据第一累积功率值对应的子帧位置,确定出采样信号的第一频偏;根据第一频偏对采样信号进行频偏补偿。Since the terminal and the system perform frequency synchronization in addition to time synchronization in the initial synchronization process, frequency offset is caused in the process of frequency synchronization, and in order to eliminate the frequency offset, in an optional embodiment, the above apparatus further includes a compensation module configured to determine a maximum value of the cumulative power values of the sampled signals in the K subframes as a first cumulative power value, and determine a subframe position corresponding to the first accumulated power value as a sub-narrow primary synchronization signal NPSS After the frame position, determining a first frequency offset of the sampling signal according to the subframe position corresponding to the first accumulated power value; performing frequency offset compensation on the sampling signal according to the first frequency offset.
为了确定出更加精确的NPSS的子帧位置,在一种可选的实施例中,上述装置还包括:调整模块,配置为根据第一频偏对采样信号进行频偏补偿之后,在采样信号在K个子帧的累积功率值中存在至少两个峰值,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,当第一频偏大于预设的运算门限的绝对值时,将采样信号在K个子帧的累积功率值中的最大值之后的第一个峰值确定为第一累积功率值;在采样信号在K个子帧的累积功率值中存在至少两个峰值,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且峰值与采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,当第一频偏小于预设的运算门限的绝对值的相反数时,将采样信号在K个子帧的累积功率值中的最大值之前的第一个峰值确定为第一累积功率值,触发第一确定模块返回执行将第一累积功率值对应的子帧位置确定为NPSS的子帧位置。In an optional embodiment, the apparatus further includes: an adjusting module configured to perform frequency offset compensation on the sampling signal according to the first frequency offset, after the sampling signal is in the There are at least two peaks in the accumulated power values of the K subframes, and the power difference between the peak value and the maximum value of the sampled signals in the accumulated power values of the K subframes is less than or equal to the first preset threshold value, and When the time difference between the peak value and the sampling signal is greater than or equal to the second preset threshold value in the cumulative power value of the K subframes, when the first frequency offset is greater than the absolute value of the preset operation threshold, Determining, as a first accumulated power value, a first peak after the maximum value of the accumulated power values of the K subframes; and at least two peaks in the cumulative power value of the sampled signals in the K subframes, and the peak value The power difference between the maximum value of the accumulated power values of the K subframes is less than or equal to the first preset threshold value, and the peak value and the maximum value of the sampled signal in the accumulated power values of the K subframes between When the time difference is greater than or equal to the second preset threshold, when the first frequency offset is less than the inverse of the absolute value of the preset operation threshold, the maximum value of the sampled signal in the cumulative power values of the K subframes The previous first peak is determined as the first accumulated power value, and the triggering first determining module returns to perform the determination of the subframe position corresponding to the first cumulative power value as the subframe position of the NPSS.
由于在初始同步过程中会引起频偏,那么,为了消除频偏对相关值的影响,在一种可选的实施例中,上述运算模块134,具体配置为获取预设分 段数目的频偏值;根据预设分段数目的频偏值分别对采样信号进行频偏补偿处理,得到预设分段数目的处理后的采样信号;根据NPSS的子帧位置,将预先构造出的NPSS分别与处理后的采样信号进行相关运算,得到各相关值;对各相关值分别按照第二预设帧数进行累加、滤波得到各相关值对应的功率值。In an optional embodiment, the operation module 134 is specifically configured to obtain a preset score, because the frequency offset is caused in the initial synchronization process. The frequency offset value of the number of segments; the frequency offset value of the sampled signal is respectively subjected to frequency offset compensation processing to obtain a processed sample signal of a preset number of segments; according to the subframe position of the NPSS, the pre-configuration is performed according to the subframe position of the NPSS The NPSS is correlated with the processed sampled signal to obtain correlation values, and each correlation value is accumulated and filtered according to the second preset frame number to obtain a power value corresponding to each correlation value.
这里,第二确定模块135根据各相关值确定NPSS的符号位置中,至少可以采用以下两种方式:第一种方式可以根据各相关值的大小,将各相关值中最大值对应的子帧中的符号位置确定为NPSS的符号位置;第二种方式可以根据以下方式来确定NPSS的符号位置,在一种可选的实施例中,上述第二确定模块,具体配置为从各相关值对应的功率值中选取出预设数目的峰值;在各相关值对应的功率值中,计算除预设数目的峰值以外的功率值的平均值;在各相关值对应的功率值中,选取大于平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的子帧中的符号位置确定为NPSS的符号位置。Here, the second determining module 135 determines the symbol position of the NPSS according to each correlation value, and at least the following two manners are adopted: in the first manner, according to the size of each correlation value, the subframe corresponding to the maximum value among the correlation values may be The symbol position is determined as the symbol position of the NPSS; the second method may determine the symbol position of the NPSS according to the following manner. In an optional embodiment, the second determining module is specifically configured to correspond to each related value. A preset number of peaks are selected from the power values; an average value of the power values other than the preset number of peaks is calculated among the power values corresponding to the correlation values; and the power value corresponding to each correlation value is selected to be greater than the average value The power value of the product of the preset decision threshold is determined as the symbol position of the NPSS in the symbol position in the subframe corresponding to the maximum value of the selected power values.
在实际应用中,采样模块131、处理模块132、第一确定模块133、运算模块134、第二确定模块135、处理子模块、累加滤波子模块、补偿模块和调整模块均可由位于装置的处理器比如CPU、微处理器(MPU,Microprocessor Unit)、专用集成电路(ASIC,Application Specific Integrated Circuit)或现场可编程门阵列(FPGA,Field-Programmable Gate Array)等实现。In practical applications, the sampling module 131, the processing module 132, the first determining module 133, the computing module 134, the second determining module 135, the processing submodule, the accumulating filtering submodule, the compensating module, and the adjusting module may all be provided by a processor located in the device. For example, a CPU, a microprocessor (MPU, Microprocessor Unit), an application specific integrated circuit (ASIC), or a Field-Programmable Gate Array (FPGA) are implemented.
本实施例记载一种计算机可读存储介质,可以为只读存储器(Read Only Memory,ROM)(例如,只读存储器、FLASH存储器、转移装置等)、磁存储介质(例如,磁带、磁盘驱动器等)、光学存储介质(例如,CD-ROM、DVD-ROM、纸卡、纸带等)以及其他熟知类型的程序存储器;计算机可读存储介质中存储有计算机可执行指令,当执行指令时,引起至少一个处理器执行包括以下的操作:This embodiment describes a computer readable storage medium, which may be a read only memory (ROM) (for example, a read only memory, a FLASH memory, a transfer device, etc.), a magnetic storage medium (for example, a magnetic tape, a magnetic disk drive, etc.). Optical storage medium (eg, CD-ROM, DVD-ROM, paper card, paper tape, etc.) and other well-known types of program memory; computer-readable storage medium stores computer-executable instructions that, when executed, cause At least one processor performs the following operations:
对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样得到采样信号;对采样信号进行处理,得出采样信号在K个子帧的累积功率值;按照预设规则从采样信号在K个子帧的累积功率值中确定出 第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置;根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值;根据各相关值确定出NPSS的符号位置。Processing the received RF signal to obtain a digital baseband signal, sampling the digital baseband signal to obtain a sampled signal; processing the sampled signal to obtain a cumulative power value of the sampled signal in K subframes; according to a preset rule, the sampled signal is Determined among the cumulative power values of K subframes a first cumulative power value, the subframe position corresponding to the first accumulated power value is determined as a subframe position of the NPSS; and the pre-configured NPSS is correlated with the sampling signal according to the subframe position of the NPSS to obtain each correlation value; The symbol position of the NPSS is determined based on each correlation value.
换句话说,本发明实施例提供的计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例任一方法的步骤。In other words, the computer readable storage medium provided by the embodiment of the present invention has a computer program stored thereon, and when the computer program is executed by the processor, the steps of any method of the embodiment of the present invention are implemented.
本发明实施例所提供的主同步信号的符号位置的确定方案,首先,对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样得到采样信号,然后,对采样信号进行处理得到采样信号在K个子帧的累积功率值,将采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置,这样,便可以知晓NPSS的需同步的时间点的大致位置,最后,根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值,根据各相关值确定出NPSS的符号位置;也就是说,本发明实施例通过对采样信号进行处理得到采样信号在K个子帧的累积功率值,根据采样信号在K个子帧的累积功率值可以确定出对应的NPSS的子帧位置,那么,避免了将NPSS与非NPSS所在子帧的采样信号进行相关运算,并且避免了连续接收信号,这样,能够降低进行相关运算的运算量,进而降低了NB-IoT进行主同步过程的成本和功耗,最终,提高了NB-IoT中主同步的效率。The method for determining the symbol position of the primary synchronization signal provided by the embodiment of the present invention firstly processes the received radio frequency signal to obtain a digital baseband signal, samples the digital baseband signal to obtain a sampling signal, and then processes the sampled signal to obtain a sampled signal. The cumulative power value of the sampled signal in the K subframes, the maximum value of the sampled signal in the cumulative power values of the K subframes is determined as the first cumulative power value, and the subframe position corresponding to the first accumulated power value is determined as the child of the NPSS The position of the frame, so that the approximate position of the time point of the NPSS to be synchronized can be known. Finally, according to the subframe position of the NPSS, the pre-configured NPSS is correlated with the sampled signal to obtain correlation values, according to the correlation values. Determining the symbol position of the NPSS; that is, the embodiment of the present invention obtains the cumulative power value of the sampled signal in the K subframes by processing the sampled signal, and the corresponding NPSS can be determined according to the accumulated power value of the sampled signal in the K subframes. The position of the sub-frame, then, the correlation between the NPSS and the sampling signal of the sub-frame where the non-NPSS is located is avoided. And avoids discontinuous reception signal, this can reduce the amount of calculation for the correlation calculation, thereby reducing the cost and power for NB-IoT primary synchronization process, ultimately, improve the efficiency of NB-IoT main synchronization.
这里需要指出的是:以上装置实施例项的描述,与上述方法描述是类似的,具有同方法实施例相同的有益效果,因此不做赘述。对于本发明装置实施例中未披露的技术细节,本领域的技术人员请参照本发明方法实施例的描述而理解,为节约篇幅,这里不再赘述。It should be noted here that the description of the above device embodiment items is similar to the above method description, and has the same beneficial effects as the method embodiments, and therefore will not be described again. For the technical details that are not disclosed in the embodiments of the present invention, those skilled in the art should refer to the description of the method embodiments of the present invention, and the details are not described herein.
这里需要指出的是:What needs to be pointed out here is:
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本发明的各种实施例 中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that the phrase "one embodiment" or "an embodiment" or "an" Thus, "in one embodiment" or "in an embodiment" or "an" In addition, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that various embodiments of the invention The size of the sequence numbers of the above processes does not mean that the order of execution is sequential, and the order of execution of the processes should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention. The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units; they may be located in one place or distributed on multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。 It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a ROM, a magnetic disk, or an optical disk, and the like, which can store program codes.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供的方案,对接收到的射频信号进行处理得到数字基带信号,对数字基带信号进行采样得到采样信号,对采样信号进行处理得到采样信号在K个子帧的累积功率值,将采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将第一累积功率值对应的子帧位置确定为NPSS的子帧位置,这样,便可以知晓NPSS的需同步的时间点的大致位置,最后,根据NPSS的子帧位置,将预先构造出的NPSS与采样信号进行相关运算,得到各相关值,根据各相关值确定出NPSS的符号位置;也就是说,本发明实施例通过对采样信号进行处理得到采样信号在K个子帧的累积功率值,根据采样信号在K个子帧的累积功率值可以确定出对应的NPSS的子帧位置,那么,避免了将NPSS与非NPSS所在子帧的采样信号进行相关运算,并且避免了连续接收信号,这样,能够降低进行相关运算的运算量,进而降低了NB-IoT进行主同步过程的成本和功耗,最终,提高了NB-IoT中主同步的效率。 The solution provided by the embodiment of the present invention processes the received radio frequency signal to obtain a digital baseband signal, samples the digital baseband signal to obtain a sampling signal, and processes the sampled signal to obtain a cumulative power value of the sampled signal in K subframes, which will be sampled. The maximum value of the accumulated power values of the K subframes is determined as the first accumulated power value, and the subframe position corresponding to the first accumulated power value is determined as the subframe position of the NPSS, so that the NPSS needs to be synchronized. The approximate position of the time point. Finally, according to the subframe position of the NPSS, the pre-configured NPSS is correlated with the sampling signal to obtain each correlation value, and the symbol position of the NPSS is determined according to each correlation value; that is, the present invention The embodiment obtains the accumulated power value of the sampled signal in the K subframes by processing the sampled signal, and determines the subframe position of the corresponding NPSS according to the accumulated power value of the sampled signal in the K subframes, thereby avoiding the NPSS and the non-negative The sampling signal of the sub-frame in which the NPSS is located performs correlation operations, and avoids continuous reception of signals, so that the reduction can be reduced. Calculating an amount of correlation calculation, thereby reducing the cost and power for NB-IoT primary synchronization process, ultimately, improve the efficiency of NB-IoT main synchronization.

Claims (15)

  1. 一种主同步信号的符号位置的确定方法,包括:A method for determining a symbol position of a primary synchronization signal, comprising:
    对接收到的射频信号进行处理得到数字基带信号,对所述数字基带信号进行采样得到采样信号;Processing the received radio frequency signal to obtain a digital baseband signal, and sampling the digital baseband signal to obtain a sampling signal;
    对所述采样信号进行处理,得出所述采样信号在K个子帧的累积功率值;Processing the sampled signal to obtain a cumulative power value of the sampled signal in K subframes;
    将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为窄带主同步信号NPSS的子帧位置;Determining, as a first accumulated power value, a maximum value of the accumulated power values of the sampled signals in the K subframes, and determining a subframe position corresponding to the first accumulated power value as a subframe position of the narrowband primary synchronization signal NPSS;
    根据所述NPSS的子帧位置,将预先构造出的NPSS与所述采样信号进行相关运算,得到各相关值;Performing a correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS to obtain each correlation value;
    根据所述各相关值确定出所述NPSS的符号位置。Determining the symbol position of the NPSS according to the correlation values.
  2. 根据权利要求1所述的方法,其中,所述对所述采样信号进行处理,得出所述采样信号在K个子帧的累积功率值,包括:The method according to claim 1, wherein said processing said sampling signal to obtain an accumulated power value of said sampled signal in K subframes comprises:
    按照预设算法对所述采样信号进行处理,得到所述采样信号在一个无线帧内K个子帧的能量;Processing the sampled signal according to a preset algorithm to obtain energy of the K subframes of the sampled signal in one radio frame;
    对所述采样信号在一个无线帧内K个子帧的能量按照第一预设帧数进行累加、滤波得到所述采样信号在K个子帧的累积功率值。Accumulating and filtering the energy of the K subframes of the sampled signal in a radio frame according to the first preset number of frames to obtain an accumulated power value of the sampled signal in the K subframes.
  3. 根据权利要求2所述的方法,其中,所述按照预设算法对所述采样信号进行处理,得到所述采样信号在一个无线帧内K个子帧的能量,包括:The method according to claim 2, wherein the processing of the sampled signal according to a preset algorithm to obtain energy of K subframes of the sampled signal in a radio frame comprises:
    对所述采样信号进行共轭点乘运算,得到所述采样信号的各共轭点乘运算结果;Performing a conjugate point multiplication operation on the sampling signal to obtain a conjugate point multiplication result of the sampling signal;
    从所述采样信号的各共轭点乘运算结果中挑选K组共轭点乘运算结果,分别对K组共轭点乘运算结果进行累加平均运算,得到所述采样信号在一个无线帧内K个子帧的能量。Selecting K sets of conjugate point multiplication results from the conjugate point multiplication results of the sampled signals, and performing cumulative averaging operations on the K sets of conjugate point multiplication results to obtain the sampled signals in a radio frame. The energy of a sub-frame.
  4. 根据权利要求1所述的方法,其中,在将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值 对应的子帧位置确定为所述NPSS的子帧位置之后,所述方法还包括:The method according to claim 1, wherein a maximum value of said sampled signals in cumulative power values of K subframes is determined as a first cumulative power value, said first cumulative power value After the corresponding subframe position is determined as the subframe position of the NPSS, the method further includes:
    根据所述第一累积功率值对应的子帧位置,确定出所述采样信号的第一频偏;Determining, according to the subframe position corresponding to the first accumulated power value, a first frequency offset of the sampling signal;
    根据所述第一频偏对所述采样信号进行频偏补偿。Performing frequency offset compensation on the sampling signal according to the first frequency offset.
  5. 根据权利要求4所述的方法,其中,在根据所述第一频偏对所述采样信号进行频偏补偿之后,所述方法还包括:The method of claim 4, wherein after the frequency offset compensation is performed on the sampled signal according to the first frequency offset, the method further comprises:
    在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏大于所述预设的运算门限的绝对值时,将所述采样信号在K个子帧的累积功率值中的最大值之后的第一个峰值确定为所述第一累积功率值;Having at least two peaks in the cumulative power value of the K samples in the sampled signal, and the power difference between the peak and the maximum value of the sampled signal in the cumulative power values of the K subframes is less than or equal to When the first preset threshold is used, and the time difference between the peak value and the maximum value of the sampling signal in the accumulated power values of the K subframes is greater than or equal to the second preset threshold value, When the first frequency offset is greater than the absolute value of the preset operation threshold, the first peak after the maximum value of the accumulated power values of the K subframes is determined as the first accumulated power value ;
    在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏小于所述预设的运算门限的绝对值的相反数时,将所述采样信号在K个子帧的累积功率值中的最大值之前的第一个峰值确定为所述第一累积功率值,返回执行所述将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置的步骤。Having at least two peaks in the cumulative power value of the K samples in the sampled signal, and the power difference between the peak and the maximum value of the sampled signal in the cumulative power values of the K subframes is less than or equal to When the first preset threshold is used, and the time difference between the peak value and the maximum value of the sampling signal in the accumulated power values of the K subframes is greater than or equal to the second preset threshold value, When the first frequency offset is smaller than the inverse of the absolute value of the preset operation threshold, the first peak before the maximum value of the accumulated power values of the K subframes is determined as the first And an accumulated power value, returning to perform the step of determining the subframe position corresponding to the first accumulated power value as the subframe position of the NPSS.
  6. 根据权利要求1所述的方法,其中,所述根据所述NPSS的子帧位置,将预先构造出的NPSS与所述采样信号进行相关运算,得到各相关值,包括:The method according to claim 1, wherein the correlating the pre-configured NPSS with the sampling signal according to the subframe position of the NPSS to obtain respective correlation values, including:
    获取预设分段数目的频偏值;Obtain a frequency offset value of the preset number of segments;
    根据所述预设分段数目的频偏值分别对所述采样信号进行频偏补偿处理,得到所述预设分段数目的处理后的采样信号;And performing frequency offset compensation processing on the sampling signal according to the frequency offset value of the preset number of segments, to obtain the processed sampling signal of the preset number of segments;
    根据所述NPSS的子帧位置,将所述预先构造出的NPSS分别与所述预 设分段数目的处理后的采样信号进行相关运算,得到所述各相关值。Determining the pre-configured NPSS with the pre-preparation according to the subframe position of the NPSS The segmented number of processed sampled signals are subjected to correlation operations to obtain the correlation values.
  7. 根据权利要求6所述的方法,其中,根据所述各相关值确定出所述NPSS的符号位置,包括:The method according to claim 6, wherein determining the symbol position of the NPSS according to the correlation values comprises:
    对所述各相关值分别按照第二预设帧数进行累加、滤波得到所述各相关值对应的功率值;And accumulating and filtering the correlation values according to the second preset frame number to obtain power values corresponding to the correlation values;
    从所述各相关值对应的功率值中选取出预设数目的峰值;Selecting a preset number of peaks from the power values corresponding to the correlation values;
    在所述各相关值对应的功率值中,计算除所述预设数目的峰值以外的功率值的平均值;Calculating an average value of the power values other than the preset number of peaks among the power values corresponding to the correlation values;
    在所述各相关值对应的功率值中,选取大于所述平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的子帧中的符号位置确定为所述NPSS的符号位置。And selecting, in the power value corresponding to each of the correlation values, a power value that is greater than a product of the average value and a preset decision threshold, and determining a symbol position in a subframe corresponding to a maximum value of the selected power values as the The symbol position of the NPSS.
  8. 一种主同步信号的符号位置的确定装置,包括:A device for determining a symbol position of a primary synchronization signal, comprising:
    采样模块,配置为对接收到的射频信号进行处理得到数字基带信号,对所述数字基带信号进行采样得到采样信号;a sampling module configured to process the received radio frequency signal to obtain a digital baseband signal, and sample the digital baseband signal to obtain a sampling signal;
    处理模块,配置为对所述采样信号进行处理,得出所述采样信号在K个子帧的累积功率值;a processing module configured to process the sampled signal to obtain a cumulative power value of the sampled signal in K subframes;
    第一确定模块,配置为将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为所述窄带主同步信号NPSS的子帧位置;a first determining module, configured to determine a maximum value of the sampling signal in the accumulated power values of the K subframes as a first accumulated power value, and determine a subframe position corresponding to the first accumulated power value as the narrowband The subframe position of the primary synchronization signal NPSS;
    运算模块,配置为根据所述NPSS的子帧位置,将预先构造出的NPSS与所述采样信号进行相关运算,得到各相关值;The operation module is configured to perform a correlation operation between the pre-configured NPSS and the sampling signal according to the subframe position of the NPSS to obtain each correlation value;
    第二确定模块,配置为根据所述各相关值确定出所述NPSS的符号位置。And a second determining module, configured to determine a symbol position of the NPSS according to the correlation values.
  9. 根据权利要求8所述的装置,其中,所述处理模块,包括:The device of claim 8, wherein the processing module comprises:
    处理子模块,配置为按照预设算法对所述采样信号进行处理,得到所述采样信号在一个无线帧内K个子帧的能量;Processing the sub-module, configured to process the sampled signal according to a preset algorithm, to obtain energy of the K subframes of the sampled signal in a radio frame;
    累加滤波子模块,配置为对所述采样信号在一个无线帧内K个子帧的 能量按照第一预设帧数进行累加、滤波得到所述采样信号在K个子帧的累积功率值。An accumulation filter sub-module configured to encode the sampled signal in K frames in a radio frame The energy is accumulated and filtered according to the first preset frame number to obtain the accumulated power value of the sampled signal in the K subframes.
  10. 根据权利要求9所述的装置,其中,所述处理子模块,配置为对所述采样信号进行共轭点乘运算,得到所述采样信号的各共轭点乘运算结果;从所述采样信号的各共轭点乘运算结果中挑选K组共轭点乘运算结果,分别对K组共轭点乘运算结果进行累加平均运算,得到所述采样信号在一个无线帧内K个子帧的能量。The apparatus according to claim 9, wherein the processing submodule is configured to perform a conjugate point multiplication operation on the sampling signal to obtain a conjugate point multiplication result of the sampling signal; and from the sampling signal The K-group conjugate point multiplication result is selected from each of the conjugate point multiplication results, and the K-group conjugate point multiplication result is subjected to an accumulated averaging operation to obtain energy of the K-subframes of the sampled signal in one radio frame.
  11. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    补偿模块,配置为在将所述采样信号在K个子帧的累积功率值中的最大值确定为第一累积功率值,将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置之后,根据所述第一累积功率值对应的子帧位置,确定出所述采样信号的第一频偏;根据所述第一频偏对所述采样信号进行频偏补偿。a compensation module, configured to determine a maximum value of the accumulated power values of the sampled signals in the K subframes as a first accumulated power value, and determine a subframe position corresponding to the first accumulated power value as the NPSS After the subframe position, determining, according to the subframe position corresponding to the first accumulated power value, a first frequency offset of the sampling signal; and performing frequency offset compensation on the sampling signal according to the first frequency offset.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:
    调整模块,配置为根据所述第一频偏对所述采样信号进行频偏补偿之后,在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏大于所述预设的运算门限的绝对值时,将所述采样信号在K个子帧的累积功率值中的最大值之后的第一个峰值确定为所述第一累积功率值;在所述采样信号在K个子帧的累积功率值中存在至少两个峰值,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的功率差值小于或等于第一预设门限值时,且所述峰值与所述采样信号在K个子帧的累积功率值中的最大值之间的时间差值大于或等于第二预设门限值时,且所述第一频偏小于所述预设的运算门限的绝对值的相反数时,将所述采样信号在K个子帧的累积功率值中的最大值之前的第一个峰值确定为所述第一累积功率值,触发所述第一确定模块返回执行将所述第一累积功率值对应的子帧位置确定为所述NPSS的子帧位置。 And an adjusting module, configured to perform frequency offset compensation on the sampling signal according to the first frequency offset, wherein at least two peaks exist in the accumulated power value of the sampling signal in the K subframes, and the peak value is And when the power difference between the maximum values of the accumulated power values of the K subframes is less than or equal to the first preset threshold, and the peak value and the sampling signal are in the accumulated power values of the K subframes When the time difference between the maximum values is greater than or equal to the second preset threshold, and the first frequency offset is greater than the absolute value of the preset operation threshold, the sampling signal is in K subframes The first peak after the maximum value of the accumulated power values is determined as the first accumulated power value; at the two accumulated peaks in the accumulated power values of the K subframes, and the peak and the peak And determining, when the power difference between the maximum values of the accumulated power values of the K subframes is less than or equal to the first preset threshold, and the accumulated power value of the peak and the sampling signal in the K subframes Time difference between the maximum values in When the second preset threshold is greater than or equal to the second preset threshold, and the first frequency offset is less than the inverse of the absolute value of the preset operation threshold, the sampling signal is in the cumulative power value of the K subframes. The first peak before the maximum value is determined as the first accumulated power value, triggering the first determining module to return to perform determining the subframe position corresponding to the first accumulated power value as the subframe position of the NPSS .
  13. 根据权利要求8所述的装置,其中,所述运算模块,配置为获取预设分段数目的频偏值;根据所述预设分段数目的频偏值分别对所述采样信号进行频偏补偿处理,得到所述预设分段数目的处理后的采样信号;根据所述NPSS的子帧位置,将所述预先构造出的NPSS分别与所述预设分段数目的处理后的采样信号进行相关运算,得到所述各相关值。The apparatus according to claim 8, wherein the operation module is configured to acquire a frequency offset value of the preset number of segments; and separately frequency offset the sampling signal according to the frequency offset value of the preset number of segments Compensating processing, obtaining the processed sampling signal of the preset number of segments; and processing the pre-configured NPSS and the preset number of segments of the processed sampling signal according to the subframe position of the NPSS Correlation operations are performed to obtain the respective correlation values.
  14. 根据权利要求13所述的装置,其中,所述第二确定模块,具体配置为对所述各相关值分别按照第二预设帧数进行累加、滤波得到所述各相关值对应的功率值;从所述各相关值对应的功率值中选取出预设数目的峰值;在所述各相关值对应的功率值中,计算除所述预设数目的峰值以外的功率值的平均值;在所述各相关值对应的功率值中,选取大于所述平均值与预设判决门限的乘积的功率值,将选取的功率值中的最大值对应的子帧中的符号位置确定为所述NPSS的符号位置。The device according to claim 13, wherein the second determining module is configured to accumulate and filter the correlation values according to the second preset frame number to obtain power values corresponding to the correlation values; And selecting a preset number of peaks from the power values corresponding to the correlation values; and calculating, in the power values corresponding to the correlation values, an average value of power values other than the preset number of peak values; Determining, by the power value corresponding to each correlation value, a power value greater than a product of the average value and a preset decision threshold, and determining a symbol position in a subframe corresponding to a maximum value of the selected power values as the NPSS Symbol location.
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7任一项所述方法的步骤。 A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to perform the steps of the method of any one of claims 1 to 7.
PCT/CN2017/098245 2017-03-10 2017-08-21 Method and device for determining symbol position of primary synchronization signal, and storage medium WO2018161505A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142402.9 2017-03-10
CN201710142402.9A CN108574546B (en) 2017-03-10 2017-03-10 A kind of determination method and device of the character position of primary synchronization signal

Publications (1)

Publication Number Publication Date
WO2018161505A1 true WO2018161505A1 (en) 2018-09-13

Family

ID=63447233

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098245 WO2018161505A1 (en) 2017-03-10 2017-08-21 Method and device for determining symbol position of primary synchronization signal, and storage medium

Country Status (2)

Country Link
CN (1) CN108574546B (en)
WO (1) WO2018161505A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200092096A (en) * 2019-01-24 2020-08-03 삼성전자주식회사 Wireless communication apparatus including synchronization signal detector and cell searching method thereof
CN112235864B (en) * 2020-10-15 2023-02-14 紫光展锐(重庆)科技有限公司 Timing drift resistant time synchronization method and related product
CN113709857B (en) * 2021-08-26 2022-10-11 中山大学 Downlink synchronous preprocessing method for narrow-band Internet of things system
CN114389930B (en) * 2021-12-29 2024-03-15 中电科思仪科技(安徽)有限公司 Device and method for demodulation synchronization and frequency offset compensation of uplink signal baseband of terminal
CN115085766A (en) * 2022-06-13 2022-09-20 重庆邮电大学 Power line communication timing synchronization implementation method based on FFT and IFFT cascade structure

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457325A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Method and device for coarse synchronization of cell search
CN103002469A (en) * 2011-09-14 2013-03-27 联芯科技有限公司 Method and device for detecting primary synchronous codes
CN104378764A (en) * 2014-09-17 2015-02-25 北京北方烽火科技有限公司 Method and device for detecting common-frequency cells of LTE system
WO2017033841A1 (en) * 2015-08-21 2017-03-02 株式会社Nttドコモ User terminal, wireless base station, and wireless communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8385494B2 (en) * 2009-07-22 2013-02-26 Nec Laboratories America, Inc. Full range offset correction for coherent optical OFDM systems
CN102378351A (en) * 2010-08-27 2012-03-14 中兴通讯股份有限公司 Method and device for downlink synchronous code validation in TD-SCDMA (Time Division-Synchronization Code Division Multiple Access)
US10687294B2 (en) * 2014-03-13 2020-06-16 Lg Electronics Inc. Method and apparatus for device-to-device user equipment to transmit signal in wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457325A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Method and device for coarse synchronization of cell search
CN103002469A (en) * 2011-09-14 2013-03-27 联芯科技有限公司 Method and device for detecting primary synchronous codes
CN104378764A (en) * 2014-09-17 2015-02-25 北京北方烽火科技有限公司 Method and device for detecting common-frequency cells of LTE system
WO2017033841A1 (en) * 2015-08-21 2017-03-02 株式会社Nttドコモ User terminal, wireless base station, and wireless communication method

Also Published As

Publication number Publication date
CN108574546A (en) 2018-09-25
CN108574546B (en) 2019-11-15

Similar Documents

Publication Publication Date Title
WO2018161505A1 (en) Method and device for determining symbol position of primary synchronization signal, and storage medium
US7567533B2 (en) Packet detection system, packet detection device, and method for receiving packets
KR101291859B1 (en) Methods and systems for improved timing acquisition for varying channel conditions
KR101443191B1 (en) Cell searcher of mobile terminal and neighbor cell searching method thereof
WO2010118588A1 (en) Channel estimation method and device of orthogonal frequency division multiplexing system
WO2010021946A1 (en) Semi-coherent timing propagation for geran multislot configurations
CN102130883A (en) Time frequency synchronization method for time division long-term evolution (TD-LTE) system
US10855494B2 (en) Transmitter and receiver and corresponding methods
WO2017036325A1 (en) Signal synchronization method and device
US20070248194A1 (en) Method of detecting a predetermined sequence in an RF signal using a combination of correlation and FFT
JP2017227655A (en) Dominant signal detection method and apparatus
CN110690931A (en) Digital signal adaptive code rate estimation method and device based on multi-wavelet-base combination
WO2018130311A1 (en) Method for detecting the presence of a narrowband primary synchronization signal
JP6626246B2 (en) Early frame bandwidth estimation in multi-band wireless local area networks
CN107404450A (en) The method and device of demodulated signal
CN107911328B (en) Frame synchronization judging device and judging method
CN108900445B (en) Method and device for estimating signal symbol rate
CN113938368B (en) LTE-V receiving end synchronization method and system based on FPGA
CN101611606B (en) Method for symbol synchronization of received digital signal and digital signal receiver using the same method
CN104467939B (en) A kind of method and device for optimizing multiple antennas and receiving
CN110677364A (en) Method and device for detecting main synchronization signal
CN102098239B (en) Channel estimation method and device as well as VAMOS system
CN115643139B (en) Burst signal detection system and method for resisting frequency offset
CN106788803B (en) Method and device for measuring uplink DCH channel power in WCDMA system
JP2005513911A (en) Method and apparatus for establishing synchronization using a synchronization signal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17899630

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17899630

Country of ref document: EP

Kind code of ref document: A1