[go: up one dir, main page]

CN118764153A - Multiframe synchronization method, device, equipment and storage medium of GSM system - Google Patents

Multiframe synchronization method, device, equipment and storage medium of GSM system Download PDF

Info

Publication number
CN118764153A
CN118764153A CN202411255020.3A CN202411255020A CN118764153A CN 118764153 A CN118764153 A CN 118764153A CN 202411255020 A CN202411255020 A CN 202411255020A CN 118764153 A CN118764153 A CN 118764153A
Authority
CN
China
Prior art keywords
synchronization
point
burst
baseband signal
signal
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
CN202411255020.3A
Other languages
Chinese (zh)
Other versions
CN118764153B (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.)
Nexwise Intelligence China Ltd
Original Assignee
Nexwise Intelligence China Ltd
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 Nexwise Intelligence China Ltd filed Critical Nexwise Intelligence China Ltd
Priority to CN202411255020.3A priority Critical patent/CN118764153B/en
Publication of CN118764153A publication Critical patent/CN118764153A/en
Application granted granted Critical
Publication of CN118764153B publication Critical patent/CN118764153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details
    • H04L7/0087Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection

Landscapes

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

Abstract

本发明涉及通信技术领域,提供一种GSM系统的复帧同步方法、装置、设备及存储介质,所述方法包括:接收基站发送的通信信号,并获取所述通信信号的基带信号;基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;根据所述精同步点对所述基带信号进行复帧同步。基于GSM帧结构特点,通过峰值比算法提高了对频率校正突发的检测准确性,以及通过能量比算法提高了对同步突发的检测准确性,在粗同步搜索的基础上进行精同步搜索,确定复帧同步位置,确保了复帧同步的准确性。

The present invention relates to the field of communication technology, and provides a multi-frame synchronization method, device, equipment and storage medium of a GSM system, the method comprising: receiving a communication signal sent by a base station, and acquiring a baseband signal of the communication signal; performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm, detecting the position of a frequency correction burst to determine a coarse synchronization point; performing a fine synchronization search on the baseband signal based on an energy ratio algorithm and the coarse synchronization point, detecting the position of a synchronization burst to determine a fine synchronization point; performing multi-frame synchronization on the baseband signal according to the fine synchronization point. Based on the characteristics of the GSM frame structure, the detection accuracy of the frequency correction burst is improved by the peak ratio algorithm, and the detection accuracy of the synchronization burst is improved by the energy ratio algorithm, and a fine synchronization search is performed on the basis of the coarse synchronization search to determine the multi-frame synchronization position, thereby ensuring the accuracy of the multi-frame synchronization.

Description

GSM系统的复帧同步方法、装置、设备及存储介质Multiframe synchronization method, device, equipment and storage medium of GSM system

技术领域Technical Field

本发明涉及通信技术领域,尤其涉及一种GSM系统的复帧同步方法、装置、设备及存储介质。The present invention relates to the field of communication technology, and in particular to a multiframe synchronization method, device, equipment and storage medium of a GSM system.

背景技术Background Art

GSM(Global System for Mobile Communications,全球移动通信系统)属于第二代移动通信,广泛应用于全球移动终端的通信。GSM系统采用GMSK(Gaussian FilteredMinimum Shift Keying,高斯最小频移键控)的调制方式,其帧结构包括五个层次:超高帧、超帧、复帧、TDMA(Time Division Multiple Access,时分多址)帧及时隙。其中,TDMA帧是通信技术中的基本单元,由多个时隙组成,每个时隙分配给一个用户进行通信。这种帧结构确保了不同用户的数据在时间上不会重叠,从而避免了信号的干扰,而TDMA帧的设计考虑了GSM系统的同步和定时,以确保每个用户在指定的时隙内传输数据。GSM (Global System for Mobile Communications) belongs to the second generation of mobile communications and is widely used in communications of mobile terminals around the world. The GSM system adopts GMSK (Gaussian Filtered Minimum Shift Keying) modulation, and its frame structure includes five levels: ultra-high frame, superframe, multiframe, TDMA (Time Division Multiple Access) frame and time slot. Among them, TDMA frame is the basic unit in communication technology, consisting of multiple time slots, each of which is allocated to a user for communication. This frame structure ensures that the data of different users will not overlap in time, thereby avoiding signal interference, and the design of TDMA frame takes into account the synchronization and timing of the GSM system to ensure that each user transmits data within the specified time slot.

目前,对于GSM系统的同步,是侦听附近基站空口数据,通过捕获FB和SB序列或者解调处理得到时隙同步点,进行时隙同步,而无法实现GSM系统的复帧同步。Currently, the synchronization of the GSM system is performed by listening to the air interface data of the nearby base station, capturing the FB and SB sequences or demodulating to obtain the time slot synchronization point, and performing time slot synchronization, but the multiframe synchronization of the GSM system cannot be achieved.

发明内容Summary of the invention

本发明提供一种GSM系统的复帧同步方法、装置、设备及存储介质,用以解决现有技术无法实现对GSM系统进行复帧同步的缺陷,实现对GSM系统的复帧同步。The present invention provides a multiframe synchronization method, device, equipment and storage medium of a GSM system, which are used to solve the defect that the prior art cannot realize multiframe synchronization of the GSM system and realize multiframe synchronization of the GSM system.

本发明提供一种GSM系统的复帧同步方法,包括:The present invention provides a multiframe synchronization method for a GSM system, comprising:

接收基站发送的通信信号,并获取所述通信信号的基带信号;Receiving a communication signal sent by a base station and acquiring a baseband signal of the communication signal;

基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;Performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm to detect the position of a frequency correction burst to determine a coarse synchronization point;

基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;Based on the energy ratio algorithm and the coarse synchronization point, the baseband signal is subjected to a fine synchronization search to detect the position of the synchronization burst to determine the fine synchronization point;

根据所述精同步点对所述基带信号进行复帧同步。The baseband signal is multi-frame synchronized according to the fine synchronization point.

根据本发明提供的GSM系统的复帧同步方法,所述基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点,包括:According to the multiframe synchronization method of the GSM system provided by the present invention, the baseband signal is subjected to a coarse synchronization search based on a peak ratio algorithm, and the position of the frequency correction burst is detected to determine the coarse synchronization point, including:

获取所述基带信号的采样率,根据所述采样率确定第一窗口尺寸;所述第一窗口尺寸对应第一数量的采样点;Acquire a sampling rate of the baseband signal, and determine a first window size according to the sampling rate; the first window size corresponds to a first number of sampling points;

基于所述第一窗口尺寸对所述基带信号进行滑窗处理,并基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量;Performing sliding window processing on the baseband signal based on the first window size, and performing fast Fourier transform processing on the first target sampling point in the current window based on a peak ratio algorithm to calculate the peak energy of the first target sampling point;

计算所述峰值能量与所述基带信号的总能量的比值,得到所述第一目标采样点的峰值比;Calculating a ratio of the peak energy to the total energy of the baseband signal to obtain a peak ratio of the first target sampling point;

根据所述峰值比确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;determining, according to the peak ratio, whether a first signal segment corresponding to the first target sampling point includes a frequency correction burst;

若不包含,则基于预设的第一滑动步长对所述当前窗口进行滑动处理,以对所述基带信号进行粗同步搜索,返回并执行所述基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量的步骤,直到所述第一目标采样点对应的第一信号段中包含有频率校正突发时,根据所述频率校正突发的位置确定粗同步点。If not included, the current window is slid based on a preset first sliding step size to perform a coarse synchronization search on the baseband signal, and the step of performing a fast Fourier transform process on the first target sampling point in the current window based on the peak ratio algorithm to calculate the peak energy of the first target sampling point is returned and executed, until the first signal segment corresponding to the first target sampling point contains a frequency correction burst, and the coarse synchronization point is determined according to the position of the frequency correction burst.

根据本发明提供的GSM系统的复帧同步方法,所述根据所述峰值比确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发,包括:According to the multiframe synchronization method of the GSM system provided by the present invention, determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the peak ratio includes:

将所述峰值比与预设的第一门限值进行比较;Comparing the peak value ratio with a preset first threshold value;

根据比较结果确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;Determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the comparison result;

其中,若所述峰值比大于所述第一门限值,则所述第一目标采样点对应的第一信号段中包含有频率校正突发,若所述峰值比小于或等于所述第一门限值,则所述第一目标采样点对应的第一信号段中不包含频率校正突发。Among them, if the peak ratio is greater than the first threshold value, the first signal segment corresponding to the first target sampling point contains a frequency correction burst; if the peak ratio is less than or equal to the first threshold value, the first signal segment corresponding to the first target sampling point does not contain a frequency correction burst.

根据本发明提供的GSM系统的复帧同步方法,所述基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点,包括:According to the multiframe synchronization method of the GSM system provided by the present invention, the baseband signal is subjected to a fine synchronization search based on the energy ratio algorithm and the coarse synchronization point, and the position of the synchronization burst is detected to determine the fine synchronization point, including:

根据所述采样率确定第二窗口尺寸;所述第二窗口尺寸对应第二数量的采样点;Determine a second window size according to the sampling rate; the second window size corresponds to a second number of sampling points;

以所述粗同步点为精同步搜索的起点,基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索;Taking the coarse synchronization point as a starting point for fine synchronization search, and performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal;

在滑窗处理的过程中,基于能量比算法对当前窗口内的第二目标采样点进行相关运算,以计算所述第二目标采样点的相关能量值;During the sliding window processing, a correlation operation is performed on the second target sampling point in the current window based on an energy ratio algorithm to calculate a correlation energy value of the second target sampling point;

计算所述相关能量值与所述基带信号的总能量值的比值,得到所述第二目标采样点的能量比;Calculating a ratio of the correlation energy value to a total energy value of the baseband signal to obtain an energy ratio of the second target sampling point;

根据所述能量比检测同步突发的位置,以确定精同步点。The position of the synchronization burst is detected according to the energy ratio to determine a fine synchronization point.

根据本发明提供的GSM系统的复帧同步方法,所述根据所述能量比检测同步突发的位置,以确定精同步点,包括:According to the multiframe synchronization method of the GSM system provided by the present invention, the detecting the position of the synchronization burst according to the energy ratio to determine the fine synchronization point includes:

将所述能量比与预设的第二门限值进行比较;comparing the energy ratio with a preset second threshold value;

根据比较结果确定所述第二目标采样点对应的第二信号段中是否包含有同步突发;Determine whether the second signal segment corresponding to the second target sampling point contains a synchronization burst according to the comparison result;

若所述第二信号段不包含同步突发,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述第二信号段中包含同步突发时,根据所述同步突发的位置确定精同步点;If the second signal segment does not include a synchronization burst, returning to and executing the step of performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal, until the second signal segment includes a synchronization burst, and determining a fine synchronization point according to the position of the synchronization burst;

其中,若所述能量比大于预设的第二门限值,则所述第二目标采样点对应的第二信号段中包含有同步突发,若所述能量比小于或等于预设的第二门限值,则所述第二目标采样点对应的第二信号段中不包含同步突发。Among them, if the energy ratio is greater than a preset second threshold value, the second signal segment corresponding to the second target sampling point contains a synchronization burst; if the energy ratio is less than or equal to the preset second threshold value, the second signal segment corresponding to the second target sampling point does not contain a synchronization burst.

根据本发明提供的GSM系统的复帧同步方法,所述根据所述同步突发的位置确定精同步点,包括:According to the multiframe synchronization method of the GSM system provided by the present invention, the determining of the fine synchronization point according to the position of the synchronization burst comprises:

根据所述同步突发的位置确定第一候选同步点;所述同步突发包括多个,任一所述同步突发的位置对应一候选同步点;Determine a first candidate synchronization point according to the position of the synchronization burst; the synchronization burst includes a plurality of synchronization bursts, and the position of any synchronization burst corresponds to a candidate synchronization point;

