WO2021128159A1 - Synchronization detection method and device - Google Patents

Synchronization detection method and device Download PDF

Info

Publication number
WO2021128159A1
WO2021128159A1 PCT/CN2019/128652 CN2019128652W WO2021128159A1 WO 2021128159 A1 WO2021128159 A1 WO 2021128159A1 CN 2019128652 W CN2019128652 W CN 2019128652W WO 2021128159 A1 WO2021128159 A1 WO 2021128159A1
Authority
WO
WIPO (PCT)
Prior art keywords
calibration
carrier frequency
synchronization code
clock
value
Prior art date
Application number
PCT/CN2019/128652
Other languages
French (fr)
Chinese (zh)
Inventor
芦嘉
张建功
马鹤鸣
滑福宁
付佳彬
Original Assignee
哈尔滨海能达科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 哈尔滨海能达科技有限公司 filed Critical 哈尔滨海能达科技有限公司
Priority to PCT/CN2019/128652 priority Critical patent/WO2021128159A1/en
Publication of WO2021128159A1 publication Critical patent/WO2021128159A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes

Landscapes

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

Abstract

Provided by the present invention are a synchronization detection method and device. The method comprises: acquiring a synchronization code in a frame signal and determining a reference synchronization code and a calibration synchronization code; and determining a start position of the frame signal by using frame synchronization detection. Clock calibration and/or carrier frequency calibration are performed on the basis of the reference synchronization code and the calibration synchronization code. During the clock calibration process, by means of selecting a calibration clock that has the optimal synchronization performance in a preset calibration clock interval as a calibration clock of the frame signal, an accumulative clock error inside of the frame signal is calibrated, so that the problem of erroneous determination caused by the accumulative clock error may be solved. During the carrier frequency calibration process, synchronization codes distributed in different positions of the frame signal are used to obtain carrier frequency sampling points at different positions of the frame signal, and the obtained carrier frequency sampling points are used to predict or fit the change trend of the carrier frequency of the entire frame signal, so that the problem of degraded determination performance caused by frequency drift within the frame may be solved.

Description

