Digital Time Processing over Time Sensitive Networks

Abstract
The Digital Time Processing over Time Sensitive Networks (DTP TSN) disclosed herein is contributing methods, systems and circuits for using a Precision Time Protocol (PTP) such as IEEE 1588 for distributing a master time secured by a master unit to slave units by utilizing slave clocks recovered from PTP messages and/or compatible with them data receiver clocks for maintaining a local slave time which is increased to a local master time by adding to it an estimate of a transmission delay derived by processing PTP messages, wherein such distribution of the master time includes filtering out phase noise of a timing referencing signals communicated by PTP messages in order to produce accurate timing implementing signals such as the slave clock, local slave time and local master time.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention

This specification of the Digital Time Processing over Time Sensitive Networks (DTP TSN) contributes a method, system and circuit facilitating improved IEEE 1588 PTP implementations securing greater accuracy of time distribution.


This disclosure comprises also methods, systems and circuits for a Digital Time Processing (DTP) which enables filtering out a phase noise of a timing referencing signal and producing a timing implementing signal from a free running local clock or its subclocks, wherein the filtering out the phase noise is implemented with an open loop system (OLS) or a closed loop system (CLS) of phase control.


The DTP comprises and is enabled by described herein a time to digital converter (TDC), a rational number filter (RNF) and a digital to time converter (DTC), securing improved resolution and open and closed loop operations of time processing and phase control systems.


The implementation of OLS comprises:


measuring intervals of the timing referencing signal by using TDC;


low pass phase filtering by passing the measured intervals through RNF;


wherein RNF is using rational numbers with a limited number of denominators only for defining the intervals of the timing implementing signal without any accumulation of digital quantization errors over any plurality of the defined intervals,


wherein applications of parts of RNF input signals or output signals are delayed properly, in order to secure the defining the intervals with integer numbers only;


applying the defined intervals to DTC which uses them and the free running local clock or its subclocks for producing the timing implementing signal.


The implementation of CLS comprises:


measuring intervals of the timing referencing signal by using a first TDC and using them as reference inputs of CLS;


measuring intervals of the timing implementing signal by using a second TDC and using them as return inputs of CLS;


low pass phase filtering by passing differences between the reference and return inputs through a CLS filter designed to secure the low pass phase filtering by CLS;


applying outputs of the CLS filter to DTC which uses them and the free running local clock for producing the timing implementing signal.


Furthermore this disclosure contributes a more specific implementation of such DTP by describing a method, system and apparatus for Reducing Phase Noise of Phase Tracking System (RPN PTS) specifying network synchronization solutions offering major stability improvement and substantially lower cost than conventional solutions.


The RPN PTS is designed to secure tracking phase of a referencing signal frame with a noise reducing synchronous clock used for sampling a frame of the referencing signal (such as received OFDM frame) and synchronous frame consisting of a nominal number of periods of the synchronous clock,


wherein the synchronous clock and the synchronous frame are produced by the DTC from a free running local clock or its subclocks in a closed loop system (see FIG. 1C) or an open loop system (see FIG. 1B) enabling better stability.


The synchronous clock and frame can be synchronized to a referencing frame, a data carrying signal or a Precision Time Protocol (PTP) signals originated in an external source and received from a wireless or wired communication link.


The synchronous clock and frame can be utilized for synchronizing a local data transmitter, data receiver or a time transfer circuit implementing the PTP.


The RPN PTS solutions can be particularly useful in OFDM systems including as LTE/WiMAX/WiFI/Powerline/ADSL/VDSL, Synchronous Ethernet systems, optical communication systems and PTP implementing systems.


Such RPN PTS solutions can secure better stability and phase noise immunity than those facilitated by conventional designs in constantly expanding and evolving communication systems having hard to predict timing characteristics and phase noise levels.


2. Background Art

2.1 Background Art of the RPN PTS


Open loop phase control systems disclosed in U.S. Pat. Nos. 9,794,096, 9,838,236, 9,769,003 and U.S. Ser. No. 15/707,889 (by Bogdan), presented generic synchronization solutions directed to securing a frequency alignment followed by producing a phase aligned clock.


The RPN PTS disclosure presented herein contributes:


other generic synchronization solutions enabling a more direct synthesis of the phase aligned clock combined with a more efficient phase noise reduction of the synthesized clock tracking phase of of a frame of a referencing signal.


species type solutions directed to preventing uncontrolled phase transients and improving quality of the synchronous clock synthesized with the OLS or CLS based configuration filtering out phase noise of the referencing signal.


2.2 Background Art of TDC

A high resolution phase frequency detector (HRPFD) using subclocks of local clock for improving resolution of digital measurements of a signal phase was disclosed in U.S. Pat. No. 6,864,672 (by Bogdan).


A frame phase detector (FPD) specifying a method for combining an indefinite number of the HRPD measurements without an accumulation of digitization errors, was disclosed in U.S. Pat. No. 8,374,075 (by Bogdan).


The TDC disclosed herein contributes:


splitting subclocks of the local clock to odd/even subsets of subclocks belonging to odd/even cycles of the local clock and using the odd/even subsets for detecting phase components of higher resolution,

    • in order to prevent overwriting of a phase capture register by a next such subset of subclocks before the phase capture register is downloaded to a buffer;
    • using a sequential counter modulo 2K (instead of two separate counters of the local clock used in HPRD and the FPD method), for the combining phase measurements without the accumulation of digitization errors.


2.3 Background Art of DTC


A phase synthesizer (PS) specifying the splitting of the subclocks of the local clock and using the resulting subsets of subclocks for synthesizing phase programmed by PCU, was disclosed in U.S. Pat. Nos. 8,374,075, 10,057,047 and PCT/CA2006/001120 (by Bogdan).


TDC contributions over the PS, are including:


a detector of initial frame phase (DIFP) used for measuring phase of an external event (such as a first detection of a referencing signal edge) providing a base time for real time operations of DTC;


a timing starting circuit generating signals defining timing of an initialization of sequential stages of a real time sequential processor (RTSP);


methods and circuits for correcting initial phase amendments programmed by PCU by subtracting from them an RTSP initialization delay, preloading such sequential stages of RTSP with the corrected phase amendments and applying the preloaded amendments to the local clock in order to produce the synchronous clock initiated by the real time event and programmed by PCU.


2.4 Background Art of Digital Time Processing Over Time Sensitive Networks (DTP TSN)


Existing versions of IEEE 1588 and their implementations in other IEEE standards are providing:

    • time distribution accuracy limited by utilization of conventional time filtering methods and circuits;
    • alleviation of the links asymmetry errors requiring knowledge of links parameters acquired off line.


The DTP TSN is designed to enable:

    • significantly better time distribution accuracy, by contributing more efficient filtering methods and utilizing sub-clocks of Master & Slave for sending & capturing of messages;
    • improved stability of PTP based time distribution systems.


SUMMARY OF THE INVENTION

1A. Principles of Operation


This disclosure contributes non-conventional solutions preventing uncontrolled phase transient of the synthesized clock caused by accumulations of quantization errors occurring during such phase measurements, filtering and synthesis.


Such contribution includes using rational numbers instead of floating point arithmetic, in order to prevent accumulations of quantization errors occurring when conventional FIR or IIR filters are used.


The accumulation of quantization errors of the phase measurements, is prevented by adding 1 to every phase of the referencing signal frame measured by counting periods of the local clock or subclocks occurring during every period of the referencing signal frame;


In order to prevent the accumulation of quantization errors related to the phase filtering, rational numbers are used for deriving, expressing and utilizing the filtered phases during preparing the synthesis of the synchronous clock.


The accumulation of the quantization errors of the phase filtering with a FIR filter using such rational numbers (further named as RNF FIR) can be prevented by using an integer part only of a filtered phase for producing the phase amendment, while a fractional part of the filtered phase is used to supplement a fractional part of a next the filtered phase before an integer part of such supplemented next filtered phase is used for producing a next the phase amendment; wherein such accumulation prevention may be also defined as comprising the steps of:


using the measured phase for deriving the filtered phase expressed with a rational number;


supplementing the filtered phase by adding to it a fractional part of a previous supplemented filtered phase expressed with a rational number;


using an integer part only of the supplemented filtered phase for producing the phase amendment applied to the local clock in order to produce the synchronous clock.


This disclosure contributes a method, system and circuit for an open loop system (OLS) reducing phase noise introduced by a timing referencing frame to a synchronous clock tracking phase of the timing referencing frame, by using TDC for measuring phases of the referencing frame, a low pass FIR filter for filtering out phase noise of the timing referencing frame, a control circuit producing phase amendments of the synchronous clock based on filtered phases of the timing referencing frame and a nominal number of periods of the synchronous clock contained in a synchronous frame corresponding to the timing referencing frame, and DTC using the phase amendments for producing the synchronous clock from a free running clock or its sub-clocks, wherein the filtered phases and the phase amendments are expressed with rational numbers; wherein an implementation of such OLS is comprising:


presetting DTC by using an initializing edge of the timing referencing frame, in order to secure initial phase alignment of OLS needed to start the producing the synchronous clock;


measuring, using TDC, phases of the timing referencing frame by counting positive edges of the free running clock or its sub-clocks occurring between edges of the timing referencing frame and adding 1 to a number of the counted positive edges;


filtering, using the low pass FIR filter, the measured phases in order to produce the filtered phases expressed with rational numbers;


supplementing a present one of the filtered phases by adding a fractional part of a previous one the supplemented filtered phase to the present filtered phase;


producing the phase amendment of the synchronous clock by using an integer part of the supplemented filtered phase and the nominal number of the synchronous clock periods;


applying, using DTC, the phase amendment to the synchronous clock by using the free running clock or its sub-clocks, in order to produce the synchronous clock and the synchronous frame containing the nominal number of such amended synchronous clocks.


The accumulation of the quantization errors of the phase filtering with an IIR filter may be prevented by using an integer part only of a filtered phase for producing the phase amendment and supplying recursive branches of the filter while a remaining still fractional part of the filtered phase is compensated by supplementing a next measured phase with a retained measured phase corresponding to the remaining fractional part of the filtered phase,


wherein an integer part only of the supplemented next measured phase is used for producing a next said filtered phase while a remaining fractional part of the supplemented next measured phase is added to a following it the supplemented measured phase;


wherein such accumulation prevention can be defined as comprising:


deriving a rational number expressing the retained measured phase needed for compensation of the fractional part of a previous said filtered phase not contributing yet to the produced phase amendment,


wherein the retained measured phase is derived by applying an inverse transformation of a filter transfer function to the fractional part of the previous filtered phase;


deriving the supplemented measured phase by adding the measured phase, the retained measured phase and a fractional part of a previous such supplemented measured phase;


using the integer part only of the supplemented measured phase for producing the filtered phase expressed as a rational number;


using the integer part only of the produced filtered phase for producing the phase amendment applied to the local clock or the subclocks of the local clock in order to produce the synchronous clock;


It shall be noted that above mentioned derivations of the supplemented filtered phases or supplemented measured phases can be defined as utilizing an accumulation, limited by a single quantization step, of fractional parts of the filtered phases or the retained measured phases,


wherein integer overflows of such accumulation are not participating in a further accumulation process but are added to the filtered phases or to the measured phases in order to produce the supplemented filtered phases or the supplemented measured phases.


When an RNF FIR filter is used for the phase filtering both mentioned above accumulation prevention methods can be used, but the earlier method is simpler and thus more useful in such case.


When an RNF IIR filter is utilized for the phase filtering, only the more complex later method can be used.


Furthermore utilization of such RNF FIR filters can secure better stability than that facilitated by using such RNF IIR filters.


The above principles of operation and their implementations with the configurations shown in FIG. 1A, FIG. 1B and FIG. 1C are covering a wide variety of synchronization systems some of which are exemplified below.


1B. Configurations Implementing the DTP and RPN PTS


The DTP shown in FIG. 1A is utilizing the programmable control unit (PCU) for implementing the programmed time transfer function designed to secure a specific relation between the timing referencing signal and the timing implementing signal needed for a specific application, wherein such securing of the specific relation includes filtering out distortions introduced to the timing referencing signal by its transmitter, transmission channel and receiver; wherein:

    • a free running oscillator clock or its subclocks are fed to the time to digital converter (TDC) and used by it and PCU for the measuring the timing referencing intervals signaled by the timing referencing signal (named as REF FRA in later parts of the specification);


the measured time intervals x(n) are supplied to the rational number filter (RNF) which is defining the intervals of the timing implementing signal y(n), wherein such defining of the intervals includes filtering out the distortions of the timing referencing signal;


the defined intervals are read by the digital to time converter (DTC) and used by it for producing the timing implementing signal (SYN_Clk) from the free running local clock or its subclocks.


Such DTP operations are coordinated by the control circuit (CC) synchronized by the local clock (LOC_Clk); wherein the CC:


sends the signals TDC_ENA and DTC_ENA enabling initialization of TDC and DTC operations;


responds to TDC's RD_REQ by downloading the measured referencing interval x(n) into an input register of RNF;


responds DTC's LD_BUF by loading the timing implementing interval y(n) to an output register of RNF which is read by DTC.


The RPN PTS (shown in FIG. 1B) is implementing such DTP for synthesizing the clock (SYN_Clk) synchronous to the referencing frame (REF_FRA), by defining phases of the synchronous clock with the RNF and implementing them with the DTC; wherein:


TDC is capturing phases of REF_FRA with the sequential clocks generated by the sequential clocks generator (SCG detailed FIG. 4A);


the captured phases of REF_FRA supplied as Phase Reg. are read by PCU prompted by RD_REQ in order to calculate lengths of REF_FRA periods;


the calculated lengths are processed by RNF implemented by PCU in order to derive phase adjustments PN, FN of SYN_Clk;


the derived phase adjustments are read by DTC and applied to SYN Clk in order synchronize SYN_Clk and SYN_FRA (containing a known number of SYN_Clks) to REF_FRA.