计算所述第一候选同步点与第二候选同步点之间的位置差;其中,所述第二候选同步点是与所述第一候选同步点相邻,且在所述第一候选同步点之前的候选同步点;所述位置差对应第一预设数量的时分多址帧,或者,所述位置差对应第二预设数量的时分多址帧;Calculating a position difference between the first candidate synchronization point and a second candidate synchronization point; wherein the second candidate synchronization point is a candidate synchronization point adjacent to the first candidate synchronization point and before the first candidate synchronization point; the position difference corresponds to a first preset number of time division multiple access frames, or the position difference corresponds to a second preset number of time division multiple access frames;

若所述位置差对应第一预设数量的时分多址帧,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述位置差对应第二预设数量的时分多址帧时,根据所述第一候选同步点的位置确定精同步点。If the position difference corresponds to a first preset number of time division multiple access frames, return to and execute the step of performing sliding window processing on the baseband signal based on the second window size to perform a fine synchronization search on the baseband signal, until the position difference corresponds to a second preset number of time division multiple access frames, and determine the fine synchronization point according to the position of the first candidate synchronization point.

根据本发明提供的GSM系统的复帧同步方法,所述获取所述通信信号的基带信号,包括:According to the multiframe synchronization method of the GSM system provided by the present invention, the baseband signal of the communication signal is obtained, including:

对所述通信信号进行数字化处理,得到数字中频信号;所述数字化处理包括滤波、混频和中频模拟信号;Digitally process the communication signal to obtain a digital intermediate frequency signal; the digital processing includes filtering, mixing and intermediate frequency analog signal;

对所述数字中频信号进行数字混频处理,得到零中频数字信号;Performing digital mixing processing on the digital intermediate frequency signal to obtain a zero intermediate frequency digital signal;

基于预设的采样率,对所述零中频数字信号进行采样处理,得到基带信号。Based on a preset sampling rate, the zero intermediate frequency digital signal is sampled to obtain a baseband signal.

本发明还提供一种GSM系统的复帧同步装置,包括:The present invention also provides a multiframe synchronization device for a GSM system, comprising:

信号获取模块,用于接收基站发送的通信信号,并获取所述通信信号的基带信号;A signal acquisition module, used to receive a communication signal sent by a base station and acquire a baseband signal of the communication signal;

粗同步搜索模块,用于基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;A coarse synchronization search module, used for performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm, detecting the position of the frequency correction burst, so as to determine a coarse synchronization point;

精同步搜索模块,用于基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;A fine synchronization search module, configured to perform a fine synchronization search on the baseband signal based on an energy ratio algorithm and the coarse synchronization point, detect the position of the synchronization burst, and determine the fine synchronization point;

复帧同步模块,用于根据所述精同步点对所述基带信号进行复帧同步。The multi-frame synchronization module is used to perform multi-frame synchronization on the baseband signal according to the fine synchronization point.

本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述任一种所述的GSM系统的复帧同步方法的步骤。The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the multi-frame synchronization method of the GSM system as described above are implemented.

本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述的GSM系统的复帧同步方法的步骤。The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the multi-frame synchronization method of the GSM system as described in any one of the above are implemented.

本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述的GSM系统的复帧同步方法的步骤。The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the multi-frame synchronization method of the GSM system as described above are implemented.

本发明提供的GSM系统的复帧同步方法、装置、设备、存储介质,通过峰值比算法检测频率校正突发的位置,对基带信号进行粗同步搜索,确定粗同步点,并在此基础上,基于能量比算法检测同步突发位置,通过精同步搜索,确定精同步点,得到复帧同步点的位置,实现复帧同步。基于GSM帧结构特点,通过峰值比算法提高了对频率校正突发的检测准确性,以及通过能量比算法提高了对同步突发的检测准确性,在粗同步搜索的基础上进行精同步搜索,确定复帧同步位置,确保了复帧同步的准确性。The multi-frame synchronization method, device, equipment, and storage medium of the GSM system provided by the present invention detect the position of the frequency correction burst through the peak ratio algorithm, perform a coarse synchronization search on the baseband signal, determine the coarse synchronization point, and on this basis, detect the synchronization burst position based on the energy ratio algorithm, determine the fine synchronization point through fine synchronization search, obtain the position of the multi-frame synchronization point, and realize multi-frame synchronization. Based on the characteristics of the GSM frame structure, the detection accuracy of the frequency correction burst is improved through the peak ratio algorithm, and the detection accuracy of the synchronization burst is improved through the energy ratio algorithm. On the basis of the coarse synchronization search, a fine synchronization search is performed to determine the multi-frame synchronization position, thereby ensuring the accuracy of the multi-frame synchronization.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1是本发明提供的GSM系统的复帧同步方法的流程示意图。FIG1 is a schematic flow chart of a multiframe synchronization method for a GSM system provided by the present invention.

图2是本发明提供的同步突发序列的示意图。FIG. 2 is a schematic diagram of a synchronous burst sequence provided by the present invention.

图3是本发明提供的粗同步搜索流程示意图。FIG3 is a schematic diagram of a rough synchronization search process provided by the present invention.

图4是本发明提供的精同步搜索流程示意图之一。FIG. 4 is one of the schematic diagrams of the precise synchronization search process provided by the present invention.

图5是本发明提供的精同步搜索流程示意图之二。FIG. 5 is a second schematic diagram of the precise synchronization search process provided by the present invention.

图6是本 发明提供的GSM系统的复帧同步装置的结构示意图。FIG6 is a schematic diagram of the structure of the multiframe synchronization device of the GSM system provided by the present invention.

图7是本发明提供的电子设备的结构示意图。FIG. 7 is a schematic diagram of the structure of an electronic device provided by the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

需要说明的是,在GSM系统的五个层次的帧结构中,每个超高帧由2715648个连续TDMA帧组成。同时,每个超高帧由2048个连续超帧组成,每个超帧由51个连续26复帧或26个连续51复帧组成,两种复帧的设定旨在满足不同速率的信息传输需求。其中,26复帧由26个连续TDMA帧组成,时间间隔为120ms,主要用于TCH(Traffic Channel,业务信道)、SACCH(Slow Associated Control Channel 慢速随路控制信道)及FACCH(Fast AssociatedControl Channel,快速随路控制信道)等;常见的51复帧由51个TDMA帧组成,时间间隔为235.385ms,主要用于BCCH(Broadcast Control Channel,广播控制信道)与CCCH(CommonControl Channel ,公共控制信道)等。120ms为26个TDMA帧,一个TDMA帧为4.616ms,共有8个时隙TS0到TS7,每个时隙为0.577ms,每个时隙对应156.25比特,则码率为156.25/(120/26/8)=270.8333KB,不存在过采样时,一个TDMA帧为156.258=1250点。It should be noted that in the five-level frame structure of the GSM system, each superframe consists of 2715648 consecutive TDMA frames. At the same time, each superframe consists of 2048 consecutive superframes, and each superframe consists of 51 consecutive 26-multiframes or 26 consecutive 51-multiframes. The two multiframe settings are designed to meet the information transmission requirements of different rates. Among them, the 26-multiframe consists of 26 consecutive TDMA frames with a time interval of 120ms, which is mainly used for TCH (Traffic Channel), SACCH (Slow Associated Control Channel) and FACCH (Fast Associated Control Channel); the common 51-multiframe consists of 51 TDMA frames with a time interval of 235.385ms, which is mainly used for BCCH (Broadcast Control Channel) and CCCH (Common Control Channel). 120ms is 26 TDMA frames, one TDMA frame is 4.616ms, there are 8 time slots TS0 to TS7, each time slot is 0.577ms, each time slot corresponds to 156.25 bits, then the code rate is 156.25/(120/26/8)=270.8333KB, when there is no oversampling, one TDMA frame is 156.25 8=1250 points.

进一步地,在GSM系统中,FCCH(Frequency Correction Channel,频率校正信道)的脉冲为FB(Frequency Correction Burst,频率校正突发脉冲)序列,用于同步频率;SCH(Synchronization Channel,同步信道)的脉冲为SB(Synchronization Burst,同步突发脉冲)序列,用以解出TDMA帧号和BSIC(Base Station Identity Code,基站识别码)码;BCCH和CCCH的脉冲为NB(Normal Burst,普通突发脉冲)序列,用以解出小区通用信息和接受寻呼和接入;IDLE是不包含有用信息的空闲帧,其脉冲为DB(Dummy Burst,空闲突发脉冲)序列。Furthermore, in the GSM system, the pulse of FCCH (Frequency Correction Channel) is the FB (Frequency Correction Burst) sequence, which is used for frequency synchronization; the pulse of SCH (Synchronization Channel) is the SB (Synchronization Burst) sequence, which is used to decode the TDMA frame number and BSIC (Base Station Identity Code) code; the pulse of BCCH and CCCH is the NB (Normal Burst) sequence, which is used to decode the general information of the cell and receive paging and access; IDLE is an idle frame that does not contain useful information, and its pulse is the DB (Dummy Burst) sequence.

基于GSM系统的上述帧结构,本发明实施例提供一种GSM系统的复帧同步方法,基于FPGA(Field Programmable Gate Array,现场可编程门阵列)架构,实现对GSM系统的复帧同步。具体地,图1是本发明提供的GSM系统的复帧同步方法的流程示意图,如图1所示,该方法包括如下步骤:Based on the above frame structure of the GSM system, an embodiment of the present invention provides a multi-frame synchronization method of the GSM system, which is based on an FPGA (Field Programmable Gate Array) architecture to achieve multi-frame synchronization of the GSM system. Specifically, FIG1 is a flow chart of the multi-frame synchronization method of the GSM system provided by the present invention. As shown in FIG1, the method includes the following steps:

步骤100,接收基站发送的通信信号,并获取所述通信信号的基带信号;Step 100, receiving a communication signal sent by a base station, and acquiring a baseband signal of the communication signal;

步骤200,基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;Step 200, performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm, detecting the position of the frequency correction burst to determine a coarse synchronization point;

步骤300,基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;Step 300, based on the energy ratio algorithm and the coarse synchronization point, perform a fine synchronization search on the baseband signal, detect the position of the synchronization burst, and determine the fine synchronization point;

步骤400,根据所述精同步点对所述基带信号进行复帧同步。Step 400: Perform multi-frame synchronization on the baseband signal according to the fine synchronization point.

接收基站发送的通信信号,该通信信号即GSM信号,获取GSM信号的基带信号。可选的,通过滤波和变频等方式,获取GSM信号的基带信号。Receive a communication signal sent by a base station, the communication signal being a GSM signal, and obtain a baseband signal of the GSM signal. Optionally, obtain the baseband signal of the GSM signal by filtering and frequency conversion.

基于峰值比算法对基带信号进行粗同步搜索,检测频率校正突发(FCCH帧的脉冲序列)的位置,以确定粗同步点,该粗同步点表征了复帧同步的大概位置。A coarse synchronization search is performed on the baseband signal based on a peak ratio algorithm to detect the position of the frequency correction burst (the pulse sequence of the FCCH frame) to determine the coarse synchronization point, which represents the approximate position of the multiframe synchronization.

在粗同步搜索的基础上,基于能量比算法,对基带信号进行精同步搜索,检测同步突发(SCH帧的脉冲序列)的位置,以确定精同步点,该精同步点即为复帧同步点,也即复帧同步位置。On the basis of the coarse synchronization search, a fine synchronization search is performed on the baseband signal based on the energy ratio algorithm to detect the position of the synchronization burst (the pulse sequence of the SCH frame) to determine the fine synchronization point, which is the multiframe synchronization point, that is, the multiframe synchronization position.

