Method and apparatus for improving frequency source frequency accuracy and frequency stability
10686458 ยท 2020-06-16
Assignee
Inventors
Cpc classification
H03L7/099
ELECTRICITY
H03L7/093
ELECTRICITY
H03L7/0996
ELECTRICITY
International classification
H03K4/26
ELECTRICITY
H03L7/099
ELECTRICITY
Abstract
A TAF-DPS based circuits and methods to improve electronic system's frequency accuracy and enhance its frequency stability is disclosed in this application. Present invention creates a circuit architecture and a calculation scheme for compensating frequency source's frequency error. Present invention further discloses a method of incorporating said scheme into functional chip built in either ASIC or FPGA fashion. Present invention further presents a method of using TAF-DPS-frequency-compensation-scheme-equipped-chips as nodes in electronic network. As a result, the circuit and apparatus disclosed in present invention can improve electronic system's performance from the time synchronization perspective.
Claims
1. A frequency fine tune system, for improving frequency source's frequency accuracy and frequency stability, comprises: a first input for receiving a first electrical pulse signal, said first electrical pulse signal having a first operating frequency value, said first electrical pulse signal having a target frequency value specified in its specification; a second input for receiving a frequency control word, said frequency control word have both integer part and fractional part; a third input for receiving a divide ratio word, said divide ratio word is an integer of greater than zero; an output for delivering a second electrical pulse signal, said second electrical pulse signal having a second operating frequency value; a base time unit generator, having an input for receiving said first electrical pulse signal, having an output for delivering a plurality of K phase-evenly-spaced-signals where K is an integer of greater than one; a TAF-DPS frequency synthesizer, having a first input for receiving said frequency control word, having a second input for receiving said plurality of K phase-evenly-spaced-signals, having an output for delivering a synthesized electrical pulse signal; a PLL (Phase Locked Loop), for generating said second electrical pulse signal, having a first input for receiving said divide ratio word, having a second input for receiving said synthesized electrical pulse, having an output for delivering said second electrical pulse signal.
2. The system of claim 1, wherein said second operating frequency value is closer to said target frequency value than first operating frequency value is to said target frequency value.
3. The system of claim 1, wherein said base time unit generator is created from a divider chain, said divider chain comprises a series of flip-flips clock driven by said first electrical pulse signal, said flip-flips are connected in series to form a loop, all non-inverting and inverting outputs from said flip-flips form said plurality of K phase-evenly-spaced-signals.
4. The system of claim 1, wherein said base time unit generator is created from a PLL, said PLL uses said first electrical pulse signal as its input reference, said PLL has a VCO (voltage control oscillator) having multiple stages, outputs from said stages form said plurality of K phase-evenly-spaced-signals.
5. The system of claim 1, wherein said base time unit generator is created from a DLL (Delay Locked Loop), said DLL uses said first electrical pulse signal as its input, said DLL has a VCDL (voltage controlled delay line) having multiple stages, outputs from said stages form said plurality of K phase-evenly-spaced-signals.
6. The system of claim 1, wherein said TAF-DPS frequency synthesizer comprises: a first K.fwdarw.1 multiplexer, having a multi-bit input for receiving said plurality of K phase-evenly-spaced signals, having a control input, having an output; a second K.fwdarw.1 multiplexer, having a multi-bit input for receiving said plurality of K phase-evenly-spaced signals, having a control input, having an output; a 2.fwdarw.1 multiplexer, having a first input for receiving the output from said first K.fwdarw.1 multiplexer, having a second input for receiving the output from said second K.fwdarw.1 multiplexer, having a control input, having an output; a toggle flip-flop for generating a pulse train, comprises: a D-type flip-flop, having a clock input for receiving output from the output of said 2.fwdarw.1 multiplexer, having a data input, having an output for outputting a CLK1 signal; an inverter, having an input for receiving said CLK1 signal, having an output for outputting a CLK2 signal; wherein said CLK2 signal is connected to said data input of said D-type flip-flop; wherein said CLK1 signal contains said pulse train; a control logic block, having a first input for receiving said frequency control word, having a second input for receiving said CLK1 signal, having a third input for receiving said CLK2 signal, having a first output connected to said control input of said first K.fwdarw.1 multiplexer, having a second output connected to said control input of said second K.fwdarw.1 multiplexer; wherein said CLK1 signal is connected to said control input of said 2.fwdarw.1 multiplexer; wherein said CLK1 signal is outputted as said synthesized electrical pulse signal.
7. The system of claim 1, wherein said PLL comprises: a phase detector having a first input receiving said synthesized electrical pulse signal from said TAF-DPS frequency synthesizer and a second input receiving a feedback signal, for producing an error signal at an output corresponding to a phase and frequency difference between said synthesized electrical pulse signal and feedback signal; a filter for low-pass filtering the error signal; a frequency divider, having a first input receiving said divide ratio word, having a second input receiving a clock signal, and an output coupled to the phase detector as the feedback signal; a voltage-controlled oscillator for generating an output at a frequency selected by the filtered error signal, said output is connected to the second input of said frequency divider, having an output for delivering said output from said voltage-controlled oscillator as said second electrical pulse signal.
8. A method of incorporating TAF-DPS frequency compensation scheme in functional chip, comprising the steps of: creating a subsystem of TAF-DPS frequency compensation scheme in said functional chip, said subsystem is created using same implementation style as that used for creating said functional chip, said subsystem having a first input for receiving a first electrical pulse signal having a specified target frequency value f.sub.target, said subsystem having a second input for receiving a frequency control word F=I+r where I is an integer of greater than one and r is a fraction of |r|0.5, said subsystem having a third input for receiving a divide ratio M where M is an integer of greater than zero, said subsystem having an output for delivering a second electrical pulse signal; receiving a frequency reference for said functional chip, said frequency reference is an electrical pulse train of certain frequency; creating a plurality of timing circuits for generating clock signals, said timing circuits can be PLL, said timing circuits can be DLL, each said timing circuit having an input for receiving an electrical pulse signal as input reference, said clock signals are used to drive functional circuits of said functional chip; creating a calculation method, for determining the value of said frequency control word and the value of said divide ratio; connecting said frequency reference to said first input of said subsystem; connecting said output of said subsystem to said inputs of said timing circuits.
9. The method of claim 8, wherein the creating of subsystem of TAF-DPS frequency compensation scheme comprises the steps of: creating a base time unit from a plurality of K phase-evenly-spaced signals where K is an integer of greater than one, said base time unit having an input for receiving said first electrical pulse signal, said base time unit having an output; creating a TAF-DPS frequency synthesizer, said synthesizer having a first input for receiving said frequency control word F, said synthesizer having a second input coupled to said output of said base time unit, said synthesizer having an output; creating a PLL, said PLL having a first input for receiving said divide ratio M, said PLL having a second input coupled to said output of TAF-DPS frequency synthesizer, said PLL having an output for delivering said second electrical pulse signal.
10. The method of claim 9, wherein the creating of base time unit comprises the steps of: receiving said first electrical pulse signal; creating a series of flip-flops; connecting said series of flip-flops as a loop; driving said series of flip-flops by using said first electrical pulse signal as clock signal; outputting all non-inverting and inverting outputs from said flip-flops as said plurality of K phase-evenly-spaced signals, time span between any two logically adjacent signals from said plurality of K phase-evenly-spaced signals is the base time unit.
11. The method of claim 9, wherein the creating of base time unit comprises the steps of: receiving said first electrical pulse signal; creating a PLL circuit, said PLL having a multiple-delay-stage VCO (Voltage-Controlled Oscillator); locking said PLL to said first electrical pulse signal; configuring said PLL to generate a plurality of outputs from said multiple-delay-stage VCO; outputting said plurality of outputs from said PLL as said plurality of K phase-evenly-spaced signals, time span between any two logically adjacent signals from said plurality of K phase-evenly-spaced signals is the base time unit.
12. The method of claim 9, wherein the creating of base time unit comprises the steps of: receiving said first electrical pulse signal; creating a DLL circuit, said DLL having a multiple-delay-stage VCDL; locking said DLL to said first electrical pulse signal; configuring said DLL to generate a plurality of outputs from said VCDL; outputting said plurality of outputs from said DLL as said plurality of K phase-evenly-spaced signals, time span between any two logically adjacent signals from said plurality of K phase-evenly-spaced signals is the base time unit.
13. The method of claim 8, wherein the creating of said calculation method comprises the steps of: measuring frequency of said first electrical pulse signal and recording it as comparing f.sub.i with its specified target value f.sub.target, determining required amount of frequency correction x using equation x=f.sub.target/f.sub.i1; selecting a value for integer part of said frequency control word F as I, said integer I is selected from range of 2I2K; setting a value for fraction r of said frequency control word F according to equation r=x.Math.I; feeding said F=I+r value into said subsystem of TAF-DPS frequency compensation scheme as said second input; setting a value for integer M of said divide ratio according to equation M=I; feeding said value of M into said subsystem of TAF-DPS frequency compensation scheme as said third input.
14. The method of claim 8, wherein the creating of said calculation method comprises the steps of: measuring frequency of said first electrical pulse signal and recording it as f.sub.i, comparing f.sub.i with its specified target value f.sub.target, determining required amount of frequency correction x using equation x=f.sub.target/f.sub.i1; selecting a value for integer part of said frequency control word F as I, said integer I is selected from range of 2I2K; selecting a value for fraction r of said frequency control word F according to equation r=(I/2)(1{square root over (1+4x)}); feeding said F=I+r value into said subsystem of TAF-DPS frequency compensation scheme as said second input; setting a value for integer M of said divide ratio according to equation M=I; feeding said value of M into said subsystem of TAF-DPS frequency compensation scheme as said third input.
15. The method of claim 8, wherein the creating of said calculation method comprises the steps of: measuring frequency of said first electrical pulse signal and recording it as f.sub.i, comparing f.sub.i with its specified target value f.sub.target, determining required amount of frequency correction x using equation x=f.sub.target/f.sub.i1; selecting a value for integer part of said frequency control word F as I, said integer I is selected from range of 2I2K; setting a value for integer M of said divide ratio as M=L; setting a value for fraction r of said frequency control word F according to equation r=I(I.sup.2/L).Math.(1+x); feeding said F=I+r value into said subsystem of TAF-DPS frequency compensation scheme as said second input; feeding said value of M into said subsystem of TAF-DPS frequency compensation scheme as said third input.
16. A method of using TAF-DPS-frequency-compensation-scheme-equipped chips as nodes in network, for assisting network time synchronization, comprises the steps of: creating electronic systems, for being used as nodes in an electronic network, said network having need for time synchronization among its member nodes, each said electronic systems having an input for receiving an external reference of time and frequency information; incorporating a plurality of TAF-DPS-frequency-compensation-scheme-equipped chips in each said electronic system; calibrating each said electronic system's internal timing circuits in a scheduled time interval or in any time desired by user of said systems by using said external reference as reference for calibration, said calibration task is carried out through TAF-DPS frequency compensation scheme incorporated in said TAF-DPS-frequency-compensation-scheme-equipped chips.
17. The method of claim 16, wherein each said electronic system has an output for delivering a plurality of signals with individually controlled frequency values.
18. The method of claim 17, wherein each said electronic system outputs a plurality of signals with individually controlled frequency values from said output for transferring frequencies to other nodes in said network, said signals are generated from said electronic system internal timing circuits.
19. The method of claim 16, wherein creating said electronic system of said electronic systems comprises the steps of: receiving said external reference from said input; receiving an internal frequency reference from a frequency source; creating a plurality of functional chips in ASIC style, for performing signal processing tasks, incorporating TAF-DPS frequency compensation scheme in each said functional chips, driving functional circuits of each said functional chips by clock signals, generating said clock signals from internal timing circuits, said timing circuits are frequency referenced to said internal frequency reference; creating a calibration mechanism by comparing time and frequency information of said external reference to that of internal timing circuit, for correcting time and frequency error found between said external reference and internal timing circuit; creating a frequency distribution module, for delivering signals of calibrated frequency values to other nodes in said network, said signals are generated from said internal timing circuit; creating a clock and time code generator, for generating internal timing of said electronic system, for supporting internal operation of said electronic system.
20. The method of claim 16, wherein creating said electronic system comprises the steps of: receiving said external reference from said input; receiving an internal frequency reference from a frequency source; creating a plurality of functional chips in FPGA style, for performing signal processing tasks, incorporating TAF-DPS frequency compensation scheme in each said functional chips, driving functional circuits of each said functional chips by clock signals, generating said clock signals from internal timing circuits, said timing circuits are frequency referenced to said internal frequency reference; creating a calibration mechanism by comparing time and frequency information of said external reference to that of internal timing circuit, for correcting time and frequency error found between said external reference and internal timing circuit; creating a frequency distribution module, for delivering signals of calibrated frequency values to other nodes in said network, said signals are generated from said internal timing circuit; creating a clock and time code generator, for generating internal timing of said electronic system, for supporting internal operation of said electronic system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11) Reference will now be made in detail to various embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the following embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be readily apparent to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present invention.
(12) Some portions of the detailed descriptions that follow are presented in terms of processes, procedures, logic blocks, functional blocks, processing, and other symbolic representations of operations on data bits, data streams or waveforms within a computer, processor, controller and/or memory. These descriptions and representations are generally used by those skilled in the arts of VLSI-circuit-and-system design to effectively convey the substance of their work to others skilled in the art. A process, procedure, logic block, function, process, etc., is herein, and is generally, considered to be a self-consistent sequence of steps or instructions leading to a desired and/or expected result. The steps generally include physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic, optical, or quantum signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer or data processing system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, waves, waveforms, streams, values, elements, symbols, characters, terms, numbers, or the like.
(13) It should be borne in mind, however, that all of these and similar terms are associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise and/or as is apparent from the following discussions, it is appreciated that throughout the present application, discussions utilizing terms such as processing, operating, computing, calculating, determining, manipulating, transforming, displaying, compensating, correcting, calibrating or the like, refer to the action and processes of a computer or signal processing system, or similar processing device (e.g., an electrical, optical, or quantum computing or processing device), that manipulates and transforms data represented as physical (e.g., electronic) quantities. The terms refer to actions and processes of the processing devices that manipulate or transform physical quantities within the component(s) of a system or architecture (e.g., registers, memories, flip-flops, other such information storage, transmission or display devices, etc.) into other data similarly represented as physical quantities within other components of the same or a different system or architecture.
(14) Furthermore, for the sake of convenience and simplicity, the terms clock, time, rate, period, frequency and grammatical variations thereof are generally used interchangeably herein, but are generally given their art-recognized meanings. Also, for convenience and simplicity, the terms data, data stream, waveform and information may be used interchangeably, as may the terms connected to, coupled with, coupled to, and in communication with (each of which may refer to direct or indirect connections, couplings, and communications), as may the terms electrical path, channel, wire (each of which may refer to a physical channel for transferring electrical signal), as may the terms signal, pulse, pulse train, a sequence of digital data (each of which may refer to an electrical signal that has only two values: zero and one), as may the terms input, input port, input pin (each of which may refer to a physical channel for receiving data), as may the terms output, output port, output pin (each of which may refer to a physical channel for sending data), as may the terms frequency resolution, frequency granularity, (each of which may refer to the smallest frequency step), as may the terms frequency compensation, frequency correction, (each of which may refer to the action of making circuit's output frequency closer to the specified target value), but these terms are also generally given their art-recognized meanings.
Architecture and Circuit of TAF-DPS Based Frequency Compensation Scheme
(15) Referring now to
(16) The base unit 120 is generated from a plurality of phase-evenly-spaced signals. Referring now to
(17) Refer now to
(18) Referring now to
(19) The TAF-DPS frequency synthesizer output's period can be calculated as T.sub.TAF=F.Math.. The control word F can take value in the range of [2, 2K], fraction included. When only integer is used in control word F, the TAF-DPS output is a signal of conventional frequency (i.e. only one type of cycle is used in the clock pulse train). When control word F has fractional part, the TAF-DPS uses Time-Average-Frequency concept in its output signal (i.e. more than one type of cycles can be used in the clock pulse train). The Time-Average-Frequency concept is explained in chapter 3 of reference [3]. The working principle of TAF-DPS can be found in chapter 4 of reference [3]. TAF-DPS frequency synthesizer 400 can function as the circuit block 110 in
(20) The signal CLK_OUT 480 output frequency f.sub.s can be calculated using (2) (please see chapter 4 of reference [3]). When divider chain 210 of
=T.sub./K=1/(K.Math.f.sub.), f.sub.s=1/T.sub.TAF=1/(F.Math.)=(K/F).Math.f.sub.(2)
f.sub.=f.sub.i/K, =1/f.sub.i.fwdarw.f.sub.s=f.sub.i/F(3)
f.sub.=N.Math.f.sub.i, =1/(K.Math.N.Math.f.sub.i).fwdarw.f.sub.s=(K.Math.N/F).Math.f.sub.i(4)
f.sub.=f.sub.i, =1/(K.Math.f.sub.i).fwdarw.f.sub.s=(K/F).Math.f.sub.i(5)
(21) Referring now to
(22) Frequency source's 510 output A is fed into the base time unit 520 to generate a plurality of K phase-evenly-spaced signals D with frequency f.sub. 521. The time span between any two logically adjacent signals of said plurality of K phase-evenly-spaced signals is the base time unit . Said signal A can be the signal 211, or 221, or 231 in
(23) Said signal D from base time generator 520 is fed into TAF-DPS synthesizer 530. Synthesizer 530 has an output S whose frequency f.sub.s 531 is controlled by frequency control word F 532. From equation (2), frequency f.sub.s 531 can be related to frequency f.sub. 521 by f.sub.s=(K/F).Math.f.sub.. Signal S is inputted into integer-N PLL 540 with a dividing ratio M 542. 540 PLL's output Y has a frequency of f.sub.o 541. Frequency f.sub.o 541 can be related to frequency f.sub.s 531 by f.sub.o=M.Math.f.sub.s. Equation (6) is therefore derived, which relates the frequency f.sub.o of the final output Y to frequency f.sub.i of the frequency source's output A. From equation (3), (4) and (5), it is derived that C=1/K for the case of using divider chain to implement base time generator 520, and C=N for the case of PLL, and C=1 for the case of DLL. Therefore, equation (7), (8) and (9) are resulted for the cases of divider chain, PLL and DLL, respectively.
f.sub.o=M.Math.f.sub.s=(K.Math.M/F).Math.f.sub.=(K.Math.M.Math.C/F).Math.f.sub.i(6)
f.sub.o=(M/F).Math.f.sub.i, C=1/K, Divider Chain(7)
f.sub.o=(K.Math.N.Math.M/F).Math.f.sub.i, C=N, PLL(8)
f.sub.o=(K.Math.M/F).Math.f.sub.i, C=1, DLL(9)
(24) From equation (7), (8) and (9), f.sub.o/f.sub.i can be expressed as f.sub.o/f.sub.i=L/F where L is a constant. The control word F has both integer and fraction parts: F=I+r=I.Math.(1+r/I) where r can take either positive or negative value and |r|0.5 (this is mathematically equivalent to the description presented in where r is treated as a positive number of 0r<1). Therefore, equation (10) can be derived. By properly setting the r and I values, desirable value for f.sub.o/f.sub.i can be achieved.
f.sub.o/f.sub.i=L/F=L/[I.Math.(1+r/I)]=(L/I).Math.[1r/I+(r/I).sup.2(r/I).sup.3+ . . . ](10)
(25) If f.sub.o/f.sub.i is expressed as f.sub.o/f.sub.i=(1+x), then x can be regarded as the required amount of frequency compensation (or correction) for making f.sub.o=f.sub.target where f.sub.target is the target value. In (10), L can be set to any value for user's preference. However, for compensating the frequency error of a frequency source, it is usually set as L=I. Therefore, to the first order, we have equation (11). Equation (11) can be used to help user set the value for I and r. The accuracy of the frequency compensation is to the first order, which is applicable for most real applications since the value of r/I is much smaller than 1% in most practical cases.
xr/I(11)
(26) If, in general, we use f.sub.target to denote 510 frequency source's target frequency value and f.sub.i to denote 510 frequency source's actual output frequency value, equation (12) can represent the relationship between the two values where x is the required amount of correction (i.e. the amount of off-target error). The purpose of the architecture 500 of current invention is to make f.sub.o=f.sub.target. For this reason, to perform the frequency compensation task to first order accuracy, r/I=x is used to set the parameters I and r. In operation, I is determined first. Thus, r is subsequently set as r=x.Math.I. When parameters I and r are set using this method, the final output frequency f.sub.o 541 and the frequency source's original output frequency f.sub.i are related by (13). Equation (13) is good to the first order. Equation (14) is used for accuracy of second order. The value of r can be found from the roots of equation: r.sup.2r.Math.Ix.Math.I.sup.2=0. This root of r=(I/2)(1{square root over (1+4x)}) will be the solution for meeting the accuracy of second order. For person of ordinary skill in the art, higher order of accuracy can be achieved by using more terms in equation (10).
f.sub.target=(1x).Math.f.sub.i(12)
x=r/I, f.sub.o/f.sub.i=1r/I, first order(13)
x=r/I+(r/I).sup.2, f.sub.o/f.sub.i=1r/I+(r/I).sup.2, second order(14)
(27) The following example is helpful to understand this frequency compensation scheme. Assume the frequency source is a 100 MHz crystal (target value is f.sub.target=100 MHz). At one moment, the measured value is f.sub.i=99.9997637416 MHz which is about 2.36 ppm (2.362589581.Math.10.sup.6, or 236 Hz) off target. A divider chain (please refer to
(28) For some applications, the target frequency f.sub.target might be higher or lower than the input f.sub.i. In other words, the ratio is f.sub.target/f.sub.i=P or f.sub.target/f.sub.i=1/P where P is a value of greater than one. In those cases, f.sub.o/f.sub.i is expressed as f.sub.o/f.sub.i=(P+x) for f.sub.target>f.sub.i and f.sub.o/f.sub.i=(1/P+x) for f.sub.target<f.sub.i. And x can be still regarded as the required amount of frequency compensation (or correction) for making f.sub.o=f.sub.target. In those cases, equation (10) can also be used to calculate the required x value.
(29) An Atlys FPGA system is used to verify the architect 500 of present invention. The Atlys circuit board is a complete, ready-to-use digital circuit development system based on a Xilinx Spartan-6 LX45 FPGA, speed grade 3. A 100 MHz crystal from this board serves as the frequency source to be compensated. A divider chain is implemented as a Johnson counter. It functions as the base time generator 420, created from the configurable FPGA elements. There are multiple PLLs available from this FPGA system as standard components. One of them is selected to function as the integer-N PLL 400 in our system. The TAF-DPS is also implemented from the configurable FPGA elements. The circuit for implementing this TAF-DPS is chosen as Flying-Adder frequency synthesis architecture [3]. In this particular case, the implementation approach is HDL coding.fwdarw.simulation.fwdarw.synthesis & map to FPGA. The VHDL code for this Flying-Adder circuit is available in Appendix 4.A of [3].
(30) Referring now to
(31) Referring now to
(32) TABLE-US-00001 TABLE I Measured f.sub.o/f.sub.c at Various Settings (I = 16, f.sub.c_target = 100 MHz) Control Word f.sub.o/f.sub.c =1 +/ r/I f.sub.o/f.sub.c r F (Calculated) (Measured) 2.sup.24 16 + 2.sup.24 0.9999999962747 0.9999999999421 16 2.sup.24 1.0000000037253 1.0000000074945 2.sup.20 16 + 2.sup.20 0.9999999403954 0.9999999777260 16 2.sup.20 1.0000000596046 1.0000000695398 2.sup.16 16 + 2.sup.16 0.9999990463260 0.9999990440000 16 2.sup.16 1.0000009536740 1.0000019060000 2.sup.8 16 + 2.sup.8 0.9997558590000 0.9997559189052 16 2.sup.8 1.0002441410000 1.0004885196137 2.sup.4 16 + 2.sup.4 0.9960937500000 0.9961089480000 16 2.sup.4 1.0039062500000 1.0078740156180
(33) Referring now to
(34) Plot 851 illustrates an exemplary f vs. temperature curve for a crystal oscillator, for a temperature range from 45 C. to 100 C. Plot 852 depicts the output frequency from the application of present invention 800 of frequency compensation scheme. The same range of f vs. temperature curve is displayed. Comparing plot 851 and 852 it is seen that, after the application of present invention of frequency compensation scheme, the amount of frequency variation is significantly reduce. Plot 861 illustrates the f vs. time curve for a frequency source. In this plot, the frequency deviation due to manufacture error and the frequency drift due to ageing are depicted. Plot 862 shows the same f vs. time curve after the frequency source is compensated by present invention. As shown, the manufacture error related initial frequency deviation is measured first and then compensated using equation (13). In addition, the aging induced frequency error is periodically counteracted by our present invention in a scheduled interval. As a result, the frequency stability is much improved.
Method of Incorporating TAF-DPS Frequency Compensation Scheme Inside Chips
(35) The present invention further relates to a method of incorporating the TAF-DPS based frequency compensation scheme inside functional chips. Such chip can be signal processing chip, communication chip, sensor chip, power management chip, general purpose CPU and etc. Refer now to
(36) Chip 900 uses a frequency source 910 as its frequency source. Frequency source 910 has a target frequency value for its operation. In real operating environment, 910 frequency source's output frequency f.sub.c usually is not at said target value. TAF-DPS compensation circuit 920 takes 910 source's output as its input and compensates any frequency deviation found in f.sub.c. 920 TAF-DPS compensation circuit's output frequency f.sub.o is frequency compensated to the target value and it is subsequently used as the reference source for all said PLLs. The architecture of TAF-DPS compensation circuit 920 is described in architecture 500 (please refer to
Method of Using TAF-DPS Frequency-Compensation-Scheme-Equipped-Chip in Network
(37) A TAF-DPS frequency-compensation-scheme-equipped-chip is an electronic system that includes the TAF-DPS frequency compensation scheme. The present invention further relates to a method of using TAF-DPS-frequency-compensation-scheme-equipped-chips as nodes in network for assisting network time synchronization. Refer now to
(38) Chip 1031 also takes output from the frequency reference 1010 as the good reference of higher frequency accuracy for comparing its internal time and frequency information with network time and frequency information. The resulting difference is used for 1031 chip's internal TAF-DPS frequency compensation scheme to compensate its frequency error. This task of comparing and compensation is carried out periodically in a prescheduled time interval. This task can also be performed at any time when necessary.
(39) Using 1031 chip's internal timing circuit's output, such as a PLL supported by frequency source 1032 and calibrated by reference 1010, module 1040 generates a clock and time code for supporting 1020 system's operation. Frequency distribution module 1050 takes frequency information from chip 1031 and performs necessary operations and subsequently output frequencies f.sub.1 1060.sub.1, f.sub.2 1060.sub.2, . . . , f.sub.n 1060.sub.n down the network hierarchy in hierarchical master-salve synchronization architecture. Frequencies f.sub.1 1060.sub.1, f.sub.21060.sub.2, . . . , f.sub.n 1060.sub.n can also be sent to other nodes of the network in the mutual synchronization architecture. Since the frequency inside chip 1031 has been calibrated against reference 1010, the frequency accuracies of frequencies f.sub.1 1060.sub.1, f.sub.21060.sub.2, . . . , f.sub.n 1060.sub.n are thus improved and hence their accuracies are better than that of frequency source 1032.
CONCLUSION/SUMMARY
(40) Thus, the present invention provides TAF-DPS based circuits and methods to enhance electronic system's frequency accuracy and frequency stability. Present invention creates a circuit architecture and a scheme for compensating frequency source's frequency error. Present invention discloses a method of incorporating said scheme into processing chip. Present invention further presents a method for using TAF-DPS-frequency-compensation-scheme-equipped chips as nodes in electronic network. As a result, the circuit and apparatus disclosed in present invention can improve electronic system's performance.
(41) The foregoing descriptions of specific embodiments of the present invention have been presented for the purposes of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed, and obviously many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents. [1] Improving the Accuracy of a Crystal Oscillator, AN1200.07, available: www.semtech.com/images/datasheet/xo_precision_std.pdf, SEMTECH. [2] L. Xiu, The Concept of Time-Average-Frequency and Mathematical Analysis of Flying-Adder Frequency Synthesis Architecture, IEEE Circuit And System Magazine, 3rd quarter, pp. 27-51, September 2008. [3] L. Xiu, Nanometer Frequency Synthesis beyond Phase Locked Loop, August 2012, John Wiley IEEE press. [4] L. Xiu and P. L. Chen, A Reconfigurable TAF-DPS Frequency Synthesizer on FPGA achieving 2 ppb Frequency Granularity and Two-Cycle Switching Speed, IEEE Trans. on Industrial Electronics, accepted, September 2016.