Adaptive Nonlinear Identification and Compensation Using Orthogonal Functions in Mixed-Signal Circuits
Through adaptive nonlinear identification and compensation technology, the orthogonal kernel and LMS method are used to identify and compensate for nonlinear functions in ΔΣDAC and ΔΣFN-PLL, solving the performance limitations caused by nonlinear characteristics in the existing technology and improving Improves the system's noise performance and dynamic range, enabling high-bandwidth applications.
Patent Information
- Application Number
- CN201980077611.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-07
- Filing Date
- 2019-12-06
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-12-06
AI Technical Summary
In existing mixed-signal ICs, the nonlinear characteristics of ΔΣDAC and ΔΣFN-PLL cause out-of-band noise folded intermodulation products to enter the baseband, limiting the dynamic range and noise performance of the system, and the quantization noise cancellation technology has gain errors and Nonlinear leakage problems make it difficult to achieve high-performance, high-bandwidth applications.
Adaptive nonlinear identification and compensation technology is used to identify and compensate for nonlinear functions in DAC and PLL through orthogonal kernel and LMS methods, and a compensation function is constructed to reduce integral nonlinear errors and improve the linearity and stability of the system.
It effectively reduces the quantization noise and spurious performance of ΔΣDAC and ΔΣFN-PLL, improves the signal-to-noise ratio and dynamic range, enhances the system's high-bandwidth application capabilities, and achieves precise compensation and robustness of nonlinear errors. .
Smart Images

