Method and system for calibrating phase nonlinearity of digital-to-time converter
阅读说明:本技术 用于校准数字到时间转换器的相位非线性的方法和系统 (Method and system for calibrating phase nonlinearity of digital-to-time converter ) 是由 塞巴斯蒂安·西韦特 奥菲尔·德刚尼 阿肖克·拉维 于 2017-07-17 设计创作,主要内容包括:提供了一种用于校准数字到时间转换器的相位非线性的方法。该方法包括基于控制字利用锁相环生成参考信号。参考信号的频率等于数字到时间转换器的输出信号的频率。另外,该方法包括测量输出信号从第一信号电平到第二信号电平的转变和参考信号从第一信号电平到第二信号电平的转变的时间顺序。该方法还包括基于测量到的时间顺序来调整查找表的第一条目。(A method for calibrating phase non-linearity of a digital-to-time converter is provided. The method includes generating a reference signal with a phase-locked loop based on a control word. The frequency of the reference signal is equal to the frequency of the output signal of the digital-to-time converter. In addition, the method includes measuring a temporal sequence of a transition of the output signal from the first signal level to the second signal level and a transition of the reference signal from the first signal level to the second signal level. The method also includes adjusting a first entry of the lookup table based on the measured temporal order.)
1. A method (100) for calibrating phase non-linearity of a digital-to-time converter, comprising:
generating (102) a reference signal with a phase locked loop based on a control word, wherein a frequency of the reference signal is substantially equal to a frequency of an output signal of the digital-to-time converter;
measuring (104) a temporal sequence of transitions: a transition of the output signal from a first signal level to a second signal level, and a transition of the reference signal from the first signal level to the second signal level; and
the first entry of the look-up table is adjusted (106) based on the measured temporal order.
2. The method of claim 1, wherein the digital-to-time converter generates the output signal based on a first entry of the lookup table, and wherein the first entry is assigned to a first control code of the digital-to-time converter that is based on a control word for controlling a frequency of the output signal.
3. The method of claim 1 or 2, further comprising:
adjusting a phase of the reference signal to be substantially equal to a phase of the output signal generated by the digital-to-time converter based on a second entry in the lookup table, wherein the second entry is assigned to a second control code of the digital-to-time converter for which the digital-to-time converter is phase linear.
4. The method of claim 3, wherein generating the reference signal is further based on a frequency control word, and wherein adjusting the phase of the reference signal comprises:
a third temporal sequence of the following transitions for the second visual quantity: a transition of the output signal from the first signal level to the second signal level, and a transition of the reference signal from the first signal level to the second signal level; and
generating the frequency control word based on the third temporal order.
5. The method of claim 4, wherein adjusting the frequency control word comprises:
calculating a phase error of the reference signal relative to the output signal based on the third time order; and
adjusting the frequency control word based on the phase error.
6. The method of claim 2, further comprising:
measuring a phase error of the reference signal relative to a phase of the output signal generated by the digital-to-time converter based on a second entry in the lookup table, wherein the second entry is assigned to a second control code of the digital-to-time converter for which the digital-to-time converter is phase linear; and
generating a correction code based on the phase offset, wherein the first control code is further based on the correction code.
7. The method of claim 1 or 2, wherein measuring (104) the temporal order comprises measuring a predetermined number of temporal orders, and wherein adjusting (106) the first entry is based on the predetermined number of temporal orders.
8. The method of claim 7, wherein at least a portion of the predetermined number of time sequences are measured in parallel.
9. The method as recited in claim 7, wherein adjusting (106) the first entry based on the predetermined number of chronological orders includes:
deriving an index value from the predetermined number of time sequences, the index value indicating whether a transition of the output signal from the first signal level to the second signal level or a transition of the reference signal from the first signal level to the second signal level precedes the other more often among the predetermined number of time sequences; and is
Adjusting the first entry based on the indicator value.
10. The method of claim 9, wherein the first entry is adjusted only if the absolute value of the indicator value is greater than a threshold value.
11. The method of claim 7, wherein measuring (104) the predetermined number of chronological orders and adjusting (106) the first entry based on the predetermined number of chronological orders are performed iteratively.
12. The method of claim 11, wherein the digital-to-time converter generates the output signal based on a further entry in the lookup table, the further entry being assigned to a further control code of the digital-to-time converter, and wherein the method further comprises:
measuring, for the further entries, respective temporal sequences of transitions of: a transition of the output signal from the first signal level to the second signal level, and a transition of the reference signal from the first signal level to the second signal level; and
adjusting the further entries based on the respective temporal order.
13. The method of claim 12, wherein measuring the respective chronological order for the further entries is performed a predetermined number of times such that the respective predetermined number of chronological orders is measured for each of the further entries, and wherein adjusting the further entries is based on the respective predetermined number of chronological orders.
14. The method of claim 13, wherein a respective predetermined number of time sequences are measured for a first entry and a further entry of the lookup table, and adjusting the first entry and the further entry is performed iteratively until a maximum number of iterations is reached or each of the first entry and the further entry meets a quality criterion.
15. The method of claim 1 or 2, further comprising:
a second chronological order of the following transitions for the first visual quantity: a transition of the output signal from the second signal level to the first signal level, and a transition of the reference signal from the second signal level to the first signal level,
wherein adjusting the first entry is further based on the second temporal order.
16. The method of claim 1 or 2, wherein adjusting the first entry comprises:
incrementing or decrementing the first entry based on the first chronological order.
17. The method of claim 11, wherein iteratively adjusting the first entry comprises:
incrementing or decrementing the first entry in the first iteration by a first value based on a predetermined number of chronological orders of the first iteration; and is
Incrementing or decrementing the first entry in the second iteration by a second value based on the predetermined number of time sequences of the second iteration, wherein the second value is substantially half of the first value.
18. A system (200) for calibrating phase non-linearities of a digital-to-time converter (210), comprising:
a phase locked loop (230) configured to generate a reference signal (231) based on a control word (205), wherein a frequency of the reference signal (231) is substantially equal to a frequency of an output signal (211) of the digital-to-time converter (210);
a detection circuit (240) configured to measure a temporal sequence of transitions: -a transition of the output signal (211) from a first signal level to a second signal level, and-a transition of the reference signal (231) from the first signal level to the second signal level; and
a processing circuit (250) configured to adjust a first entry (221) of the look-up table (220) based on the measured temporal order.
19. The system of claim 18, wherein the digital-to-time converter (210) generates the output signal (211) based on a first entry (221) of the look-up table (220), wherein the first entry (221) is assigned to a first control code of the digital-to-time converter (210) that is based on a control word (205) for controlling a frequency of the output signal (211).
20. The system of claim 18 or 19, wherein the phase locked loop (230) is configured to adjust the phase of the reference signal (231) to be substantially equal to the phase of the output signal (211) generated by the digital-to-time converter (210) based on a second entry in the look-up table (220), wherein the second entry is assigned to a second control code of the digital-to-time converter (210) for which the digital-to-time converter (210) is phase linear.
21. The system of claim 20, wherein:
the phase locked loop (230) is further configured to generate the reference signal (231) based on a frequency control word,
the detection circuit (240) is further configured to, for the second visual quantity, a third temporal order of the following transitions: a transition of the output signal (211) from the first signal level to the second signal level, and a transition of the reference signal (231) from the first signal level to the second signal level; and is
The system further comprises a conversion circuit (280) configured to generate the frequency control word based on the third time order.
22. The system of claim 18 or 19, wherein the detection circuit (240) is further configured to measure a predetermined number of time sequences, and wherein the processing circuit (250) is further configured to adjust the first entry (221) based on the predetermined number of time sequences.
23. The system of claim 22, wherein the processing circuitry (250) is further configured to:
deriving an index value from the predetermined number of time sequences, the index value indicating whether a transition of the output signal (211) from the first signal level to the second signal level or a transition of the reference signal (231) from the first signal level to the second signal level precedes the other more often among the predetermined number of time sequences; and is
Adjusting the first entry (221) based on the indicator value.
24. The system of claim 23, wherein the processing circuit (250) is further configured to adjust the first entry (221) only if the absolute value of the indicator value is greater than a threshold value.
25. A receiver (670) comprising a digital-to-time converter (610) and a system (630) for calibrating a phase non-linearity of the digital-to-time converter (610) according to any of claims 18 to 24.
Technical Field
The present disclosure relates to correcting phase non-linearity of a Digital-to-Time Converter (DTC). In particular, the present disclosure relates to methods and systems for calibrating the phase nonlinearity of a DTC.
Background
The DTC is used to generate a partial offset frequency or modulated signal from a constant reference frequency. They can be used for example for carrier frequency offset and phase modulation in Digital Polar Transmitters (DPTX), for frequency synthesis in Receivers (RX), or for digital clock generation in clocked applications.
Some applications (e.g., digital clock generation) have relaxed specifications, i.e., they are tolerant to DTC phase non-linearities. In particular, applications of DPTX and RX require highly linear DTCs. DTC nonlinearities are calibrated on-chip and digital DTC data is pre-distorted with information from the DTC calibration, since no attractive or competitive architecture is known for DTCs with perfect linearity.
Several calibration engines have been proposed and implemented. Their main drawback is the calibration of the particular DTC operating conditions (e.g., calibration of the quasi-static DTC programming, or calibration of a particular code ramp).
However, DTC non-linearity can vary for different operation types (e.g., different code ramps or modulations), so that one set of calibration data is not sufficient for all operation types.
Thus, there may be a need for improved calibration of DTC non-linearities.
Drawings
Some examples of the apparatus and/or method will now be described, by way of example only, with reference to the accompanying drawings, in which:
FIG. 1 illustrates a flow chart of an example of a method for calibrating phase nonlinearity of a DTC;
FIG. 2 illustrates an example of a system for calibrating phase nonlinearity of a DTC;
FIG. 3 illustrates another system for calibrating the phase nonlinearity of a DTC;
FIG. 4 illustrates a comparison between ideal and calibrated look-up table entries;
FIG. 5 illustrates a comparison of look-up table entry errors for different calibration parameters; and is
Fig. 6 illustrates an example of a mobile device that includes a DTC and a system for calibrating phase non-linearities of the DTC.
Detailed Description
Various examples will now be described more fully with reference to the accompanying drawings, in which some examples are shown. In the drawings, the thickness of lines, layers and/or regions may be exaggerated for clarity.
Accordingly, while additional examples are capable of various modifications and alternative forms, specific examples thereof are shown in the drawings and will be described below in detail. However, this detailed description does not limit the additional examples to the particular forms described. Further examples may cover all modifications, equivalents, and alternatives falling within the scope of the present disclosure. Like reference numerals refer to like or similar elements throughout the description of the figures, which may be implemented identically or in modified form when compared with each other, while providing the same or similar functionality.
It will be understood that when an element is referred to as being "connected" or "coupled" to another element, the elements may be connected or coupled directly or via one or more intervening elements. If two elements a and B are combined with an or, it is to be understood that all possible combinations are disclosed, i.e. only a, only B and a and B. An alternative expression for the same combination is "at least one of a and B". The same applies to combinations of more than 2 elements.
The terminology used herein to describe particular examples is not intended to be limiting of additional examples. Further examples may also use multiple elements to achieve the same functionality whenever a singular form such as "a" and "the" is used and the use of only a single element is neither explicitly nor implicitly limited as mandatory. Similarly, when a function is subsequently described as being carried out using multiple elements, further examples can carry out the same function using a single element or processing entity. It will be further understood that the terms "comprises" and/or "comprising," when used, specify the presence of stated features, integers, steps, operations, procedures, actions, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, procedures, actions, elements, components, and/or groups thereof.
Unless otherwise defined, all terms (including technical and scientific terms) are used herein in their ordinary meaning in the art to which examples pertain.
FIG. 1 illustrates a flow chart of a method 100 for calibrating phase nonlinearity of a DTC. Method 100 includes generating 102 a reference signal using a Phase-Locked Loop (PLL) based on a control word. The frequency of the reference signal is (substantially) equal to the frequency of the output signal of the DTC. In addition, the method 100 comprises measuring 104 a temporal sequence of a transition of the output signal from the first signal level to the second signal level and a transition of the reference signal from the first signal level to the second signal level. The method 100 further includes adjusting 106 a first entry of a Look-Up Table (LUT) based on the measured temporal order.
The DTC may generate an output signal based on a first entry of the LUT. The first entry is assigned to a first control code for the DTC, which is based on a control word for controlling the frequency of the output signal.
The method 100 may allow for compensation for DTC phase non-linearity by adjusting a first entry in the LUT (assigned to the first codeword) based on a temporal order of the DTC output signal and the reference signal. Since the method 100 does not depend on a specific time difference between the output signal and the reference signal, but only on the temporal order, a detector with a relatively low resolution may be used to measure 104 the temporal order of the output signal and the reference signal. Furthermore, the programming of the DTC need not be changed during calibration. Thus, background calibration may be performed. That is, the DTC can be routinely operated during calibration, so that downtime of the equipment containing the DTC can be avoided. For example, DTC nonlinearities can change after temperature changes. To compensate for temperature-dependent variations in DTC nonlinearity, a background calibration according to method 100 may be performed.
The DTC may, for example, receive an oscillating input signal. Based on the control word, the frequency and/or phase offset of the output signal relative to the oscillating input signal may be adjusted. For example, if a DTC is used in the receiver, the output signal may be provided to a mixing circuit that uses the output signal to down-convert the radio frequency receive signal. That is, the method 100 may also allow for calibration of specific nonlinearities (including both static and dynamic DTC nonlinearities) for each generated RX carrier.
A first signal level of a signal is a level associated with a first logic state and a second signal level of the signal is a level associated with a second, different logic state. That is, if the signal is at a first signal level it indicates a first logic state, and if the signal is at a second signal level the signal indicates a second logic state. For example, the first signal level may indicate "1" or "high" and the second signal level may indicate "0" or "low", or vice versa. The signal level may for example be the voltage of the signal. In some examples, the transition from the first signal level to the second signal level may be a falling signal edge. In other examples, the transition from the first signal level to the second signal level may be a rising signal edge.
The temporal sequence indicates which of the output signal and the reference signal switches from the first signal level to the second signal level first. For example, a non-linear Phase Detector (BBPD) may be used to measure 104 the temporal order. Depending on the DTC nonlinearity for a particular control code, the output signal (i.e., the DTC output) switches earlier or later than the reference signal. Since the method 100 (which may be understood as a calibration engine) does not depend on measuring a specific time difference between two signals, BBPD may be used. The use of a Time-to-digital converter (TDC) may be avoided because a higher Time resolution of the TDC is not required. Thus, TDC nonlinearity as a complexity can be avoided in the calibration engine. However, in some examples, TDC may also be used to measure 104 the time sequence.
The first control code of the DTC may be part of a sequence of continuously rising or falling codes (code ramp) generated based on the control word. For example, a first control code and further control codes may be generated by continuously integrating the control words. Thus, several control codes for successive rises or falls of a DTC may be generated.
The LUT may include an entry for each control code. For example, for N control codes of a DTC, the LUT may include N entries, where each of the N entries is assigned to a particular one of the N control codes of the DTC. The LUT may be initially populated with arbitrary dates (e.g., zero, data from previous calibrations, random data). Entries in the LUT may be understood as a result of pre-distortion of the control code of the DTC to compensate for DTC non-linearity. That is, the entry in the LUT is the adjusted control code for the DTC, which is derived from its assigned control code. By adjusting one of the entries in the LUT, the nonlinearity of the DTC for a particular code can be calibrated. For example, entries in the LUT may be incremented or decremented based on the temporal order of the output signal and the reference signal.
The reference signal and the output signal may be aligned before the first entry in the LUT is calibrated. Thus, the method 100 may also include adjusting the phase of the reference signal to be (substantially) equal to the phase of the output signal generated by the DTC based on the second entry in the LUT. The second entry is assigned to a second control code of the DTC for which the DTC is phase linear. DTCs do not exhibit phase non-linearity for all control codes. For one or more control codes of a code sequence, the DTC is by definition phase-linear. These control codes may be used to align the reference signal to the output signal.
In addition to the control word, generating 102 the reference signal may also be based on a frequency control word. Adjusting the phase of the reference signal may then further comprise, for a second piece of the measured quantity, a time offset between a transition of the output signal from the first signal level to the second signal level and a transition of the reference signal from the first signal level to the second signal level. Alternatively, adjusting the phase of the reference signal may further comprise a third temporal sequence of transitions from the first signal level to the second signal level of the output signal and transitions from the first signal level to the second signal level of the reference signal for the second visual quantity. Additionally, adjusting the phase of the reference signal may include generating a frequency control word based on the time offset or the third time order. Thus, by adjusting the frequency control word, the phase of the reference signal can be adjusted to be equal to the phase of the output signal generated by the DTC based on the second entry in the LUT. In other words, the reference signal is adjusted such that it does not exhibit a phase offset with respect to the output signal of the DTC, which is generated based on the following codeword: for this codeword, the DTC is phase linear.
For example, adjusting the frequency control word may include calculating a phase error of the reference signal relative to the output signal based on the time offset or the third time order. Additionally, adjusting the frequency control word may include adjusting the frequency control word based on the phase error.
The time offset or the third time order between the reference signal and the output signal for the second entry in the LUT and the time order of the reference signal and the output signal for the first entry in the LUT may be measured by the same or different circuitry. For example, the time offset between the reference signal and the output signal for the second entry in the LUT may be measured using a TDC, and the third temporal order of the reference signal and the output signal for the second entry in the LUT may be measured using a BBPD.
Alternatively, the output signal of the DTC may be calibrated to the reference signal. Thus, the method 100 may further include measuring a phase error of the reference signal relative to a phase of an output signal generated by the DTC based on the second entry in the LUT. Additionally, the method 100 may include generating a correction code based on the phase offset, wherein the first control code is further based on the correction code. That is, the control code of the code sequence may be adjusted based on the correction code. For example, the control code of the code sequence may be incremented or decremented by the correction code to adjust the phase of the DTC output signal to the phase of the reference signal. Thus, the phase of the DTC output signal for a codeword of a code sequence whose DTC is phase linear may be equal to the phase of the reference signal.
The above-described measurement for calibrating the time sequence of the first entry in the LUT may be performed a predetermined number of times to measure a predetermined number of time sequences. Thus, adjusting the first entry may be based on a predetermined number of chronological orders. For example, if BBPD is used to measure the temporal order and a PLL with a relatively high jitter is used to generate the reference signal, the measured temporal order may be averaged to achieve high calibration accuracy. For example, the chronological order may be measured 16 or more times, 64 or more times, 256 or more times, 1024 or more times, or 4096 or more times. In some examples, at least a portion of the predetermined number of time sequences may be measured in parallel. Thus, the calibration time may be reduced due to multiple simultaneous measurements of the time sequence.
Adjusting the first entry based on the predetermined number of time sequences may, for example, comprise deriving an index value from the predetermined number of time sequences, the index value indicating whether a transition of the output signal from the first signal level to the second signal level or a transition of the reference signal from the first signal level to the second signal level leads the other more often among the predetermined number of time sequences. For example, a counter may be used to derive the indicator value. The counter may for example be increased if the output signal leads the reference signal and decreased if the reference signal leads the output signal. Thus, a counter value greater than zero indicates that the transition of the output signal from the first signal level to the second signal level more often precedes the transition of the reference signal from the first signal level to the second signal level, and vice versa, among a predetermined number of time sequences. Adjusting the first entry based on the predetermined number of time sequences may then further comprise adjusting the first entry based on the indicator value.
In some examples, the first entry may be adjusted only if the absolute value of the merit value is greater than a threshold value. The threshold may allow the first entry in the LUT to be adjusted only if it has not been calibrated with sufficient accuracy. That is, if the first entry has been calibrated with sufficient accuracy, the adjustment to the first entry in the LUT may be omitted. The desired level of accuracy can be adjusted by selecting a threshold value.
Calibration of entries in the LUT may be done iteratively in some examples. For example, measuring a predetermined number of chronological orders and adjusting the first entry based on the predetermined number of chronological orders may be performed iteratively. By iteratively calibrating the entries in the LUT, high calibration accuracy can be achieved.
As indicated above, the DTC is not limited to generating an output signal based on a first entry in the LUT assigned to a first control code of a code sequence. The DTC may generate an output signal based on additional entries in the LUT, where the additional entries are assigned to additional control codes of the DTC (i.e., other control codes of the code sequence). The method 100 may thus further comprise measuring, for the further entry, a respective temporal sequence of a transition of the output signal from the first signal level to the second signal level and a transition of the reference signal from the first signal level to the second signal level. Additionally, the method 100 may also include adjusting the additional entries based on the respective temporal order. Thus, all entries in the LUT may be adjusted to compensate for DTC non-linearities at the control code of the code sequence.
The calibration may be performed iteratively. That is, measuring the respective chronological order for the additional entries may be performed a predetermined number of times, such that a respective predetermined number of chronological orders are measured for each of the additional entries, and the additional entries are adjusted based on the respective predetermined number of chronological orders. Thus, high calibration accuracy may also be achieved for additional entries in the LUT.
In some examples, measuring a respective predetermined number of time sequences for the first entry and the further entries of the LUT and adjusting the first entry and the further entries are performed iteratively until a maximum number of iterations is reached or each of the first entry and the further entries meets a quality criterion. The maximum number of iterations is a hard stop criterion. The quality criterion may be any quantity that indicates a desired accuracy of the calibration of the LUT entries. For example, the quality criterion may be that for each LUT entry the corresponding index value is less than a threshold value. Thus, the number of iterations required to achieve the quality criterion for all entries may be less than the maximum number of iterations.
In the above example, only the temporal order with respect to one type of signal edge is used to calibrate the entries in the LUT. However, the method 100 may use additional signal edges, i.e., falling and rising edges. In some examples, the method 100 may thus further comprise a second temporal sequence of transitions from the second signal level to the first signal level for the first piece of the visual quantitative output signal and corresponding transitions of the reference signal from the second signal level to the first signal level. Adjusting the first entry may then also be based on the second temporal order. Accordingly, a respective second temporal order may be measured for additional entries in the LUT, and the additional LUT entries may be adjusted based on the respective second temporal order. As with the first chronological order, the second chronological order may be measured a predetermined number of times (i.e., multiple times) as described above.
Adjusting LUT entries can be done in various ways. For example, adjusting 106 the first entry may include incrementing or decrementing the first entry based on the first chronological order. For example, the first entry may be incremented if the output signal of the DTC leads the reference signal, and vice versa.
Instead of incrementally filling the LUT, other schemes such as binary search may be used. For example, iteratively adjusting the first entry as described above may include incrementing or decrementing the first entry in the first iteration by a first value based on a predetermined number of chronological orders of the first iteration. Additionally, iteratively adjusting the first entry may include incrementing or decrementing the first entry in the second iteration by a second value based on a predetermined number of time sequences of the second iteration, wherein the second value is (substantially) one-half of the first value. That is, for iteration N (e.g., iteration N of a total of N iterations), 2 is in order of a first value (i.e., the value of the first iteration) based on the chronological order of the output signal and the reference signal for the nth iteration-(n-1)The value of the multiple increments or decrements the first entry in the LUT. This may allow for a defined calibration time and allow for a reduction in required calibration iterations compared to the incremental scheme described above.
In the following, various examples for implementing the method 100 are discussed. Fig. 2 illustrates a
The DTC210 may generate the
As with the method 100, the
Before the
The PLL230 may, for example, be configured to generate the
For example, the conversion circuit may be configured to calculate a phase error of the
In some examples,
As noted above, the
For example, the
To handle multiple time sequences, the
In some examples, the
As with the method 100, the
However, the
Similar to for the
For additional entries, calibration may also be done iteratively. That is, the
In the above example, the
As discussed above in connection with the method 100, entries in the LUT220 may be adjusted in a variety of ways based on the measured temporal order(s). For example, the
In addition, the
In fig. 3, another system 300 for calibrating the phase nonlinearity of the DTC210 is illustrated. In the example shown in fig. 3, the DTC210 is part of a receiver. The DTC210 provides its
System 300 includes the circuitry necessary for the mixing circuit to generate the RX signal (i.e., output signal 211). The RX generation includes an
Calibration engine additionA (calibration) PLL230 for generating a
The
However, only the DTC edge (i.e., the signal edge of the output signal 211) of the control code with zero-Integrated Nonlinear (INL), i.e., the control code for which the DTC210 is phase linear (e.g., by definition the control code n is 0, which is a 0 ° phase reference of the output signal 211), is used to lock the phase of the calibration PLL230 to the
The calibration PLL230 may exhibit poor signal quality. For example, the PLL230 may be inductorless or ring oscillator based.
The goal of the first step is to calibrate out any phase offset between the PLL230 and the DTC210, i.e., between the
First, the DTC-PLL control loop is opened. The calibration PLL230 is then locked to fRX,ideal=fDTC,out. That is, the frequency of the
Since the DTC-PLL loop operates only on DTC codes with (by definition) perfect linearity, it is not affected by LUT programming. Now, the calibration algorithm can be started.
Each rising and/or falling DTC output is compared by BBPD240 to an ideal RX signal, which allows for a per fDTC,outPhase detection of the rate of (2). For each measured edge, the programmed DTC control code is known to the calibration engine (e.g.,
For example, calibration may be achieved by:
1) it is measured whether the rising
2) The LUT is programmed accordingly:
a. if BBPD240 output is "-1": the LUT entry at code n is incremented.
b. If BBPD240 output is "1": the LUT entry at code n is decremented.
3) Move to 1) and measure the next DTC output edge.
Due to the high calibration accuracy required and the potentially high jitter of the calibration PLL230, the measurements can be averaged. This may be done, for example, by measuring several values for each control code and storing them by accumulating the BBPD240 output in a counter inside the digital part of the calibration engine (i.e., the
For example, a number of A measurements are taken for each DTC control code (i.e., for each entry in LUT 220) and at counter c [ n ]]The outputs of the BBPD240 are summed (i.e., one counter is used for each of the N +1 DTC control codes to speed up calibration). If most of the measured edges indicate "-1" at the output of BBPD240, the corresponding LUT value is incremented, otherwise it is decremented by processing
1) an average factor A is defined that determines how many measurements are averagedAll (i.e., a definition accuracy). In addition, a maximum number of iterations I is definedmax。
2) The iteration counter is set to i-0.
3) The average counter is set to a-0.
4) It is measured whether the rising
5) The internal calibration counter c n is programmed.
a. If BBPD output is "-1": increment counter c [ n ]
b. If the BBPD output is "1": down counter c [ n ]
6) The average counter a is incremented.
7) Move to 8 if a · N), otherwise move to 4) and measure the subsequent rising
8)If c [ n ]]>cthresThe corresponding LUT entry is incremented if c n]<-cthresThe corresponding LUT entry is decremented or if-cthres≤c[n]≤cthresThe control code n is marked as calibrated.
9) The iteration counter i is incremented.
10) If the control code n is marked as calibrated,
or I ═ ImaxMove to 11), otherwise move to 3).11) The calibration is stopped.
As noted above, the rising edge calibration described above may be changed to a falling edge or double edge calibration. Instead of incremental LUT padding, other algorithms, such as binary search, may also be used. The binary search may enable a defined calibration time and allow a further reduction of the number of required calibration iterations. For binary search, the algorithm stopping criterion (quality criterion) may be adapted accordingly.
The implementation of BBPD240 may be of arbitrary complexity. As noted above, multiple parallel BBPD units can be used to reduce mismatch effects, increase accuracy, and reduce calibration time through multiple simultaneous measurements.
In other words, fig. 3 may illustrate a calibration engine that focuses on RX DTC operation. The calibration PLL230, e.g., without an inductor, generates an
As noted above, the sensorless calibration PLL230 may be used to generate the reference signal f for RX DTC calibrationRX,idealWhere the reference signal is locked to the DTC output phase. Two signals 1) fDTC,outDTC output signal (generated by RX control code ramp) and 2) fRX,idealThe calibrated PLL signal at (a) can be compared using the BBPD240 to extract the direction of DTC non-linearity compared to the ideal RX signal. Compared to other detection circuits like TDC, the BBPD can operate at up to the rate of the
The accuracy of the proposed calibration scheme may become apparent from the discussion of fig. 4 and 5 below. Fig. 4 illustrates a comparison between ideal and calibrated look-up table entries. The abscissa represents the control code for the DTC and the ordinate represents the entries in the LUT for the respective control codes.
The
The diamond-shaped
The
As is evident from fig. 4, the accuracy of the calibration is better for a larger number of average measurements.
Fig. 5 further illustrates a comparison of LUT entry errors for different calibration parameters. The abscissa represents the number of time sequences measured and averaged. The ordinate represents the average (e.g., root mean square RMS) error of the LUT entries compared to the ideal LUT entries. Data points 510 represent the error of the LUT entries for the first jitter y of the PLL used to generate the reference signal.
It is again apparent from fig. 5 that the accuracy of the calibration is better for a larger number of average measurements. In addition, as is apparent from fig. 5, the accuracy of the calibration is better for lower jitter of the calibration PLL used to generate the reference signal. In order to calibrate the LUT with the desired accuracy, a trade-off may be made between the jitter of the calibration PLL and the number of time sequences of averaging (i.e., the run-time of the calibration).
In general, some examples presented herein relate to an apparatus for calibrating phase non-linearity of a DTC. The apparatus includes means for generating a reference signal with a PLL based on a control word, wherein a frequency of the reference signal is equal to a frequency of an output signal of the DTC. The apparatus further comprises means for measuring a temporal sequence of transitions of the output signal from the first signal level to the second signal level and transitions of the reference signal from the first signal level to the second signal level. Furthermore, the apparatus comprises means for adjusting the first entry of the LUT based on the measured time sequence.
The DTC may generate an output signal based on a first entry of the LUT, wherein the first entry is assigned to a first control code for the DTC, the first control code being based on a control word for controlling a frequency of the output signal.
In some examples, the means for generating the reference signal may be further configured to adjust the phase of the reference signal to be equal to the phase of an output signal generated by the DTC based on a second entry in the LUT, wherein the second entry is assigned to a second control code for the DTC for which the DTC (by definition) is phase linear.
The means for calibrating the phase nonlinearity of the DTC may be implemented by the system for calibrating the phase nonlinearity of the DTC described above or below (e.g., fig. 2). The means for generating the reference signal may be implemented by a PLL as described above or below (e.g., fig. 2). The means for measuring the time sequence may be implemented by the detection circuit described above or below (e.g., fig. 2). The means for adjusting the first entry may be implemented by the processing circuitry described above or below (e.g., fig. 2).
An example of an implementation for calibrating phase non-linearity of a DTC using one or more aspects of the proposed architecture or one or more examples described above is illustrated in fig. 6. Fig. 6 schematically illustrates an example of a mobile device 600 (e.g., a mobile phone, a smart phone, a tablet computer, or a laptop computer) that includes a DTC 610 that generates a radio frequency output signal based on entries in a LUT 620. The mobile device 600 also includes a system 630 for calibrating phase nonlinearity of the DTC according to examples described herein.
For example, receiver 670 may include DTC 610, LUT 620, and system 630.
To this end, the mobile device 600 may be provided to enable full digital receive carrier generation. Thus, the number of on-chip inductors may be reduced in order to reduce chip area and mitigate cross-talk problems.
The receiver 670 may include one or more additional components. For example, the receiver 670 may include a control circuit 640 configured to generate a continuous up or down code sequence based on a control word, where the first control code for the DTC 610 is part of the code sequence. The receiver 670 may also include a PLL650 configured to generate an oscillating input signal for the DTC 610. Additionally, the receiver 670 may include a mixing circuit 660 configured to down-convert a radio frequency receive signal using an output signal of the DTC 610.
For example, the receiver 670 may be configured to operate in accordance with one of the 3GPP standardized mobile communication networks or systems. The Mobile or Wireless communication System may correspond to, for example, Long Term Evolution (LTE), LTE Advanced (LTE-Advanced, LTE-a), High Speed Packet Access (HSPA), Universal Mobile Telecommunications System (UMTS) or UMTS Terrestrial Radio Access Network (UTRAN), evolved-UTRAN (evolved-UTRAN, e-UTRAN), Global System for Mobile communications (GSM) or Enhanced Data rates for GSM Evolution (EDGE) networks, GSM/EDGE Radio Access networks (GSM/EDGE Radio Access, GERAN), or a Mobile communication Network having a different standard, such as a Microwave Access Network (Worldwide-Evolution, LTE max) or Wireless Local Area Network (
At least one antenna element 680 of the mobile device 600 can be coupled to a receiver 670.
Examples described herein may be summarized as follows:
example 1 is a method for calibrating phase nonlinearity of a digital-to-time converter, comprising: generating a reference signal with a phase locked loop based on a control word, wherein a frequency of the reference signal is substantially equal to a frequency of an output signal of the digital-to-time converter; measuring a temporal sequence of transitions of the output signal from a first signal level to a second signal level and transitions of the reference signal from the first signal level to the second signal level; and adjusting the first entry of the look-up table based on the measured time order.
In example 2, the digital-to-time converter in the method of example 1 generates the output signal based on a first entry of the lookup table, wherein the first entry is assigned to a first control code for the digital-to-time converter, the first control code being based on a control word for controlling a frequency of the output signal.
In example 3, the method of example 1 or example 2 further comprises: adjusting a phase of the reference signal to be substantially equal to a phase of the output signal generated by the digital-to-time converter based on a second entry in the lookup table, wherein the second entry is assigned to a second control code for the digital-to-time converter for which the digital-to-time converter is phase linear.
In example 4, the generating the reference signal in the method of example 3 is further based on a frequency control word, and wherein adjusting the phase of the reference signal comprises: for the second visual measurement a time offset between a transition of the output signal from the first signal level to the second signal level and a transition of the reference signal from the first signal level to the second signal level; and generating the frequency control word based on the time offset.
In example 5, adjusting the frequency control word in the method of example 4 includes: calculating a phase error of the reference signal relative to the output signal based on the time offset; and adjusting the frequency control word based on the phase error.
In example 6, the generating the reference signal in the method of example 3 is further based on a frequency control word, and wherein adjusting the phase of the reference signal comprises: a third temporal sequence of transitions of the output signal from the first signal level to the second signal level and transitions of the reference signal from the first signal level to the second signal level for the second visual measurement; and generating the frequency control word based on the third time order.
In example 7, adjusting the frequency control word in the method of example 6 includes: calculating a phase error of the reference signal relative to the output signal based on the third time order; and adjusting the frequency control word based on the phase error.
In example 8, the method of example 2 further comprises: measuring a phase error of the reference signal relative to a phase of the output signal generated by the digital-to-time converter based on a second entry in the lookup table, wherein the second entry is assigned to a second control code for the digital-to-time converter for which the digital-to-time converter is phase linear; and generating a correction code based on the phase offset, wherein the first control code is further based on the correction code.
In example 9, measuring the temporal order in the method of any preceding example includes measuring a predetermined number of temporal orders, wherein adjusting the first entry is based on the predetermined number of temporal orders.
In example 10, at least a portion of the predetermined number of temporal sequences in the method of example 9 is measured in parallel.
In example 11, the adjusting the first entry based on the predetermined number of time sequences in the method of example 9 or example 10 includes: deriving an index value from the predetermined number of time sequences, the index value indicating whether a transition of the output signal from the first signal level to the second signal level or a transition of the reference signal from the first signal level to the second signal level precedes the other more often among the predetermined number of time sequences; and adjusting the first entry based on the indicator value.
In example 12, the first entry is adjusted in the method of example 11 only if the absolute value of the indicator value is greater than a threshold value.
In example 13, measuring the predetermined number of chronological orders and adjusting the first entry based on the predetermined number of chronological orders is performed iteratively in the method of any of examples 9 to 12.
In example 14, the digital-to-time converter in the method of example 13 generates the output signal based on a further entry in the lookup table, the further entry being assigned to a further control code for the digital-to-time converter, wherein the method further comprises: measuring, for the further entries, respective temporal sequences of transitions of the output signal from the first signal level to the second signal level and transitions of the reference signal from the first signal level to the second signal level; and adjusting the further entries based on the respective temporal order.
In example 15, the measuring the respective temporal order for the further entries in the method of example 14 is performed a predetermined number of times, such that the measuring the respective predetermined number of temporal orders for each of the further entries, and the adjusting the further entries is based on the respective predetermined number of temporal orders.
In example 16, measuring a respective predetermined number of time sequences for a first entry and a further entry of the lookup table and adjusting the first entry and the further entry in the method of example 15 are performed iteratively until a maximum number of iterations is reached or each of the first entry and the further entry meets a quality criterion.
In example 17, the method of any preceding example, further comprising: a second chronological order of transitions of the output signal from the second signal level to the first signal level and transitions of the reference signal from the second signal level to the first signal level for the first item of visual measurement, wherein adjusting the first item is further based on the second chronological order.
In example 18, adjusting the first entry in the method of any preceding example comprises: incrementing or decrementing the first entry based on the first chronological order.
In example 19, iteratively adjusting the first entry in the method of example 13 includes: incrementing or decrementing the first entry in the first iteration by a first value based on a predetermined number of chronological orders of the first iteration; and incrementing or decrementing the first entry in the second iteration by a second value based on the predetermined number of time sequences of the second iteration, wherein the second value is substantially half the first value.
In example 20, a non-linear phase detector is used to measure the temporal sequence in a method as in any of the preceding examples.
In example 21, the first control code for the digital-to-time converter in the method of example 2 is part of a sequence of consecutive rising or falling codes generated based on the control word.
Example 22 is a system for calibrating phase nonlinearity of a digital-to-time converter, comprising: a phase locked loop configured to generate a reference signal based on a control word, wherein a frequency of the reference signal is substantially equal to a frequency of an output signal of the digital-to-time converter; a detection circuit configured to measure a temporal sequence of a transition of the output signal from a first signal level to a second signal level and a transition of the reference signal from the first signal level to the second signal level; and a processing circuit configured to adjust a first entry of the look-up table based on the measured temporal order.
In example 23, the digital-to-time converter in the system of example 22 generates the output signal based on a first entry of the lookup table, wherein the first entry is assigned to a first control code for the digital-to-time converter, the first control code being based on a control word for controlling a frequency of the output signal.
In example 24, the phase-locked loop in the system of example 22 or example 23 is configured to adjust a phase of the reference signal to be substantially equal to a phase of the output signal generated by the digital-to-time converter based on a second entry in the lookup table, wherein the second entry is assigned to a second control code for the digital-to-time converter, for which the digital-to-time converter is phase-linear.
In example 25, the phase locked loop in the system of example 24 is further configured to generate the reference signal based on a frequency control word, wherein the detection circuit is further configured to measure a time offset between a transition of the output signal from the first signal level to the second signal level and a transition of the reference signal from the first signal level to the second signal level for the second piece of light; and wherein the system further comprises a conversion circuit configured to generate the frequency control word based on the time offset.
In example 26, the conversion circuitry in the system of example 25 is configured to: calculating a phase error of the reference signal relative to the output signal based on the time offset; and adjusting the frequency control word based on the phase error.
In example 27, the phase locked loop in the system of example 24 is further configured to generate the reference signal based on a frequency control word, wherein the detection circuit is further configured to measure, for the second piece of light, a third temporal sequence of transitions of the output signal from the first signal level to the second signal level and transitions of the reference signal from the first signal level to the second signal level; and wherein the system further comprises a conversion circuit configured to generate the frequency control word based on the third temporal order.
In example 28, the conversion circuitry in the system of example 27 is configured to: calculating a phase error of the reference signal relative to the output signal based on the third time order; and adjusting the frequency control word based on the phase error.
In example 29, the system of any of examples 25 to 28, further comprising a filter coupled between the detection circuit and the conversion circuit, wherein the filter is configured to forward filtered data from the detection circuit to the conversion circuit only if a control signal input to the filter indicates that the digital-to-time converter is to generate the output signal based on an entry in the lookup table as follows: the entries are assigned to the following control codes for the digital-to-time converter: for this control code, the digital-to-time converter is phase-linear.
In example 30, the detection circuit in the system of any preceding example is further configured to measure a predetermined number of time sequences, wherein the processing circuit is further configured to adjust the first entry based on the predetermined number of time sequences.
In example 31, the detection circuit in the system of example 30 is further configured to measure at least a portion of the predetermined number of time sequences in parallel.
In example 32, the processing circuitry in the system of example 30 or example 31 is further configured to: deriving an index value from the predetermined number of time sequences, the index value indicating whether a transition of the output signal from the first signal level to the second signal level or a transition of the reference signal from the first signal level to the second signal level precedes the other more often among the predetermined number of time sequences; and adjusting the first entry based on the indicator value.
In example 33, the processing circuit in the system of example 32 is further configured to adjust the first entry only if an absolute value of the indicator value is greater than a threshold.
In example 34, the system of any of examples 30 to 33 is configured to control the detection circuitry to iteratively measure the predetermined number of time sequences, and to control the processing circuitry to iteratively adjust the first entry based on the predetermined number of time sequences.
In example 35, the digital-to-time converter in the system of example 34 further generates the output signal based on a further entry in the lookup table, the further entry being assigned to a further control code for the digital-to-time converter; wherein the detection circuit is further configured to measure, for the further entry, respective temporal sequences of transitions of the output signal from the first signal level to the second signal level and transitions of the reference signal from the first signal level to the second signal level; and wherein the processing circuitry is further configured to adjust the further entries based on the respective temporal order.
In example 36, the detection circuitry in the system of example 35 is further configured to measure the respective temporal sequence a predetermined number of times for the further entries such that a respective predetermined number of temporal sequences are measured for each of the further entries, and the processing circuitry is further configured to adjust the further entries based on the respective predetermined number of temporal sequences.
In example 37, the system of example 36 is configured to control the detection circuitry to iteratively measure a respective predetermined number of time sequences for a first entry and a further entry of the lookup table, and to control the processing circuitry to iteratively adjust the first entry and the further entry until a maximum number of iterations is reached or each of the first entry and the further entry meets a quality criterion.
In example 38, the detection circuit in the system of any preceding example is further configured to measure a second temporal sequence of transitions of the output signal from the second signal level to the first signal level and transitions of the reference signal from the second signal level to the first signal level for the first line; and the processing circuit is further configured to adjust the first entry based also on the second temporal order.
In example 39, the processing circuitry in the system of any preceding example is further configured to adjust the first entry by incrementing or decrementing the first entry based on the first temporal order.
In example 40, the processing circuitry in the system of example 34 is further configured to iteratively adjust the first entry by: incrementing or decrementing the first entry in the first iteration by a first value based on a predetermined number of chronological orders of the first iteration; and incrementing or decrementing the first entry in the second iteration by a second value based on the predetermined number of time sequences of the second iteration, wherein the second value is substantially half the first value.
In example 41, the detection circuit in the system as in any preceding example is a non-linear phase detector.
Example 42 is a receiver comprising a digital-to-time converter and a system according to any of examples 22 to 41 for calibrating phase non-linearity of the digital-to-time converter.
In example 43, the receiver of example 42, further comprising: a control circuit configured to generate a sequence of consecutive rising or falling codes based on the control word, wherein the first control code is part of the sequence of codes.
In example 44, the receiver of example 42 or example 43, further comprising: another phase locked loop configured to generate an oscillating input signal for the digital-to-time converter.
In example 45, the receiver of any of examples 42 to 44, further comprising: a mixing circuit configured to down-convert a radio frequency receive signal using the output signal.
Example 46 is a mobile device, comprising a receiver according to any of examples 42 to 45.
In example 47, the mobile device of example 46, further comprising: at least one antenna element coupled to the receiver.
Example 48 is an apparatus for calibrating phase nonlinearity of a digital-to-time converter, comprising: means for generating a reference signal with a phase locked loop based on a control word, wherein a frequency of the reference signal is equal to a frequency of an output signal of the digital-to-time converter; means for measuring a temporal sequence of transitions of the output signal from a first signal level to a second signal level and transitions of the reference signal from the first signal level to the second signal level; and means for adjusting the first entry of the look-up table based on the measured time order.
In example 49, the digital-to-time converter in the apparatus of example 48 generates the output signal based on a first entry of the lookup table, wherein the first entry is assigned to a first control code for the digital-to-time converter, the first control code being based on a control word for controlling a frequency of the output signal.
In example 50, the means for generating the reference signal in the apparatus of example 48 or example 49 is further configured to adjust a phase of the reference signal to be substantially equal to a phase of the output signal generated by the digital-to-time converter based on a second entry in the lookup table, wherein the second entry is assigned to a second control code for the digital-to-time converter, for which the digital-to-time converter is phase linear.
Aspects and features mentioned and described in connection with one or more of the previously detailed examples and figures may also be combined with one or more other examples to replace or additionally introduce features to other examples that are similar to features of other examples.
Examples may also or may relate to a computer program having a program code for performing one or more of the above-described methods, when the computer program is executed on a computer or processor. The steps, operations or processes of the various methods described above may be performed by a programmed computer or processor. Examples may also cover program storage devices, such as digital data storage media, that are machine, processor, or computer readable and that encode machine-executable, processor-executable, or computer-executable programs of instructions. The instructions perform or cause the performance of some or all of the acts of the methods described above. The program storage device may include or may be, for example, a digital memory, a magnetic storage medium such as a magnetic disk and tape, a hard disk drive, or an optically readable digital data storage medium. Further examples may also cover a computer, processor or control unit programmed to perform the actions of the above-described method or a (field) programmable logic array (F) PLA or a (field) programmable gate array (F) PGA) programmed to perform the actions of the above-described method.
The description and drawings merely illustrate the principles of the disclosure. Moreover, all examples set forth herein are principally intended expressly to be only for pedagogical purposes to aid the reader in understanding the principles of the disclosure and the concepts contributed by the inventors to furthering the art. All statements herein reciting principles, aspects, and examples of the disclosure, as well as specific examples thereof, are intended to encompass equivalents thereof.
A functional block denoted as "means for …" that performs a particular function may refer to circuitry configured to perform the particular function. Thus, an "apparatus for something" may be implemented as an "apparatus configured or adapted to something", e.g. a device or a circuit configured or adapted to a respective task.
The functions of the various elements shown in the figures, including any functional blocks labeled as "means", "means for providing a sensor signal", "means for generating a transmission signal", etc., may be implemented in the form of dedicated hardware, such as "signal provider", "signal processing unit", "processor", "controller", etc., as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, by a single shared processor, or by a plurality of individual processors, some or all of which may be shared. However, the term "processor" or "controller" is in no way limited to only hardware capable of executing software, and may include Digital Signal Processor (DSP) hardware, network processors, Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), Read Only Memories (ROMs) for storing software, Random Access Memories (RAMs), and non-volatile storage devices. Other hardware, conventional and/or custom, may also be included.
The block diagram may illustrate, for example, a high-level circuit diagram implementing the principles of the present disclosure. Similarly, flowcharts, task diagrams, state transition diagrams, pseudocode, and the like may represent various processes, operations, or steps which may, for example, be substantially represented in computer readable media and so executed by a computer or processor, whether or not such computer or processor is explicitly shown. The methods disclosed in the specification or in the claims may be implemented by an apparatus having means for performing each of the individual acts of these methods.
It is to be understood that the disclosure of various actions, processes, operations, steps, or functions disclosed in the specification or claims may not be construed as sequential, in particular order, unless expressly or impliedly stated otherwise, for example for technical reasons. Thus, the disclosure of multiple acts or functions does not limit the acts or functions to a particular order unless such acts or functions are not interchangeable for technical reasons. Further, in some examples, a single action, function, procedure, operation, or step may include or may be decomposed into multiple sub-actions, sub-functions, sub-procedures, sub-operations, or sub-steps, respectively. Such sub-acts may be included in a portion of the disclosure of such single act unless explicitly excluded.
Furthermore, the following claims are hereby incorporated into the detailed description, with each claim standing on its own as a separate example. Although each claim may stand on its own as a separate example, it is noted that although a dependent claim may refer in the claims to a particular combination with one or more other claims, other examples may also include a combination of that dependent claim with the subject matter of each other dependent or independent claim. Such combinations are expressly set forth herein unless it is stated that a particular combination is not intended. Furthermore, it is intended to include features of one claim also to any other independent claim, even if this claim is not directly dependent on the independent claim.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:信息处理的方法和通信装置