[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115226197A - Frame timing synchronization method, device and electronic device for wireless communication - Google Patents

Frame timing synchronization method, device and electronic device for wireless communication Download PDF

Info

Publication number
CN115226197A
CN115226197A CN202210849937.0A CN202210849937A CN115226197A CN 115226197 A CN115226197 A CN 115226197A CN 202210849937 A CN202210849937 A CN 202210849937A CN 115226197 A CN115226197 A CN 115226197A
Authority
CN
China
Prior art keywords
metric function
threshold
frame synchronization
judgment
sequence
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202210849937.0A
Other languages
Chinese (zh)
Other versions
CN115226197B (en
Inventor
李伟
郑伟
马斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Winspread Communications Technology Ltd corp
Original Assignee
Shandong Winspread Communications Technology Ltd corp
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 Shandong Winspread Communications Technology Ltd corp filed Critical Shandong Winspread Communications Technology Ltd corp
Priority to CN202210849937.0A priority Critical patent/CN115226197B/en
Publication of CN115226197A publication Critical patent/CN115226197A/en
Application granted granted Critical
Publication of CN115226197B publication Critical patent/CN115226197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • 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
    • 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

Landscapes

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

Abstract

本申请实施例提供一种无线通信的帧定时同步方法、装置、电子设备及存储介质,其中,该方法包括:获取本地帧同步头序列;获取空口数据;根据所述本地帧同步头序列和空口数据进行滑窗互相关处理,得到度量函数;对所述度量函数进行门限阈值判决,得到索引值集合;对所述索引值集合进行最大值判决,得到帧同步位置。实施本申请实施例,提高了帧同步性能,使得得到的帧同步位置更加准确,简化计算过程。

Figure 202210849937

Embodiments of the present application provide a frame timing synchronization method, device, electronic device, and storage medium for wireless communication, wherein the method includes: acquiring a local frame synchronization header sequence; acquiring air interface data; according to the local frame synchronization header sequence and the air interface Perform sliding window cross-correlation processing on the data to obtain a metric function; perform threshold judgment on the metric function to obtain an index value set; perform a maximum value judgment on the index value set to obtain a frame synchronization position. By implementing the embodiments of the present application, the frame synchronization performance is improved, the obtained frame synchronization position is more accurate, and the calculation process is simplified.

Figure 202210849937

Description

无线通信的帧定时同步方法、装置、电子设备Frame timing synchronization method, device and electronic device for wireless communication

技术领域technical field

本申请涉及无线通信技术领域,具体而言,涉及一种无线通信的帧定时同步方法、装置、电子设备。The present application relates to the technical field of wireless communication, and in particular, to a frame timing synchronization method, apparatus, and electronic device for wireless communication.

背景技术Background technique

在现有无线通信定时同步技术中,可采用接收端、发送端预先定义的已知数字通信序列作为通信同步单元,通信接收端利用本地已知序列和接收信号进行时域相关运算,并将运算结果作为度量函数,通过门限阈值判断的方式来获取同步位置索引值,从而实现帧定时同步。In the existing wireless communication timing synchronization technology, a known digital communication sequence predefined by the receiving end and the transmitting end can be used as the communication synchronization unit. The result is used as a metric function to obtain the synchronization position index value by means of threshold threshold judgment, thereby realizing frame timing synchronization.

然而在复杂的无线通信信道环境下,相关运算结果会随信噪比降低而减小,并且在多径衰落信道情况下,相关运算结果会出现多个邻近的干扰峰值,在这种情况下,门限阈值和度量函数的选取对定时同步的准确性有很大的影响。However, in a complex wireless communication channel environment, the result of the correlation operation will decrease as the signal-to-noise ratio decreases, and in the case of a multipath fading channel, there will be multiple adjacent interference peaks in the result of the correlation operation. In this case, The selection of threshold and metric function has a great influence on the accuracy of timing synchronization.

相关运算复杂度较高,需要较大的硬件资源来实现。在低信噪比和无线衰落信道情况下,相关运算峰值会受到较大影响,利用预设定门限阈值对峰值进行判定时会存在较高的漏检和虚警概率,同步性能下降。The relative computational complexity is high and requires large hardware resources to implement. In the case of low signal-to-noise ratio and wireless fading channel, the peak value of correlation operation will be greatly affected. When using the preset threshold to determine the peak value, there will be a high probability of missed detection and false alarm, and the synchronization performance will be degraded.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的在于提供一种无线通信的帧定时同步方法、装置、电子设备,提高了帧同步性能,使得得到的帧同步位置更加准确,简化计算过程。The purpose of the embodiments of the present application is to provide a frame timing synchronization method, device, and electronic device for wireless communication, which improves the frame synchronization performance, makes the obtained frame synchronization position more accurate, and simplifies the calculation process.

第一方面,本申请实施例提供了一种无线通信的帧定时同步方法,所述方法包括:In a first aspect, an embodiment of the present application provides a frame timing synchronization method for wireless communication, and the method includes:

获取本地帧同步头序列;Get the local frame sync header sequence;

获取空口数据;Get air interface data;

对所述本地帧同步头序列和所述空口数据进行滑窗互相关处理,得到度量函数;Perform sliding window cross-correlation processing on the local frame synchronization header sequence and the air interface data to obtain a metric function;

对所述度量函数进行门限阈值判决,得到索引值集合;Performing a threshold threshold judgment on the metric function to obtain an index value set;

对所述索引值集合进行最大值判决,得到帧同步位置。The maximum value judgment is performed on the index value set to obtain the frame synchronization position.

在上述实现过程中,通过对本地帧同步头序列和空口数据进行滑窗互相关处理,进而对度量函数进行门限阈值判决的方式得到帧同步位置,提高了帧同步性能,使得得到的帧同步位置更加准确,简化计算过程。In the above implementation process, the frame synchronization position is obtained by performing sliding-window cross-correlation processing on the local frame synchronization header sequence and the air interface data, and then performing a threshold threshold judgment on the metric function, which improves the frame synchronization performance and makes the obtained frame synchronization position More accurate and simplified calculation process.

进一步地,所述获取本地帧同步头序列的步骤,包括:Further, the step of obtaining the local frame synchronization header sequence includes:

获取第一长度序列;Get the first length sequence;

对所述第一长度序列进行补零操作,得到第二长度序列;performing a zero-padding operation on the first length sequence to obtain a second length sequence;

对所述第二长度序列进行逆离散傅里叶变换,得到所述本地帧同步头序列。Inverse discrete Fourier transform is performed on the second length sequence to obtain the local frame synchronization header sequence.

在上述实现过程中,根据第一长度序列得到第二长度序列,并对第二长度序列进行逆离散傅里叶变换,得到本地帧同步头序列,可以减小在计算过程中的误差,使得到的本地帧同步头序列更加准确。In the above implementation process, the second length sequence is obtained according to the first length sequence, and the inverse discrete Fourier transform is performed on the second length sequence to obtain the local frame synchronization header sequence, which can reduce the error in the calculation process, so that the The local frame sync header sequence is more accurate.

进一步地,所述对所述度量函数进行门限阈值判决,得到索引值集合的步骤,包括:Further, the step of performing a threshold threshold judgment on the metric function to obtain an index value set includes:

对所述度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数;Performing a fixed threshold threshold judgment on the metric function to obtain a metric function after the fixed threshold threshold judgment;

对所述度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数;Performing a dynamic threshold threshold judgment on the metric function to obtain a metric function after the dynamic threshold threshold judgment;

根据所述固定门限阈值判决之后的度量函数和所述动态门限阈值判决之后的度量函数获得所述索引值集合。The index value set is obtained according to the metric function after the fixed threshold threshold value judgment and the metric function after the dynamic threshold threshold value judgment.

在上述实现过程中,对度量函数进行门限阈值判决,可以减少噪声对帧同步性能的影响,提高帧同步过程中索引的正确率,同时可以有效地降低多径信道对帧同步性能的影响。In the above implementation process, the threshold value judgment of the metric function can reduce the influence of noise on the frame synchronization performance, improve the accuracy of the index in the frame synchronization process, and can effectively reduce the impact of multipath channels on the frame synchronization performance.

进一步地,所述对所述度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数的步骤,包括:Further, the step of performing a fixed threshold threshold judgment on the metric function to obtain the metric function after the fixed threshold threshold judgment includes:

获取固定门限阈值;Get a fixed threshold threshold;

根据所述固定门限阈值对所述度量函数进行固定门限阈值判决,得到所述固定门限阈值判决之后的度量函数。According to the fixed threshold threshold, a fixed threshold threshold value judgment is performed on the metric function to obtain a metric function after the fixed threshold threshold value judgment.

在上述实现过程中,根据固定门限阈值对度量函数进行固定门限阈值判决,可以减少度量函数对帧同步的误差,使得到的帧同步位置更加准确。In the above implementation process, the metric function is determined with a fixed threshold threshold according to the fixed threshold, which can reduce the error of the metric function on frame synchronization, and make the obtained frame synchronization position more accurate.

进一步地,所述对所述度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数的步骤,包括:Further, the step of performing a dynamic threshold threshold judgment on the metric function to obtain the metric function after the dynamic threshold threshold judgment includes:

获取动态门限阈值;Get the dynamic threshold threshold;

根据所述动态门限阈值对所述度量函数进行动态门限阈值判决,得到所述动态门限阈值判决之后的度量函数。Perform dynamic threshold threshold judgment on the metric function according to the dynamic threshold threshold to obtain the metric function after the dynamic threshold threshold judgment.

在上述实现过程中,根据动态门限阈值对度量函数进行动态门限阈值判决,可以减小噪声对帧同步的影响,确保帧同步位置的准确性。In the above implementation process, the dynamic threshold threshold judgment is performed on the metric function according to the dynamic threshold threshold, which can reduce the influence of noise on the frame synchronization and ensure the accuracy of the frame synchronization position.

进一步地,所述对所述索引值集合进行最大值判决,得到帧同步位置的步骤,包括:Further, the step of performing a maximum value judgment on the index value set to obtain the frame synchronization position includes:

获取所述索引值集合中的度量函数值;obtaining the metric function value in the index value set;

选取所述度量函数值中的最大度量函数值对应的索引值,作为所述帧同步位置。The index value corresponding to the largest metric function value among the metric function values is selected as the frame synchronization position.

在上述实现过程中,将度量函数值中的最大度量函数值对应的索引值,作为帧同步位置,可以减小帧同步位置的误差,同时简化运算过程,节省时间。In the above implementation process, the index value corresponding to the largest metric function value in the metric function value is used as the frame synchronization position, which can reduce the error of the frame synchronization position, simplify the operation process, and save time.

进一步地,通过下述公式对所述本地帧同步头序列和所述空口数据进行滑窗互相关处理,得到所述度量函数:Further, sliding-window cross-correlation processing is performed on the local frame synchronization header sequence and the air interface data by the following formula to obtain the metric function:

Figure BDA0003753081680000041
Figure BDA0003753081680000041

Figure BDA0003753081680000042
Figure BDA0003753081680000042

Figure BDA0003753081680000043
Figure BDA0003753081680000043

Figure BDA0003753081680000044
Figure BDA0003753081680000044

其中,D(k)为所述度量函数,R(k)为滑窗互相关运算结果,P1为所述本地帧同步头序列的功率和,P2(k)为所述空口数据的功率和,x(n)为所述本地帧同步头序列,r(n)为所述空口数据,N为窗口长度,i为窗口长度对应的样本序号,k为每一次滑窗时窗口对应的起始点位置。Wherein, D(k) is the metric function, R(k) is the result of the sliding window cross-correlation operation, P 1 is the power sum of the local frame synchronization header sequence, and P 2 (k) is the power of the air interface data and, x(n) is the local frame synchronization header sequence, r(n) is the air interface data, N is the window length, i is the sample sequence number corresponding to the window length, and k is the starting window corresponding to each sliding window. starting point position.

进一步地,通过下述公式获取所述动态门限阈值:Further, the dynamic threshold threshold is obtained by the following formula:

Figure BDA0003753081680000045
Figure BDA0003753081680000045

其中,λ(k)为所述动态门限阈值,μ为动态门限系数,i为窗口长度对应的样本序号,k为每一次滑窗时窗口对应的起始点位置,M为所述度量函数的累加长度,D(k)为所述度量函数(k赋值为

Figure BDA0003753081680000046
)。Among them, λ(k) is the dynamic threshold threshold, μ is the dynamic threshold coefficient, i is the sample sequence number corresponding to the window length, k is the starting point position of the window corresponding to each sliding window, and M is the accumulation of the metric function length, D(k) is the metric function (k is assigned as
Figure BDA0003753081680000046
).

第二方面,本申请实施例还提供了一种无线通信的帧定时同步装置,所述装置包括:In a second aspect, an embodiment of the present application further provides a frame timing synchronization device for wireless communication, the device comprising:

获取模块,用于获取本地帧同步头序列;还用于获取空口数据;The acquisition module is used to acquire the local frame synchronization header sequence; it is also used to acquire air interface data;

滑窗互相关模块,用于根据所述本地帧同步头序列和空口数据进行滑窗互相关处理,得到度量函数;a sliding-window cross-correlation module, configured to perform sliding-window cross-correlation processing according to the local frame synchronization header sequence and air interface data to obtain a metric function;

判决模块,用于对所述度量函数进行门限阈值判决,得到索引值集合;a judgment module, configured to perform threshold threshold judgment on the metric function to obtain an index value set;

选取模块,用于对所述索引值集合进行最大值判决,得到帧同步位置。The selection module is used for performing maximum value judgment on the index value set to obtain the frame synchronization position.

在上述实现过程中,通过对本地帧同步头序列和空口数据进行滑窗互相关处理,进而对度量函数进行门限阈值判决的方式得到帧同步位置,提高了帧同步性能,使得得到的帧同步位置更加准确,简化计算过程。In the above implementation process, the frame synchronization position is obtained by performing sliding-window cross-correlation processing on the local frame synchronization header sequence and the air interface data, and then performing a threshold threshold judgment on the metric function, which improves the frame synchronization performance and makes the obtained frame synchronization position More accurate and simplified calculation process.

第三方面,本申请实施例提供的一种电子设备,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面任一项所述的方法的步骤。In a third aspect, an electronic device provided by an embodiment of the present application includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program When implementing the steps of the method according to any one of the first aspects.

第四方面,本申请实施例提供的一种计算机可读存储介质,所述存储介质上存储有指令,当所述指令在计算机上运行时,使得所述计算机执行如第一方面任一项所述的方法。In a fourth aspect, a computer-readable storage medium provided by an embodiment of the present application stores instructions on the storage medium, and when the instructions are executed on a computer, the computer is made to execute as described in any one of the first aspect. method described.

第五方面,本申请实施例提供的一种计算机程序产品,所述计算机程序产品在计算机上运行时,使得计算机执行如第一方面任一项所述的方法。In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, causes the computer to execute the method according to any one of the first aspects.

本公开的其他特征和优点将在随后的说明书中阐述,或者,部分特征和优点可以从说明书推知或毫无疑义地确定,或者通过实施本公开的上述技术即可得知。Additional features and advantages of the present disclosure will be set forth in the description that follows, or some may be inferred or unambiguously determined from the description, or may be learned by practicing the above-described techniques of the present disclosure.

并可依照说明书的内容予以实施,以下以本申请的较佳实施例并配合附图详细说明如后。It can be implemented in accordance with the content of the specification, and the preferred embodiments of the present application and the accompanying drawings are described in detail as follows.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, so It should not be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的无线通信的帧定时同步方法的流程示意图;FIG. 1 is a schematic flowchart of a frame timing synchronization method for wireless communication according to an embodiment of the present application;

图2为本申请实施例提供的无线通信的帧定时同步装置的结构组成示意图;FIG. 2 is a schematic structural diagram of a frame timing synchronization apparatus for wireless communication according to an embodiment of the present application;

图3为本申请实施例提供的电子设备的结构组成示意图。FIG. 3 is a schematic structural composition diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

下面结合附图和实施例,对本申请的具体实施方式作进一步详细描述。以下实施例用于说明本申请,但不用来限制本申请的范围。The specific implementations of the present application will be described in further detail below with reference to the accompanying drawings and embodiments. The following examples are used to illustrate the present application, but are not intended to limit the scope of the present application.

实施例一Example 1

图1是本申请实施例提供的无线通信的帧定时同步方法的流程示意图,如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a frame timing synchronization method for wireless communication provided by an embodiment of the present application. As shown in FIG. 1 , the method includes:

S1,获取本地帧同步头序列;S1, obtain the local frame synchronization header sequence;

S2,获取空口数据;S2, obtain air interface data;

S3,对本地帧同步头序列和空口数据进行滑窗互相关处理,得到度量函数;S3, perform sliding window cross-correlation processing on the local frame synchronization header sequence and air interface data to obtain a metric function;

S4,对度量函数进行门限阈值判决,得到索引值集合;S4, perform a threshold threshold judgment on the metric function to obtain an index value set;

S5,对索引值集合进行最大值判决,得到帧同步位置。S5, the maximum value judgment is performed on the index value set to obtain the frame synchronization position.

在上述实现过程中,通过对本地帧同步头序列和空口数据进行滑窗互相关处理,进而对度量函数进行门限阈值判决的方式得到帧同步位置,提高了帧同步性能,使得得到的帧同步位置更加准确,简化计算过程。In the above implementation process, the frame synchronization position is obtained by performing sliding-window cross-correlation processing on the local frame synchronization header sequence and the air interface data, and then performing a threshold threshold judgment on the metric function, which improves the frame synchronization performance and makes the obtained frame synchronization position More accurate and simplified calculation process.

进一步地,S1包括:Further, S1 includes:

获取第一长度序列;Get the first length sequence;

对第一长度序列进行补零操作,得到第二长度序列;Perform a zero-padding operation on the first length sequence to obtain a second length sequence;

对第二长度序列进行逆离散傅里叶变换,得到本地帧同步头序列。Inverse discrete Fourier transform is performed on the second length sequence to obtain the local frame synchronization header sequence.

在上述实现过程中,根据第一长度序列得到第二长度序列,并对第二长度序列进行逆离散傅里叶变换,得到本地帧同步头序列,可以减小在计算过程中的误差,使得到的本地帧同步头序列更加准确。In the above implementation process, the second length sequence is obtained according to the first length sequence, and the inverse discrete Fourier transform is performed on the second length sequence to obtain the local frame synchronization header sequence, which can reduce the error in the calculation process, so that the The local frame sync header sequence is more accurate.

示例性地,可以由下式产生长度为62的第一长度序列d(n),该序列具有功率横幅特性,并具有良好的自相关和互相关特性,其中:Exemplarily, a first length sequence d(n) of length 62, having power profile properties and good autocorrelation and cross-correlation properties, can be generated by:

Figure BDA0003753081680000071
Figure BDA0003753081680000071

对第一长度序列d(n)两边补零,生成第二长度序列z(n),该序列定义为[0,....0,d(0),,,,,d(61),0,...0],两边各补33个零值,序列z(n)的长度为128。The first length sequence d(n) is filled with zeros on both sides to generate the second length sequence z(n), which is defined as [0,....0,d(0),,,,,d(61), 0,...0], with 33 zeros on both sides, and the length of the sequence z(n) is 128.

对序列z(n)进行逆离散傅里叶变换,生成本地帧同步头序列x(n),长度为128。Perform an inverse discrete Fourier transform on the sequence z(n) to generate a local frame sync header sequence x(n) with a length of 128.

进一步地,在S3中,通过下述公式对本地帧同步头序列和空口数据进行滑窗互相关处理,得到度量函数:Further, in S3, the local frame synchronization header sequence and the air interface data are subjected to sliding-window cross-correlation processing by the following formula to obtain a metric function:

Figure BDA0003753081680000072
Figure BDA0003753081680000072

Figure BDA0003753081680000081
Figure BDA0003753081680000081

Figure BDA0003753081680000082
Figure BDA0003753081680000082

Figure BDA0003753081680000083
Figure BDA0003753081680000083

其中,D(k)为度量函数,R(k)为滑窗互相关运算结果,P1为本地帧同步头序列的功率和,P2(k)为空口数据的功率和,x(n)为本地帧同步头序列,r(n)为空口数据,N为窗口长度,i为窗口长度对应的样本序号,k为每一次滑窗时窗口对应的起始点位置。Among them, D(k) is the metric function, R(k) is the result of the sliding window cross-correlation operation, P 1 is the power sum of the local frame synchronization header sequence, P 2 (k) is the power sum of the air interface data, x(n) is the local frame synchronization header sequence, r(n) is the air interface data, N is the window length, i is the sample sequence number corresponding to the window length, and k is the starting point position of the window corresponding to each sliding window.

滑窗互相关是将当前时刻接收到的样本和先于该时刻之前的接收并存储。示例性地,对本地帧同步头序列和空口数据进行相关处理,结果为R(0),其中,本地帧同步头序列为127个样本组成的序列x(n),空口数据为128个样本组成的序列r(n),运算长度128定义为滑窗长度,下一时刻接收到的样本和该时刻之前接收并存储的127个样本组成的序列x(n)和128个样本组成的序列r(n)进行相关运算,结果为R(1),依次运算,此过程称为滑窗互相关运算。滑窗互相关运算的本质是利用空口数据r(n)搜索接收本地帧同步头序列中和r(n)最为相似的一段数据,其中,当相似性最强时,R(k)值最大。Sliding window cross-correlation is to store and store the samples received at the current moment and the samples received before this moment. Exemplarily, the correlation processing is performed on the local frame synchronization header sequence and the air interface data, and the result is R(0), wherein the local frame synchronization header sequence is a sequence x(n) composed of 127 samples, and the air interface data is composed of 128 samples. The sequence r(n), the operation length 128 is defined as the sliding window length, the sample received at the next moment and the sequence x(n) composed of the 127 samples received and stored before this moment and the sequence r(n) composed of the 128 samples n) Carry out correlation operation, the result is R(1), and operate in sequence, this process is called sliding window cross-correlation operation. The essence of the sliding window cross-correlation operation is to use the air interface data r(n) to search and receive the most similar piece of data to r(n) in the local frame synchronization header sequence. When the similarity is the strongest, the value of R(k) is the largest.

示例性地,当窗口长度为128,即本地帧同步头序列的长度,滑窗即是将每接收到一个样本和之前接收到的127个样本组成r(n)和x(n)进行互相关运算,其表达式如下:Exemplarily, when the window length is 128, that is, the length of the local frame synchronization header sequence, the sliding window is that each received sample and the previously received 127 samples are composed of r(n) and x(n) for cross-correlation. operation, its expression is as follows:

Figure BDA0003753081680000091
Figure BDA0003753081680000091

生成如下度量函数:Generate the following metric function:

Figure BDA0003753081680000092
Figure BDA0003753081680000092

其中P1和P2(k)分别定义如下:where P 1 and P 2 (k) are respectively defined as follows:

Figure BDA0003753081680000093
Figure BDA0003753081680000093

Figure BDA0003753081680000094
Figure BDA0003753081680000094

进一步地,S4包括:Further, S4 includes:

对度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数;Perform a fixed threshold threshold decision on the metric function to obtain the metric function after the fixed threshold threshold decision;

对度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数;Perform dynamic threshold threshold judgment on the metric function, and obtain the metric function after the dynamic threshold threshold judgment;

根据固定门限阈值判决之后的度量函数和动态门限阈值判决之后的度量函数获得索引值集合。The index value set is obtained according to the metric function after the fixed threshold threshold value judgment and the metric function after the dynamic threshold threshold value judgment.

在上述实现过程中,对度量函数进行门限阈值判决,可以减少噪声对帧同步性能的影响,提高帧同步过程中索引的正确率,同时可以有效地降低多径信道对帧同步性能的影响。In the above implementation process, the threshold value judgment of the metric function can reduce the influence of noise on the frame synchronization performance, improve the accuracy of the index in the frame synchronization process, and can effectively reduce the impact of multipath channels on the frame synchronization performance.

对度量函数D(k)进行固定门限阈值判决,记录下当D(k)取值大于固定门限阈值时的k的值。本申请实施例的固定门限阈值是通过仿真得到,仿真时固定门限阈值实际是和信噪比动态变化的,根据实际仿真取信噪比为-5dB时的固定门限阈值作为度量函数D(k)的固定门限阈值δ,取值0.058。The metric function D(k) is determined with a fixed threshold and the value of k is recorded when the value of D(k) is greater than the fixed threshold. The fixed threshold in this embodiment of the present application is obtained through simulation. During simulation, the fixed threshold actually changes dynamically with the signal-to-noise ratio. According to the actual simulation, the fixed threshold when the signal-to-noise ratio is -5dB is taken as the metric function D(k) The fixed threshold threshold δ of , which is 0.058.

进一步地,对度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数的步骤,包括:Further, the metric function is subjected to a fixed threshold threshold judgment, and the steps of obtaining the metric function after the fixed threshold threshold judgment include:

获取固定门限阈值;Get a fixed threshold threshold;

根据固定门限阈值对度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数。According to the fixed threshold threshold, the metric function is judged by the fixed threshold threshold, and the metric function after the fixed threshold threshold judgment is obtained.

在上述实现过程中,根据固定门限阈值对度量函数进行固定门限阈值判决,可以减少度量函数对帧同步的误差,使得到的帧同步位置更加准确。In the above implementation process, the metric function is determined with a fixed threshold threshold according to the fixed threshold, which can reduce the error of the metric function on frame synchronization, and make the obtained frame synchronization position more accurate.

对度量函数R(k)进行门门限阈值判决的目的是找出相关性最强的R(k),确定可能的有效同步位置。小于固定门限的R(k),认为其无效,大于固定门限的R(k)再利用动态门限阈值判决。The purpose of the threshold threshold decision on the metric function R(k) is to find the R(k) with the strongest correlation and determine the possible effective synchronization position. R(k) less than the fixed threshold is considered invalid, and R(k) greater than the fixed threshold is judged by the dynamic threshold.

进一步地,对度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数的步骤,包括:Further, the dynamic threshold threshold judgment is performed on the metric function, and the step of obtaining the metric function after the dynamic threshold threshold judgment includes:

获取动态门限阈值;Get the dynamic threshold threshold;

根据动态门限阈值对度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数。According to the dynamic threshold threshold value, the metric function is judged by the dynamic threshold threshold value, and the metric function after the dynamic threshold threshold value judgment is obtained.

在上述实现过程中,根据动态门限阈值对度量函数进行动态门限阈值判决,可以减小噪声对帧同步的影响,确保帧同步位置的准确性。In the above implementation process, the dynamic threshold threshold judgment is performed on the metric function according to the dynamic threshold threshold, which can reduce the influence of noise on the frame synchronization and ensure the accuracy of the frame synchronization position.

进一步地,通过下述公式获取动态门限阈值:Further, the dynamic threshold threshold is obtained by the following formula:

Figure BDA0003753081680000101
Figure BDA0003753081680000101

其中,λ(k)为动态门限阈值,μ为动态门限系数,i为窗口长度对应的样本序号,k为每一次滑窗时窗口对应的起始点位置,M为度量函数的累加长度,D(k)为度量函数(k赋值为

Figure BDA0003753081680000111
)。Among them, λ(k) is the dynamic threshold threshold, μ is the dynamic threshold coefficient, i is the sample number corresponding to the window length, k is the starting point position of the window corresponding to each sliding window, M is the accumulated length of the metric function, D( k) is the metric function (k is assigned as
Figure BDA0003753081680000111
).

由于传输信道存在随机噪声的影响,导致接收端滑窗互相关运算结果R(k)存在波动,即弱相关性可能增强,强相关性可能变弱,因此利用动态门限阈值判决R(k),为了减少噪声的影响,小于动态门限的认为其无效,大于固定门限的认为对应的k值为可能的有效同步位置。Due to the influence of random noise in the transmission channel, the result of the sliding window cross-correlation operation R(k) at the receiving end fluctuates, that is, the weak correlation may be enhanced, and the strong correlation may be weakened. Therefore, the dynamic threshold is used to determine R(k), In order to reduce the influence of noise, if it is smaller than the dynamic threshold, it is considered invalid, and if it is larger than the fixed threshold, the corresponding k value is considered as a possible valid synchronization position.

示例性地,对度量函数D(k)进行动态门限阈值判决时,记录下当D(k)取值大于动态门限阈值时的k值。对应索引k值时的动态门限阈值λ(k)通过取当前D(k)的前18个样本取值、当前D(k)的取值和当前D(k)的后19个样本取值的均值得到,其中μ取值决定了动态门限阈值判决时的虚警概率和漏检概率,μ取值过大导致虚警概率越大,漏检概率越小,反之,则虚警概率越小,漏检概率越大。本申请实施例的μ值经过建模仿真得到,作为度量函数D(k)的动态门限阈值λ,需保证信噪比大于-5dB时误包率控制在1%以内,μ取值5.5。由此得到:Exemplarily, when the dynamic threshold threshold is determined for the metric function D(k), the k value when the value of D(k) is greater than the dynamic threshold threshold is recorded. The dynamic threshold λ(k) corresponding to the index k value is obtained by taking the value of the first 18 samples of the current D(k), the value of the current D(k) and the value of the last 19 samples of the current D(k). The mean value is obtained, where the value of μ determines the probability of false alarm and the probability of missed detection when the dynamic threshold threshold is judged. If the value of μ is too large, the probability of false alarm will be larger, and the probability of missed detection will be smaller. On the contrary, the probability of false alarm will be smaller. The greater the probability of missed detection. The μ value in this embodiment of the present application is obtained through modeling and simulation. As the dynamic threshold λ of the metric function D(k), it is necessary to ensure that the packet error rate is controlled within 1% when the signal-to-noise ratio is greater than -5dB, and the value of μ is 5.5. This results in:

Figure BDA0003753081680000112
Figure BDA0003753081680000112

进一步地,对索引值集合进行最大值判决,得到帧同步位置的步骤,包括:Further, the maximum value judgment is performed on the index value set to obtain the step of frame synchronization position, including:

获取索引值集合中的度量函数值;Get the metric function value in the index value collection;

选取度量函数值中的最大度量函数值对应的索引值,作为帧同步位置。The index value corresponding to the largest metric function value among the metric function values is selected as the frame synchronization position.

在上述实现过程中,将度量函数值中的最大度量函数值对应的索引值,作为帧同步位置,可以减小帧同步位置的误差,同时简化运算过程,节省时间。In the above implementation process, the index value corresponding to the largest metric function value in the metric function value is used as the frame synchronization position, which can reduce the error of the frame synchronization position, simplify the operation process, and save time.

将同时大于固态门限阈值δ和动态门限阈值λ时度量函数D(k)的索引值k记为ki,设定邻近判决间隔β,取值256,当相邻索引值ki的差值不超过β时,将相邻索引值ki定义为一个新的集合G,定义为[ki,ki+1,.....,ki+m],集合G需满足条件:Denote the index value k of the metric function D(k) when it is greater than the solid-state threshold δ and the dynamic threshold λ at the same time as ki , and set the adjacent decision interval β, which is 256. When the difference between the adjacent index values ki is not When it exceeds β, the adjacent index value ki is defined as a new set G, which is defined as [ ki ,ki +1 ,.....,ki +m ], and the set G must meet the conditions:

ki+m-ki<=βk i +m -ki <=β

ki+m+1-ki>β;k i+m+1 -k i >β;

比较集合G中索引值对应的D(k)值,集合[D(ki),D(ki+1),....,D(ki+m)]中的最大值对应的索引值即为帧同步位置,记为:Compare the D(k) value corresponding to the index value in the set G, the index corresponding to the maximum value in the set [D(k i ), D(k i+1 ),...., D(k i+m )] The value is the frame synchronization position, recorded as:

ks∈max([D(ki),D(ki+1),....,D(ki+m)])|k k s ∈max([D(k i ),D(k i+1 ),....,D(k i+m )])| k

本申请实施例利用双门限阈值判决方法,通过对度量函数进行阈值判断来实现帧同步,其中固定门限阈值的作用是当度量函数的计算结果小于固定门限阈值时,度量函数对应的索引值不作为同步判断索引取值,固定门限阈值是在满足信噪比在-5dB以上,且误包率在1%以下的情况下,通过仿真得出。动态门限阈值通过度量函数的前18个样本取值、当前样本取值和后19个样本取值的均值乘以权值系数得到,再利用动态门限阈值对大于固定门限阈值的度量函数再次进行判决,最后利用邻近判决的方式,比较大于固定门限阈值和动态门限阈值的邻近度量函数值,这个函数值的最大值对应的索引值即是帧同步位置。本申请实施例降低了由于固定门限阈值单独判决时导致的高虚警概率,减少噪声对帧同步性能的影响,提高同步索引正确率,同时邻近判决方式可以有效的降低多径信道对同步性能的影响。通过本发明方法能在-5dB以上实现帧同步,且误包率在1%以下,运算复杂度不高,易于硬件实现。The embodiment of the present application uses a double-threshold threshold judgment method to realize frame synchronization by performing threshold judgment on the metric function, wherein the function of the fixed threshold threshold is that when the calculation result of the metric function is smaller than the fixed threshold threshold, the index value corresponding to the metric function is not used as The value of the synchronization judgment index and the fixed threshold are obtained through simulation under the condition that the signal-to-noise ratio is above -5dB and the packet error rate is below 1%. The dynamic threshold is obtained by multiplying the average value of the first 18 samples, the current sample and the last 19 samples of the metric function by the weight coefficient, and then the dynamic threshold is used to judge the metric function that is greater than the fixed threshold again. , and finally, the adjacent metric function values greater than the fixed threshold and the dynamic threshold are compared using the adjacent judgment method, and the index value corresponding to the maximum value of this function value is the frame synchronization position. The embodiment of the present application reduces the high false alarm probability caused by the fixed threshold threshold value alone judgment, reduces the influence of noise on the frame synchronization performance, improves the synchronization index correct rate, and at the same time, the adjacent judgment method can effectively reduce the multipath channel's impact on the synchronization performance. influences. The method of the invention can realize frame synchronization above -5dB, and the packet error rate is below 1%, the operation complexity is not high, and the hardware implementation is easy.

实施例二Embodiment 2

为了执行上述实施例一对应的方法,以实现相应的功能和技术效果,下面提供一种无线通信的帧定时同步装置,如图2所示,该装置包括:In order to implement the method corresponding to the above-mentioned first embodiment to achieve corresponding functions and technical effects, a frame timing synchronization device for wireless communication is provided below. As shown in FIG. 2 , the device includes:

获取模块1,用于获取本地帧同步头序列;还用于获取空口数据;Obtaining module 1, used to obtain the local frame synchronization header sequence; also used to obtain air interface data;

滑窗互相关模块2,用于根据本地帧同步头序列和空口数据进行滑窗互相关处理,得到度量函数;Sliding-window cross-correlation module 2, for performing sliding-window cross-correlation processing according to the local frame synchronization header sequence and air interface data to obtain a metric function;

判决模块3,用于对度量函数进行门限阈值判决,得到索引值集合;Judgment module 3, for performing threshold threshold judgment on the metric function to obtain an index value set;

选取模块4,用于对索引值集合进行最大值判决,得到帧同步位置。The selection module 4 is used for performing maximum judgment on the index value set to obtain the frame synchronization position.

在上述实现过程中,通过对本地帧同步头序列和空口数据进行滑窗互相关处理,进而对度量函数进行门限阈值判决的方式得到帧同步位置,提高了帧同步性能,使得得到的帧同步位置更加准确,简化计算过程。In the above implementation process, the frame synchronization position is obtained by performing sliding-window cross-correlation processing on the local frame synchronization header sequence and the air interface data, and then performing a threshold threshold judgment on the metric function, which improves the frame synchronization performance and makes the obtained frame synchronization position More accurate and simplified calculation process.

进一步地,获取模块1还用于:Further, the acquisition module 1 is also used for:

获取第一长度序列;Get the first length sequence;

对第一长度序列进行补零操作,得到第二长度序列;Perform a zero-padding operation on the first length sequence to obtain a second length sequence;

对第二长度序列进行逆离散傅里叶变换,得到本地帧同步头序列。Inverse discrete Fourier transform is performed on the second length sequence to obtain the local frame synchronization header sequence.

进一步地,判决模块3还用于:Further, the decision module 3 is also used for:

对度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数;Perform a fixed threshold threshold decision on the metric function to obtain the metric function after the fixed threshold threshold decision;

对度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数;Perform dynamic threshold threshold judgment on the metric function, and obtain the metric function after the dynamic threshold threshold judgment;

根据固定门限阈值判决之后的度量函数和动态门限阈值判决之后的度量函数获得索引值集合。The index value set is obtained according to the metric function after the fixed threshold threshold value judgment and the metric function after the dynamic threshold threshold value judgment.

进一步地,判决模块3还用于:Further, the decision module 3 is also used for:

获取固定门限阈值;Get a fixed threshold threshold;

根据固定门限阈值对度量函数进行固定门限阈值判决,得到固定门限阈值判决之后的度量函数。According to the fixed threshold threshold, the metric function is judged by the fixed threshold threshold, and the metric function after the fixed threshold threshold judgment is obtained.

进一步地,判决模块3还用于:Further, the decision module 3 is also used for:

获取动态门限阈值;Get the dynamic threshold threshold;

根据动态门限阈值对度量函数进行动态门限阈值判决,得到动态门限阈值判决之后的度量函数。According to the dynamic threshold threshold value, the metric function is judged by the dynamic threshold threshold value, and the metric function after the dynamic threshold threshold value judgment is obtained.

进一步地,选取模块4还用于:Further, the selection module 4 is also used for:

获取索引值集合中的度量函数值;Get the metric function value in the index value collection;

选取度量函数值中的最大度量函数值对应的索引值,作为帧同步位置。The index value corresponding to the largest metric function value among the metric function values is selected as the frame synchronization position.

进一步地,判决模块3还用于,通过下述公式对本地帧同步头序列和空口数据进行滑窗互相关处理,得到度量函数:Further, the decision module 3 is also used to perform sliding window cross-correlation processing on the local frame synchronization header sequence and the air interface data by the following formula to obtain a metric function:

Figure BDA0003753081680000141
Figure BDA0003753081680000141

Figure BDA0003753081680000142
Figure BDA0003753081680000142

Figure BDA0003753081680000143
Figure BDA0003753081680000143

Figure BDA0003753081680000144
Figure BDA0003753081680000144

其中,D(k)为度量函数,R(k)为滑窗互相关运算结果,P1为本地帧同步头序列的功率和,P2(k)为空口数据的功率和,x(n)为本地帧同步头序列,r(n)为空口数据,N为窗口长度,i为窗口长度对应的样本序号,k为每一次滑窗时窗口对应的起始点位置。Among them, D(k) is the metric function, R(k) is the result of the sliding window cross-correlation operation, P 1 is the power sum of the local frame synchronization header sequence, P 2 (k) is the power sum of the air interface data, x(n) is the local frame synchronization header sequence, r(n) is the air interface data, N is the window length, i is the sample sequence number corresponding to the window length, and k is the starting point position of the window corresponding to each sliding window.

进一步地,判决模块3还用于,通过下述公式获取动态门限阈值:Further, the decision module 3 is also used to obtain the dynamic threshold threshold through the following formula:

Figure BDA0003753081680000151
Figure BDA0003753081680000151

其中,λ(k)为动态门限阈值,μ为动态门限系数,i为窗口长度对应的样本序号,k为每一次滑窗时窗口对应的起始点位置,M为度量函数的累加长度,D(k)为度量函数(k赋值为

Figure BDA0003753081680000152
)。Among them, λ(k) is the dynamic threshold threshold, μ is the dynamic threshold coefficient, i is the sample number corresponding to the window length, k is the starting point position of the window corresponding to each sliding window, M is the accumulated length of the metric function, D( k) is the metric function (k is assigned as
Figure BDA0003753081680000152
).

上述的无线通信的帧定时同步装置可实施上述实施例一的方法。上述实施例一中的可选项也适用于本实施例,这里不再详述。The above-mentioned frame timing synchronization apparatus for wireless communication can implement the method of the above-mentioned first embodiment. The options in the first embodiment above are also applicable to this embodiment, and are not described in detail here.

本申请实施例的其余内容可参照上述实施例一的内容,在本实施例中,不再进行赘述。For the rest of the contents of the embodiments of the present application, reference may be made to the contents of the foregoing first embodiment, which will not be repeated in this embodiment.

实施例三Embodiment 3

本申请实施例提供一种电子设备,包括存储器及处理器,该存储器用于存储计算机程序,该处理器运行计算机程序以使电子设备执行实施例一的无线通信的帧定时同步方法。An embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to make the electronic device execute the frame timing synchronization method for wireless communication of the first embodiment.

可选地,上述电子设备可以是服务器。Optionally, the above electronic device may be a server.

请参见图3,图3为本申请实施例提供的电子设备的结构组成示意图。该电子设备可以包括处理器31、通信接口32、存储器33和至少一个通信总线34。其中,通信总线34用于实现这些组件直接的连接通信。其中,本申请实施例中设备的通信接口32用于与其他节点设备进行信令或数据的通信。处理器31可以是一种集成电路芯片,具有信号的处理能力。Referring to FIG. 3 , FIG. 3 is a schematic structural composition diagram of an electronic device provided by an embodiment of the present application. The electronic device may include a processor 31 , a communication interface 32 , a memory 33 and at least one communication bus 34 . Among them, the communication bus 34 is used to realize the direct connection and communication of these components. The communication interface 32 of the device in the embodiment of the present application is used for signaling or data communication with other node devices. The processor 31 may be an integrated circuit chip, which has signal processing capability.

上述的处理器31可以是通用处理器,包括中央处理器(Central ProcessingUnit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器31也可以是任何常规的处理器等。The above-mentioned processor 31 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC) , off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor 31 may be any conventional processor or the like.

存储器33可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。存储器33中存储有计算机可读取指令,当计算机可读取指令由所述处理器31执行时,设备可以执行上述图1方法实施例涉及的各个步骤。The memory 33 can be, but is not limited to, a random access memory (Random Access Memory, RAM), a read only memory (Read Only Memory, ROM), a programmable read only memory (Programmable Read-Only Memory, PROM), an erasable memory Read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Programmable Read-Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. Computer-readable instructions are stored in the memory 33, and when the computer-readable instructions are executed by the processor 31, the device can perform various steps involved in the method embodiment of FIG. 1 above.

可选地,电子设备还可以包括存储控制器、输入输出单元。存储器33、存储控制器、处理器31、外设接口、输入输出单元各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通信总线34实现电性连接。处理器31用于执行存储器33中存储的可执行模块,例如设备包括的软件功能模块或计算机程序。Optionally, the electronic device may further include a storage controller and an input and output unit. The elements of the memory 33 , the storage controller, the processor 31 , the peripheral interface, and the input-output unit are directly or indirectly electrically connected to each other, so as to realize data transmission or interaction. For example, these elements may be electrically connected to each other through one or more communication buses 34 . The processor 31 is used to execute executable modules stored in the memory 33, such as software function modules or computer programs included in the device.

输入输出单元用于提供给用户创建任务以及为该任务创建启动可选时段或预设执行时间以实现用户与服务器的交互。输入输出单元可以是,但不限于,鼠标和键盘等。The input and output unit is used to provide the user with creating a task and creating a start-up selectable period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit may be, but not limited to, a mouse and a keyboard, and the like.

可以理解,图3所示的结构仅为示意,电子设备还可包括比图3中所示更多或者更少的组件,或者具有与图3所示不同的配置。图3中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 3 is only for illustration, and the electronic device may further include more or less components than those shown in FIG. 3 , or have different configurations than those shown in FIG. 3 . Each component shown in FIG. 3 can be implemented in hardware, software, or a combination thereof.

另外,本申请实施例还提供一种计算机可读存储介质,其存储有计算机程序,该计算机程序被处理器执行时实现实施例一的无线通信的帧定时同步方法。In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the frame timing synchronization method for wireless communication according to the first embodiment.

本申请实施例还提供一种计算机程序产品,该计算机程序产品在计算机上运行时,使得计算机执行方法实施例所述的方法。Embodiments of the present application further provide a computer program product, which, when running on a computer, enables the computer to execute the method described in the method embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本申请的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的装置来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architectures, functions and possible implementations of apparatuses, methods and computer program products according to various embodiments of the present application. operate. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by dedicated hardware-based apparatus for performing the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

另外,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

以上所述仅为本申请的实施例而已,并不用于限制本申请的保护范围,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above descriptions are merely examples of the present application, and are not intended to limit the protection scope of the present application. For those skilled in the art, various modifications and changes may be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application. It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

Claims (10)

1. A method of frame timing synchronization for wireless communications, the method comprising:
acquiring a local frame synchronization head sequence;
acquiring air interface data;
performing sliding window cross-correlation processing on the local frame synchronization head sequence and the air interface data to obtain a measurement function;
performing threshold judgment on the metric function to obtain an index value set;
and carrying out maximum value judgment on the index value set to obtain a frame synchronization position.
2. The method for frame timing synchronization of wireless communication according to claim 1, wherein the step of acquiring the local frame synchronization header sequence comprises:
acquiring a first length sequence;
zero padding operation is carried out on the first length sequence to obtain a second length sequence;
and performing inverse discrete Fourier transform on the second length sequence to obtain the local frame synchronization head sequence.
3. The method of claim 1, wherein the step of performing threshold decision on the metric function to obtain a set of index values comprises:
carrying out fixed threshold judgment on the metric function to obtain the metric function after the fixed threshold judgment;
performing dynamic threshold judgment on the metric function to obtain the metric function after the dynamic threshold judgment;
and obtaining the index value set according to the metric function after the fixed threshold value judgment and the metric function after the dynamic threshold value judgment.
4. The method of claim 3, wherein the step of performing a fixed threshold decision on the metric function to obtain the metric function after the fixed threshold decision comprises:
acquiring a fixed threshold value;
and carrying out fixed threshold judgment on the measurement function according to the fixed threshold, and obtaining the measurement function after the fixed threshold judgment.
5. The method of claim 3, wherein the step of performing a dynamic threshold decision on the metric function to obtain the metric function after the dynamic threshold decision comprises:
acquiring a dynamic threshold value;
and performing dynamic threshold value judgment on the metric function according to the dynamic threshold value to obtain the metric function after the dynamic threshold value judgment.
6. The method of claim 1, wherein the step of performing a maximum value decision on the index value set to obtain a frame synchronization position comprises:
obtaining a measurement function value in the index value set;
and selecting an index value corresponding to the maximum metric function value in the metric function values as the frame synchronization position.
7. The method of claim 1, wherein the metric function is obtained by performing a sliding window cross-correlation on the local frame synchronization header sequence and the null data according to the following formula:
Figure FDA0003753081670000021
Figure FDA0003753081670000022
Figure FDA0003753081670000023
Figure FDA0003753081670000024
wherein D (k) is the metric function, R (k) is the sliding window cross-correlation operation result, P 1 Synchronizing the power sum of header sequences for said local frames, P 2 (k) And for the power sum of the air interface data, x (N) is the local frame synchronization header sequence, r (N) is the air interface data, N is the window length, i is the sample sequence number corresponding to the window length, and k is the starting point position corresponding to the window during each sliding of the window.
8. The method of claim 5, wherein the dynamic threshold value is obtained by the following formula:
Figure FDA0003753081670000031
wherein λ (k) is the dynamic threshold, μ is the dynamic threshold coefficient, i is the sample number corresponding to the window length, k is the starting point position corresponding to the window during each sliding window, M is the accumulated length of the metric function, and D (k) is the metric function (k is assigned as
Figure FDA0003753081670000032
)。
9. An apparatus for frame timing synchronization for wireless communication, the apparatus comprising:
the acquisition module is used for acquiring a local frame synchronization header sequence; the data acquisition module is also used for acquiring air interface data;
a sliding window cross-correlation module, configured to perform sliding window cross-correlation processing according to the local frame synchronization header sequence and air interface data to obtain a metric function;
the decision module is used for carrying out threshold decision on the metric function to obtain an index value set;
and the selection module is used for carrying out maximum value judgment on the index value set to obtain a frame synchronization position.
10. An electronic device, comprising a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the frame timing synchronization method for wireless communication according to any one of claims 1 to 8.
CN202210849937.0A 2022-07-19 2022-07-19 Frame timing synchronization method, device and electronic device for wireless communication Active CN115226197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210849937.0A CN115226197B (en) 2022-07-19 2022-07-19 Frame timing synchronization method, device and electronic device for wireless communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210849937.0A CN115226197B (en) 2022-07-19 2022-07-19 Frame timing synchronization method, device and electronic device for wireless communication

Publications (2)

Publication Number Publication Date
CN115226197A true CN115226197A (en) 2022-10-21
CN115226197B CN115226197B (en) 2024-12-20

Family

ID=83612676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210849937.0A Active CN115226197B (en) 2022-07-19 2022-07-19 Frame timing synchronization method, device and electronic device for wireless communication

Country Status (1)

Country Link
CN (1) CN115226197B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117295149A (en) * 2023-11-23 2023-12-26 西华大学 Frame synchronization method and system based on low-complexity ELM assistance

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020044619A1 (en) * 2000-10-13 2002-04-18 Satoshi Kobori Synchronism judgment apparatus and communication system
JP2009284166A (en) * 2008-05-21 2009-12-03 Nippon Telegr & Teleph Corp <Ntt> Radio frame synchronization circuit
WO2011120212A1 (en) * 2010-03-29 2011-10-06 Murata Manufacturing Co., Ltd Method and apparatus for accurate time synchronization in wireless communication system
CN106487494A (en) * 2015-09-02 2017-03-08 华为技术有限公司 The synchronous method of signal and the device of signal synchronization
CN107911328A (en) * 2017-11-14 2018-04-13 湖北三江航天红林探控有限公司 Frame synchronization judgment device and decision method
WO2019119778A1 (en) * 2017-12-22 2019-06-27 国防科技大学 Anti-interference signal detection and synchronization method for wireless broadband communication system
CN111988108A (en) * 2020-10-22 2020-11-24 南京沁恒微电子股份有限公司 Anti-jamming and high-precision signal synchronization method based on access code in bluetooth receiver
CN113452643A (en) * 2021-08-30 2021-09-28 北京理工大学 Frequency domain frame synchronization method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020044619A1 (en) * 2000-10-13 2002-04-18 Satoshi Kobori Synchronism judgment apparatus and communication system
JP2009284166A (en) * 2008-05-21 2009-12-03 Nippon Telegr & Teleph Corp <Ntt> Radio frame synchronization circuit
WO2011120212A1 (en) * 2010-03-29 2011-10-06 Murata Manufacturing Co., Ltd Method and apparatus for accurate time synchronization in wireless communication system
CN106487494A (en) * 2015-09-02 2017-03-08 华为技术有限公司 The synchronous method of signal and the device of signal synchronization
CN107911328A (en) * 2017-11-14 2018-04-13 湖北三江航天红林探控有限公司 Frame synchronization judgment device and decision method
WO2019119778A1 (en) * 2017-12-22 2019-06-27 国防科技大学 Anti-interference signal detection and synchronization method for wireless broadband communication system
CN111988108A (en) * 2020-10-22 2020-11-24 南京沁恒微电子股份有限公司 Anti-jamming and high-precision signal synchronization method based on access code in bluetooth receiver
CN113452643A (en) * 2021-08-30 2021-09-28 北京理工大学 Frequency domain frame synchronization method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CCL/ITRI: "R1-99b03 "MAC Procedures for CPCH"", 3GPP TSG_RAN\\WG1_RL1, no. 1, 25 August 1999 (1999-08-25) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117295149A (en) * 2023-11-23 2023-12-26 西华大学 Frame synchronization method and system based on low-complexity ELM assistance
CN117295149B (en) * 2023-11-23 2024-01-30 西华大学 A low-complexity ELM-assisted frame synchronization method and system

Also Published As

Publication number Publication date
CN115226197B (en) 2024-12-20

Similar Documents

Publication Publication Date Title
CN112671431B (en) Synchronization method, device, device and medium based on partial spread spectrum synchronization sequence
CN111641420B (en) Signal detection and acquisition method, device, receiver and storage medium
CN112865891B (en) PUCCH signal detection method, apparatus, communication device and storage medium
KR101041170B1 (en) Apparatus and method for initial minority frequency offset estimation in broadband wireless access communication system
CN114785653A (en) Symbol synchronization method, system, equipment and readable storage medium
CN115226197A (en) Frame timing synchronization method, device and electronic device for wireless communication
US20240267767A1 (en) State detection method and apparatus, terminal, and storage medium
CN112543162A (en) Short wave communication time-frequency joint synchronization method based on Costas sequence
US10356719B2 (en) Skip-correlation based symmetric carrier sensing with multiple power levels
CN109981482B (en) Audio processing method and device
CN108847905A (en) A kind of multichannel fanaticism number detects the adaptive threshold detecting method in receiving
US10404493B2 (en) Method for estimating channel by base station in mobile communication system and device therefor
US10187243B2 (en) Preamble sequence generating method, timing synchronization method, and device
CN101640790B (en) Frame header identification method and system
CN106685477B (en) The anti-different location interference DSSS signal acquisition methods and receiver reinforced based on detection
CN118200102A (en) Frame signal detection method and device based on HPLC dual-mode wired system
CN115065986B (en) Wi-Fi signal processing method and device, electronic equipment and storage medium
JP6501999B2 (en) Packet format estimation device and packet format estimation program
CN113014362B (en) Preamble sequence detection method, device, equipment and storage medium
TWI575896B (en) Signal Detection Method and Device
CN106850481B (en) A kind of method and searcher of frame header position search
KR100843340B1 (en) WCL sequence detection apparatus and method thereof for wireless communication system
CN111615187A (en) Wireless signal synchronization method
CN116055004B (en) Communication signal code element rate blind estimation method based on synchronous extrusion wavelet transformation
CN115643146B (en) Data processing device, method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant