DIGITAL CORRECTION METHOD FOR DYNAMIC RANGE EXPANSION OF MULTIPLE ADCS

Information

  • Patent Application
  • 20240396567
  • Publication Number
    20240396567
  • Date Filed
    April 15, 2024
    8 months ago
  • Date Published
    November 28, 2024
    28 days ago
Abstract
A digital correction method for dynamic range expansion of multiple ADCs includes: obtaining gain and offset correction values of other channels relative to a standard channel CH1 based on iterative computations through positive and negative amplitude auxiliary values and positive and negative base values, then performing gain-offset error correction on the other channels, and then calculating phase differences of the other channels relative to the standard channel CH1 and constructing fractional delay filters with a Farrow structure corresponding to the channels, correcting sampling data X2, . . . , XM after performing the gain-offset error correction. Digital correction of sampling data collected from multiple channels in a multi-ADC system is realized while ensuring that respective dynamic ranges of the sampling data with different gains output by the multiple channels are not lost.
Description
TECHNICAL FIELD

The disclosure relates to the field of dynamic signal analysis (DSA), particularly to a digital correction method for dynamic range expansion of multiple analog-to-digital converters (ADCs).


BACKGROUND

A maximum range and a minimum measurable signal of an instrument determine performance of dynamic testing, and the minimum measurable signal of the instrument is determined by noise suppression performance of an analog device corresponding to a channel and a resolution of an analog-to-digital converter (ADC). Throughout a development process of indices in a dynamic range (DR) of a dynamic signal analyzer, improvements of the ADC resolution and a process of the analog device can lead to a significant increase in the DR. However, with the increasing resolution of ADC nowadays, the improvement in the process of the analog device becomes slower and more difficult. When using a single ADC to collect signals under a condition that a noise of the channel is ideal, a DR of a system depends on an index of a signal-to-noise ratio of the ADC, and signals beyond a measurement range of the single ADC cannot be tested by the system. Therefore, using multiple ADCs to complete data acquisition can break through the DR limitation corresponding to the single ADC.


A key to an expansion technology of the multiple ADCs is how to integrate sampling data collected from multiple channels into one channel. However, the expansion technology faces two major challenges: 1) how to correct gains and offsets of the sampling data collected from the multiple channels to unify the multiple ADCs at the same quantization accuracy; and 2) how to correct different time delays between the sampling data collected from the multiple channels.


SUMMARY

An objective of the disclosure is to overcome deficiencies in the related art, thereby providing a digital correction method for dynamic range expansion of multiple analog-to-digital converters (ADCs), which can complete digital correction of sampling data collected from multiple channels in a multi-ADC system while ensuring that respective dynamic ranges of the sampling data with different gains output by the multiple channels are not lost, so as to integrate the sampling data collected from the multiple ADCs into a data stream in a single channel.


In order to achieve the above objective, the digital correction method for dynamic range expansion of multiple ADCs is provided by the disclosure, a number of channels of the multiple ADCs is M; and the digital correction method includes the following steps:

    • step 1, obtaining a gain correction value Am, 1≤m≤M−1 and an offset correction value Bm, 1≤m≤M−1 of each channel in target channels of the M channels by iterative computations, and performing gain-offset error correction on each of the target channels based on the gain correction value Am and the offset correction value Bm;
    • the M channels having different gains and different offset errors, and the M channels being denoted as CH1, CH2, CH3, . . . , CHM; sampling data of the M channels CH1, CH2, CH3, . . . , CHM being respectively denoted as X1, X2, . . . , XM; the channel CH1 of the M channels being determined as a reference channel, and the gain-offset error correction being performed on the channels CH2, CH3, . . . , CHM, as the target channels, of the M channels according to gain correction values A1, A2, . . . , AM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 and offset correction values B1, B2, . . . , BM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:






{





X
2

=



A
1



X
2


+

β
1









X
3

=



A
2



X
3


+

β
2














X
M

=



A

M
-
1




X
M


+

B

M
-
1













    • the gain correction values A1, A2, . . . , Am−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 and the offset correction values B1, B2, . . . , Bm−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 being obtained by performing the iterative computations on bipolar signals of the sampling data of two channels of the M channels; and the obtaining the gain correction value Am and the offset correction value Bm including the following steps:
      • step 1.1, selecting a first sampling data segment with a length L from the sampling data of the channel CH1 and a second sampling data segment with the length L from the sampling data of the channel CHm+1, denoting the first sampling data segment corresponding to the channel CH1 as X1(0), X1(1), . . . , X1(L−1) and denoting the second sampling data segment corresponding to the channel CHm+1 as Xm+1(0), Xm+1(1), . . . , Xm+1(L−1); initializing a number of the iterative computations i=1, initializing a positive amplitude auxiliary value P(0)=X1(0), initializing a negative amplitude auxiliary value N(0)=X1(0), initializing the gain correction value Am(0)=1, and initializing the offset correction value Bm(0)=0;
      • step 1.2, calculating a positive amplitude auxiliary value P(i) of an ith iterative computation and a negative amplitude auxiliary value N(i) of the ith iterative computation according to the following formula:










P

(
i
)

=


P

(

i
-
1

)

+








[



X
1

(

i
-
1

)

+


(


X
PMax

-


X

m
+
1


(

i
-
1

)


)

×


A
m

(

i
-
1

)


+


B
m

(

i
-
1

)

-

P

(

i
-
1

)


]

×

D









N

(
i
)

=


N

(

i
-
1

)

+








[



X
1

(

i
-
1

)

+


(


X
NMax

-


X

m
+
1


(

i
-
1

)


)

×


A
m

(

i
-
1

)


+


B
m

(

i
-
1

)

-

N

(

i
-
1

)


]

×

D










      • where XPMax represents a positive base value and is determined as a positive maximum value of a higher gain channel between the channel CH1 and the channel CHm+1; XNMax represents a negative base value and is determined as a negative maximum value of the higher gain channel between the channel CH1 and the channel CHm+1; Am(i−1) represents a gain correction value of an (i−1)th iterative computation; Bm(i−1) represents an offset correction value of the (i−1)th iterative computation; and D′ represents an iteration speed;

      • step 1.3, calculating a gain correction value Am(i) of the ith iterative computation and an offset correction value Bm(i) of the ith iterative computation according to the following formula:














A
m

(
i
)

=



P

(
i
)

-

N

(
i
)




X
PMax

-

X
NMax









B
m

(
i
)

=




X
PMax

×

N

(
i
)


-


X
NMax

×

P

(
i
)




2
×

(


X
PMax

-

X
NMax


)












      • step 1.4, calculating an error Δm(i) of the ith iterative computation according to the following formula:













Δ
m

(
i
)

=



X
1

(
i
)

-

[




A
m

(
i
)

×


X

m
+
1


(
i
)


+


B
m

(
i
)


]










      • step 1.5, determining whether the error Δm(i) is less than a set iteration precision; when the error Δm(i) is less than the set iteration precision, determining the gain correction value Am(i) of the ith iterative computation and the offset correction value Bm(i) of the ith iterative computation as the gain correction value Am and the offset correction value Bm; or when the error Δm(i) is equal to or greater than the set iteration precision, determining i=i+1 and returning and performing the step 1.2;



    • step 2, obtaining delays of the M channels, constructing a fractional delay filter with a Farrow structure, and performing delay correction on the M channels, which includes the following steps:
      • step 2.1, obtaining the delays of the target channels, including:
        • inputting standard signals with same frequency and same phase into the M channels CH1, CH2, CH3, . . . , CHM; performing fast Fourier transform (FFT) on the sampling data of the M channels CH1, CH2, CH3, . . . , CHM to obtain results corresponding to the M channels CH1, CH2, CH3, . . . , CHM; and obtaining phases φm, m=1, 2, . . . , M of the M channels CH1, CH2, CH3, . . . , CHM according to real parts REm and imaginary parts IMm, m=1, 2, . . . , M of the results by using the following formula:










φ
m

=

arc


tan

(


IM
m


RE
m


)












        • obtaining phase differences Δφ1, Δφ2, . . . , ΔφM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:















Δφ
m

=


φ

m
+
1


-

φ
1



,

m
=
1

,
2
,


,

M
-
1











        • obtaining the delays τm, m=1, 2, . . . , M−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:














τ
m

=



k



360

°


f
0





Δφ
m












        • where f0 represents a frequency of each of the standard signals, and k′ represents a sampling rate of each of the multiple ADCs;



      • step 2.2, designing the fractional delay filter with the Farrow structure, including:
        • determining a coefficient of a fractional delay filter base on Lagrange interpolation by obtaining a maximum flatness in a passband of the fractional delay filter based on Lagrange interpolation; and the coefficient of the fractional delay filter based on Lagrange interpolation being expressed as follows:













h

(
n
)

=







k
=
0






k

n




P



D
-
k


n
-
k




,

n
=
0

,
1
,
2
,


,
P










        • where P represents an order of the fractional delay filter based on Lagrange interpolation, D=P−2+d, and d represents a fractional delay within a range of 0≤d≤1;

        • using a wave filter with a Farrow structure to approximate the determined coefficient h(n) of the fractional delay filter based on Lagrange interpolation, thereby obtaining the fractional delay filter with the Farrow structure within the fractional delay of 0≤d≤1 by using the wave filter with the Farrow structure, and obtaining a polynomial h′(n) for the coefficient h(n) of the fractional delay filter based on Lagrange interpolation according to D=P−2+d, and the polynomial h′(n) for the coefficient h(n) of the fractional delay filter based on Lagrange interpolation being expressed by the following formula:
















h


(
n
)

=




P
=
0

P




c
P

(
n
)



d
P




,

n
=
0

,
1
,
2
,


,
P










        • where cP(n) represents a coefficient of the fractional delay filter with the Farrow structure;

        • for the channels CH2, CH3, . . . , CHM, the delays Σm, m=1, 2, . . . , M−1 being determined as d respectively, and a polynomial hm(n) for the coefficient of the fractional delay filter with the Farrow structure corresponding to the channels CH2, CH3, . . . , CHM respectively being obtained as follows:
















h
m

(
n
)

=




P
=
0

P




c
P

(
n
)



τ
m
P




,

n
=
0

,
1
,
2
,


,
P
,

m
=
1

,
2
,


,

M
-
1











        • for the channel CH1, a decimal delay τ0 being a constant and being determined as d, and a polynomial h0(n) for the coefficient of the fractional delay filter with the Farrow structure corresponding to the channel CH1 being obtained as follows:
















h
0

(
n
)

=




P
=
0

P




c
P

(
n
)



τ
0
P




,

n
=
0

,
1
,
2
,


,
P








      • step 2.3, performing the delay correction on the M channels, including:
        • performing half-band interpolation on the sampling data X1 corresponding to the channel CH1 and the sampling data X2, . . . , XM corresponding to the channels CH2, CH3, . . . , CHM after the gain-offset error correction performed in the step 1 to obtain processed sampling data, and inputting the processed sampling data into the fractional delay filters h0(n), h1(n), . . . , hM−1(n) with the Farrow structure corresponding to the M channels CHI1 CH2, CH3, . . . , CHM respectively to perform delay filtering, and then performing half-band extraction after the delay filtering to obtain delay-corrected sampling data X1, X2, . . . , XM, thereby completing the delay correction on the M channels; and



    • step 3, data integration, including:
      • integrating the delay-corrected sampling data X1, X2, . . . , XM to obtain a multi-ADC acquisition signal.





Specially, the decimal delay τ0 is set with a precision of ten thousandth of a sampling point.


The objective of the disclosure is realized as follows. The disclosure provides the digital correction method for dynamic range expansion of multiple ADCs, which uses the positive amplitude auxiliary value and the negative amplitude auxiliary value, the positive base value and the negative base value to perform the iterative computations to obtain the gain correction values and the offset correction values of the channels relative to the channel CHI1, thereby performing the gain-offset error correction on the channels except for the channel CH1. Then, the phase differences of the channels relative to the standard channel CH1 are calculated to construct the fractional delay filters with the Farrow structure, and the sampling data X2, . . . , XM performed by the gain-offset error correction are further corrected. The disclosure ensures that the respective dynamic ranges of the sampling data with different gains output by the multiple channels are not lost, while completing the digital correction of the sampling data collected from the multiple channels in the multi-ADC system.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 illustrates a schematic diagram of a flowchart of a digital correction method for dynamic range expansion of multiple ADCs according to an embodiment of the disclosure.



FIG. 2 illustrates a flowchart of obtaining a gain correction value Am and an offset correction value Bm in step 1 illustrated in FIG. 1.



FIG. 3 illustrates a schematic diagram of a principle of the digital correction method for dynamic range expansion of multiple ADCs according to the embodiment of the disclosure.



FIG. 4 illustrates a schematic diagram of obtaining a phase difference.



FIG. 5A illustrates a schematic diagram of an output signal before digital correction.



FIG. 5B illustrates a schematic diagram of the output signal after the digital correction.





DETAILED DESCRIPTION OF EMBODIMENTS

Embodiments of the disclosure are described below with reference to attached drawings, so that those skilled in the related art can better understand the disclosure. It should be noted that in the following description, these detailed descriptions will be omitted here when the detailed descriptions of the known functions and designs may fade the main content of the disclosure.



FIG. 1 illustrates a schematic diagram of a flowchart of a digital correction method for dynamic range expansion of multiple analog-to-digital converters (ADCs) according to an embodiment of the disclosure.


In the embodiment, as shown in FIG. 1, a number of channels of the multiple ADCs is M; and the digital correction method for dynamic range expansion of multiple ADCs according to the disclosure includes the following steps.


Step 1, a gain correction value Am, 1≤m≤M−1 and an offset correction value Bm, 1≤m≤M−1 of each channel in target channels of the M channels are obtained by iterative computations, and gain-offset error correction is performed on each of the target channels based on the gain correction value Am and the offset correction value Bm.


The M channels have different gains and different offset errors, and the M channels are denoted as CH1, CH2, CH3, . . . , CHM; sampling data of the M channels CH1, CH2, CH3, . . . , CHM are respectively denoted as X1, X2, . . . , XM; and the channel CH1 of the M channels is determined as a reference channel. In the embodiment, a channel with a minimum gain of the M channels is determined as the channel CH1, which avoids a loss of dynamic range during digital correction process.


The gain-offset error correction is performed on the channels CH2, CH3, . . . , CHM, as the target channels, of the M channels according to gain correction values A1, A2, . . . , AM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 and offset correction values B1, B2, . . . , BM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:






{






X
2

=



A
1



X
2


+

B
1









X
3

=



A
2



X
3


+

B
2














X
M

=



A

M
-
1




X
M


+

B

M
-
1







.





In an embodiment, the gain correction values A1, A2, . . . , AM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 and the offset correction values B1, B2, . . . , BM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 are obtained by performing the iterative computations on bipolar signals of the sampling data of two channels (i.e., a to-be-corrected channel selected from the channels CH2, CH3, . . . , CHM and the reference channel CH1) of the M channels. Since the bipolar signals are divided into positive amplitude and negative amplitude, the iterative computations introduce several additional auxiliary values, including: using a positive maximum value of a higher gain channel between the to-be-corrected channel and the reference channel CH1 as a positive base value XPMax, using a negative maximum value of the higher gain channel between the to-be-corrected channel and the reference channel CH1 as a negative base value XNMax, a positive amplitude auxiliary value P(i), and a negative amplitude auxiliary value N(i). P(i) and N(i) are used for calculating the gain correction values A1, A2, . . . , AM−1 and the offset correction values B1, B2, . . . , BM−1 during the iteration computations.


Specifically, as shown in FIG. 2, the obtaining the gain correction value Am and the offset correction value Bm includes the following steps.


Step 1.1, an initialization is performed.


A sampling data segment (also referred to a first sampling data segment) with a length L is selected from the sampling data of the channel CH1 and a sampling data segment (also referred to a second sampling data segment) with the length L is selected from the sampling data of the channel CHm+1, the sampling data segment corresponding to the channel CH1 is denoted as X1(0), X1(1), . . . , X1(L−1) and the sampling data segment corresponding to the channel CHm+1 is denoted as Xm+1(0), Xm+1(1), . . . , Xm+1(L−1); a number of the iterative computations is initialized by i=1, a positive amplitude auxiliary value is initialized by P(0)=X1(0), a negative amplitude auxiliary value is initialized by N(0)=X1(0), the gain correction value is initialized by Am(0)=1, and the offset correction value is initialized by Bm(0)=0.


Step 1.2, a positive amplitude auxiliary value P(i) of an ith iterative computation and a negative amplitude auxiliary value N(i) of the ith iterative computation are calculated according to the following formula:







P

(
i
)

=


P

(

i
-
1

)

+









[



X
1

(

i
-
1

)

+


(


X
PMax

-


X

m
+
1


(

i
-
1

)


)

×


A
m

(

i
-
1

)


+


B
m

(

i
-
1

)

-

P

(

i
-
1

)


]

×

D



;







N

(
i
)

=


N

(

i
-
1

)

+








[



X
1

(

i
-
1

)

+


(


X
NMax

-


X

m
+
1


(

i
-
1

)


)

×


A
m

(

i
-
1

)


+


B
m

(

i
-
1

)

-

N

(

i
-
1

)


]

×


D


.





In the above formula, XPMax represents a positive base value and is determined as a positive maximum value of a higher gain channel between the channel CH1 and the channel CHm+1; XNMax represents a negative base value and is determined as a negative maximum value of the higher gain channel between the channel CH1 and the channel CHm+1; Am(i−1) represents a gain correction value of an (i−1)th iterative computation; Bm(i−1) represents an offset correction value of the (i−1)th iterative computation; and D′ represents an iteration speed.


Step 1.3, a gain correction value Am(i) of the ith iterative computation and an offset correction value Bm(i) of the ith iterative computation are calculated according to the following formula:










A
m

(
i
)

=



P

(
i
)

-

N

(
i
)




X
PMax

-

X
NMax




;






B
m

(
i
)

=





X
PMax

×

N

(
i
)


-


X
NMax

×

P

(
i
)




2
×

(


X
PMax

-

X
NMax


)



.






Step 1.4, an error Δm(i) of the ith iterative computation is calculated according to the following formula:








Δ
m

(
i
)

=



X
1

(
i
)

-


[




A
m

(
i
)

×


X

m
+
1


(
i
)


+


B
m

(
i
)


]

.






Step 1.5, whether the error Δm(i) is less than a set iteration precision is determined; when the error Δm(i) is less than the set iteration precision, the gain correction value Am(i) of the ith iterative computation and the offset correction value Bm(i) of the ith iterative computation are determined as the gain correction value Am and the offset correction value Bm; or when the error Δm(i) is equal to or greater than the set iteration precision, i=i+1 is determined and step 1.2 is returned and performed.


Since the multiple ADCs are similar, in an illustrated embodiment, as shown in FIG. 3, two ADCs are used as an example for description. In the embodiment, the disclosure only needs to calculate the gain correction value A1 and the offset correction value B1 of the channel CH2, and to perform the gain-offset error correction on the channel CH2 according to a formula as follows:







X
2

=



A
1



X
2


+


B
1

.






Step 2: delays of the M channels are obtained, a fractional delay filter with a Farrow structure is constructed (the multiple M channels corresponding to multiple fractional delay filters with the Farrow structure), and delay correction is performed on the M channels.


In an embodiment, the step 2 includes the following steps.


Step 2.1: the delays of the target channels are obtained.


In the step 2.1, in combination with spectrum analysis, a corresponding phase spectrum is obtained according to a corresponding real part and a corresponding imaginary part based on fast Fourier transform (FFT), which is convenient for measuring a phase difference of a signal at a certain frequency point. When measuring the delay of a single frequency point, the standard signal corresponding to the single frequency point is input through a signal source, the standard signals with same frequency and same phase are input into the M channels, the channel CH1 is used as the reference channel, phases of M standard frequency points corresponding to the M channels are calculated based on FFT, and then phase differences of the channels CH2, CH3, . . . , CHM relative to the channel CH1 at the same frequency point are obtained, thereby estimating the delay of the to-be-corrected channel relative to the channel CH1 according to the corresponding phase difference of the single frequency point.


Specifically, the step of obtaining the delays of the target channels includes the following steps:

    • inputting standard signals with same frequency and same phase into the M channels CH1, CH2, CH3, . . . , CHM; performing fast Fourier transform (FFT) on the sampling data of the M channels CH1, CH2, CH3, . . . , CHM to obtain results corresponding to the M channels CH1, CH2, CH3, . . . , CHM; and obtaining phases φm, m=1, 2, . . . , M of the M channels CH1, CH2, CH3, . . . , CHM according to real parts REm and imaginary parts IMm, m=1, 2, . . . , M of the results by using the following formula:








φ
m

=

arc


tan

(


IM
m


RE
m


)



;






    • obtaining phase differences Δφ1, Δφ2, . . . , ΔφM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:











Δφ
m

=


φ

m
+
1


-

φ
1



,

m
=
1

,
2
,


,


M
-
1

;







    • obtaining the delays τm, m=1, 2, . . . , M−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:











τ
m

=



k



360

°


f
0





Δφ
m



;






    • where f0 represents a frequency of each of the standard signals, and k′ represents a sampling rate of each of the multiple ADCs.





In an illustrated embodiment, the sampling rate of the ADC is 262.144 kilohertz (kHz), and an analysis bandwidth of the multi-ADS system is 102.4 kHz. As shown in FIG. 4, a host computer obtains the phase difference corresponding to the certain frequency point according to the real parts RE1 and RE2 and the imaginary part IM1 and IM2 based on the FFT. When the delay of the single frequency point is measured, the standard signal with a frequency of 1.024 kHz is input into each channel of the M channels through the signal source, the sampling rate is 262.144 kHz, and an FFT analysis at 8192 points is performed, so that the standard signal with the frequency of 1.024 kHz is located at a point of the 32th FFT, and then the corresponding imaginary part and the corresponding real part are IM1 and IM2 and RE1 and RE2, the phase difference Δφ1 between the phase φ1 and the phase φ2 is obtained by Δφ12−φ1; and the phase φ1 and the phase φ2 are calculated by arctangent values between the real parts of RE1 RE2 and the imaginary parts of IM1 IM2 of the two channels (i.e., the channel CH1 and the channel CH2) based on the FFT. If the phase difference Δφ1 between the two channels at the same frequency point is 0.08°, and the delay τ1 between the two channels is estimated according to the phase difference of the single frequency point as follows:







τ
1

=




k



360

°


f
0





Δφ
1


=



262.144

kHz
×
0.08
°


1.024

kHz
×
360

°


=

0.05689
.







Step 2.2: the fractional delay filter with the Farrow structure is designed, including the following steps:

    • determining a coefficient of a fractional delay filter base on Lagrange interpolation by obtaining a maximum flatness in a passband of the fractional delay filter based on Lagrange interpolation; and the coefficient of the fractional delay filter based on Lagrange interpolation being expressed as follows:








h

(
n
)

=







k
=
0






k

n




P



D
-
k


n
-
k




,

n
=
0

,
1
,
2
,


,
P






    • where P represents an order of the fractional delay filter based on Lagrange interpolation, D=P−2+d, and d represents a fractional delay within a range of 0 d≤1.





In an illustrated embodiment, the order P of the fractional delay filter based on Lagrange interpolation is P=3, which is taken as an example, the coefficient of the fractional delay filter based on Lagrange interpolation is shown in Table 1 as follows:












TABLE 1





h(0)
h(1)
h(2)
h(3)







P = 3 -(D-1)(D-2)(D-3)/6
D(D-2)(D-3)/2
-D(D-1)(D-3)/2
D(D-1)(D-2)/6









The step 2.2 further includes: using a wave filter with a Farrow structure to approximate the determined coefficient h(n) of the fractional delay filter based on Lagrange interpolation, thereby obtaining an optimal fractional delay filter (i.e., the fractional delay filter with the Farrow structure) within the fractional delay of 0≤d≤1 by using the wave filter with the Farrow structure, and obtaining a polynomial h′(n) for the coefficient h(n) of the fractional delay filter based on Lagrange interpolation according to D=P−2+d, and the polynomial h′(n) for the coefficient h(n) of the fractional delay filter based on Lagrange interpolation being expressed by the following formula:

    • h′(n)=ΣP=0PcP(n)dP, n=0, 1, 2, . . . , P, where cP(n) represents a coefficient of the fractional delay filter with the Farrow structure.


In an illustrated embodiment, the order P of the fractional delay filter based on Lagrange interpolation is P=3, an expression of the coefficient of the fractional delay filter based on Lagrange interpolation with third-order Farrow structure is expressed as follows:






{







h
d

(
0
)

=



-

1
6




d
3


+


1
2



d
2


-


1
3


d










h
d

(
1
)

=



1
2



d
3


-

d
2

-


1
2


d

+
1









h
d

(
2
)

=



-

1
2




d
3


+


1
2



d
2


+
d









h
d

(
3
)

=



1
6



d
3


-


1
6


d






.





The coefficient cP(n) of the fractional delay filter with the third-order Farrow structure according to the Lagrange interpolation is obtained as follows:








c
p

(
n
)

=


(





c
3

(
0
)





c
2

(
0
)





c
1

(
0
)





c
0

(
0
)







c
3

(
1
)





c
2

(
1
)





c
1

(
1
)





c
0

(
1
)







c
3

(
2
)





c
2

(
2
)





c
1

(
2
)





c
0

(
2
)







c
3

(
3
)





c
2

(
3
)





c
1

(
3
)





c
0

(
3
)




)

=


(




-

1
6





1
2




-

1
3




0





1
2




-
1




-

1
2




1





-

1
2





1
2



1


0





1
6



0



-

1
6




0



)

.






For the channels CH2, CH3, . . . , CHM, the delays τm, m=1, 2, . . . , M−1 obtained in the step 2.1 are determined as d respectively, and therefore the fractional delay filters hm(n) with the Farrow structure (also referred to the polynomials for the coefficient of the fractional delay filter with the Farrow structure) corresponding to the channels CH2, CH3, . . . , CHM are obtained as follows:









h
m

(
n
)

=




P
=
0

P




c
P

(
n
)



τ
m
P




,

n
=
0

,
1
,
2
,


,
P
,

m
=
1

,
2
,


,

M
-
1





For the channel CH1, a decimal delay τ0 with a precision of ten thousandth of a sampling point is determined as d, and the polynomial h0(n) for the coefficient of the fractional delay filter with the Farrow structure corresponding to the channel CH1 is obtained as follows:









h
0

(
n
)

=




P
=
0

P




c
P

(
n
)



τ
0
P




,

n
=
0

,
1
,
2
,


,
P




Specially, the decimal delay τ0 is a constant.


Step 2.3: the delay correction is performed on the M channels as follows.


The delay correction uses the fractional delay filters with the Farrow structure corresponding to the M channels to eliminate delay inconsistency of the sampling data of the M channels. Meanwhile, due to the fact that a bandwidth of the fractional delay filter with the Farrow structure is designed to be low by using the maximum flatness in the passband of the fractional delay filter based on Lagrange interpolation, the interpolation can be used to improve data rate, and data extraction can be performed after the delay correction is realized by the fractional delay filter with the Farrow structure. Specifically, the step 2.3 includes the following steps: performing half-band interpolation on the sampling data X1 corresponding to the channel CH1 and the sampling data X2, . . . , XM corresponding to the channels CH2, CH3, . . . , CHM after the gain-offset error correction performed in the step 1 to obtain processed sampling data, and inputting the processed sampling data into the fractional delay filters (also referred to the polynomials for the coefficient of the fractional delay filter with the Farrow structure corresponding to the M channels obtained in the step 2.2) h0(n), h1(n), . . . , hM−1(n) with the Farrow structure corresponding to the M channels CH1, CH2, CH3, . . . , CHM respectively to perform delay filtering, and then performing half-band extraction after the delay filtering to obtain delay-corrected sampling data X1, X2, . . . , XM, thereby completing the delay correction on the M channels.


In an illustrated embodiment, as shown in FIG. 3, the sampling data X1 corresponding to the channel CH1 and the sampling data X2 corresponding to the channel CH2 after the gain-offset error correction is performed in the step 1 are respectively subjected to the half-band interpolation, and then respectively sent to the corresponding fractional delay filter with the Farrow structure respectively, i.e., h0(n) and h1(n), to perform the delay filtering, and then the half-band extraction is performed after the delay filtering to obtain delay-corrected sampling data X1 and X2, thereby completing the delay correction on the channel CH1 and the channel CH2.


In an illustrated embodiment, the disclosure use a seven-order wave filter with the Farrow structure to perform channel fixed delay correction based on linear phase characteristic, a normalized passband of the seven-order wave filter with the Farrow structure is only 52 kHz at the sampling rate of 262.144 kHz, the sampling rate is first increased to 524.288 kHz by using the half-band interpolation, and at this time, the passband of the seven-order wave filter with the Farrow structure meets a passband requirement of 105 kHz.


The sampling data of the two channels are corrected by the seven-order wave filter with the Farrow structure respectively. Specially, the fractional delay filter with the Farrow structure is set with a small delay of 0.0001 (i.e., the constant for the decimal delay) to compensate for the amplitude and full cycle delay of the sampling data in the channel CH1.


Step 3: data integration is performed.


The step 3 includes: integrating the delay-corrected sampling data X1, X2, . . . , XM to obtain a multi-ADC acquisition signal.


According to an actual application scenario of dynamic range expansion, sampling data with different amplitudes needs to be selected for integration by more different gains of the multiple channels. In an illustrated embodiment, the input signal is a sine wave, as shown in FIG. 5A, circles illustrated in FIG. 5A indicate occurrence points of vertical nonlinearity caused by delay error after data integration, and it can be seen that due to the existence of the delay error, time domain waveform of an output signal generates obvious distortion. Meanwhile, as shown in FIG. 5B, after the digital correction is performed, the two lines illustrated in FIG. 5B coincide with each other to represent the correction filter to well correct the delay error, so that the waveform distortion is improved.


Although the foregoing has been described with respect to the illustrated embodiments of the disclosure, it will be apparent to those skilled in the related art that the disclosure is not limited to the scope of the illustrated embodiments. Moreover, it will be apparent to those skilled in the related art that such variations are obvious to those skilled in the related art, as long as the variations fall within the spirit and scope of the disclosure, all of which are protected by the disclosure.

Claims
  • 1. A digital correction method for dynamic range expansion of multiple analog-to-digital converters (ADCs), wherein a number of channels of the multiple ADCs is M; and the digital correction method comprises the following steps: step 1, obtaining a gain correction value Am, 1≤m≤M−1 and an offset correction value Bm, 1≤m≤M−1 of each channel in target channels of the M channels by iterative computations, and performing gain-offset error correction on each of the target channels based on the gain correction value Am and the offset correction value Bm;wherein the M channels have different gains and different offset errors, and the M channels are denoted as CH1, CH2, CH3, . . . , CHM; sampling data of the M channels CH1, CH2, CH3, . . . , CHM are respectively denoted as X1, X2, . . . , XM; the channel CH1 of the M channels is determined as a reference channel, and the gain-offset error correction is performed on the channels CH2, CH3, . . . , CHM, as the target channels, of the M channels according to gain correction values A1, A2, . . . , AM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 and offset correction values B1, B2, . . . , BM−1 of the channels CH2, CH3, . . . , CHM relative to the channel CH1 by the following formula:
  • 2. The digital correction method for dynamic range expansion of multiple ADCs according to claim 1, further comprising: determining a channel with a minimum gain of the M channels as the channel CH1.
Priority Claims (1)
Number Date Country Kind
2023105777203 May 2023 CN national