根据精同步点所在的位置,对基带信号进行复帧同步,在本实施例中,复帧同步主要用于51复帧同步,复帧同步点为51复帧同步点。可选的,复帧同步旨在解决各路标志信令的错路问题,‌通过确保随路信令中各路标志信令在一个复帧的TS16上都有各自确定的位置来实现。如果复帧不同步,标志信令就会错路,导致通信无法进行。复帧同步通过确保每个标志信令在复帧中的特定位置,有效地避免了通信中断,保证了通信的连续性和可靠性,确保了接收端能够准确地识别和分路数字信号,从而维持了通信的质量和效率。According to the position of the fine synchronization point, the baseband signal is synchronized with the multiframe. In the present embodiment, the multiframe synchronization is mainly used for the 51 multiframe synchronization, and the multiframe synchronization point is the 51 multiframe synchronization point. Optionally, the multiframe synchronization is intended to solve the problem of misrouting of the flag signals of each channel, and is achieved by ensuring that each flag signal in the accompanying signal has its own determined position on TS16 of a multiframe. If the multiframe is not synchronized, the flag signal will be misrouted, resulting in the inability to communicate. Multiframe synchronization effectively avoids communication interruptions by ensuring that each flag signal is in a specific position in the multiframe, ensures the continuity and reliability of communication, and ensures that the receiving end can accurately identify and demultiplex digital signals, thereby maintaining the quality and efficiency of communication.

可选的,FCCH帧是全零的序列,经过GMSK调制之后的信号是特定频率下的标准正弦波,其频谱具有尖锐的单峰特性,因此,基于峰值比算法的粗同步搜索通过检测单峰值来检测FCCH帧的突发序列,从而确定粗同步点。Optionally, the FCCH frame is a sequence of all zeros, and the signal after GMSK modulation is a standard sine wave at a specific frequency, and its spectrum has a sharp single-peak characteristic. Therefore, the coarse synchronization search based on the peak ratio algorithm detects the burst sequence of the FCCH frame by detecting the single peak value, thereby determining the coarse synchronization point.

可选的,SCH帧的突发序列携带SCH信道的消息,用于终端与基站的同步,SCH突发序列含有64比特的训练序列,所有SCH突发序列的训练序列都相同,即为:{1011100101100010000001000000111100101101010001010111011000011011},SCH帧的突发序列的组成如图2所示,包括两个3尾比特、两个39信息比特、一个64训练序列和一个8.25保护比特。其中,两个39信息比特中包括TDMA帧号等信息,是终端同步的基础,因此是终端开机工作后第一个需要解调的突发序列,利用SCH信道中的训练序列具有良好的相关性的特点确定精同步点。Optionally, the burst sequence of the SCH frame carries the message of the SCH channel, which is used for the synchronization of the terminal and the base station. The SCH burst sequence contains a 64-bit training sequence. The training sequences of all SCH burst sequences are the same, that is, {101110010110001000000100000011110010110101000101010111011000011011}. The composition of the burst sequence of the SCH frame is shown in FIG2, including two 3 tail bits, two 39 information bits, a 64 training sequence and an 8.25 protection bit. Among them, the two 39 information bits include information such as the TDMA frame number, which is the basis for terminal synchronization. Therefore, it is the first burst sequence that needs to be demodulated after the terminal is turned on. The training sequence in the SCH channel has the characteristic of good correlation to determine the precise synchronization point.

在本实施例中,通过峰值比算法检测频率校正突发的位置,对基带信号进行粗同步搜索,确定粗同步点,并在此基础上,基于能量比算法检测同步突发位置,通过精同步搜索,确定精同步点,得到复帧同步点的位置,实现复帧同步。基于GSM帧结构特点,通过峰值比算法提高了对频率校正突发的检测准确性,以及通过能量比算法提高了对同步突发的检测准确性,在粗同步搜索的基础上进行精同步搜索,确定复帧同步位置,确保了复帧同步的准确性。In this embodiment, the position of the frequency correction burst is detected by the peak ratio algorithm, the baseband signal is subjected to a coarse synchronization search, the coarse synchronization point is determined, and on this basis, the synchronization burst position is detected based on the energy ratio algorithm, the fine synchronization point is determined through a fine synchronization search, the position of the multi-frame synchronization point is obtained, and multi-frame synchronization is achieved. Based on the characteristics of the GSM frame structure, the detection accuracy of the frequency correction burst is improved by the peak ratio algorithm, and the detection accuracy of the synchronization burst is improved by the energy ratio algorithm. On the basis of the coarse synchronization search, a fine synchronization search is performed to determine the multi-frame synchronization position, thereby ensuring the accuracy of the multi-frame synchronization.

在一个实施例中,获取GSM信号的基带信号,是通过数字化处理和混频处理得到的,具体地,步骤100中,获取通信信号的基带信号,包括:In one embodiment, the baseband signal of the GSM signal is obtained by digital processing and mixing processing. Specifically, in step 100, the baseband signal of the communication signal is obtained, including:

步骤110,对所述通信信号进行数字化处理,得到数字中频信号;所述数字化处理包括滤波、混频和中频模拟信号;Step 110, digitally process the communication signal to obtain a digital intermediate frequency signal; the digital processing includes filtering, mixing and intermediate frequency analog signal;

步骤120,对所述数字中频信号进行数字混频处理,得到零中频数字信号;Step 120, performing digital mixing processing on the digital intermediate frequency signal to obtain a zero intermediate frequency digital signal;

步骤130,基于预设的采样率,对所述零中频数字信号进行采样处理,得到基带信号。Step 130: sampling the zero intermediate frequency digital signal based on a preset sampling rate to obtain a baseband signal.

对接收到的GSM信号进行数字化处理,将GSM系统的通信信号转化为数字中频信号,其中,数字化处理至少包括滤波、混频和中频模拟信号处理。然后对数字中频信号进行进一步的数字混频处理,得到零中频数字信号,最后,基于预设的采样率,对零中频数字信号进行采样处理,得到基带信号。The received GSM signal is digitized to convert the communication signal of the GSM system into a digital intermediate frequency signal, wherein the digital processing at least includes filtering, mixing and intermediate frequency analog signal processing. Then the digital intermediate frequency signal is further digitally mixed to obtain a zero intermediate frequency digital signal, and finally, based on a preset sampling rate, the zero intermediate frequency digital signal is sampled to obtain a baseband signal.

在一个实施例中,粗同步搜索和精同步搜索均是基于对基带信号的滑窗处理实现的。具体地,步骤200中,基于峰值比算法对基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点,包括:In one embodiment, both the coarse synchronization search and the fine synchronization search are implemented based on the sliding window processing of the baseband signal. Specifically, in step 200, the baseband signal is subjected to a coarse synchronization search based on a peak ratio algorithm, and the position of the frequency correction burst is detected to determine the coarse synchronization point, including:

步骤210,获取所述基带信号的采样率,根据所述采样率确定第一窗口尺寸;所述第一窗口尺寸对应第一数量的采样点;Step 210, obtaining a sampling rate of the baseband signal, and determining a first window size according to the sampling rate; the first window size corresponds to a first number of sampling points;

步骤220,基于所述第一窗口尺寸对所述基带信号进行滑窗处理,并基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量;Step 220, performing sliding window processing on the baseband signal based on the first window size, and performing fast Fourier transform processing on the first target sampling point in the current window based on a peak ratio algorithm to calculate the peak energy of the first target sampling point;

步骤230,计算所述峰值能量与所述基带信号的总能量的比值,得到所述第一目标采样点的峰值比;Step 230, calculating the ratio of the peak energy to the total energy of the baseband signal to obtain the peak ratio of the first target sampling point;

步骤240,根据所述峰值比确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;Step 240, determining whether a first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the peak ratio;

步骤250,若不包含,则基于预设的第一滑动步长对所述当前窗口进行滑动处理,以对所述基带信号进行粗同步搜索,返回并执行所述基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量的步骤,直到所述第一目标采样点对应的第一信号段中包含有频率校正突发时,根据所述频率校正突发的位置确定粗同步点。Step 250, if not included, then the current window is slid based on a preset first sliding step size to perform a coarse synchronization search on the baseband signal, and the step of performing a fast Fourier transform process on the first target sampling point in the current window based on the peak ratio algorithm to calculate the peak energy of the first target sampling point is returned and executed, until the first signal segment corresponding to the first target sampling point contains a frequency correction burst, and the coarse synchronization point is determined according to the position of the frequency correction burst.

首先,获取基带信号的采样率,根据该采样率确定第一窗口尺寸,第一窗口尺寸对应第一数量的采样点。基于第一窗口尺寸对基带信号进行滑窗处理,基于峰值比算法,对当前窗口内的多个第一目标采样点进行快速傅里叶变换FFT(Fast Fourier transform,快速傅里叶变换)处理,从而计算窗口内的第一目标采样点的峰值能量。First, the sampling rate of the baseband signal is obtained, and a first window size is determined according to the sampling rate, the first window size corresponding to a first number of sampling points. The baseband signal is subjected to sliding window processing based on the first window size, and a plurality of first target sampling points in the current window are subjected to fast Fourier transform (FFT) processing based on a peak ratio algorithm, so as to calculate the peak energy of the first target sampling point in the window.

进一步地,根据计算出的峰值能量,进一步计算该峰值能量与基带信号的总能量的比值,得到第一目标采样点的峰值比,从而根据计算出的峰值比确定第一目标采样点对应的第一信号段中是否包含有频率校正突发,即FCCH突发。若第一信号段中不包含频率校正突发,则基于预设的第一滑动补偿,对当前窗口进行滑动处理,从而对基带信号进行粗同步搜索,重新计算当前窗口内的第一目标采样点的峰值能量,直到根据计算出的峰值比确定第一目标采样点对应的第一信号段中包含FCCH突发时,根据检测到的FCCH突发的位置确定粗同步点。Furthermore, according to the calculated peak energy, the ratio of the peak energy to the total energy of the baseband signal is further calculated to obtain the peak ratio of the first target sampling point, thereby determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst, i.e., an FCCH burst, according to the calculated peak ratio. If the first signal segment does not contain a frequency correction burst, the current window is subjected to sliding processing based on a preset first sliding compensation, thereby performing a coarse synchronization search on the baseband signal, and recalculating the peak energy of the first target sampling point in the current window, until it is determined according to the calculated peak ratio that the first signal segment corresponding to the first target sampling point contains an FCCH burst, and the coarse synchronization point is determined according to the position of the detected FCCH burst.

进一步地,在根据峰值比确定第一信号段中是否包含FCCH突发时,具体是将计算出的峰值比与预设的第一门限值进行比较,根据比较结果确定的。因此,步骤240进一步包括:Further, when determining whether the first signal segment contains an FCCH burst according to the peak ratio, the calculated peak ratio is compared with a preset first threshold value and the determination is made according to the comparison result. Therefore, step 240 further includes:

步骤241,将所述峰值比与预设的第一门限值进行比较;Step 241, comparing the peak ratio with a preset first threshold value;

步骤242,根据比较结果确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;Step 242, determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the comparison result;

其中,若所述峰值比大于所述第一门限值,则所述第一目标采样点对应的第一信号段中包含有频率校正突发,若所述峰值比小于或等于所述第一门限值,则所述第一目标采样点对应的第一信号段中不包含频率校正突发。Among them, if the peak ratio is greater than the first threshold value, the first signal segment corresponding to the first target sampling point contains a frequency correction burst; if the peak ratio is less than or equal to the first threshold value, the first signal segment corresponding to the first target sampling point does not contain a frequency correction burst.

