선정목록으로
A Comprehensive Digital Calibration Method for Pipeline SAR ADCs Using Extended Kalman Filter
산업용 섬유 · (9) 타이어코드
기본 정보
- 저자
- DOI
- 10.23919/ics.2025.3571821
- 저널
- Deleted Journal
- 발행년도
- 2025
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.23919/ics.2025.3571821
- 토픽
- Analytical Chemistry and Sensors
- OpenAlex ID
- W4410536113
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 33,976자
본문 펼치기
Received 30 January 2025; revised 20 April 2025; accepted 14 May 2025. Date of publication 20 May 2025;
date of current version 15 August 2025.
_Digital Object Identifier 10.23919/ICS.2025.3571821_
# A Comprehensive Digital Calibration Method for Pipeline SAR ADCs Using Extended Kalman Filter
DAYAN ZHOU, YUGUO XIANG, AND FAN YE (Member, IEEE)
The State Key Lab of Integrated Chips and Systems, Fudan University, Shanghai 200437, China
CORRESPONDING AUTHOR: FAN YE (e-mail: fanye@fudan.edu.cn).
ABSTRACT This paper presents a fully digital foreground calibration method for pipeline-SAR analog-todigital converters (ADCs) using sine-fit based on the Extended Kalman Filter (EKF). The sine-fit technique
provides a reference output, while an adaptive Least Mean Square (LMS) algorithm iteratively adjusts the
reconstruction weights to correct mismatches and nonlinearities. The EKF significantly reduces hardware
complexity by enabling real-time estimation without requiring extensive data storage. A modeled 12-bit
pipeline-SAR ADC is used to evaluate the method’s effectiveness. Simulation results demonstrate that the
proposed calibration scheme improves the spurious-free dynamic range (SFDR) and signal-to-noise-anddistortion ratio (SNDR) by 33.6 dB and 18.8 dB, respectively.
INDEX TERMS Analog-to-digital converter (ADC), digital calibration, extended Kalman filter (EKF), least
mean square (LMS).
I. INTRODUCTION
The continuous development of applications such as 5G
communication, high-speed measurement, radar imaging, and
automotive electronics also puts forward higher performance
requirements for Analog-to-digital converter ADC. Highperformance ADCs are affected by various non-ideal factors,
including mismatch, gain error, nonlinear distortion, and sampling jitter. These issues degrade the ADC’s accuracy and
dynamic range, posing challenges in precision applications.
How to effectively reduce the impact of these non ideal factors on the output without significantly increasing the overall
power consumption and area of the chip has become an important challenge in high-performance ADC design. Due to its
high flexibility, adaptability to various processes, and minimal
impact on the ADC circuit itself, digital correction has gradually become a standard configuration for many commercial
ADCs.
At present, there are multiple mature digital correction algorithms in both academic and industrial circles. The basic
idea of digital correction is generally to extract errors in some
way and then compensate for them. Common mechanisms for
extracting errors include Split ADC architecture [1], adding
reference channels [2], injecting pseudo-random sequences
into the input [3], and artificially introducing biases into the
input [4]. The above methods either have requirements for
the structure of the ADC itself or for the input signal. However, in some application scenarios, the internal architecture
of the ADC (such as the quantization strategy used, sampling
clock characteristics, etc.) is unknown, so the error model is
also unknown. And because of instrument accuracy issues, if
the input signal itself has errors, it is difficult to distinguish
between ADC errors and input signal errors. In this case, it
is required that the calibration algorithm can be effective for
ADCs of various architectures, and the requirements for the
input signal should not be too high.
If a sine signal is applied to the ADC for excitation,
and a sine-fit is performed on the sampled and quantized
digital output, the fitted output can be used as an ideal signal
reference. In this way, relevant errors can be extracted without
prior knowledge about the structure of the ADC itself. Since
it is fitting the output, the accuracy requirement for the input
signal is not high, and it is possible to separate the error of the
input signal from the error of the ADC itself. Therefore, the
digital correction method based on sine-fit is very suitable for
the above application scenarios. There are currently various
specific implementations of sine-fit algorithms. For example,
© Th A h Thi k i li d d C i C A ib i Li F i f i h // i /li /b / /
non-linear least squares method [5], [9], FFT method [6],
heuristic algorithms (such as genetic algorithm [7]), etc.
However, these algorithms usually require a large amount of
storage resources, so they can often only be implemented in
software and cannot be implemented in hardware.
This article will introduce the iterative implementation of
sine-fit process using adaptive filtering algorithm. By using
Extended Kalman Filter (EKF), the data output from the ADC
can be fitted in real-time, rather than requiring storage of
a certain batch of data before fitting can begin. Therefore,
the storage resources required for fitting are greatly reduced,
which is beneficial for the hardware implementation of sinefit-based calibration algorithm.
The sections of this paper are organized as follows.Section
II reviews algorithm details for sine-fit using least squares
method. Section III introduces the principle of the proposed
calibration scheme. Section IV analyzes the proposed sine-fit
algorithm based on EKF. Section V introduces other modules.
Section VI presents the simulations results of proposed calibration algorithm based on measurement data. Finally, Section
VII concludes the paper.
FIGURE 1. The proposed sine-fit-based digital calibration scheme.
the least-squares estimate x ˆ = [ _A_ <sup>ˆ</sup> 0 _,_ _B_ <sup>ˆ</sup> 0 _,_ _d_ <sup>ˆ</sup> ] <sup>_T_</sup> minimizes ∥ z _D_ x ∥ <sup>2</sup> and satisfies the normal equations
( _D_ <sup>_T_</sup> _D_ ) ˆ x = _D_ <sup>_T_</sup> z (8)
Finally, the physical sine parameters are recovered by
_A_ ˆ =
_A_ ˆ <sup>2</sup> 0
<sup>2</sup> 0 <sup>+</sup> <sup>_B_</sup> <sup>ˆ</sup> 0 <sup>2</sup> (9)
_φ_ ˆ = atan2
- _A_ ˆ0 _,_ _B_ ˆ0 (10)
II. PRIOR ARTS
This section will introduce the principle of sine parameters
estimation via least squares method [9].
Let { _zi_ } <sup>_N_</sup> _i_ = <sup>−</sup> 0 <sup>1</sup> <sup>denote the noisy samples of a single-tone sinu-</sup>
soid taken at integer time indices _i_ . We model
_ωi i_ + _φi_
_zi_ = _di_ + _Ai_ sin
_i_ + _εi,_ (1)
where _di_ is the DC offset at sample _i_, _Ai_ the amplitude, _ωi_ the
angular frequency, _φi_ the phase, and _εi_ zero-mean measurement noise.
In the stationary case, we assume _di_ = _d_, _Ai_ = _A_, _ωi_ = _ω_,
_φi_ = _φ_, yielding
- _ω i_ + _φ_
_zi_ = _d_ + _A_ sin
Using the identity
+ _εi_ (2)
_Asin_ ( _ωi_ + _φ_ ) = _A_ 0 _cos_ ( _ωi_ ) + _B_ 0 _sin_ ( _ωi_ ) (3)
_A_ 0 = _A_ sin _φ_ (4)
_B_ 0 = _A_ cos _φ_ (5)
we obtain the linear regression model
_zi_ ≈ _d_ + _A_ 0 _cos_ ( _ωi_ ) + _B_ 0 sin( _ωi_ ) + _εi_ (6)
Stacking all _N_ samples into vector form,
⎡
_A_ 0
⎢⎣ _B_ 0
_d_
... ... ...
cos( _ω_ ( _N_ - 1)) sin( _ω_ ( _N_ - 1)) 1
cos( _ω_ - 0) sin( _ω_ - 0) 1
cos( _ω_ - 1) sin( _ω_ - 1) 1
... ... ...
...
⎤
⎥⎥⎥⎥⎦
_d_ ˆ = [ˆ x ]3 (11)
If the frequency _ω_ is not known, one may embed (6)–(7) in
an outer search over _ω_ (e.g. grid search or iterative refinement)
to minimize the residual error ∥ z - _D_ ( _ω_ ) ˆ x ( _ω_ )∥ <sup>2</sup>
The linear least-squares sine-fitting algorithm provides
high-accuracy estimation of amplitude, phase, and offset.
However, the calculation of matrix _D_ need to store a certain
batch of data, which brings inconvenience to hardware implementation.
III. PROPOSED CALIBRATION SCHEME
The proposed calibration is foreground and all digital. The
foreground calibration can be divided into two steps: error
detection and error compensation. The error detection uses
the sine-fit method based on EKF. The error compensation
uses the least mean square (LMS) algorithm to modifies the
weights of codes from ADC output.
Fig. 1 shows the proposed sine-fit-based digital foreground
calibration scheme. The foreground calibration scheme can be
divided into calibration mode and quantization mode. While
in calibration mode, the single-tone sine signal _Vcali_ is sent
to ADC, generating binary output _Dcode_ . The variable weight
combiner converts _Dcode_ to a decimal value _Dout_, which is
a distorted single-tone sine signal. The EKF followed by
a Coordinate Rotation Digital Compute (Cordic) module is
the sine-fit block, which is used to generate a ground truth
_D f it_ through _Dout_ . The LMS block modifies the weights in
the combiner according to the error between _D f it_ and _Dout_,
making _Dout_ converge to _D f it_ iteratively. Once the error is
lower than the given threshold, the weight combiner is able
to provide weight values that can compensate for errors in
ADC, and thus the mode can be switched to quantization
z ≈
⎡
⎢⎢⎢⎢⎣
⎤
⎥⎦ (7)
~~�~~ - ~~�~~ _D_
mode. After passing through the trained weight combiner, the
performance of the ADC output will be improved.
The EKF-based sine-fit block and LMS block are iterative
and can be updated on every ADC output _Dcode_ . Therefore
these two blocks can work simultaneously and the calibration
speed is improved.
IV. EKF-BASED SINE-FIT ALGORITHM
The Kalman Filter (KF) is a recursive algorithm for estimating
the state of dynamic systems from noisy data. Its nonlinear
extension, the Extended Kalman Filter (EKF), linearizes the
system around the current estimate, making it suitable for
nonlinear scenario such as sine-fit [10].
_A._ _PRINCIPLE OF EXTENDED KALMAN FILTER_
The system model of EKF is described through state equations,
_xi_ +1 = _f_ ( _xi_ ) + _wi_ (12)
_zi_ = _h_ ( _xi_ ) + _vi_ (13)
where _xi_ represents the unobserved state of the system and
_zi_ is the only observed signal. The functions _f_ ( _xi_ ) and _h_ ( _xi_
are the nonlinear state transition and observation models, respectively. The process noise _wi_ and observation noise _vi_ are
assumed to be zero-mean Gaussian with covariances _Q_ and _R_ .
Q is a parameter used to measure the level of process noise,
and a larger Q indicates that the model is less accurate. R is a
parameter that measures the observed noise, and the larger R,
the greater the noise present in the observed signal.
The nonlinear transition and observation models cannot be
directly solved, therefore a first-order Taylor expansion is used
to approximate them in the EKF solution,
FIGURE 2. The procedure of Extended Kalman Filter.
Note that in the sine-fit problem, the transition function
is linear so that linearization of _f_ ( _xi_ ) is not necessary,
and it can be replaced by matrix _Fi_ . We also assume that
parameters of input signal are invariant during the foreground calibration process, therefore the process noise
Q can set to zero.
_xi_ <sup>−</sup> <sup>=</sup> <sup>_Fixi_</sup> <sup>−1</sup> (16)
_Pi_ <sup>−</sup>
_Fi_ <sup>_T_</sup> + _Q_ (17)
_i_ <sup>−</sup> = _FiPiFi_ <sup>_T_</sup>
3) Calculate matrix _Hi_ based on (15)
4) Calculate Kalman gain _Ki_ using (18), where is _R_ the
variance of _vi_ .
_i_ <sup>_T_</sup> <sup>(</sup> <sup>_HiP_</sup> _i_ <sup>−</sup>
_i_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>)−1</sup> (18)
_i_ <sup>−</sup> <sup>_H_</sup> _i_ <sup>_T_</sup>
_Ki_ = _Pi_ <sup>−</sup>
_xi_ = _xi_ <sup>−</sup>
_Pi_ = _Pi_ <sup>−</sup>
_i_ <sup>−</sup> <sup>_H_</sup> _i_ <sup>_T_</sup>
_i_ <sup>−</sup> <sup>+</sup> <sup>_Ki_</sup> <sup>(</sup> <sup>_zi_</sup> <sup>−</sup> <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> _i_ <sup>−</sup>
(19)
_i_ <sup>−))</sup>
_Fi_ = <sup>_∂_</sup> <sup>_<u>f</u>_</sup>
_∂x_
_Fi_ = <sup>_∂_</sup> <sup>_<u>f</u>_</sup>
_∂x_
_Hi_ = <sup>_∂h_</sup>
_∂x_
_Hi_ = <sup>_∂h_</sup>
�� (14)
_xi_
�� (15)
_xi_
5) _Update:_ Using Kalman gain as the weight, the posterior
estimates xi and Pi are given by (19) and (20).
_i_ <sup>−</sup> (20)
After obtaining the parameter vector _xi_ −1 for the current
state, _F_ and _H_ together provide an estimate of the predicted
sine signal value for the next state, which is represented as the
prior estimate _z_ <sup>−</sup>
_i_ <sup>. The EKF gives the optimal estimate based</sup>
on the weighted sum of prior estimate _z_ <sup>−</sup>
_i_ <sup>and measured value</sup>
_zi_ . The weight is Kalman gain _Ki_, which is derived from _Pi_ . _Pi_
is the covariance matrix of _xi_, and is a _m_ × _m_ matrix, where _m_
is the number of states variables. _Pi_ and _xi_ are predicted and
updated together, causing _Pi_ to decrease with every iteration,
eventually converging _xi_ to the ideal value.
Fig. 2 shows the the procedure of EKF. This can be summarized in the following six steps:
_i_ <sup>−</sup> <sup>−</sup> <sup>_KiHiP_</sup> _i_ <sup>−</sup>
1) _Initialization:_ This provides initial values _x_ 0 and _P_ 0 for
the parameter vector and its covariance. Accurate initial values will enhance the numerical stability of EKF
algorithm.
2) _Predict:_ Based on the system state equation, the prior
estimate _xi_ <sup>−</sup> and _Pi_ <sup>−</sup> are derived from (16) and (17).
_i_ <sup>−</sup> and _Pi_ <sup>−</sup>
_i_ <sup>−</sup> are derived from (16) and (17).
6) _Calculate_ _the_ _trace_ _of_ _matrix_ _Pi:_ The trace of _Pi_ represents the variance of the the estimated parameters. If it
is smaller than the given threshold, which means that
the parameter has converged to the expected accuracy,
then the iterative algorithm is finished and _xestimate_ is
output. If not, return to step 2.
_B._ _EKF-BASED SINE-FIT_
Specifically regarding the sine-fit problem, _xi_ equals
[ _Ai_ _ωi_ _φi_ _di_ ] <sup>_T_</sup>, which is the parameter vector to be estimated.
Here _Ai_, _ωi_ and _di_ are the amplitude, digital frequency, and
DC offset of the sine signal, respectively. _φi_ = _φi_ −1 + _ωi_ −1 _�t_
represents the real-time phase of the sine signal. The real-time
phase instead of the initial phase to omit the sequence number
_i_ in the expression of _zi_ . We assume that parameters of input
signal are invariant during the foreground calibration process
FIGURE 3. The proposed sine-fit algorithm based on extended Kalman
filter.
and that no process noise is introduced. Therefore (12) can be
rewritten as
⎡
_Ai_
_ωi_
⎢⎢⎢⎣ _φi_
_di_
⎤
(21)
⎥⎥⎥⎦
the update of _x_ and _P_ corresponds to (19) and (20), respectively. From the second iteration onward, the EKF utilizes the
posterior estimates _xi_ and _Pi_ from last iteration, as the initial
values for the current calculation, which is implemented by
a multiplexer. The EKF then iteratively calculates the four
parameters of the sine signal. When the trace of _Pi_ is smaller
than the given threshold, the parameters are considered as
converged, and the parameters _xi_ are sent to a Cordic block.
The sine-fitted code is obtained through the Cordic block to
generate the reference signal _D f it_ .
It should be noted that in EKF, the setting of process noise
Q and observation noise R mentioned earlier will affect the
fitting results. As mentioned earlier, due to front-end calibration, the output signal must conform to the sine signal model,
so Q can be directly set to 0. The choice of parameter R has
a significant impact on the convergence process. Ideally, it
should be equal to the variance of the noise in the input signal.
However, in reality, since the magnitude of ADC errors and
noise is unknown, one can only rely on prior knowledge about
ADC output to select a more suitable value. In fact, when the
ADC output SNR is in the range of about 40 dB to 80 dB, the
set R = 0.0002 (equivalent to assuming a noise level of SNR
= 60 dB) can provide good fitting results.
_C._ _NUMERICAL STABILITY OPTIMIZATION OF EKF_
The sine fitting algorithm based on Kalman filter mentioned
above can iteratively fit the sine signal output by ADC. However, there is a possibility of non convergence in nonlinear
fitting algorithms. This is partly due to the nonlinear nature
of sine signals, which have endogenous multiple solutions.
On the other hand, this is related to the selection of initial
values, as inaccurate initial values will increase the probability
of non convergence. This problem can also be encountered
in traditional sine fitting algorithms such as the least squares
method [13].
In order to improve the numerical stability of the algorithm,
first in the coarse estimation stage, as mentioned earlier, we
estimate the initial values of frequency and phase using three
points method based on equations (23) and (24). However, a
single point may be affected by noise, so this equation will
be executed N times to obtain higher precision frequency
estimates. On the other hand, non convergence comes from
the multiplicity of frequency solutions, such as sin( _w_ 1 _n_ + _φ_ )
and sin( _w_ 2 _n_ + _φ_ ). If _w_ 2 = _w_ 1 + 2 _π_,then both _w_ 1 and _w_ 2 can
be used as frequency estimation solutions. This will result in
multiple possibilities for estimating the frequency during the
iteration process. If there is noise disturbance, it may jump
into the interval of another possible solution, causing unstable
convergence.
The Kalman filtering method with constrained states can
solve this problem. While satisfying the state equations described in (23) and (24), constraints are also applied to the
state variables, which can be represented by a linear equation,
_Mxi_ = _bi_ (25)
⎤
⎥⎥⎥⎦
_xi_ +1 = _Fxi_ =
⎡
1 0 0 0
0 1 0 0
⎢⎢⎢⎣0 1 1 0
0 0 0 1
In (13), _zi_ represents the ADC output code. _vi_ represents the
nonideal factors in the conversion, such as kT/C noise, quantization noise, and harmonics caused by nonlinearities. _h_ ( _xi_ )
is the ideal code of input signal, which equals _Aisin_ ( _φi_ ) + _di_ .
It is worth noting that _h_ ( _xi_ ) is a nonlinearity function and a
first-order Taylor expansion is used to approximate it in the
EKF solution, which is
_Hi_ = <sup>_∂h_</sup>
_∂x_
�� _xi_ <sup>= [</sup> <sup>_sin_</sup> <sup>(</sup> <sup>_φi_</sup> <sup>) 0</sup> <sup>_Aicos_</sup> <sup>(</sup> <sup>_φi_</sup> <sup>) 1]</sup> (22)
Fig. 3 illustrates the sine-fit algorithm based on EKF.
Initially, the ADC output sequence Dout is sent to the
rough estimate block, which provides an initial value _x_ 0 =
[ _A_ 0 _ω_ 0 _φ_ 0 _d_ 0] <sup>_T_</sup> of the iterative algorithm. _A_ 0 and _d_ 0 can
be obtained from the root mean square and the mean of the
sequence, respectively. Using the three-point method [4], the
rough estimates of digital frequency _ω_ 0 and phase _φ_ 0 are
obtained:
(23)
(24)
_ω_ 0 = arccos
_φ_ 0 = arctan
- _<u>z</u>_ <u>1</u> + _<u>z</u>_ <u>3</u>
2 _z_ 2
_<u>z</u>_ <u>1 sin(</u> _ω_ <u>0)</u>
_z_ 2 − _z_ 1 cos( _ω_ 0)
The trigonometric and inverse trigonometric functions can
be calculated using Cordic algorithm. The initial value of the
covariance matrix _P_ is set as a 4 × 4 identity matrix multiplied
by a constant _ϵ_ 0. The value of _ϵ_ 0 is related to the accuracy of
the initial value _x_ 0.
The EKF then uses the initial value of _x_ 0 and _P_ 0 to generate
estimates of _x_ and _P_ through the predict step and the update
steps. The linear transform in Fig. 3 corresponds to (16) and
(17), the calculation of Kalman gain corresponds to (18), and
V. OTHER MODULES
_A._ _THE WEIGHT COMBINER_
The weight combiner calculates the decimal output _Dout_ from
binary output _Dcode_ based on the prior knowledge of the ADC.
Taking pipeline-SAR ADCs as an example, the nonidealities
include the capacitor mismatch, in-stage amplifier offset and
nonlinearity, and the nonlinearity caused by sample and hold
circuits. For the linear errors such as capacitor mismatch and
offset, the calibration model can be expressed as
_Dout_ =
- _N_
_i_ =1
_wiDcode_ ( _i_ ) + _oi_ (28)
FIGURE 4. Convergence performance of optimized EKF and conventional
EKF.
where the subscript i represents the state variable of the i-th
iteration. _M_ is a known _s_ × _m_ constant matrix, _bi_ is a known
_s_ × 1 vector. _m_ is the number of states, and _s_ ≤ _m_ . For example, if the sum of the first state variable and the second state
variable is limited to 1, it can be expressed in detail as:
- 1 1 0 0 _xi_ = 1 (26)
The solution of Kalman filter with constrained states can
be obtained through projection method. This method directly
projecting the unconstrained state estimate onto the constraint
surface [14], and the solution can be expressed as,
_x_ ˜ = _xi_ - _M_ <sup>_T_</sup> <sup>�</sup> _MM_ <sup>_T_</sup> <sup>�−1</sup> ( _Mxi_ - _bi_ ) (27)
The matrix M is known so that the matrix operations can
be calculated in advance. In practical application to the sinefit problem, we limit the angular frequency of the signal and
use inequalities to represent it as 0 ≤ _ωi_ ≤ _π_ . For inequality
constraints, we detect _ω_ in each iteration. If it exceeds this
range, such as _ω > π_, we use equation (27) to project the state
variable _x_ onto the position where _ω_ = _π_ . Similarly, if _ω <_ 0,
we also project it onto the position where _ω_ = 0. By adding
constraints to the state variables, we can ensure the uniqueness
of the solution, thereby enhancing the numerical stability of
the algorithm.
Fig. 4 shows the difference in convergence performance
between optimized EKF (opt-EKF) with the introduction of
the aforementioned numerical stability enhancement method
and the conventional EKF method. The algorithm fits a sine
signal with a length of 10000 points and repeats it 100000
times. The conventional EKF has experienced 57 instances
of non convergence, while the opt-EKF converges in all test
cases.
where _wi_ can compensate capacitor mismatches, and _oi_ can
compensate the offset.
For nonlinear errors, such as nonlinearity of in-stage gain,
the calibration model can be approximated by power functions
of sub-stage output _Dout,k_ . Taking two stage pipeline ADC as
an example, the calibration model is
_Dout, f inal_ = _Dout,_ 1 + _g_ 1 _Dout,_ 2+
_g_ 2 _D_ <sup>2</sup>
_out_ <sup>2</sup> _,_ 2 <sup>+</sup> <sup>_g_</sup> <sup>3</sup> <sup>_D_</sup> <sup>3</sup>
_out_ <sup>3</sup> _,_ 2 <sup>+ · · ·</sup>
(29)
The coefficients of the polynomial of _Dout,_ 2 can compensate
the third order and fifth order nonlinearities in the output _Dout_
caused by gain nonlinearities between the first stage and the
second stage.
_B._ _LEAST MEAN SQUARE BLOCK_
The LMS block modifies the weights _wi_, _oi_ and _gk_ in the
combiner according to the error given by EKF and actual
output _Dout_ . The iteration equation is given by
_Wi_ +1 = _Wi_ + 2 _μεi_
_∂εi_
_∂Wi_
(30)
where _Wi_ are the weights mentioned above, _εi_ = _D f it_ - _Dout_
is the error.
VI. SIMULATION RESULTS
_A._ _PERFORMANCE OF EKF-BASED SINE-FIT ALGORITHM_
The EKF-based sine-fit algorithm operates iteratively. Fig. 5
illustrates the convergence behavior of the estimated digital
frequency over multiple iterations. The initial value of digital
frequency is set by three-point method. Then the proposed
sine-fit algorithm will calculate the parameters including digital frequency iteratively. By around 3 × 10 <sup>3</sup> samples, the fitted
digital frequency is close to its true value.
Fig. 6 shows how close the fitted results of the EKF-based
sine-fit algorithm are to the ideal input for noisy sine signals
with different input frequencies. The root mean square error
(RMSE) between the EKF output _D f it_ and ideal input _Dinput_
is significantly lower than the RMSE of noisy ADC output
_Dout_ . This indicates that the EKF-based sine-fit algorithm can
effectively restore the input signal at various input frequencies, thereby providing an ideal signal reference.
FIGURE 5. Convergence process of digital frequency in EKF-based sine-fit.
FIGURE 6. The EKF fit result under different input frequencies.
FIGURE 7. The EKF fit result under different input amplitudes.
TABLE 1 Hardware Resource Consumption
FIGURE 8. Performance of sine-fit under different precision type.
Fig. 7 shows the RMSE of EKF output _D f it_ under different
input amplitudes, where the SNR of the input signal is generally the same in each test case. The y-axis (RMSE) normalizes
the input amplitude because RMSE decreases as the input
amplitude decreases. It shows a poor fitting effect in the low
amplitude input cases, which is due to the insufficient accuracy of the rough estimation. This indicate that the amplitude
of input in the calibration mode should be as close as possible
to the full swing amplitude.
_B._ _HARDWARE RESOURCE COMPARISON_
To implement the above algorithm in hardware, it is essential
to evaluate its performance after fixed-point quantization.
Fig. 8 illustrates the fitting performance of the algorithm
under different fixed-point word lengths. The input signal,
corrupted by noise, has a SNDR of 50 dB. When computed
in MATLAB using double-precision floating-point arithmetic,
the fitted signal achieves a SNDR of up to 90 dB. However, as
the word length decreases, the quality of the fitted sine signal
also deteriorates. Around 36 bits, the algorithm can no longer
provide a sufficiently accurate reference signal for subsequent
calibration modules. To balance hardware resource usage and
the quality of the output sinusoid, a 48-bit word length is
adopted for the following hardware design.
The proposed algorithm is implemented on Xilinx FPGA
with chip XC7Z020CLG400-2. The traditional sine-fit algorithm based on least square method is reproduced here and
compared with the algorithm proposed in this paper.
The resource comparison between the least-squares (LS)
method and the EKF-based sine-fit shows that both approaches consume a similar number of LUTs, indicating
comparable control and logic complexity. However, the LS
method uses significantly more BRAM due to its need to
store the entire sample set, while the EKF operates in a recursive manner and requires no storage. The only algorithm
that requires BRAM is the LMS module, as it needs to delay
reading the data provided by the sine-fit module. On the other
hand, the Kalman filter consumes far more DSP blocks, as it
involves frequent matrix operations. These differences reflect
the inherent trade-offs between batch processing (LS) and
real-time estimation (EKF).
_C._ _PERFORMANCE OF PROPOSED CALIBRATION_
To verify the performance of the calibration algorithm, a modeling ADC is used to generate test data. Based on the results
of fixed-point quantization, the chosen word length is able to
provide a sine signal with a SNDR of around 70 dB. This
can provide an ideal signal reference for a 12 b ADC. Note
that in actual design, the resolution of the ADC and the hardware complexity of the calibration module both need to be
balanced to make a decision. Here, the resolution of the ADC
model is determined based on the calibration algorithm only
to demonstrate its performance. The modeling ADC is a twostage pipeline SAR ADC working at a sampling frequency of
100 MHz. The first stage is 5 b and the second stage is 8 b,
with 1 b redundancy. In order to reflect the actual situation
of ADC more accurately, in addition to input noise, nonlinear
factors were also modeled. For example, the capacitor mismatch is modeled as gaussian distribution with _σ_ = 0 _._ 025%.
The inter-stage gain nonlinearity is approximated by a fiveorder polynomial. the coefficients of the quadratic to quintic
terms are no more than 1% of the coefficient of first order.
Fig. 9 shows the FFT plot of output signal of the modeling
ADC before and after the calibration, respectively. The input
signal frequency is 8.3 MHz and the amplitude is 0.95 V.
From the FFT plot, it can be seen that various harmonics are
well suppressed. The SFDR and SNDR of the modeling ADC
are 51.7 dB and 51.1 dB. Owing to the proposed calibration
scheme, the SFDR is improved to 85.3 dB, achieving an enhancement of 33.6 dB. The SNDR is improved to 69.9 dB,
achieving an enhancement of 18.8 dB.
Fig. 10 shows the variation of SFDR of the output code
after calibration with the input signal frequencies under different numbers of iterations. At most input frequencies, as the
number of iterations increases, the SFDR of the output code
also gradually improves. After approximately 800 _k_ iterations,
SFDR reached its peak (about 83dB), indicating that the proposed correction algorithm has reached its limit. For input
signals with frequencies within the first Nyquist interval, there
FIGURE 9. The FFT spectrum of ADC output before and after calibration.
FIGURE 10. The SFDR versus input frequencies with different numbers of
iterations.
is a significant performance improvement after calibration,
indicating good algorithm stability.
Fig. 11 shows the variation of SFDR of the output code after
calibration with the amplitudes of the calibration input signal
_Vcali_ under different numbers of iterations. When the amplitude is very small, the sine-fit block is unable to provide right
ideal signal reference, therefore the calibrated signal might get
worse. While the input signal amplitude increase, the sine-fit
block works normally and gives a right reference to LMS
block. However, the input amplitude is still small enough that
the higher bits of the ADC hardly change. Therefore the mismatches and nonlinearities in the higher bits are not able to be
calibrated, and SFDR improves extremely slowly as the number of iterations increases. When the amplitude almost reach
the full swing, the SFDR improves efficiently and reaches its
upper limit in about 900 _k_ iterations. The small amplitude not
FIGURE 11. The SFDR versus input amplitudes with different numbers of
iterations.
only leads to the poor fitting, but also concealing errors in
the higher bit positions. The input signal used for calibration
should have an amplitude close to full swing to provide good
calibration effects.
VII. CONCLUSION
This paper proposes a fully digital foreground calibration
scheme for pipeline-SAR ADCs, utilizing an EKF-based
sinewave fitting algorithm to generate an accurate reference
output. Compared to conventional sinewave fitting methods,
the proposed approach enables real-time estimation through
iterative computation, eliminating the need for extensive
data storage. The method effectively corrects ADC mismatches and nonlinearities while maintaining low hardware
complexity. Simulation results confirm that the calibration
significantly enhances ADC performance, making it a viable
solution for high-precision applications.
REFERENCES
[1] J. A. McNeill, M. C. W. Coln, D. R. Brown, and B. J. Larivee, “Dig
ital background-calibration algorithm for ‘Split ADC’ architecture,”
_IEEE_ _Trans._ _Circuits_ _Syst._ _I,_ _Reg._ _Papers_, vol. 56, no. 2, pp. 294–306,
[Feb. 2009, doi: 10.1109/TCSI.2008.2001830.](https://dx.doi.org/10.1109/TCSI.2008.2001830)
[2] Y. Chiu, C. W. Tsang, B. Nikolic, and P. R. Gray, “Least mean square
adaptive digital background calibration of pipelined analog-to-digital
converters,” _IEEE_ _Trans._ _Circuits_ _Syst._ _I,_ _Reg._ _Papers_, vol. 51, no. 1,
[pp. 38–46, Jan. 2004, doi: 10.1109/TCSI.2003.821306.](https://dx.doi.org/10.1109/TCSI.2003.821306)
[3] J. P. Keane, P. J. Hurst, and S. H. Lewis, “Background interstage
gain calibration technique for pipelined ADCs,” _IEEE_ _Trans._ _Cir-_
_cuits_ _Syst._ _I,_ _Reg._ _Papers_, vol. 52, no. 1, pp. 32–43, Jan. 2005,
[doi: 10.1109/TCSI.2004.839534.](https://dx.doi.org/10.1109/TCSI.2004.839534)
[4] S. Chatterjee and S. Roy, “A square wave-based digital foreground
calibration algorithm of a pipeline ADC using approximate harmonic
sampling,” _IEEE_ _Trans._ _Circuits_ _Syst._ _II,_ _Exp._ _Briefs_, vol. 68, no. 4,
[pp. 1068–1072, Apr. 2021, doi: 10.1109/TCSII.2020.3037812.](https://dx.doi.org/10.1109/TCSII.2020.3037812)
[5] K. F. Chen, “Estimating parameters of a sine wave by separable nonlin
ear least squares fitting,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 59, no. 12,
[pp. 3214–3217, Dec. 2010, doi: 10.1109/TIM.2010.2047298.](https://dx.doi.org/10.1109/TIM.2010.2047298)
[6] X. Liu, Y. Ren, C. Chu, and W. Fang, “Accurate frequency estimation
based on three-parameter sine-fitting with three FFT samples,” _Metrol._
_Meas. Syst._, vol. 22, no. 3, pp. 403–416, Sep. 2015.
[7] C. Jiang, Y. Chen, and C. Cho, “A novel genetic algorithm for param
eter estimation of sinusoidal signals,” in _Proc._ _12th_ _Int._ _Congr._ _Image_
_Signal_ _Process.,_ _BioMed. Eng._ _Inform._, Suzhou, China, 2019, pp. 1–5,
[doi: 10.1109/CISP-BMEI48845.2019.8966081.](https://dx.doi.org/10.1109/CISP-BMEI48845.2019.8966081)
[8] D. Zhai et al., “High-speed and time-interleaved ADCs using additive
neural-network-based calibration for nonlinear amplitude and phase
distortion,” _IEEE_ _Trans._ _Circuits_ _Syst._ _I,_ _Reg._ _Papers_, vol. 69, no. 12,
[pp. 4944–4957, Dec. 2022, doi: 10.1109/TCSI.2022.3201016.](https://dx.doi.org/10.1109/TCSI.2022.3201016)
[9] _IEEE_ _Standard_ _for_ _Digitizing_ _Waveform_ _Recorders_, IEEE Standard
1057, 2007.
[10] E. A. Wan and R. Van Der Merwe, “The unscented Kalman filter
for nonlinear estimation,” in _Proc._ _IEEE_ _2000_ _Adaptive_ _Syst._ _Signal_
_Process.,_ _Commun.,_ _Control_ _Symp._, Lake Louise, AB, Canada, 2000,
[pp. 153–158, doi: 10.1109/ASSPCC.2000.882463.](https://dx.doi.org/10.1109/ASSPCC.2000.882463)
[11] M. Saber and E. S. M. El-kenawy, “Design and implementation of accu
rate frequency estimator depend on deep learning,” _Int. J. Eng. Technol._,
[vol. 9, no. 2, pp. 367–377, Apr. 2022, doi: 10.14419/ijet.v9i2.30473.](https://dx.doi.org/10.14419/ijet.v9i2.30473)
[12] Q. Chen, “Design and implementation of time-interleaved calibra
tion algorithm based on sine fitting,” M.S. thesis, Southeast Univ.,
2017.
[13] W. Gautschi, “Numerical differentiation and integration,” in _Numerical_
_Analysis_, 2nd ed., Boston, MA, USA: Birkhäuser, 2012, pp. 159–251.
[14] D. Simon and T. Li Chia, “Kalman filtering with state equality
constraints,” _IEEE_ _Trans._ _Aerosp._ _Electron._ _Syst._, vol. 38, no. 1,
[pp. 128–136, Jan. 2002, doi: 10.1109/7.993234.](https://dx.doi.org/10.1109/7.993234)
섹션 본문
섹션 본문이 없습니다.
참고문헌 13건
- Digital Background-Calibration Algorithm for “Split ADC” Architecture IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2009 10.1109/tcsi.2008.2001830
- Least Mean Square Adaptive Digital Background Calibration of Pipelined Analog-to-Digital Converters IEEE Transactions on Circuits and Systems I Fundamental Theory and Applications · Institute of Electrical and Electronics Engineers · 2004 10.1109/tcsi.2003.821306
- Background interstage gain calibration technique for pipelined ADCs IEEE Transactions on Circuits and Systems I Fundamental Theory and Applications · Institute of Electrical and Electronics Engineers · 2005 10.1109/tcsi.2004.839534
- A Square Wave-Based Digital Foreground Calibration Algorithm of a Pipeline ADC Using Approximate Harmonic Sampling IEEE Transactions on Circuits & Systems II Express Briefs · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcsii.2020.3037812
- Estimating Parameters of a Sine Wave by Separable Nonlinear Least Squares Fitting IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2010 10.1109/tim.2010.2047298
- Accurate Frequency Estimation Based On Three-Parameter Sine-Fitting With Three FFT Samples Metrology and Measurement Systems · De Gruyter Open · 2015 10.1515/mms-2015-0032
- A Novel Genetic Algorithm for Parameter Estimation of Sinusoidal Signals 2021 14th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI) · 2019 10.1109/cisp-bmei48845.2019.8966081
- High-Speed and Time-Interleaved ADCs Using Additive-Neural-Network-Based Calibration for Nonlinear Amplitude and Phase Distortion IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2022 10.1109/tcsi.2022.3201016
- IEEE Trial-Use Standard for Digitizing Waveform Recorders 1988 10.1109/ieeestd.1989.7361719
- The unscented Kalman filter for nonlinear estimation 2002 10.1109/asspcc.2000.882463
- Design and implementation of accurate frequency estimator depend on deep learning International Journal of Engineering & Technology · 2020 10.14419/ijet.v9i2.30473
- Numerical Differentiation and Integration Birkhäuser Boston eBooks · Birkhäuser Boston · 2011 10.1007/978-0-8176-8259-0_3
- Kalman filtering with state equality constraints IEEE Transactions on Aerospace and Electronic Systems · Institute of Electrical and Electronics Engineers · 2002 10.1109/7.993234