Such RPN PTS shall secure:


reduction of the phase noise of the referencing signal transferred to the synchronous clock, based on utilizing such RNF for implementing phase filtering methods eliminating an accumulation of quantization errors and caused by them uncontrolled phase transients;


major cost reduction enabled by utilizing an ubiquitous free running clock of virtually any frequency instead of a much more expensive voltage controlled VCXO with a specific frequency range required in conventional synchronization solutions;


stability improvements important in constantly evolving and expanding communication networks with hard to predict characteristics and requirements.


The Phase Transferring Configuration (PTC) shown in FIG. 1C is designed to enable better performance monitoring & control, by adding to the configuration shown in FIG. 1B the second TDC (TDC2) and control signals coordinating operations of such expansion (DTC_ENA2, RD_REQ2, RESET).


The FIG. 1C presenting such PTC with performance monitoring & control, shows also the synthesized synchronous frame (SYN_FRA) signal connected to the input of the TDC2.


Such SYN_FRA shall be generated by DTC by selecting every last of Nref=2304 impulses of SYN_Clk, wherein Nref is the nominal number of SYN-Clks expected to occur within every SYN-FRA corresponding to REF_FRA (see also FIG. 4 showing DTC structure assuming that Nref=2304).


TDC1/TDC2 are capturing phases of REF_FRA/SYN_FRA accordingly with the sequential clocks generated by the sequential clocks generator (SCG).


The captured phases of REF_FRA/SYN_FRA are read by PCU prompted by RD_REQ1/RD_REQ2 in order to calculate lengths of REF_FRA/SYN_FRA periods accordingly


However the purpose of such TDC2 addition is to enable measuring a difference between phases of the configuration input (REF_FRA) and output (SYN_FRA) by subtracting a phase captured by TDC2 from that captured by TDC1.


Such measuring of the difference is enabled by securing a common base time for the captured phases of REF_FRA and SYN_FRA, by resetting counters, used in TDC1 and TDC2 for providing such common base time, with the same RESET signal generated by PCU before the phase tracking begins (see also FIG. 3A showing TDCs structure).


This disclosure contributes using such measured differences for monitoring the open loop phase tracking operations in order to detect a hardware malfunctioning.


Such monitoring may comprise using PCU equipped with an additional RNF implementing a differential transform Hdif(z)=1−H(z), while the basic RNF implements the transform H(z) of x(n); wherein such expanded configuration may be used for:


estimating differences between consecutive phases of REF_FRAs and corresponding SYN_FRAs by applying inputs x(n) to the additional RNF implementing the differential transform Hdif(z);


adding a present one to all past such estimated differences in order to derive an expected difference ydif(n) between the present phases of the REF_FRA and SYN_FRA;


calculating a sum of maximum errors caused by quantization errors contributed by the DTC and TDC2 and any possible misalignment between the basic RNF implementing the transform H(z) and the additional RNF implementing the Hdif(z) transform of x(n);


defining an acceptable phase error by multiplying such sum of the maximum errors by a tolerance factor>1 (such as 2 for example);


checking if a difference between the measured difference and the expected difference is narrower than the defined acceptable phase error.


If the difference between the measured difference and the expected difference is not narrower, a corrective action such as correcting the SYN_Clk and SYN_FRA or restarting the phase tracking process may be implemented.


The open loop synthesis of the synchronous clock illustrated above as using the configurations shown in FIG. 1A, FIG. 1B and FIG. 1C; includes:


digital measurements of a phase of the referencing signal by counting edges of the local clock or subclocks occurring during every period of a frame of the referencing signal;


using RNF for filtering out phase noise from the measured phases;


using resulting filtered phases and the nominal number of periods of the synchronous clock corresponding to the referencing signal frame, for producing phase amendments applied to the local clock (LOC_Clk) in order to produce the synchronous clock (SYN_Clk).


The term the referencing signal frame covers very wide variety of frames including such as those created by consecutive OFDM symbols or specified by OFDM, SONET/SDH or Synchronous Ethernet standards or defined by PTP time stamps.


Every one of such referencing signal frames is expected to contain a nominal number of periods of a transmitter/master clock having a known relation or equal to the nominal number of the periods of the synchronous clock synthesized locally.


Such synchronous clock may be used as a sampling clock (recovering data from the referencing signal) or for producing the sampling clock or as a PTP clock.


The RPN PTS solutions are comprising utilization of very inexpensive means for reducing low frequency phase noise and alleviating consequences of a frequency drift of the oscillator clock which are most expensive to achieve using conventional synchronization solutions.


In cases when reducing high frequency phase noise is critical as well, such RPN PTS solutions may include also utilization of high bandwidth phase locked loops for an inexpensive reduction of phase jitter of the local clock and/or the synchronous clock synthesized from the oscillator clock.


This disclosure contributes also another solution securing said utilization of ubiquitous cost lowering oscillator, by using the closed loop method instead of the open loop methods mentioned above.


Such closed loop method can be implemented with the PTC shown in FIG. 1C as well, by utilizing PCU programmed to implement the closed loop system (CLS) instead of the open loop system (OLS) for applying a required transfer function to a phase of REF_FRA.


Wherein an input signal to the CLS filter is derived by subtracting a SYN_FRA phase captured by TDC2 from a REF_FRA phase captured by TDC1,


wherein the SYN_FRA phase/REF_FRA phase is supplied to PCU as Phase Reg.2/Phase Reg.1 accordingly.


2. Time to Digital Converter (TDC)


This disclosure contributes TDC (shown FIG. 3A and FIG. 3B) designed to detect phases signaled by edges of the referencing signal REF_FRA.


The detected phases are outputted as comprising:


