The present disclosure is filed based on Chinese patent application No. 202010575519.8 filed on Jun. 22, 2020, and claims priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into the present disclosure by reference.
Embodiments of the present disclosure relate to the field of communication devices, and in particular to a method and an apparatus for calibrating a sampling timing skew between channels of a time-interleaved analog to digital converter, ADC, a time-interleaved ADC, TIADC, an electronic device, and a computer readable medium.
In recent years, with the development of information technology, requirements for high-speed and high-precision ADCs in fields of wireless communication, high-precision instrumentation and wired transmission are getting higher and higher. Affected by technique and design level of an integrated circuit, it is generally difficult for a conventional single-channel ADC to achieve high speed and high precision requirements at the same time. A time-interleaved technology that enables multiple single-channel ADCs to work in parallel is an effective method to improve the conversion rate of the ADCs, and has received more and more attention and adoption in recent years.
A TIADC adopts an architecture in which multiple single-channel ADCs work alternately in an orderly manner, which can multiply the conversion rate of the ADCs, but system performance of a TIADC system is poor.
A main objective of the embodiments of the present disclosure is to provide a method and an apparatus for calibrating a sampling timing skew between channels of a time-interleaved ADC, a TIADC, an electronic device, and a computer-readable medium.
In order to achieve the above objective, the method for calibrating a sampling timing skew between channels of a TIADC is provided according to some embodiments of the present disclosure. The method includes the following operations: calculating, for every two adjacent channels in multiple ADC channels, a correlation value between digital signals of two adjacent channels according to the digital signals output by every two adjacent channels; calculating a timing skew adjustment amount corresponding to a sampling timing skew of each of the multiple ADC channels relative to a reference channel according to the correlation value corresponding to every two adjacent channels, where the reference channel is any designated channel among the multiple ADC channels; calibrating the sampling timing skew of each of the multiple ADC channels relative to the reference channel according to the timing skew adjustment amount corresponding to each of the multiple ADC channels.
In order to achieve the above objective, some embodiments of the present disclosure further provide a calibration apparatus for calibrating a sampling timing skew between channels of the TIADC. The calibration apparatus includes a correlation value calculation unit, a timing skew adjustment calculation unit and a calibration unit. The correlation value calculation unit is configured to calculate, for every two adjacent channels in multiple ADC channels, a correlation value between digital signals of every two adjacent channels according to the digital signals output by every two adjacent channels. The timing skew adjustment calculation unit is configured to calculate a timing skew adjustment amount corresponding to a sampling timing skew of each of the multiple ADC channels relative to a reference channel according to the correlation value corresponding to every two adjacent channels, where the reference channel is any designated channel among the multiple ADC channels. The calibration unit is configured to calibrate the sampling timing skew of each of the multiple ADC channels relative to the reference channel according to the timing skew adjustment amount corresponding to each of the multiple ADC channels.
In order to achieve the above objective, some embodiments of the present disclosure further provide a TIADC, which includes multiple ADC channels and the above calibration apparatus.
In order to achieve the above objective, some embodiments of the present disclosure further provide an electronic device, which includes: one or more processors; a memory storing one or more programs that, when executed by the one or more processors, causes the one or more processors to perform the above calibration method; one or more input/output (I/O) interfaces, which connect the one or more processors to the memory, and is configured to realize information interaction between the one or more processors and the memory.
In order to achieve the above objective, some embodiments of the present disclosure further provide a computer-readable medium storing a computer program that, when executed, performs the above calibration method.
In order to make those skilled in the art better understand the technical solution of the embodiments of the present disclosure, a method and an apparatus for calibrating a sampling timing skew between channels of a TIADC, a TIADC, an electronic device, and a computer readable medium provided according to the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Herein, the accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, the accompanying drawings are used to explain the present disclosure, and do not constitute a limitation on the present disclosure.
Exemplary embodiments are described more fully hereinafter with reference to the accompanying drawings, but the exemplary embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be thorough and complete, and will fully convey the scope of the present disclosure to those skilled in the art. Various embodiments of the present disclosure and various features of the embodiments may be combined with each other in a case without conflict.
The terms used herein are used to describe particular embodiments only and are not intended to limit the present disclosure. As used herein, “first”, “second”, and similar terms do not denote any order, quantity, or importance, but are merely used to distinguish various components. Likewise, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Words like “connected” or “connecting” are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Up”, “down”, “left”, “right”, etc. are only used to represent a relative positional relationship, and when an absolute position of the described object changes, the relative positional relationship may also change accordingly.
Embodiments described herein may be described with reference to plan and/or cross-sectional views with the aid of idealized schematic diagrams of the present disclosure. Accordingly, exemplary drawings may be modified according to manufacturing techniques and/or tolerances. Therefore, the embodiments are not limited to the embodiments shown in the accompanying drawings, but include modifications of configurations formed based on a manufacturing process. Thus, regions illustrated in the accompanying drawings have schematic properties and shapes of regions illustrated in the drawings exemplifies specific shapes of regions of elements and are not intended to be limitative.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in common dictionaries should be construed as having meanings consistent with their meanings in the context of the related art and the present disclosure, and will not be construed as having idealized or over-formal meanings, unless clearly limited herein.
In the embodiments of the present disclosure, affected by the manufacturing process, temperature changes, environmental disturbances, etc., an architecture of the TIADC has a disadvantage of mismatch between channels, mainly including three error sources, that is, offset mismatch, gain mismatch, and sampling time mismatch between the channels. An error caused by the error sources can significantly degrade performance of the TIADC system. Herein, performance degradation caused by the sampling time mismatch between the channels is strongly related to a signal frequency, and becomes a main factor limiting performance of the TIADC in a high frequency part.
Therefore, in order to effectively solve the problem of performance degradation of the TIADC system caused by the sampling time mismatch, the embodiments of the present disclosure provide a method and an apparatus for calibrating the sampling timing skew between channels in the TIADC, a TIADC, an electronic device, and a computer readable medium.
The technical solution of the embodiments of the present disclosure will be described in further detail below with reference to the embodiments and the accompanying drawings.
As shown in
In operation 11, for every two adjacent channels in the multiple ADC channels, a correlation value between digital signals of every two adjacent channels is calculated according to the digital signals output by every two adjacent channels.
In operation 12, a timing skew adjustment amount corresponding to a sampling timing skew of each of the multiple ADC channels relative to a reference channel is calculated according to the correlation value corresponding to every two adjacent channels in the multiple ADC channels, where the reference channel is any designated channel among the multiple ADC channels.
In operation 13, the sampling timing skew of each of the multiple ADC channels relative to the reference channel is calibrated according to the timing skew adjustment amount corresponding to each of the multiple ADC channels.
The method for calibrating the sampling timing skew between channels of the TIADC provided according to this embodiment can be applied to a TIADC including any number of channels. The correlation value between the digital signals of every two adjacent channels in the multiple ADC channels is calculated, and the timing skew adjustment amount corresponding to the sampling timing skew of each of the multiple ADC channels relative to the reference channel is obtained from the correlation value, and the sampling time of each of the multiple ADC channels is calibrated based on the timing skew adjustment amount of each of the multiple ADC channels. In this way, the sampling timing skew between channels of the TIADC is calibrated, and system performance of the TIADC is effectively improved.
As shown in
In operation 21, digital signals output by each of the multiple ADC channels according to input analog signals are obtained.
In this embodiment, the TIADC includes N ADC channels (N≥2), a sampling rate of each of the multiple ADC channels is fs/N, where fs is a clock frequency of the TIADC. A sampling time interval of each of the multiple ADC channels is NTs, where Ts is a sampling clock period of the TIADC, and Ts=1/fs. A sampling clock of each of the multiple ADC channels is provided by a clock signal CLK corresponding to a sampling switch S/H of each of the multiple ADC channels.
After an analog signal x(t) at an input end of the TIADC is received, the TIADC performs an analog-to-digital conversion on the analog signal x(t) to generate a digital output of each of the multiple ADC channels. A digital signal output by each of the multiple ADC channels is Y={y1[k], y2[k], . . . , yi[k], . . . , yN[k]}, where yi[k] represents a kth digital signal output by an ith channel, i=1, 2, 3, . . . , N, N is the number of the ADC channels of the TIADC; k=0, 1, 2, . . . , L, L is the number of sampling points in a single channel. Herein, N ADC channels sample and hold the input analog signal x(t) at the sampling time interval NTS alternatively.
In this embodiment, a relationship between the digital signal output by the ith channel and an analog signal x(ti) corresponding to the ith channel is: yi[k]=x(NkTS+(i−1)TS+τi) where ti is an actual sampling time of the ith channel, ti=NkTS+(i−1) TS+τi, τi is an actual sampling timing skew amount (sampling time mismatch) of the ith channel relative to the reference channel. Herein, a matrix of a relationship between the kth digital signal output by each of the channels and the analog signals x(ti) corresponding to each of the multiple ADC channels is expressed as follows:
In this embodiment, in response to setting a hth (h=1, 2, 3, N−1 or N) channel as the reference channel, τh=0. For example, in response to setting a first channel as the reference channel, τ1=TN+1=0. In response to setting other channels as the reference channel, for example, in response to setting a second channel as the reference channel, τ2=0. Similarly, in response to setting a third channel as the reference channel, τ3=0, and the like. In response to setting the hth channel as the reference channel, τh=0.
In operation 22, for every two adjacent channels in the multiple ADC channels, a correlation value between digital signals of every two adjacent channels is calculated according to the digital signals output by every two adjacent channels.
In this embodiment, for every two adjacent channels in the multiple ADC channels, the correlation value between the digital signals of every two adjacent channels is calculated by using a preset autocorrelation function according to the digital signals of every two adjacent channels. As shown in
In operation 221, for every two adjacent channels in the multiple ADC channels, multiple products of the digital signals of every two adjacent channels are calculated to obtain multiple product results corresponding to every two adjacent channels.
Herein, ri,i+1[k]=yi[k]*yi+1[k], yi[k] represents a digital signal output by an ith channel, yi+1[k] represents a kth digital signal output by an i+1th channel, ri,i+1[k] represents a kth product result corresponding to the ith channel and the i+1th channel, i=1, 2, 3, . . . , N, where N is the number of channels in the time-interleaved ADC; k=0, 1, 2, . . . , L, where L is the number of sampling points in a single channel; in response to i=N, a N+1th channel is a first channel, rN,N+1[k]=yN[k]*y1[k+1]. A matrix of the product results corresponding to every two adjacent channels in the multiple ADC channels is expressed as follows:
In operation 222, an expectation value corresponding to every two adjacent channels is calculated according to the multiple product results corresponding to every two adjacent channels.
In this embodiment, a weighted average is performed on the multiple product results corresponding to every two adjacent channels, and a weighted average result is used as the expectation value corresponding to every two adjacent channels. The weighted average may adopt a method of accumulating and summing average or a method of moving average. The method of accumulating and summing average is to obtain the expectation value corresponding to every two adjacent channels by calculating an average value in the multiple product results corresponding to every two adjacent channels, that is, the average value is the expectation value. The method of moving average is to calculate the expectation value corresponding to every two adjacent channels by using a preset moving average model according to the multiple product results corresponding to every two adjacent channels. The moving average model includes a formula: R┌k┐=(1−α)*R┌k−1┐+α*r┌k┐, a is a smoothing coefficient, r┌k┐ is a product result calculated in a kth period, R┌k┐ is an expectation value calculated in the kth period, and R┌k−1┐ is an expectation value calculated in a k−1th period.
In operation 223, the correlation value between the digital signals of every two adjacent channels is calculated by using the expectation value corresponding to every two adjacent channels and the preset autocorrelation function.
The autocorrelation function is: Ri,i+1=E (ri,i+1[k])=E (yi[k]*yi+1[k]), Ri,i+1 represents a correlation value between digital signals of the ith channel and the i+1th channel, and E (ri,i+1[k]) represents an expectation value corresponding to the ith channel and the i+1th channel.
In this embodiment, the generation of analog signals is a stationary process. According to properties of an autocorrelation function of the stationary process, it can be known that the correlation value between the digital signals of the i+1th channel and the i+1th channel is:
R
i,i+1
=E(x(NkTS+(i−1)TS+τi)*x(NkTS+i*TS+τi+1))=R(TS+τi+1−τi)
In operation 23, a timing skew adjustment amount corresponding to the sampling timing skew of each of the multiple ADC channels relative to the reference channel is calculated according to the correlation value corresponding to every two adjacent channels in the multiple ADC channels, where the reference channel is any designated channel among the multiple ADC channels.
As shown in
In operation 231, a first timing skew characteristic amount corresponding to the sampling timing skew of each of the multiple ADC channels relative to the reference channel is calculated according to the correlation value of every two adjacent channels in the multiple ADC channels and a pre-obtained correspondence relationship between the correlation value and the timing skew characteristic amount.
As shown in
In operation 2301, a correlation value matrix is constructed, where the correlation value matrix includes a column vector formed by the correlation value between every two adjacent channels of the multiple ADC channels.
The correlation value matrix is:
where Ri,i+1 is the correlation value corresponding to the ith channel and the i+1th channel.
In operation 2302, a first-order Taylor series expansion is performed on the correlation value between every two adjacent channels of the multiple ADC channels in the correlation value matrix Rm to obtain a corresponding expansion matrix.
A first-order Taylor series expansion equation of the correlation value Ri,i+1 corresponding to the ith channel and the i+1th channel is: Ri,i+1=R(Ts+τi+1−τi)≈R(Ts)+R′(Ts)*(τi+1−τi), where R′(TS) is a derivative of the autocorrelation function R at TS, R′(TS) is an unknown constant, and the expansion matrix is:
In operation 2303, a matrix decomposition is performed on the expansion matrix Dm to obtain a decomposition matrix, where the decomposition matrix is a product of a coefficient matrix A and a timing skew characteristic amount matrix.
Herein, the timing skew characteristic amount matrix is:
the coefficient matrix A is a constant matrix with N rows and N columns, and a product of each of the rows of the coefficient matrix A and the timing skew characteristic amount matrix ϕm equals to an element corresponding to each of the N rows in the expansion matrix Dm.
It can be understood that in response to setting the first channel as the reference channel, τ1=0, the timing skew characteristic amount matrix is:
correspondingly, the coefficient matrix A is:
in response to setting the second channel as the reference channel, τ2=0,
correspondingly, the coefficient matrix A is:
in response to setting the third channel as the reference channel, τ3=0,
correspondingly, the coefficient matrix A is:
and the like. The product of each of the rows in the coefficient matrix A and the timing skew characteristic amount matrix e m is equal to the element corresponding to each of the N rows in the expansion matrix Dm, that is, the first-order Taylor series expansion equation of a corresponding row.
In operation 2304, the correspondence relationship between the correlation value and the timing skew characteristic amount is determined according to the correlation value matrix Rm and the decomposition matrix.
In an embodiment, a relationship between the correlation value matrix Rm and the decomposition matrix can be obtained according to the above operations 2301 to 2303, that is:
The timing skew characteristic amount is defined as: ϕj=R′(TS)*τj, and the correspondence relationship between the correlation value and the timing skew characteristic amount can be obtained, where the correspondence relationship between the correlation value and the timing skew characteristic amount is:
INV(A) is an inverse matrix of the coefficient matrix A, ϕj=R′(TS)*τj (j=1, 2, . . . , h−1, h+1, . . . , N), ϕj represents a first timing skew characteristic amount corresponding to a jth channel, τj represents an actual sampling timing skew amount corresponding to the jth channel.
In operation 232, the timing skew adjustment amount corresponding to each of the multiple ADC channels is calculated according to the first timing skew characteristic amount corresponding to each of the multiple ADC channels and a pre-obtained correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount.
The correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount can be obtained in the following manner: determining the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount according to the timing skew characteristic amount matrix.
In an embodiment, according to the timing skew characteristic amount matrix, it can be known that the timing skew characteristic amount ϕj and the actual sampling timing skew amount τj have a linear relationship, and a ratio of the timing skew characteristic amount ϕj and the actual sampling timing skew amount τj is the constant R′(TS). Based on this, the correspondence relationship between the timing skew characteristic amount ϕi and the timing skew adjustment amount is constructed. The correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount is: ϕj=R′(TS)*Dskj, Dskj is a timing skew adjustment amount corresponding to the jth channel.
In some embodiments, the timing skew adjustment amount is calculated according to the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount by calculating a value of the unknown constant R′(TS) As shown in
In operation 2321, a second timing skew characteristic amount ϕold corresponding to each of the multiple ADC channels is obtained.
In an embodiment, after the correlation value corresponding to every two adjacent channels in the multiple ADC channels is calculated by using historical digital signals output by each of the multiple ADC channels and adopting the above calculation method for the correlation value, the correspondence relationship between the above correlation value and the timing skew characteristic amount is used to calculate a second timing skew characteristic amount ϕold corresponding to each of the multiple ADC channels.
In operation 2322, after the sampling time of each of the multiple ADC channels is adjusted according to a preset timing skew adjustment amount ΔDsk, the first timing skew characteristic amount ϕnew corresponding to each of the multiple ADC channels is obtained.
After the second timing skew characteristic amount ϕold corresponding to each of the multiple ADC channels is determined, the sampling time of each of the multiple ADC channels is adjusted according to the preset timing skew adjustment amount ΔDsk. Since the reference channel does not have a timing skew, a sampling time of the reference channel does not need to be adjusted. After the sampling time of each of the multiple ADC channels is adjusted according to the preset timing skew adjustment amount ΔDsk, the above operations 21, 22, and 231 are performed to obtain the first timing skew characteristic amount ϕnew corresponding to each of the multiple ADC channels.
In operation 2323, the unknown constant R′(TS) is calculated according to the first timing skew characteristic amount ϕnew, the second timing skew characteristic amount ϕold, the preset timing skew adjustment amount ΔDsk, and the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount: Δϕ=R′(TS)*ΔDsk, where Δ=ϕnewϕold.
According to the above correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount: ϕi=R′(TS)*Dski, it can be known that the timing skew characteristic amount and the timing skew adjustment amount have a linear relationship, and variation of the timing skew characteristic amount and variation of the timing skew adjustment amount also satisfy Δϕ=R′(TS)*ΔDsk. Thus, it can be known that the unknown constant R′(TS)=Δφ/ΔDsk. Therefore, the unknown constant R′(TS) can be calculated according to the first timing skew feature ϕnew, the second timing skew feature ϕold, the preset timing skew adjustment ΔDsk and the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount Δϕ=R′(TS)*ΔDsk.
In a case that the value of the unknown constant R′(TS) is determined, operation 232 may include: calculating the timing skew adjustment amount corresponding to the sampling time of each of the multiple ADC channels according to the first timing skew characteristic amount ϕnew and the corresponding relationship between the timing skew characteristic amount and the timing skew adjustment amount: ϕi=R′(TS)*Dski; where, ϕj represents the first timing skew characteristic amount corresponding to the jth channel, and Dskj represents the timing skew adjustment corresponding to the jth channel.
In some embodiments, after the first timing skew characteristic amount corresponding to each of the multiple ADC channels and the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount are determined, an adaptive algorithm is used to cause the timing skew adjustment amount to approach the actual sampling timing skew amount, so as to estimate a value of the timing skew adjustment amount. In this case, operation 232 includes:
Dsk
j(n+1)=Dskj(n)−μ*ϕj*sign(R′(TS))
In an embodiment, for each of the multiple ADC channels other than the reference channel, at an initial stage (n=1), a value of Dskj(1) is given, a value of Dskj(2) is calculated through the above formula after the first timing skew characteristic amount of the channel is calculated. A value of Dskj(3) is calculated through the above formula after the second timing skew characteristic amount of the channel is calculated, and on the like, until the iteration converges. A final convergence value of the iteration, that is, the iterative calculation result, is used as the timing skew adjustment amount corresponding to the channel.
In some embodiments, after the first timing skew characteristic amount corresponding to each of the multiple ADC channels, the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount, and the unknown constant R′(TS) in the correspondence relationship are determined, the adaptive algorithm is used to cause the timing skew adjustment amount to approach the actual sampling timing skew amount, so as to estimate the value of the timing skew adjustment amount. In this case, operation 232 includes: performing, for each of the multiple ADC channels other than the reference channel, an iterative calculation on the timing skew adjustment amount corresponding to the each channel by using a preset adaptive algorithm, according to the first timing skew feature corresponding to the each channel and the pre-obtained correspondence relationship between the timing skew adjustment amount and the timing skew characteristic amount, and taking an iterative calculation result as the timing skew adjustment amount corresponding to the each channel, where, the adaptive algorithm includes the formula:
Dsk
j(n+1)=Dskj(n)−μ*ϕj/R′(TS)
The timing skew adjustment amount is calculated by determining the unknown constant R′(TS) and combining with the adaptive algorithm. In this way, on the one hand, the timing skew adjustment amount can quickly converge to be approach around an optimal value, and on the other hand, variation of the timing skew can be well tracked, and a problem that the unknown constant is difficult to estimate accurately can be overcome.
In operation 24, the sampling timing skew of each of the multiple ADC channels relative to the reference channel is calibrated according to the timing skew adjustment amount corresponding to each of the multiple ADC channels.
In some embodiments, in an analog domain, the sampling time of each of the multiple ADC channels (other than the reference channel) is adjusted according to the timing skew adjustment amount corresponding to each of the multiple ADC channels, so as to compensate the sampling timing skew of each of the multiple ADC channels relative to the reference channel, thereby calibrating the sampling timing skew of each of the multiple ADC channels relative to the reference channel.
In some embodiments, the digital output of each of the multiple ADC channels is interpolated by a preset interpolation algorithm in a digital domain according to the timing skew adjustment amount corresponding to each of the multiple ADC channels, so as to perform an error calibration.
The calibration method of this embodiment is described below by taking a TIADC including two ADC channels (channel 1 and channel 2) as an example.
The channel 1 is taken as the reference channel, a delay mismatch (actual sampling timing skew amount) of the reference channel (channel 1) τ1 equals 0, a delay mismatch (actual sampling timing skew amount) of the channel 2 relative to the channel 1 is recorded as τ2, and the digital signals of the two channels are expressed as follows:
where x (ti) (ti=2KTS+(i−1) TS+τi) is a sampling value of the ith (i=1, 2) channel at the actual sampling time ti. Through the above calculation method of the correlation value, it can be known that the correlation value corresponding to every two adjacent channels in the two channels is:
A first-order Taylor expansion series is used to solve the approximate value of the correlation value, and the correlation values corresponding to every two adjacent channels (channels 1 and 2) can be expressed as:
A matrix decomposition is further performed to obtain the decomposition matrix:
The timing skew characteristic amount of the channel 2 relative to the reference channel (the channel 1) is defined as ϕ2=R′(TS)*τ2. The inverse matrix of the above decomposition matrix can be used to solve the equation, and the correspondence relationship between the correlation value and the timing skew characteristic amount of the channel 2 can be determined as:
Therefore, the timing skew characteristic amount of the channel 2 is: ϕ2=R′(TS)*τ2=0.5*R1,2−0.5*R2,1. The timing skew adjustment amount is used to characterize the actual sampling timing skew amount, then the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount of the channel 2 can be determined as: ϕ2=R′(TS)*Dsk2, where Dsk, represents the timing skew adjustment amount corresponding to the channel 2.
After the correlation value corresponding to every two adjacent channels (the channel 1 and the channel 2), the timing skew characteristic amount corresponding to the channel 2 can be calculated from the correspondence relationship between the above correlation value and the timing skew characteristic amount. As for the timing skew adjustment amount, one method is to directly calculate the timing skew adjustment amount by calculating the unknown constant R′(TS), and then using the above correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount. For an example calculation method in this case, reference may be made to the above description, and details are not repeated here.
Another method is to use the preset adaptive algorithm to cause the timing skew adjustment amount to approach the actual sampling timing skew amount, or use the preset adaptive algorithm to cause the timing skew adjustment amount approach the actual sampling timing skew amount after the unknown constant R′(TS) is calculated. For an example process, reference may be made to the above description, and details are not repeated here.
Hereinafter, the calibration method of this embodiment will be described by taking a TIADC including four ADC channels (channels 1, 2, 3, and 4) as an example.
The channel 1 is taken as the reference channel, and other channels 2 to 4 are aligned with the channel 1, then the delay mismatch (actual sampling timing skew amount) of the reference channel (the channel 1) τ1 equals 0, the delay mismatches (actual sampling timing skews) of the channels 2 to 4 relative to the channel 1 are respectively recorded as τ2 to τ4. Then digital signals of the channels 1 to 4 are expressed as follows:
where x (ti) (ti=4KTS+(i−1) TS+τi) is the sampling value of the ith (i=1, 2, 3, 4) channel at the actual sampling time ti. Through the above calculation method of the correlation value, it can be known that the correlation value corresponding to every two adjacent channels in the channels 1 to 4 is:
A first-order Taylor expansion series is used to solve the approximate value of the correlation value, and the correlation value of every two adjacent channels can be expressed as:
A matrix decomposition is further performed to obtain the decomposition matrix:
A timing skew characteristic amount of the channel 2 relative to the reference channel is defined as ϕ2=R′(TS)*τ2, a timing skew characteristic amount of the channel 3 relative to the reference channel is defined as ϕ3=R′(TS)*τ3, and a timing skew characteristic amount of the channel 4 relative to the reference channel is defined as ϕ4=R′(TS)*τ4. By using the inverse matrix to solve the above decomposition matrix, the correspondence relationship between the correlation value and the timing skew characteristic amount can be determined as:
By using the timing skew adjustment amount to characterize the actual sampling timing skew amount, the correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount can be determined as:
After the correlation value corresponding to every two adjacent channels is calculated, the timing skew characteristic amounts corresponding to the channel 2, the channel 3 and the channel 3 respectively can be calculated from the above correspondence relationship between the correlation value and timing skew characteristic amount.
As for the timing skew adjustment amount, one method is to directly calculate the timing skew adjustment amount by calculating the unknown constant R′(TS) and then using the above correspondence relationship between the timing skew characteristic amount and the timing skew adjustment amount. For the calculation method of this situation, for example, reference may be made to the above description, and details are not repeated here.
Another method is to use the preset adaptive algorithm to cause the timing skew adjustment amount to approach the actual sampling timing skew amount, or use the preset adaptive algorithm to cause the timing skew adjustment to approach the actual sampling timing skew after the unknown constant R′(TS) is calculated. For an example process, reference may be made to the above description, and details are not repeated here.
To illustrate the calibration effect of the calibration method in this embodiment, a TIADC including 4 channels, having a sampling rate of 6 GHz and a resolution of 13 bits, is taken as an example, where a minimum calibration step size is set to 10 femtoseconds.
The calibration effect is further illustrated by taking a broadband radio frequency signal as an example. The input analog signals are located in two frequency bands, center frequencies are 1.8 GHz and 2.6 GHz respectively, both bandwidths are 200 MHz, and a sampling timing skew std is 270 femtoseconds at initial.
As shown in
The channel signal obtaining unit 301 is configured to obtain digital signals output by each of the multiple ADC channels according to input analog signals. The correlation value calculation unit 302 is configured to calculate, for every two adjacent channels in the multiple ADC channels, a correlation value between digital signals of every two adjacent channels according to the digital signals output by every two adjacent channels. The timing skew adjustment calculation unit 303 is configured to calculate a timing skew adjustment amount corresponding to a sampling timing skew of each of the channels relative to a reference channel according to the correlation value corresponding to every two adjacent channels, where the reference channel is any designated channel among the multiple ADC channels. The calibration unit 304 is configured to calibrate the sampling timing skew of each of the multiple ADC channels relative to the reference channel according to the timing skew adjustment amount corresponding to each of the multiple ADC channels.
In addition, the calibration apparatus provided in this embodiment is configured to perform the calibration method provided in the first embodiment or the second embodiment. For relevant description, reference may be made to the description of the first embodiment or the second embodiment, and details are not repeated here.
As shown in
In addition, in this embodiment, the TIADC further includes a multiplexer 200 for interleaving outputs of the N ADC channels, so as to generate digital outputs according to a sampling rate.
In this embodiment, each of the multiple ADC channels is correspondingly provided with a sampling switch, and the sampling switch is configured to connect or disconnect an analog signal input end to an input end of a corresponding ADC channel, and each sampling switch is recorded as S/H1 to S/HN. Each sampling switch is controlled by a corresponding sampling clock, and each sampling clock is recorded as CLK1 to CLKN.
The fifth embodiment of the present disclosure provides an electronic device, including: one or more processors; a memory storing one or more programs that, when executed by the one or more processors, causes the one or more processors to perform the above calibration method; one or more input/output (I/O) interfaces connecting the one or more processors to the memory, and configured to realize information interaction between the one or more processors and the memory.
The sixth embodiment of the present disclosure provides a computer-readable medium storing a computer program that, when executed, performs the above calibration method.
Those of ordinary skill in the art can understand that all or some of the operations, system, functional modules/units of the apparatus in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components. For example, a physical component may have multiple functions, or a function or operation may be performed by several physical components cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processor, a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile or non-volatile, removable or non-removable medium used in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules, or other data). The computer storage medium include but are not limited to a random access memory, RAM, a read-only memory, ROM, an electrically erasable programmable read only memory, EEPROM, a flash memory or other storage technologies, a compact disc read-only memory, CD-ROM, a digital versatile disk, DVD or other optical disk storage, a magnetic cassette, a magnetic tape, a magnetic disk storage or other magnetic storage devices, or any other medium used to store desired information and that may be accessed by a computer. In addition, as known to those of ordinary skill in the art, the communication medium typically includes computer readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transport mechanisms and may include any information delivery medium.
Exemplary embodiments have been disclosed herein, and although specific terms are employed, they are used and should only be construed in a general descriptive sense and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements in connection with other embodiments, unless expressly stated otherwise. Accordingly, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the scope of the present disclosure as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
202010575519.8 | Jun 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/096555 | 5/27/2021 | WO |