同步检测方法及装置Synchronous detection method and device 技术领域Technical field
本发明属于通信技术领域,尤其是,涉及一种同步检测方法及装置。The present invention belongs to the field of communication technology, and in particular, relates to a synchronization detection method and device.
背景技术Background technique
超窄带技术是一种通过降低通信速率来减小系统带宽的通信技术。在超窄带通信过程中,超窄带同步检测及解调性能受通信过程中累积的时钟误差和载频偏移影响。Ultra-narrowband technology is a communication technology that reduces the system bandwidth by reducing the communication rate. In the process of ultra-narrowband communication, the performance of ultra-narrowband synchronization detection and demodulation is affected by the clock error and carrier frequency offset accumulated in the communication process.
以警用数字集群通信系统(police digital trunking,PDT)为例,该PDT采用4FSK调制,带宽为12.5kHz,所传输的信号相对超窄带信号为宽带信号。在宽带信号传输过程中,利用同步码获得时钟同步和载频同步。其中,针对时钟同步,同步码位于一帧信号的中间位置,以确定的中间位置为基准,按预定抽样间隔对两侧有效信息的码元进行抽取,该过程并未考虑时钟累积误差的影响。Take the police digital trunking communication system (police digital trunking, PDT) as an example. The PDT adopts 4FSK modulation with a bandwidth of 12.5 kHz, and the transmitted signal is a broadband signal relative to an ultra-narrowband signal. In the process of broadband signal transmission, the synchronization code is used to obtain clock synchronization and carrier frequency synchronization. Among them, for clock synchronization, the synchronization code is located in the middle position of a frame signal, and the determined middle position is used as a reference, and the symbols of the valid information on both sides are extracted at a predetermined sampling interval. This process does not consider the influence of the accumulated error of the clock.
也就是说,现有的同步码只适用于宽带信号,无法解决超窄带信号传输过程中累积的时钟误差对超窄带同步检测及解调性能的影响。That is to say, the existing synchronization code is only suitable for wideband signals, and cannot solve the effect of the accumulated clock error during the transmission of the ultra-narrowband signal on the ultra-narrowband synchronization detection and demodulation performance.
发明内容Summary of the invention
有鉴于此,本发明的目的在于提供一种同步检测方法及装置,以解决超窄带信号传输过程中累积的时钟误差影响超窄带同步检测及解调性能的问题。In view of this, the purpose of the present invention is to provide a synchronization detection method and device to solve the problem that the accumulated clock error during the transmission of ultra-narrowband signals affects the performance of ultra-narrowband synchronization detection and demodulation.
为实现上述目的,本申请提供如下技术方案:In order to achieve the above objectives, this application provides the following technical solutions:
本发明实施例第一方面公开了一种同步检测方法,所述方法包括:The first aspect of the embodiments of the present invention discloses a synchronization detection method, and the method includes:
获取一帧信号中的同步码,并确定基准同步码和校准同步码;Obtain the synchronization code in a frame signal, and determine the reference synchronization code and the calibration synchronization code;
利用帧同步检测,确定所述一帧信号起始位置;Using frame synchronization detection to determine the start position of the one frame signal;
基于所述基准同步码和所述校准同步码进行时钟校准和/或载频校准;Performing clock calibration and/or carrier frequency calibration based on the reference synchronization code and the calibration synchronization code;
所述时钟校准的过程包括:The clock calibration process includes:
在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据码元包含的采样点设置;Within a preset calibration clock interval, extract the first digital information carried by the calibration synchronization code according to different calibration clocks, and the preset calibration clock interval is set according to the sampling points included in the symbol;
将提取的所述第一数字信息与真值进行比较,确定所述第一数字信息中与真值相同的信息为第二数字信息,基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准;The extracted first digital information is compared with the true value, the information that is the same as the true value in the first digital information is determined to be the second digital information, and the best calibration is determined based on the calibration clock corresponding to the second digital information Clock calibration;
所述载频校准的过程包括:The carrier frequency calibration process includes:
分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值;Respectively calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code, and fitting the carrier frequency sampling values, and using the obtained fitting value as the carrier frequency estimation value;
基于所述载频估计值进行载频校准。Carrier frequency calibration is performed based on the estimated carrier frequency.
优选的,所述依据所述码元包含的采样点设置所述预设校准时钟区间的过程,包括:Preferably, the process of setting the preset calibration clock interval according to the sampling points included in the symbol includes:
确定所述码元中的采样点个数,将所述采样点个数作为等效时钟;Determine the number of sampling points in the symbol, and use the number of sampling points as an equivalent clock;
以所述等效时钟为基准,按照预设量化间隔获取预设个数的校准时钟构成所述预设校准时钟区间。Using the equivalent clock as a reference, obtaining a preset number of calibration clocks according to a preset quantization interval constitutes the preset calibration clock interval.
优选的,所述基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准,包括:Preferably, the determining an optimal calibration clock to perform clock calibration based on the calibration clock corresponding to the second digital information includes:
计算所述第二数字信息对应的校准时钟的平均值,将所述平均值作为最佳校准时钟进行时钟校准;或者,Calculate the average value of the calibration clock corresponding to the second digital information, and use the average value as the best calibration clock for clock calibration; or,
计算所述第二数字信息对应的校准时钟的判决方差,将最小的判决方差对应的校准时钟作为最佳校准时钟进行时钟校准。The decision variance of the calibration clock corresponding to the second digital information is calculated, and the calibration clock corresponding to the smallest decision variance is used as the best calibration clock for clock calibration.
优选的,所述分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,包括:Preferably, the calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and fitting the carrier frequency sampling values, and using the obtained fitting value as the carrier frequency estimation value includes:
计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值;Calculating the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code;
拟合所述第一载频采样值和第二载频采样值,将得到的第一拟合值作为载频估计值;或者,Fitting the first carrier frequency sampling value and the second carrier frequency sampling value, and using the obtained first fitting value as the carrier frequency estimation value; or,
拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;Splitting the reference synchronization code and the calibration synchronization code, and calculating the carrier frequency sampling values of each part of the synchronization code after the splitting;
拟合所述各部分同步码的载频采样值,将得到的第二拟合值作为载频估计值。Fitting the carrier frequency sampling values of each part of the synchronization code, and using the obtained second fitting value as the carrier frequency estimation value.
优选的,所述分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,包括:Preferably, the calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and fitting the carrier frequency sampling values, and using the obtained fitting value as the carrier frequency estimation value includes:
计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值;Calculating the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code;
拟合所述第一载频采样值和第二载频采样值,得到第一拟合值;Fitting the first carrier frequency sampling value and the second carrier frequency sampling value to obtain a first fitting value;
拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;Splitting the reference synchronization code and the calibration synchronization code, and calculating the carrier frequency sampling values of each part of the synchronization code after the splitting;
拟合所述各部分同步码的载频采样值,得到第二拟合值;Fitting the carrier frequency sampling values of each part of the synchronization code to obtain a second fitting value;
平均所述第一拟合值和所述第二拟合值,将得到的平均值作为载频估计值。The first fitting value and the second fitting value are averaged, and the obtained average value is used as the carrier frequency estimation value.
本发明实施例第二方面公开了一种同步检测装置,所述装置包括:In a second aspect of the embodiments of the present invention, a synchronization detection device is disclosed, and the device includes:
获取单元,用于获取一帧信号中的同步码,并确定基准同步码和校准同步码;The acquiring unit is used to acquire the synchronization code in a frame signal, and determine the reference synchronization code and the calibration synchronization code;
帧同步检测单元,用于利用帧同步检测,确定所述一帧信号起始位置;A frame synchronization detection unit, configured to use frame synchronization detection to determine the start position of the one frame signal;
时钟校准单元,用于在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据所述码元包含的采样点设置,将提取的所述第一数字信息与真值进行比较,确定所述第一数字信息中与真值相同的信息为第二数字信息,基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准;The clock calibration unit is configured to extract the first digital information carried by the calibration synchronization code according to different calibration clocks within a preset calibration clock interval, and the preset calibration clock interval is set according to the sampling points contained in the symbols, and The extracted first digital information is compared with the true value, it is determined that the information that is the same as the true value in the first digital information is the second digital information, and the optimal calibration clock is determined based on the calibration clock corresponding to the second digital information Perform clock calibration;
载频校准单元,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,基于所述载频估计值进行载频校准。The carrier frequency calibration unit is used to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the fitted value as the carrier frequency estimation value based on the carrier frequency sampling value. Carrier frequency calibration is performed on the estimated frequency.
优选的,所述装置还包括:Preferably, the device further includes:
预设单元,用于确定所述码元中的采样点个数,将所述采样点个数作为等效时钟,以所述等效时钟为基准,按照预设量化间隔获取预设个数的校准时钟构成所述预设校准时钟区间。The preset unit is used to determine the number of sampling points in the symbol, use the number of sampling points as an equivalent clock, and use the equivalent clock as a reference to obtain a preset number of samples according to a preset quantization interval. The calibration clock constitutes the preset calibration clock interval.
优选的,所述时钟校准单元,包括:Preferably, the clock calibration unit includes:
提取模块,用于在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据所述码元包含的采样点设置;An extraction module, configured to extract the first digital information carried by the calibration synchronization code according to different calibration clocks within a preset calibration clock interval, and the preset calibration clock interval is set according to the sampling points included in the symbol;
比较模块,用于比较并确定所述第一数字信息中与预设数字信息相同的第二数字信息;The comparison module is used to compare and determine the second digital information that is the same as the preset digital information in the first digital information;
第一计算模块,用于计算所述第二数字信息对应的校准时钟的平均值;The first calculation module is configured to calculate the average value of the calibration clock corresponding to the second digital information;
时钟校准模块,用于将所述平均值作为最佳校准时钟进行时钟校准;或者,The clock calibration module is configured to use the average value as the best calibration clock for clock calibration; or,
所述第一计算模块,用于计算所述第二数字信息对应的校准时钟的判决方差;The first calculation module is configured to calculate the decision variance of the calibration clock corresponding to the second digital information;
所述时钟校准模块,用于将最小的判决方差对应的校准时钟作为最佳校准时钟进行时钟校准。The clock calibration module is configured to use the calibration clock corresponding to the smallest decision variance as the best calibration clock for clock calibration.
优选的,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值的所述载频校准单元,包括:Preferably, the carrier frequency calibration unit is configured to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the obtained fitted values as the carrier frequency estimation values. ,include:
第二计算模块,用于计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值;The second calculation module is configured to calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code;
第一拟合模块,用于拟合所述第一载频采样值和第二载频采样值,将得到的第一拟合值作为载频估计值;或者,The first fitting module is configured to fit the first carrier frequency sampling value and the second carrier frequency sampling value, and use the obtained first fitting value as the carrier frequency estimation value; or,
用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值的所述载频校准单元,包括:The carrier frequency calibration unit for calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and fitting the carrier frequency sampling values, and using the obtained fitting value as the carrier frequency estimation value, includes:
第三计算模块,用于拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;The third calculation module is configured to split the reference synchronization code and the calibration synchronization code, and calculate the carrier frequency sampling values of each part of the synchronization code after the split;
第二拟合模块,用于拟合所述各部分同步码的载频采样值,将得到的第二 拟合值作为载频估计值。The second fitting module is used to fit the carrier frequency sampling values of each part of the synchronization code, and use the obtained second fitting value as the carrier frequency estimation value.
优选的,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值的所述载频校准单元,包括:Preferably, the carrier frequency calibration unit is configured to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the obtained fitted values as the carrier frequency estimation values. ,include:
第三计算模块,用于计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值,以及拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;The third calculation module is used to calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code, and to split the reference synchronization code and the calibration synchronization code, Calculate the carrier frequency sampling value of each part of the synchronization code after splitting;
第二拟合模块,用于拟合所述第一载频采样值和第二载频采样值,得到第一拟合值,以及拟合所述各部分同步码的载频采样值,得到第二拟合值;The second fitting module is used to fit the first carrier frequency sampling value and the second carrier frequency sampling value to obtain the first fitted value, and to fit the carrier frequency sampling values of each part of the synchronization code to obtain the first Two fitting values;
平均模块,用于平均所述第一拟合值和所述第二拟合值,将得到的平均值作为载频估计值。The averaging module is used to average the first fitting value and the second fitting value, and use the obtained average value as the carrier frequency estimate value.
本发明实施例第三方面公开一种同步检测设备,包括存储器及处理器,所述处理器用于运行程序,其中,所述程序运行时执行如本发明实施例第一方面公开的同步检测方法。A third aspect of the embodiments of the present invention discloses a synchronization detection device, including a memory and a processor, the processor is used to run a program, wherein the program executes the synchronization detection method disclosed in the first aspect of the embodiment of the present invention when the program is running.
本发明实施例第四方面公开一种计算机存储介质,所述计算机存储介质包括存储的程序,其中,在所述程序被处理器执行时实现如本发明实施例第一方面公开的同步检测方法。The fourth aspect of the embodiment of the present invention discloses a computer storage medium, the computer storage medium includes a stored program, wherein the synchronization detection method disclosed in the first aspect of the embodiment of the present invention is implemented when the program is executed by a processor.
经由上述技术方案可知,本发明实施例公开了一种同步检测方法及装置,通过在一帧信号的不同位置设置同步码,并选择预设校准时钟区间中使同步性能最佳的校准时钟作为一帧信号的校准时钟,从而校准一帧信号内部的时钟累积误差,能够解决因累积时钟误差而导致的判决错误的问题。在载频校准过程中,利用分布在一帧信号不同位置的同步码,获得一帧信号不同位置的载频采样点,并利用获得的载频采样点预测或拟合出整帧信号的载频变化趋势,可解决帧内频率漂移引起的判决性能下降的问题。It can be seen from the above technical solutions that the embodiment of the present invention discloses a synchronization detection method and device, by setting synchronization codes in different positions of a frame signal, and selecting the calibration clock with the best synchronization performance in the preset calibration clock interval as a The calibration clock of the frame signal, thereby calibrating the cumulative error of the clock within a frame signal, can solve the problem of decision errors caused by the cumulative clock error. In the process of carrier frequency calibration, use synchronization codes distributed in different positions of a frame of signal to obtain carrier frequency sampling points at different positions of a frame of signal, and use the obtained carrier frequency sampling points to predict or fit the carrier frequency of the entire frame of signal The changing trend can solve the problem of degraded decision performance caused by frequency drift within the frame.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are For some of the embodiments of the present invention, those of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的一种同步检测方法的流程图;FIG. 1 is a flowchart of a synchronization detection method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种同步检测方法的一具体示例图;2 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种同步检测方法的一具体示例图;FIG. 3 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种同步检测方法的一具体示例图;4 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图5为本发明实施例提供的一种同步检测方法的一具体示例图;5 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图6为本发明实施例提供的一种同步检测方法的一具体示例图;FIG. 6 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图7为本发明实施例提供的一种同步检测方法的一具体示例图;FIG. 7 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图8为本发明实施例提供的一种同步检测方法的一具体示例图;FIG. 8 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图9为本发明实施例提供的一种同步检测方法的一具体示例图;FIG. 9 is a diagram of a specific example of a synchronization detection method provided by an embodiment of the present invention;
图10为本发明实施例提供的一种同步检测装置的结构框图;10 is a structural block diagram of a synchronization detection device provided by an embodiment of the present invention;
图11为本发明实施例提供的一种同步检测装置的结构框图;FIG. 11 is a structural block diagram of a synchronization detection device provided by an embodiment of the present invention;
图12为本发明实施例提供的一种同步检测装置的结构框图;FIG. 12 is a structural block diagram of a synchronization detection device provided by an embodiment of the present invention;
图13为本发明实施例提供的一种同步检测装置的结构框图;FIG. 13 is a structural block diagram of a synchronization detection device provided by an embodiment of the present invention;
图14为本发明实施例提供的一种同步检测装置的结构框图。FIG. 14 is a structural block diagram of a synchronization detection device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其 他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such existence between these entities or operations. The actual relationship or order. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article, or equipment that includes the element.
参考图1,示出了本发明实施例提供的一种同步检测方法的流程图,包括以下步骤:Referring to FIG. 1, a flowchart of a synchronization detection method provided by an embodiment of the present invention is shown, including the following steps:
步骤S101:获取一帧信号中的同步码,并确定基准同步码和校准同步码。Step S101: Obtain a synchronization code in a frame signal, and determine a reference synchronization code and a calibration synchronization code.
在具体实现步骤S101的过程中,获取一帧信号中的同步码,并从获取得到的同步码中确定基准同步码和校准同步码。In the process of specifically implementing step S101, the synchronization code in a frame signal is obtained, and the reference synchronization code and the calibration synchronization code are determined from the obtained synchronization codes.
在具体实现中,所述基准同步码为位于所述一帧信号不同位置的多段同步码中包含码元最多的一段同步码,所述校准同步码为与所述基准同步码中的码元个数相比包含码元较少的所有同步码。In a specific implementation, the reference synchronization code is a synchronization code that contains the most symbols among multiple synchronization codes located at different positions of the one frame signal, and the calibration synchronization code is the number of symbols in the reference synchronization code. Contains all synchronization codes with fewer symbols than the number.
可以理解的是,上述涉及的所述基准同步码为包含码元最多的一段同步码,所述校准同步码为包含码元较少的所有同步码,仅用于举例说明。也可根据实际情况,从所获取的同步码中选择所述基准同步码和校准同步码。具体如何选择基准同步码和校准同步码的方式,在本发明实施例中不做具体限定。It is understandable that the reference synchronization code referred to above is a synchronization code containing the most symbols, and the calibration synchronization code is all synchronization codes containing fewer symbols, and is only used for illustration. It is also possible to select the reference synchronization code and the calibration synchronization code from the acquired synchronization codes according to actual conditions. How to specifically select the reference synchronization code and the manner of the calibration synchronization code is not specifically limited in the embodiment of the present invention.
其中,基准同步码主要用于帧信号的检测,时钟、载频参数的初始估计等,因此,可最优选择包含相对较多的码元。校准同步码是在基准同步码估计得到时钟、载频参数的基础上,校准或计算出由时间变化引起的时钟、载频参数的变化量,因此,可最优选择码元数量会少于基准同步码。Among them, the reference synchronization code is mainly used for frame signal detection, initial estimation of clock and carrier frequency parameters, etc. Therefore, it can be optimally selected to contain relatively more symbols. The calibration synchronization code is to calibrate or calculate the change of the clock and carrier frequency parameters caused by time changes on the basis of the estimated clock and carrier frequency parameters of the reference synchronization code. Therefore, the number of symbols that can be optimally selected is less than the reference Sync code.
步骤S102:利用帧同步检测,确定所述一帧信号起始位置。Step S102: Use frame synchronization detection to determine the start position of the one frame signal.
在执行步骤S102的过程中,对所述一帧信号进行帧同步检测,确定一帧信号起始位置。具体如何进行帧同步检测的方式之一为:利用所述基准同步码进行常规的帧同步检测,能确定所述一帧信号的时间位置,比如确定所述一帧信号的起始位置。In the process of performing step S102, frame synchronization detection is performed on the one-frame signal, and the starting position of the one-frame signal is determined. One way of specifically how to perform frame synchronization detection is to use the reference synchronization code to perform conventional frame synchronization detection, which can determine the time position of the one frame signal, for example, determine the start position of the one frame signal.
相应的,也可利用其它的同步码对所述一帧信号进行帧同步检测,在本发 明实施例中,对于如何对一帧信号进行帧同步检测的方式不做具体限定。Correspondingly, other synchronization codes can also be used to perform frame synchronization detection on the one-frame signal. In the embodiment of the present invention, there is no specific limitation on how to perform frame synchronization detection on one-frame signal.
步骤S103:基于所述基准同步码和所述校准同步码进行时钟校准和/或载频校准。Step S103: Perform clock calibration and/or carrier frequency calibration based on the reference synchronization code and the calibration synchronization code.
在具体实现步骤S103的过程中,所述时钟校准过程详见下述步骤S104和步骤S105相对应的内容,所述载频校准过程详见下述步骤S106和步骤S107相对应的内容。In the process of specifically implementing step S103, the clock calibration process is detailed in the following steps S104 and S105, and the carrier frequency calibration process is detailed in the following steps S106 and S107.
步骤S104:在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息。Step S104: within the preset calibration clock interval, extract the first digital information carried by the calibration synchronization code according to different calibration clocks.
在具体实现步骤S104的过程中,所述预设校准时钟区间依据所述码元包含的采样点设置。或者,所述预设校准时钟区间可由PDT系统的发射器和接收器晶振的最大频偏指标进行计算最大时钟偏移量,也可以根据产品预研时获得的先验值进行设置所述校准时钟区间。In the process of specifically implementing step S104, the preset calibration clock interval is set according to the sampling points included in the symbol. Alternatively, the preset calibration clock interval can be calculated by the maximum frequency deviation index of the transmitter and receiver crystal oscillators of the PDT system, and the calibration clock can also be set according to a priori value obtained during product pre-research Interval.
步骤S105:将提取的所述第一数字信息与真值进行比较,确定所述第一数字信息中与真值相同的信息为第二数字信息,基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准。需要说明的是,在执行步骤S105的过程中,所述第二数字信息为真值,即指约定好的校准同步码携带的数字信息。由于发射器和接收器元器件的不稳定或者不一致,若接收器采用发射器的时钟,由于存在偏差会导致接收信号不能正确解码,接收器必须以较为接近发射器的时钟的值作为时钟才能对接收信号进行正确解码,将接收器采用的时钟称为校准时钟。将所有能对接收信号正确解码的所述校准时钟的平均值作为最佳校准时钟,或者从所有所述校准时钟中选择判决方差最小的时钟为最佳校准时钟。Step S105: Compare the extracted first digital information with the true value, determine that the information that is the same as the true value in the first digital information is the second digital information, and determine based on the calibration clock corresponding to the second digital information The best calibration clock performs clock calibration. It should be noted that in the process of performing step S105, the second digital information is a true value, that is, the digital information carried by the agreed calibration synchronization code. Due to the instability or inconsistency of the transmitter and receiver components, if the receiver uses the transmitter’s clock, the received signal cannot be decoded correctly due to deviations. The receiver must use a value closer to the transmitter’s clock as the clock to correct The received signal is correctly decoded, and the clock used by the receiver is called the calibration clock. The average value of all the calibration clocks that can correctly decode the received signal is used as the best calibration clock, or the clock with the smallest decision variance is selected from all the calibration clocks as the best calibration clock.
步骤S106:分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值。Step S106: Calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and fit the carrier frequency sampling values, and use the obtained fitting value as the carrier frequency estimation value.
步骤S107:基于所述载频估计值进行载频校准。Step S107: Carry out carrier frequency calibration based on the estimated carrier frequency.
本发明实施例中,通过在一帧信号的不同位置设置同步码,并选择预设校准时钟区间中使同步性能最佳的校准时钟作为一帧信号的校准时钟,从而校准 一帧信号内部的时钟累积误差,能够解决因累积时钟误差而导致的判决错误的问题。在载频校准过程中,利用分布在一帧信号不同位置的同步码,获得一帧信号不同位置的载频采样点,并利用获得的载频采样点预测或拟合出整帧信号的载频变化趋势,可解决帧内频率漂移引起的判决性能下降的问题。In the embodiment of the present invention, the synchronization code is set at different positions of a frame signal, and the calibration clock with the best synchronization performance in the preset calibration clock interval is selected as the calibration clock of the frame signal, thereby calibrating the internal clock of the frame signal Cumulative error can solve the problem of decision error caused by accumulated clock error. In the process of carrier frequency calibration, use synchronization codes distributed in different positions of a frame of signal to obtain carrier frequency sampling points at different positions of a frame of signal, and use the obtained carrier frequency sampling points to predict or fit the carrier frequency of the entire frame of signal The changing trend can solve the problem of degraded decision performance caused by frequency drift within the frame.
根据上述本发明实施例图1公开的一种同步检测方法,在进行时钟校准的过程中,执行步骤S104得到所述第一数字信息,并执行步骤S105得到所述最佳校准时钟并进行时钟校准。具体进行时钟校准的过程参见以下详细说明。According to the synchronization detection method disclosed in FIG. 1 of the above embodiment of the present invention, in the process of clock calibration, step S104 is executed to obtain the first digital information, and step S105 is executed to obtain the optimal calibration clock and perform clock calibration. . For the specific clock calibration process, please refer to the following detailed description.
参考图2,示出了本发明实施例提供的一种设置预设校准时钟区间并获取最佳校准时钟进行时钟校准的流程图,可以包括以下步骤:Referring to FIG. 2, there is shown a flowchart of setting a preset calibration clock interval and obtaining the best calibration clock for clock calibration according to an embodiment of the present invention, which may include the following steps:
步骤S201:确定所述码元中的采样点个数,将所述采样点个数作为等效时钟。Step S201: Determine the number of sampling points in the symbol, and use the number of sampling points as an equivalent clock.
为更好解释说明步骤S201,下面举例进行说明如何确定所述采样点个数和确定等效时钟:To better explain step S201, the following examples illustrate how to determine the number of sampling points and determine the equivalent clock:
系统时钟对1s信号的采样率为2.88MHz,即1s的信号,均匀等间隔采集2880000个数据点。假设1s信号包含100个码元,则每个码元包含28800个数据点,这样每个处理码元需要处理的点数为28800,运算量巨大。为减少运算量,在对1s信号处理流程中,会将采样率分几次进行降低,假设采样率降低到16kHz时,每个码元只包含16个采样点,这里的16与系统时钟有确定变换和对应关系,16可视为等效时钟,这样就获得了采样点个数和等效时钟。The sampling rate of the system clock to the 1s signal is 2.88MHz, that is, for the 1s signal, 2880000 data points are collected at even and equal intervals. Assuming that the 1s signal contains 100 symbols, each symbol contains 28800 data points, so the number of points to be processed for each processing symbol is 28,800, which is a huge amount of calculation. In order to reduce the amount of calculation, in the 1s signal processing process, the sampling rate will be reduced in several times. Assuming that when the sampling rate is reduced to 16kHz, each symbol contains only 16 sampling points, where 16 is determined by the system clock Conversion and correspondence, 16 can be regarded as the equivalent clock, so that the number of sampling points and the equivalent clock are obtained.
需要说明的是,本发明实施例中将所述采样点个数作为等效时钟并不仅限于上述举例。It should be noted that the use of the number of sampling points as the equivalent clock in the embodiment of the present invention is not limited to the above examples.
步骤S202:以所述等效时钟为基准,按照预设量化间隔获取预设个数的校准时钟构成所述预设校准时钟区间。Step S202: Using the equivalent clock as a reference, obtain a preset number of calibration clocks according to a preset quantization interval to form the preset calibration clock interval.
在执行步骤S202的过程中,所述量化间隔指的是将取值区域按等间隔分割成多个部分的等间隔值。所述校准时钟区间可由接收器和发射器的最大频偏指标进行计算最大时钟偏移量,或者根据产品预研时获得的先验值进行设定。以根据先验值设定校准时钟区间为例进行举例说明:假设等效时钟为16,在 实际产品开发中观察到时钟偏移量不超过15.95和16.05,则可以此为据适当扩大校准时钟的区间,比如设置成15.80-16.20,该区间涵盖常规情况下的最大时钟偏移范围。In the process of performing step S202, the quantization interval refers to equal interval values that divide the value area into multiple parts at equal intervals. The calibration clock interval can be calculated by the maximum frequency deviation index of the receiver and the transmitter to calculate the maximum clock offset, or set according to a priori value obtained during product pre-research. Take the setting of the calibration clock interval based on the prior value as an example: assuming that the equivalent clock is 16, in actual product development, it is observed that the clock offset does not exceed 15.95 and 16.05, then this can be used as an appropriate basis for expanding the calibration clock The interval, for example, set to 15.80-16.20, this interval covers the maximum clock offset range under normal circumstances.
参考图3,示出了本发明实施例提供的一种确定最佳校准时钟并进行时钟校准的流程图,包括以下步骤:Referring to FIG. 3, it shows a flowchart of determining the best calibration clock and performing clock calibration according to an embodiment of the present invention, including the following steps:
步骤S301:计算所述第二数字信息对应的校准时钟平均值,将所述平均值作为最佳校准时钟。执行步骤S303。Step S301: Calculate the average value of the calibration clock corresponding to the second digital information, and use the average value as the best calibration clock. Step S303 is executed.
在执行步骤S301的过程中,计算所述第二数字信息对应的校准时钟平均值和得到所述最佳校准时钟区间的具体操作,参见上述本发明实施例图1公开的步骤S105相对应的内容。In the process of performing step S301, the specific operation of calculating the average value of the calibration clock corresponding to the second digital information and obtaining the optimal calibration clock interval, refer to the content corresponding to step S105 disclosed in FIG. 1 of the above embodiment of the present invention .
步骤S302:计算所述第二数字信息对应的校准时钟的判决方差,将最小的判决方差对应的校准时钟作为最佳校准时钟。Step S302: Calculate the decision variance of the calibration clock corresponding to the second digital information, and use the calibration clock corresponding to the smallest decision variance as the best calibration clock.
在执行步骤S302的过程中,计算所述第二数字信息对应的校准时钟的判决方差和得到所述最佳校准时钟区间的具体操作,参见上述本发明实施例图1公开的步骤S104相对应的内容。In the process of performing step S302, calculating the decision variance of the calibration clock corresponding to the second digital information and obtaining the specific operation of the optimal calibration clock interval, refer to the step S104 disclosed in FIG. 1 of the above embodiment of the present invention. content.
步骤S303:根据最佳校准时钟进行时钟校准。Step S303: Perform clock calibration according to the best calibration clock.
为更好的解释说明本发明实施例公开的图1、图2和图3,参考图4,以位于所述一帧信号首部的基准同步码和位于尾部的校准同步码为例,示出时钟校准的过程,详细过程参见以下过程(1)至(4):In order to better explain the Figure 1, Figure 2 and Figure 3 disclosed in the embodiment of the present invention, referring to Figure 4, taking the reference synchronization code at the head of the frame signal and the calibration synchronization code at the tail as an example, the clock is shown For the calibration process, refer to the following processes (1) to (4) for the detailed process:
(1)利用首部的基准同步码进行常规的帧同步检测,确定所述一帧信号出现的起始位置。(1) Use the reference synchronization code in the header to perform regular frame synchronization detection to determine the starting position of the one-frame signal.
(2)将对所述一帧信号的采样率降低到16kHz,即每个码元只包含16个采样点,则系统原时钟可等效为16。(2) Reduce the sampling rate of the one-frame signal to 16 kHz, that is, each symbol contains only 16 sampling points, and the original system clock can be equivalent to 16.
(3)设置时钟校准区间为15.80-16.20,将所述时钟校准区间按等间隔分割成多个部分,所述等间隔为0.01,则所述码元包含41个校准时钟。(3) Set the clock calibration interval to 15.80-16.20, and divide the clock calibration interval into multiple parts at equal intervals. If the equal interval is 0.01, the symbol includes 41 calibration clocks.
(4)在所述每个校准时钟对尾部的校准同步码进行提取,将提取结果与真值进行比较,参见图4,所述真值为1110010,由图4可知,16.07-16.11这 个校准时钟区间内提取到的结果均为1110010,与真值一致,判决正确。将16.07-16.11这个时钟区间求取平均值,即(16.07+16.08+16.09+16.10+16.11)/5=16.09,最佳校准时钟为16.09。(4) Extract the calibration synchronization code at the tail at each calibration clock, and compare the extraction result with the true value, see Figure 4, the true value is 1110010, and it can be seen from Figure 4 that the calibration clock is 16.07-16.11 The results extracted in the interval are all 1110010, which is consistent with the true value, and the judgment is correct. Calculate the average value of the 16.07-16.11 clock interval, that is, (16.07+16.08+16.09+16.10+16.11)/5=16.09, and the best calibration clock is 16.09.
本发明实施例中,通过在一帧信号的不同位置设置同步码,并选择预设校准时钟区间中使同步性能最佳的校准时钟作为一帧信号的校准时钟,从而校准一帧信号内部的时钟累积误差,能够解决因累积时钟误差而导致的判决错误的问题。In the embodiment of the present invention, the synchronization code is set at different positions of a frame signal, and the calibration clock with the best synchronization performance in the preset calibration clock interval is selected as the calibration clock of the frame signal, thereby calibrating the internal clock of the frame signal Cumulative error can solve the problem of decision error caused by accumulated clock error.
结合图1,参考图5,示出了本发明实施例提供的一种计算基准同步码和校准同步码的载频采样值并拟合得到载频估计值的流程图,包括以下步骤:With reference to Fig. 1 and Fig. 5, a flow chart of calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code and fitting to obtain the carrier frequency estimation value provided by an embodiment of the present invention is shown, including the following steps:
步骤S501:计算所述基准同步码的第一载频采样值和所述校准同步码的第二载频采样值。Step S501: Calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code.
步骤S502:拟合所述第一载频采样值和第二载频采样值,将得到的第一拟合值作为载频估计值。Step S502: Fit the first carrier frequency sampling value and the second carrier frequency sampling value, and use the obtained first fitting value as the carrier frequency estimation value.
参考图6,示出了本发明实施例提供的另一种计算基准同步码和校准同步码的载频采样值并拟合得到载频估计值的流程图,可以包括以下步骤:Referring to FIG. 6, there is shown another flow chart of calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code and fitting to obtain the carrier frequency estimation value provided by the embodiment of the present invention, which may include the following steps:
步骤S601:拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值。Step S601: Split the reference synchronization code and the calibration synchronization code, and calculate the carrier frequency sampling value of each part of the synchronization code after the split.
在具体实现步骤S601的过程中,拆分所述基准同步码和所述校准同步码的具体操作参见以下举例说明:假设一帧信号首部的基准同步码和尾部的校准同步码含有10个码元,可以分别用10个码元共同估计出一个频率,即相当于第5.5个码元处的频率。或者所述首部的基准同步码和所述尾部的校准分别拆分成两组,每组5个码元,每5个码元估计出一个频率,相当于第2.5个码元和第7.5个码元处的频率。这样首部和尾部能估计出4个频率。In the process of specifically implementing step S601, the specific operation of splitting the reference synchronization code and the calibration synchronization code is described in the following example: Assume that the reference synchronization code at the head of a frame signal and the calibration synchronization code at the tail contain 10 symbols. , You can use 10 symbols to estimate a frequency together, which is equivalent to the frequency at the 5.5th symbol. Or the reference synchronization code of the header and the calibration of the tail are divided into two groups, 5 symbols in each group, and a frequency is estimated for every 5 symbols, which is equivalent to the 2.5th symbol and the 7.5th code The frequency at the element. In this way, 4 frequencies can be estimated at the head and tail.
步骤S602:拟合所述各部分同步码的载频采样值,将得到的第二拟合值作为载频估计值。Step S602: Fit the carrier frequency sampling values of each part of the synchronization code, and use the obtained second fitting value as the carrier frequency estimation value.
参考图7,示出了本发明实施例提供的另一种计算基准同步码和校准同步码的载频采样值并拟合得到载频估计值的流程图,可以包括以下步骤:Referring to FIG. 7, there is shown another flow chart of calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code and fitting to obtain the carrier frequency estimation value provided by the embodiment of the present invention, which may include the following steps:
步骤S701:计算所述基准同步码的第一载频采样值和所述校准同步码的第二载频采样值。Step S701: Calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code.
步骤S702:拟合所述第一载频采样值和第二载频采样值,得到第一拟合值。Step S702: Fit the first carrier frequency sample value and the second carrier frequency sample value to obtain a first fitted value.
步骤S703:拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值。Step S703: Split the reference synchronization code and the calibration synchronization code, and calculate the carrier frequency sampling value of each part of the synchronization code after the split.
在具体实现步骤S703的过程中,拆分所述基准同步码和所述校准同步码的具体操作参见本发明实施例图6公开的步骤S601相对应的内容。In the process of specifically implementing step S703, for the specific operation of splitting the reference synchronization code and the calibration synchronization code, refer to the content corresponding to step S601 disclosed in FIG. 6 of the embodiment of the present invention.
步骤S704:拟合所述各部分同步码的载频采样值,得到第二拟合值。Step S704: Fit the carrier frequency sampling values of each part of the synchronization code to obtain a second fitted value.
步骤S705:平均所述第一拟合值和所述第二拟合值,将得到的平均值作为载频估计值。Step S705: Average the first fitting value and the second fitting value, and use the obtained average value as the carrier frequency estimation value.
为更好解释说明本发明实施例图5、图6和图7公开的步骤,结合图5、图6和图7。图8和图9以位于所述一帧信号首部的基准同步码和位于尾部的校准同步码为例,示出了在极端情况和普通情况下一种同步检测方法的载频校准的示意图,图8和图9中的曲线810为载频在所述一帧信号的内漂移变化,载频校准的详细过程参见以下过程(1)-(5)。In order to better explain the steps disclosed in FIG. 5, FIG. 6 and FIG. 7 in the embodiment of the present invention, FIG. 5, FIG. 6 and FIG. 7 are combined. Figures 8 and 9 take the reference synchronization code at the head of the one frame signal and the calibration synchronization code at the tail as examples, showing a schematic diagram of carrier frequency calibration of a synchronization detection method under extreme conditions and ordinary conditions. The curve 810 in FIG. 8 and FIG. 9 is the drift change of the carrier frequency within the signal frame. For the detailed process of the carrier frequency calibration, refer to the following processes (1)-(5).
(1)利用位于所述一帧信号首部的基准同步码和尾部的校准同步码求得两个载频采样值,分别为第一载频采样值801和第二载频采样值804。(1) Using the reference synchronization code at the head of the frame signal and the calibration synchronization code at the tail to obtain two carrier frequency sampling values, which are the first carrier frequency sampling value 801 and the second carrier frequency sampling value 804, respectively.
(2)连接所述第一载频采样值801和第二载频采样值804得到斜线近似线807,所述斜线近似线807为第一拟合值,将所述第一拟合值作为载频估计值。(2) Connect the first carrier frequency sampling value 801 and the second carrier frequency sampling value 804 to obtain a diagonal approximation line 807. The diagonal approximation line 807 is the first fitting value, and the first fitting value As the carrier frequency estimate.
(3)将所述第一载频采样值801裂变为载频采样值802和803,将所述第二载频采样值804裂变为载频采样值805和806。其中,所述第一载频采样值801和所述第二载频采样值804裂变的具体操作参见上述本发明实施例图6公开的步骤S601相对应的内容。(3) Split the first carrier frequency sample value 801 into carrier frequency sample values 802 and 803, and split the second carrier frequency sample value 804 into carrier frequency sample values 805 and 806. For the specific operation of the fission of the first carrier frequency sampling value 801 and the second carrier frequency sampling value 804, refer to the content corresponding to step S601 disclosed in FIG. 6 of the foregoing embodiment of the present invention.
(4)连接载频采样值802和803,连接载频采样值805和806,将得到的两条斜线连接交汇可以得到折线近似线809,所述折线近似线809为第二拟合 值,将所述第二拟合值作为载频估计值。(4) Connecting the carrier frequency sampling values 802 and 803, connecting the carrier frequency sampling values 805 and 806, and connecting and intersecting the two oblique lines obtained can obtain a broken line approximation line 809. The broken line approximation line 809 is the second fitting value. The second fitting value is used as the carrier frequency estimation value.
(5)将所述斜线近似线807和所述折线近似线809相对应的点求平均可得到均线近似线808,所述均线近似线为第三拟合值,将所述第三拟合值作为载频估计值。(5) Average the points corresponding to the diagonal approximation line 807 and the broken line approximation line 809 to obtain a mean approximation line 808, the mean approximation line is the third fitting value, and the third fitting The value is used as the carrier frequency estimate.
需要说明的是,从图8和图9可以看出三条近似线在不同情况下对载频的近似程度也不同。在实际应用中,可结合通信芯片的具体特征进行选择载频估计方法。参见上述本发明实施例图8和图9公开的过程(2)、过程(4)和过程(5),这三种得到载频估计值的方法只是所有载频估计方法中的其中三种载频估计方法,其余就不一一举例说明。It should be noted that it can be seen from FIG. 8 and FIG. 9 that the three approximation lines have different degrees of approximation to the carrier frequency in different situations. In practical applications, the carrier frequency estimation method can be selected in combination with the specific characteristics of the communication chip. Referring to the process (2), process (4), and process (5) disclosed in Figures 8 and 9 of the above embodiment of the present invention, these three methods for obtaining carrier frequency estimation values are only three of the carrier frequency estimation methods. Frequency estimation methods, the rest will not be illustrated one by one.
本发明实施例公开了一种同步检测方法,通过在一帧信号的不同位置设置同步码,利用分别在一帧信号不同位置的同步码,获取一帧信号不同位置的载频采样点,并利用获得的频率采样点预测或拟合出整帧信号的载频变化趋势,从而解决由一帧信号内载频漂移引起的判决性能下降的问题。The embodiment of the present invention discloses a synchronization detection method. By setting synchronization codes at different positions of a frame of signal, using synchronization codes at different positions of a frame of signal, obtain carrier frequency sampling points at different positions of a frame of signal, and use The obtained frequency sampling points predict or fit the carrier frequency change trend of the entire frame signal, so as to solve the problem of degraded decision performance caused by the carrier frequency drift within a frame signal.
需要说明的是,在系统对一帧信号进行处理时,利用本发明实施例图3公开的步骤S301-步骤S302得到的最佳校准时钟替代系统原时钟进行采样点数据提取,利用本发明实施图5、图6和图7公开的步骤得到的载频估计值作为频率参考值进行对接收信号的常规处理,所述常规处理包括频域滤波、下混频和降采样等。为实现对一帧信号更佳的处理效果和处理简便,多段同步码应分布在较大时间跨度上,或者分布在已知信号先验信息的关键位置,每段同步码应便于计算载频。同时,在处理所述一帧信号时,时钟校准和频率校准可单独进行一项,也可以完成两项。It should be noted that when the system processes a frame of signal, the best calibration clock obtained from step S301-step S302 disclosed in Figure 3 of the embodiment of the present invention is used to replace the original system clock for sampling point data extraction, and the implementation diagram of the present invention is used. 5. The carrier frequency estimated value obtained by the steps disclosed in Figs. 6 and 7 is used as a frequency reference value to perform conventional processing on the received signal, and the conventional processing includes frequency domain filtering, down-mixing, down-sampling, and the like. In order to achieve a better processing effect and simple processing of a frame of signal, multiple segments of synchronization codes should be distributed over a larger time span, or distributed in key positions of known signal prior information, and each segment of synchronization code should be easy to calculate the carrier frequency. At the same time, when processing the one-frame signal, clock calibration and frequency calibration can be performed separately, or two can be completed.
与上述本发明实施例提供的一种同步检测方法的流程图相对应,参考图10,示出了本发明实施例提供的一种同步检测装置的结构框图,包括:获取单元1001、帧同步检测单元1002、时钟校准单元1003和载频校准单元1004;Corresponding to the flowchart of the synchronization detection method provided in the above embodiment of the present invention, referring to FIG. 10, a structural block diagram of a synchronization detection apparatus provided by an embodiment of the present invention is shown, including: an acquisition unit 1001, frame synchronization detection Unit 1002, clock calibration unit 1003, and carrier frequency calibration unit 1004;
其中:among them:
获取单元1001,用于获取一帧信号中的同步码,并确定基准同步码和校准同步码,所述基准同步码和校准同步码的具体定义参见上述本发明实施例图 1公开的步骤S101相对应的内容。The acquiring unit 1001 is used to acquire the synchronization code in a frame signal and determine the reference synchronization code and the calibration synchronization code. For the specific definition of the reference synchronization code and the calibration synchronization code, refer to the step S101 disclosed in FIG. 1 of the above embodiment of the present invention. Corresponding content.
帧同步检测单元1002,用于利用帧同步检测,确定所述一帧信号的起始位置,如何确定所述一帧信号的起始位置参见上述本发明实施例图1公开的步骤S102相对应的内容。The frame synchronization detection unit 1002 is configured to use frame synchronization detection to determine the start position of the one frame signal. For how to determine the start position of the one frame signal, refer to the step S102 disclosed in FIG. 1 of the above embodiment of the present invention. content.
时钟校准单元1003,用于在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据所述码元包含的采样点设置,将提取的所述第一数字信息与真值进行比较,确定所述第一数字信息中与真值相同的信息为第二数字信息,基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准,设置所述校准时钟区间和进行所述时钟校准的具体方式参见上述本发明实施例图1公开的步骤S104和S105相对应的内容。The clock calibration unit 1003 is configured to extract the first digital information carried by the calibration synchronization code according to different calibration clocks within a preset calibration clock interval, and the preset calibration clock interval is set according to the sampling points included in the symbols, The extracted first digital information is compared with the true value, the information that is the same as the true value in the first digital information is determined to be the second digital information, and the best calibration is determined based on the calibration clock corresponding to the second digital information The clock performs clock calibration, and the specific manner of setting the calibration clock interval and performing the clock calibration can refer to the content corresponding to steps S104 and S105 disclosed in FIG. 1 of the above embodiment of the present invention.
载频校准单元1004,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,基于所述载频估计值进行载频校准。The carrier frequency calibration unit 1004 is configured to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the obtained fitting value as the carrier frequency estimation value based on the carrier frequency sampling value. Carrier frequency calibration is performed on the estimated value of the carrier frequency.
优选的,结合图10,参考图11,本发明实施例提供的一种同步检测装置还包括:预设单元1005;Preferably, in conjunction with FIG. 10 and referring to FIG. 11, the synchronization detection device provided by the embodiment of the present invention further includes: a preset unit 1005;
预设单元1005,用于确定所述码元中的采样点个数,将所述采样点个数作为等效时钟,以所述等效时钟为基准,按照预设量化间隔获取预设个数的校准时钟构成所述预设校准时钟区间,构成所述校准时钟区间的具体过程参见上述本发明实施例图2公开的步骤S201和步骤S202相对应的内容。The preset unit 1005 is configured to determine the number of sampling points in the symbol, use the number of sampling points as an equivalent clock, and use the equivalent clock as a reference to obtain a preset number according to a preset quantization interval The calibration clock constitutes the preset calibration clock interval. For the specific process of constituting the calibration clock interval, refer to the corresponding content of step S201 and step S202 disclosed in FIG. 2 of the above embodiment of the present invention.
优选的,结合图11,参考图12,本发明实施例提供的一种同步检测装置中,时钟校准单元1003包括:提取模块10031、比较模块10032、第一计算模块11032和时钟校准模块11033;Preferably, in conjunction with FIG. 11 and referring to FIG. 12, in a synchronization detection device provided by an embodiment of the present invention, the clock calibration unit 1003 includes: an extraction module 10031, a comparison module 10032, a first calculation module 11032, and a clock calibration module 11033;
其中:among them:
提取模块10031:用于在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据所述码元包含的采样点设置,具体过程参见上述本发明实施例图1公开的步骤S104相对应 的内容。Extraction module 10031: used to extract the first digital information carried by the calibration synchronization code according to different calibration clocks within a preset calibration clock interval. The preset calibration clock interval is set according to the sampling points contained in the symbols, specifically For the process, refer to the content corresponding to step S104 disclosed in FIG. 1 of the foregoing embodiment of the present invention.
比较模块10032,用于比较并确定所述第一数字信息中与预设数字信息相同的第二数字信息。The comparison module 10032 is used to compare and determine the second digital information that is the same as the preset digital information in the first digital information.
第一计算模块10033,用于计算所述第二数字信息对应的校准时钟的平均值,或者用于计算所述第二数字信息对应的校准时钟的判决方差。The first calculation module 10033 is configured to calculate the average value of the calibration clock corresponding to the second digital information, or to calculate the decision variance of the calibration clock corresponding to the second digital information.
时钟校准模块10034,用于将所述平均值作为最佳校准时钟进行时钟校准,或者将最小的判决方差对应的校准时钟作为最佳校准时钟进行时钟校准,确定所述最佳校准时钟的具体过程参见上述本发明实施例图1公开的步骤S105相对应的内容。The clock calibration module 10034 is configured to use the average value as the best calibration clock for clock calibration, or use the calibration clock corresponding to the smallest decision variance as the best calibration clock for clock calibration, and the specific process of determining the best calibration clock Refer to the content corresponding to step S105 disclosed in FIG. 1 of the above embodiment of the present invention.
优选的,结合图12,参考图13,本发明实施例提供的一种同步检测装置,载频校准单元1004包括:Preferably, referring to FIG. 12 and FIG. 13, according to an embodiment of the present invention, in a synchronization detection device, the carrier frequency calibration unit 1004 includes:
第二计算模块10041,用于计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值。The second calculation module 10041 is configured to calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code.
第一拟合模块10042,用于拟合所述第一载频采样值和第二载频采样值,将得到的第一拟合值作为载频估计值。The first fitting module 10042 is configured to fit the first carrier frequency sampling value and the second carrier frequency sampling value, and use the obtained first fitting value as the carrier frequency estimation value.
优选的,结合图13,参考图14,本发明实施例提供的一种同步检测装置中,载频校准单元1004包括:Preferably, in conjunction with FIG. 13 and referring to FIG. 14, in a synchronization detection device provided by an embodiment of the present invention, the carrier frequency calibration unit 1004 includes:
第三计算模块10043,用于拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值,拆分所述基准同步码和所述校准同步码的具体过程参见上述本发明实施例图6公开的步骤S601相对应的内容。The third calculation module 10043 is configured to split the reference synchronization code and the calibration synchronization code, calculate the carrier frequency sampling values of each part of the synchronization code after the split, and split the reference synchronization code and the calibration synchronization code For the specific process, refer to the content corresponding to step S601 disclosed in FIG. 6 of the foregoing embodiment of the present invention.
第二拟合模块10044,用于拟合所述各部分同步码的载频采样值,将得到的第二拟合值作为载频估计值。The second fitting module 10044 is configured to fit the carrier frequency sampling values of each part of the synchronization code, and use the obtained second fitting value as the carrier frequency estimation value.
可选的,第三计算模块10043,用于计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值,以及拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值。Optionally, the third calculation module 10043 is configured to calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code, and to split the reference synchronization code and the The calibration synchronization code is described, and the carrier frequency sampling value of each part of the synchronization code after splitting is calculated.
可选的,第二拟合模块10044,用于拟合所述第一载频采样值和第二载频采样值,得到第一拟合值,以及拟合所述各部分同步码的载频采样值,得到第 二拟合值。Optionally, a second fitting module 10044 is used to fit the first carrier frequency sample value and the second carrier frequency sample value to obtain a first fitted value, and to fit the carrier frequency of each part of the synchronization code Sampling values to obtain the second fitted value.
平均模块10045,用于平均所述第一拟合值和所述第二拟合值,将得到的平均值作为载频估计值。The averaging module 10045 is configured to average the first fitted value and the second fitted value, and use the obtained average value as the carrier frequency estimate value.
优选的,本发明实施例还提供一种同步检测设备,包括存储器及处理器,所述处理器用于运行程序,其中,所述程序运行时执行如上述本发明实施例公开的同步检测方法。Preferably, an embodiment of the present invention further provides a synchronization detection device, including a memory and a processor, the processor is configured to run a program, wherein the program executes the synchronization detection method disclosed in the foregoing embodiment of the present invention when the program is running.
优选的,本发明实施例还提供一种计算机存储介质,所述计算机存储介质包括存储的程序,其中,在所述程序被处理器执行时实现如上述本发明实施例公开的同步检测方法。Preferably, the embodiment of the present invention further provides a computer storage medium, the computer storage medium includes a stored program, wherein the synchronization detection method disclosed in the above embodiment of the present invention is implemented when the program is executed by the processor.
综上所述,本发明实施例公开了一种同步检测方法及装置,通过在一帧信号的不同位置设置同步码,并选择预设校准时钟区间中使同步性能最佳的校准时钟作为一帧信号的校准时钟,从而校准一帧信号内部的时钟累积误差,能够解决因累积时钟误差而导致的判决错误的问题。同时,利用分别在一帧信号不同位置的同步码,获取一帧信号不同位置的载频采样点,并利用获得的频率采样点预测或拟合出整帧信号的载频变化趋势,从而解决由一帧信号内载频漂移引起的判决性能下降的问题。In summary, the embodiment of the present invention discloses a synchronization detection method and device. By setting synchronization codes in different positions of a frame signal, and selecting the calibration clock with the best synchronization performance in the preset calibration clock interval as a frame The signal is calibrated to the clock, so as to calibrate the cumulative error of the clock within a frame of signal, which can solve the problem of decision errors caused by the cumulative clock error. At the same time, use synchronization codes at different positions of a frame of signal to obtain carrier frequency sampling points at different positions of a frame of signal, and use the obtained frequency sampling points to predict or fit the carrier frequency change trend of the entire frame of signal, thereby solving the problem of The problem of degraded decision performance caused by carrier frequency drift within a frame of signal.
对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described sequence of actions, because according to the present invention, Some steps can be performed in other order or at the same time. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts between the various embodiments, refer to each other. can. As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中 所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown in this document, but should conform to the widest scope consistent with the principles and novel features disclosed in this document.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also It should be regarded as the protection scope of the present invention.