integer components (shown as IPR(K:0)) specifying numbers of cycles of the local clock (LOC_Clk represented by it's equivalent CLK0.1) counted with the synchronous counter modulo 2K ((SC);


fractional components (shown as FPR(S:0)) specifying numbers of subclocks of the local clock counted from the beginnings of current cycles of the local clock.


TDC Comprises:


the synchronous counter modulo 2K (SC) counting cycles of the local clock (represented by the equivalent subclock Clk0.1) in order to comprise a modulo 2K number of cycles of the local clock expired after SC initialization by an external signal (such as TDC_RES for example);


wherein such number of the expired local clock cycles is used as contributing such integer phase component;


the sequential clocks generator (SCG) producing plurality of subclocks of the local clock (LOC_Clk) and splitting the subclocks into odd/even subsets of the subclocks belonging to odd/even cycles of the local clock;


wherein using such odd/even subset for capturing phase of such referencing signal edge is securing a time margin (needed to download the captured phase before it is overwritten during a next the odd/even subset), as that defined by the following even/odd subset accordingly (i.e. as equal to one cycle of the local clock);


detector of a fractional phase (DFP) of the referencing signal using the odd/even subsets for capturing such fractional phase component and using following them subsets of subclocks (belonging to following cycles of the local clock) for a timely loading of the captured fractional phase component and a latest counted such integer phase component into TDC output registers (by using RD_REQ and LD_SC accordingly);


wherein such using the odd/even subsets for the capturing the fractional phase and such using the following them subsets of subclocks for the timely loading of the captured fractional phase and the latest counted integer phase,


prevents any dead zone occurrence by securing sufficient time margins between the capturing the fractional phase and the latest counting the integer phase and the downloading them to the TDC output registers.


The odd/even subsets of subclocks are also named as phase 1/phase 2 subclocks and marked with digit 1/2 accordingly placed in front of specific subclocks names.


PCU initiates a time measurements base with the TDC reset (TDC_RES) signal applied to SC.


SC sends to PCU the end of cycle (EOC) signal whenever it's content reaches 2K−1.


Such EOC signals combined with such outputted (captured and counted) phases are allowing PCU to measure the time delays of the REF_FRA edges related to the time measurements base or other the REF_FRA edges even if the measured time delays are longer than SC cycle (amounting to 2K cycles of the local clock).


Instead of being initiated by the PCU's TDC_RES, the time measurements base of TDC may be also initiated more accurately by other closer to real time phenomenon such as an appearance of a first edge of REF_FRA detected by DFP.


Such more accurate initialization of TDC by the first edge of REF_FRA detected by DFP may be implemented similarly as the initialization of DTC (shown in FIG. 4) by a first edge of REF_FRA detected by DFIP (shown in FIG. 5A).


The more accurate initialization shall secure more accurate measurements of time delays based on phase detections made by TDC later on.


Such greater accuracy of the time delays measurements can be useful in other applications of the universal TDC solution contributed herein.


3. Digital to Time Converter (DTC)


The DTC implements a digital wave synthesis from multi-subclocks (DWS MSC) for defining timing of the synthesized clock.


The DWS MSC comprises utilizing programmable phase modifications which are defined below.


Phase increases of the synthesized clock are provided by adding and/or subtracting whole clock periods and/or fractional subclock delays obtained from serially connected delay elements which the local clock is propagated through, to a present phase obtained from a counter of local clock periods and/or a present fractional subclock delay.


The DWS MSC provides ˜10 times better phase adjustment resolution than conventional methods; because the DWS MSC can modify phase with time intervals specified in fractions of local clock cycle, instead of inserting or eliminating whole local clock cycles from a synthesized clock.


The DWS MSC provides an implementation of programmable algorithms for synthesizing a very wide range of low and high frequency wave-forms.


The DWS MSC comprises: a 1-P phase generator, a synchronous sequential processing (SSP) method and apparatus for real time processing and selection of a phase of out-coming wave-form, and a programmable computing unit (PCU) for controlling SSP operations and supporting signal synthesis algorithms.


The 1-P phase generator is explained further below as extending an 1 bit counter of an odd/even phase generator to a p bit counter enabling 2p=P phases of the subclocks of the local clock to be generated.


Such 1-P phase generator is exemplified below as buffering a number of bits propagated within the phase generator which is equal to the P number of generated phases.


Such buffering is combined with the elimination of p bit counters and their decoders needed for selecting phases for the subclocks following the referencing clock, as it is explained further below.


The odd/even phase generator provides splitting of reference subclocks, generated by outputs of a reference propagation circuit built with serially connected gates which a local clock is propagated through, into odd phase subclocks which occur during odd cycles of the local clock and even phase subclocks which occur during even cycles of the local clock, wherein the odd/even phase generator comprises:


said reference propagation circuit connected to the local clock;


serially connected flip-flops wherein


a clock input of a first flip-flop is connected to the local clock and a data input of the first flip-flop is connected to an inverted output of the first flip-flop


while a data input of any of following flip-flops is connected to an output of an earlier flip-flop and a clock input of any of the following flip-flops is connected to a subclock of the local clock following a subclock connected to a clock input of the earlier flip-flop;


an odd/even selector using such serially connected flip-flops for generating sets of the odd/even subclocks activated during odd/even cycles of the local clock cycle accordingly,


wherein the output of the 1st flip-flop is used to select odd or even local clocks while the output of any following Nth flip-flop is used to select the odd or even reference subclocks from the Nth output of the reference propagation circuit.


It is defined below how the odd/even generator of 2 phases of the subclocks can be expanded into a generator of P phases of the subclocks, by comprising:


an 1-P counter & buffer built as an extension of the 1st single bit flip-flop of the 2 phases generator wherein the entire 1-P counter & buffer is clocked by the local clock used as a first subclock, wherein an output of the 1-P counter & buffer is used later to select a 1-P phase number for the 1st subclock;


2-N parallel multi-bit buffers built as extensions of the 2-N single bit flip-flops of the 2 phases generator wherein an output of the 1-P counter & buffer is clocked by the 2nd subclock into the 1st such multi-bit buffer which is clocked by the 3rd subclock into the 2nd multi-bit buffer and the content of the 1-P counter & buffer is similarly propagated into all the next multi-bit buffers until the Nth subclock loads the N-2 multi-bit buffer into the N-1 multi-bit buffer, wherein the 1st multi-bit buffer defines a phase number for the 2nd subclock and next such multi-bit buffers define similarly phase numbers for their corresponding subclocks until the N-1 multi-bit buffer defines a phase number for the Nth subclock;


1-P phase selectors, built as extensions of the 2 phases odd/even selectors, wherein a first of the 1-P selectors is connected to a first bit of the 1-P counter & buffer and to first bits of the following it N-1 multi-bit buffers in order to select a 1st phase for the 1st subclock and following it N-1 subclocks, while every following K phase selector (2≤K≤P) is connected to the K bit of the 1-P counter & buffer and to the K bits of the following it N-1 multi-bit buffers in order to select the K phase for the first subclock and following it N-1 subclocks.


Such 1-P phase generator can use both solutions defined below:


using rising edges of the subclocks for clocking the 1-P counter & buffer and the multi-bit buffers while negative pulses of the subclocks are used for activating outputs of the 1-P selectors generating the 1-P phases of the subclocks;


or using falling edges of the subclocks for clocking the 1-P counter & buffer and the multi-bit buffers while positive pulses of the reference subclocks are used for activating outputs of the 1-P selectors generating the 1-P phases of the subclocks.


The 1-P phase generator may use an 1-P circular shifting register (SR) instead of the 1-P counter & buffer fer defining phase in which the 1st subclock is enabled.


Consecutive 1-P bits of the SR may be used to select consecutive 1-P phases in which the 1st subclock is enabled.


An initialization procedure shall preset to 1 only one of the 1-P bits of SR, in order to start the process of phases generation at the phase selected by the preset bit of the SR.


Similarly as the 1-P counter & buffer the SR shall be clocked by the local clock used as a first subclock and SR content shall be propagated through the 2-N multi-bit buffers with the 2-N subclocks.


The 1-P phase generator solutions may include supplementing the remaining 2-N multi-bit buffers with their own subclock counters, instead of relying on the defined above propagation of the content of the 1-P counter & buffer into the remaining 2-N multi-bit buffers.


The use of such additional counters requires adding preset means for all the counters used, in order to maintain the same or predictably shifted content in all the 1-N counters used in parallel.


Continues maintaining of said predictability of all the parallel counters content is necessary for generating predictable multi-phase sequences of the subclocks.


Said SSP implements selection of one of multi subclocks for providing an edge of out-coming synthesized signal, wherein said subclocks are generated by the outputs of serially connected gates which the local clock is propagated through.


SSP operations comprise calculating a binary positioning of a next edge of the out-coming wave-form versus a previous wave edge, which represents a number of local clock cycles combined with a number of local clock fractional delays which correspond to a particular subclock phase delay versus the reference clock.


Furthermore the SSP utilizes selective enabling of a particular subclock for implementing calculated phase step between the previous and the current wave-form edges.


The SSP comprises using multiple serially connected processing stages with every stage being fed by data from the previous stage which are clocked-in by a clock which is driven by the local clock.


Since every consecutive stage is driven by a clock which is driven by the same local clock, all the stages are driven synchronously by clocks maintaining some constant phase displacements versus each other.


The synchronous sequential processing (SSP) multiplies processing speed by splitting complex signal processing operation into a sequence of singular micro-cycles, wherein:


every consecutive micro-cycle of the complex operation is performed by a separate logical or arithmetical processing stage during a corresponding consecutive time slot synchronous with the local clock providing a fundamental timing for a synthesized wave-form;


serially connected sequential stages are connected to a programmable control unit (PCU), wherein the sequential stages are clocked by subclocks generated by a circuit built with serially connected gates which the local clock is propagated through;


whereby inputs from the PCU are processed into a phase delay between a next edge of the synthesized wave-form versus a previous edge and a position of the next edge is calculated by adding the phase delay to a position of the previous edge, wherein the positions of wave-form edges are provided by a last of the sequential stages and said positions are expressed with numbers identifying reference subclocks needed for generating said wave-form edges.


Furthermore this disclosure includes such SSP upgraded by including a configuration of parallel multiphase stages extending the time slots allowed for the micro-cycles of the synchronous sequential processor by a factor of P, wherein:


2-P stages are added to the original sequential stage and every one of the resulting 1-P parallel multiphase stages is clocked with a corresponding 1-P phase subclock, wherein such 1-P phase subclock begins during the corresponding to that phase 1-P cycle of the local clock and has a cycle which is P times longer than the local clock cycle;


whereby consecutive 1-P parallel multiphase stages have processing cycles overlapping by 1 cycle of the local clock wherein every 1-P parallel processing stage has P times longer cycle time equal to the cycle time of the corresponding 1-P phase subclock used for timing that stage.


The parallel multiphase stages may be built with 1-P parallel phases, wherein each of such parallel phases comprises multiple sequential stages which are connected serially and are driven by subclocks belonging to the same 1-P phase.


The SSP may use such parallel multiphase stages for synthesizing a target wave-form by assigning consecutive parallel phases for the processing of a synthesized signal phase using signal modulation data provided by a programmable control unit (PCU) or by any other source.


Consequently the SSP comprises using 1 to P parallel phases which are assigned for processing incoming signal data with clocks corresponding to-local clock periods number 1 to P, as it is further described below:

    • circuits of phase 1 process edge skews or phase skews or other incoming signal data with a clock which corresponds to the local clock period number 1;
    • circuits of phase 2 process edge skews or phase skews or other incoming signal data with a clock which corresponds to the local clock period number 2;
    • finally circuits of phase P process edge skews or phase skews or other incoming signal data with a clock which corresponds to the local clock period number P.


Such parallel multiphase processing allows P times longer processing and/or subclocks selection times for said multiphase stages, compared with a single phase solution.


The above mentioned subclock selecting methods further include:

    • using falling edges of said subclocks for driving clock selectors which select parallel processing phases during which positive subclocks are enabled to perform said synthesized wave-form timing, or using rising edges of said subclocks for driving selectors which select parallel processing phases during which negative subclocks are enabled to perform said synthesized wave-form timing;
    • using serially connected clock selectors for enabling consecutive subclocks during said processing phases, in order to assure that the enabled subclocks will occur within a selected processing phase and to enable selection of a subclock specified by a number contained in a fraction selection register of a particular processing phase.


The SSP includes using said serially connected gates:

    • as being an open ended delay line;
    • or being connected into a ring oscillator which can be controlled in a PLL configuration;
    • or being connected into a delay line which can be controlled in a delay locked loop (DLL) configuration.


Every said subclock phase delay versus the local clock phase amounts to a fraction of a local clock period which is defined by a content of a fraction selection register which is assigned for a particular processing phase and is driven by the SSP.


The SSP includes using parallel stages for processing of an incoming signal, wherein multiple such parallel stages are working in parallel as they are driven by the same clock which is applied simultaneously to inputs of output registers of all the parallel stages.


The SSP further comprises:

    • merging of processing phases which occurs if multiple parallel processing phases are merged into a smaller number of parallel phases or into a single processing phase, when passing from a one processing stage to a next processing stage;
    • splitting of processing phases which occurs if one processing phase is split into multiple processing phases or multiple processing stages are split into even more processing stages, when passing from a one processing stage to a next processing stage.


The SSP includes using the 1-P phase generator defined above to generate SSP clocks which drive said parallel phases and said sequential stages, and to generate selector switching signals for said merging and splitting of processing phases.


The SSP includes time sharing of said parallel phases: which is based on assigning a task of processing of a next wave-form edge timing to a next available parallel processing phase.


The SSP comprises using a decoding of local clock counters and/or other wave edge decoding and/or SSP driving clocks or subclocks, for performing said time sharing phase assignments and for further control of operations of an already assigned phase.


The SSP comprises passing outputs of a one parallel phase to a next parallel phase, in order to use said passed outputs for processing conducted by a following stage of the next parallel phase.


The outputs passing is performed: by re-timing output register bits of the one phase by clocking them into an output register of the next parallel phase simultaneously with processing results of the next parallel phase.


The SSP further comprises all the possible combinations of the above defined: parallel multiphase processing, parallel stage processing, synchronous sequential processing, merging of processing phases, splitting of processing phases, and outputs passing.


The SSP includes processing stage configurations using selectors, arithmometers, and output registers, which are arranged as it is defined below:

    • input selectors select constant values or outputs of previous stages or outputs of parallel stages or an output of the same stage to provide arithmometer inputs, and arithmometer output is clocked-in to an output register by a clock which is synchronous to the local clock;
    • multiple arithmometers are fed with constant values or outputs of previous stages or outputs of parallel stages or an output of the same stage, and an output selector selects an arithmometer output to be clocked-in to an output register by a clock synchronous to the local clock;
    • the above defined configuration as being supplemented by using an output of an output selector of a parallel processing stage for controlling functions of other output selector.


The SSP comprises:


using switching signals of said input selectors for producing pulses which clock data into output registers of previous stages;


using switching signals of said output selectors for producing pulses which clock data into output registers of previous stages;


The SSP also comprises:


using results obtained in earlier stages for controlling later stages operations,


and using results obtained in the later stages for controlling the earlier stages operations.


Proper arrangements of said parallel and sequential combinations and said stages configurations provide real time processing capabilities for very wide ranges of signal frequencies and enable a wide coverage of very diversified application areas.


The DWS MSC comprises two different methods for accommodating a phase skew between the local clock and a required carrier clock frequency of the transmitted signal, and both methods allow elimination of ambiguities and errors in encoding of output signal data patterns. Said two methods are further defined below:

    • a source of the local clock provides frequency or phase alignment with the timing of the data which are being encoded and sent out in the synthesized output wave-form;
    • phase skews between the local clock and the timing of the destined for transmission data are digitally measured and translated into implemented by the SSP phase adjustments of the synthesized signal which provide required carrier frequency of the transmitted output signal;
    • both above mentioned methods include measurements of phase or frequency deviations of the destined for transmission data versus the local clock, and using said measurements results to assure required carrier frequency of the synthesized signal.


Furthermore the DWS MSC method comprises phase modulations of the synthesized wave-form by adding or subtracting a number of local clock periods and/or a number of fractional delays to a phase of any edge of the synthesized wave-form.


Said adding or subtracting of a number of local clock periods is further referred to as a periodical adjustment, and said adding or subtracting of fractional delays is further called a fractional adjustment.


The DWS MSC method allows synthesizing of any waveform by modulating a phase of the local clock with periodical and/or fractional adjustments of any size.


The SSP method and apparatus disclosed above provide basis for and can be used in a wide variety of digital to time converters (DTCs) such as that described below wherein the SSP performing the task of real time phase processing is named as a real time sequential processor (RTSP)..


This disclosure presents DTC method and apparatus for using detection of an initializing real time event being a part of a physical phenomenon, such as detection of a boundary of a received signal frame, for starting generation of a synthesized clock aligned in time to this physical phenomenon and using next such real time events for maintaining such alignment in time, by defining consecutive phases of the synthesized clock with selections of subclocks of a free running local clock specified by data derived by and read from a programmable control unit PCU; wherein:


a delay between the initializing real time event or signal frame boundary and the local clock, is measured by capturing this event using the subclocks of the local clock (see FIG. 5A);


reading the data defining the selections of the subclocks, is aligned in time with the synthesized clock;


the read data are utilized, using the real time sequential processor (RTSP), for specifying the selections defining phases of the synthesized clock (see FIG. 6),


wherein the RTSP maintains known delays between the reading the data and implementing the selections defining phases of the synthesized clock (see FIG. 6);


RTSP subtracts from the read data corresponding to them the measured delay and the known delays between the reading the data and implementing the selections, in order to maintain alignment in time of the synthesized clock defined by the initializing real time event and the data derived by and read from the PCU (see FIG. 6).


Such DTC comprises using the DWS MSC method; as it is described below.


DTC performs programmable modifications of a phase of a synthesized clock by unlimited number of gate delays per a modification step with step resolution matching single gate delay at steps frequencies ranging from 0 to ½ of maximum clock frequency, wherein:


a delay control circuit is connected to a programmable control unit (PCU) wherein the delay control circuit defines size and frequency of phase delay modifications of the synthesized clock versus a local clock, the delay control circuit also having a terminal connected to reference subclocks generated by a reference propagation circuit or connected to odd/even subclocks generated by an odd/even phase selector;


the local clock is connected to the reference propagation circuit consisting of serially connected gates wherein outputs of the gates generate the reference subclocks providing variety of phase delays versus the local clock;


the reference subclocks are connected to an odd/even phase selector which splits the reference subclocks by generating separate odd subclocks and even subclocks, wherein the odd subclocks begin during odd cycles of the local clock and the even subclocks begin during even cycles of the local clock;


a clock selection register is loaded by the odd subclocks and by the even subclocks with the outputs of the delay control circuit, wherein the odd subclocks or the even subclocks beginning during an earlier cycle of the local clock are downloading outputs of the delay control circuit which select the even subclocks or the odd subclocks beginning during a later cycle of the local clock for providing the synthesized clock;


an output selector is connected to the output of the clock selection register and to the outputs of the odd/even phase selector, wherein the output selector uses inputs from the clock selection register for selecting output of the odd/even phase selector which is passed through the output selector for providing the synthesized clock.


The above defined DTC can use the odd/even phase generator or the 1-P phase generator, which have been already defined above.


DTC method comprises moving a synthesized clock selection point from a delay line which propagates a local clock (see FIG. 4A); wherein:


said phase increases are provided by moving said selection point of the synthesized clock from the local clock propagation circuit, in a way which adds gate delays to a present delay obtained from the propagation circuit;


said phase decreases are provided by moving said selection point of the synthesized clock from the local clock propagation circuit, in a way which subtracts gate delays from a present delay obtained from the propagation circuit;


While implementation of such DTC method is presented in greater details in FIG. 4A & FIG. 6, its principles of operations are explained below.


The PLL×L Freq. Multiplier produces the series of subclocks Clk0, ClkR-Clk1.


The subclock Clk0 keeps clocking in a reversed output of its own selector PR0.


The subclocks CLkR-Clk1 keep clocking in outputs of the previous selectors PR0, PRR-PR2 into their own selectors PRR-PR1.


Since the selector PR0 is being reversed by every Clk0, every selector in the PR0, PRR-PR1 chain is being reversed as well by a falling edge of its own subclock Clk0, ClkR-Clk1, and every selector in the chain represents reversal of its predecessor which is delayed by a single subclock fractional delay.


Consequently the PR0, PR1N-PRR are selecting subclocks Clk0, Clk1-ClkR for any odd processing phase, and their reversals PR0N, PR1-PRRN are selecting subclocks Clk0, Clk1-ClkR during any even processing phase.


The odd/even processing phase has been named phase1/phase 2, and their subclocks are named 1Clk0, 1Clk1-1ClkR/2Clk0,2Clk1-2ClkR accordingly.


Such phase 1/phase 2 subclocks can be used in separate designated for phase 1/phase 2 phase processing stages which can work in parallel.


Therefore a time available for performing time critical operations (such as downloading next phase adjustments from PCU), can be doubled (see also FIG. 5C and FIG. 6 for more detailed presentation of such multiphase parallel processing).


Furthermore, the Clock Selection Register 1 (CSR1) can be reloaded in the middle of the phase 2 by the falling edge of 2Clk0, in order to make its decoders ready to select a glitch free phase 1 subclock which is defined by any binary content of CSR1.


Similarly the CSR2 is reloaded by the falling edge of 1Clk0, in order to select a single glitch free subclock belonging to the phase 2.


A further splitting to more than 2 parallel phases shall be actually easier than the splitting to the original 2 processing phases; because while one of the phases is active, its earlier subclocks can be used to trigger flip-flops which can segregate subclocks which belong to multiple additional parallel phases and can be used to drive the additional parallel phases.


Consequently using this approach; allows increasing processing times of the parallel multiphase stages to greater than 2 multiples of local clock periods by using said DWS MSC multiphase processing which has been described above.


Such increasing of the number of parallel phases can increase also tolerance margins of phase alignments of the subclocks defining timing of the parallel processing phases of DTP, TDC and DTC (shown in FIG. 1A, FIG. 1B, FIG. 3A and FIG. 4).


This disclosure of DTP, TDC and DTC covers diversified designs based on principles of multiphase processing defined above, including those using different numbers of such parallel subclock phases and corresponding multiphase processors chosen to secure sufficient margins of phase alignments needed for utilizing different IC technologies having different performance accuracies,


The DTC disclosure comprises using all the listed below local clock propagation circuits:


an open ended delay line built with serially connected logical gates or other delay elements;


a ring oscillator built with serially connected logical gates or other delay elements, which have propagation delays controlled in a PLL configuration;


a delay line built with serially connected logical gates or other delay elements, which have propagation delays controlled in a Delay Locked Loop (DLL) configuration.


DTC comprises using fractional adjustments of synthesized clock phase for providing high resolution phase modifications by fractional parts of a local clock period.


DTC comprises applying combined periodical and fractional adjustments of synthesized clock phase, by using counters of local clock periods for generating counter end (CE) signals when periodical parts of such phase adjustment are expired.


DTC further comprises using said counter end signals for generation of control signals which assign and/or synchronize consecutive sets of sequential stages for processing consecutive periodical and/or fractional phase adjustments of the synthesized clock.


DTC comprises:

    • Using a basic periodical adjustment and a basic fractional adjustment for providing a basic phase step, which can remain the same for multiple edges of the synthesized clock.
    • Using a modulating periodical adjustment and a modulating fractional adjustment, which can be different for every specific edge of the synthesized clock.
    • Using said DWS MSC and SSP methods for processing of said basic periodical adjustments, basic fractional adjustments, modulating periodical adjustments and modulating fractional adjustments for calculating periodical and fractional parts of combined adjustments.
    • Processing such calculated combined adjustment and position of a previous edge of the synthesized clock for deriving periodical and fractional parts of the next edge position of the synthesized clock


4. Digital Time Processing Over Time Sensitive Networks (DTP TSN}


The DTP method, system and apparatus are described further below as customized for the IEEE 802.16e-2005 Wireless OFDMA,


but they can be applied to a wide variety of other communication systems including those using DMT/OFDM (such a ADSL, VDSL/WiFi, WiMax. LTE, 5G NR), Synchronous Ethernet and IEEE 1588 PTP.


Furthermore the DTP can be utilized for adding upgrades contributed by the DTP TSN to IEEE 1588 and other standards based on it such as IEEE P802.1AS.


The DTP TSN is explained below as comprising:


using time stamps of Sync messages captured by a Slave for detecting a timing referencing frame used by the Slave for defining a timing implementing frame and a slave clock which are aligned in frequency and tracking phase of the timing referencing frame, but are delayed by a transmission delay Tsd in relation to the timing referencing frame departing from the Master;


using time stamps captured by a Master and communicated with the Sync messages (or additional FollowUp messages) for defining expected lengths of intervals of the Slaves timing referencing frame;


using lengths of intervals of such detected timing referencing frame and the expected lengths of intervals of the timing referencing frame, for estimating phase errors between the timing referencing frame signaled by the Master and a timing implementing frame maintaining a known relation to the detected timing referencing frame;


using an open loop system or closed loop loop system (OLS or CLS) (such as that described above) for processing the estimated phase errors and filtering out phase noise from the referencing frame in order to define the timing implementing frame and a Slave clock synchronous to the timing referencing frame received from the Master but delayed by the transmission delay Tsd in relation to the timing referencing frame transmitted by the Master.


The DTP TSN introduced above is specified below using terms defined already with descriptions and drawings presenting the DTP technology.


The DTP TSN is using messages of a Precision Time Protocol such as IEEE 1588 for distributing a Master time secured by a Master unit to a slave unit, wherein a timing implementing frame and a slave clock constructing it are produced as synchronous to a timing referencing frame, signaled by messages sent by a Master unit, by filtering out phase distortions from the timing referencing frame;


wherein the slave clock is maintaining a local slave time which is increased by a transmission delay in order to produce a local Master time tracking the Master time wherein the timing implementing frame and the slave clock are produced using a free running local clock or subclocks of the local clock.


Such DTP TSN can be implemented with the steps of:


using time stamps of arrivals of sync messages captured by the slave unit for defining detected lengths of intervals of the timing referencing frame;


wherein the arrivals are captured and the lengths of the intervals of the timing referencing frame are detected with a time to digital converter (TDC) implementing a hardware stamping, using a local clock or subclocks of the local clock, maintaining a known delay between said arrivals of the sync messages and actual said hardware time stamping;


using, by the slave unit, time stamps captured with a Master clock or subclocks of the Master clock by the Master unit and communicated with the sync messages or other messages, for defining expected lengths of intervals of the timing referencing frame;


using the detected lengths and the expected lengths for estimating phase errors between the timing referencing frame and the timing implementing frame, based on known relations maintained between the local clock and the slave clock and between the slave clock and the timing implementing frame;


using an open loop system or a closed loop system for processing the estimated phase errors and filtering out phase noise introduced by the referencing frame, in order to define the timing implementing frame and the slave clock which are synchronous to the timing referencing frame timed by the arrivals of the sync messages to the slave unit but are delayed by the transmission delay in relation to departures of the sync messages from the Master unit;


wherein the defined timing implementing frame and slave clock are produced by using a digital to time converter (DTC) driven by the local clock or subclocks of the local clock;


using, by the slave unit, messages received from the Master unit and the slave clock or subclocks of the slave clock, for producing a local slave time and estimating the transmission delay;


producing a local Master time by adding the estimated transmission delay to the local slave time.


Implementations of such DTP TSN may comprise also the operations described below:


the synchronous frame and clock are initialized by starting the produced original interval of the synchronous frame when an initializing Sync Message is detected and its time stamp is captured;


a local Slave time (LST), delayed by the Tsd from a Master time, is preset at the start of the original synchronous frame interval, as equal to the time stamp captured by the Master and communicated by the initializing Sync message (or by its FollowUp message);


such local Slave time is being continuously updated by the synchronous clocks in order to maintain said Tsd versus the Master time;


consecutive values of Tsd are calculated repeatedly using consecutive sets of Sync (FollowUp) and other messages by applying methods defined by IEEE 1588 or more advanced methods improving alleviation of transmission delay asymmetry by varying effective messages delays and taking into account such variations of messages delays;


the calculated values of Tsd can be filtered following exchanges of such consecutive sets of messages (similarly as the estimated phase errors between the timing referencing frame and the timing implementing frame are filtered following explanations given above), in order to filter out noise introduced by a transmit propagation channel and messages capturing and processing circuits;


adding the Tsd or such filtered Tsd to the LST, in order to derive a PTP local Master time (LMT) available at the Slave.


The 1588 IEEE PTP modification contributed above as separating the derivation and filtering of the Slaves synchronous frame and clock from the calculation and filtering of the Tsd,


shall secure advantages over conventional solutions based on direct derivation of the PTP local Master time from the consecutive sets of IEEE 1588 messages; wherein these advantages include:


producing the PTP Slave clock which is phase aligned to an incoming signal carrying data transmitted by the Master and thus it may be used for monitoring performance of a receiver clock or even data recovery from the incoming data carrying signal,


instead of conventional producing a PTP local Master clock which is different than Slave physical layer clock used for the data recovery;


application of more efficient noise filtering techniques securing significant improvement of accuracy of the PTP local Master time.


A receiver clock recovered from data carrying signal (such as sampling clock of OFDM or SyncEthernet signals) can be used for producing such PTP local Master time (LMT) as well, by presetting the LST to a time communicated by a Masters message (i.e. to a time delayed by this messages transmission time), increasing the LST with phase increases of the receiver clock and adding to such LST the Tsd or the filtered Tsd in order to derive the PTP LMT available at the Slave.


Since the the data carrying signal provides much greater amount of phase defining information than PTP messages, such use of the receiver clock as the Slave clock shall secure much faster lock acquisition and more accurate synchronization of such Slave clock than it can be achieved using the PTP messages.


When the receiver clock is utilized as a Slave clock, producing another Slave clock by the conventional usage of PTP Sync messages can provide additional means for monitoring performance of a circuit recovering the receiver clock from data carrying signal and a circuit implementing PTP protocol, by comparing the receiver clock utilized as the Slave clock with the another Slave clock produced using the PTP messages.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1A, FIG. 1B and FIG. 1C are showing block diagrams of different implementations of the Digital Time Processing.



FIG. 2A shows Frequency Response of the FIR Filter designed using Frequency Sampling Method.



FIG. 2B shows Rational Number Filter implementing this FIR Filter.



FIG. 2C shows Frequency Response of the IIR Filter of 1st order.



FIG. 2D shows Rational Number Filter approximating this IIR Filter.



FIG. 2E shows Impulse Response of the RNF approximating this



FIG. 3A shows block diagram of Time to Digital Converter (TDC).



FIG. 3B shows Detector of Fractional Phase (DFP).



FIG. 4 shows Block Diagram of Digital to Time Converter (DTC).



FIG. 4A shows Sequential Clocks Generator (SCG) and Output Selection Circuit (OSC), wherein the SCG generates the subclocks and the phase 1/phase 2 subclocks of LOC_Clk and the OSC selects a specific such phase 1/phase 2 subclock for implementing digital to time conversion defined by the real time sequential processor (RTSP).



FIG. 4B shows Clocks Equalization Circuit (CEC) exemplifying system of buffers securing subclocks compliance with timing needed to implement TDC, DTC and the time processing system (TPS).



FIG. 5A shows Detector of Initial Frame Phase (DIFP).



FIG. 5B shows Timing Starting Circuit (TSC) generating timing signals which control initial preloading of the sequential stages of the RTSP.



FIG. 5C shows Timing Control Circuit controlling operations of the RTSP.



FIG. 6 shows Real Time Sequential Processor (RTSP)



FIG. 7A shows Timing Diagram of the Sequential Clocks Generator (SCG).



FIG. 7B shows Timing Diagram of DTC Operations.



FIG. 8 shows Generation of Sampling Clock, Local Carrier Clock and Baseband Recovery.



FIG. 9 shows PTP Time Distribution providing a base for phase noise and time delay filtering.





DETAILED DESCRIPTION

Principles of operations of the time processing systems defined above are illustrated below as including utilization of FIR and IIR filters for the phase noise reduction.


The time processing systems utilizing such FIR and IIR filters are shown further below as related to an exemplary OFDM system (corresponding to IEEE 802.16e-2005 Wireless MAN OFDMA) characterized below.


A baseband of a demodulated OFDM signal has BW=20 MHz, a sub-carriers spacing ΔFsc=10.94 kHz, a number of FFT points N=2048, a cyclic prefix (CP) contains Ncp=256 of sampling periods Ts, the referencing frame (OFDM symbol) contains Nref=2304 Ts, sampling frequency Fs=˜22.4 MHz, the sampling period Ts=˜45 ns.


Time periods between consecutive subclocks Tsc, are defining phase measurement & phase synthesis steps determining TDC & DTC resolutions.


Such Tsc may be reduced to <5 pS, by using an advanced VLSI process (such as TSMCs 5 nm FinFET) and multi-path ring oscillator implementation (such as that described in the article “A Multi-Path Ring Oscillator TDC With First Order Noise Shaping” by Matthew Z. Straayer and Michael H. Perrot published in IEEE Journal of Solid State Circuits, Vol. 44, No 4, April 2009).


Functioning of OFDM systems may be affected by:


OFDM signal phase drift or low frequency changes caused by factors such as changing geographic environment affecting signal fading or a frequency drift of the local clock;


higher frequency phase noise introduced to the referencing signal by factors such as inaccurate detection of OFDM symbol boundaries defining the referencing frame and/or interference of a noisy RF environment.


While such phase drift and low frequency changes shall be followed by the synchronous frame and the synchronous clock, such higher frequency phase noise shall be reduced by filtering it out before the synchronous frame and clock are produced.


1. Phase Tracking System


The phase tracking system is presented in FIG. 1B.


TDC utilizes the local clock or subclocks for measuring lengths of periods of the referencing frame.


TDC signals ends of the referencing frame periods (and availability of the measured lengths of the periods) to PCU.


PCU reads the measured lengths and derives lengths of following periods of the synchronous frame and the synchronous clock.,


wherein the derivation of the lengths includes filtering out the phase noise contributed by the referencing frame.


Availability of a first such derived length of the synchronous frame and lengths of its clocks is signaled by PCU to DTC immediately after processing said measured length of an initial said referencing frame period.


However, the DTC starts using the first derived lengths of the synchronous frame and its clocks for producing a first period of the synchronous frame and periods of its clocks, only after detecting an end of a referencing frame period next to the initial referencing frame period.


After such initialization of DTC, PCU makes next the derived lengths available for reading by the DTC immediately after processing previous such measured lengths, but DTC reads and utilizes the next derived lengths for producing next the synchronous frame periods only after producing previous the synchronous frame periods.


An end phase of a first the synchronous frame period may be made equal to a penultimate such measured length of such referencing frame period or a more complex estimate such as an weighted average of plurality of the lengths of the referencing frame periods measured by TDC before the first synchronous frame period is produced.


All the following consecutive the measured lengths are filtered and utilized for deriving lengths of the synchronous frame periods constructing the synchronous frame which is tracking phase of the referencing frame without any accumulation of quantization errors.


Such TDC, PCU and DTC interactions shall satisfy timing relations explained below.


As differences between consecutive the measured lengths may be significant (e.g. ¼ of the measured lengths for OFDM),


securing the availability of the measured lengths for the deriving the lengths of following synchronous frame periods may require a time amounting to a significant fraction of the synchronous frame periods next to the measured referencing frame periods.


The deriving the lengths, performed by the PCU, shall also require a time amounting to a fraction of the lengths of the next synchronous frame periods.


Therefore the producing the synchronous frame periods consisting of the synchronous clock periods, can be started only after a time delay sufficient to:


accommodate safely both the time required for the securing the availability of the measured lengths and the time required for the deriving the lengths of the next synchronous frame periods,


before DTC can read and utilize the derived lengths for producing the next synchronous frame periods after the producing the previous synchronous frame periods.


In order to assure such safe accommodation of both time delays it is assumed herein that:


every the measured lengths with the exception of following x(0) the second measured phase x(1), is used by PCU for the deriving the length of the synchronous frame period which begins after the synchronous frame period next to the measured one,


the synchronous frame period y(2) is started at the end of the referencing frame period x(1) and its length is made equal to that of x(0).


The filtering out of the phase noise of the referencing frame is performed by PCU by utilizing FIR or IIR filters detailed further on.


It shall be noted that mentioned in SUMMARY OF THE INVENTION utilization of FIR and IIR filters for the phase noise reduction in such phase tracking systems, is covering applications of a wide variety of filters which are exemplified by but not limited to applications of FIR and IIR filters described below.


2. Implementations of RNF, OLS and CLS.


2.1 Rational Number Filter with Finite Impulse Response (RNF FIR).


The synchronous frame periods y(2), y(3), y(4), . . . y(n−1), y(n) are tracking the referencing frame periods x(0), x(1), x(2), . . . x(n−3), x(n−2).


Such phase tracking may include phase noise reduction implemented by passing time intervals containing pluralities the measured lengths x(0), x(1), x(2), . . . x(n−3), x(n−2) through a low pass filter.


However the measured lengths can be treated as comprising:


a bigger constant component expected to be closer to non-distorted original phases of the referencing frame tracked actually;


significantly smaller variable components closer to a phase noise which is caused by transmission channel distortions and shall be filtered out.


In order to improve filtering efficiency only the variable components, defined by differences between consecutive the measured lengths and the expected constant component, are passed through the low pass filter.


Using such differences instead of entire the measured lengths reduces amount of processing needed to filter the phase noise out.


The expected constant component may be estimated as equal to a first such measured length x(0) or an average of the lengths measured initially.


It is assumed below that:


the expected constant component is equal to x(0);


the measured lengths differences are defined as equal to





Δx(1)=x(1)−x(0), Δx(2)=x(2)−x(0), . . . Δx(n−2)=x(n−2)−x(0);


the phase tracking is initialized at the end of x(1) by starting the original period produced by DTC as y(2)=x(0).


Consequently outputs of the low pass filter are supplying differences between entire derived lengths and the original derived length which are amounting to:





Δy(3)=y(3)−y(2), Δy(4)=y(4)−y(2), . . . Δy(n)=y(n)−y(2).


Resulting phase tracking operation is based on using the measured lengths differences for deriving supplements of the original derived length y(2) needed to calculate the entire derived lengths of the synchronous frame periods y(n).


Such supplementation of the original length y(2) is accomplished by adding to it a noise filtering products of the measured lengths differences Δx(2), Δx(3), . . . Δx(n−2),


wherein filter DC gain G(ω=0) has to be equal to 1 in order to enable accurate phase tracking without uncontrolled phase transients.


When a FIR filter is defined with coefficients h(0), h(1), . . . h(k), the synchronous frame periods tracking phase of the referencing frame are derived as:


y(2)=x(0). wherein using such y(2) for an actual synchronous frame synthesis begins when the time to digital converter (TDC) detects the end of the x(1) period of the referencing frame;


y(3)=y(2), since x(2) and Δx(2) are not available yet when a derivation of y(3) is conducted;






y(4)=y(2)+h(0)Δx(2);






y(5)=y(2)+h(0)Δx(3)+h(1)Δx(2);


and further on






y(k+2+2)=y(2)+h(0)Δx(k+2)+h(1)Δx(k+1)+ . . . +h(k−1)Δx(3)+h(kx(2),






y(n)=y(2)+h(0)Δx(n−2)+h(1)Δx(n−3)+ . . . +h(k−1)Δx(n−k−1)+h(kx(n−k−2).





Consequently





Δy(n)=h(0)Δx(n−2)+h(1)Δx(n−3)+ . . . +h(k−1)Δx(n−k−1)+h(kx(n−k2).


The resulting transfer function of such FIR filter is presented below as:





ΔY(z)/ΔX(z)=z−2(h(0)+h(1)z−1+ . . . +h(k−1)z−(k−1)+h(k)z−k.


Such FIR filter is designed below using a Frequency Sampling Method (FSM).


The FSM is described in Section 10.2.3 of 4th Edition of “Digital Signal Processing” by John Proakis and Dimitris Manolakis.


For exemplifying solutions claimed: the low pass filter of length M=15 with BW=1 and 2 Transition Coefficients equal to 0.590 and 0.095 chosen from Appendix B of the 4th Edition, has been designed with the Matlab program presented below.






N=15; k=0:N−1;






H=[1 0.590 0.095 0 0 0 0 0];






H=[H fliplr(H(2:end))];






H=H.*exp(−j*2*pi/N*(N−1)/2*k);






hlp2=real(ifft(H));






hlp2t2i5f=round(hlp2t, 5);






t=[k;hlp2t2i5f];





fprintf(′%2i %1.6f\n′,t);


Such program produced filter coefficients listed below:






h(0)=h(14)=0.001290, h(1)=h(13)=0.006940, h(2)=h(12)=0.021000, h(3)=h(11)=0.046050,






h(4)=h(10)=0.080730, h(5)=h(9)=0.117980, h(6)=h(8)=0.147010, h(7)=0.158000.


The DC gain of such filter G(ω=0) is equal to the sum (h(0)+h(1)+ . . . +h(13)+h(14))=1.


The frequency response of such filter shown in FIG. 2A was produced using the Matlab program:





[H,W]=freqz(hlp2t2i5f,1);






Hdb=mag2db(abs(H));





plot(W,Hdb)


Such FIR filter implementation using RNF method is shown in FIG. 2B and described below.


It is explained in “SUMMARY OF THE INVENTION” that the measured lengths are expressed with integer numbers and can be added without any accumulation of time quantization errors, in order to define any longer time interval containing a plurality of the referencing frame periods.


The differences Δx(n) defined using such measured lengths are integer numbers providing an accurate and complete base for the filter operations.


The RNF FIR shown in FIG. 2B is producing the difference estimate Δyfil(n) which may contain an integer part Δyint(n) and a fractional part Δyfra(n).


However DTC can introduce integer numbers only of the subclock periods to the lengths of the synchronous frame periods.


Such DTC limitation would cause accumulation of quantization errors if such fractional parts Δyfra(n) were disregarded.


Therefore the fractional parts Δyfra(n) are added instead to contents of the Modulo 1 Accumulator Δyacc(n−1) until such content becomes equal or greater than 1.


When it happens only a fractional part of such content is kept in the Modulo 1 Accumulator and 1 is added to Δyint(n) and y(2) in order to produce y(n)=y(2)+Δyint(n)+1 expressed as an integer number.


Such elimination of quantization errors accumulation can be achieved for every FIR filter having limited number of coefficients expressed with rational numbers,


by deriving a common denominator and expressing these coefficients with rational numbers having such common denominator.


All the coefficients of the FIR filter specified above, may be treated as rational numbers having the common denominator equal to 105.


All this filter outputs, shown in FIG. 2A as Δyfil(n)=Δyint(n)+Δyfra(n), may be obviously presented as rational numbers having the same common denominator equal to 105.


Consequently all the fractional parts of such outputs Δyfra(n) have the same denominator 105 and can be accumulated using the Modulo 1 Accumulator until Δyacc_ovf=1 is produced and added to Δyint(n) and y(2) in order to prevent any accumulation of quantization errors.


The y(n) specifies the length of such synchronous frame period with an integer number of the subclocks of the local clock.


Since every synchronous frame period contains Nref=2304 periods of the synchronous clock synthesized by DTC, a length of every period of the synchronous clock shall amount to s(n)=y(n)/Nref=y(n)/2304.


Such s(n) can be presented as a rational number containing an integer part sint(n) and a fractional part sfra(n).


However DTC can use integer numbers only of the subclock periods for defining the lengths of the synchronous clock periods which it is producing.


Therefore the s(n) are rounded by:


adding the fractional part sfra(n) to consecutive contents of the Modulo 1 Accumulator (similar to that described above) corresponding to consecutive cycles of the synchronous clock until such contents are becoming equal or greater than 1;


and when it happens, adding 1 to sint(n) in order to produce sacc_int(n,i)=sint(n)+1 wherein index i indicates a sequential number of a particular synchronous clock cycle within the synchronous frame period y(n).


The resulting sequence defining 2304 of such synchronous clock cycles may be stored in a FIFO memory in PCU and downloaded gradually to DTC in reply to the LD_BU1 and LD_BU2 signals shown in FIG. 6, in order to produce i=1 to 2304 cycles of the synchronousclock contained in the synchronous frame period y(n).


Methods covered by this invention include also downloading such sequence from PCU to a FIFO memory located in DTC equipped for utilizing content of such internal FIFO for producing the cycles of the synchronousclock contained in corresponding the synchronous frame period.


2. 2 Rational Number Filter Approximating Infinite Impulse Response (RNF IIR)


Principles of operations the RNF IIR are explained below as relating to approximations of IIR filters of 1st and higher orders as well.


Such principles of operations are illustrated in the following subsection 2.2.1 showing their detailed implementation with the 1st order IIR filter.


The measured length difference of the referencing signal frame Δxdel(n) is applied to the filter input as an integer number Δxdel(n) (see the subsection 2.2.1 and FIG. 2C).


The filter outputs Δy(n)=Δyint(n)+Δyfra(n) are comprising both the integer and fractional components.


The fractional components Δyfra(n) can not be implemented by DTC and their application to recursive branches of an IIR filter would produce a sequence of such Δyfra(n) which could not be expressed with rational numbers using a limited set of integer denominators.


Such Δyfra(n) expressed with unlimited numbers of denominators could not be accumulated and utilized for driving the DTC in the way explained above for the FIR filter.


Therefore only the integer part of the filtered phase Δyint(n) is applied to DTC and the recursive branches of the filter.


Such omission of the the remaining fractional Δyfra(n) is equivalent to: a hypothetical subtracting of a part of of the present Δxdel(n) corresponding to the Δyfra(n) from the entire Δxdel(n) before applying the resulting quotient to the input of the filter which would consequently produce only the integer output Δyint(n).


The subtracted part of the Δxdel(n) corresponding to the Δyfra(n) is retained as Δxret(n) and added to next the Δxdel(n) in order to preserve filter DC gain (Gdc=G(ω=0)=1).


It shall be noted that:


such omission of Δyfra(n) is the only consequence of the subtraction of the corresponding part of Δxdel(n), if and only if filters equation does not include any utilization of any delayed sample of Δxdel(n);


however if such utilization of the delayed sample occurs, than the delayed sample is affected as well and it shall be amended by subtracting from it the Δxret(n).


The resulting filter operates as a conventional IIR filter having LTI properties, but it is fed with Δxdel modified by such subtracting of the Δxret from the present Δxdel and adding the same Δxret to the next Δxdel.


Such modifications of the Δxdel are affecting dynamic characteristics of the filter output but cannot change its DC gain.


Due to high resolution of the Δx(n) produced by the TDC and corresponding to it Δy(n) applied to and utilized by the DTC, resulting changes of the dynamic characteristics shall be insignificant.


Due to the LTI properties of such IIR filter, filters impulse response can be used for defining filter operations.


An analysis of the impulse response of such IIR filter (see FIG. 2E) shows that such omission, retaining and addition are continuing until Δyint(n)=0 is reached and causes recursive branches to become inactive and returning zeroes.


When the Δyint(n)=0 is settled, the same Δxret is reapplied continuously and the same Δyfra would be circulated while Δyint(n)=0 would be outputted by the filter.


Such ending of the impulse response would cause a granularity error of the filter to be equal to such settled Δxret corresponding to the settled Δyfra.


Although such granularity error is not cumulative, it can be multiple times greater than TDC or DTC quantization error.


Such granularity error multiple times greater than quantization error introduced to Δxdel by TDC, may be reduced to a size of the TDC quantization error, by adding the integer part of the last applied Δxret to filter output.


In order to reduce phase jitter, such addition may be distributed over time as it is exemplified in the Subsection 2.2.1 and FIG. 2C, wherein:


coefficient “a” is subtracted from Δyfra and 1 is added to every consecutive filter output Δy(n), for as long as modulo(Δyfra) is greater than or equal to “a”;


wherein the subtracting of “a” from Δyfra is equivalent to subtracting 1 from Δxret, since aΔxret=Δyfra.


Such elimination of quantization errors accumulation can be achieved for every IIR filter using a limited number of coefficients expressed with rational numbers, by:


using these coefficients and integer input signal for deriving components of this filter equation expressed with rational numbers having common denominator determined by these coefficients;


preventing further multiplications of such rational numbers by recursive branches coefficients, by eliminating fractional parts of filter output signal (feeding the recursive branches) by modulating the input signal without changing filters DC gain.


Such transforming of the remaining fractional parts of the filtered phase into retained parts of the measured lengths differences and adding them to next filter inputs in order to compensate the remaining fractional parts later on, is influencing still dynamic characteristics of the phase filter.


However due to the high resolution of the TDC and DTC defined by the sub-clocks of the local clock, such influence on the dynamic characteristics shall be negligible.


2.2.1 Example of RNF Approximating IIR Filter.


For exemplifying solutions claimed, an implementation of a low pass 1st order IIR filter is described first and the RNF approximating such IIR filter is presented next.


It is assumed that this IIR filter is using factor a<<1 to attenuate variable components of the phase differences in order to filter out phase noise contributed by the referencing signal.


Similarly as it is explained above in Sec. 2.1 it is assumed that:


the phase tracking is initialized at the end of x(1) by starting the original produced period y(2)=x(0);


the synchronous frame periods y(2), y(3), y(4), . . . y(n−1), y(n) are tracking the referencing frame periods x(0), x(1), x(2), . . . x(n−3), x(n−2);






Δx(1)=x(1)−x(0), Δx(2)=x(2)−x(0), . . . Δx(n−2)=x(n−2)−x(0);





Δy(3)=y(3)−y(2), Δy(4)=y(4)−y(2), . . . Δy(n)=y(n)−y(2).


Phase tracking deviations d(k) between x(k) and y(k) are estimated and utilized for deriving following them y(k+1) as it is shown below:


y(2)=x(0) wherein using such y(2) for an actual synchronous frame synthesis begins when the digital to time converter (DTC) detects the end of the x(1) period of the referencing frame,






d(2)=x(2)−x(0)=Δx(2),






y(3)=y(2);






d(3)=Δx(3)+Δx(2),






y(4)=y(2)+aΔx(2);






d(4)=Δx(4)+Δx(3)+(1−ax(2),






y(5)=y(2)+aΔx(3)+a(1−ax(2);






d(5)=Δx(5)+Δx(4)+(1−a)(Δx(3)+(1−ax(2)),






y(6)=y(2)+ax(4)+(1−a)(Δx(4)+(1−a)(Δx(3)+(1−ax(2))).





Consequently






Δy(n)=aΔx(n−2)+(1−ay(n−1).


The resulting transfer function of such IIR filter amounts to:





ΔY(z)/ΔX(z)=a z−2/(1−(1−a)z−1).


Impulse response of such IIR filter is derived below.





When Δx(2)=Δximp>0 and Δx(3)=Δx(4= . . . =Δx(n−1)=Δx(n)=0:





Δy(2)=0





Δy(3)=0,





Δy(4)=aΔx(2)=aΔximp,





Δy(5)=aΔx(3)+a(1−aximp=(1−a)aΔximp


and finally






Δy(n)=aΔx(n−2)+(1−ay(n−1)=(1−a)n−4aΔximp.


The resulting sum is





Δy(2)+Δy(3)+Δy(4)+ . . . +Δy(n)=aΔximp(1+(1−a)+(1−a)2 . . . (1−a)n−4),


and such sum converges to aΔximp(1/(1−(1−a)))=aΔximp (1/a)=Δximp


when n converges to infinity.


Consequently this IIR filter has DC gain G(ω=0) equal to 1.


Frequency response of conventional implementation of such IIR filter using a=0.05, is shown in FIG. 2C.


Such conventional IIR filter would be expressed conventionally with the equation:





Δy(n)=aΔxdel(n)+(1−ay(n−1)).


The RNF approximating this IIR filter is shown in FIG. 2D as comprising modifications explained below.


In order to omit the Δyfra(n) and apply only Δyint(n) to the output and recursive branch, the corresponding to it Δxret(n) shall be treated as being subtracted from the Δxdel(n) and it shall be added to a next Δxdel(n) to compensate for this subtraction.


However such Δxret(n) would equal to Δyfra(n)/a and adding it to the next Δxdel(n) would be equivalent to increasing a next Δyfil(n) by aΔxret(n)=aΔyfra(n)/a=Δyfra(n).


Such unneeded multiplication and division of Δyfra(n) by the same factor a, is avoided by the direct increasing of the next Δyfil(n) by Δyfra(n) shown in FIG. 2D.


Since this filter's forward branch coefficient equals to “a” and the recursive branch coefficient equals to “1−a”, it's Δxret(n) would always amount to an integer number if it were calculated.


Therefore the accumulation of fractional parts of Δxret(n), mentioned in SUMMARY OF THE INVENTION, is not needed for this particular filter and not shown in FIG. 2D.


An analysis of the impulse response of such IIR filter shows that


Such omission of Δyfra(n) and increasing by it the next Δyfil(n) continues until Δyint(n)=0 is reached and causes recursive branches to become inactive and returning zeroes.

    • When the Δyint(n)=0 is settled, the same Δyfra would be reapplied continuously and the same Δyint=0 would be outputted indefinitely by the filter.


Such ending of an impulse response of the filter would cause a granularity error of the filter to be equal to Δxdel=Δyfra/a.


Due to the hypothetical Δyfra circulation continuing indefinitely, such granularity error would be noncumulative.


However it would be 1/a times greater than Δxdel quantization error.


It is shown in FIG. 2D that such granularity error is reduced to the Δxdel quantization error, by:


subtracting “a” from Δyfra and forcing every consecutive filter output Δy(n) to 1, for as long as Δyint(n)=0 and modulo(Δyfra) is greater than or equal to “a”;


wherein the subtracting of “a” from Δyfra is equivalent to subtracting 1 from Δxret, since aΔxret=Δyfra.


Impulse Response of the RNF IIR shown in FIG. 2D and based on assumptions that a=0.05 and Δximp(0=50, is detailed in FIG. 2E confirming achieving noncumulative filter quantization error lesser than that of the filter input Δxdel.


Thus this specification contributes elimination of accumulation of quantization errors of RNF approximating IIR filters, by delaying applications of parts of their input signal which are corresponding to fractional parts of their output signal.


2.3 Phase Transferring Using the CLS.


The implementation of CLS with the phase transferring configuration (PTC shown in FIG. 1C) replacing a VCO used conventionally with a cost lowering free running oscillator, has been introduced in SUMMARY OF THE INVENTION.


Both OLS RNF and CLS based PTCs can be implemented with the same hardware configuration presented in FIG. 1C.


The PTC implementing CLS comprises PCU programmed to initiate the phase transferring process by:


measuring a lengths of initial interval of the referencing signal x(0) by subtracting a first phase captured by TDC1 from a second phase captured by TDC1 (as in OLS RNF based PTC);


driving DTC into presetting a length of the 2nd interval of SYN_FRA y(2) to x(0) and a length of the 3rd interval of SYN_FRA y(3) to x(0) as well (as in OLS RNF based PTC);


After the initialization the PCU programmed to implement CLS, shall:


measure phase errors Δxerr(2), . . . Δxerr(n−2) between the timing referencing signal REF_FRA and the timing implementing signal SYN_FRA,


by subtracting a phase of the end of the number 2, . . . (n−2) interval of SYN_FRA (supplied by Phase Reg.2 and named as yend(2), . . . yend(n−2)) from a phase of the end of the number 2, . . . (n−2) interval of REF_FRA accordingly (supplied by Phase Reg.1 and named as xend(2), . . . xend(n−2)) ;


apply Δxerr(2), . . . Δxerr(n−2) to an input of a CLS filter (similarly as Δxdel(2), . . . Δxdel(n−2) are applied to RNF);


add outputs of the CLS filter Δyfil(2), . . . Δyfil(n−2) to the y(2), in order to derive synthesized synchronous frame intervals y(4)=y(2)+Δyfil(2), . . . y(n)=y(2)+Δyfil(n−2) accordingly (similarly as in OLS RNF based PTC);


wherein the CLS filter shall be designed by using methods of digital control engineering known commonly (taught in books such as “Digital Control Engineering Analysis and Design” by Sami Fadali and Antonio Visioli and in the Chapter 6 of this book specifically);


apply the synchronous frame intervals y(2), y(3), y(4), . . . y(n) to the input of DTC which is using them for producing the synchronous clock and frame (SYN_Clk and SYN_FRA) from the subclocks of the free running local clock (LOC_Clk represented by the Clk0.1 in FIG. 1C).


2.4 Adaptive PTC Applications


The PTC hardware is defined by system presented in FIG. 1C.


Such PTC hardware may be driven by diversified software systems in order to create different PTC versions needed to satisfy requirements of diversified PTC applications.


Such different versions include but are not limited to PTC implementing OLS with performance monitoring & control described in Subsection 1B of SUMMARY OF INVENTION and PTC implementing CLS described above in Subsection 2.3.


In addition to the mentioned above PTC versions, such different versions defined by diversified software systems may include:


analysing frequency spectrum and/or other quality indicators of REF_FRA (by using the measured timing referencing intervals) and/or those of SYN_FRA (by measuring and using the timing implementing intervals of SYN_FRA);


adaptive changing of PTC operations to those performing different functions more suitable for satisfying said application requirements;


wherein such adaptive changing of PTC operations may include but is not limited to changing PTC operations by modifying RNF filter used or switching from implementing OLS with performance monitoring & control to the implementing of CLS.


Such software systems may be downloaded to PTC from an external memory and may perform such switchings on the fly during continuing PTC operations.


Thus the implementations of the diversified versions of PTC and changes of PTC functionality mentioned above, may be enabled by utilizing different software systems consisting of different codes and/or micro-codes for controlling PTC hardware.


3. Time to Digital Converter (TDC)


Block diagram of TDC is shown in FIG. 3A.


The Sequential Clock Generator detailed in FIG. 4A and Sec. 4 utilizes a ring oscillator for multiplying frequency of the oscillator clock (OSC_Clk) for producing the local clock (LOC_Clk) and its subclocks Clk0, Clk1, . . . ClkR needed to secure high resolution of digital phase measurements.


Such subclocks Clk0, Clk1, ClkR occurring during every period of the local clock are used for producing subclocks 1Clk0, 1Clk1, . . . 1ClkR/2Clk0, 2Clk1, 2ClkR occurring during odd/even periods accordingly of the local clock.


Such odd/even periods can be treated as belonging to phase 1/phase 2 accordingly of the local clock.


The subclocks 1Clk0, 1Clk1, . . . 1ClkR/2Clk0, 2Clk1, . . . 2ClkR are named as 1Clk(R:0)/2Clk(R:0) accordingly in FIG. 3A and FIG. 4.


The clock equalization circuit (CEC) shown in FIG. 4B exemplifies system of buffers designed to secure timing of the Clk(R:0).11Clk(R:0).1, 2Clk(R:0).1 defined by their prefixes and suffixes and corresponding to their functions.


When different loads are driven by the clocks, different sizes and numbers of buffers producing these clocks shall be utilized to achieve the timing defined in FIG. 3A, FIG. 3B and FIG. 5A, FIG. 5B, FIG. 7A, FIG. 7B.


Requirements imposed on CEC accuracy can be reduced by increasing tolerance margins of phase alignments of the subclocks defining timing of DTP, TDC and DTC,


by increasing numbers of the parallel subclock phases used in the multiphase processors implemented with specific IC technologies having specific performance accuracies (see also Sec.3 of SUMMARY OF THE INVENTION).


The equalization may be also needed for other clocks such as Clk0.1 shown in FIG. 3A.


For the sake of easier readability the common name Clk0.1 is used in FIG. 3A for signals driving DFP, SC and IPR, while in reality these signals may require an equalization in time by using different buffers securing sufficient time alignment to the original Clk0.1.


A detector of fractional phase (DFP) detailed in FIG. 3B uses 1Clk(R:0), 2Clk(R:0) for capturing accurate phase of a referencing frame (REF_FRA) signal activated when a boundary of the referencing frame occurs.


The splitting of the subclocks Clk0, Clk1, . . . ClkR into adjacent subsets 1Clk(R:0) and 2Clk(R:0) allows elimination of a dead zone condition explained below.


When the end of frame occurs and its phase is captured with 1Clk(R:0)/2Clk(R:0) during such odd/even period, the captured phase remains unchanged during following adjacent even/odd period.


Therefore this captured phase can be safely registered using ClkR-1.1 occurring during such following even/odd period and any occurrence of a dead zone can be avoided.


The DFP keeps sensing REF_FRA signal when TDC enable (TDC_ENA) signal sent by PCU is active.


PCU initiates entire process of time to digital conversion by activating TDC_ENA in a middle of a period of the referencing frame in order to avoid TDC_ENA interference with REF_FRA signal defining a boundary of the referencing frame.


When REF_FRA signal becomes active it keeps setting to 1 all consecutive bits of frame capture buffers FCB1(0:R) and FCB2(0:R) loaded by consecutive subclocks 1Clk(0:R).1 and 2Clk(0:R).1.


When initially the bit R of a frame capture buffer of FCB1(0:R)/FCB2(0:R) is set to 1 by the subclock 1ClkR.1/2ClkR.1 accordingly, the bit R of next to it FCB2(0:R)/FCB1(0:R) accordingly remains reset for time period equal to Clk0.1 cycle equivalent to that of LOC_Clk cycle.


Therefore the signal FCB1_SEL/FCB2_SEL is selecting FCB1(0:R)/FCB2(0:R) to be loaded to frame capture register FCR(0:R) with the CLKR-1.1 following such initial setting of bit R by almost one cycle of Clk0.1 defining timing equivalent to that of LOC_Clk.


However such FCB1_SEL/FCB2_SEL is deactivated when the bit R of the FCB2/FCB1 accordingly is activated at the end of the following Loc-Clk cycle.


Therefore the 3:1 Selector will keep selecting the FCR(R:0) to be reloaded with its previous content and the FCR(0:R) will remain unchanged for as long as active REF_FRA and active TDC_ENA are supplying 1s to consecutive bits of the FCB1 and FCB2.


Such content of FCR(0:R) is encoded into binary form by the selector R+1:1 SEL producing fractional phase number FPN(S:0) specifying a number of subclocks defining accurate time delay between preceding Clk0.1 (LOC_Clk) and the REF_FRA signal.


The R bit of FCR (FCRR) enables activation of the control flip-flop 1 (C_FF1) and load synchronous counter (LD_SC) signal with a falling edge of Clk0.1.


The LD_SC selects the synchronous counter (SC(K:0)) to be loaded to the integer phase register (IPR(K:0)) which supplies an integer number of local clock cycles, occurring between consecutive detections of reference frame boundaries, to PCU.


The C_FF1 enables activation of the control flip-flop 2 (C_FF2) with the next falling edge of the Clk0.1 and generation of the read request (RD_REQ) signal; which are:


deactivating the C_FF1 and the LD_SC signal in order to preserve content of the IPR supplying to PCU an increased by 2 number of Clk0.1 cycles counted with the synchronous counter (SC(K:0)) before the REF_FRA activation;


loading the FPN(S:0) to the fractional phase register (FPR(S:0)) supplying a number of subclocks occurring between the last activation of Clk0.1 and the activation REF FRA signal;


signaling to PCU that the IPR(K:0) and the FPR(S:0) shall be read.


PCU replies to the RD_PHA by deactivating TDC_ENA signal for a time interval lasting several cycles of LOC_Clk.


The deactivated TDC_ENA is resetting FCR(R:0) and C_FF2 in order to prepare for correct capturing of the next edge of REF_FRA.


4. Digital to Time Converter (DTC)


DTC outlined in Sec.3 of SUMMARY OF INVENTION is shown in FIG. 4, FIG. 4A-B, FIG. 5A-C, and FIG. 6. The timing diagram of DTC operations is shown in FIG. 7B.


The Block Diagram of DTC is shown in FIG. 4.


The Detector of Initial Frame Phase (DIFP) (detailed in FIG. 5A) utilizes sequential subclocks of LOC_Clk for capturing phase of REF_FRA with resolution matching single subclock delay, in order to enable accurate DTC initialization by the real time event presented by the appearance of an edge of REF_FRA signaling the end of x(1).


In order to secure real time operations, all timing of SYN_Clk programmed by PCU is generated by DTC as related to the real time event signaled with the REF_FRA which causes the initialization of the startup process with the signal SC_ACT generated by DFIP.


The Timing Starting Circuit (TSC) (detailed in FIG. 5B) is activated by SC_ACT and it synchronizes DTC startup by assigning timing steps needed to secure correct initialization of consecutive stages of the real time sequential processor (RTSP) with timely delivered phase adjustments supplied by PCU with signals PN1, FN1 and PN2, FN2.


The Timing Control Circuit (TCC) (detailed in FIG. 5C) is activated by signals S1E, S2E, and it produces signals LD_BU1, LD_BU2 securing timely delivery and downloading of the phase adjustments and signals controlling processing of the phase adjustments by the RTSP stages.


The Real Time Sequential Processor (RTSP) detailed in FIG. 6 is controlled by signals generated by TCC and it produces:


signals C1E/C2E communicating to TCC that processing of consecutive such phase adjustment by RTSP's phase1/phase 2 accordingly has been ended;


signals 1CS(R:0)/2CS(R:0) designed to select subclocks belonging to LOC_Clk's phase1/phase 2 accordingly as those implementing the phase adjustments programmed by PCU.


The Output Selection Circuit (OSC) (detailed in FIG. 4A) is using such 1CS(R:0)/2CS(R:0) for such selection of these subclocks and for outputting the selected subclocks as the SYN_Clks.


The Sequential Counter Modulo 2304 and the Selector of Frame Boundary Clock are selecting every 2304th SYN_Clk as signaling an end of SYN_FRA.


RTSP implements the DWS MSC method explained in Sec.3 of SUMMARY OF INVENTION.


In order to allow higher frequencies of time signaling waveforms/eliminate dead zones in time synthesizing circuits, the sequential processing stages/parallel processing phases are utilized for deriving/implementing accordingly phases of consecutive edges of the synchronous clock.


In order to facilitate processing of consecutive timing data programmed by PCU and supplied as sequence of PN1+FN1 alternating in time with PN2+FN2, said sequential processing stages are implemented as PC1, PNR1, PNB1 and PC2, PNR2, PNB2 timed by the signals detailed further below.


DTC operations described herein are explained and confirmed additionally by timing diagrams of SCG and DTC shown in FIG. 7A and FIG. 7B accordingly.


It shall be noted that:


all the selectors shown in the drawings presented herein are using a most top active selecting signal for selecting a corresponding (looking from the left) input signal, while all the next selecting signals are disabled by the most top active selective signal;


when all selecting signals shown are inactive (and none of corresponding to them input signals is selected), the last (looking from the left) input is selected even if choosing it selecting signal is not shown.


The DTC uses the same Sequential Clocks Generator (SCG) (shown in FIG. 4A and FIG. 7A) as the TDC (described above in Sec.3).


Such SCG produces subclocks of the local clock (LOC_Clk) by implementing the odd/even phase generator (mentioned above in Sec.3 of SUMMARY OF THE INVENTION); wherein:


the reference propagation circuit is implemented as the ring oscillator multiplying frequency of the oscillator clock (OSC_Clk) by factor of L and producing local clock subclocks Clk(R:0);


the serially connected flip-flops driven by the subclocks Clk(R:0), are shown as producing signals PR(R:0), PR(R:0)N;


the odd/even selector is shown as using the signals PR(R:0), PR(R:0)N for producing subclocks 1Clk(R:0)/2Clk(R:0) activated during odd/even cycles of the local clock (LOC_Clk) accordingly.


Since the frequency multiplication (applied optionally to enable more efficient operations of the phase tracking system) maintains fixed relation of the local clock to the free running oscillator clock, the local clock shall be considered to be free running as well.


The same subclocks 1Clk(R:0), 2Clk(R:0) are used by TDC1 & TDC2/DTC for measuring/synthesizing phase of the referencing frame (REF_FRA)/synchronous frame & synchronous clock (SYN_FRA&SYN_Clk) accordingly (see FIG. 1B and FIG. 1C).


Similarly as it has been explained for TDC, the subclocks generated by SCG may need to be equalized by circuits exemplified in FIG. 4B in order to maintain timing defined by the ring oscillator outputs Clk0, Clk1, ClkR-1, ClkR.


Output Selection Circuit (OSC) shown in FIG. 4A uses the clock selection signals 1CS(R:0)/2CS(R:0 produced by the 1st clock selector (1CS)/2nd clock selector (2CS) shown in FIG. 6 for selecting one of the subclocks 1Clk(R:0)/2Clk(R:0) accordingly for producing the synthesized synchronous clock (SYN_Clk).


In order to improve resolution to better than that of LOC_Clk cycle, more accurate timing of REF_FRA is measured using a detector of initial frame phase (DIFP) shown in FIG. 5A.


The DFIP operates similarly as the DFP shown in FIG. 3B and described in the Sec. 3 presented above.


PCU enables DIFP operations starting entire process of digital to time conversion, by activating DTC_ENA in a middle of a period of the referencing frame,


in order to avoid DTC_ENA interference with REF_FRA signal defining timing of a boundary of the referencing frame.


Such REF_FRA keeps setting to 1 all consecutive bits of frame capture buffers FCB1(0:R) and FCB2(0:R) loaded by consecutive subclocks 1Clk(0:R).1 and 2Clk(0:R).1.


When initially the bit R of a frame capture buffer of FCB1(0:R)/FCB2(0:R) is set to 1 by the subclock 1ClkR.1/2ClkR.1 accordingly, the bit R of next to it FCB2(0:R)/FCB1(0:R) remains reset for time period equal to LOC_Clk cycle.


Therefore the signal FCB1_SEL/FCB2_SEL keeps selecting FCB1(0:R)/FCB2(0:R) to be loaded to frame capture register FCR(0:R) by CLKR-1.1 (following such initial setting of bit R), by almost one cycle of LOC_Clk.


Content of FCR(0:R) remains unchanged for as long as both DTC_ENA and REF_FRA are active.


The DTC_ENA and REF_FRA can be deactivated after deactivation of the S2E signal only, wherein the S2E indicates that RTSP stages are not pre-loaded yet and FCR(0:R), FN(S:0) shall not be changed yet.


Content of FCR(0:R) is encoded into binary form by the selector R+1:1 SEL producing FN(S:0) specifying number of a subclocks defining accurate time delay between preceding LOC_Clk and REF_FRA signal.


The R bit of FCR (FCRR) is used to set starting counter activation (SC_ACT) signal with the falling edge of ClkR.1.


The SC_ACT is used to initiate DTC startup operations which are needed for pre-loading multiple stages of the real time sequential processor (RTSP) shown in FIG. 6 before any derivation and generation of the synchronous clock (SYN_Clk) may begin.


Such SC_ACT initiates the timing starting circuit (TSC) shown in FIG. 5B by setting S2E signal with the Clk1.1 (which is timing majority of other DTC operations as well).


The setting of S2E enables starting counter (SC) to identify starting steps 0 to 5 needed to define S1E and S2E signals driving timing control circuit (TCC) during DTC startup operations.


The TCC is shown in FIG. 5C and its timing is shown in FIG. 7B.


S2E activates load counter 1 (LD_C1) signal and enables activation of load register 1 (LD_RE1) signal by following Clk1.1.


LD_C1 loads periodical number register 1 (PNR1) to periodical counter 1 (PC1) (see FIG. 6).


LD_RE1 loads periodical number buffer 1 (PNB1) to periodical number register 1 (PNR1) (see FIG. 6).


LD_C1 is deactivated instantly when the LD_RE1 is activated.


S1E is activated by one cycle later than S2E when the SC is switched from SC=0 to SC=1.


S1E activates load counter 2 (LD_C2) signal and enables activation of load register 2 (LD_RE2) signal by following Clk1.1.


LD_C2 loads periodical number register 2 (PNR2) to periodical counter 2 (PC2).


LD_RE2 loads periodical number buffer 2 (PNB2) to periodical number register 2 (PNR2).


LD_C2 enables deactivation of the LD_RE1 and activation of load buffer 1 (LD_BU1) signal, by Clk1.1.


LD_BU1 loads periodical number 1 (PN1) supplied by PCU to PNB1 (see FIG. 6).


LD_C2 is deactivated instantly when the LD_RE2 is activated.


Such interactions between the S2E, LD_C1, LD_RE1 and S1E, LD_C2, LD_RE2 are repeated during the DTC startup, until PNB1, PNR1, PC1 and PNB2, PNR2 are preloaded from PCU with a content defining positioning of SYN_Clk edges.


In addition to driving such TCC operations, the S2E is used to:


signal to PCU if the startup is in progress or discontinued;


disable specific RTSP functions which could cause generation of redundant or erroneous SYN_Clks during the startup (see FIG. 6).


TCC produces also synthesis preparation (SYN_PRE) signal activated by RESET and deactivated by LD_BU2.


SYN_PRE is shown in FIG. 6 as causing a subtraction of 9 from the first PN1(P:0) and addition of FN(S:0) to the first FN1(S:0) downloaded from PCU.


Such initial amendments of the first PN1(P:0) and FN1(S:0) are designed to align SYN_Clk to the real time event detected by DFIP (such as the end of x(1)), by subtracting inherent startup delay (amounting to 9 cycles of LOC_Clk minus FN(S:0) subclocks delays) from the length of the first period of SYN_Clk defined by PCU.


Periods of SYN_Clk must be defined by PC1/PC2 as equal to or longer than 1 cycle of LOC_Clk, in order to be implemented by RTSP.


Consequently the first period of SYN_Clk must be defined by PCU as equal to or longer than 10 cycles of LOC_Clk, in order to satisfy the 1 cycle requirement after the initial amendments mentioned above.


When SYN_Clk periods shorter than 10 LOC_Clk cycles need to be generated, PCU may:


define first SYN_Clk period as equal to the 10 still;


subtract the expected lengths of the first SYN_Clk period from the 10;


distribute the quotient between next expected SYN_Clk periods by adding to them gradually all the parts of the quotient.


It shall be noted that such start up irregularity may affect SYN_Clks of the first SYN_FRA only and cannot cause any further timing misalignment in relation to the real time event initiating DTC.


At the end of the startup, LD_C1 signal enables downloading to PC1 a number of periods which the previous stages of the RTSP have calculated for the current phase adjustment.


Such downloading activates counter 1 end (C1E) signal if a downloaded value is equal to 1.


When said downloaded value is bigger than 1, the C1E=0 causes generation of PlEN=1 signal which enables decreasing the PC1 content by 1 by Clk1.1 until the PC1=1 condition is detected by the PC1=1 Detector producing C1E=1 signal.


After such startup, the C1E and counter 2 end (C2E) signals are generated alternately as indicating that programmed by PCU numbers of LOC_Clk cycles specifying positioning of consecutive edges of SYN_Clk have expired.


Such C1E/C2E signals are driving TCC in the same way as S1E/S2E accordingly, as it is shown in FIG. 5C, FIG. 6 and FIG. 7B.


It can be seen in FIG. 7B that such initialization and startup operations are adding a delay of 9 cycles of LOC_Clk to that defined by the first PN1(P:0) for the first generated SYN_Clk.


The 9 cycles delay is contributed by initial preloading of sequential stages of DFIP and RTSP, before actual implementation of phase adjustments of SYN_Clk may begin.


Since fractional time delay between preceding LOC_Clk and REF_FRA signal is specified by the FN(S:0), actual time delay between REF_FRA and following it LOC_Clk amounts to 1−FN(S:0).


Such 1−FN(S:0) delay is taken into account by:


including 1 LOC_Clk delay into the 9 cycles delay specified above;


adding FN(S:0) to FN1(S:0) as it is described below.


Another delay equal to 1 cycle (included into the 9 cycles delay as well) is added inherently during splitting to different parallel phases, when clock selection register 1 (CSR1) or clock selection register 2 (CSR2) is loaded with a content of a fraction selection register (FSR(ICS,S:0)) and actual subclock selection is implemented during the next cycle of LOC_Clk (see detailed description further below).


In order to apply timing started by REF_FRA and defined by PCU to SYN_Clk generation, the SYN_PRE active at the beginning of startup operations is selecting:


PN1(P:0)−9 to be loaded to PNB1(P:0);


FN1(S:0)+FN(S:0) to be loaded to FNB1(OVF,S:0).


After being loaded by LD_BU1/LD_BU2 signals, fractional number buffers FNB1/FNB2 are merged into the fractional number selector FNS(OVF(1:0),S:O) produced by 3:1 selector controlled by selecting fractional number SEL_FN1/SEL_FN2 signals generated by TCC shown in FIG. 5C.


The SEL_FN1/SEL_FN2 is activated for a period equal to LOC_Clk cycle when Clk0.1 encounters active LD_C1/LD_C2 signal accordingly (see also FIG. 7B).


The FNS(OVF(1:0),S:O) is loaded into fractional number register FNR(OVF(1:0),S:0) with LD_RE signal activated by delayed derivatives of SEL_FN1 or SEL_FN2 for a time longer than half of LOC_Clk cycle.


The FNR(OVF(1:0)), indicating if FNR content accumulated during previous operations exceeds a fractional value and amounts to 1 or 2 plus FNR(S:0), is adding 1 or 2 to a content of PNR1/PNR2 before such increased content is downloaded to PC1/PC2 accordingly.


It is assumed that P:0 range is sufficient to avoid any overflow caused by such addition.


The FNR(S:0) is combined with inhibiting clock selection signal FNR(ICS) described below, before being loaded to the fraction selection register FSR(ICS,S:0) by Clk1.1.


The FNR(ICS) is preventing generation of redundant edges of SYN_Clk during entire DTC startup and after the startup when phases of SYN_Clk edges are not derived yet.


During the startup the deactivation of FNR(ICS) by LD_C1/LD_C2 is prevented by S2E signal indicating that this LD_C1/LD_C2 is generated during pre loading of PC1, PNR1, PBU1/PC2, PNR2, PBU2 accordingly and phase of an initial edge of SYN_Clk is not derived yet.


After the startup FNR(ICS) is deactivated when LD_C1 or LD_C2 are signaling that phases of edges of SYN_Clk have been derived and shall be implemented.


The FNR(ICS) is supplementing FNR(S:0) in order to construct FNR(ICS,S:0) which is loaded to the fraction selection register FSR(ICS,S:0) specifying number of a subclock of LOC-Clk which will define phase of a next edge of SYN_Clk.


The clock selection registers CSR1(ICS,S:0)/CSR2(ICS,S:0) are loaded with a current content of the FSR(ICS,S:0).


When CSR1(ICS)/CSR2(ICS)=0, such CSR1/CSR2 specifies a subclock which will be selected in a forthcoming Phase1/Phase2 by a clock selector 1CS(R:0)/2CS(R:0) accordingly by decoding (S:0) binary code and activating its corresponding R:0 output.


In order to avoid any dead zone and keep clocks selector 1CS(R:0)/2CS(R:0) settled during a whole next cycle of LOC_clk, CSR1/CSR2 registers are loaded by the falling edge of subclock 2Clk0.1/1Clk0.1 of a current Phase2/Phase1 accordingly of LOC-Clk


In order to secure SYN_FRA timing programmed by PCU, the first SYN_FRA having lengths defined by y(2), shall be initialized exactly at the end of x(1) interval of REF_FRA.


It is described above how such exact timely initialization is secured by:


using DIFP for detecting the end of x(1) interval and measuring a delay between the end of x(1) and following it edge of LOC_Clk as equal to 1−FN(S:0);


using the measured delay for presetting RTSP to produce the first SYN_FRA interval defined by y(2) beginning at the end of x(1).


However solutions based on using the PTC shown in FIG. 1C are including also using TDC2 for simplifying DTC described above by eliminating DFIP.


Such elimination of DFIP can be achieved by supplementing PCU circuit and program functions with:


initiating DTC to produce the first SYN_FRA interval defined by y(2), when RD_REQ signaling the end of x(1) is received;


measuring time delay between the phase of the end of x(1) supplied in Phase Reg.1 and the phase of the end of such first SYN_FRA interval supplied in Phase Reg.2;


deriving delay of the RTSP initialization by subtracting the y(2) from the measured time delay;


amending length of y(4) interval by subtracting from it the derived delay.


It is shown in FIG. 8 that the synchronous clock (SYN_Clk) may be connected to the jitter filter of the SYN_Clk (JFSC) added for producing the sampling clock (SAM_Clk) which may be used instead of the SYN_Clk for sampling the baseband signal mixed out from the received OFDM signal with the high frequency local carrier clock (CAR_Clk).


The JFSC can be designed to prevent inter carrier interference (ICI) by reducing analog jitter (introduced by the SCG and the OSC) and digital jitter (caused by the granularity of TDC output determined by the Tsc).


Sufficient filtering out of such analog & digital jitter can be achieved by using the JFSC based on technologies such as:


“DPLL—Jitter Cleaner PLL Digital Loop Filter” from Creative Silicon;


“Si5386 1-DSPLL Wireless Clock” from Silicon Labs.


Such jitter filtering technologies are enabling very high efficiency by replacing two-stage cascaded PLL with two-stage nested DSPLL such as that described in Silicon Labs publication “Clocks for 4.5G Radio Access Networks”.


It is also shown in FIG. 8 that the SAM_Clk may be connected to the jitter filtering frequency multiplier (JFFM) which can utilize a dual loop configuration (based on the technologies mentioned above) for producing the high frequency local carrier clock (CAR_Clk) used to mix down the received OFDM signal into the base-band sampled with the SAM_Clk.


The DTP described above can be utilized for implementing IEEE 1588 as it is described in greater detail below.


It is shown in FIG. 9 that:

    • times Tn,1 & Tn,4/Tn,2 & Tn,3 are communicated to/detected by PTP Slave, during the messaging cycle numbered n;
    • times Tn+1,1 & Tn+1,4/Tn+1,2 & Tn+1,3 are communicated to/detected by PTP Slave, during the messaging cycle numbered n+1.


The referencing frame REF_FRA described above as detected by referencing signal receivers, can be defined for the PTP as:





REF_FRA(n)=Tn+1,2−Tn,2.


However a nominal number of syntonized PTP clocks Nref(n) (corresponding to the nominal number Nref of the SYN-Clks) expected to occur during the REF_FRA(n) is not constant (in contrary to that of the SYN_Clks) and defined by:






Nref(n)=Tn+1,1−Tn,1.


Since every period of a syntonized frame (SYNT_FRA(n)) period shall contain Nref(n) periods of such syntonized PTP clock (SYNT_Clk(n)) synthesized by DTC, a length of every period of the SYNT_Clk(n) shall amount to s(n)=y(n)/Nref(n); wherein the y(n) shall be derived as it is explained in Sec.2 of Detailed Description.


Any accumulation of quantization errors during the synthesis of consecutive periods SYNT_Clk(n,i) of SYNT_Clk(n), can be prevented in the same way as that shown above for the synthesis of the periods s(n,i) of SYN_Clk.


A latency of a specific SYNT_FRA(n) and the SYNT_Clk(n,i) can be derived as equal to: LAT(n)=[(Tn,2−Tn,1)+(Tn,4−Tn,3]/2, when delay symmetry is assumed.


Such latency LAT(n) can be:


used directly for defining periods of a second following synchronous PTP clock (SYNC_Clk(n+2)) aligned in time to PTP Master Clock;


passed through a low pass filter before being utilized for defining such SYNC_Clk(n+2), similarly as the x(n) is passed through FIR/IIR filters producing the y(n) used for synthesizing the SYN_Clk (see the Sec.2 of Detailed Description).


It shall be noted that the DTP TSN method, apparatus and circuits exemplified herein as implemented by using the DTP can be also implemented, by any person skilled in the art, by using conventional signal & time processing methods and circuits such as DPLL.


Therefore such DTP TSN implementations using the conventional signal & time processing methods and circuits are covered as well by the invention presented herein.


CONCLUSION

In view of the above description of the invention and associated drawings, other modifications and variations will now become apparent to those skilled in the art based on the teachings contained herein. Such other modifications and variations fall within the scope and spirit of the present invention.

Claims
  • 1. A method for Digital Time Processing over Time Sensitive Networks (DTP TSN) using messages of a Precision Time Protocol such as IEEE 1588 for distributing a master time secured by a master unit to a slave unit, wherein a timing implementing frame constructed with a slave clock is produced as synchronous to a timing referencing frame, signaled by messages sent by the master unit, by filtering out phase distortions from the timing referencing frame and the slave clock is maintaining a local slave time which is increased by a transmission delay in order to produce a local master time tracking the master time wherein the timing implementing frame and the slave clock are produced using a free running local clock or subclocks of the local clock; wherein the DTP TSN method comprises the steps of: using time stamps of arrivals of sync messages captured by the slave unit for defining detected lengths of intervals of the timing referencing frame;wherein the arrivals are captured and the lengths of the intervals of the timing referencing frame are detected with a time to digital converter (TDC) implementing a hardware time stamping, using the local clock or subclocks of the local clock, maintaining a known delay between said arrivals of the sync messages and actual said hardware time stamping;using, by the slave unit, time stamps captured with a master clock or subclocks of the master clock by the master unit and communicated with the sync messages or other messages, for defining expected lengths of intervals of the timing referencing frame;using the detected lengths and the expected lengths for estimating phase errors between the timing referencing frame and the timing implementing frame, based on known relations maintained between the local clock and the slave clock and between the slave clock and the timing implementing frame;processing the estimated phase errors in order to filter out phase noise introduced by the referencing frame and to define the timing implementing frame and the slave clock which are synchronous to the timing referencing frame timed by the arrivals of the sync messages to the slave unit but are delayed by the transmission delay in relation to departures of the sync messages from the master unit;wherein the defined timing implementing frame and slave clock are produced by using a digital to time converter (DTC) driven by the local clock or subclocks of the local clock;using, by the slave unit, messages received from the master unit and the slave clock or subclocks of the slave clock, for producing a local slave time and estimating the transmission delay;producing a local master time by adding the estimated transmission delay to the local slave time.
  • 2. A DTP TSN method as claimed in claim 1, wherein: the timing implementing frame and the slave clock are initialized by starting a first interval of the timing implementing frame when such arrival of a first such sync message is detected and such time stamp of the arrival of the first sync message is captured.
  • 3. A DTP TSN method as claimed in claim 1, wherein: the local slave time, lagging by the transmission delay behind the master time, is preset at the starting of the first interval of the timing implementing frame, as equal to such time stamp captured by the master unit and communicated by the first sync message;the local slave time is being continuously updated by the local slave clock in order to maintain the transmission delay versus the master time.
  • 4. A DTP TSN method as claimed in claim 1, wherein: consecutive values of the transmission delay are calculated repeatedly using consecutive said sync messages and other messages.
  • 5. A DTP TSN method as claimed in claim 4, wherein: the calculated values of the transmission delay are filtered in order to reduce phase distortions introduced by a transmission channel and messages capturing circuits;the filtered values of the transmission delay are used as such estimated transmission delay added to the local slave time in order to produce the local master time.
  • 6. A method for Digital Time Processing over Time Sensitive Networks (DTP TSN) using messages of a Precision Time Protocol such as IEEE 1588 for distributing a master time secured by a master unit to a slave unit, wherein a timing implementing frame constructed with a slave clock is produced as synchronous to a timing referencing frame, signaled by messages sent by the master unit, by filtering out phase distortions from the timing referencing frame and the slave clock is maintaining a local slave time which is increased by a transmission delay in order to produce a local master time tracking the master time; wherein the DTP TSN method comprises the steps of: using time stamps of arrivals of sync messages captured by the slave unit for defining detected lengths of intervals of the timing referencing frame;wherein the arrivals are captured with a hardware time stamping using a local clock or subclocks of the local clock;using, by the slave unit, time stamps captured with a master clock or subclocks of the master clock by the master unit and communicated with the sync messages or other messages, for defining expected lengths of intervals of the timing referencing frame;using the detected lengths and the expected lengths for estimating phase errors between the timing referencing frame and the timing implementing frame, based on known relations maintained between the local clock and the slave clock and between the slave clock and the timing implementing frame;processing the estimated phase errors in order to filter out phase noise introduced by the referencing frame and to define the timing implementing frame and the slave clock which are synchronous to the timing referencing frame timed by the arrivals of the sync messages to the slave unit.using, by the slave unit, messages received from the master unit and the slave clock or subclocks of the slave clock, for producing a local slave time and estimating the transmission delay;producing a local master time by adding the estimated transmission delay to the local slave time.
  • 7. A DTP TSN method as claimed in claim 6, wherein: the timing implementing frame and the slave clock are initialized by starting a first interval of the timing implementing frame when such arrival of a first such sync message is detected and such time stamp of the arrival of the first sync message is captured.
  • 8. A DTP TSN method as claimed in claim 6, wherein: the local slave time, lagging by the transmission delay behind the master time, is preset at the starting of the first interval of the timing implementing frame, as equal to such time stamp captured by the master unit and communicated by the first sync message;the local slave time is being continuously updated by the local slave clock in order to maintain the transmission delay versus the master time.
  • 9. A DTP TSN method as claimed in claim 6, wherein: consecutive values of the transmission delay are calculated repeatedly using consecutive said sync messages and other messages.
  • 10. A DTP TSN method as claimed in claim 9, wherein: the calculated values of the transmission delay are filtered in order to reduce phase distortions introduced by a transmission channel and messages capturing circuits;the filtered values of the transmission delay are used as such estimated transmission delay added to the local slave time in order to produce the local master time.
  • 11. A method for Digital Time Processing over Time Sensitive Networks (DTP TSN) using messages of a Precision Time Protocol such as IEEE 1588 for distributing a master time secured by a master unit to a slave unit, wherein: a timing referencing frame is detected as delimited by time stamps of sync messages captured by the slave unit;an expected timing referencing frame is defined by time stamps captured by the master unit and communicated to the slave unit with the sync messages;phase errors between the expected and the detected reference frames are processed to produce a timing implementing frame and a slave clock synchronous to the timing referencing frame communicated by the master unit with the sync messages;using, by the slave unit, messages received from the master unit and the slave clock, for producing a local slave time and estimating the transmission delay;producing a local master time by adding the estimated transmission delay to the local slave time.
Parent Case Info

This application is: Continuation In Part and claims priority benefits of U.S. non-provisional application Ser. No. 16/882,742 filed on May 25, 2020.

Continuation in Parts (1)
Number Date Country
Parent 16882742 May 2020 US
Child 17228647 US