The present application is based on, and claims priority from, Taiwan Application Number 96147382, filed Dec. 12, 2007 the disclosure of which is hereby incorporated by reference herein in its entirety.
1. Field of the Invention
The invention relates to a fast locked all digital phase lock loop and control method thereof.
2. Description of the Related Art
All digital phase lock loop (PLL) technology is one of the major technological breakthroughs for wireless communication, because it may be implemented easier in system on chip (SOC) devices manufactured by advanced semiconductor process than the analog phase lock loop. However, designing an all digital PLL with features such as fast locking and low phase noise is challenging.
The phase error φE between the variable signal fv and reference signal fref can be determined by the phase detector 115. As shown in
The loop filter 120 filters the phase error φE and/or adjusts the magnitude of phase error φE. The loop filter 120 generates an oscillator tuning word (OTW) to modify the output of a digitally controlled oscillator (DCO) 125, i.e. the variable signal fv.
In the current design of the all digital phase lock loops, gear shift mechanism and type II and higher order loop filters are utilized for achieving the purposes of fast locking and low phase noise. In U.S. Pub. No. 2003/0234693, an all digital phase lock loop is disclosed.
However, designers still must design an adaptive all digital phase lock loop.
An exemplary embodiment consistent with the invention, there is provided an all digital phase lock loop is disclosed, comprising a digitally controlled oscillator, a phase detector, and a loop filter. The digitally controlled oscillator is controlled by an oscillator tuning word to generate a variable signal. The oscillator tuning word comprises a first tuning word and a second tuning word, where the frequency range of the digitally controlled oscillator capable to be adjusted by the second tuning word is broader than that capable to be adjusted by the first tuning word. The phase detector detects a phase error between the variable signal and a reference signal. The phase error is received by the loop filter to output the oscillator tuning word. The loop filter has several stages of the low pass filters and a modification circuit. The modification circuit detects two filter outputs from two low pass filters among the filters and accordingly adjusts the second tuning word.
An exemplary embodiment consistent with the invention, there is provided a control method for a phase lock loop is disclosed, comprising low pass filtering a phase error for several times to generate an oscillator tuning word to control a digitally controlled oscillator, wherein the oscillator tuning word comprises a first tuning word and a second tuning word, and the frequency range of the digitally controlled oscillator, capable to be adjusted by the second tuning word, is broader than that capable to be adjusted by the first tuning word; detecting two filter outputs of a front low pass filter and a back low pass filter; determining whether the two filter outputs meet a predetermined condition; adjusting the second tuning word when the two filter outputs meet the predetermined condition.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The implementations set forth in the following description of exemplary embodiments consistent with the present invention do not represent all implementations consistent with the invention. Instead, they are merely examples of systems and methods consistent with aspects related to the invention as recited in the appended claims.
The loop filter 600 of
The loop filter 600 of
The modification circuit 610a directly detects the outputs of the low pass filters 602a and 602b. Once the modification circuit 610a detects that the outputs of the low pass filters 602a and 602b meet a predetermined condition, the modification circuit 610a modifies the PVT tuning word via the adder 612. Thus, the frequency of the all digital phase lock loop, i.e. the frequency of the variable signal fv, can be significantly changed.
The modification circuit 610b directly detects the output of the low pass filter 602b and indirectly detects the output of the last stage of the low pass filter, i.e. the low pass filter 602c, via the multiplier 604 and adder 618. Once the modification circuit 610b detects that the outputs of the low pass filters 602b and 602c meet a predetermined condition, the modification circuit 610b modifies the ACQ tuning word, wherein the predetermined condition of the modification circuit 610a may be the same as or different from the predetermined condition of the modification circuit 610b.
Take the modification circuit 610b in
When the phase is approximately locked, i.e., the phase error φE is very small, the output of the filter 602b is substantially maintained between UPBa and LWBa, and the output of the filter 602c is substantially maintained between UPBb and LWBb. Accordingly, the outputs of the decision circuits 6104b and 6106b are 0, and the output of the accumulator 6102b does not change. Thus, the ACQ tuning word is not affected by the output of the accumulator 6102b.
When the phase error φE increases, the output of the filter 602b may diverge from the range between UPBa and LWBa, and the output of the filter 602c may later diverge from the range between UPBb and LWBb. Since the response of the whole phase lock loop is quite slow, the described two diverging trends are substantially the same. The time delay is because the output of the low pass filter 602c is generated by low pass filtering the output of the low pass filter 602b. For example, when the output of the low pass filter 602b suddenly exceeds UPBa and the output of the low pass filter 602c is still between the UPBb and LWBb, the output of the decision circuit 6104b becomes 1, the output of the decision circuit 6106b is still 0, and the output of the accumulator 6102b periodically increases by 1 according to the input clock signal. Thus, the modification circuit 610b periodically increases the ACQ tuning word by 1. The output of the low pass filter 602c follows the output of the low pass filter 602b, but the output of the low pass filter 602c later varies. Once the output of the low pass filter 602c is larger than UPBb, the outputs of the decision circuits 6104b and 6106b are also 1, the accumulator 6102b stops increasing its output and the modification circuit 610b also stops increasing the ACQ tuning word. Similarly, when the outputs of the low pass filters 602b and 602c decrease, the modification circuit 610b may periodically decrease the ACQ tuning word and after a period of time, the modification circuit 610b stops affecting the ACQ tuning word.
In other words, the modification circuit 610b determines whether the amount of times the low pass filter 602b is output is too much according to the UPBa and LWBa. Once the amount of times the low pass filter 602b is output is too much, the modification circuit 610b roughly adjusts the output frequency of a digitally controlled oscillator. The UPBa and LWBa serve as a stop mechanism for the modification circuit 610b. In other words, the UPBa and LWBa determines the amount of frequency adjustments.
According to the above description of the modification circuit 610b, those skilled in the art can easily understand the operation of the modification circuit 610a. When the modification circuit 610a determines that the amount of times the low pass filter 602a is output is too much, the modification circuit 610a coarsely adjusts the output frequency of a digitally controlled oscillator. The UPBa and LWBa serve as a stop mechanism for the modification circuit 610a. In other words, the UPBa and LWBa determines the amount of frequency adjustments.
As to the UPB and LWB of each decision circuit, the UPB and LWB are respectively determined based on circuit design or requirement.
The modification circuits 610a and 610b quickly and coarsely adjust the output frequency of a digitally controlled oscillator. Without the modification circuits 610a and 610b in
Although the loop filter 600 in
Please refer to
Please also refer to
In the step 902, the modification circuits 610a and 610b are enabled, and the loop gain α and partial gain β do not change. Thus, the ACQ tuning word may be slightly affected by the carry bit of the tracking tuning word, and may be heavily affected by the modification circuit 610b. Similarly, the PVT tuning word may be slightly affected by the carry bit of the ACQ tuning word, and may be heavily affected by the modification circuit 610a.
After a period of time or when the coarse tuning has been substantially finished, the values of the accumulators 6102a and 6102b are substantially fixed and the method goes to the step 904. In step 904, the modification circuits 610a and 610b are disabled, and the loop gain a and partial gain β can be first increased and then decreased after a period of time. In other words, when executing the step 904, the loop gain a and partial gain β can be the same as the loop gain α and partial gain β in step 902 for a period of time. After that, the phase lock operation is substantially finished, and in order to reduce the noise caused by the phase lock loop, a smaller loop gain α and partial gain β are adopted. The operation for reducing the loop gain α and partial gain β can be implemented at more than one time according to the circuit design and the phase lock speed requirement. It is recommended that the operation of reducing the loop gain α and partial gain β be executed at least two times.
An all digital phase lock loop with higher order loop filters consistent with the invention is provided. The disclosed all digital phase lock loop can reduce the phase noise that is self generated and coarsely and quickly adjust its output frequency to achieve the goal of fast phase lock.
It will be appreciated that the present invention is not limited to the exact construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. It is intended that the scope of the invention only be limited by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
96147382 A | Dec 2007 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6825785 | Huang et al. | Nov 2004 | B1 |
7046098 | Staszewski | May 2006 | B2 |
7145399 | Staszewski et al. | Dec 2006 | B2 |
20030234693 | Staszewski et al. | Dec 2003 | A1 |
20070085621 | Staszewski et al. | Apr 2007 | A1 |
20070085622 | Wallberg et al. | Apr 2007 | A1 |
20090096538 | Chang et al. | Apr 2009 | A1 |
20090256639 | Chiu et al. | Oct 2009 | A1 |
Number | Date | Country | |
---|---|---|---|
20090153255 A1 | Jun 2009 | US |