Claims (12)

  1. 一种同步检测方法,其特征在于,所述方法包括:A synchronization detection method, characterized in that the method includes:
    获取一帧信号中的同步码,并确定基准同步码和校准同步码;Obtain the synchronization code in a frame signal, and determine the reference synchronization code and the calibration synchronization code;
    利用帧同步检测,确定所述一帧信号起始位置;Using frame synchronization detection to determine the start position of the one frame signal;
    基于所述基准同步码和所述校准同步码进行时钟校准和/或载频校准;Performing clock calibration and/or carrier frequency calibration based on the reference synchronization code and the calibration synchronization code;
    所述时钟校准的过程包括:The clock calibration process includes:
    在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据码元包含的采样点设置;Within a preset calibration clock interval, extract the first digital information carried by the calibration synchronization code according to different calibration clocks, and the preset calibration clock interval is set according to the sampling points included in the symbol;
    将提取的所述第一数字信息与真值进行比较,确定所述第一数字信息中与真值相同的信息为第二数字信息,基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准;The extracted first digital information is compared with the true value, the information that is the same as the true value in the first digital information is determined to be the second digital information, and the best calibration is determined based on the calibration clock corresponding to the second digital information Clock calibration;
    所述载频校准的过程包括:The carrier frequency calibration process includes:
    分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值;Respectively calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code, and fitting the carrier frequency sampling values, and using the obtained fitting value as the carrier frequency estimation value;
    基于所述载频估计值进行载频校准。Carrier frequency calibration is performed based on the estimated carrier frequency.
  2. 根据权利要求1所述的方法,其特征在于,所述依据码元包含的采样点设置所述预设校准时钟区间的过程,包括:The method according to claim 1, wherein the process of setting the preset calibration clock interval according to the sampling points included in the symbol comprises:
    确定所述码元中的采样点个数,将所述采样点个数作为等效时钟;Determine the number of sampling points in the symbol, and use the number of sampling points as an equivalent clock;
    以所述等效时钟为基准,按照预设量化间隔获取预设个数的校准时钟构成所述预设校准时钟区间。Using the equivalent clock as a reference, obtaining a preset number of calibration clocks according to a preset quantization interval constitutes the preset calibration clock interval.
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准,包括:The method according to claim 1, wherein the determining an optimal calibration clock to perform clock calibration based on the calibration clock corresponding to the second digital information comprises:
    计算所述第二数字信息对应的校准时钟的平均值,将所述平均值作为最佳校准时钟进行时钟校准;或者,Calculate the average value of the calibration clock corresponding to the second digital information, and use the average value as the best calibration clock for clock calibration; or,
    计算所述第二数字信息对应的校准时钟的判决方差,将最小的判决方差对应的校准时钟作为最佳校准时钟进行时钟校准。The decision variance of the calibration clock corresponding to the second digital information is calculated, and the calibration clock corresponding to the smallest decision variance is used as the best calibration clock for clock calibration.
  4. 根据权利要求1-3中任一所述的方法,其特征在于,所述分别计算所 述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,包括:The method according to any one of claims 1-3, wherein the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code are calculated separately, and the carrier frequency sampling values are fitted to obtain The fitted value is used as the carrier frequency estimate, including:
    计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值;Calculating the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code;
    拟合所述第一载频采样值和第二载频采样值,将得到的第一拟合值作为载频估计值;或者,Fitting the first carrier frequency sampling value and the second carrier frequency sampling value, and using the obtained first fitting value as the carrier frequency estimation value; or,
    拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;Splitting the reference synchronization code and the calibration synchronization code, and calculating the carrier frequency sampling values of each part of the synchronization code after the splitting;
    拟合所述各部分同步码的载频采样值,将得到的第二拟合值作为载频估计值。Fitting the carrier frequency sampling values of each part of the synchronization code, and using the obtained second fitting value as the carrier frequency estimation value.
  5. 根据权利要求1-3中任一项所述的方法,其特征在于,所述分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,包括:The method according to any one of claims 1-3, wherein the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code are calculated separately, and the carrier frequency sampling values are fitted to obtain The fitted value of is used as the carrier frequency estimate, including:
    计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值;Calculating the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code;
    拟合所述第一载频采样值和第二载频采样值,得到第一拟合值;Fitting the first carrier frequency sampling value and the second carrier frequency sampling value to obtain a first fitting value;
    拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;Splitting the reference synchronization code and the calibration synchronization code, and calculating the carrier frequency sampling values of each part of the synchronization code after the splitting;
    拟合所述各部分同步码的载频采样值,得到第二拟合值;Fitting the carrier frequency sampling values of each part of the synchronization code to obtain a second fitting value;
    平均所述第一拟合值和所述第二拟合值,将得到的平均值作为载频估计值。The first fitting value and the second fitting value are averaged, and the obtained average value is used as the carrier frequency estimation value.
  6. 一种同步检测装置,其特征在于,所述装置包括:A synchronization detection device, characterized in that the device includes:
    获取单元,用于获取一帧信号中的同步码,并确定基准同步码和校准同步码;The acquiring unit is used to acquire the synchronization code in a frame signal, and determine the reference synchronization code and the calibration synchronization code;
    帧同步检测单元,用于利用帧同步检测,确定所述一帧信号起始位置;A frame synchronization detection unit, configured to use frame synchronization detection to determine the start position of the one frame signal;
    时钟校准单元,用于在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据码元包含的采样 点设置,将提取的所述第一数字信息与真值进行比较,确定所述第一数字信息中与真值相同的信息为第二数字信息,基于所述第二数字信息对应的校准时钟确定最佳校准时钟进行时钟校准;The clock calibration unit is configured to extract the first digital information carried by the calibration synchronization code according to different calibration clocks within a preset calibration clock interval. The preset calibration clock interval is set according to the sampling points contained in the symbol, and the extracted The first digital information is compared with the true value, the information that is the same as the true value in the first digital information is determined to be the second digital information, and the best calibration clock is determined based on the calibration clock corresponding to the second digital information. calibration;
    载频校准单元,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值,基于所述载频估计值进行载频校准。The carrier frequency calibration unit is used to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the fitted value as the carrier frequency estimation value based on the carrier frequency sampling value. Carrier frequency calibration is performed on the estimated frequency.
  7. 根据权利要求6所述的装置,其特征在于,还包括:The device according to claim 6, further comprising:
    预设单元,用于确定所述码元中的采样点个数,将所述采样点个数作为等效时钟,以所述等效时钟为基准,按照预设量化间隔获取预设个数的校准时钟构成所述预设校准时钟区间。The preset unit is used to determine the number of sampling points in the symbol, use the number of sampling points as an equivalent clock, and use the equivalent clock as a reference to obtain a preset number of samples according to a preset quantization interval. The calibration clock constitutes the preset calibration clock interval.
  8. 根据权利要求6所述的装置,其特征在于,所述时钟校准单元,包括:The device according to claim 6, wherein the clock calibration unit comprises:
    提取模块,用于在预设校准时钟区间内,依据不同校准时钟提取所述校准同步码携带的第一数字信息,所述预设校准时钟区间依据所述码元包含的采样点设置;An extraction module, configured to extract the first digital information carried by the calibration synchronization code according to different calibration clocks within a preset calibration clock interval, and the preset calibration clock interval is set according to the sampling points included in the symbol;
    比较模块,用于比较并确定所述第一数字信息中与预设数字信息相同的第二数字信息;The comparison module is used to compare and determine the second digital information that is the same as the preset digital information in the first digital information;
    第一计算模块,用于计算所述第二数字信息对应的校准时钟的平均值;The first calculation module is configured to calculate the average value of the calibration clock corresponding to the second digital information;
    时钟校准模块,用于将所述平均值作为最佳校准时钟进行时钟校准;或者,The clock calibration module is configured to use the average value as the best calibration clock for clock calibration; or,
    所述第一计算模块,用于计算所述第二数字信息对应的校准时钟的判决方差;The first calculation module is configured to calculate the decision variance of the calibration clock corresponding to the second digital information;
    所述时钟校准模块,用于将最小的判决方差对应的校准时钟作为最佳校准时钟进行时钟校准。The clock calibration module is configured to use the calibration clock corresponding to the smallest decision variance as the best calibration clock for clock calibration.
  9. 根据权利要求6所述的装置,其特征在于,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值的所述载频校准单元,包括:The device according to claim 6, characterized in that it is used to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the obtained fitted values as the carrier frequency sampling values. The carrier frequency calibration unit of the frequency estimation value includes:
    第一拟合模块,用于拟合所述第一载频采样值和第二载频采样值,将得到的第一拟合值作为载频估计值;或者,The first fitting module is configured to fit the first carrier frequency sampling value and the second carrier frequency sampling value, and use the obtained first fitting value as the carrier frequency estimation value; or,
    用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值的所述载频校准单元,包括:The carrier frequency calibration unit for calculating the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and fitting the carrier frequency sampling values, and using the obtained fitting value as the carrier frequency estimation value, includes:
    第三计算模块,用于拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;The third calculation module is configured to split the reference synchronization code and the calibration synchronization code, and calculate the carrier frequency sampling values of each part of the synchronization code after the split;
    第二拟合模块,用于拟合所述各部分同步码的载频采样值,将得到的第二拟合值作为载频估计值。The second fitting module is used to fit the carrier frequency sampling values of each part of the synchronization code, and use the obtained second fitting value as the carrier frequency estimation value.
  10. 根据权利要求6所述的装置,其特征在于,用于分别计算所述基准同步码和校准同步码的载频采样值,并拟合所述载频采样值,将得到的拟合值作为载频估计值的所述载频校准单元,包括:The device according to claim 6, characterized in that it is used to calculate the carrier frequency sampling values of the reference synchronization code and the calibration synchronization code respectively, and to fit the carrier frequency sampling values, and use the obtained fitted values as the carrier frequency sampling values. The carrier frequency calibration unit of the frequency estimation value includes:
    第三计算模块,用于计算所述基准同步码的第一载频采样值,以及所述校准同步码的第二载频采样值,以及拆分所述基准同步码和所述校准同步码,计算拆分后的各部分同步码的载频采样值;The third calculation module is used to calculate the first carrier frequency sampling value of the reference synchronization code and the second carrier frequency sampling value of the calibration synchronization code, and to split the reference synchronization code and the calibration synchronization code, Calculate the carrier frequency sampling value of each part of the synchronization code after splitting;
    第二拟合模块,用于拟合所述第一载频采样值和第二载频采样值,得到第一拟合值,以及拟合所述各部分同步码的载频采样值,得到第二拟合值;The second fitting module is used to fit the first carrier frequency sampling value and the second carrier frequency sampling value to obtain the first fitted value, and to fit the carrier frequency sampling values of each part of the synchronization code to obtain the first Two fitting values;
    平均模块,用于平均所述第一拟合值和所述第二拟合值,将得到的平均值作为载频估计值。The averaging module is used to average the first fitting value and the second fitting value, and use the obtained average value as the carrier frequency estimate value.
  11. 一种同步检测设备,其特征在于,包括存储器及处理器,所述存储器用于存储计算机程序,所述处理器用于运行存储在所述存储其中的程序,其中,所述程序运行时执行如权利要求1-5中任一所述的同步检测方法。A synchronous detection device is characterized by comprising a memory and a processor, the memory is used to store a computer program, and the processor is used to run the program stored in the storage, wherein the program executes the The synchronization detection method described in any one of 1-5 is required.
  12. 一种计算机存储介质,其特征在于,所述计算机存储介质包括存储的程序,其中,在所述程序被处理器执行时实现如权利要求1-5中任一所述的同步检测方法。A computer storage medium, wherein the computer storage medium includes a stored program, wherein the synchronization detection method according to any one of claims 1-5 is implemented when the program is executed by a processor.