将计算出的峰值比与预设的第一门限值进行比较,根据比较结果确定第一目标采样点对应的第一信号段中是否包含FCCH突发。其中,若计算出的峰值比大于预设的第一门限值,则第一目标采样点对应的第一信号段中包含FCCH突发,否则,若计算出的峰值比小于或等于预设的第一门限值,则第一目标采样点对应的第一信号段中不包含FCCH突发。The calculated peak ratio is compared with a preset first threshold value, and it is determined whether the first signal segment corresponding to the first target sampling point includes an FCCH burst according to the comparison result. If the calculated peak ratio is greater than the preset first threshold value, the first signal segment corresponding to the first target sampling point includes an FCCH burst; otherwise, if the calculated peak ratio is less than or equal to the preset first threshold value, the first signal segment corresponding to the first target sampling point does not include an FCCH burst.

在一个实施例中,参照图3所述的粗同步搜索流程,FCCH帧是全零的脉冲突发序列,经过GMSK调制之后的信号是特定频率的标准正弦波,其频谱具有尖锐的单峰特性。因此,可以通过检测单峰值来检测FCCH突发序列的存在,并确定粗同步点的位置。示例性地,若接收GSM信号的基带信号为4倍过采样,则采样率为1.0833MHz,FCCH信号长度为625(4156.25)个采样点,在滑窗处理的过程中,对窗口内的512个采样点点进行FFT处理。可知地,FCCH频域对应的单峰一般出现在第N=33个采样点附近,在第33个采样点(即峰值点)左右分别再各取10个采样点(共21个采样点)作为计算峰值比的范围。然后将峰值比与预设的第一门限值G0进行比较,如果峰值比大于G0,就可以确定在当前滑窗处理的窗口内检测到了FCCH突发序列,否则,继续对下一个滑动窗口内的采样点进行检测,直到检测到FCCH突发序列为止。In one embodiment, referring to the rough synchronization search process described in FIG3 , the FCCH frame is a pulse burst sequence of all zeros, and the signal after GMSK modulation is a standard sine wave of a specific frequency, and its spectrum has a sharp single peak characteristic. Therefore, the existence of the FCCH burst sequence can be detected by detecting the single peak value, and the position of the rough synchronization point can be determined. For example, if the baseband signal of the received GSM signal is 4 times oversampled, the sampling rate is 1.0833MHz, and the FCCH signal length is 625 (4 156.25) sampling points, during the sliding window processing, the 512 sampling points in the window are subjected to FFT processing. It can be seen that the single peak corresponding to the FCCH frequency domain generally appears near the N=33rd sampling point, and 10 sampling points (a total of 21 sampling points) are taken around the 33rd sampling point (i.e. the peak point) as the range for calculating the peak ratio. Then the peak ratio is compared with the preset first threshold value G0. If the peak ratio is greater than G0, it can be determined that the FCCH burst sequence is detected in the window of the current sliding window processing. Otherwise, the sampling points in the next sliding window are continued to be detected until the FCCH burst sequence is detected.

可选的,在FPGA架构下,粗同步搜索阶段的第一滑动步长定为256个样点,第一门限值G0被配置设定为0.75,如果第一窗口尺寸对应的采样点数量为512,每次对窗口内的512个采样点进行FFT处理,频率分辨率大约为2115Hz,实际设备一般不会有这么大的频偏,因此把第33个采样点的值作为峰值,理论上使用12帧数据就可以搜索到粗同步点,按照256个采样点的滑动步长,最多滑动234次窗口。Optionally, under the FPGA architecture, the first sliding step size of the coarse synchronization search stage is set to 256 sample points, and the first threshold value G0 is configured to be set to 0.75. If the number of sampling points corresponding to the first window size is 512, FFT processing is performed on 512 sampling points in the window each time, and the frequency resolution is approximately 2115 Hz. The actual device generally does not have such a large frequency deviation. Therefore, the value of the 33rd sampling point is taken as the peak value. In theory, the coarse synchronization point can be searched using 12 frames of data. According to the sliding step size of 256 sampling points, the window can be slid up to 234 times.

如图3所示,在粗同步搜索阶段,滑窗处理设有窗口最大滑动次数,该最大滑动次数为预设值,例如234。在计算出的峰值比小于或等于预设的第一门限值G0时,获取窗口滑动次数N,若N小于或等于最大滑动次数对应的第一预设值,则滑动窗口,获取下一组512个采样点进行FFT运算。直到窗口滑动次数大于最大滑动次数对应的第一预设值时完成粗同步搜索,或者,计算出的峰值比大于预设的第一门限值G0时,根据检测到的FCCH突发序列的位置,确定粗同步点的位置,完成粗同步搜索。As shown in FIG3 , in the coarse synchronization search stage, the sliding window processing is provided with a maximum window sliding number, which is a preset value, such as 234. When the calculated peak ratio is less than or equal to the preset first threshold value G0, the window sliding number N is obtained. If N is less than or equal to the first preset value corresponding to the maximum sliding number, the window is slid to obtain the next group of 512 sampling points for FFT operation. The coarse synchronization search is completed until the window sliding number is greater than the first preset value corresponding to the maximum sliding number, or when the calculated peak ratio is greater than the preset first threshold value G0, the position of the coarse synchronization point is determined according to the position of the detected FCCH burst sequence, and the coarse synchronization search is completed.

在一个实施例中,基于粗同步搜索的搜索结果进行精同步搜索,精同步搜索同样采用滑窗处理的方式,具体地,步骤300还可以包括:In one embodiment, a fine synchronization search is performed based on the search results of the coarse synchronization search, and the fine synchronization search also adopts a sliding window processing method. Specifically, step 300 may also include:

步骤310,根据所述采样率确定第二窗口尺寸;所述第二窗口尺寸对应第二数量的采样点;Step 310, determining a second window size according to the sampling rate; the second window size corresponds to a second number of sampling points;

步骤320,以所述粗同步点为精同步搜索的起点,基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索;Step 320, taking the coarse synchronization point as the starting point of fine synchronization search, and performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal;

步骤330,在滑窗处理的过程中,基于能量比算法对当前窗口内的第二目标采样点进行相关运算,以计算所述第二目标采样点的相关能量值;Step 330, during the sliding window processing, performing a correlation operation on the second target sampling point in the current window based on an energy ratio algorithm to calculate a correlation energy value of the second target sampling point;

步骤340,计算所述相关能量值与所述基带信号的总能量值的比值,得到所述第二目标采样点的能量比;Step 340, calculating the ratio of the correlation energy value to the total energy value of the baseband signal to obtain the energy ratio of the second target sampling point;

步骤350,根据所述能量比检测同步突发的位置,以确定精同步点。Step 350: Detect the position of the synchronization burst according to the energy ratio to determine a fine synchronization point.

同样地,根据基带信号的采样率确定第二窗口尺寸,该第二窗口尺寸对应第二数量的采样点,以粗同步搜索得到的粗同步点位精同步搜索的起点,基于第二窗口尺寸对基带信号进行滑窗处理,从而对基带信号进行精同步搜索。在滑窗处理的过程中,基于能量比算法,对当前窗口内的多个第二目标采样点进行相关运算,以计算第二目标采样点的相关能量值,根据计算出的相关能量值,进一步计算相关能量值与基带信号的总能量值的比值,得到第二目标采样点的能量比,根据该能量比检测同步突发序列的位置,从而确定精同步点。Similarly, the second window size is determined according to the sampling rate of the baseband signal, and the second window size corresponds to the second number of sampling points. The coarse synchronization point obtained by the coarse synchronization search is used as the starting point of the fine synchronization search. The baseband signal is subjected to sliding window processing based on the second window size, thereby performing fine synchronization search on the baseband signal. During the sliding window processing, based on the energy ratio algorithm, a correlation operation is performed on multiple second target sampling points in the current window to calculate the correlation energy value of the second target sampling point. Based on the calculated correlation energy value, the ratio of the correlation energy value to the total energy value of the baseband signal is further calculated to obtain the energy ratio of the second target sampling point. The position of the synchronization burst sequence is detected based on the energy ratio, thereby determining the fine synchronization point.

进一步地,在根据计算出的能量比检测同步突发序列的位置时,具体是将计算出的能量比与预设的第二门限值进行比较实现的。因此,步骤350还可以包括:Further, when detecting the position of the synchronization burst sequence according to the calculated energy ratio, the calculated energy ratio is specifically compared with a preset second threshold value. Therefore, step 350 may also include:

步骤351,将所述能量比与预设的第二门限值进行比较;Step 351, comparing the energy ratio with a preset second threshold value;

步骤352,根据比较结果确定所述第二目标采样点对应的第二信号段中是否包含有同步突发,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤;Step 352, determining whether the second signal segment corresponding to the second target sampling point contains a synchronization burst according to the comparison result, returning to and executing the step of performing sliding window processing on the baseband signal based on the second window size to perform precise synchronization search on the baseband signal;

步骤353,若所述第二信号段中包含同步突发,根据所述同步突发的位置确定精同步点;Step 353: if the second signal segment includes a synchronization burst, determine a precise synchronization point according to the position of the synchronization burst;

其中,若所述能量比大于预设的第二门限值,则所述第二目标采样点对应的第二信号段中包含有同步突发,若所述能量比小于或等于预设的第二门限值,则所述第二目标采样点对应的第二信号段中不包含同步突发。Among them, if the energy ratio is greater than a preset second threshold value, the second signal segment corresponding to the second target sampling point contains a synchronization burst; if the energy ratio is less than or equal to the preset second threshold value, the second signal segment corresponding to the second target sampling point does not contain a synchronization burst.

在计算出能量比之后,将能量比与预设的第二门限值进行比较,根据比较结果确定当前窗口内的第二目标采样点对应的第二信号段内是否包含同步突发序列。其中,若计算出的能量比大于预设的第二门限值,则当前窗口内的第二目标采样点对应的第二信号段包含同步突发序列,否则,若计算出的能量比小于或等于预设的第二门限值,则当前窗口内的第二目标采样点对应的第二信号段不包含同步突发序列。After the energy ratio is calculated, the energy ratio is compared with a preset second threshold value, and it is determined whether the second signal segment corresponding to the second target sampling point in the current window contains a synchronization burst sequence according to the comparison result. If the calculated energy ratio is greater than the preset second threshold value, the second signal segment corresponding to the second target sampling point in the current window contains the synchronization burst sequence; otherwise, if the calculated energy ratio is less than or equal to the preset second threshold value, the second signal segment corresponding to the second target sampling point in the current window does not contain the synchronization burst sequence.

进一步地,若第二信号段包含有同步突发,则根据同步突发的位置确定精同步点。Further, if the second signal segment includes a synchronization burst, the fine synchronization point is determined according to the position of the synchronization burst.

在确定第二目标采样点对应的第二信号段是否包含有同步突发之后,基于预设的第二滑动步长,对当前窗口进行滑动,从而对基带信号进行精同步搜索。After determining whether the second signal segment corresponding to the second target sampling point contains a synchronization burst, the current window is slid based on a preset second sliding step size, thereby performing a precise synchronization search on the baseband signal.

在一个实施例中,在精同步搜索过程中,通过滑窗处理可以检测到多个同步突发序列,需要根据多个同步突发序列的位置确定精同步点,因此,步骤353还可以包括:In one embodiment, during the fine synchronization search process, multiple synchronization burst sequences may be detected through sliding window processing, and it is necessary to determine the fine synchronization point according to the positions of the multiple synchronization burst sequences. Therefore, step 353 may also include:

步骤3531,根据所述同步突发的位置确定第一候选同步点;所述同步突发包括多个,任一所述同步突发的位置对应一候选同步点;Step 3531, determining a first candidate synchronization point according to the position of the synchronization burst; the synchronization burst includes multiple ones, and the position of any synchronization burst corresponds to a candidate synchronization point;