Figure CN113169738B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to mixed-signal integrated circuits (ICs), and more particularly to nonlinear identification and compensation of building blocks for mixed-signal ICs. Background Art
[0002] The increasing data rates of wired and wireless communication systems place stringent performance requirements on their mixed-signal IC subsystems. In particular, there is a great demand for high-resolution data converters with higher sampling rates and high-performance frequency synthesizers with stringent phase noise and spurious performance requirements. Delta-sigma (Δ∑) digital-to-analog converters (DACs) utilize noise shaping and high oversampling rates to achieve high resolution (approximately 20 bits), which cannot be easily achieved using conventional DACs.
[0003] Similarly, a ΔΣ fractional-N phase-locked loop (FN-PLL) utilizes noise shaping and high oversampling rates to achieve very fine frequency synthesis capabilities (on the order of 20 bits). In both examples, a ΔΣ noise shaping modulator reduces the word length (m) of its digital input signal x[k] to a few (1-6) bits, and the resulting bulk quantization noise is shaped to high frequencies to make the in-band noise negligible. Out-of-band quantization noise is suppressed by a dedicated low-pass filter in the case of a ΔΣ DAC, or dynamically by the loop in the case of a ΔΣ FN-PLL.
[0004] In practice, the nonlinearity of the circuit building blocks constitutes a bottleneck for achieving high-performance ΔΣ DACs and ΔΣ FN-PLLs. Nonlinearity causes shaped out-of-band noise to fold into the baseband intermodulation products and limit the spurious-free dynamic range (SFDR) and signal-to-noise-and-distortion ratio (SNDR) of the ΔΣ DAC and the phase noise and spurious performance of the ΔΣ FN-PLL.
[0005] Influence of nonlinearity on Δ∑ quantization noise elimination
[0006] A ΔΣ DAC using 1-bit DAC units is inherently highly linear, but at the expense of large quantization errors. Therefore, achieving a high in-band signal-to-noise ratio (SNR) requires a very large oversampling ratio. Therefore, its use is generally limited to low-bandwidth applications such as audio and sensor interfaces. Using multi-bit DACs effectively reduces the amount of quantization noise and greatly relaxes the oversampling ratio required to achieve high bandwidth. But this comes at the expense of high sensitivity to mismatches between DAC unit cells.
[0007] To improve the matching between DAC unit cells, a thermometer coding implementation is recommended. To achieve a better balance between linearity and area, as the number of bits in the DAC increases, the DAC implementation is usually split into two smaller DACs: an m1-bit coarse DAC and an m2-bit fine DAC. When the original modulator output x0[k] contains shaped noise, the split coarse x1[k] and fine x2[k], the signal contains unshaped noise and distortion. With an appropriate gain ratio (g DAC1 =2 m2 g DAC2 )Adding the DAC1 and DAC2 outputs cancels these distortion components and restores the noise shaping characteristics. However, in the case of gain error between the two DACs, the noise and distortion from each individual path will leak into the output and cause severe performance degradation.
[0008] The split ΔΣ DAC architecture can use quantization noise cancellation (QNC) techniques to overcome this limitation. By using a second ΔΣ modulator to requantize the original modulator output x0[k] to drive DAC1, the coarse DAC1 control x1[k] now contains a noise shaping component in addition to the signal. Since the signal x2[k] is the difference between the input and output of the ΔΣ modulator, it only represents the shaped quantization noise and does not contain any signal components. Therefore, any spectral leakage due to an inappropriate gain ratio will only result in a noise-shaped signal that contributes little to the in-band energy.
[0009] Similarly, QNC techniques can be used to improve performance and extend the bandwidth of a delta-sigma fractional-N phase-locked loop (FN-PLL). Figure 1 1 shows an analog FN-PLL of the prior art. A phase frequency detector and charge pump (PFD / CP) 102 compares a reference clock REF with a divided clock DIV to control a charge pump that charges a loop filter 104 to generate a control voltage Vc that controls the frequency generated by a voltage controlled oscillator (VCO) 106. The output OUT of the VCO 106 is fed back to a multi-mode divider (MMD) 108 to generate a divided clock DIV. The MMD 108 may be a delta-sigma fractional divider in the feedback path. The VCO 106 generates a frequency F OUT =(N DIV +a DIV )F REF The output signal OUT, where N DIV is a positive integer, a DIV is a fractional value between 0 and 1, and F REF is the frequency of the reference clock signal REF. Fractional-N operation is implemented by dithering the feedback multi-mode divider MMD 108 using the ΔΣ modulator 110, where the dither signal x DIVThe average value of [k] corresponds to the required fractional factor a DIV The ΔΣ fractional divider MMD 108 is similar to a digital frequency converter, where its shaping frequency quantization noise can be cancelled like a ΔΣ-DAC. Here, the quantization noise cancellation path ΔΣ QNC 120 includes an adder 112, a digital accumulator 114 for frequency to phase conversion, and a current DAC 116 to cancel the quantization noise at the charge pump output using an adder 118. In practice, the gain mismatch between the DAC 116 and the signal path through the PFD / CP 102 results in an imperfect QNC.
[0010] Fractional divider quantization noise affects both analog and digital FN-PLLs. QNC techniques for digital FN-PLLs can use a time-to-digital converter (TDC) and a digital-to-time converter (DTC). Even though the cancellation gain path can be accurately calibrated using the least mean square (LMS) technique, each of the PFD / CP signal and DAC noise cancellation paths has different nonlinear characteristics, i.e., p CP (x) and p DAC (x). The nonlinearity of these blocks can severely limit the overall phase noise and spurious performance of the FN-PLL. Similarly, the coarse DAC and fine DAC of the split ΔΣ-DAC architecture can have different nonlinear characteristics, i.e., P DAC1 (x) and p DAC2 (x), and severely degrades the SNDR and SFDR of the entire DAC.
[0011] Nonlinearity in the signal path or noise cancellation path constitutes a bottleneck for achieving high-performance ΔΣ DACs and ΔΣ FN-PLLs. Nonlinearity causes shaped noise and tone folding intermodulation products in the high-frequency region of the multi-bit spectrum into the baseband. In-band distortion products cannot be easily removed by simple linear filters. Reducing the system bandwidth may or may not significantly improve the SNDR and SFDR of the ΔΣ DAC and the phase noise and spurious performance of the ΔΣ FN-PLL. In this case, it is the nonlinearity rather than the quantization noise that limits the performance of the system.
[0012] What is desired is an adaptive nonlinearity identification and compensation technique that can be utilized in the implementation of data converters, PLLs, and frequency synthesizers to achieve improved performance. There is a need for adaptive nonlinearity identification and compensation circuits useful for various analog / mixed-signal / RF integrated circuit (IC) building blocks, including for clock generators, clock and data recovery (CDR), phase interpolators, voltage / current amplifiers, transimpedance amplifiers (TIA), and power amplifiers (PA). BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1A prior art analog FN-PLL is shown.
[0014] FIG. 2A to FIG. 2B The identification and estimation of the integral nonlinearity (INL) error function is shown.
[0015] Figure 3 A block diagram of an adaptive INL identification and compensation scheme using the LMS method is shown.
[0016] Figure 4 is a graph of the kernel of the block pulse set.
[0017] Figure 5 Simulation results of an LMS implementation of a nonlinear identification and compensation circuit are shown.
[0018] Figure 6 Is to show the Figures 4 to 5 Figure 2. Plot of the simulated set-up behavior of the compensation coefficients of the LMS implementation.
[0019] Figure 7 is a diagram showing an example of a Haar kernel.
[0020] Figure 8 An example of the Walsh Hadmard (WH) kernel set is shown.
[0021] Fig. 9 Simulation results of LMS adaptation for nonlinear identification and compensation using the Walsh-Hadamard (WH) kernel set are shown.
[0022] Fig.10 Is to show the Figure 8 and Fig. 9 A plot of the simulated settling behavior of the compensation coefficients for an LMS implementation using the Walsh-Hadamard (WH) kernel set.
[0023] Fig.11 An example of a triangular Walsh-Hadamard (TWH) kernel set is shown.
[0024] Fig.12 Simulation results of LMS adaptation for nonlinear identification and compensation using a triangular Walsh-Hadamard (TWH) kernel set are shown.
[0025] Fig.13 Is to show the Fig.11 and Fig.12 A graph of the simulated settling behavior of the compensation coefficients for an LMS implementation using a triangular Walsh-Hadamard (TWH) kernel set.
[0026] Fig.14is a block diagram of adaptive INL identification and compensation using LMS correlation and a constant piecewise kernel with interpolation.
[0027] Fig.15 The results for N=8 using the Walsh-Hadamard (WH) kernel set and interpolation are shown. Fig.14 Simulation results of LMS adaptive nonlinear identification and compensation.
[0028] Fig.16 The results for N=16 using the Walsh-Hadamard (WH) kernel set and interpolation are shown. Fig.14 Simulation results of LMS adaptive nonlinear identification and compensation.
[0029] Fig.17 The Walsh-Hadamard (WH) kernel set and interpolation are shown for N=32. Fig.14 Simulation results of LMS adaptive nonlinear identification and compensation.
[0030] Fig.18 A digital FN-PLL with TDC-based "digital domain" ΔΣ quantization noise cancellation and adaptive TDC INL identification and compensation is shown.
[0031] Fig.19 is a block diagram of another digital FN-PLL architecture, in which ΔΣ quantization noise cancellation and adaptive INL identification and compensation are performed in the “time domain” using a digital-to-time converter (DTC).
[0032] Fig. 20 is a block diagram of another digital FN-PLL architecture, in which ΔΣ quantization noise cancellation is performed in the “time domain”, while INL identification and compensation are performed in the “digital domain”. DETAILED DESCRIPTION
[0033] The present invention relates to improvements in mixed signal circuits. The following description is presented to enable one of ordinary skill in the art to make and use the present invention as provided in the context of a specific application and its requirements. Various modifications to the preferred embodiments will be apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the specific embodiments shown and described, but should be given the widest scope consistent with the principles and novel features disclosed herein.
[0034] The inventors propose methods and apparatus for identifying and compensating for nonlinearities in precision analog and mixed-signal building blocks such as Δ∑DACs and Δ∑FN-PLLs. In general, any arbitrary memoryless nonlinearity of a given circuit block can be described as a function p(x) of its input signal x, where x is defined in a closed region x∈[-x p , +xp ] on. In the context of a DAC, the input is a discrete-time digital signal x[k], and the nonlinear function p(x) represents the DAC integral nonlinearity (INL). This INL function essentially defines the deviation of the DAC from its ideal linear behavior. For a completely linear DAC, for any input x, p(x) = 0.
[0035] FIG. 2A to FIG. 2B The identification and estimation of the integral nonlinearity (INL) error function is shown. Figure 2A is a graph showing an example of a best fit straight line INL function p(x) of a DAC. Conceptually, if the inventors can accurately identify the harmful nonlinear function p(x), the inventors can compensate for it based on an approximate synthetic compensation function q(x), such as Figure 2B The compensation signal is subtracted from the output of the nonlinear block y[k] The nonlinearity is mitigated. Conceptually, Figure 2B As shown, adder 136 accurately subtracts the synthesized compensation function q(x) generated by q(x) function generator 134 from the nonlinear function p(x) of the DAC, shown as nonlinear function p(x) generator 132.
[0036] INL identification and compensation 140 also includes an adaptive INL estimator 138 that uses the output of adder 136 R [k] and the input signal x[k] to estimate the error and accordingly control the q(x) function generator 134. The INL function p(x) generator 132 represents the deviation from a linear output by a mixed signal component such as a DAC.
[0037] In practice, the nonlinear function p(x) can vary significantly with power supply and temperature variations. Therefore, techniques that use factor fine-tuning or power-on calibration to describe the compensation function may not be sufficient. For example, the temperature may change as the system warms up after the initial calibration. The goal here is to adaptively synthesize the nonlinear compensation function q(x) to accurately and robustly eliminate the effects of the INL function p(x) over process, power supply, and temperature (PVT) variations. To this end, the inventor's nonlinear identification and compensation scheme detects the residual error after compensation to adaptively construct the compensation function q(x). The complexity of constructing such an adaptive nonlinear identification and compensation system can be reduced by how the inventor constructs the compensation function and how its coefficients are adjusted. This construction method can be consistent with the inventor's model to represent the nonlinear function p(x).
[0038] Nonlinear Representation
[0039] Continuous static nonlinearity is usually represented by an N-th power series given by:
[0040]
[0041] where c i represents the real-valued polynomial coefficients. c can be estimated using cross-correlation techniques i coefficients, which is very expensive in terms of hardware implementation, especially as the order of the polynomial increases. In practice, implementations of this polynomial modeling and estimation technique are limited to a small number (2 or 3) of terms.
[0042] Alternatively, the inventors use an orthogonal basis function or kernel φ i (x) to represent the complete set of linear combinations in the closed region x∈[-x p , +x p ] is any arbitrary unknown static nonlinear function p(x) defined on .
[0043]
[0044] Among them, c i denotes the i-th coefficient of the corresponding kernel. The orthogonal series method offers some interesting advantages over the power series method and enables a simpler yet accurate compensation scheme, which will be shown later. This is based on the orthogonal property of the base kernel. A kernel φ is said to be i (x) in the interval -x p ≤x≤+x p is orthogonal:
[0045]
[0046] where A is a constant. If the range of x is a discrete set (i.e., from -M / 2 to +M / 2-1 quantization or M levels of digital representation), then the complete set of orthogonal kernels consists of a finite number of M kernels:
[0047]
[0048]
[0049] For the remainder of this disclosure, the inventors consider x as a discrete-time signal with discrete amplitudes (M values). Without loss of generality, all forthcoming equations and analyses are valid and readily applicable when x has continuous amplitude (M→∞).
[0050] The compensation function q(x) is also represented by an orthogonal kernel. In practice, only a limited number (N≤M) of kernels can be used to implement q(x):
[0051]
[0052] in, represents the i-th compensation coefficient of the corresponding kernel.
[0053] Optimal compensation factor
[0054] Difference R (x) = p(x) - q(x) represents the residual compensation error caused by the incomplete representation, which is the smallest in the sense of least squares. Where MSE is the residual mean square error after compensation. It is defined as:
[0055]
[0056] Adaptively select in the background coefficients to track the changes in the nonlinear function p(x) throughout the PVT changes. The following analysis is given to show that the best coefficient values to minimize the MSE are to assume that the input signal x[k] has a uniform distribution of amplitude values from -M / 2 to +M / 2-1. This assumption is consistent with the type of signals encountered by the inventors in the Δ∑QNC scheme. The real-time error signal can be expressed as:
[0057]
[0058] Let {k1, k2, ..., k L} represents L different discrete time instances. Then, the inventors can use vector notation to describe the input signal, output signal, compensation signal and error signal as 1×L vectors as follows:
[0059] X=[x[k1],x[k2],...,x[k L ]] T (9)
[0060] Y=[y[k1],y[k2],...,y[k L ]] T (10)
[0061]
[0062] E R =[e R [k1],e R [k2], ..., e R [k L ]] T (12)
[0063] where T is the transposition operator. Similarly, the inventors can convert the coefficients Described as 1×N vectors, and the orthogonal kernel as N×L matrix:
[0064]
[0065]
[0066] Then, the compensation vector and the error vector can be expressed as:
[0067]
[0068]
[0069] The inventors define the cost function ε to be minimized as:
[0070] ε=E R T E R (17)
[0071] Then, by setting ε relative to The derivative of is 0, The best way to minimize ε is as follows:
[0072]
[0073]
[0074] The inventors can clearly see that the error minimization process depends mainly on the autocorrelation matrix product Φ T Φ. For a uniformly distributed input vector X, and due to the orthogonality of the kernel (see Eq. (5)), the autocorrelation matrix product Φ T Φ can be simplified to the identity matrix I multiplied by a constant A:
[0075]
[0076] Then, The best can be expressed as:
[0077]
[0078] In standard form, the optimal compensation coefficient for minimizing the MSE is
[0079]
[0080] In other words, the optimal compensation factor Represents the nonlinear function p(x) in the orthogonal kernel φ i Projection on (x):
[0081]
[0082] Adaptive nonlinear compensation using LMS technology
[0083] Orthogonality helps avoid the extremely expensive matrix inversion operation (Φ T Φ) -1 But in practice, by calculating Φ T It is still not obvious to find the optimal compensation coefficients in a background manner using Y, since the inventors may not have easy access to the signal y[k] in digital format. Alternatively, the inventors may use the compensated residual error signal e R [k] adaptively constructs the compensation function q(x). It is best to use the steep descent method to iteratively search for the optimal solution. From the initial guess Starting from, and using the slope of the cost function, the inventors can improve it in a recursive manner until they finally converge to the optimal as follows:
[0084]
[0085] where μ is the step size parameter. The error signal of equation (5) can be expressed using the kernel as:
[0086]
[0087] The second error term is due to the incomplete kernel representation (i.e., N < M). Due to the orthogonality of the kernel (see Eq. (5)), the non-orthogonal terms will be averaged out and the expected value Φ T E R It can be approximately reduced to:
[0088]
[0089] This clearly shows that the iterative process will continue until the compensation coefficient Converges to the nonlinear coefficient c of p(x) representing equation (4) i For simplicity, we use the variable x i [k] = φ i (x[k]) and e R The instantaneous approximation of [k] is used to form the least mean square (LMS) algorithm. The LMS adaptive technique is chosen because of its low computational complexity. The coefficient update of equation (24) can be rewritten as:
[0090]
[0091] When e R [k] and x i [k] LMS is valid when both are zero-mean signals (i.e., have no DC component).
[0092] Figure 3 A block diagram of an adaptive INL identification and compensation scheme using the LMS method is shown. Assume that the function p(x) generator 132 represents the nonlinear error produced by an m-bit DAC, and the range of x is M=2 m The cancellation signal generated by INL identification and compensation 140 is subtracted from the error output by function p(x) generator 132 using adder 136 To generate the residual error e R [k].
[0093] INL identification and compensation 140 has N paths. The first path for N=1 has kernel block 141, which generates x1[k] and multiplies x1[k] with the residual error e using multiplier 171. R [k] are multiplied and accumulated in accumulator 181. Multiplier 151 is used to make the accumulated output It is multiplied by the output x1[k] of the kernel block 141 and then added to the products from the other kernel blocks 142, ... 144 via summers 161, 162, ... 164 to generate the cancellation signal
[0094] The input signal x[k] passes through N kernel blocks 141, 142, ... 144 to generate x i [k] = φ i The (x[k]) signals are then scaled by corresponding coefficients using multipliers 151, 152, ... 154 and aggregated to synthesize the cancellation signal Accumulators 181, 182, ... 184 receive scaled inputs from multipliers 171, 172, ... 174 to generate corresponding coefficients
[0095] Choice of orthogonal kernel
[0096] Conceptually, any complete set of orthogonal kernels can be used to represent p(x) and construct q(x). In practice, a finite number of N kernels are used. The choice of kernel set may have a definite impact on the compensation MSE. Increasing N is equivalent to making the granularity of the input signal x to the kernel finer. The correct choice of kernel set is very important to actually implement the compensation function in an efficient manner while ensuring a small MSE that meets the target specification.
[0097] For example, the most famous orthogonal representation, Fourier series, uses sine and cosine kernels. In practice, the implementation of sine and cosine kernels leads to extremely complex implementations and very large MSE when N ≤ M. Other non-sinusoidal representations can be divided into polynomial kernels and piecewise kernels. Classical orthogonal polynomial kernels such as Laguerre polynomials, Hermite polynomials, and Jacobi polynomials (including Legendre, Chebyshev, Gegenbauer polynomials) are difficult to implement in practice due to the large number of multiplication and accumulation operations involved.
[0098] On the other hand, piecewise kernels can provide a simpler implementation. The simplest set of piecewise kernels is based on block pulse functions. A block pulse (BP)N kernel set can be defined using:
[0099]
[0100] Where i=1, 2,…,N. Figure 4 is the kernel graph of the block pulse set. Figure 4 In the example of , for the BP orthogonal kernel set, N = 8. For the input x in the range between -512 and +512, there are 8 sequences of non-overlapping pulses, labeled φ1[LSB] to φ8[LSB].
[0101] In a discrete sense, the BP kernel can be represented by the identity matrix I. Figure 5 shows the simulation results of the LMS implementation of the nonlinear identification and compensation circuit. This simulation was performed using Figure 4 The BP kernel set in is for a 10-bit DAC with a fifth-order INL characteristic p(x) with a 0.1 LSB random standard deviation. The difference e(x) = p(x) - q(x) represents the residual error due to the finite number of kernels (N = 8 ≤ M = 1024) used in constructing q(x). It can be clearly seen how q(x) is constructed from different segments - curve 188, each segment representing a block pulse. The compensation coefficient represents the weight assigned to each block pulse to minimize the MSE, which is the average of the corresponding segment of p(x) along curve 186. Curve 190 shows that the error e(x) varies from about +4 to -7, except for an initial excursion to +10 near -512. In steady state, the root mean square (RMS) of this error e(x) is about 2.50 LSB.
[0102] Figure 6 Is to show the Figures 4 to 5 Figure 2 shows the simulated settling behavior of the compensation coefficients of the LMS implementation. There are N = 8 kernels generating Figure 4 The 8 blocks of pulses and Figure 5The error function e(x) is shown in Fig. 1. Curves 192, 194, 196, 198, 200, 202, 204, and 206 respectively show the optimal compensation coefficients. After a settling time of about 1500 microseconds, the coefficients remain relatively constant.
[0103] The reduced complexity of the BP kernel allows in practice to increase the number of kernels to N = 16 or N = 32. With N = 16, the RMS error can be reduced to 1.29 LSB. However, the BP kernel has a major disadvantage. The LMS adaptation of the BP kernel may be R [k] signal is sensitive to any offset or flicker noise. This is because all BP kernels and the corresponding generated x i [k] signals all have a DC component and in e R [k] and x i LMS is valid when both [k] are zero-mean signals (i.e., no DC component) (see equation (27)). To overcome this limitation, a constant piecewise kernel using a Haar function can be used, where only one kernel accounts for the DC component. The Haar function has three possible states 0 and ±a, where a is set to normalize the amplitude of each kernel to satisfy equation (5).
[0104] Figure 7 is a diagram showing an example of a Haar kernel. For an input x ranging between -512 and +512, this set of orthogonal Haar kernels has N=8 kernels, labeled φ1[LSB] to φ8[LSB]. The first kernel φ1[LSB] sets the DC component, while the other 7 kernels have both high +a and low -a segments. The last 6 kernels have high, low, and zero value 0 segments, and all 7 kernels φ2[LSB] to φ8[LSB] average to zero over the entire range.
[0105] Walsh functions can also be used to construct a set of constant piecewise kernels, where only one kernel accounts for the DC component. The Walsh function uses only two possible states ±1 to form a complete orthogonal set. It has a striking similarity to the sine-cosine function, mainly about their zero-crossing patterns. In a discrete sense, the Walsh kernel is represented by an N×N matrix of a Walsh Hadamard (WH) code. In general, the WH matrix WH(n0) can be generated using the following recurrence relationship:
[0106]
[0107] Where WH(0)=1 and n=log2N.
[0108] Figure 8An example of a Walsh-Hadamard (WH) kernel set is shown. This orthogonal kernel set is arranged in natural order and has N=8. The set consists of N / 2 even kernels (kernels φ1[LSB], φ4[LSB], φ6[LSB], and φ7[LSB]) and N / 2 odd kernels (kernels φ2[LSB], φ3[LSB], φ5[LSB], and φ8[LSB]). The DC component is set by the first kernel φ1[LSB]. Only in differential systems where even-order distortion and nonlinearity are inherently suppressed can odd kernels be used to exploit this parity feature to represent and compensate for nonlinearity accordingly.
[0109] Fig. 9 shows the simulation results of LMS adaptation for nonlinear identification and compensation using the Walsh-Hadamard (WH) kernel set. This simulation is for Figure 8 A 10-bit DAC with a fifth-order INL characteristic p(x) of the WH kernel set with a 0.1 LSB random standard deviation. The difference e(x) = p(x) - q(x) represents the residual error due to the finite number of kernels (N = 8 ≤ M = 1024) used in constructing q(x). In this case, q(x), i.e., curve 214, is constructed by the weighted summation of different kernels that simulate the segment of p(x) along curve 212.
[0110] Curve 216 shows that the error e(x) varies from about +4 to -7, except for an initial excursion to +10 near -512. In steady state, the root mean square (RMS) of this error e(x) is about 2.50 LSB.
[0111] Fig.10 Is to show the Figures 8 to 9 Graph of the simulated settling behavior of the compensation coefficients for an LMS implementation using the Walsh-Hadamard (WH) kernel set. There are N = 8 kernels generating Figure 8 The 8 blocks of pulses and Fig. 9 The error function e(x) is obtained by calculating the error function of the error function. Curves 222, 224, 226, 228, 230, 232, 234 and 236 respectively show the optimal compensation coefficients. After a settling time of about 1500 microseconds, the coefficients remain relatively constant.
[0112] Similar to the BP kernel, the reduced complexity of the WH kernel allows the number of kernels to be increased to N = 16 or N = 32 in practice. With N = 16, the RMS error can be reduced to 1.29 LSB. However, the residual error is still large and may not meet the target compensation accuracy.
[0113] Triangular Segment Kernel
[0114] To improve the compensation, the inventors modified the WH kernel to a set of linear piecewise kernels that use a triangular waveform as opposed to the rectangular waveform of the WH kernel. The inventors call the new set Triangular Walsh-Hadamard (TWH).
[0115] The proposed TWH representation provides a more accurate and simpler representation than the prior art piecewise linear approach using a simple canonical piecewise linear (SCPWL) function. The proposed THW linear piecewise representation significantly improves the compensation accuracy compared to the piecewise constant of the aforementioned kernel, since now each segment can be represented by a linear function, thus greatly reducing the RMS error. The TWH kernel provides a very simple sine / cosine implementation like the kernel.
[0116] Fig.11 An example of a triangular Walsh-Hadamard (TWH) kernel set is shown. The orthogonal kernel set is arranged in natural order and has N=8. The set consists of N / 2 even kernels ((φ1[LSB], φ4[LSB], φ6[LSB]) and N / 2 odd kernels (kernels φ2[LSB], φ3[LSB], φ5[LSB], and φ8[LSB]). The DC component is set by the first kernel φ1[LSB]. Only in differential systems where even-order distortion and nonlinearity are inherently suppressed can odd kernels be used to exploit this parity feature to represent and compensate for nonlinearity accordingly.
[0117] Fig.12 The simulation results of LMS adaptation for nonlinear identification and compensation using the triangular Walsh-Hadamard (TWH) kernel set are shown. Fig.11 A 10-bit DAC with a fifth-order INL characteristic p(x) of a triangular Walsh-Hadamard (TWH) kernel set with a 0.1 LSB random standard deviation. The difference e(x) = p(x) - q(x) represents the residual error due to the finite number of kernels (N = 8 ≤ M = 1024) used in constructing q(x). In this case, q(x), i.e., curve 244, is constructed by the weighted summation of different kernels that simulate segments of p(x) along curve 242.
[0118] Curve 246 shows that the error e(x) varies from about +2 to -2, and no longer has an initial excursion to a high value around -512, as in the case of the other kernels. Figure 5 and Fig. 9 In steady state, the root mean square (RMS) of this error e(x) is about 0.65 LSB. Using TWH compared to WH, for N=8, the result is more than 4 times improvement. Figure 5 The error curve 190 and Fig. 9Compared to the curve 216 of , the curve 246 is flatter, showing a lower error. Using the inventor's TWH kernel greatly reduces the error compared to the WH and BP kernels.
[0119] Fig.13 Is to show the Figure 11 to Figure 12 Figure 2 shows the simulated set-up behavior of the compensation coefficients for the LMS implementation using the triangular Walsh-Hadamard (TWH) kernel set. There are N = 8 kernels generating Fig.11 The 8 blocks of pulses and Fig.12 The error function e(x) is obtained by calculating the error function of the error function. Curves 252, 254, 256, 258, 260, 262, 264 and 266 respectively show the optimal compensation coefficients. After a settling time of about 1500 microseconds, the coefficients remain relatively constant.
[0120] Constant piecewise kernel with interpolation
[0121] The inventors' linear piecewise kernel, namely triangular Walsh-Hadamard (TWH), greatly reduces the compensation MSE compared to piecewise kernels such as BP and WH. However, the TWH kernel has a scalability problem, because the implementation complexity of the TWH kernel grows rapidly with a large number of accumulation and multiplication operations as the number of kernels increases. Therefore, in practice, increasing the number of THW kernels beyond N=8 may not be effective. In order to break this trade-off between compensation accuracy and implementation complexity, in addition to linear interpolation, the inventors also utilize very simple constant piecewise kernels such as BP, Haar or WH to achieve the same compensation accuracy as TWH, but with a simpler and scalable implementation.
[0122] Fig.14 is a block diagram of adaptive INL identification and compensation using LMS correlation and interpolation with a constant segment kernel. In this embodiment, instead of generating the compensation signal y[k] by passing the input signal x[k] directly to the kernel, the compensation function q is constructed using the compensation function constructor 312. LUT (x) and stored in memory or in a look-up table (LUT) 314, the input x[k] is split into the coarse (MSB) signal, x C [k]=[x[k]×2 -(m-n) ] and the thin (LSB) signal, x F [k] = x[k] - x C [k]×2 (m-n) , where [·] is the floor operator. The most significant bit (MSB) x c [k] has a width of n bits and is used as the address of LUT 314 to find the address for the corresponding q x [k] = q LUT (xC [k]) and q x+1 [k] = q LUT (x C [k]+1) output LUT entry. Compensation signal By the difference between qx[k] and q x+1 [k] is generated by an interpolator 316 as follows:
[0123]
[0124] The interpolation process makes the final compensation function q(x) smooth. The compensation function constructor 312 can directly construct q using the inverse matrix and dot product operations. LUT (x) and routinely update the LUT 314 to track PVT changes. Since PVT tracking is a slow process, by adding decimation filters 301, 302, ..., 304 on the outputs of the accumulators 291, 292, ..., 294 in the LMS correlator 320, the inverse matrix calculations and LUT updates can be done at a rate much slower than the input sampling rate.
[0125] For the BP kernel, the kernel matrix is the identity matrix, which means that its inverse is also the identity matrix, so the coefficients can be directly expressed as q LUT (x). For the WH kernel, a fast inverse WH transform (iWHT) can be used to convert the coefficients Construct q LUT (x). A compensation function constructor 312 using iWHT receives the outputs of the decimation filters 301, 302, ..., 304 and generates an update to the LUT 314. The fast iWHT algorithm is similar to the well-known inverse fast Fourier transform (iFFT). Fast iWHT is much more efficient and faster to compute than iFFT because it uses only ±1 states in its kernel representation, so each operation can involve only additions and subtractions compared to the complex and expensive multiplication operations used in iFFT calculations.
[0126] Assume that the function p(x) generator 132 represents the nonlinear error generated by an m-bit DAC, and the range of x is M=2 m The cancellation signal generated by INL identification and compensation 322 is subtracted from the error output by function p(x) generator 132 using adder 136 To generate the residual error e R [k].
[0127] INL identification and compensation 322 has N paths. The first path for N=I has kernel block 271, which generates x1[k] and multiplies x1[k] with the residual error e using multiplier 281. R [k] multiplied. The multiplier outputs e LMS1 [k] is accumulated by accumulator 291 and decimated by decimation filter 301 to produce a first input to compensation function constructor 312,
[0128] The input signal x[k] passes through the N kernel blocks 271, 272, ..., 274 in the kernel 318 to generate x i [k] = φ i (x[k]) kernel signal, and then multipliers 281, 282, ..., 284 are used to convert x i [k] Residual error e R [k] are multiplied and accumulated by accumulators 291, 292, ..., 294 and extracted by decimation filters 301, 302, ..., 304 and input to compensation function constructor 312. LUT 314 is updated by compensation function constructor 312 so that PVT adjustment is performed on the LUT interpolation to synthesize the cancellation signal
[0129] Fig.15 shows the use of the Walsh-Hadamard (WH) kernel set and interpolation Fig.14 Simulation results of LMS adaptation for nonlinear identification and compensation of . This simulation is for a 10-bit DAC with a fifth-order INL characteristic p(x) using a WH kernel set (N=8) and interpolation with 0.1LSB random standard deviation.
[0130] Use as Fig.14 The interpolation shown and the updating of LUT 314 constructs curve 334, q(x), from the nonlinear error function p(x) shown in curve 332. Curve 334 closely follows curve 332, so q(x) is close to p(x), resulting in a low error, curve 336.
[0131] Curve 336 shows that the error e(x) varies from about +2 to -3. In steady state, the RMS value of the error e(x) - curve 336 - is about 0.66 LSB. The compensation accuracy is improved by about 4 times compared to the WH without interpolation, and is about the same as the compensation accuracy of the TWH (IV=8).
[0132] Fig.16 The results for N=16 using the Walsh-Hadamard (WH) kernel set and interpolation are shown. Fig.14Simulation results of LMS adaptation of nonlinear identification and compensation. Curves 342 and 344 match more closely, resulting in error curve 346 remaining close to zero. In the case of N=16, the RMS error can be reduced to 0.19LSB. Compared with WH without interpolation, the compensation accuracy is improved by about 5 times.
[0133] Fig.17 The Walsh-Hadamard (WH) kernel set and interpolation for N=32 are shown. Fig.14 Simulation results of LMS adaptation of nonlinear identification and compensation. Curves 352, 354 match more closely, causing error curve 356 to become almost flat. In the case of N=32, the RMS error can be reduced to 0.11LSB. This is very close to the limit of 0.1LSB random variation in p(x).
[0134] application
[0135] In this section, the inventors present some examples for the application of the proposed adaptive INL identification and compensation technique.
[0136] Fig.18 A digital FN-PLL with TDC-based "digital domain" ΔΣ quantization noise cancellation and adaptive TDC INL identification and compensation is shown. The time-to-digital converter (TDC) 362 measures the time difference between the reference clock REF and the divided feedback clock DIV. The multi-mode divider (MMD) 108 generates the divided feedback clock DIV using dithering.
[0137] TDC 362 outputs digital word e TDC [k] After the error terms are subtracted by adders 368, 370, the digital loop filter 364 digitally filters the output of TDC 362. The digital loop filter 364 generates a multi-bit digital control word D C [k], which drives the digitally controlled oscillator (DCO) 366 to achieve phase and frequency lock in the loop.
[0138] By using m1 to position x DIV The [k] dither MMD 108 generates a fractional-N operation by truncating an m-bit (m>m1) frequency control word x[k] using a digital ΔΣ modulator 110. An adder 112 subtracts the frequency control word x[k] from the output of the ΔΣ modulator 110 to generate an m2-bit quantization error, which is accumulated by an accumulator 114.
[0139] The output e of the accumulator 114 is TDC [k] is applied to the gain calibrator 376, which produces the gain adjustment y G [k], the gain adjustment y is subtracted from the PLL loop by adder 368G [k]. The gain calibrator 376 uses the LMS correlator 372 to convert the accumulated quantization error e TDC [k] is associated with the input to the digital loop filter 364, the residual error e R [k], using multiplier 374 to combine the output of the LMS correlator with the accumulated quantization error e TDC [k] to produce the gain adjustment y G [k].
[0140] INL identification and compensation 322 also receives the accumulated quantization error e from accumulator 114. TDC [k]. Kernel 318, LMS correlator 320, and compensation function constructor 312 operate on inputs from accumulator 114 to produce updates to entries in LUT 314, as previously described for Fig.14 The input from accumulator 114 is split into MSB and LSB portions, where the MSB is applied as the address input to LUT 314 and the LSB controls interpolator 316 to interpolate between two consecutive entries in LUT 314. Interpolator 316 produces an interpolated adjustment y INL [k], which is subtracted from the PLL loop by adder 370.
[0141] Both the LMS correlator 320 in the INL identification and compensation 322 and the LMS correlator 372 in the gain calibrator 376 receive the residual error e input to the digital loop filter 364. R [k] The output OUT of DCO 366 is fed back to multi-mode divider (MMD) 108 to generate divided clock DIV. MMD 108 can be a delta-sigma fractional divider in the feedback path. DCO 366 generates a frequency F OUT =(N DIV +α DIV )F REF The output signal OUT. Where N DIV is a positive integer, a DIV is a fractional value between 0 and 1, and F REE is the frequency of the reference clock signal REF. Fractional-N operation is achieved by dithering the feedback multi-mode divider MMD 108 using the ΔΣ modulator 110, where the average value x of the dithered signal is DIV [k] corresponds to the desired fractional factor a DIV .
[0142] The m2-bit quantization error is filtered by the low-pass filtering characteristics of the PLL. However, it is well known that PLLs suffer from bandwidth tradeoff conflicts. For example, a large bandwidth is required for DCO phase noise suppression, while a low bandwidth is required to effectively suppress the Δ∑ quantization noise error. Given these tradeoffs, the effect of the Δ∑ quantization noise error on the output phase noise can be reduced by eliminating it at the output of the TDC. The effectiveness of this approach depends heavily on the gain and nonlinear characteristics of the TDC.
[0143] Although gain calibration using FMS-related techniques has been reported in the prior art, it is not sufficient to fully suppress the ΔΣ quantization noise error to the level required by many applications. When the fractional divider is dithered by a first-order ΔΣ modulator, the dynamic range of the TDC362 must be at least as large as one DCO cycle, and several DCO cycles are required for higher-order ΔΣ modulators. Increasing the TDC dynamic range will severely degrade its linearity performance. Fig.18 The nonlinear identification and compensation circuit accurately estimates and compensates the TDC nonlinearity at its output and greatly improves the accuracy of ΔΣ quantization noise elimination.
[0144] Fig.19 FIG. 1 is a block diagram of another digital FN-PLL architecture in which delta-sigma quantization noise cancellation is performed in the “time domain” using a digital-to-time converter (DTC). Using the main DTC 382 and the compensation DTC in the feedback path C 384 is used to remove the quantization noise at the output of the fractional divider MMD 108. Therefore, the dynamic range requirement of the TDC 362 is greatly reduced. The DTC gain is calibrated by the gain calibrator 376 using the LMS correlation technique and subtracted from the loop by the DTC 382. Similarly, INL compensation is performed by the INL identification and compensation 322 to produce an interpolated adjustment y INL [k], the adjustment is made by compensating DTC C 384 is subtracted from the PLL loop. The components and functions of INL identification and compensation 322, gain calibrator 376, and delta-sigma modulator 110 are as previously described for Fig.18 described.
[0145] DTC 382 and DTC C 384 can be any digitally controlled delay element, such as a digitally controlled delay line, a voltage-controlled delay line with a DAC, a phase rotator, a phase interpolator, a multi-phase generator with a phase selector, a multi-phase delay locked loop (DLL) with a programmable delay or phase selector.
[0146] However, the effectiveness of this approach is also limited by DTC nonlinearity. This embodiment of the adaptive DTC INL identification and compensation scheme uses narrow range linear compensation (DTCC ) compensates the DTC INL in the “time domain”. As a result, it greatly improves the accuracy of the ΔΣ quantization noise cancellation, resulting in ultra-low noise and spurs at the synthesizer output.
[0147] Fig. 20 is a block diagram of another digital FN-PLL architecture, in which ΔΣ quantization noise cancellation is performed in the "time domain" and INL identification and compensation is performed in the "digital domain". In this hybrid implementation, INL identification and compensation 322 causes interpolator 316 to produce an interpolated adjustment y INL [k], which is subtracted from the PLL loop by adder 370. The interpolated adjustment y INL [k] is a multi-bit digital value, as is the input to the digital loop filter 364 and the input to the DCO 366. INL compensation occurs in the "digital domain" at the TDC output. The operation of INL identification and compensation 322 is as follows: Fig.18 shown.
[0148] Gain calibrator 376 is as follows Fig.19 The DTC gain is calibrated by the gain calibrator 376 using the LMS correlation technique and subtracted from the loop by the DTC 382. This gain calibration is subtracted from the PLL loop after being converted to the "time domain" by the DTC 382.
[0149] Alternative Implementations
[0150] The inventors contemplate several other implementations. For example, many types and arrangements of analog detectors, filters, oscillators, adders, DACs and digital processors, functional units, logic gates and logic structures are possible. Various encodings, transformations and changes to data and signals may be performed at different stages for various reasons. Functional units, blocks and other components may be shared and used for several purposes. Various initialization and startup processes or circuits, or power-down circuits and procedures may be added.
[0151] Some embodiments disclosed herein are applicable to any ΔΣ FN-PLL, such as analog, digital or hybrid. FN-PLL can be used for frequency synthesis, phase modulation and demodulation, clock generation, clock and data recovery, jitter attenuator and phase synchronization. The output clock OUT can be transmitted with data encoding. Some embodiments proposed in this disclosure are particularly suitable for applications with strict phase noise and spurious performance requirements.
[0152] It can be in the time domain or the digital domain or in a format such as Fig. 20The combination shown adds error correction or adjustment to the loop. Various conversions can be performed between domains. Compensation can be performed in the time domain, digital domain, voltage domain, or current domain, and in various locations of the PLL or other loops, networks, or circuits. The function p(x) generator 132 has been described as representing a nonlinear error generated by an m-bit DAC. However, the error may be generated by a DTC (digital time converter) or a PI (phase interpolator), where the input signal is in digital form and the output is in the form of voltage, time, phase, or other signals. In general, similar concepts and techniques can be applied to other analog circuits, such as ADCs (analog-to-digital converters), although modifications may be added because the ADC input signal is analog rather than digital. Therefore, the core blocks 141, 142, ..., 144 then process the analog input signal (voltage, time, phase, etc.) to generate x i [k] signal. Using a constant segmentation kernel such as BP, HAL, or WH, this implementation can still use simple comparators. This can be a significant advantage when using the inventors' constant segmentation and interpolation method in ADCs and other mixed-signal or analog circuits.
[0153] The DTCs 382, 384 may be any digitally controlled delay element, such as a digitally controlled delay line, a phase rotator, or a phase interpolator. The TDC 362 may compare the phases of REF and DIV and directly generate a multi-bit digital value, or may use a charge pump to generate an analog voltage that is then converted to a digital value by the ADC.
[0154] A digital signal processor (Δ∑P) can be used for certain functions. Δ∑P can be part of a larger system controlled by a central processing unit (CPU), which can have a microprocessor, signal processing block, circuit or other enhancement device that controls Δ∑P, such as a pipeline for processing signals. The CPU can execute instructions stored in a memory to perform operations. Inputs, outputs, and intermediate results can be stored in one or more memories. Data signals converted to digital values can be stored in a memory for processing by a CPU or Δ∑P, which can use a lookup table or a dedicated processor or data pipeline to accumulate values, perform modulation, perform kernel operations, LMS correlation, compensation function constructor, fast iWHT, interpolation, multiplication, and addition / subtraction. A general programmable Δ∑P can be used for prototype development, and then a faster Δ∑P with dedicated hardware can be used for production. Special or customized Δ∑P blocks and other hardware can be used for some or all components, while a more general Δ∑P can be used for other components, especially non-speed-critical blocks. A field programmable gate array (FPGA) or other semi-custom block may also be used, initially for prototypes and later for production devices. The present invention may also be implemented by an application specific integrated circuit (ASIC) design or other implementation. A mixed signal IC including a PLL block and a Δ∑P block may be used for gain calibration and INL identification and compensation. The device may be digitally reprogrammable, for example to support various operating modes, initialization, testing, different bit widths of digital signals, different operating speeds, clock speeds, division factors for feedback dividers, etc.
[0155] Many embodiments of the nonlinear identification and compensation techniques described herein can be generally applied to many analog / mixed-signal / RF integrated circuit (IC) building blocks, including but not limited to clock generators, clock and data recovery (CDR), phase interpolators, voltage / current amplifiers, transimpedance amplifiers (TIAs), and power amplifiers (PAs).
[0156] Additional components such as resistors, capacitors, inductors, transistors, additional buffering, etc. may be added at different nodes, and parasitic components may also be present. Enabling and disabling circuits may be implemented using additional transistors or in other ways. Transmission gate transistors or transmission gates may be added for isolation. Filters may be added. Although a fast iWHT process has been described, other inverse transforms may be substituted or altered. For example, fast Fourier transforms and inverse Fourier transforms may be used, particularly during the design and prototyping phases, and then the complexity for iWHT may be reduced.
[0157] Kernel coefficients can be set adaptively or non-adaptively The coefficients can be set using preset values under manual or computer or program control. At other times, the coefficients can be adaptively generated using an LMS correlator. The LMS correlator can only be used at startup and later when the residual error is below a certain threshold or turned off after a preset period of time. The LMS correlator can be turned on again after a predetermined period of time to track temperature and supply voltage changes. The LMS correlator can be turned on again after the residual error is above a certain threshold. Therefore, adaptive coefficient generation can only be used at startup or when the residual error is large, where the coefficients stored in the lookup table remain unchanged when the LMS correlator is turned off. The orthogonal core generator and compensation function constructor and other related blocks can also be turned off when the LMS correlator is turned off. Some PLL blocks can be implemented in the digital domain, the analog domain, or the time domain. For example, in Fig.19 In FIG. 1 , loop filter 364 has been described as a digital domain block. Loop filter 364 receives the phase error e R [k], and generates a digital control value D C [k] to control the oscillation frequency of DCO 366. OUT, DIV, and REF are clocks with phase information, represented by the relative phase offset of their rising clock edges. However, TDC 362, digital loop filter 364, and DCO 366 can be replaced by their analog domain equivalents, such as Figure 1 The phase frequency detector and charge pump PFD / CP 102 of the VCO 106 generate analog control voltages to control the loop filter 104 of the VCO 106. The digital values for gain adjustment from the gain calibrator 376 and INL adjustment from the INL identification and compensation 322 can be converted to analog values and can be combined by one or more adders (e.g. Figure 1 The time domain error at the loop filter input or at another location can be converted into a phase error e R The numeric value of [k].
[0158] In another alternative, the TDC 362 includes a charge pump and an analog-to-digital converter (ADC). In this alternative, the TDC 362 measures the time or phase difference between the rising edges of the clocks REF, DIV, and activates the charge pump to charge or discharge the capacitor in the TDC 362. The capacitor voltage is then converted by the ADC to a digital value that is input to the loop filter 364 or one of the adders 368, 370.
[0159] In yet another embodiment, TDC 362 may be a PFD / CP 102 without a capacitor or ADC. Then, loop filter 364 may be an analog capacitor (loop filter 104) with an ADC that converts the capacitor voltage V C Convert to digital control value DC [k] to control the oscillation frequency of DCO 366. Other combinations and variations are possible.
[0160] Although least mean squares (LMS) has been described, other steepest gradient methods may be substituted, such as recursive least squares (RLS) and modifications of LMS, RLS, or other methods.
[0161] Although separate subtractors 368, 370 have been shown connected in series, the subtractors may be connected in series, or the two adjustments may be summed first and then the sum of the adjustments subtracted in just a single subtractor in the PLL loop.
[0162] It is said that the kernel φ i (x) in the interval -x p ≤x≤+x p is orthogonal if the kernel φ i (x) Satisfy:
[0163]
[0164] Where A is a constant. The orthogonal kernel can be defined using equation (3).
[0165] The + and - inputs to adder 112 may be inverted.
[0166] The orthogonal kernel generator can generate a complete set or an incomplete set of orthogonal kernels. The orthogonal kernel generator can generate a polynomial kernel, a linear piecewise kernel, or a constant piecewise kernel. The polynomial kernel can include Lagrange polynomials, Hermite polynomials, and Jacobi polynomials, such as Legendre polynomials, Chebyshev polynomials, and Gegenburg polynomials. The constant piecewise kernel can include block pulse (BP), Haar, and Walsh Hadamard (WH) kernels. The WH kernel set includes a kernel having a non-zero constant DC bias, while the other WH kernels have a net zero DC bias within the range of the input signal, and each kernel can have only two output values. The linear piecewise kernel includes a triangular Walsh Hadamard (TWH) kernel. The TWH kernel set includes a kernel having a constant DC bias, while the other TWH kernels have a net zero DC bias within the range of the input signal.
[0167] The background section of the present invention may contain background information about the problem or environment of the present invention rather than describing prior art by others. Therefore, the inclusion of materials in the background section is not an admission by the applicant that the applicant is prior art.
[0168] Any method or process described herein is machine-implemented or computer-implemented and is intended to be performed by a machine, computer or other device, and is not intended to be performed by a person alone without the aid of such a machine. Tangible results produced may include reports or other machine-generated presentations on display devices (e.g., computer monitors, projection devices, audio generation devices, and related media devices), and may include hard copy printouts also generated by the machine. Computer control of other machines is another tangible result.
[0169] Any advantages and benefits described may not apply to all embodiments of the invention. When the word "means" is recited in a claim element, applicant intends that the claim element falls within the scope of protection of 35 USC Section 112, Section 6. There is usually a label of one or more words before the word "means". The one or more words before the word "means" are labels intended to easily refer to the claim element and are not intended to convey structural limitations. Such device-plus-function claims are intended to cover not only the structures described herein for performing the functions and their structural equivalents, but also equivalent structures. For example, although nails and screws have different structures, they are equivalent structures because they both perform the function of fastening. Claims that do not use the word "means" are not intended to fall within 35 USC Section 112, Section 6. The signal is typically an electronic signal, but can also be an optical signal, such as an optical signal that can be transmitted through a fiber optic line.
[0170] The foregoing description of embodiments of the present invention has been given for the purpose of illustration and description. It is not intended to be exhaustive of the invention or to limit the invention to the precise form disclosed. In view of the above teachings, many modifications and variations are possible. It is intended that the scope of the present invention is not limited by this specific embodiment, but by the appended claims.
Claims
1. An integrated circuit, comprising: a mixed signal circuit that generates a nonlinear error in generating an output, the mixed signal circuit being modulated at least in part by an input signal; a nonlinear error subtractor for subtracting a nonlinear compensation signal from an internal signal within the mixed signal circuit to compensate for the nonlinear error and generate a residual error; An integral nonlinearity identification and compensation circuit receives the input signal and generates the nonlinearity compensation signal, wherein the integral nonlinearity identification and compensation circuit comprises: a lookup table for storing an integral nonlinearity compensation result, the integral nonlinearity compensation result being a pre-calculated result of a compensation function operating on the input signal; an interpolator receiving two integral nonlinearity compensation results read from the lookup table in response to a more significant bit of the input signal, the interpolator interpolating between the two integral nonlinearity compensation results read from the lookup table using at least one less significant bit of the input signal to generate a nonlinearity compensation signal; an orthogonal kernel generator receiving the input signal and generating a plurality of orthogonal kernel signals according to the input signal; a minimum mean square error correlator configured to adjust the nonlinear compensation signal to compensate for variations of the nonlinear error caused by temperature and power supply voltage variations, the error correlator having a plurality of paths, wherein each of the plurality of paths is configured to minimum mean square correlate the residual error to an orthogonal kernel signal in the plurality of orthogonal kernels generated by the orthogonal kernel generator, the error correlator generating adaptive coefficients using the plurality of paths; and a compensation function constructor that receives the adaptive coefficients from the error correlator and performs an inverse transform to generate an updated compensation function, the updated compensation function being used to generate an updated result that overwrites the integral nonlinearity compensation result in the lookup table; Thus, integral nonlinearity errors within the mixed signal circuit are identified and adaptively compensated by subtracting the nonlinear compensation signal.
2. The integrated circuit of claim 1 , further comprising: Preset coefficients, which are used to be input into the compensation function constructor; wherein, when the preset coefficient is input into the compensation function constructor, the compensation function constructor uses the preset coefficient instead of the adaptive coefficient to generate the updated compensation function; When the residual error is higher than a threshold, or when the temperature or the power supply voltage changes, the error correlator is activated to periodically generate the adaptive coefficient, thereby using the preset coefficient and the adaptive coefficient at different times to generate the integral nonlinear compensation result written into the lookup table.
3. The integrated circuit according to claim 1, wherein: The orthogonal kernel generator generates a plurality of Walsh-Hadamard kernels; wherein a first kernel of the plurality of Walsh-Hadamard kernels has a constant non-zero DC bias for all values of the input signal; Wherein the other Walsh-Hadamard cores have a net zero DC bias within the range of the input signal and each core has at least two states.
4. The integrated circuit according to claim 3, wherein: The error correlator further comprises: a plurality of multipliers, each multiplier receiving the nonlinear error; Multiple accumulators; Multiple decimation filters; wherein the plurality of paths pass through the error correlator, each path having a path kernel among the plurality of orthogonal kernels generated by the orthogonal kernel generator, the path kernel being multiplied by the nonlinear error by a path multiplier among the plurality of multipliers to generate a path product, the path product being accumulated by a path accumulator among the plurality of accumulators to generate an accumulated path value, the accumulated path value being decimated by a path decimation filter among the plurality of decimation filters to generate an adaptive coefficient among the plurality of adaptive coefficients; and Each of the plurality of orthogonal kernels has a corresponding path of the plurality of paths through the error correlator.
5. The integrated circuit according to claim 1, wherein: The mixed signal circuit further comprises: an oscillator that produces an output having a frequency determined by a control input to the oscillator; a feedback divider for dividing the frequency of the output in response to a divisor input signal to generate a feedback clock; a phase detector for comparing the feedback clock with a reference clock to generate a phase difference; and a loop filter coupled between the phase detector and the oscillator, wherein the residual error is sampled from an input of the loop filter, the loop filter generating the control input to the oscillator; a delta-sigma modulator that receives a modulator control word and generates the divisor input signal to the feedback divider; a modulator subtractor that generates a difference between the modulator control word and the divisor input signal; and a modulator accumulator that accumulates the differences produced by the modulator subtractor to generate the input signal; Wherein, the feedback divider is a multi-mode divider, and the mixed signal circuit is a fractional-N phase-locked loop, the fractional-N phase-locked loop generates a frequency F from the oscillator OUT =(N DIV +a DIV )F REF The output of N DIV is a positive integer, a DIV is a fractional value between 0 and 1 corresponding to the average value of the jitter, and F OUT is the frequency of the output, and F REF is the frequency of the reference clock.
6. The integrated circuit according to claim 5, wherein: The phase detector generates a digital value of the phase difference; Wherein, the loop filter is a digital filter; wherein a control input to the oscillator carries a digital value generated by the loop filter; Wherein, the oscillator is a digitally controlled oscillator.
7. The integrated circuit of claim 5, further comprising: a gain calibrator having a second error correlator that correlates the input signal to the residual error to produce a gain calibration factor; a gain adjustment multiplier that multiplies the input signal by the gain calibration factor to generate a gain adjustment phase control signal; as well as A second subtractor subtracts the gain adjustment phase control signal from a second internal signal in the mixed signal circuit to eliminate fractional frequency divider phase quantization noise.
8. The integrated circuit according to claim 7, wherein: The nonlinear error subtractor is a digital subtractor coupled between the phase detector and the loop filter; The second subtractor is a digital subtractor, which is coupled in series with the nonlinear error subtractor.
9. The integrated circuit according to claim 7, wherein: The nonlinear error subtractor is a first digital-to-time converter that converts the nonlinear compensation signal from a digital value to a time adjustment applied to the feedback clock; wherein the second subtractor is a second digital-to-time converter that converts the gain adjustment phase control signal from a digital value to a time adjustment applied to the second internal signal; The first digital-to-time converter and the second digital-to-time converter are connected in series between the feedback divider and the phase detector.
10. The integrated circuit according to claim 7, wherein: The nonlinear error subtractor is a digital subtractor coupled between the phase detector and the loop filter; wherein the second subtractor is a digital-to-time converter that converts the gain adjustment phase control signal from a digital value to a time adjustment applied to the second internal signal; wherein the digital-to-time converter is coupled between the feedback frequency divider and the phase detector; Among them, the digital-to-time converter is a digitally controlled delay element, a digitally controlled delay line, a voltage-controlled delay line with a digital-to-analog converter, a phase rotator, a phase interpolator, a multi-phase generator with a phase selector, a multi-phase delay-locked loop with programmable delay, or a phase selector.
11. A fractional-N phase-locked loop with nonlinear error correction, comprising: a time-to-digital converter that receives a reference clock and a feedback clock and generates a time-to-digital converter output that is a digital value of a phase difference between the reference clock and the feedback clock detected by the time-to-digital converter; a loop filter that receives the residual error signal and generates an oscillator control signal by applying a digital filter to the residual error signal; an oscillator controlled by the oscillator control signal and generating an output clock having a frequency determined by the oscillator control signal; a feedback divider that divides the output clock by a divisor to generate a divided clock; a modulator that generates a modulation signal to the feedback divider, the modulation signal dithering the divisor of the feedback divider to divide the output clock by an effective divisor having both an integer portion and a fractional portion, the fractional portion being between 0 and 1; a modulation accumulator that accumulates differences in the modulated signal to generate a phase control signal, the phase control signal being an accumulated quantization error of the modulator; a gain calibrator receiving the residual error signal and the phase control signal, the gain calibrator minimizing the error to produce a gain adjustment; a gain subtractor that subtracts the gain adjustment from a first signal in the fractional-N phase locked loop to remove fractional divider phase quantization noise; as well as The integrated circuit according to claim 1; wherein The phase control signal is the input signal to the integrated circuit; The internal signal of the integrated circuit is a second signal in the fractional-N phase-locked loop to compensate for the nonlinear error that cannot be compensated by the gain adjustment; and The updated compensation function operates on a range of values of the phase control signal to produce the updated result.
12. The fractional-N phase-locked loop with nonlinear error correction according to claim 11, wherein: The plurality of orthogonal kernels include Walsh-Hadamard kernels.
13. The fractional-N phase-locked loop with nonlinear error correction according to claim 12, wherein: The gain subtractor and the non-linear error subtractor each subtract from the time-to-digital converter output to generate the residual error signal to the loop filter; Wherein, the divided clock is the feedback clock.
14. The fractional-N phase-locked loop with nonlinear error correction according to claim 12, wherein: The nonlinear error subtractor comprises: a first digital-to-time converter coupled between the divided clock and the feedback clock, the first digital-to-time converter converting the nonlinear error adjustment from a digital signal into a time delay, the time delay being added to the divided clock to generate the feedback clock; Wherein, the gain subtractor comprises: a second digital-to-time converter, also coupled between the divided clock and the feedback clock and in series with the first digital-to-time converter, the second digital-to-time converter converting the gain adjustment from a digital signal into a time delay, the time delay being added to the divided clock to generate the feedback clock; Wherein, the time-to-digital converter output is connected to the residual error signal of the loop filter.
15. The fractional-N phase-locked loop with nonlinear error correction according to claim 12, wherein: the non-linear error subtractor coupled between the time-to-digital converter output and the loop filter, the non-linear error subtractor subtracting the non-linear error adjustment from the time-to-digital converter output to generate the residual error signal to the loop filter, wherein the time-to-digital converter output is the second signal; The gain subtractor includes a digital-to-time converter coupled between the divided clock and the feedback clock, wherein the digital-to-time converter converts the gain adjustment from a digital signal into a time delay, and the time delay is added to the divided clock to generate the feedback clock.
16. The fractional-N phase-locked loop with nonlinear error correction according to claim 12, wherein: The gain subtractor and the nonlinear error subtractor together comprise: a pre-adder that adds the gain adjustment and the nonlinear error adjustment to produce a combined adjustment; and a first digital-to-time converter coupled between the divided clock and the feedback clock, the first digital-to-time converter converting the combined adjustment from a digital signal to a time delay, the time delay being added to the divided clock to generate the feedback clock; The first signal and the second signal in the fractional-N phase-locked loop are the same signal.
Citation Information
Cited By
Apparatus and method for clock phase calibration
US12381706B2
Apparatus and method for clock phase calibration
US20230090369A1
