This application claims priority to Chinese Patent Application No. 201410290954.0, filed on Jun. 25, 2014, which is hereby incorporated by reference in its entirety.
The present invention relates to the field of electronics, and in particular, to a multi-channel time-interleaved analog-to-digital converter.
A multi-channel time-interleaved analog-to-digital converter (Multi-channel Time-interleaved Analog-to-Digital Converter) is a high-speed ADC architecture that connects multiple analog-to-digital converters (Analog-to-Digital Converter, ADC) in parallel, and makes, by using staggered clock, the converters alternatively work in a time division multiplexing manner, and can combine low-speed signals, which are output by ADCs that keep working at a low frequency, into a high-speed signal. In an ideal case, when circuit parameters of ADCs of various channels are identical, a sampling rate of a Time-interleaved ADC increases in direct proportion to a quantity of interleaved parallel ADC channels. In fact, it is very difficult to achieve exact matching of sampling time for ADCs of different channels, thereby generating a timing skew error (timing skew error). Without correction, dynamic performance of a Time-interleaved ADC will be severely affected. Therefore, timing skew errors of the ADCs of the channels need to be detected, and after the detection, a foreground correction technology or a background correction technology is used for correction to compensate for the timing skew errors.
An objective of the present invention is to provide a multi-channel time-interleaved analog-to-digital converter, which can make multiple low-speed ADCs equivalent to one high-speed ADC.
To achieve the foregoing objective, the present invention provides an analog-to-digital converter, where the analog-to-digital converter includes:
a clock generation circuit, configured to generate a work clock of the analog-to-digital converter;
a channel ADC group, including M ADC channels, arranged to be in a time-interleaved architecture, and configured to convert, under the control of the clock generation circuit and in a time division multiplexing manner, one high-speed analog input signal into M low-speed digital output signals, where M is an integer not less than 2;
a channel mismatch detection circuit, configured to detect in real time timing skew errors of output signals of the M ADC channels, to obtain a timing skew parameter of each ADC channel relative to a reference ADC channel;
a signal compensation and reconstruction circuit, configured to perform, according to the timing skew parameters detected by the channel mismatch detection circuit, compensation and reconstruction on the digital output signals output by the channel ADC group; and
a signal combining circuit, configured to combine the M low-speed output signals that are of the channels and generated after the compensation by the signal compensation and reconstruction circuit, to obtain one final high-speed digital output signal.
According to the analog-to-digital converter in the embodiment of the present invention, the channel mismatch detection circuit further includes:
a notch filter, configured to perform notch filtering on the output signals of the M ADC channels;
a mismatch error discriminator, configured to perform mismatch error discrimination according to an output result of the notch filter;
an alpha filter, configured to perform smooth filtering on a timing skew parameter generated by the mismatch error discriminator; and
a mismatch error adaptive iterative circuit, configured to optimize an adaptive error value obtained through the smooth filtering, to obtain a timing skew error steady state value.
According to the analog-to-digital converter in the embodiment of the present invention, the notch filter includes:
a first shift register, configured to shift an input signal to the right by 6 bits;
a first delay circuit, configured to delay the input signal by one clock;
a second shift register, configured to shift an output signal of the first delay circuit to the right by 6 bits;
a first subtracter, configured to subtract an output of the first shift register from the input signal;
a second subtracter, configured to subtract an output of the second shift register from an output of the first delay circuit;
a first adder, configured to subtract an output of the second subtracter from an output of the first subtracter;
a second delay circuit, configured to delay an output signal of the first adder by one beat;
a third shift register, configured to shift an output signal of the second delay circuit to the right by 6 bits;
a third subtracter, configured to subtract an output of the third shift register from an output of the second delay circuit; and
a third delay circuit, configured to delay an output of the third subtracter by one beat, and use a delayed output as a final output signal of the notch filter.
According to the analog-to-digital converter in the embodiment of the present invention, the mismatch error discriminator includes:
a fourth subtracter, configured to subtract {tilde over (x)}′i−1(n) from a signal {tilde over (x)}′i+1(n) output by the notch filter; and
a first multiplier, configured to multiply an output of the fourth subtracter by a signal
According to the analog-to-digital converter in the embodiment of the present invention, the alpha filter includes:
a fifth subtracter, configured to subtract δ′i(n−1) from an output signal {tilde over (δ)}′i(n) of the mismatch error discriminator;
a second multiplier, configured to multiply an output result of the fifth subtracter by an α factor;
a second adder, configured to add an output of the multiplier and δ′i(n−1); and
a fourth delay circuit, configured to delay an output of the second adder by one beat.
According to the analog-to-digital converter in the embodiment of the present invention, the adaptive iterative circuit includes:
a first operation circuit, configured to take a maximum value of a mismatch error value δ′i of each channel output by the alpha filter;
a second operation circuit, configured to take the reciprocal of an output result of the first operation circuit;
a fifth delay circuit, configured to delay an output result of the second operation circuit by one beat;
a third multiplier, configured to multiply an output of the fifth delay circuit by an output signal δ′i(n) of the alpha filter;
a sixth delay circuit, configured to delay an output result of the third multiplier by one beat;
a fourth multiplier, configured to multiply an output result of the sixth delay circuit by a constant μ;
a third adder, configured to add an output of the fourth multiplier to an output at a previous moment of the adaptive iterative circuit; and
a seventh delay circuit, configured to delay an output result of the third adder by one beat, and use a delayed output result as a final timing skew error steady state value δi(n).
According to the analog-to-digital converter in the embodiment of the present invention, the analog-to-digital converter further includes an energy detector, where the energy detector performs an absolute value operation on an output value of the reference channel, then subtracts a set threshold after performing filtering by using the alpha filter, and transmits, as a final output to the mismatch error discriminator, a symbol of an operation result obtained after the set threshold has been subtracted, where when a high level is output, the mismatch error discriminator works normally, and when a low level is output, a current parameter is blocked, and a previous discrimination value is used.
According to the analog-to-digital converter in the embodiment of the present invention, the analog-to-digital converter further includes a timing control circuit, to control a work process of the analog-to-digital converter.
The embodiment of the present invention provides an analog-to-digital converter, where there is no special requirement for a spectrum of an input signal, a sampling frequency of an ADC of each channel does not need to individually meet the Nyquist criterion; instead, in a case in which an equivalent sampling frequency output by a combination in a time-interleaved ADC meets the Nyquist criterion, a timing skew error of a channel can be accurately calculated, and correction and compensation are performed on a signal generated by an ADC of each channel, to output a correct signal.
The technical solutions of the present invention are further described below in detail with reference to the accompanying drawings and embodiments.
As shown in
The clock generation circuit is configured to generate a work clock of the analog-to-digital converter. The M-channel ADC group includes ADCs of M channels, where M is a natural number not less than 2. These ADCs are arranged to be in a time-interleaved architecture, and under the control of the clock generation circuit, these ADCs alternatively work in a time division multiplexing manner by using a staggered clock, to convert an analog input signal into a digital output signal, where sampling clocks of ADCs of adjacent subchannels in M ADC channels have a phase difference of 2π/M.
The channel mismatch detection circuit is configured to perform real-time detection on timing skew errors of output signals of the M ADC channels, to obtain a timing skew parameter of each ADC channel relative to a reference ADC channel.
The signal compensation and reconstruction circuit is configured to perform, according to a detection result of the channel mismatch detection circuit, compensation and reconstruction on output signals of the M channels, where the output signals obtained after compensation and reconstruction are sent to the signal combining circuit; and configured to combine the M low-speed output signals that are of the channels and generated after the compensation by the signal compensation and reconstruction circuit, to obtain one final high-speed digital output signal.
The one final high-speed digital output signal of a design sampling frequency is obtained through combination in the signal combining circuit, and is used as a final output signal of the analog-to-digital converter. The signal compensation and reconstruction circuit may be implemented in a digital manner, or may be implemented in an analog circuit manner.
In this embodiment of the present invention, as shown in
In
In an embodiment, it is first assumed that ADC0 is a reference channel, and a sampling clock clk(fs/2, φ=0) of ADC0 has a precise zero phase. Therefore, an actual value ΔTi by which a sampling clock clk(fs/M, φ=2iπ/M) of ADCi (i=1, 2, . . . , M−1) of a channel deviates from an ideal phase 2iπ/M is a timing skew error. For convenience, measurement is performed by using a “normalized timing skew error”, which is defined as
where
is an equivalent sampling clock cycle of a time-interleaved ADC; and n is time, and introduction of n indicates that the timing skew error has a time varying characteristic.
With reference to the structural block diagram of the analog-to-digital converter shown in
Optionally, to ensure that the channel mismatch parameter detection circuit can still work normally in a case in which an input signal is suddenly interrupted, an energy detector (Energy Detector) may further be set. Similarly, to control a work process of the entire system, a timing control circuit (Control Logic) may be set. The energy detector and the timing control circuit may both be seen as auxiliary units of the channel mismatch parameter detection circuit.
Further, as shown in
For an M-channel time-interleaved ADC, to detect the timing skew error of the subchannel ADCi (i=1, 2, . . . , M−1) output signals xi−1(n) xi(n), and xi+1(n) of ADCi−1, ADCi, and ADCi+1 are first sent to the notch filter, where xM(n)=x0(n+1). A function of the notch filter is to filter out an input signal with a frequency of
where k=1, 2, . . . , M−1, and fs is an equivalent sampling frequency of the M-channel time-interleaved ADC. Theoretically, it can be proved that, for the M-channel time-interleaved ADC, a
frequency component of the input signal plays a misleading role on detection of a channel mismatch error, and must be controlled.
In this embodiment of the present invention, a transfer function of the notch filter is:
where, Z−1 indicates a delay by one beat (clock cycle), and the foregoing formula may further be represented as follows by using a difference equation:
where, a specific VLSI circuit implementation of the ith channel notch filter is shown in
Outputs {tilde over (x)}′i−1(n), {tilde over (x)}′i(n), and {tilde over (x)}′i+1(n) of the notch filter are directly sent to the mismatch error discriminator for performing specific work of detecting a channel mismatch error.
In the M-channel time-interleaved ADC, a transient estimate {tilde over (δ)}i(n) of a normalized timing skew error of the ith (i=1, 2, . . . , M−2) channel may be measured by using the following formula:
δi(n)=
where reference may be made to
An calculation formula for a transient estimate {tilde over (δ)}M−1(n) of a normalized timing skew error of the (M−1)th channel is represented as
{tilde over (δ)}M−1(n)=(n−1)·[{tilde over (x)}′0(n)−{tilde over (x)}′M−2(n−1)]
where a specific circuit implementation of the formula is shown in
In
A transient estimate {tilde over (δ)}i(n), which is obtained by the mismatch error discriminator, of a normalized timing skew error of the ith (i=1, 2, . . . , M−1) channel is marked as {tilde over (δ)}′i(n) after being controlled by the energy detector, and then is sent to the alpha filter for smooth filtering, to become δ′i(n). The alpha filter in the present invention may be described by using a mathematical formula as
δ′i(n)=δ′i(n−1)+α·[{tilde over (δ)}′i(n)−δ′i(n−1)]
where, an appropriate value is used as a parameter value α as required. A specific circuit implementation is shown in
The mismatch error value δ′i(n) on which the alpha filter has performed smoothing is sent to the adaptive iterative circuit for update and optimization and is turned into a steady state value δi(n). A normalized LMS algorithm is used in the adaptive iterative circuit in the present invention, and the adaptive iterative circuit may be described by using a mathematical formula as follows:
The adaptive iterative circuit may be implemented by using the circuit shown in
Finally, the timing skew error steady state value δi(n), i=1, 2, . . . , M−1 obtained by the channel mismatch parameter detection circuit is fed back to the signal compensation and reconstruction circuit for performing an actual correction on data of an ADC of a channel, and then is combined by the signal combining circuit to obtain a high-speed signal {tilde over (x)}(n) with an equivalent sampling frequency of fs, which is used as an output of the entire M-channel time-interleaved ADC.
With reference to the foregoing embodiment, in some communications systems, a case in which signal transmission is suddenly interrupted occurs sometimes. For example, in the IEEE 802.3az Energy Efficient Ethernet, when the system enters an energy saving mode, only LPI signals with an interval of 24 us are transmitted on a cable. In this case, a channel mismatch error detection circuit performs misjudgment without obtaining enough signal excitation. To avoid such a case from occurring, an energy detector is introduced into the present invention, and an implementation principle of the energy detector is shown in
The energy detector directly performs an operation of taking an absolute value of output data of the channel ADC0, subsequently performs smooth filtering by using one alpha filter, and then subtracts one specific threshold, where a sign bit of an operation result is used as a final output, which is then sent to the mismatch error discriminator in
To enable the channel mismatch parameter detection circuit to work more efficiently, a timing control circuit is introduced into the present invention, and a principle of the timing control circuit is shown in
By using a procedure in
For the analog-to-digital converter provided in the embodiment of the present invention, there is no special requirement for a spectrum of an input signal, only an equivalent sampling frequency in the time-interleaved ADC needs to meet the Nyquist criterion, and a sampling frequency of an ADC of each channel does not need to individually meet the Nyquist criterion.
In addition, as shown in
After mismatch parameters are detected by using the channel mismatch parameter detection circuit provided in the foregoing embodiment, the mismatch parameters are fed back to the signal compensation and reconstruction circuit, to perform compensation and reconstruction on an ADC output signal of each channel. The signal compensation and reconstruction circuit not only may be implemented by using a digital circuit, but also may be implemented by using an analog circuit. If the signal compensation and reconstruction circuit performs compensation and reconstruction in a digital domain, a pure digital background correction technology of the multi-channel time-interleaved ADC is formed in this way. In the digital domain, the signal compensation and reconstruction circuit may be implemented by using one digital filter group, or a same function may also be accomplished by using a group of digital interpolation circuits.
The pure digital background correction technology can scale down (scaling-down) according to a semiconductor process size, has advantages of desirable flexibility and a high level of integration, and has an attractive prospect for development.
Optionally, in the multi-channel time-interleaved ADC, the signal compensation and reconstruction circuit may also be implemented by using an analog circuit. An implementation case of the present invention in which a “signal compensation and reconstruction” function is implemented on the basis of the analog circuit, that is, a so-called digital-analog hybrid background correction technology, is shown in
In the digital-analog hybrid background correction technology, a function of the signal compensation and reconstruction circuit may be implemented by using a programmable delay circuit. The programmable delay circuit converts, by using a DAC (analog-to-digital converter), a mismatch error parameter value output by the channel mismatch parameter detection circuit into an analog electrical quantity, and furthermore transforms the analog electrical quantity into a delay unit, to fine-tune phases of clocks generated by the “clock generation circuit”, and finally offset timing skew errors of sampling clocks of ADCs of various channels.
By using the channel timing skew error detection circuit proposed in the present invention, dynamic performance of the time-interleaved ADC can be improved very effectively. In
As may be seen from
For the analog-to-digital converter provided in the embodiments of the present invention, there is no special requirement for a spectrum of an input signal, a sampling frequency of an ADC of each channel does not need to individually meet the Nyquist criterion, and instead in a case in which an equivalent sampling frequency output by a combination in a time-interleaved ADC meets the Nyquist criterion, a timing skew error of a channel can be accurately calculated, and correction and compensation are performed on a signal generated by an ADC of each channel, to output a correct signal.
In the foregoing specific implementation manners, the objective, technical solutions, and benefits of the present invention are further described in detail. It should be understood that the foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the present invention should fall within the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201410290954.0 | Jun 2014 | CN | national |