步骤3532,计算所述第一候选同步点与第二候选同步点之间的位置差;其中,所述第二候选同步点是与所述第一候选同步点相邻,且在所述第一候选同步点之前的候选同步点;所述位置差对应第一预设数量的时分多址帧,或者,所述位置差对应第二预设数量的时分多址帧;Step 3532, calculating a position difference between the first candidate synchronization point and a second candidate synchronization point; wherein the second candidate synchronization point is a candidate synchronization point adjacent to the first candidate synchronization point and before the first candidate synchronization point; the position difference corresponds to a first preset number of time division multiple access frames, or the position difference corresponds to a second preset number of time division multiple access frames;

步骤3533,若所述位置差对应第一预设数量的时分多址帧,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述位置差对应第二预设数量的时分多址帧时,根据所述第一候选同步点的位置确定精同步点。Step 3533: if the position difference corresponds to a first preset number of time division multiple access frames, return and execute the step of performing sliding window processing on the baseband signal based on the second window size to perform a precise synchronization search on the baseband signal, until the position difference corresponds to a second preset number of time division multiple access frames, and determine the precise synchronization point according to the position of the first candidate synchronization point.

通过精同步搜索,可以检测到一个或多个同步突发序列的位置,在当前窗口内检测到同步突发时,确定该同步突发的位置是否为精同步点。具体地,在根据同步突发的位置确定精同步点时,根据当前窗口内的同步突发的位置,确定第一候选同步点,同步突发包括多个时,任一同步突发的位置对应一候选同步点,也即,将每个同步突发的位置作为一个精同步点的候选。Through fine synchronization search, the position of one or more synchronization burst sequences can be detected. When a synchronization burst is detected in the current window, it is determined whether the position of the synchronization burst is a fine synchronization point. Specifically, when determining the fine synchronization point according to the position of the synchronization burst, the first candidate synchronization point is determined according to the position of the synchronization burst in the current window. When the synchronization burst includes multiple synchronization bursts, the position of any synchronization burst corresponds to a candidate synchronization point, that is, the position of each synchronization burst is used as a candidate for a fine synchronization point.

进一步地,计算第一候选同步点与第二候选同步点之间的位置差,其中,第二候选同步点是与第一候选同步点相邻,且在第一候选同步点之前的候选同步点,第一候选同步点与第二候选同步点之间的位置差对应第一预设数量的时分多址TDMA帧,或者,对应第二预设数量的TDMA帧。Further, the position difference between the first candidate synchronization point and the second candidate synchronization point is calculated, wherein the second candidate synchronization point is a candidate synchronization point adjacent to the first candidate synchronization point and before the first candidate synchronization point, and the position difference between the first candidate synchronization point and the second candidate synchronization point corresponds to a first preset number of time division multiple access TDMA frames, or corresponds to a second preset number of TDMA frames.

若第一候选同步点与第二候选同步点之间的位置差对应第一预设数量的TDMA帧,返回并执行步骤320中,基于第二窗口尺寸对基带信号进行滑窗处理,以对基带信号进行精同步搜索的步骤,从而继续搜索下一候选同步点,直到搜索到的第一候选同步点与其前一第二候选同步点之间的位置差对应第二预设数量的TDMA帧。If the position difference between the first candidate synchronization point and the second candidate synchronization point corresponds to a first preset number of TDMA frames, return to and execute step 320, perform sliding window processing on the baseband signal based on the second window size to perform a precise synchronization search on the baseband signal, and continue searching for the next candidate synchronization point until the position difference between the searched first candidate synchronization point and its previous second candidate synchronization point corresponds to a second preset number of TDMA frames.

若第一候选同步点与第二候选同步点之间的位置差对应第二预设数量的TDMA帧,则根据第一候选同步点的位置确定精同步点,此时,第一候选同步点的位置即为精同步点。If the position difference between the first candidate synchronization point and the second candidate synchronization point corresponds to a second preset number of TDMA frames, the fine synchronization point is determined according to the position of the first candidate synchronization point. In this case, the position of the first candidate synchronization point is the fine synchronization point.

可选的,基于对基带信号的滑窗处理,可以对基带信号进行一次或多次精同步搜索。可选的,一次精同步搜索检测一个同步突发位置,也即获取一个候选同步点。可选的,一次精同步搜索检测多个同步突发的位置,获取多个候选同步点。Optionally, based on the sliding window processing of the baseband signal, one or more fine synchronization searches may be performed on the baseband signal. Optionally, one fine synchronization search detects a synchronization burst position, that is, obtains a candidate synchronization point. Optionally, one fine synchronization search detects the positions of multiple synchronization bursts, and obtains multiple candidate synchronization points.

在一个实施例中,参照图4所示的精同步搜索流程,在精同步搜索过程中,对基带信号进行滑窗处理,对当前窗口内的采样点进行相关运算,从而计算窗口内采样点的相关能量值。然后计算该相关能量值与基带信号的总能量的比值,得到窗口内采样点的能量比,根据该能量比检测当前窗口内是否存在同步突发序列。In one embodiment, referring to the fine synchronization search process shown in FIG4 , during the fine synchronization search process, the baseband signal is subjected to sliding window processing, and the sampling points in the current window are subjected to correlation operation, so as to calculate the correlation energy value of the sampling points in the window. Then, the ratio of the correlation energy value to the total energy of the baseband signal is calculated to obtain the energy ratio of the sampling points in the window, and the presence of a synchronization burst sequence in the current window is detected based on the energy ratio.

进一步地,将计算出的能量比与预设的第二门限值G1进行比较,若计算出的能量比大于预设的第二门限值G1,则当前窗口内存在同步突发序列,否则,若计算出的能量比小于预设的第二门限值G1,则当前窗口内不存在同步突发序列。Furthermore, the calculated energy ratio is compared with a preset second threshold value G1. If the calculated energy ratio is greater than the preset second threshold value G1, a synchronous burst sequence exists in the current window. Otherwise, if the calculated energy ratio is less than the preset second threshold value G1, no synchronous burst sequence exists in the current window.

进一步地,若当前窗口内存在同步突发,则确定精同步点的位置,否则,若当前窗口内不存在同步突发,则获取当前窗口的滑动次数M,若当前窗口的滑动次数M大于第二预设值,则完成精同步搜索,若当前的窗口滑动次数小于或等于第二预设值,则滑动窗口,继续对基带信号进行精同步搜索。该第二预设值是精同步搜索的滑窗处理的窗口滑动的最大次数,该第二预设值与粗同步搜索阶段的滑窗处理的第一预设值可以相同,也可以不同。Further, if there is a synchronization burst in the current window, the position of the fine synchronization point is determined, otherwise, if there is no synchronization burst in the current window, the number of sliding times M of the current window is obtained, and if the number of sliding times M of the current window is greater than a second preset value, the fine synchronization search is completed, and if the current window sliding number is less than or equal to the second preset value, the window is slid to continue to perform fine synchronization search on the baseband signal. The second preset value is the maximum number of window sliding times of the sliding window processing of the fine synchronization search, and the second preset value may be the same as or different from the first preset value of the sliding window processing in the coarse synchronization search stage.

其中,在根据当前窗口内的同步突发的位置确定精同步点时,具体是将同步突发的位置作为候选同步点,计算其与前一候选同步点的位置差,若该位置差对应TDMA的特定帧数,则当前窗口内的同步突发的位置即为精同步点的位置。Among them, when determining the fine synchronization point according to the position of the synchronization burst in the current window, the position of the synchronization burst is specifically used as a candidate synchronization point, and the position difference between it and the previous candidate synchronization point is calculated. If the position difference corresponds to a specific frame number of TDMA, the position of the synchronization burst in the current window is the position of the fine synchronization point.

示例性地,同样以4倍过采样的基带信号为例,根据GSM帧结构特点,SCH突发序列与FCCH突发序列位置相差1个TDMA帧,因此,在获得粗同步点后,根据粗同步点可以确定精同步的大概位置,然后取出256+336个采样点数据,作为精同步搜索的范围。第二窗口尺寸对应256个采样点,在滑窗处理的过程中,依次选择256个采样点进行相关运算,计算其相关能量值与输入基带信号的总能量值的比值,得到窗口内采样点的能量比。然后将计算出的能量比与预设的第二门限值 G1 进行比较,如果能量比大于G1,则当前窗口内存在SCH序列,否则,滑动窗口,继续对下一个窗口内的采样点进行检测,直到检测到SCH序列为止。特别地,如果有多个能量比都大于G1,则使用最大相关能量值对应的采样点作为精同步点的候选位置。For example, taking the baseband signal with 4 times oversampling as an example, according to the characteristics of the GSM frame structure, the position of the SCH burst sequence and the FCCH burst sequence differ by 1 TDMA frame. Therefore, after obtaining the coarse synchronization point, the approximate position of the fine synchronization can be determined according to the coarse synchronization point, and then 256+336 sampling point data are taken out as the range of the fine synchronization search. The second window size corresponds to 256 sampling points. During the sliding window processing, 256 sampling points are selected in turn for correlation operation, and the ratio of their correlation energy value to the total energy value of the input baseband signal is calculated to obtain the energy ratio of the sampling points in the window. Then the calculated energy ratio is compared with the preset second threshold value G1. If the energy ratio is greater than G1, there is an SCH sequence in the current window. Otherwise, the sliding window continues to detect the sampling points in the next window until the SCH sequence is detected. In particular, if there are multiple energy ratios greater than G1, the sampling point corresponding to the maximum correlation energy value is used as the candidate position of the fine synchronization point.

在FPGA架构下,对256个采样点的相关运算的滑动步长可以为1个采样点,第二门限值G1被配置设定为0.3,理论上使用256+336个采样点就能搜索到精同步点的候选位置,按照1个采样点滑动步长,最多滑动337次。Under the FPGA architecture, the sliding step size of the correlation operation of 256 sampling points can be 1 sampling point, and the second threshold value G1 is configured to be set to 0.3. In theory, 256+336 sampling points can be used to search for the candidate position of the precise synchronization point. According to the sliding step size of 1 sampling point, the maximum sliding time is 337 times.

在另一个实施例中,参照图5所示的精同步搜索流程,精同步搜索设有最大搜索次数,在每一次精同步搜索中,采用滑窗处理的方式,检测窗口内的采样点对应的第二信号段是否包含同步突发序列。在检测同步突发的存在时,具体是基于能量比算法,计算窗口内的采样点的相关能量值,然后计算该相关能量值与基带信号的总能量的比值,得到窗口内采样点的能量比,根据该能量比检测窗口内是否存在同步突发。进一步地,若计算出的能量比大于预设的第二门限值G1,则窗口内存在同步突发序列,否则,若计算出的能量比小于预设的第二门限值G1,则窗口内不存在同步突发序列。In another embodiment, referring to the fine synchronization search process shown in FIG5 , the fine synchronization search is provided with a maximum number of searches. In each fine synchronization search, a sliding window processing method is used to detect whether the second signal segment corresponding to the sampling point in the window contains a synchronization burst sequence. When detecting the existence of a synchronization burst, specifically based on an energy ratio algorithm, the relevant energy value of the sampling point in the window is calculated, and then the ratio of the relevant energy value to the total energy of the baseband signal is calculated to obtain the energy ratio of the sampling point in the window, and whether there is a synchronization burst in the window is detected based on the energy ratio. Further, if the calculated energy ratio is greater than a preset second threshold value G1, there is a synchronization burst sequence in the window, otherwise, if the calculated energy ratio is less than the preset second threshold value G1, there is no synchronization burst sequence in the window.

