Direct synchronization of synthesized clock
09794096 · 2017-10-17
Assignee
Inventors
Cpc classification
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04L27/2656
ELECTRICITY
H03L7/0807
ELECTRICITY
H03L7/07
ELECTRICITY
International classification
H03K5/15
ELECTRICITY
H03L7/07
ELECTRICITY
Abstract
The Direct Synchronization of Synthesized Clock (DSSC) contributes a method, system and apparatus for reliable and inexpensive synthesis of inherently stable local clock synchronized to a referencing signal received from an external source. Such local clock can be synchronized to a referencing frame or a data signal received from wireless or wired communication link and can be utilized for synchronizing local data transmitter or data receiver. Such DSSC can be particularly useful in OFDM systems such as LTE/WiMAX/WiFI or Powerline/ADSL/VDSL, since it can secure lower power consumption, better noise immunity and much more reliable and faster receiver tuning than those enabled by conventional solutions.
Claims
1. A method of frequency locking phase synthesis (FLPS) using a programmable control unit (PCU) and a phase synthesizer (PS) for synchronizing a synthesized clock to a referencing signal, including utilization of a phase tracking error accumulated between the referencing signal and the synthesized clock, a predictive phase amendment providing a predictive compensation of a phase offset error contributed by a frequency offset between the referencing signal and a local clock used for producing the synthesized clock and a variable phase amendment designed to compensate the phase tracking error; wherein the FLPS method comprises the steps of: producing the local clock by using a voltage controlled oscillator controlled by a frequency locked loop; measuring phase errors, between periods of the referencing signal and periods of the local clock, wherein every one of said periods of the local clock comprises a known number of cycles of the local clock; estimating a frequency error, between the referencing signal and the local clock, by using an accumulation of the measured phase errors; aligning a frequency of the local clock to a frequency of the referencing signal by utilizing the estimated frequency error for controlling the frequency locked loop; calculating, using the PCU, the predictive phase amendment, needed to compensate the phase offset error contributed by the frequency offset remaining after the aligning the frequency, by using the measured phase errors; calculating a periodical phase error by adding a previous said predictive phase amendment to such measured phase error; calculating, using the PCU, the variable phase amendment, based on the phase tracking error; wherein the phase tracking error has been calculated by adding a previous said variable phase amendment to a sum of the periodical phase error and a previous said phase tracking error; calculating a periodical phase amendment by adding the variable phase amendment and the predictive phase amendment; introducing the periodical phase amendment to a next period of the synthesized clock in a feed-forward phase control system, in order to synchronize the synthesized clock to the referencing signal.
2. An FLPS method as claimed in claim 1, wherein the feed-forward phase control system is implemented with: a frame phase detector (FPD) used for the measuring the phase errors; the PCU utilizing the periodical phase amendment for producing control signals applied to the PS; the PS utilizing the control signals for producing the synthesized clock from the local clock.
3. An FLPS method as claimed in claim 2, wherein: the control signals are distributing additions of such periodical phase amendments to a phase of the synthesized clock, over a plurality of such periods of the synthesized clock in order to minimize a phase jitter of the synthesized clock.
4. A method for frequency locking phase synthesis FLPS enabling a predictive compensation of a phase offset error, between a frame of a referencing signal and a frame of a synthesized clock, contributed by a frequency offset between the referencing signal and a local clock used for producing the synthesized clock; wherein the FLPS method comprises the steps of: producing the local clock by using a voltage controlled oscillator controlled by a frequency locked loop; measuring, using a frame phase detector (FPD), frame phase errors between the frame of the referencing signal and the frame of the local clock containing a nominal number of local clocks (Nloc); aligning a frequency of the local clock to a frequency of the referencing signal, by utilizing the measured frame phase errors for controlling the frequency locked loop; tracking a phase of the frame of the referencing signal with a phase of the frame of the synthesized clock containing a nominal number of such synthesized clocks (Nsynth), by modifying a phase of the synthesized clock with a phase amendment derived using the measured frame phase errors; wherein the phase amendment comprises a predictive component, providing the predictive compensation of the phase offset error, derived by utilizing the measured frame phase errors, a variable component reducing a variable phase error remaining still in the phase of the frame of the synthesized clock after a previous said phase amendment was applied to a previous said frame of the synthesized clock; wherein the modifying the phase of the synthesized clock is implemented using a feed-forward phase control system.
5. An FLPS method as claimed in claim 4, wherein the feed-forward phase control system is implemented with: the FPD used for the measuring the frame phase errors; a programmable control unit (PCU) supplying the phase amendment with control signals applied to a phase synthesizer (PS); the PS utilizing the control signals for producing the synthesized clock from the local clock.
6. An FLPS method as claimed in claim 5, wherein: the control signals are distributing additions of such phase amendments to the phase of the synthesized clock, over a plurality of such frames of the synthesized clock in order to minimize a phase jitter of the synthesized clock.
7. A method for synchronization of a synthesized clock (SSC) to a referencing signal by utilizing a variable phase amendment for reducing a phase tracking error of the synthesized clock produced by a phase synthesizer (PS) from a local clock frequency aligned to the referencing signal; the SSC method comprising the steps of: producing the local clock by using a voltage controlled oscillator controlled by a frequency locked loop; measuring frame phase errors between a frame of the referencing signal and a frame of the local clock containing a nominal number of such local clocks (Nloc), utilizing sequences of consecutive the measured frame phase errors accumulated without accumulation of digitization errors of the measured frame phase errors; aligning a frequency of the local clock frame to a frequency of the referencing signal frame, by utilizing the measured frame phase errors for controlling the frequency locked loop; deriving, using a programmable control unit (PCU), the phase tracking error remaining after application of a previous said variable phase amendment to a frame the synthesized clock, by utilizing such measured frame phase error, a previous said phase tracking error and the previous variable phase amendment; deriving, using the PCU, the variable phase amendment, by utilizing the derived phase tracking error; tracking a phase of the referencing signal frame with a phase of the synthesized clock frame, by applying the derived variable phase amendment to the synthesized clock frame in a feed-forward phase control system utilizing the PCU for controlling operations of the PS.
8. An SSC method as claimed in claim 7, wherein the feed-forward phase control system is implemented with: a frame phase detector used for the measuring the frame phase errors; the PCU supplying the variable phase amendment with control signals applied to the PS; the PS utilizing the control signals for producing the synthesized clock from the local clock.
9. An SSC method as claimed in claim 8, wherein: the control signals are distributing additions of such variable phase amendments to a phase of the synthesized clock, over a plurality of such synthesized clock frames in order to minimize a phase jitter of the synthesized clock.
10. A method for synchronization of a synthesized clock (SSC) to a referencing signal, wherein the synthesized clock is produced by a phase synthesizer (PS) from a local clock; wherein the SSC method comprises the steps of: producing the local clock by using a voltage controlled oscillator controlled by a frequency locked loop; measuring frame phase errors between a frame of the referencing signal and a frame of the local clock containing a nominal number of such local clocks (Nloc) expected during the referencing signal frame, wherein the measuring the frame phase errors includes counting a number of such local clocks occurring during the referencing signal frame (Ncount) and utilizing a difference Ncount-Nloc; aligning a frequency of the local clock frame to a frequency of the referencing signal frame, by utilizing the measured frame phase errors for controlling the frequency locked loop; calculating, using a programmable control unit (PCU), a phase tracking error remaining after application of a previous variable phase amendment to a frame of the synthesized clock, by utilizing such measured frame phase error, a previous such phase tracking error and the previous variable phase amendment; deriving, using the PCU, a next such variable phase amendment, by utilizing the calculated phase tracking error; tracking a phase of the referencing signal frame with a phase of the synthesized clock frame by applying the derived next variable phase amendment to the PS producing the synthesized clock in a feed-forward phase control system.
11. An SSC method as claimed in claim 10, wherein the feed-forward phase control system is implemented with: a frame phase detector used for the measuring the frame phase errors; the PCU supplying such variable phase amendments with control signals applied to the PS; the PS utilizing the control signals for producing the synthesized clock from the local clock.
12. An SSC method as claimed in claim 11, wherein: the control signals are distributing additions of the variable phase amendments to a phase of the synthesized clock, over a plurality of such synthesized clock frames in order to minimize a phase jitter of the synthesized clock.
13. A method for synchronization using a predictive compensation (SPC) of a phase offset error, for synchronizing a synthesized clock frame to a referencing signal frame wherein the synthesized clock frame consists of synthesized clocks produced by a phase synthesizer (PS) from local clocks; the SPC method comprising the steps of: producing the local clocks by using a voltage controlled oscillator controlled by a frequency locked loop; measuring frame phase errors between the referencing signal frame and a local clock frame containing a nominal number of the local clocks (Nloc), wherein consecutive utilizations of the measured frame phase errors are accumulated without accumulation of digitization errors of the measured frame phase errors; aligning a frequency of the local clock frame to a frequency of the referencing signal frame, by utilizing the measured frame phase errors for controlling the frequency locked loop; calculating, using a programmable control unit (PCU), a phase amendment of the synthesized clock frame by utilizing the measured frame phase errors; tracking a phase of the referencing signal frame with a phase of the synthesized clock frame by applying the phase amendment to the synthesized clock frame; wherein the phase amendment comprises a predictive component reducing the phase offset error of the synthesized clock frame caused by a frequency offset, between the referencing signal frame and the local clock frame, remaining after the aligning the frequency, and a variable component reducing a variable phase error remaining still in the synthesized clock frame after a previous said phase amendment was applied to a previous said synthesized clock frame; wherein the phase amendment is applied in a feed-forward phase control system utilizing the PCU for controlling operations of the PS.
14. An SPC method as claimed in claim 7, wherein the feed-forward phase control system is implemented with: a frame phase detector used for the measuring the frame phase errors; the PCU supplying the phase amendment with control signals applied to the PS; the PS utilizing the control signals for producing the synthesized clocks from the local clocks.
15. An SPC method as claimed in claim 14, wherein: the control signals are distributing additions of such phase amendments to a phase of the synthesized clock, over a plurality of such synthesized clock frames in order to minimize a phase jitter of the synthesized clocks.
16. A method for synchronization using a predictive compensation (SPC) of a predictable phase error, for synchronizing a synthesized clock, produced by a phase synthesizer (PS) from a local clock, to a referencing signal; wherein the SPC method comprises the steps of: producing the local clock by using a voltage controlled oscillator controlled by a frequency locked loop; measuring consecutive frame phase errors between a frame of the referencing signal and a frame of the local clock consisting of a known number of such local clocks, wherein a plurality of said consecutive frame phase errors is measured and utilized without accumulation of digitization errors; aligning a frequency of the local clock frame to a frequency of the referencing signal frame, by utilizing the measured frame phase errors for controlling the frequency locked loop; calculating, using a programmable control unit (PCU), a phase amendment of the synthesized clock by utilizing the measured frame phase errors; tracking a phase of the referencing signal with a phase of the synthesized clock by applying the phase amendment to the synthesized clock; wherein the phase amendment comprises a predictive component compensating the predictable phase error of the synthesized clock caused by a frequency offset between the referencing signal and the local clock remaining after the aligning the frequency, and a variable component compensating a variable phase error remaining still in the synthesized clock after a previous said phase amendment was applied to a previous said synthesized clock frame; wherein the phase amendment is applied in a feed-forward phase control system utilizing the PCU for controlling operations of the PS.
17. An SPC method as claimed in claim 16, wherein the feed-forward phase control system is implemented with: a frame phase detector used for the measuring the consecutive frame phase errors; the PCU supplying the phase amendment with control signals applied to the PS; the PS utilizing the control signals for producing the synthesized clock from the local clock.
18. An SPC method as claimed in claim 17, wherein: the control signals are distributing additions of such phase amendments to the phase of the synthesized clock, over a plurality of frames of the synthesized clock in order to minimize a phase jitter of the synthesized clock.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) General conventions making drawings easier to follow are explained below. Interconnect signals between interrelated drawings have unique names identifying their sources and destinations explained in the Description of the Preferred Embodiments utilizing the same names. Inputs supplied from different drawings are connected at the top or left side and outputs are generated on the bottom, due to the top-down or left-right data flow observed generally. Clocked circuits like registers or flip-flops are drawn with two times thicker lines than combinatorial circuits like arithmometers or selectors.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16) Notes referring to
(17)
(18) Notes referring to
(19)
(20)
(21)
(22)
(23)
(24)
DESCRIPTION OF THE PREFERRED EMBODIMENTS
1. Phase Synthesizer
(25) The above mentioned first PS implementation is selected for the preferred embodiment, and it is shown in the
(26) The PS comprises wave timing definition, which includes two major components downloaded to the PS from the PCU:
(27) basic less frequently changed phase adjustments, which can include both periodical adjustments and fractional adjustments, define more stable components of wave-form phase;
(28) high frequency phase modulations, which can include both the periodical adjustments and the fractional adjustments, allow every leading edge phase and/or every falling edge phase to be modulated with a different modulation factor.
(29) Said phase modulations are downloaded to the PS simultaneously in batches containing multiple different modulation factors, where every said batch refers to a series of consecutive wave edges. The PS has internal selection circuits, which select and use consecutive modulation factors for modulating phases of consecutive edges.
(30) In order to allow higher wave generation frequencies, 2 parallel processing circuits are implemented which use consecutive phase1/phase2 circuits for synthesizing phases of consecutive odd/even edges.
(31) As it is shown in the
(32) On the other hand, said modulation factors M1, M2-M6, M7 are shifted left, by one factor for every new edge, in the Phase Modulation Buffers (PMB1/PMB2) for providing consecutive modulation factor needed for a next edge in the left end of the PMB1/PMB2.
(33) Such updated modulation factor is then added to the basic phase adjustments and resulting modulated phase adjustments are downloaded into the Periodical Number Registers (PNR1/PNR2) and into the Fractional Number Registers (FNR1/FNR2).
(34) In order to synthesize an actual position of a new edge of the synthesized waveform; said downloaded modulated phase adjustments need to be added to a current edge position, and the results of said addition are downloaded into the Periods Counters (PC1 or PC2) and into the Fractional Selection Register (FSR)
(35) The Sequential Clocks Generator (SCG) and Output Selection Circuits (OSC) are shown in the
(36) The Clock Selection Register 1/2 (CSR1/CSR2) specifies a sub-clock which will be selected in a forthcoming Phase2/Phase1 cycle of the reference clock fsync.
(37) In order to remain settled during a whole next cycle of the fsync, the CSR1/CSR2 registers are loaded by the early sub-clocks of the present Phase2/Phase1 cycle of the fsync.
(38) The CSR1/CSR2 are loaded:
(39) with a current content of the Fractional Selection Register (FSR) (shown in
with the binary value 2.sup.S-1=R+1 which exceeds ranges of the 1.sup.st Clock Selector (ICS) and the 2.sup.nd Clock Selector (2CS) and results in none of selectors outputs being activated and none of sub-clocks being selected during a following phase cycle.
(40) The Timing Control (TC) circuits are shown in
(41) The LD_C1 signal enables loading of the Period Counter 1 (PC1) with a number of periods which the previous stages of the Synchronous Sequential phase Processor (SSPP) have calculated for the current phase adjustment.
(42) Said download deactivates/activates the C1E signal if a downloaded value is (bigger than 1)/(equal to 1) accordingly. When said downloaded value is bigger than 1, the C1EN=1 enables decreasing the PC1 content by 1 at every leading edge of the Clk1.1 until the PC1=1 condition is achieved and is detected by the PC1-OVF Detector which signals it with the C1E=1 signal.
(43) It shall be noticed that: when a fractional part of a phase adjustment calculated in said FSR reaches or exceeds a whole period of the fsync, the overflow bit FSR(OVF)=1
(44) is activated and switches the PC1=1-OVF DETECTOR from said 1 detection mode to a 0 detection mode which prolongs current phase adjustment by 1 fsync period.
(45) The phase 2 control circuit is driven by the C1E and by the LD_C1, and controls phase 2 operations with signals LD_C2, LD_RE2, LD_BU2; as it is further explained below: The first C1E activation period generates the LD_C2 signal, and is followed by setting the LDR2_FF which terminates the LD_C2. The LD_C2 signal; enables loading of PC2 with a periods number for the next phase adjustment, enables loading of the FSR with a fractional adjustment for the next phase adjustment, and enables a downloading of the FSR to the CSR1 or to the CSR2. The LDR2_FF=1 generates the leading edge of the LD_RE2 signal. The LD_RE2 signal clocks in; a new modified fractional adjustment to the Fractional Number Register 2 (FNR2), and a new modified periodical adjustment to the Periodical Number Register 2 (PNR2). When the period number loaded by the LD_C2 is counted down to its end by the PC2, the C2E signal activates the LD_C1 similarly as the C1E has activated the LD_C2. The LD_C1=1 resets both the C1E and the LDR2_FF in the next cycle; The LDR2_FF=0 generates the leading edge of the LD_BU2 signal. The LD_BU2 signal clocks in; a previous PMB2 content shifted left by S+1 bits, or a new PM[M6,M4,M2,M0] content from the PCU when the Modulations Counter (MC) is decoded as MC=0.
(46) The phase 1 control circuit is similarly driven by the C2E and by the LD_C2; and similarly generates the LD_C1, LD_RE1, LD_BU1 signals for controlling phase1 operations.
(47) The only differences in the phase 1 versus phase 2 operations, are specified below: The LD_BU1 signal clocks in a decreased by 1 value to the MC which is the modulo 4 counter. The DECODER MC=0 generates the MC=0 signal which selects provided by the PCU; the Periodical Number (PN)/the Fractional Number (FN)/the Phase Modifications (PM) to be loaded into the Periodical Number Buffer (PNB/the Fractional Number Buffer/the Phase Modifications Buffer 1 (PMB1) by the leading edge of the LD_BU1. The DECODER MC=1 generates the MC=1_INT interrupt signal to the PCU, which informs the PCU that all the above mentioned phase adjustment parameters have been already stored in the PS buffers and can be replaced by new phase adjustment parameters.
2. Heterodyne Timing Configuration
(48)
(49) Said APLL mode of the HTC is described below.
(50) The Reference Selector (RFS) is programmed by the PCU to select one of the external reference clocks (Ext_RefClk). Such selected external reference clock is applied to the reference input of the Analog Phase Detector (APD) which drives the Loop Filter of the VCXO which provides the stable low jitter output f_filter.
(51) The Fil_OutClk; drives the Output PLL (OUT_PLL), and is connected to the fsync/L input of the Return Clock Synthesizer (RET_PS) which is implemented with the PS embodiment described in the previous section.
(52) The RET_PS synthesizes the RetClk, which is connected to the APD return input.
(53) It shall be noticed that very wide ranges of the RET_PS frequency adjustments, enable the PCU to tune the RET_PS to any frequency which the selected external reference may have.
(54) Said OUT_PLL generates the output reference clock (OutRef) which drives the Output Clocks Generator (OCG) which provides all the major HTC output clocks OutClk(T:1).
(55) Since the OCG consists of frequency dividers having very tightly controlled and well matched propagation delays, all the OutClk(T:1) are phase aligned with the Fil_OutClk and between themselves.
(56) The DPLL mode of the HTC is described below.
(57) The Fil_OutClk signal is programmed to be selected by the RFS for the APD reference signal, and the RET_PS provides the APD return signal which is synthesized from the same Fil_OutClk signal. One of the external reference waveforms (Ext_RefWfm) is selected by a selector controlled by the PCU for being processed by the NFED providing the filtered reference waveform (Fil_RefWfm), which is connected to the Time Stamp Decoder (TSD) and to the FPD1.
(58) Local oscillator fixed output (LocOsc) is connected to the FPD2.
(59) Both frame phase detectors FPD1/FPD2 shall use the high frequency sampling clock (SampClk) for accurate digital measurements of the PhaErr1 and the PhaErr2.
(60) Said sampling clock is generated by the frequency multiplier OutRefxR from the OutRef generated by the OUT_PLL.
(61) Since the OutClk(T:1) output clocks are phase aligned with the OUT_PLL output clock OutRef, and the sampling clock SampClk is phase aligned with the OutRef as well; the SampClk is phase aligned with the HTC output clocks OutClk(T:1).
(62) The FPD1 measures a phase error between the sampling clock SampClk and the Ext_RefWfm, as Δφ1=φ_samp−φ_wfm.
(63) The FPD2 measures a phase error between the sampling clock SampClk and the LocOsc, as Δφ2=φ_samp−φ_osc.
(64) The PCU reads the measured phase errors and uses the RET_PS to introduce digital phase displacements between the APD reference input and the APD return input which will drive the VCXO based PLL for providing required phase transfer functions between the Fil_OutClk and the Ext_RefWfm.
(65) Since the Fil_OutClk drives the OUT_PLL which has much higher BW than the VCXO PLL and the OUT_PLL determines phase of the OutClk, the OutClk implements the same phase transfer function as the Fil_OutClk.
(66) Based on the measurements of Δφ1 and Δφ2, the PCU calculates said Periodical Numbers (PN), Fractional Numbers (FN) and Phase Modifications (PM) which need to be provided to the Return Phase Synthesizer (RET_PS); in order to achieve a preprogrammed transfer function between the HTC output clocks and the selected DPLL reference clock Ext_RefWfm.
(67) HTC free-run and hold-over modes use the above described DPLL mode configuration, as it is described below.
(68) In the free-run mode; the PCU uses the phase error measurements for calculating phase differences which need to be inserted via the RET_PS for providing said OutClk locking to the local oscillator LocOsc.
(69) In the hold-over mode; the PCU inserts phase differences via the RET_PS which cause the OutClk to maintain its last frequency displacement versus the LocOsc.
3. Noise Filtering Edge Detectors
(70) The preferred embodiment implements the above defined general components of the NFED and is shown in
(71) The NFED comprises over-sampling and capturing of consecutive wave-form intervals in specifically dedicated consecutive wave registers, wherein odd intervals are written into the wave register 1WR and even intervals are written into the wave register 2WR. Therefore incoming stream of samples is split into the two parallel processing phases (sometimes named as parallel synchronous pipelines). The first processing phase begins in the wave register 1WR and the second begins in the register 2WR. Such splitting into 2 parallel phases obviously doubles cycle time available in the sequential stages following the register 1WR and in the stages following the 2WR as well.
(72) A sequential clock generation circuit (SCG) shows a method for splitting a steady stream of mutually overlapping sub-clocks spaced by a gate delay only into sub-sets of sub-clocks active during their dedicated phases only and non-active during all other phases. Such subsets are obviously used for providing timing for their dedicated phases.
(73) The wave register 1WR is further split into 2 parallel sub-phases and the 2WR is split into other 2 parallel sub-phases, for the purpose of quadrupling cycle time available in said sub-phases (see the
(74) In order to provide all wave samples needed for the filtering edge detection along a whole wave buffer, the NFED includes rewriting: the end part 2WR(R:(R−M+1) of the wave register 2WR, into the front parts 11WB(M:1), 12WB(M:1) of the wave buffers 11WB,12WB; the end part 1WR(R:(R−M+1) of the wave register 1WR, into the front parts 21WB(M:1), 22WB(M:1) of the wave buffers 21WB,22WB.
(75) The preferred embodiment is based on the assumptions listed below: the wave registers 1WR and the 2WR are 15 bit registers (i.e. R=14); the rising edge mask REM(M:0) and the falling edge mask FEM(M:0) are 8 bit registers (i.e. M=7) and the PCU loads the same masks equal to 00001111 to both mask registers; the rising edge threshold RET is loaded with 0110 (6 decimal), and the falling edge threshold FET is loaded with 0010 (2 decimal);
(76) The digital filter arithmometers 21DFA1/22DFA1/11DFA1/12DFA1 perform all the comparison functions, between the edge mask registers REM/FEM and the waveform buffers 21WB/22WB/11WB/12WB involving the edge threshold registers RET/FET, with the 3 basic operations which are further explained below.
(77) The first operation is performed on all the waveform bits and involves the edge mask bits as it is specified below:
(78) For every waveform buffer consecutive bit WB.sub.k the surrounding bits WB.sub.k−4, WB.sub.k−3, WB.sub.k−2, WB.sub.k−1, WB.sub.k, WB.sub.k+1, WB.sub.k+2, WB.sub.k+3 are logically compared with the mask bits B.sub.0, B.sub.1, B.sub.2, B.sub.3, B.sub.4, B.sub.5, B.sub.6, B.sub.M and the resulting 8 bit binary expression BE.sub.k(7:0) is created as equal to; BE.sub.k(0)=(WB.sub.k−4=B.sub.0), BE.sub.k(1)=(WB.sub.k−3=B.sub.1), BE.sub.k(2)=(WB.sub.k−2=B.sub.2), BE.sub.k(3)=(WB.sub.k−1=B.sub.3), BE.sub.k(4)=(WB.sub.k=B.sub.4), BE.sub.k(5)=(WB.sub.k+1=B.sub.5), BE.sub.k(6)=(WB.sub.k+2=B.sub.6), BE.sub.k(7)=(WB.sub.k+3=B.sub.7).
(79) The second operation adds arithmetically all the bits of the binary expression BE.sub.k(7:0) and the resulting edge proximity figure EPF.sub.k is calculated as equal to EPF.sub.k=BE.sub.k(0)+BE.sub.k(1)+BE.sub.k(2)+BE.sub.k(3)+BE.sub.k(4)+BE.sub.k(5)+BE.sub.k(6)+BE.sub.k(7) which shall amount to a 0-8 decimal number. During the first and the second operations: all bits of any particular wave buffer have their specific edge proximity figures calculated at the same time during a cycle assigned for one of the arithmometers 21DFA1/22DFA1/11DFA1/12DFA1 attached to that buffer.
(80) Since there are 15 bits in every wave buffer every such arithmometer consists of 15 parallel micro-arithmometers, wherein each such micro-arithmometer performs operation on an 8 bit edge mask and on 8 bit wave region.
(81) Since this arithmometers perform the most intense processing, said quadrupling of cycle time by gradual splitting from the original 1 phase into the present 4 parallel phases was needed.
(82) The third operation performs functions explained below: In order to carry the same level from the last bit of the previous phase DFR1 into the following bits of the present phase digital filter register2 (DFR2), the last bit DFR1(R) of the previous DFR1 is always rewritten into the carry bit DFR1(C) of the present DFR1 and is used by the digital filter arithmometer2 (DFRA2) to fill front bits of the DFR2 with the same level as the last bit of the previous phase DFR1. The verification is made if the EPF.sub.k indicates a rising edge condition by exceeding the content of the rising edge threshold RET(T:0). Consequent detection of the EPF.sub.k>RET=6 condition, sets to level=1 the corresponding DFR1.sub.k bit of the DFR1 and all the remaining bits of the present DFR1 until a falling edge is detected as it is explained below. The verification is made if the EPF.sub.k indicates a falling edge condition by being smaller than the content of the falling edge threshold FET(T:0). Consequent detection of the EPF.sub.k<RET=2 condition, sets to level=0 the corresponding DFR1.sub.k bit of the DFR1 and all the remaining bits of the present DFR1 unless a rising edge is detected as it explained above.
(83) The digital filter arithmometers 21DFA2/22DFA2/11DFA2/12DFA2 perform; the inter-phase continuation of filling front bits of the present phase register in accordance with the level set in the last bit of the previous phase, followed by said edge displacement which compensates for duty cycle distortions due to inter-symbol interference (ISI), etc.
(84) The edge displacement comprises the 3 basic operations described below. Any DFR1 rising edge, indicated by a level 0 to 1 transition, is shifted left by a number of bits specified by a content of the rising edge displacement register (RED(D:0)) loaded by the PCU in accordance with its filtering algorithms. Any DFR1 falling edge, indicated by a level 1 to 0 transition, is shifted left by a number of bits specified by a content of the falling edge displacement register (FED(D:0)) loaded by the PCU in accordance with its filtering algorithms. In order to propagate said displacement operations from the present phase to the previous phase; the propagated sign of the edge bit (DFR2(Sp)) and the propagated bits (DFR2(Dp:0)), are calculated by the DFR2 and are written down into the DFR2 extension DFR2(Sp,Dp:0).
(85) In order to propagate said displacement operations from the next phase DFR2 into end bits of the present phase digital filter register3 (DFR3); the propagated sign of the edge bit and the propagated displaced bits DFR2(Sp,Dp:0) from the next phase, are used by the digital filter arithmometer3 (DFRA3) to fill end bits of the digital filter register3 (DFR3) with the correctly displaced bits propagated form the next phase to the present phase.
4. Wave-Form Screening and Capturing
(86) The wave-form screening and capturing (WFSC) of screened out intervals is performed by the circuits which are shown in
(87) The WFSC allows the PCU to perform screening and capturing of the incoming signal, for timing intervals which correspond roughly to a period of a single data bit, based on a content of the wave buffers 11WB, 12WB, 21WB and 22WB.
(88) The WFSC allows the PCU to screen signal quality of incoming wave form, by applying programmable screening functions using programmable data masks, as it is listed below: content of said wave buffers can be verified for compliance or non compliance with a mask provided by the PCU, based on verification functions and verification tolerances which are programmed by the PCU; if any wave buffer verification detects preset by PCU screening out criteria to be met, the corresponding content of a wave buffer is captured and made available for PCU for further analysis; in addition to the wave buffer capturing, a number of said screened out results will be counted and communicated to the PCU as well.
(89) In addition to the above mentioned screening; the WFSC allows also the PCU to select arbitrarily a content of any of the wave buffers during any particular time slot; for being captured and made available for analysis by the PCU.
(90) The above mentioned signal screening is implemented by the WFSC, as it is explained below. The Mask Detection Arithmometrs (11MDA and 12MDA) for the WFSC are positioned similarly as the DFAs of the NFED.
(91) The second stage uses the mask detection arithmometers 11MDA/12MDA for identifying wave-forms which are beyond usually acceptable range defined by the PCU.
(92) The programmable control unit (PCU) determines logical and/or arithmetical processing which the 11MDA/12MDA shall perform, by pre-loading the detection control register (DCR) with a control code applied as the DCR(P:0) to the 11MDA/12MDA.
(93) Additionally the PCU determines the mask DMR(R:0) which the captured data 11WB(R:0)/12WB(R:0) shall be processed against, by pre-loading the detection mask register (DMR). The 11SEL signal equal to I/O selects; the 11WB(R:0)/12WB(R:0) to be downloaded to the phase one detected data buffer (1DDB) by the clock 1Clk2 (see
(94) At the beginning of the next time frame, which has 128 phase1 cycles, the last captured 1DDB content is further downloaded to the phase1 data register (1DDR) by the clock signal 1Clk3/128. Number of said mask detections is counted in the mask counter buffer (1MCB), as it is explained below: at the beginning of every time frame which has 128 phase1 cycles, the 1MCB is reset/preset to 0/1 if there isn't/is a mask detection for the first cycle of the frame which is signaled by the 1PHA/128ena=1; the 1MCB is increased by 1/kept the same, if there is/isn't any mask detection during a particular phase1 cycle; at the beginning of the next time frame, the 1MCB is downloaded to the phase1 mask counter register (1MCR) and the output of the 1MCB>0 decoder (MCB>0 DEC) is downloaded to the 1MCR(P) bit, by the 1Clk3/128.
(95) Said 1DDR and 1MCR are read by the PCU, when the beginning of the next frame is communicated to the PCU by the phase1 128.sup.th clock enable signal (1PHA/128ena) and the above mentioned 1MCR(P)=1 indicates that at least 1 detection of a pre-selected mask occurred during the previous frame.
(96) Said PCU controlled capturing of a wave buffer content is implemented, as it is explained further below.
(97) The sample number register (SNR) is loaded by the PCU: with a phase number defined as phase1/phase2 if the SNR(0) is set 0/1, and with a particular phase cycle number in a time frame defined by SNR(7:1) bits.
(98) Since there are 2 phases with 128 cycles per time frame, SNR(7:0) bits define 1 of 256 sampling cycles for having its wave buffer captured and made available for a further analysis by the PCU. Said SNR is downloaded into the phase1 sample number buffer (1SNB) at the beginning of a time frame by the first phase1 clock of the frame 1Clk2/128.
(99) At the beginning of a time frame: the phase1 sample number counter (1SNC) is set to 0, since the 1PHA/128ena selects 0 to be loaded into the 1SNC by 1Clk2.
(100) During every other cycle of the time frame: 1 is added to the SNC content, since the 1PHA/128ena is inactive during all the next cycles of the frame.
(101) The 1SNC(7:1) and the 1SNB(7:1) are being compared by the logical comparator (Log.Comp.), which produces the Eq=1 signal when their identity is detected.
(102) Said Eq=1 enables the 1SNB(1)=0/1 to select the 11WB(R:0)/12WB(R:0) in the 3:1 selector (3:1 SEL), for capturing in the phase1 sampled data buffer (1SDB).
(103) At the beginning of the next time frame, the output of the 3:1 SEL is additionally captured in the phase1 sampled data register (1SDR) by the signal 1Clk3/128.
(104) Said 1SDR is read by the PCU, which is notified about availability of the requested sample by the signal 1PHA/128ena.
5. Receiver Synchronization Techniques
(105) Functional block diagram of inherently stable synchronization system is provided in
(106) Samples from an OFDM composite signal interval, long enough to comprise entire OFDM symbol, are processed by the Synchronous Sequential Processor (defined in Subsection 8 of SUMMARY OF THE INVENTION) which uses Cs as its reference clock (see
(107) Sub-clocks of such reference clock, driving such SSP used for OFDM processing, may not need to facilitate phase resolution matching single gate delay. Therefore a conventional delay line, consisting of serially connected flip-flops driven by a frequency multiplier of the reference clock, can be sufficient to generate such lower resolution sub-clocks instead of using the delay line consisting of serially connected gates with all elaborate timing involved.
(108) However independent of any delay line implementation, SSP architecture guaranties that all SSP micro-operations are performed in exactly predefined time windows within known time displacements to such reference clock. Therefore SSP processing delay measured from entering last sample of an interval processed to producing the final result of such interval processing is totally predictable.
(109) As specified therein, SSP includes real-time processing stages of incoming wave-form and a programmable computing unit (PCU) for supporting any adaptive signal processing dependent of previous micro-operations results or wave-form content.
(110) SSP uses interrupts to acquire results of such PCU adaptive processing, while PCU produces such results in advance before they are needed (see also Subsection 8 of SUMMARY OF THE INVENTION). Therefore SSP can use such results in predefined time windows synchronizing known sequence of said SSP micro-operations, while PCU accommodates all changes of processing time and/or algorithms.
(111) Since such SSP is used to detect composite frame boundary, resulting boundary detection delay Tbd is known very accurately.
(112) Despite such accurate Tbd, composite signal distortions due to channel interference and inherent problems of conventional methods for composite frame boundary detection, shall be expected to cause noticeable errors in boundary detection times which convey into receiver time offset errors.
(113) However said predictable Tbd of the boundary detection signal Sbd (see
(114) Such Fr is applied to the digital frequency detector (DFD) which produces frequency offset estimate Fos by subtracting said expected nominal number of sampling clocks form the number of sampling clocks counted during said referencing frame interval.
(115) As such DFD arrangement facilitates measuring frequency offset within referencing frame intervals corresponding to multiple periods of OFDM composite frame, such prolongation of frequency sensing intervals multiples accuracy of frequency offset measurements (see also time-diagrams and Note 4 in
(116) Such much more accurate frequency offset Fos applied to the frequency locked loop FLL, enables generation of said sampling clock with frequency by one order more accurate and thus prevents any inter-bin leaking endangering IDFT/IFFT processing of OFDM composite frame.
(117) Such DFD/FLL configuration offers other significant advantages as well over phase locked loops PLL used conventionally in OFDM receivers. Such configuration assures much faster frequency acquisition when connecting to new composite signal source, and avoids PLL instability when exposed to an unknown spectrum of phase noise caused by unpredictable channel interference and inaccuracy of conventional phase measurements methods.
(118) Inherent stability is achieved by combining such stable sampling clock generation by FLL with the phase synthesizer PS (defined in Subsections 5 and 6 of SUMMARY OF THE INVENTION) working in the open ended configuration (shown in
(119) Such open ended PS configuration applies modifications of referencing frame phase with programmable phase steps defined by sub-clocks of sampling clock, wherein such sub-clocks are generated internally in PS from flip-flop based delay line driven by FreqDetClk produced by the frequency multiplier Samp-Clk×R of sampling clock Cs.
(120) Such PS method (defined in the Subsections 5 and 6 mentioned above) uses the same SSP architecture as that used for the boundary detection discussed above. Similarly sub-clocks driving such SSP do not need to facilitate phase resolution matching single gate delay. Coincidentally sub-clocks used by PS for defining programmable phase steps applied to the local symbol frame do not need to provide phase resolution matching single gate delay either. Therefore the same sub-clocks, generated by conventional flip-flop based delay line, can be used for both; for driving said SSP utilized by SP, and for defining said programmable phase steps.
(121) Such conventional delay line is used as consisting of serially connected flip-flops driven by the frequency multiplier Samp-Clk×R of the sampling clock wherein the sampling clock represents frequency multiplication of the local symbol frame (utilized as the reference clock by the SF_PS) by said nominal number Nn. Consequently total frequency multiplication factor amounts to R×Nn.
(122) PCU produces such steps number definition before it is requested by PS and places such steps number on its output PCU-OUT in response to PS interrupt MC_INT.
(123) PCU shown in
(124) When synchronization acquisition is initialized, Fr presets an PCU internal Fr phase register to Nn-Tbd, wherein Nn is said nominal number expected for reference frame interval covering single OFDM symbol.
(125) As such presetting of PCU internal Fr register provides said programmable presetting of numerical first edge specific for the FPD (see Subsection 7 of SUMMARY OF THE INVENTION), it utilizes such PCU function for upgrading this DPD to provide such FPD functionality.
(126) At the same time the referencing frame prompts the PCU_OUT register to provide definition of such Nn-Tbd phase step, and prompts the symbol frame phase synthesizer SF_PS to generate PCU interrupt MC=1 INT and to implement such Nn-Tbd phase step.
(127) Consequently the first edge of the Local Symbol Frame Fls is generated with the Nn-Tbd phase displacement to the initializing edge of Fr.
(128) Dependent of specifics of a particular PS design;
(129) such generation of Fls first edge displaced by Nn-Tbd phase step to the referencing frame edge, can include resetting the phase of frame generated previously by PS before such phase step is applied.
(130) As PCU receives consecutive Fos values defining displacements of next detected Fr boundaries to consecutive expected boundaries, it keeps updating track record of previous Fos and said Fr phase register with such Fos values in order to maintain continues record of Fr phase changes and present status.
(131) In order to avoid uncontrolled phase transients resulting from an accumulation of DFD digitization errors, only DFD design eliminating such digitization errors accumulation can be used (such DFD is defined in U.S. Pat. No. 6,864,672 by Bogdan).
(132) Similarly PCU keeps also track record of previous phase steps defined to SF_PS and keeps updating its internal Fls phase register defining present phase of the local symbol frame.
(133) Based on such data about Fr phase and Fls phase, PCU calculates a number of said phase steps which the referencing frame phase needs to be modified by, in order to implement a preprogrammed phase/frequency transient function between the local symbol frame and the referencing frame.
(134) Such configuration enables accurate phase frequency control reducing phase noise and jitter.
(135) In addition to the SF_PS, configuration shown in
(136) Additionally to the data mentioned above, PCU keeps track of phase steps introduced into the sampling clock Cs via the FLL_PS. Therefore PCU has all the data defining frequency and phase relations between the sampling clock Cs and the crystal oscillator clock LX_Clk, and between the LX_Clk and said composite frame clock outlined by the referencing frame clock.
(137) Similar configuration shown in
(138) Synchronization System with improved stability shown in
(139) using the additional DPD for measuring time offset (phase error) Trf-ls between the referencing frame Fr and the symbol frame Fls, instead of relying entirely on PCU subroutines explained above;
(140) such Trf-ls is supplied to PCU which uses it to maintain close control of such time offset (phase error) by defining appropriate phase steps to the symbol frame synthesizer SF_PS.
(141) Such synchronization system can facilitate even closer control of such phase offset, while it implicates lesser stability improvements and simpler phase frequency control less efficient in reducing phase/frequency transients.
(142) High Accuracy FLPS shown in
(143) Such system facilitates multiplying low frequency (down to 30 kHz) of XTAL oscillator (LX_Clk) by very high factor (up to 50 000), in order to utilize very inexpensive low frequency crystal cuts for producing highly stable local oscillator clock.
(144) Such frequency multiplier utilizes DFD 1 for measuring frequency error XTALos between the XTAL oscillator clock (LX_Clk) and the sampling clock Cs represented by the FreqDetClk, wherein the frequency multiplication factor R shall be lower than 10 in order to avoid stability problems in SOC PLL implementations.
(145) PCU reads the frequency error XTALos and produces sequence of PCU-OUT signals supplied to the frequency locked loop phase synthesizer (FLL_PS) located in the reference path of VCXO based analog PLL having very low bandwidth (for example 0.1-1 kHz).
(146) Such PCU_OUT signals cause said FLL_PS to insert phase errors which drive said analog PLL into producing sampling clock Cs maintaining pre-programmed frequency relation to the LX_Clk.
(147) Since such PCU-OUT signals represent sequence of small phase steps applied with frequency by several orders higher than that of analog PLL bandwidth, resulting Cs jitter shall be very low.
(148) Consequently, such system multiplies low frequency of highly accurate inexpensive local XTAL oscillator (LX_Clk), in order to produce sampling clock frequency with accuracy much better than 1 ppm.
(149) Such system utilizes SCCS concept of multiplying low frequency of highly accurate inexpensive local XTAL oscillator, in order to produce sampling clock frequency with accuracy much better than 1 ppm (see Subsections 1, 2 and 3 of SUMMARY OF THE INVENTION).
(150) This system combines all the advanced features, explained above for the FLPS shown in
6. Direct Synchronization of Synthesized Clock
(151) The direct FLPS (DFPLS) configuration and timing are shown in
(152) Said phase error between the referencing signal frame and corresponding to it oscillator frame is sensed by the frame phase detector (FPD).
(153) Such FPD is explained in greater detail in subsection “7. Frame Phase Detector” of “SUMMARY OF THE INVENTION”.
(154) The FPD utilizes an oscillator clock counter (OscClk_Counter) for counting oscillator clocks (OscClk) occurring during a particular period of the referencing signal frame.
(155) PCU performs operations listed below: 1. Reading such OscClk_Counter, in response to the read counter request (RdCounter_Req) sent by FPD. 2. Calculating the measured phase error (MeasPhaError) by subtracting a nominal number of oscillator clocks (N) expected during such referencing frame period, from the actually counted number of oscillator clocks represented by such OscClk_Counter. 3. Estimation of frequency error (FreqErr), between the oscillator clock and the referencing signal, based on such measured phase errors. Such FreqErr can be estimated as equal to an average sum of previous consecutive periodical frequency errors (PerFreqErr) added for grater accuracy without accumulation of their digitization errors, wherein:
(156)
Next_SystPhaAmend=−Last_FreqErr 5. Calculation of the last periodical phase error (Last_PerPhaErr) based on adding the last systematic phase amendment to the last measured phase error; wherein:
Last_PerPhaErr=Last_MeasPhaErr+Last_SystPhaAmend
Last_PerPhaErr=Last_MeasPhaErr−Penult_FreqErr 6. Calculation of the next variable phase amendment (Next_VarPhaAmend) based on processing the last accumulated tracking error (Last_AccTraErr) wherein such last accumulated tracking error can be calculated by adding the last variable phase amendment (Last_VarPhaAmend) to a sum of a penultimate accumulated tracking error (Penult_AccTraErr) and the last periodical phase error; i.e.:
Next_VarPhaAmend=F(Last_AccTraErr);
Last_AccTraErr=Penult_AccTraErr+Last_PerPhaErr+Last_VarPhaAmend 7. Wherein the simplest implementation of the above equation can be accomplished by assuming that:
Next_VarPhaAmend=−(Last_AccTraErr);
therefore
Last_AccTraErr=Last_PerPhaErr
and
Next_VarPhaAmend=−(Last_PerPhaErr); 8. PCU calculates the next periodical phase amendment by adding the next variable phase amendment to the next systematic phase amendment, i.e.:
Next_PerPhaAmend=Next_SystPhaAmend+Next_VarPhaAmend 9. PCU calculates control signals distributing the addition of the next periodical phase amendment evenly over the next measurement period. 10. Wherein the accumulated tracking error calculated by and stored in PCU enables accurate control of phase alignment of the synthesized clock to the external referencing signal, since such accumulated tracking error shows an accurate amount of a phase difference between the referencing signal and the synthesized clock expressed in local oscillator sub-periods.
(157) The phase synthesizer (PS) produces the synthesized clock based on PCU control signals (PCU_OUT) communicating such periodical phase amendments (PerPhaAmend) implementing phase synthesis functions specified above.
(158) Such phase synthesizer and its internal operations and circuits are explained in greater detail in the subsection “6 Phase Synthesizer” of “SUMMARY OF THE INVENTION”, and in the subsection “1. Phase Synthesizer” of “DESCRIPTION OF THE PREFERRED EMBODIMENTS”.
(159) DSSC initialization presetting or eliminating start-up phase offset of the synthesized clock versus the referencing signal, can be implemented with PCU operations listed below:
(160) an initial validation of the referencing signal frame received by PCU;
(161) resetting internal PCU register containing said accumulated phase tracking error,
(162) sending PCU-OUT content presetting to correct initial values all LocClk_PS internal phase & frequency modification registers including PNB, FNB and PMB.
(163) Other initialization methods, securing such offsets elimination, may include:
(164) presetting said PCU register containing accumulated tracking error to a desirable initial offset value;
(165) and sending specific initial reset request signal (InitResetReq) to the LocClk_PS which shall respond by resetting its all internal phase & frequency modification registers including PNB, FNB and PMB.
(166) Such DSSC can be used in OFDM receivers, as it is explained below:
(167) the oscillator clock mentioned above can be provided by the Local XTAL Clock shown in
(168) said referencing signal frame can be provided by the Referencing Frame shown in
(169) the Local Symbol Frame (shown in the
(170) One of said other direct synchronization solutions utilizing feed-forward hardware configuration shown in
(171) Still other even simpler direct synchronization solution utilizing such feed-forward configuration, can be accomplished as it is explained below: a non-cumulative (i.e. free of uncontrolled phase transients) periodical measurement of phase error between said referencing signal phase and said oscillator clock phase, is conducted by a phase/frequency analysis (PFA) system implemented with the Frame Phase Detector (FPD) and said PCU subroutine calculating such measured phase error (by subtracting said nominal expected number of oscillator clocks from an actually counted number of such clocks); PCU utilizes such phase error for producing a control signal driving the phase synthesizer (PS) into adding a phase amendment (compensating such phase error) to the synthesized clock phase in order to produce a synthesized clock phase tracking such reference signal phase; such very simple inherently stable configuration enabled by the PS can secure very flexible conversion of the local oscillator frequency into the frequency of synthesized clock free of uncontrolled phase transients, and tracking reference signal phase with the phase of synthesized clock free of waveform glitches; resulting phase steps (introduced to the synthesized clock for compensating phase errors measured with FPD), can be still acceptable in less demanding mass markets where cost and power reductions are the most critical.
CONCLUSION
(172) 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.