PCT/CN2019/128652 2019-12-26 2019-12-26 Synchronization detection method and device WO2021128159A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/128652 WO2021128159A1 (en) 2019-12-26 2019-12-26 Synchronization detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/128652 WO2021128159A1 (en) 2019-12-26 2019-12-26 Synchronization detection method and device

Publications (1)

Publication Number Publication Date
WO2021128159A1 true WO2021128159A1 (en) 2021-07-01

Family

ID=76573425

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/128652 WO2021128159A1 (en) 2019-12-26 2019-12-26 Synchronization detection method and device

Country Status (1)

Country Link
WO (1) WO2021128159A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579566A (en) * 2014-12-31 2015-04-29 中国电子科技集团公司第七研究所 Synchronous information detection method, system and general correlator
US20150373624A1 (en) * 2013-03-21 2015-12-24 Sony Corporation Infrastructure equipment, mobile communications network, system and method
CN106656453A (en) * 2017-02-05 2017-05-10 苏州维特比信息技术有限公司 Synchronous device and method in narrowband wireless communication terminal
CN107911206A (en) * 2017-12-29 2018-04-13 陕西烽火电子股份有限公司 A kind of synchronized communication method of Bit Oriented
EP3403382A1 (en) * 2016-01-12 2018-11-21 Telefonaktiebolaget LM Ericsson (PUBL) Synchronization signal detection
US20190268031A1 (en) * 2018-01-02 2019-08-29 Silicon Laboratories Inc. Transceiver with frequency error compensation
CN111163027A (en) * 2019-12-26 2020-05-15 哈尔滨海能达科技有限公司 Synchronization detection method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150373624A1 (en) * 2013-03-21 2015-12-24 Sony Corporation Infrastructure equipment, mobile communications network, system and method
CN104579566A (en) * 2014-12-31 2015-04-29 中国电子科技集团公司第七研究所 Synchronous information detection method, system and general correlator
EP3403382A1 (en) * 2016-01-12 2018-11-21 Telefonaktiebolaget LM Ericsson (PUBL) Synchronization signal detection
CN106656453A (en) * 2017-02-05 2017-05-10 苏州维特比信息技术有限公司 Synchronous device and method in narrowband wireless communication terminal
CN107911206A (en) * 2017-12-29 2018-04-13 陕西烽火电子股份有限公司 A kind of synchronized communication method of Bit Oriented
US20190268031A1 (en) * 2018-01-02 2019-08-29 Silicon Laboratories Inc. Transceiver with frequency error compensation
CN111163027A (en) * 2019-12-26 2020-05-15 哈尔滨海能达科技有限公司 Synchronization detection method and device