进一步地,根据GSM帧结构特点,除了存在IDLE帧的SCH同步突发序列与下一个SCH同步突发序列的位置差11个TDMA帧以外,其余相邻的SCH同步突发序列之间的位置相差10个TDMA帧。基于此,只要检测2个精同步点的候选同步点,且后一个候选同步点与前1个候选同步点的位置相差11个TDMA帧,就可以判定两个候选同步点钟的后1个即为为精同步点,也即51复帧同步点。Furthermore, according to the characteristics of the GSM frame structure, except for the position difference of 11 TDMA frames between the SCH synchronization burst sequence of the IDLE frame and the next SCH synchronization burst sequence, the positions of the other adjacent SCH synchronization burst sequences differ by 10 TDMA frames. Based on this, as long as the candidate synchronization points of the two fine synchronization points are detected, and the position difference between the latter candidate synchronization point and the former candidate synchronization point is 11 TDMA frames, it can be determined that the latter of the two candidate synchronization points is the fine synchronization point, that is, the 51 multiframe synchronization point.

因此,若检测到同步突发,则确定对应的候选同步点的位置,完成一次精同步搜索,计算当前候选同步点与前一候选同步点的位置差,若该位置差为11个TDMA帧,则当前检测到的候选同步点即为精同步点,从而确定精同步点的位置。否则,若当前候选同步点与前一候选同步点的位置差是10个TDMA帧,则获取当前的精同步搜索次数K,若K小于或等于预设的最大搜索次数,则继续对基带信号进行滑窗处理,进行下一次精同步搜索,直到检测到的候选同步点为精同步点时,或者当前的精同步搜索次数K大于预设的最大搜索次数时,完成精同步搜索。Therefore, if a synchronization burst is detected, the position of the corresponding candidate synchronization point is determined, a fine synchronization search is completed, and the position difference between the current candidate synchronization point and the previous candidate synchronization point is calculated. If the position difference is 11 TDMA frames, the currently detected candidate synchronization point is the fine synchronization point, thereby determining the position of the fine synchronization point. Otherwise, if the position difference between the current candidate synchronization point and the previous candidate synchronization point is 10 TDMA frames, the current fine synchronization search number K is obtained. If K is less than or equal to the preset maximum search number, the baseband signal is continuously subjected to sliding window processing, and the next fine synchronization search is performed until the detected candidate synchronization point is a fine synchronization point, or the current fine synchronization search number K is greater than the preset maximum search number, and the fine synchronization search is completed.

在一些实施例中,本发明实施例提供的GSM系统的复帧同步方法,应用于GSM复帧同步系统,该系统包括射频子系统、下变频子系统、粗同步子系统、精同步子系统、复帧同步子系统与配置管理子系统。其中,下变频子系统、粗同步子系统、精同步子系统和复帧同步子系统均是基于FPGA架构实现的,而配置管理子系统可以是基于ARM(Acorn RISC(ReducedInstruction Set Computer,精简指令集计算机) Machine,进阶精简指令集机器)架构实现的。In some embodiments, the multiframe synchronization method of the GSM system provided in the embodiments of the present invention is applied to the GSM multiframe synchronization system, which includes a radio frequency subsystem, a down-conversion subsystem, a coarse synchronization subsystem, a fine synchronization subsystem, a multiframe synchronization subsystem and a configuration management subsystem. Among them, the down-conversion subsystem, the coarse synchronization subsystem, the fine synchronization subsystem and the multiframe synchronization subsystem are all implemented based on the FPGA architecture, and the configuration management subsystem can be implemented based on the ARM (Acorn RISC (Reduced Instruction Set Computer, Reduced Instruction Set Computer) Machine, Advanced Reduced Instruction Set Machine) architecture.

在复帧同步时,射频子系统通过天线接收基站发出的GSM信号,完成GSM频点信号滤波、混频和中频模拟信号的数字化处理,最终将得到的数字中频信号传输给下变频子系统。基于FPGA架构实现的下变频子系统首先根据配置管理子系统预设的GSM频点信息,对数字中频信号进行数字混频处理,得到零中频数字信号;其次,根据预先规划的GSM基带信号采样率(假设为4倍过采样,则GSM基带采样率为1.0833M),完成数字下变频功能,最终得到给定采样率的GSM基带信号。During multi-frame synchronization, the RF subsystem receives the GSM signal sent by the base station through the antenna, completes the GSM frequency signal filtering, mixing and digital processing of the intermediate frequency analog signal, and finally transmits the obtained digital intermediate frequency signal to the down-conversion subsystem. The down-conversion subsystem implemented based on the FPGA architecture first performs digital mixing processing on the digital intermediate frequency signal according to the GSM frequency information preset by the configuration management subsystem to obtain a zero intermediate frequency digital signal; secondly, according to the pre-planned GSM baseband signal sampling rate (assuming 4 times oversampling, the GSM baseband sampling rate is 1.0833M), the digital down-conversion function is completed, and finally a GSM baseband signal with a given sampling rate is obtained.

基于FPGA架构实现的粗同步子系统用于对基带信号进行粗同步搜索,确定粗同步点。具体地,由于FCCH 帧的突发序列是全零的序列,经过GMSK调制之后的信号是频率为67.708KHz的标准正弦波,其频谱具有尖锐的单峰特性,因此,粗同步子系统的通过检测单峰值来检测 FCCH帧突发的存在,并确定粗同步点。The coarse synchronization subsystem implemented based on FPGA architecture is used to perform coarse synchronization search on the baseband signal and determine the coarse synchronization point. Specifically, since the burst sequence of the FCCH frame is a sequence of all zeros, the signal after GMSK modulation is a standard sine wave with a frequency of 67.708KHz, and its spectrum has a sharp single peak characteristic. Therefore, the coarse synchronization subsystem detects the existence of the FCCH frame burst by detecting the single peak value and determines the coarse synchronization point.

基于FPGA实现的精同步子系统在粗同步子系统确定的粗同步点的基础上进行精同步搜索,确定精同步点。由于SCH序列携带SCH 信道的消息,用于终端与基站的同步。精同步子系统利用SCH信道中的训练序列具有良好的相关性的特点来确定精同步点的候选同步点。复帧同步子系统根据GSM帧结构特点,除了存在IDLE帧的SCH突发序列与下一个SCH突发序列之间的位置相差11个TDMA帧以外,其余相邻的SCH突发序列位置相差10个TDMA帧。基于此,只要检测到2个精同步的候选同步点,且后一个候选同步点与前1个候选同步点的位置相差11个TDMA帧,就可以判定后1个候选同步点为复帧同步点,因此,复帧同步子系统基于精同步子系统精同步搜索到的候选同步点,结合GSM帧结构特点,找到复帧同步的精同步点。The fine synchronization subsystem implemented based on FPGA performs fine synchronization search on the basis of the coarse synchronization point determined by the coarse synchronization subsystem to determine the fine synchronization point. Since the SCH sequence carries the message of the SCH channel, it is used for the synchronization of the terminal and the base station. The fine synchronization subsystem uses the characteristic that the training sequence in the SCH channel has good correlation to determine the candidate synchronization points of the fine synchronization point. According to the characteristics of the GSM frame structure, the multiframe synchronization subsystem determines that the positions of the adjacent SCH burst sequences differ by 10 TDMA frames, except for the position difference of 11 TDMA frames between the SCH burst sequence of the IDLE frame and the next SCH burst sequence. Based on this, as long as two fine synchronization candidate synchronization points are detected, and the position difference between the latter candidate synchronization point and the former candidate synchronization point is 11 TDMA frames, the latter candidate synchronization point can be determined as the multiframe synchronization point. Therefore, the multiframe synchronization subsystem finds the fine synchronization point of multiframe synchronization based on the candidate synchronization points searched by the fine synchronization subsystem and the characteristics of the GSM frame structure.

基于ARM架构实现的配置管理子系统作为控制中心,管理与控制整个GSM复帧同步系统,包括但不限于下发GSM频点信息、监控各个子系统的同步完成状态等等。The configuration management subsystem implemented based on the ARM architecture serves as the control center to manage and control the entire GSM multiframe synchronization system, including but not limited to sending GSM frequency information, monitoring the synchronization completion status of each subsystem, etc.

在本实施例中,基于峰值比确定粗同步点的位置,提高了对FCCH突发序列的检测准确性;基于能量比确定精同步点的位置,提高了对SCH突发序列的检测准确性,在精同步搜索时,结合GSM帧结构特点,根据两个候选同步点之间的位置差确定复帧同步点的位置,确保了复帧同步的准确性。In this embodiment, the position of the coarse synchronization point is determined based on the peak ratio, thereby improving the detection accuracy of the FCCH burst sequence; the position of the fine synchronization point is determined based on the energy ratio, thereby improving the detection accuracy of the SCH burst sequence. During the fine synchronization search, the position of the multi-frame synchronization point is determined based on the position difference between two candidate synchronization points in combination with the characteristics of the GSM frame structure, thereby ensuring the accuracy of the multi-frame synchronization.

进一步地,基于FPGA实现复帧同步,速度快,耗能小,且所占硬件资源小,提高了复帧同步的效率。Furthermore, the multi-frame synchronization is realized based on FPGA, which has high speed, low energy consumption, and small hardware resource occupation, thereby improving the efficiency of the multi-frame synchronization.

下面对本发明提供的GSM系统的复帧同步装置进行描述,下文描述的GSM系统的复帧同步装置与上文描述的GSM系统的复帧同步方法可相互对应参照。The multiframe synchronization device of the GSM system provided by the present invention is described below. The multiframe synchronization device of the GSM system described below and the multiframe synchronization method of the GSM system described above can be referred to each other.

参照图6,本发明实施例提供的GSM系统的复帧同步装置,包括:6, the multiframe synchronization device of the GSM system provided by the embodiment of the present invention includes:

信号获取模块10,用于接收基站发送的通信信号,并获取所述通信信号的基带信号;The signal acquisition module 10 is used to receive the communication signal sent by the base station and obtain the baseband signal of the communication signal;

粗同步搜索模块20,用于基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;A coarse synchronization search module 20, configured to perform a coarse synchronization search on the baseband signal based on a peak ratio algorithm, detect the position of the frequency correction burst, and determine a coarse synchronization point;

精同步搜索模块30,用于基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;A fine synchronization search module 30, configured to perform a fine synchronization search on the baseband signal based on an energy ratio algorithm and the coarse synchronization point, detect the position of the synchronization burst, and determine the fine synchronization point;

复帧同步模块40,用于根据所述精同步点对所述基带信号进行复帧同步。The multi-frame synchronization module 40 is used to perform multi-frame synchronization on the baseband signal according to the fine synchronization point.

在一个实施例中,所述粗同步搜索模块20,还用于:In one embodiment, the coarse synchronization search module 20 is further used for:

获取所述基带信号的采样率,根据所述采样率确定第一窗口尺寸;所述第一窗口尺寸对应第一数量的采样点;Acquire a sampling rate of the baseband signal, and determine a first window size according to the sampling rate; the first window size corresponds to a first number of sampling points;

基于所述第一窗口尺寸对所述基带信号进行滑窗处理,并基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量;Performing sliding window processing on the baseband signal based on the first window size, and performing fast Fourier transform processing on the first target sampling point in the current window based on a peak ratio algorithm to calculate the peak energy of the first target sampling point;

计算所述峰值能量与所述基带信号的总能量的比值,得到所述第一目标采样点的峰值比;Calculating a ratio of the peak energy to the total energy of the baseband signal to obtain a peak ratio of the first target sampling point;

根据所述峰值比确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;determining, according to the peak ratio, whether a first signal segment corresponding to the first target sampling point includes a frequency correction burst;

若不包含,则基于预设的第一滑动步长对所述当前窗口进行滑动处理,以对所述基带信号进行粗同步搜索,返回并执行所述基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量的步骤,直到所述第一目标采样点对应的第一信号段中包含有频率校正突发时,根据所述频率校正突发的位置确定粗同步点。If not included, the current window is slid based on a preset first sliding step size to perform a coarse synchronization search on the baseband signal, and the step of performing a fast Fourier transform process on the first target sampling point in the current window based on the peak ratio algorithm to calculate the peak energy of the first target sampling point is returned and executed, until the first signal segment corresponding to the first target sampling point contains a frequency correction burst, and the coarse synchronization point is determined according to the position of the frequency correction burst.

