摘要 |
An apparatus (21) is provided for recovering a reference clock generated by a master clock (22) in a sender (20). The sender (20) sends timing packets over a network (3). The apparatus comprises a controllable slave clock (27) and a control circuit (25, 26, 28) which determines the slave clock error and controls the slave clock (27) so as to reduce the error. The error is determined as a function of (mxN)-Ca(n), where <math-cwu id="MATH-US-00001"> <NUMBER>1</NUMBER> <MATH> <MROW> <MROW> <MSUB> <MI>C</MI> <MI>a</MI> </MSUB> <MO>⁡</MO> <MROW> <MO>(</MO> <MI>n</MI> <MO>)</MO> </MROW> </MROW> <MO>=</MO> <MROW> <MROW> <MO>(</MO> <MROW> <MUNDEROVER> <MO>∑</MO> <MROW> <MI>i</MI> <MO>=</MO> <MN>0</MN> </MROW> <MROW> <MI>q</MI> <MO>-</MO> <MN>1</MN> </MROW> </MUNDEROVER> <MO>⁢</MO> <MSTYLE> <MTEXT> </MTEXT> </MSTYLE> <MO>⁢</MO> <MROW> <MI>C</MI> <MO>⁡</MO> <MROW> <MO>(</MO> <MROW> <MI>n</MI> <MO>-</MO> <MI>i</MI> </MROW> <MO>)</MO> </MROW> </MROW> </MROW> <MO>)</MO> </MROW> <MO>/</MO> <MROW> <MI>q</MI> <MO>.</MO> </MROW> </MROW> </MROW> </MATH> <mathematica-file id="MATHEMATICA-00001" file="US20040208268A1-20041021-M00001.NB"/> <image id="EMI-M00001" wi="216.027" he="25.9119" file="US20040208268A1-20041021-M00001.TIF" imf="TIFF" ti="MF"/> </MATH-CWU> N is the number of cycles of the master clock between the sending of consecutive timing information items, C(r) is the number of slave clock cycles between receipt of the (r-m)th and rth timing information items from the network, m is an integer greater than 0, and q is an integer greater than 1. The control circuit (25,26,28) may alternatively or additionally be arranged to apply a correction Vadj(t) to the slave clock at regular intervals Tadj, and be arranged to apply a gain parameter dependent on the frequency difference between the master clock (22) and the slave clock (27) to each correction.
|