Similar Documents

Publication Publication Date Title
US7822072B2 (en) Clock filter dispersion
WO2015188517A1 (en) Method and device for compensating phase deviation
EP3621259A1 (en) Method and device for fsk/gfsk demodulation
CN110691051A (en) GMSK signal frequency offset estimation algorithm based on FFT
CN101103556A (en) Method and system for synchronization between a transmitter and a receiver in a wireless communication system
CN110661578B (en) Data recovery method and device
WO2022078349A1 (en) Frequency offset value estimation method and system based on signal reconstruction
WO2018035719A1 (en) Method for acquiring phase discrimination signal in clock recovery circuit and phase discriminator
WO2021128159A1 (en) Synchronization detection method and device
CN111510409B (en) Method and system for estimating space-based opportunistic signal doppler using BPSK data
CN111163027B (en) Synchronization detection method and device
CN103595682A (en) Frame synchronization method, device and receiver for OFDM
US10892962B2 (en) Inter-channel linear crosstalk estimation method and apparatus and receiver
US10616015B2 (en) Signal processing system and method, and apparatus
CN112765073A (en) Data sampling method, system, storage medium and computer equipment
WO2022063001A1 (en) Aau group delay fluctuation compensation method and apparatus, and electronic device, and storage medium
CN107276953B (en) Timing synchronization method, device and system
US10129071B2 (en) Symbol synchronization method and apparatus
CN102307164A (en) Digital frequency estimation method and system
CN114363134B (en) Signal demodulation method and device, electronic equipment and storage medium
CN105610547B (en) Frame header data frequency offset recovery method and system
CN107276708B (en) Timing synchronization method, device and system
CN107276740B (en) Timing synchronization method, device and system
JP2002118542A (en) Communication equipment and communication method
WO2018014733A1 (en) Decoding method, device suitable for ovxdm system and ovxdm system

Legal Events

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

Ref document number: 19958035

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19958035

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19958035

Country of ref document: EP

Kind code of ref document: A1