在一个实施例中,所述粗同步搜索模块20,还用于:In one embodiment, the coarse synchronization search module 20 is further used for:

将所述峰值比与预设的第一门限值进行比较;Comparing the peak value ratio with a preset first threshold value;

根据比较结果确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;Determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the comparison result;

其中,若所述峰值比大于所述第一门限值,则所述第一目标采样点对应的第一信号段中包含有频率校正突发,若所述峰值比小于或等于所述第一门限值,则所述第一目标采样点对应的第一信号段中不包含频率校正突发。Among them, if the peak ratio is greater than the first threshold value, the first signal segment corresponding to the first target sampling point contains a frequency correction burst; if the peak ratio is less than or equal to the first threshold value, the first signal segment corresponding to the first target sampling point does not contain a frequency correction burst.

在一个实施例中,所述精同步搜索模块30,还用于:In one embodiment, the fine synchronization search module 30 is further used to:

根据所述采样率确定第二窗口尺寸;所述第二窗口尺寸对应第二数量的采样点;Determine a second window size according to the sampling rate; the second window size corresponds to a second number of sampling points;

以所述粗同步点为精同步搜索的起点,基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索;Taking the coarse synchronization point as a starting point for fine synchronization search, and performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal;

在滑窗处理的过程中,基于能量比算法对当前窗口内的第二目标采样点进行相关运算,以计算所述第二目标采样点的相关能量值;During the sliding window processing, a correlation operation is performed on the second target sampling point in the current window based on an energy ratio algorithm to calculate a correlation energy value of the second target sampling point;

计算所述相关能量值与所述基带信号的总能量值的比值,得到所述第二目标采样点的能量比;Calculating a ratio of the correlation energy value to a total energy value of the baseband signal to obtain an energy ratio of the second target sampling point;

根据所述能量比检测同步突发的位置,以确定精同步点。The position of the synchronization burst is detected according to the energy ratio to determine a fine synchronization point.

在一个实施例中,所述精同步搜索模块30,还用于:In one embodiment, the fine synchronization search module 30 is further used to:

将所述能量比与预设的第二门限值进行比较;comparing the energy ratio with a preset second threshold value;

根据比较结果确定所述第二目标采样点对应的第二信号段中是否包含有同步突发;Determine whether the second signal segment corresponding to the second target sampling point contains a synchronization burst according to the comparison result;

若所述第二信号段不包含同步突发,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述第二信号段中包含同步突发时,根据所述同步突发的位置确定精同步点;If the second signal segment does not include a synchronization burst, returning to and executing the step of performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal, until the second signal segment includes a synchronization burst, and determining a fine synchronization point according to the position of the synchronization burst;

其中,若所述能量比大于预设的第二门限值,则所述第二目标采样点对应的第二信号段中包含有同步突发,若所述能量比小于或等于预设的第二门限值,则所述第二目标采样点对应的第二信号段中不包含同步突发。Among them, if the energy ratio is greater than a preset second threshold value, the second signal segment corresponding to the second target sampling point contains a synchronization burst; if the energy ratio is less than or equal to the preset second threshold value, the second signal segment corresponding to the second target sampling point does not contain a synchronization burst.

在一个实施例中,所述精同步搜索模块30,还用于:In one embodiment, the fine synchronization search module 30 is further used to:

根据所述同步突发的位置确定第一候选同步点;所述同步突发包括多个,任一所述同步突发的位置对应一候选同步点;Determine a first candidate synchronization point according to the position of the synchronization burst; the synchronization burst includes a plurality of synchronization bursts, and the position of any synchronization burst corresponds to a candidate synchronization point;

计算所述第一候选同步点与第二候选同步点之间的位置差;其中,所述第二候选同步点是与所述第一候选同步点相邻,且在所述第一候选同步点之前的候选同步点;所述位置差对应第一预设数量的时分多址帧,或者,所述位置差对应第二预设数量的时分多址帧;Calculating a position difference between the first candidate synchronization point and a second candidate synchronization point; wherein the second candidate synchronization point is a candidate synchronization point adjacent to the first candidate synchronization point and before the first candidate synchronization point; the position difference corresponds to a first preset number of time division multiple access frames, or the position difference corresponds to a second preset number of time division multiple access frames;

若所述位置差对应第一预设数量的时分多址帧,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述位置差对应第二预设数量的时分多址帧时,根据所述第一候选同步点的位置确定精同步点。If the position difference corresponds to a first preset number of time division multiple access frames, return to and execute the step of performing sliding window processing on the baseband signal based on the second window size to perform a fine synchronization search on the baseband signal, until the position difference corresponds to a second preset number of time division multiple access frames, and determine the fine synchronization point according to the position of the first candidate synchronization point.

在一个实施例中,所述信号获取模块10,还用于:In one embodiment, the signal acquisition module 10 is further used for:

对所述通信信号进行数字化处理,得到数字中频信号;所述数字化处理包括滤波、混频和中频模拟信号;Digitally process the communication signal to obtain a digital intermediate frequency signal; the digital processing includes filtering, mixing and intermediate frequency analog signal;

对所述数字中频信号进行数字混频处理,得到零中频数字信号;Performing digital mixing processing on the digital intermediate frequency signal to obtain a zero intermediate frequency digital signal;

基于预设的采样率,对所述零中频数字信号进行采样处理,得到基带信号。Based on a preset sampling rate, the zero intermediate frequency digital signal is sampled to obtain a baseband signal.

图7示例了一种电子设备的实体结构示意图,如图7所示,该电子设备可以包括:处理器(processor)710、通信接口(Communications Interface)720、存储器(memory)730和通信总线740,其中,处理器710,通信接口720,存储器730通过通信总线740完成相互间的通信。处理器710可以调用存储器730中的逻辑指令,以执行GSM系统的复帧同步方法的步骤,例如包括:FIG7 illustrates a schematic diagram of a physical structure of an electronic device. As shown in FIG7 , the electronic device may include: a processor 710, a communications interface 720, a memory 730, and a communication bus 740, wherein the processor 710, the communications interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the steps of the multiframe synchronization method of the GSM system, for example, including:

接收基站发送的通信信号,并获取所述通信信号的基带信号;Receiving a communication signal sent by a base station and acquiring a baseband signal of the communication signal;

基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;Performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm to detect the position of a frequency correction burst to determine a coarse synchronization point;

基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;Based on the energy ratio algorithm and the coarse synchronization point, the baseband signal is subjected to a fine synchronization search to detect the position of the synchronization burst to determine the fine synchronization point;

根据所述精同步点对所述基带信号进行复帧同步。The baseband signal is multi-frame synchronized according to the fine synchronization point.

此外,上述的存储器730中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各实施例所提供的GSM系统的复帧同步方法的步骤,例如包括:On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the steps of the multiframe synchronization method of the GSM system provided in the above embodiments, for example, including:

接收基站发送的通信信号,并获取所述通信信号的基带信号;Receiving a communication signal sent by a base station and acquiring a baseband signal of the communication signal;

基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;Performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm to detect the position of a frequency correction burst to determine a coarse synchronization point;

基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;Based on the energy ratio algorithm and the coarse synchronization point, the baseband signal is subjected to a fine synchronization search to detect the position of the synchronization burst to determine the fine synchronization point;

根据所述精同步点对所述基带信号进行复帧同步。The baseband signal is multi-frame synchronized according to the fine synchronization point.

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的GSM系统的复帧同步方法的步骤,例如包括:In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the steps of the multiframe synchronization method of the GSM system provided in the above embodiments, for example, including:

接收基站发送的通信信号,并获取所述通信信号的基带信号;Receiving a communication signal sent by a base station and acquiring a baseband signal of the communication signal;

基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;Performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm to detect the position of a frequency correction burst to determine a coarse synchronization point;

基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;Based on the energy ratio algorithm and the coarse synchronization point, the baseband signal is subjected to a fine synchronization search to detect the position of the synchronization burst to determine the fine synchronization point;

