Time synchronization method and device and network node equipment

文档序号:98628 发布日期:2021-10-12 浏览:30次 中文

阅读说明:本技术 时间同步方法及装置、网络节点设备 (Time synchronization method and device and network node equipment ) 是由 魏祥野 修黎明 白一鸣 于 2020-01-19 设计创作,主要内容包括:本公开实施例提供一种时间同步方法,包括:调节阶段,所述调节阶段包括N个调节周期,N为大于1的整数;在每个调节周期,至少根据预先获取的与该调节周期对应的频率控制字生成物理时钟信号,并至少根据所述物理时钟信号和物理时间偏差转换出逻辑时间;在每个调节周期生成的物理时钟信号的时钟斜率均达到各自对应的目标值,N个调节周期的物理时钟信号的时钟斜率的目标值逐渐接近于1;所述时钟斜率为基于所述物理时钟信号生成的物理时间与参考时间的关系曲线的斜率;所述物理时间偏差为:第N个调节周期的物理时钟信号在第N个调节周期的结束时刻所对应的物理时间与参考时间之间的时间差。本公开实施例还提供一种时间同步装置和网络节点设备。(The embodiment of the disclosure provides a time synchronization method, which includes: an adjustment phase, wherein the adjustment phase comprises N adjustment cycles, and N is an integer greater than 1; in each regulation period, generating a physical clock signal at least according to a frequency control word which is acquired in advance and corresponds to the regulation period, and converting logic time at least according to the physical clock signal and a physical time deviation; the clock slopes of the physical clock signals generated in each adjusting period reach respective corresponding target values, and the target values of the clock slopes of the physical clock signals in the N adjusting periods are gradually close to 1; the clock slope is the slope of a relation curve of physical time and reference time generated based on the physical clock signal; the physical time offset is: and the time difference between the physical time corresponding to the physical clock signal of the Nth adjusting period at the end time of the Nth adjusting period and the reference time. The embodiment of the disclosure also provides a time synchronization device and network node equipment.)

A method of time synchronization, comprising: an adjustment phase, wherein the adjustment phase comprises N adjustment cycles, and N is an integer greater than 1;

in each regulation period, generating a physical clock signal at least according to a frequency control word which is acquired in advance and corresponds to the regulation period, and converting logic time at least according to the physical clock signal and a physical time deviation;

the clock slopes of the physical clock signals generated in each adjusting period reach respective corresponding target values, and the target values of the clock slopes of the physical clock signals of the N adjusting periods are gradually close to 1; wherein the clock slope is a slope of a relation curve of physical time and reference time generated based on the physical clock signal; the physical time offset is: and the time difference between the physical time corresponding to the physical clock signal of the Nth adjusting period at the end time of the Nth adjusting period and the reference time.

The time synchronization method of claim 1, wherein the time synchronization method further comprises, prior to the adjusting phase:

determining a target value for the clock slope of the physical clock signal in each of the adjustment periods;

and for each regulation period, determining a frequency control word corresponding to the regulation period according to a target value of the clock slope of the physical clock signal in the regulation period and the difference value of reference time corresponding to the initial time and the ending time of the regulation period.

The time synchronization method of claim 2, wherein a first one of the plurality of antennas is a first one of the plurality of antennasTarget value S for adjusting clock slope of periodic physical clock signal1Determined according to the following formula:

S 1=S 0(1-x)

wherein x is a clock frequency deviation coefficient of a physical clock signal in an initial stage, which is acquired in advance; s0For generating a value of the clock slope of the physical clock signal in said initial phase from an initial frequency control word, S0=1+x;

Target value S of clock slope of physical clock signal of nth regulation periodnDetermined according to the following formula:

wherein S isn-1Is a target value of the clock slope of the physical clock signal at the n-1 th regulation period, n being an integer and 1<n≤N。

The time synchronization method of claim 2, wherein the time synchronization method further comprises: prior to the adjustment phase, the physical time offset E is determined according to the following formula:

wherein Δ t is a standard clock period, and M is the number of clock periods of the physical clock signal in a single adjustment period.

The time synchronization method of claim 2, wherein the time synchronization method further comprises: prior to the adjustment phase, the physical time offset E is determined according to the following formula:

wherein Δ t is a standard clock period, and M is the number of clock periods of the physical clock signal in a single adjustment period.

The method of time synchronization of any one of claims 1 to 5, wherein said converting out a logical time based on at least said physical clock signal and a physical time offset comprises:

determining the first logic clock period T according to the following equationl_1

Wherein, Δ t is a standard clock period, and E is the physical time deviation;

and converting logic time according to the physical clock signal and the first logic clock period.

The time synchronization method according to any one of claims 1 to 5, wherein the time synchronization method further comprises, at a continuation phase following the adjustment phase:

generating a physical clock signal according to the frequency control word corresponding to the Nth adjusting period;

and converting the logic time according to the physical clock signal of the continuous phase and a second logic clock period, wherein the second logic clock period is equal to a standard clock period.

The method according to any one of claims 1 to 5, wherein the generating a physical clock signal according to at least a pre-acquired frequency control word corresponding to the adjustment period comprises:

and generating a physical clock signal according to the reference clock signal and the frequency control word corresponding to the regulation period.

A time synchronization apparatus, comprising:

a physical clock signal generating unit configured to generate a physical clock signal at each adjustment period of the adjustment phase at least according to a frequency control word acquired in advance corresponding to the adjustment period; the adjusting stage comprises N adjusting periods, wherein N is an integer greater than 1; the clock slopes of the physical clock signals generated in each adjusting period reach respective corresponding target values, and the target values of the clock slopes of the physical clock signals of the N adjusting periods are gradually close to 1; wherein the clock slope is a slope of a relation curve of physical time and reference time generated based on the physical clock signal;

a logic time conversion unit configured to convert a logic time according to at least the received physical clock signal and the physical time offset in each of the adjustment cycles; the physical time offset is: and the time difference between the physical time corresponding to the physical clock signal of the Nth adjusting period at the end time of the Nth adjusting period and the reference time.

The time synchronizer of claim 9, wherein the time synchronizer further comprises:

a control word determination unit configured to determine a target value of a clock slope of a physical clock signal in each of the regulation periods prior to the regulation phase; and determining the frequency control word corresponding to the regulation period according to the target value of the clock slope of the physical clock signal in the regulation period and the difference between the reference times respectively corresponding to the initial time and the ending time of the regulation period.

The time synchronizer of claim 10, wherein the target value S of the clock slope of the physical clock signal of the first of the adjustment cycles1Determined according to the following formula:

S 1=S 0(1-x)

wherein x is a clock frequency deviation coefficient of a physical clock signal in an initial stage, which is acquired in advance; s0For generating a value of the clock slope of the physical clock signal in said initial phase from an initial frequency control word, S0=1+x;

Target value S of clock slope of physical clock signal of nth regulation periodnDetermined according to the following formula:

wherein S isn-1Is a target value of the clock slope of the physical clock signal at the n-1 th regulation period, n being an integer and 1<n≤N。

The time synchronizer of claim 10, wherein the time synchronizer further comprises: a first time deviation determination unit configured to determine, before the adjustment phase, the physical time deviation E according to the following formula:

wherein Δ t is a standard clock period, and M is the number of clock periods of the physical clock signal in a single adjustment period.

The time synchronizer of claim 10, wherein the time synchronizer further comprises: a second time deviation determination unit configured to determine, before the adjustment phase, the physical time deviation E according to the following formula:

wherein Δ t is a standard clock period, and M is the number of standard clock periods of the physical clock signal in a single adjustment period.

The time synchronization device according to any of claims 9 to 13, wherein the logic time conversion unit is specifically configured to determine, at each of the adjustment periods, a first logic clock period T according to the following formulal_1And converting logic time according to the physical clock signal and the first logic clock period:

where Δ t is a standard clock period and E is the physical time offset.

The time synchronization device according to any one of claims 9 to 13, wherein the physical clock signal generation unit is further configured to generate a physical clock signal according to the frequency control word corresponding to the nth adjustment cycle in a continuous phase after the adjustment phase;

the logic time conversion unit is also configured to convert the logic time according to the physical clock signal and a second logic clock period of the duration phase, wherein the second logic clock period is equal to a standard clock period.

The time synchronization device according to any one of claims 9 to 13, wherein the physical clock signal generation unit is specifically configured to generate a physical clock signal from a reference clock signal and a frequency control word corresponding to the adjustment period.

The time synchronizer of claim 16, wherein the physical clock generation unit comprises a time-averaged frequency direct periodic synthesizer.

A network node device comprising the time synchronization apparatus of any one of claims 9 to 17.

44页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:层1毫米波中继器的定时配置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类