根据所述精同步点对所述基带信号进行复帧同步。The baseband signal is multi-frame synchronized according to the fine synchronization point.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on this understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种GSM系统的复帧同步方法,其特征在于,包括:1. A multiframe synchronization method for a GSM system, comprising: 接收基站发送的通信信号,并获取所述通信信号的基带信号;Receiving a communication signal sent by a base station and acquiring a baseband signal of the communication signal; 基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;Performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm to detect the position of a frequency correction burst to determine a coarse synchronization point; 基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;Based on the energy ratio algorithm and the coarse synchronization point, the baseband signal is subjected to a fine synchronization search to detect the position of the synchronization burst to determine the fine synchronization point; 根据所述精同步点对所述基带信号进行复帧同步。The baseband signal is multi-frame synchronized according to the fine synchronization point. 2.根据权利要求1所述的GSM系统的复帧同步方法,其特征在于,所述基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点,包括:2. The multiframe synchronization method of the GSM system according to claim 1, characterized in that the baseband signal is subjected to a coarse synchronization search based on a peak ratio algorithm to detect the position of a frequency correction burst to determine a coarse synchronization point, comprising: 获取所述基带信号的采样率,根据所述采样率确定第一窗口尺寸;所述第一窗口尺寸对应第一数量的采样点;Acquire a sampling rate of the baseband signal, and determine a first window size according to the sampling rate; the first window size corresponds to a first number of sampling points; 基于所述第一窗口尺寸对所述基带信号进行滑窗处理,并基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量;Performing sliding window processing on the baseband signal based on the first window size, and performing fast Fourier transform processing on the first target sampling point in the current window based on a peak ratio algorithm to calculate the peak energy of the first target sampling point; 计算所述峰值能量与所述基带信号的总能量的比值,得到所述第一目标采样点的峰值比;Calculating a ratio of the peak energy to the total energy of the baseband signal to obtain a peak ratio of the first target sampling point; 根据所述峰值比确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;determining, according to the peak ratio, whether a first signal segment corresponding to the first target sampling point includes a frequency correction burst; 若不包含,则基于预设的第一滑动步长对所述当前窗口进行滑动处理,以对所述基带信号进行粗同步搜索,返回并执行所述基于峰值比算法对当前窗口内的第一目标采样点进行快速傅里叶变换处理,以计算所述第一目标采样点的峰值能量的步骤,直到所述第一目标采样点对应的第一信号段中包含有频率校正突发时,根据所述频率校正突发的位置确定粗同步点。If not included, the current window is slid based on a preset first sliding step size to perform a coarse synchronization search on the baseband signal, and the step of performing a fast Fourier transform process on the first target sampling point in the current window based on the peak ratio algorithm to calculate the peak energy of the first target sampling point is returned and executed, until the first signal segment corresponding to the first target sampling point contains a frequency correction burst, and the coarse synchronization point is determined according to the position of the frequency correction burst. 3.根据权利要求2所述的GSM系统的复帧同步方法,其特征在于,所述根据所述峰值比确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发,包括:3. The multiframe synchronization method of the GSM system according to claim 2, characterized in that the step of determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the peak ratio comprises: 将所述峰值比与预设的第一门限值进行比较;Comparing the peak value ratio with a preset first threshold value; 根据比较结果确定所述第一目标采样点对应的第一信号段中是否包含有频率校正突发;Determining whether the first signal segment corresponding to the first target sampling point contains a frequency correction burst according to the comparison result; 其中,若所述峰值比大于所述第一门限值,则所述第一目标采样点对应的第一信号段中包含有频率校正突发,若所述峰值比小于或等于所述第一门限值,则所述第一目标采样点对应的第一信号段中不包含频率校正突发。Among them, if the peak ratio is greater than the first threshold value, the first signal segment corresponding to the first target sampling point contains a frequency correction burst; if the peak ratio is less than or equal to the first threshold value, the first signal segment corresponding to the first target sampling point does not contain a frequency correction burst. 4.根据权利要求2所述的GSM系统的复帧同步方法,其特征在于,所述基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点,包括:4. The multiframe synchronization method of the GSM system according to claim 2, characterized in that the baseband signal is subjected to a fine synchronization search based on an energy ratio algorithm and the coarse synchronization point, and the position of the synchronization burst is detected to determine the fine synchronization point, comprising: 根据所述采样率确定第二窗口尺寸;所述第二窗口尺寸对应第二数量的采样点;Determine a second window size according to the sampling rate; the second window size corresponds to a second number of sampling points; 以所述粗同步点为精同步搜索的起点,基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索;Taking the coarse synchronization point as a starting point for fine synchronization search, and performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal; 在滑窗处理的过程中,基于能量比算法对当前窗口内的第二目标采样点进行相关运算,以计算所述第二目标采样点的相关能量值;During the sliding window processing, a correlation operation is performed on the second target sampling point in the current window based on an energy ratio algorithm to calculate a correlation energy value of the second target sampling point; 计算所述相关能量值与所述基带信号的总能量值的比值,得到所述第二目标采样点的能量比;Calculating a ratio of the correlation energy value to a total energy value of the baseband signal to obtain an energy ratio of the second target sampling point; 根据所述能量比检测同步突发的位置,以确定精同步点。The position of the synchronization burst is detected according to the energy ratio to determine a fine synchronization point. 5.根据权利要求4所述的GSM系统的复帧同步方法,其特征在于,所述根据所述能量比检测同步突发的位置,以确定精同步点,包括:5. The multiframe synchronization method of the GSM system according to claim 4, characterized in that the detecting the position of the synchronization burst according to the energy ratio to determine the precise synchronization point comprises: 将所述能量比与预设的第二门限值进行比较;comparing the energy ratio with a preset second threshold value; 根据比较结果确定所述第二目标采样点对应的第二信号段中是否包含有同步突发;Determine whether the second signal segment corresponding to the second target sampling point contains a synchronization burst according to the comparison result; 若所述第二信号段不包含同步突发,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述第二信号段中包含同步突发时,根据所述同步突发的位置确定精同步点;If the second signal segment does not include a synchronization burst, returning to and executing the step of performing sliding window processing on the baseband signal based on the second window size to perform fine synchronization search on the baseband signal, until the second signal segment includes a synchronization burst, and determining a fine synchronization point according to the position of the synchronization burst; 其中,若所述能量比大于预设的第二门限值,则所述第二目标采样点对应的第二信号段中包含有同步突发,若所述能量比小于或等于预设的第二门限值,则所述第二目标采样点对应的第二信号段中不包含同步突发。Among them, if the energy ratio is greater than a preset second threshold value, the second signal segment corresponding to the second target sampling point contains a synchronization burst; if the energy ratio is less than or equal to the preset second threshold value, the second signal segment corresponding to the second target sampling point does not contain a synchronization burst. 6.根据权利要求5所述的GSM系统的复帧同步方法,其特征在于,所述根据所述同步突发的位置确定精同步点,包括:6. The multiframe synchronization method of the GSM system according to claim 5, characterized in that the step of determining the precise synchronization point according to the position of the synchronization burst comprises: 根据所述同步突发的位置确定第一候选同步点;所述同步突发包括多个,任一所述同步突发的位置对应一候选同步点;Determine a first candidate synchronization point according to the position of the synchronization burst; the synchronization burst includes a plurality of synchronization bursts, and the position of any synchronization burst corresponds to a candidate synchronization point; 计算所述第一候选同步点与第二候选同步点之间的位置差;其中,所述第二候选同步点是与所述第一候选同步点相邻,且在所述第一候选同步点之前的候选同步点;所述位置差对应第一预设数量的时分多址帧,或者,所述位置差对应第二预设数量的时分多址帧;Calculating a position difference between the first candidate synchronization point and a second candidate synchronization point; wherein the second candidate synchronization point is a candidate synchronization point adjacent to the first candidate synchronization point and before the first candidate synchronization point; the position difference corresponds to a first preset number of time division multiple access frames, or the position difference corresponds to a second preset number of time division multiple access frames; 若所述位置差对应第一预设数量的时分多址帧,返回并执行所述基于所述第二窗口尺寸对所述基带信号进行滑窗处理,以对所述基带信号进行精同步搜索的步骤,直到所述位置差对应第二预设数量的时分多址帧时,根据所述第一候选同步点的位置确定精同步点。If the position difference corresponds to a first preset number of time division multiple access frames, return to and execute the step of performing sliding window processing on the baseband signal based on the second window size to perform a fine synchronization search on the baseband signal, until the position difference corresponds to a second preset number of time division multiple access frames, and determine the fine synchronization point according to the position of the first candidate synchronization point. 7.根据权利要求1所述的GSM系统的复帧同步方法,其特征在于,所述获取所述通信信号的基带信号,包括:7. The multiframe synchronization method of the GSM system according to claim 1, characterized in that the acquiring of the baseband signal of the communication signal comprises: 对所述通信信号进行数字化处理,得到数字中频信号;所述数字化处理包括滤波、混频和中频模拟信号;Digitally process the communication signal to obtain a digital intermediate frequency signal; the digital processing includes filtering, mixing and intermediate frequency analog signal; 对所述数字中频信号进行数字混频处理,得到零中频数字信号;Performing digital mixing processing on the digital intermediate frequency signal to obtain a zero intermediate frequency digital signal; 基于预设的采样率,对所述零中频数字信号进行采样处理,得到基带信号。Based on a preset sampling rate, the zero intermediate frequency digital signal is sampled to obtain a baseband signal. 8.一种GSM系统的复帧同步装置,其特征在于,包括:8. A multiframe synchronization device for a GSM system, comprising: 信号获取模块,用于接收基站发送的通信信号,并获取所述通信信号的基带信号;A signal acquisition module, used to receive a communication signal sent by a base station and acquire a baseband signal of the communication signal; 粗同步搜索模块,用于基于峰值比算法对所述基带信号进行粗同步搜索,检测频率校正突发的位置,以确定粗同步点;A coarse synchronization search module, used for performing a coarse synchronization search on the baseband signal based on a peak ratio algorithm, detecting the position of the frequency correction burst, so as to determine a coarse synchronization point; 精同步搜索模块,用于基于能量比算法和所述粗同步点,对所述基带信号进行精同步搜索,检测同步突发的位置,以确定精同步点;A fine synchronization search module, configured to perform a fine synchronization search on the baseband signal based on an energy ratio algorithm and the coarse synchronization point, detect the position of the synchronization burst, and determine the fine synchronization point; 复帧同步模块,用于根据所述精同步点对所述基带信号进行复帧同步。The multi-frame synchronization module is used to perform multi-frame synchronization on the baseband signal according to the fine synchronization point. 9.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的GSM系统的复帧同步方法的步骤。9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the processor implements the steps of the multi-frame synchronization method of the GSM system as described in any one of claims 1 to 7. 10.一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的GSM系统的复帧同步方法的步骤。10. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the multiframe synchronization method of the GSM system as claimed in any one of claims 1 to 7 are implemented.
CN202411255020.3A 2024-09-09 2024-09-09 Multiframe synchronization method, device, equipment and storage medium of GSM system Active CN118764153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411255020.3A CN118764153B (en) 2024-09-09 2024-09-09 Multiframe synchronization method, device, equipment and storage medium of GSM system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411255020.3A CN118764153B (en) 2024-09-09 2024-09-09 Multiframe synchronization method, device, equipment and storage medium of GSM system

Publications (2)

Publication Number Publication Date
CN118764153A true CN118764153A (en) 2024-10-11
CN118764153B CN118764153B (en) 2025-01-14

Family

ID=92940652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411255020.3A Active CN118764153B (en) 2024-09-09 2024-09-09 Multiframe synchronization method, device, equipment and storage medium of GSM system

Country Status (1)

Country Link
CN (1) CN118764153B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805646A (en) * 1996-10-08 1998-09-08 Ericsson Inc. Synchronization method, and associated circuitry, for improved synchronization of a receiver with a transmitter using early-late testing during coarse synchronization
CN103916892A (en) * 2014-04-11 2014-07-09 华为技术有限公司 Method and device for obtaining BSIC of neighborhood
CN108199993A (en) * 2017-12-13 2018-06-22 浙江大华技术股份有限公司 A kind of synchronous head inspecting method, device, electronic equipment and readable storage medium storing program for executing
CN113132287A (en) * 2021-04-07 2021-07-16 深圳智微电子科技有限公司 Synchronous detection method and device in OFDM system
CN117279087A (en) * 2023-11-21 2023-12-22 杰创智能科技股份有限公司 Synchronous position determining method, synchronous position determining device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805646A (en) * 1996-10-08 1998-09-08 Ericsson Inc. Synchronization method, and associated circuitry, for improved synchronization of a receiver with a transmitter using early-late testing during coarse synchronization
CN103916892A (en) * 2014-04-11 2014-07-09 华为技术有限公司 Method and device for obtaining BSIC of neighborhood
CN108199993A (en) * 2017-12-13 2018-06-22 浙江大华技术股份有限公司 A kind of synchronous head inspecting method, device, electronic equipment and readable storage medium storing program for executing
CN113132287A (en) * 2021-04-07 2021-07-16 深圳智微电子科技有限公司 Synchronous detection method and device in OFDM system
CN117279087A (en) * 2023-11-21 2023-12-22 杰创智能科技股份有限公司 Synchronous position determining method, synchronous position determining device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN118764153B (en) 2025-01-14

Similar Documents

Publication Publication Date Title
EP0148198B1 (en) Data detector using probabilistic information in received signals
EP2566095B1 (en) Systems and methods for frame synchronization
US20130142057A1 (en) Control Channel Acquisition
CN110391887B (en) Signal processing method and device
CN112702137B (en) 5G fast downlink synchronization and soft bit merging cell search method
CN119095157A (en) Method and device for determining uplink resources
EP2659637B1 (en) Estimation of the Frequency Error of a Tone Signal with Widened Acquisition Range
US8467787B2 (en) Method and apparatus for searching for modes and frequencies
US9065586B2 (en) Carrier detection and parallel GSM cell search in multimode terminals
JP7228619B2 (en) Signal transmission method, network equipment and terminal equipment
WO2018137466A1 (en) Information indication method, apparatus and system
CN111314260A (en) Communication method, device, equipment and storage medium
CN101365227B (en) Method, apparatus and mobile terminal acquiring synchronous timing of GSM adjacent cells
US8824428B2 (en) Method for resolving data conflicts and mobile terminal
WO2006036009A1 (en) Mobile wireless communication apparatus, wireless communication apparatus and communication processing method
CN117279087B (en) Synchronous position determining method, synchronous position determining device, electronic equipment and storage medium
CN117176529B (en) FSK signal demodulation method and device
CN118764153A (en) Multiframe synchronization method, device, equipment and storage medium of GSM system
CN109525525B (en) Signal processing method and device
CN108462990B (en) Network synchronization method and device
CN113613312B (en) Method and device for analyzing main information of physical broadcast channel and base station communication system
US6587695B1 (en) Method and apparatus for distinguishing a compact control channel from a classic control channel
CN107872841B (en) GSM cell synchronization method and device under LTE + WCDMA dual-card LTE packet switching and mobile terminal
JP5407556B2 (en) Digital radio and control method thereof
CN115378533A (en) Method, device and computer readable storage medium for improving frame synchronization rate

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