Built-in harmonic prediction method for embedded segmented-data-converters and system thereof

11296715 · 2022-04-05

Assignee

Inventors

Cpc classification

International classification

Abstract

The inventive concept relates to a method and system for cost-effectively predicting the dynamic nonlinearities of on-chip segmented digital-to-analog converter (DAC) and analog-to-digital-converter (ADC), by looping a DAC to an ADC, using a programmable-gain-amplifier (PGA) and an external load board. The method may include a first loopback step of supplying an output signal from a coarse DAC, to which a sinusoidal signal is supplied, to a coarse ADC and a fine ADC through an external load board, a second loopback step of supplying an output signal from a fine DAC, to which a sinusoidal signal is supplied, to the fine ADC and the coarse ADC through the load board, and a step of predicting dynamic nonlinearity of each of a DAC and an ADC by processing equations exhibiting dynamic nonlinearity of a sub-DAC and a sub-ADC, which are obtained in the first loopback step and the second loopback step.

Claims

1. A built-in harmonic prediction method for embedded segmented data converters, comprising: a first loopback step of supplying an output signal from a coarse DAC, to which a sinusoidal signal is supplied, to a coarse ADC and a fine ADC through an external load board; a second loopback step of supplying an output signal from a fine DAC, to which a sinusoidal signal is supplied, to the fine ADC and the coarse ADC through the load board; and a step of predicting dynamic nonlinearity of each of a DAC and an ADC by processing equations exhibiting dynamic nonlinearity of a sub-DAC and a sub-ADC, which are obtained in the first loopback step and the second loopback step.

2. The built-in harmonic prediction method of claim 1, wherein the first loopback step includes supplying the sinusoidal signal to the coarse DAC and bypassing the fine DAC.

3. The built-in harmonic prediction method of claim 2, wherein the first loopback step includes supplying the output signal from the coarse DAC to the coarse ADC through a bypass path of the load board and supplying the output signal from the coarse DAC to an input full-scale range of the fine ADC through a PGA path of the load board.

4. The built-in harmonic prediction method of claim 1, wherein the second loopback step includes supplying the sinusoidal signal to the fine DAC and bypassing the coarse DAC.

5. The built-in harmonic prediction method of claim 4, wherein the second loopback step includes supplying the output signal from the fine DAC to the fine ADC through a bypass path of the load board, and supplying the output signal from the fine DAC to an input full-scale range of the coarse ADC through a PGA path of the load board.

6. The built-in harmonic prediction method of claim 1, wherein the step of predicting the dynamic nonlinearity includes predicting nonlinearity caused by inter stage errors introduced by conducting a combination process of outputs from the sub-DAC or the sub-ADC.

7. The built-in harmonic prediction method of claim 6, wherein the step of predicting the dynamic nonlinearity includes predicting the dynamic nonlinearity of each of the DAC and the ADC by processing six simultaneous equations obtained in the first loopback step and six simultaneous equations obtained in the second loopback step.

8. The built-in harmonic prediction method of claim 7, wherein the step of predicting the dynamic nonlinearity includes obtaining twelve harmonic coefficients obtained from the DAC and the ADC by solving the twelve simultaneous equations in a post-processing process.

9. A built-in harmonic prediction system for embedded segmented data converters, comprising: a first loopback test unit configured to supply an output signal from a coarse DAC, to which a sinusoidal signal is supplied, to a coarse ADC and a fine ADC through an external load board; a second loopback test unit configured to supply an output signal from a fine DAC, to which a sinusoidal signal is supplied, to the fine ADC and the coarse ADC through the load board; and a prediction unit configured to predict dynamic nonlinearity of each of a DAC and an ADC by processing equations exhibiting dynamic nonlinearity of a sub-DAC and a sub-ADC, which are obtained in the first loopback test unit and the second loopback test unit.

10. The built-in harmonic prediction system of claim 9, wherein the first loopback test unit supplies the sinusoidal signal to the coarse DAC and bypasses the fine DAC.

11. The built-in harmonic prediction system of claim 10, wherein the first loopback test unit supplies the output signal from the coarse DAC to the coarse ADC through a bypass path of the load board, and supplies the output signal from the coarse DAC to an input full-scale range of the fine ADC through a PGA path of the load board.

12. The built-in harmonic prediction system of claim 9, wherein the second loopback test unit supplies the sinusoidal signal to the fine DAC and bypasses the coarse DAC.

13. The built-in harmonic prediction system of claim 12, wherein the second loopback test unit supplies the output signal from the fine DAC to the fine ADC through a bypass path of the load board, and supplies the output signal from the fine DAC to an input full-scale range of the coarse ADC through a PGA path of the load board.

14. The built-in harmonic prediction system of claim 9, wherein the prediction unit predicts nonlinearity caused by inter stage errors introduced by conducting a combination process of outputs from the sub-DAC or the sub-ADC.

15. The built-in harmonic prediction system of claim 14, wherein the prediction unit predicts the dynamic nonlinearity of each of the DAC and the ADC by processing six simultaneous equations obtained in the first loopback test unit and six simultaneous equations obtained in the second loopback test unit.

16. The built-in harmonic prediction system of claim 15, wherein the prediction unit obtains twelve harmonic coefficients obtained from the DAC and the ADC by solving the twelve simultaneous equations in a post-processing process.

Description

BRIEF DESCRIPTION OF THE FIGURES

(1) The above and other objects and features will become apparent from the following description with reference to the following figures, wherein like reference numerals refer to like parts throughout the various figures unless otherwise specified, and wherein:

(2) FIG. 1 is a diagram for describing a conventional loopback test platform;

(3) FIG. 2 illustrates a flowchart of operations of a built-in harmonic prediction method for an embedded segmented data converter according to an embodiment of the inventive concept;

(4) FIG. 3 illustrates a loopback configuration proposed for a load board or a PCB according to an embodiment of the inventive concept;

(5) FIGS. 4A and 4B illustrate a first loopback configuration and a second loopback configuration according to an embodiment of the inventive concept;

(6) FIGS. 5A and 5B illustrate quantitative models for a first-order loopback and a second-order loopback according to an embodiment of the inventive concept;

(7) FIG. 6 illustrates segmented DAC and ADC models according to an embodiment of the inventive concept; and

(8) FIG. 7 is a block diagram showing a detailed configuration of a built-in harmonic prediction system for an embedded segmented data converter according to an embodiment of the inventive concept.

DETAILED DESCRIPTION

(9) Hereinafter, embodiments of the inventive concept will be described in detail with reference to the exemplary drawings. However, it will be understood that the inventive concept is by no means restricted or limited in any manner by these embodiments. In addition, the same reference numeral shown in each drawing indicates the same component.

(10) In addition, terminologies used in the present specification are used to properly express preferred embodiments of the inventive concept, and may be changed depending on the intention of viewers or operators, or customs in the field to which the inventive concept belongs. Accordingly, definitions of these terminologies should be made based on the contents throughout the present specification.

(11) Embodiments of the inventive concept may cost-effectively predict the dynamic nonlinearities of on-chip segmented digital-to-analog converter (DAC) and analog-to-digital-converter (ADC), by looping a DAC to an ADC, through an external load board employing two parallel paths: a programmable-gain-amplifier (PGA) path and a bypass path for test purpose.

(12) The device-under-test (DUT) according to an embodiment of the inventive concept is characterized in that it is a self-test device, and may include a coarse DAC/ADC and a fine DAC/ADC. In this case, the coarse DAC/ADC may process the most significant bits (MSBs), the fine DAC/ADC may process the least significant bits (LSBs) of an input/output device, and their outputs may be added together so as to be an overall output.

(13) Segmented data converters may include current-steering DAC, resistive DAC, subranging ADC, two-step ADC, and folding ADC and the like. Each advantage provided by diverse architectures used for each sub-DAC/ADC may make it possible to more easily meet the required specifications. In addition, the segmented DACs/ADCs may provide low glitch and small number of components (capacitors, resistors, and the like) i.e., small area, and thus, are commonly used in a SoC.

(14) Hereinafter, embodiments of the inventive concept will be described in detail with reference to FIGS. 2 to 6.

(15) FIG. 2 illustrates a flowchart of operations of a built-in harmonic prediction method for an embedded segmented data converter according to an embodiment of the inventive concept.

(16) The segmented DAC (or ADC) may include coarse and fine DACs (or ADCs), and the built-in harmonic prediction method according to an embodiment of the inventive concept may sequentially perform two loopback tests.

(17) Referring to FIG. 2, in the case of the first loopback test after start step 210, in step 220, an output signal from the coarse DAC to which a sinusoidal signal is supplied may be applied to the coarse ADC and the fine ADC through an external load board.

(18) Specifically, step 220 is characterized by supplying the sinusoidal signal to the coarse DAC and bypassing the fine DAC. In step 220, the output signal from the coarse DAC may be supplied to the coarse ADC through a bypass path on the load board, and the output signal from the coarse DAC may be supplied to the input full-scale range of the fine ADC through a PGA path of the load board.

(19) In the case of the second loopback test, in step 230, an output signal from the fine DAC, to which a sinusoidal signal is supplied, may be supplied to the fine ADC and the coarse ADC through the load board.

(20) Specifically, step 230 is characterized by supplying the sinusoidal signal to the fine DAC, and bypassing the coarse DAC. In step 230, the output signal from the fine DAC may be supplied to the fine ADC through a bypass path on the load board, and the output signal from the fine DAC may be supplied to the input full-scale range of the coarse ADC through a PGA path of the load board.

(21) In step 240, predict dynamic nonlinearity of each of a DAC and an ADC by processing the equations exhibiting dynamic nonlinearities of a sub-DAC and sub-ADC, which are obtained in the first loopback step and the second loopback step.

(22) In step 240, the dynamic nonlinearity of each of the DAC and the ADC may be predicted by processing six simultaneous equations obtained in the first loopback step and six simultaneous equations obtained in the second loopback step. In step 240, in a post-processing process, twelve harmonic coefficients obtained from the DAC and ADC may be identified by solving the twelve simultaneous equations.

(23) Accordingly, in step 240, it is possible to predict the dynamic nonlinearity of each of the DAC and the ADC by performing an output combination process of the sub-DAC or sub-ADC.

(24) Thereafter, the built-in harmonic prediction method according to an embodiment of the inventive concept may perform an end operation 250.

(25) Hereinafter, a built-in harmonic prediction process according to an embodiment of the inventive concept will be described in detail with reference to FIGS. 3 to 6.

(26) FIG. 3 illustrates a loopback configuration proposed for a load board or a PCB according to an embodiment of the inventive concept, and FIGS. 4A and 4B illustrate a first loopback configuration and a second loopback configuration according to an embodiment of the inventive concept.

(27) FIG. 3 shows proposed loopback test configurations for a load board, and includes an on-chip DUT 310 and a DfT circuitry 320.

(28) Referring to FIG. 3, a nonlinear coarse/fine DAC channel 311 and a coarse/fine ADC channel 312 may be represented using transfer functions such as hcd, hfd, hca, and hfa, respectively. In a first loopback or the test mode of the first loopback, the DfT circuitry 320 may be used, and the DfT circuitry 320 includes a PGA 321 and two analog multiplexers (MUXes) 322, such that each sub-DAC channel output signal can fit into the input full-scale range of each sub-ADC channel.

(29) Two outputs of the DfT circuitry 320 may be looped back to CA IN and FA IN which are additional input terminals of the ADC, for test purposes. Then, those inputs are connected to hca and hfa through two input switches 313 present in the ADC, and then the outputs of hca and hfa, i.e., yca(t) and yfa(t), are connected to the on-chip digital core through additional output switches 314 for test purpose.

(30) For simplicity, even though the input signals of the DAC or the output signals of the ADC are digital, the conventional discrete time notation n (e.g., y(t)) is used. For DACs and ADCs, a smoothing filter, anti-aliasing filter, and analog buffers are omitted. In addition, it is assumed that an identical sampling rate is used for both a DAC and an ADC, and that the sampling time of a DAC is synchronized with that of an ADC, as in conventional loopback testing.

(31) The test modes of the first loopback and the second loopback according to the embodiment of the inventive concept shown in FIG. 3 will be clarified as shown in FIGS. 4A and 4B.

(32) The coarse loopback test, which is the first loopback shown in FIG. 4A, and the fine loopback test, which is the second loopback, shown in FIG. 4B are sequentially performed in the test mode.

(33) For the coarse loopback test shown in FIG. 4A, a DfT circuitry 430 is reconfigured by setting L=0 to set a gain “G” 431 to a value less than unity for scaling down the coarse DAC output, and to select the input 0 of all the two MUXes 432. Accordingly, the coarse loopback test configuration shown in FIG. 4A is realized.

(34) An on-chip digital processor may generate a single-tone sinusoidal stimulus x.sub.d1(t)=cos (ω.sub.0t), which is represented only in the MSBs of an overall DAC input (i.e., all zeros in the LSBs) for test purpose. Accordingly, xd1(t) is applied to a coarse DAC, that is, hcd only, and a fine DAC, that is, hfd does not participate in this loopback test.

(35) ycd (t) exhibits the dynamic nonlinearity introduced by hcd, which may be modeled using a Taylor expansion as [Equation 1]
y.sub.cd(t)=μ.sub.1 cos(ω.sub.0t)+μ.sub.2 cos.sup.2(ω.sub.0t)+μ.sub.3 cos.sup.3(ω.sub.0t)  [Equation 1]

(36) where μ.sub.i indicates the i-th order harmonic coefficient of the coarse DAC. In the inventive concept, harmonic distortion up to the third order is considered for better understanding, but the inventive concept is not limited to the third order, and may extend to higher orders.

(37) ycd (t) which is the output of the DAC 410 may be then fed to the DfT circuitry 430, and the DfT circuitry 430 may include two parallel signal paths: a PGA path and a bypass path. The bypass path output simply becomes ycd (t) from the DAC output. On the other hand, G.Math.y.sub.cd(t).sub.(G<1) which is the PGA path output is determined by applying the DAC output to the PGA path. Accordingly, ycd (t) and G.Math.y.sub.cd(t) which are outputs of the DIT circuitry 430, may fit into the full-scale (or −1 dBFS) input ranges of the coarse ADC (hca) and the fine ADC (hfa) respectively, for precise performance evaluation. Finally, yca1(t) and yfa1(t) may be obtained simultaneously as shown in [Equation 2] below by applying ycd(t) and G.Math.y.sub.cd(t) to hca and hfa, respectively.
y.sub.ca1(t)=ρ.sub.1y.sub.cd(t)+ρ.sub.2y.sub.cd.sup.2(t)+ρ.sub.3y.sub.cd.sup.3(t)
y.sub.fa1(t)=η.sub.1G.Math.y.sub.cd(t)+η.sub.2(G.Math.y.sub.cd(t)).sup.2(t)+η.sub.3(G.Math.y.sub.cd(t)).sup.3   [Equation 2]

(38) where ρ.sub.i and η.sub.i represent the i-th order harmonic coefficients of a coarse ADC and a fine ADC, respectively, yca1(t) in [Equation 2] exhibits the correlation between ρ.sub.i of hca and μ.sub.i of hcd.

(39) Y.sub.ca1(ω), which is the spectral representation of yca1(t), may include the mathematical expressions of the three harmonic coefficients which are correlated with ρ.sub.i and μ.sub.i. Then, those coefficients' expressions are identical to the harmonic magnitudes experimentally measured from a coarse ADC output, i.e., |Y.sub.ca1(ω.sub.0)|, |Y.sub.ca1(2ω.sub.0)| and |Y.sub.ca1(3ω.sub.0)|. From those relations, the three simultaneous equations may be obtained.

(40) Similarly, yfa1(t) in [Equation 2] represents the correlation of η.sub.i and μ.sub.i of hfa.

(41) Y.sub.fa1(ω), that is, the spectral expression of yfa1(t), shows the mathematical expressions of the three harmonic coefficients correlated with of η.sub.i and μ.sub.i, which may be quantified as the harmonic magnitudes, i.e., |Y.sub.fa1(iω.sub.0)| experimentally measured from a fine ADC output. Another set of three correlation equations can be then obtained from the above relations. Accordingly, the built-in harmonic prediction method according to an embodiment of the inventive concept may derive total six correlation equations to complete the first-order loopback, that is coarse loopback test.

(42) For the fine loopback test which is the second loopback test shown in FIG. 4B, the DfT circuitry 430 may be reconfigured by setting L=1 to set the gain G 431 to a value greater than unity for scaling up a DAC output, and to select input 1 of all the two MUXes 432. Accordingly, the fine loopback test configuration shown in FIG. 4B is realized.

(43) The on-chip digital processor may produce a sinusoid, xd2(t), which is expressed only in the LSBs of an overall DAC input (i.e., all zeros in the MSBs) for test purpose. xd2(t) is then applied to a fine DAC, that is, hfd only, yfd (t) exhibits the dynamic nonlinearity introduced by hfd and may be modeled as in [Equation 3] below.
y.sub.fd(t)=ε.sub.1 cos(ω.sub.0t)+ε.sub.2 cos.sup.2(ω.sub.0t)+ε.sub.3 cos.sup.3(ω.sub.0t)   [Equation 3]

(44) where ε.sub.i is the i-th order harmonic coefficient of the fine DAC. yfd (t) is then applied to the DfT circuitry 430, and a bypass path output simply becomes yfd(t) from the DAC output. On the other hand, a PGA path output G.Math.y.sub.fd(t).sub.(G>1) is determined by applying the DAC output to the PGA path. Thus, yfd(t) and G.Math.y.sub.fd(t), which are the outputs of the DfT circuitry 430, may fit into the full-scale input ranges of a fine ADC (hfa) and the coarse ADC (hca), respectively. In this case, yca2(t) and yfa2(t) are simultaneously obtained as shown in [Equation 4] below, by applying G.Math.y.sub.fd(t) and yfd (t) to hca and hfa individually.
y.sub.ca2(t)=η.sub.1.Math.y.sub.fd(t)+η.sub.2(G.Math.y.sub.fd(t)).sup.2+η.sub.3(G.Math.y.sub.fd(t)).sup.3
y.sub.fa2(t)=ρ.sub.1y.sub.fd(t)+ρ.sub.2y.sub.fd.sup.2(t)+ρ.sub.3y.sub.fd.sup.3(t)   [Equation 4]

(45) Here, yca2(t) in [Equation 4] represents the correlation between ρ.sub.i of hca and ε.sub.i of hfa.

(46) Y.sub.ca2(ω), that is, the spectral expression of yca2(t), represents the mathematical representation of the harmonic coefficients consisting of ρ.sub.i and ε.sub.i, that are equal to the harmonic magnitudes, i.e., |Y.sub.ca1(iω.sub.0)| measured from a coarse ADC output. In addition, the built-in harmonic prediction method according to an embodiment of the inventive concept may also obtain three simultaneous equations in the above-described relations.

(47) Similarly, yfa2(t) in [Equation 4] represents a correlation of η.sub.i and ε.sub.i.

(48) Y.sub.fa2(ω), that is, the spectral expression of yfa2(t) represents the equation of the harmonic coefficient correlated with η.sub.i and ε.sub.i, which is the same as the harmonic amplitude, that is, |Y.sub.fa2(iω.sub.0)| experimentally measured at the fine ADC output. Then, three simultaneous equations may be obtained from the above relations. Accordingly, the built-in harmonic prediction method according to an embodiment of the inventive concept may derive total six simultaneous equations to complete the second-order loopback, that is fine loopback test.

(49) Finally, in post-processing, the built-in harmonic prediction method according to an embodiment of the inventive concept may identify twelve harmonic coefficients (μ.sub.1−3, ε.sub.1−3, ρ.sub.1−3, and η.sub.1−3) obtained from the DAC and the ADC by solving total twelve simultaneous equations obtained through loopback testing. Therefore, in production testing, when the spectral loopback responses are experimentally measured and they are input into the solutions of the simultaneous equations, individual harmonic coefficients of the coarse DAC, the fine DAC, the coarse ADC, and the fine ADC are readily predicted, thereby obtaining the harmonic coefficients of an overall DAC/ADC using the sub-DAC/ADC output combination calculation.

(50) In the loopback test of the first loopback and the second loopback, the resolution relations between the sub-DAC and the sub-ADC follows resolution relations of the conventional loopback testing. Accordingly, more accurate test results may be obtained when the resolution of the DAC is two bits higher than that of the ADC.

(51) FIGS. 5A and 5B illustrate quantitative models for a first-order loopback and a second-order loopback according to an embodiment of the inventive concept, and FIG. 6 illustrates segmented DAC and ADC models according to an embodiment of the inventive concept.

(52) Referring to FIG. 5A, in a coarse loopback test, which is a first-order loopback, ycd(t) and its spectrum expression Y.sub.cd(ω) may be derived as [Equation 5] below by applying a test stimulus x.sub.d1(t)=cos(ω.sub.0 t) to hcd.

(53) y cd ( t ) = .Math. i = 1 3 μ i x d 1 i ( t ) = .Math. i = 1 3 μ _ i cos ( i ω 0 t ) y cd ( ω ) = .Math. i = 1 3 π μ _ i δ ( ω - i ω 0 ) where μ _ 1 = μ 1 + 3 μ 3 / 4 , μ _ 2 = μ 2 / 2 and μ _ 3 = μ 3 / 4. [ Equation 5 ]
addition, yca1(t) and its spectrum expression Y.sub.ca1(ω) derived through [Equation 6] below by applying to hca of the ADC.

(54) y cd 1 1 ( t ) = .Math. i = 1 3 ρ i y cd i ( t ) Y cd 1 ( ω ) = .Math. i = 1 3 ρ i ( 2 π ) 1 - i Y cd * ( i - 1 ) ( ω ) = ρ 1 Y cd ( ω ) + ρ 2 2 π Y cd * 1 ( ω ) + ρ 3 ( 2 π ) 2 Y cd * 2 ( ω ) = ρ _ 1 δ ( ω - ω 0 ) + ρ _ 2 δ ( ω - 2 ω 0 ) + ρ _ 3 δ ( ω - 3 ω 0 ) where Y cd * 1 ( ω ) = ( Y cd . f ( ω ) + Y cd . h ( ω ) ) * 1 = Y cd . f * 1 ( ω ) + 2 ( Y cd . f ( w ) * Y cd . h ( ω ) ) + Y cd . h * 1 ( ω ) . [ Equation 6 ]
in addition, Y.sub.cd,f(ω) represents the spectral fundamental term, and Y.sub.cd,h(ω) indicates a sum of the second and the third harmonics from Y.sub.cd(ω). *i indicates the i-fold iteration of the convolution with itself. Y*.sub.cd.sup.2(ω) may be similarly derived.

(55) Finally, Y*.sub.cd.sup.(i−1)(ω) in [Equation 6] is obtained, and using those values, ρ.sub.i in [Equation 6] may be identified as in [Equation 7] below.

(56) ρ _ 1 = π μ _ 1 ρ 1 + π ( μ _ 1 + μ _ 3 ) μ _ 2 ρ 2 + 3 4 π { μ _ 1 3 + ( μ _ 1 2 + μ _ 2 2 ) μ _ 3 + 2 μ _ 1 ( μ _ 2 2 + μ _ 3 2 ) } ρ 3 ρ _ 2 = π μ _ 2 ρ 1 + π ( μ _ 1 2 + μ _ 3 ) μ _ 1 ρ 2 + 3 4 π { 2 ( μ _ 1 2 + μ _ 3 2 ) μ _ 2 + 2 μ _ 1 μ _ 2 μ _ 3 + μ _ 2 3 } ρ 3 ρ _ 3 = π μ _ 3 ρ 1 + π μ _ 1 μ _ 2 ρ 2 + 3 4 π { 2 ( μ _ 1 2 + μ _ 2 2 ) μ _ 3 + μ _ 1 3 3 + μ _ 3 3 + μ _ 1 μ _ 2 2 } ρ 3 [ Equation 7 ]

(57) As shown in [Equation 6], ρ.sub.i represents the harmonic coefficients |Y.sub.ca1(iω.sub.0)| experimentally measured from the output of hca.

(58) Simultaneously, in the built-in harmonic prediction method according to an embodiment of the inventive concept, ycd(t) may be scaled down to |G(ω)|y.sub.cd(t) which fits into the full scale input range of hfa by applying ycd(t) to the amplifier G(ω). In this case, for simplicity, it is assumed that the gain is a constant value α.sub.1 in the passband, and the phase may be processed as in [Equation 8].
G(ω)|.sub.ω=iω.sub.0=|G(.sub.0)|e.sup.jG(iω.sup.0.sup.)≈α.sub.1   [Equation 8]

(59) Furthermore, yfa1(t) or Yfa1(ω) may be obtained by applying α.sub.1y.sub.cd(t) to hfa as in [Equation 9] below.

(60) y fa 1 ( t ) = .Math. i = 1 3 η i ( α 1 y cd ( t ) ) i Y fa 1 ( ω ) = .Math. i = 1 3 η i α 1 i ( 2 π ) 1 - i Y cd * ( i - 1 ) ( ω ) = η 1 α 1 Y cd ( ω ) + η 2 2 π α 1 2 Y cd * 1 ( ω ) + η 3 ( 2 π ) 2 α 1 3 Y cd * 2 ( ω ) = η _ 1 δ ( ω - ω 0 ) + η _ 2 δ ( ω - 2 ω 0 ) + η _ 3 δ ( ω - 3 ω 0 ) [ Equation 9 ]

(61) Also, as in [Equation 6], η.sub.i in [Equation 9] may be obtained by using Y*.sub.cd.sup.(i−1)(ω)

(62) η _ 1 = πα 1 μ _ 1 η 1 + πα 1 2 ( μ _ 1 + μ _ 3 ) μ _ 2 η 2 + 3 4 πα 1 3 { μ 1 3 + ( μ 1 2 + μ 2 2 ) μ 3 + 2 μ 1 ( μ 2 2 + μ 3 2 ) } η 3 η _ 2 = πα 1 μ _ 2 η 1 + πα 1 2 ( μ _ 1 2 + μ _ 3 ) μ _ 1 η 2 + 3 4 πα 1 3 { 2 ( μ _ 1 2 + μ _ 3 2 ) μ _ 2 + 2 μ _ 1 μ _ 2 μ _ 3 + μ _ 2 3 } η 3 η _ 3 = πα 1 μ _ 3 η 1 + πα 1 2 μ _ 1 μ _ 2 η 2 + 3 4 πα 1 3 { 2 ( μ _ 1 2 + μ _ 2 2 ) μ _ 3 + μ _ 1 3 3 + μ _ 3 3 + μ _ 1 μ _ 2 2 } η 3 [ Equation 10 ]

(63) where η.sub.i also indicates the harmonic coefficients |Y*.sub.fa1(iω.sub.0)| experimentally measured from the output of hfa.

(64) Referring to FIG. 5B, in the fine loopback test, which is the second loopback, yfd(t) or Yfd(ω) may be obtained as shown in FIG. 5B and [Equation 11] below by applying another test stimulus x.sub.d2(t)=κ cos(ω.sub.0t) to hfd. Since k is a constant value less than unity, xd2(t) may be expressed only in the LSBs of the DAC input for hfa.

(65) Y fd ( t ) = .Math. i = 1 3 .Math. i x d 2 i ( t ) = .Math. i = 1 3 .Math. _ i Y fd ( ω ) = .Math. i = 1 3 π .Math. _ i δ ( ω - i ω 0 ) cos ( i ω 0 t ) [ Equation 11 ]

(66) where ε.sub.1˜ε.sub.1κ+3ε.sub.3κ.sup.3/4, ε.sub.2=ε.sub.2κ.sup.2/2, and ε.sub.3=ε.sub.3κ.sup.3/4. yfd(t) is then applied to G(ω) to be scaled up to |G(ω)|y.sub.fd(t) whose magnitude fits into the full-scale input range of hca. In this case, as in [Equation 8], it is assumed that the gain is a constant value α.sub.2 in a passband, and the gain may be processed as in [Equation 12]
G(ω)|.sub.ω=iω.sub.0=|G(.sub.0)|e.sup.jG(iω.sup.0.sup.)≈α.sub.2   [Equation 12]

(67) Then, yca2(t) or Yca2(ω) is measured by applying α.sub.2y.sub.fd(t) to hca (see [Equation 13] below).

(68) y ca 2 ( t ) = .Math. i = 1 3 ρ i ( α 2 y fd ( t ) ) i y ca 2 ( ω ) = .Math. i = 1 3 ρ i α 2 i ( 2 π ) 1 - i Y fd * ( i - 1 ) ( ω ) = ρ 1 α 2 Y fd ( ω ) + ρ 2 2 π α 2 2 Y fd * 1 ( ω ) + ρ 3 ( 2 π ) 2 α 2 3 Y fd * 2 ( ω ) = ρ ^ 1 δ ( ω - ω 0 ) + p ^ 2 δ ( ω - 2 ω 0 ) + p ^ 3 δ ( ω - 3 ω 0 ) [ Equation 13 ]

(69) where Y*.sub.fd.sup.1(ω)=Y.sub.fd,f(ω)+Y.sub.fd,h(ω))*.sup.1=Y*.sub.fd,f.sup.1(ω)+2(Y.sub.fd,f(ω)*Y.sub.fd,h(ω))+Y*.sub.fd,h.sup.1(ω). Similarly, Y.sub.fd,f(ω) represents the spectral fundamental term, and Y.sub.fd,h(ω) indicates a sum of the second and the third harmonics from Y.sub.fd(ω). Y*.sub.fd.sup.2(ω) may be derived in the same way, and finally Y*.sub.fd.sup.(i−1)(ω) in [Equation 13] is identified.

(70) Based on these, {circumflex over (ρ)}.sub.i in [Equation 13] may be derived as in [Equation 14] below.

(71) ρ ^ 1 = πα 2 .Math. _ 1 ρ 1 + πα 2 2 ( .Math. _ 1 + .Math. _ 3 ) .Math. _ 2 ρ 2 + 3 4 πα 2 3 { .Math. _ 1 3 + ( .Math. _ 1 2 + .Math. _ 2 2 ) .Math. _ 3 + 2 .Math. _ 1 ( .Math. _ 2 2 + .Math. _ 3 2 ) } ρ 3 ρ ^ 2 = πα 2 .Math. _ 2 ρ 1 + πα 2 2 ( .Math. _ 1 2 + .Math. 3 ) .Math. _ 1 ρ 2 + 3 4 πα 2 3 { 2 ( .Math. _ 1 2 + .Math. _ 3 2 ) .Math. _ 2 + 2 .Math. _ 1 .Math. _ 2 .Math. _ 3 + .Math. _ 2 3 } ρ 3 ρ ^ 3 = πα 2 .Math. _ 3 ρ 1 + πα 2 2 .Math. _ 1 .Math. _ 2 ρ 2 + 3 4 πα 2 3 { 2 ( .Math. _ 1 2 + .Math. _ 2 2 ) .Math. _ 3 + .Math. _ 1 3 3 + .Math. _ 3 3 + .Math. _ 1 .Math. _ 2 2 } ρ 3 [ Equation 14 ]

(72) where {circumflex over (ρ)}.sub.i indicates the harmonic coefficients |Y.sub.ca2(iω.sub.0)| experimentally measured from the output of hca.

(73) At the same time, yfd(t) is applied to hfa to measure yfa2(t) or Yfa2(ω) (see [Equation 15] below).

(74) y fa 2 ( t ) = .Math. i = 1 3 η i y fd i ( t ) Y fa 2 ( ω ) = .Math. i = 1 3 η i ( 2 π ) 1 - i Y fd * ( i - 1 ) ( ω ) = η 1 Y fd ( ω ) + η 2 2 π Y fd * 1 ( ω ) + η 3 ( 2 π ) 2 Y fd * 2 ( ω ) = η ^ 1 δ ( ω - ω 0 ) + η ^ 2 δ ( ω - 2 ω 0 ) + η ^ 3 δ ( ω - 3 ω 0 ) [ Equation 15 ]

(75) Furthermore, by using Y*.sub.fd.sup.(i−1)(ω) in [Equation 13], {circumflex over (η)}.sub.i in [Equation 15] may be derived as follows.

(76) 0 η ^ 1 = ω .Math. _ 1 η 1 + π ( .Math. _ 1 + .Math. _ 3 ) .Math. _ 2 η 2 + 3 4 π { .Math. _ 1 3 + ( .Math. _ 1 2 + .Math. _ 2 2 ) .Math. _ 3 + 2 .Math. _ 1 ( .Math. _ 2 2 + .Math. _ 3 2 ) } η 3 η ^ 2 = ω .Math. _ 2 η 1 + π ( .Math. _ 1 2 + .Math. _ 3 ) .Math. _ 1 η 2 + 3 4 π { 2 ( .Math. _ 1 2 + .Math. _ 3 2 ) .Math. _ 2 + 2 .Math. _ 1 .Math. _ 2 .Math. _ 3 + .Math. _ 2 3 } η 3 η ^ 3 = π .Math. _ 3 η 1 + π .Math. _ 1 .Math. _ 2 η 2 + 3 4 π { 2 ( .Math. _ 1 2 + .Math. _ 2 2 ) .Math. _ 3 + .Math. _ 1 3 3 + .Math. _ 3 3 + .Math. _ 1 .Math. _ 2 2 } η 3 [ Equation 16 ]

(77) where {circumflex over (η)}.sub.i also represents the harmonic coefficients |Y.sub.fa2(iω.sub.0)| experimentally measured from the output of hfa.

(78) Finally, the built-in harmonic prediction method according to an embodiment of the inventive concept may derive total twelve simultaneous equations as shown in [Equation 7], [Equation 10], [Equation 14], and [Equation 16]. Thus, when the twelve loopback responses (ρ.sub.i, η.sub.i, {circumflex over (ρ)}.sub.i, {circumflex over (η)}.sub.i) are experimentally measured from the first and second loopback measurements, and are input to the simultaneous equations, then the harmonic coefficients (μ.sub.i, ε.sub.i, ρ.sub.i, η.sub.i) of the coarse DAC/ADC and the fine DAC/ADC may be readily obtained. Then, the those obtained harmonic coefficients are then applied to the transfer functions, [Equation 17] for each of the coarse and fine DACs/ADCs, which are derived using a symmetric Taylor expansion, as in [Equation 5].

(79) h sub ( x ( t ) ) = .Math. i = 1 3 i x i ( t ) [ Equation 17 ]

(80) where x(t) is an input signal, hsub represents hcd, hfd, hca, and hfa, and also indicates μ.sub.i, ε.sub.i, ρ.sub.i, η.sub.i, respectively.

(81) FIG. 6 shows conventional segmented DAC and ADC models as described with reference to FIG. 3.

(82) Referring to FIG. 6, each corresponding transfer function [Equation 17] is applied to hcd, hfd, hca, and hfa in the the DAC and ADC models of x(t)=cos(ω.sub.0 t), and yd(t) is applied to the ADC model. An output of yd(t) or ya(t) may be obtained using the conventional combination process as in conventional segmented architecture.

(83) Finally, the total-harmonic-distortion (THD) for each of the DAC and ADC may be obtained from the spectral calculation of yd(t) and ya(t). In addition, nonlinearities caused by the inter stage errors such as inter stage gain and offset errors may be addressed in yd (t) (or ya(t)) by conducting the combination process of the outputs from the sub-DACs or sub-ADCs.

(84) FIG. 7 is a block diagram showing a detailed configuration of a built-in harmonic prediction system for an embedded segmented data converter according to an embodiment of the inventive concept.

(85) Referring to FIG. 7, in a built-in harmonic prediction system according to an embodiment of the inventive concept may cost-effectively predict the dynamic nonlinearities of on-chip segmented digital-to-analog converter (DAC) and analog-to-digital-converter (ADC), by looping a DAC to an ADC, using a programmable-gain-amplifier (PGA) and an external load board.

(86) To this end, a built-in harmonic prediction system 700 according to an embodiment of the inventive concept may include a first loopback test unit 710, a second loopback test unit 720, and a prediction unit 730.

(87) The first loopback test unit 710 may supply an output signal from a coarse DAC, to which a sinusoidal signal is supplied, to a coarse ADC and a fine ADC through an external load board.

(88) Specifically, the first loopback test unit 710 may supply the sinusoidal signal to the coarse DAC and bypass the fine DAC. The first loopback test unit 710 may supply the output signal from the coarse DAC to the coarse ADC through a bypass path on the load board, and supply the output signal from the coarse DAC to the input full-scale range of the fine ADC through a PGA path of the load board.

(89) The second loopback test unit 720 may supply an output signal from the fine DAC, to which a sinusoidal signal is supplied, to the fine ADC and the coarse ADC through the load board.

(90) Specifically, the second loopback test unit 720 may supply the sinusoidal signal to the fine DAC, and bypass the coarse DAC. The second loopback test unit 720 may supply the output signal from the fine DAC to the fine ADC through a bypass path on the load board, and supply the output signal from the fine DAC to the input full-scale range of the coarse ADC through a PGA path of the load board.

(91) The prediction unit 730 may process dynamic nonlinearity of a sub-DAC and a sub-ADC and equations obtained in the first loopback test unit 710 and the second loopback test unit 720 to predict the dynamic nonlinearity of each of a DAC and an ADC.

(92) The prediction unit 730 may predict the dynamic nonlinearity of each of the DAC and the ADC by processing six simultaneous equations obtained in the first loopback test unit 710 and six simultaneous equations obtained in the second loopback test unit 720. In a post-processing process, the prediction unit 730 may obtain twelve harmonic coefficients obtained from the DAC and ADC by solving the twelve simultaneous equations.

(93) Accordingly, the prediction unit 730 may predict the dynamic nonlinearity of each of the DAC and the ADC by performing an output combination process of the sub-DAC or sub-ADC.

(94) Although the description is omitted with reference to the system of FIG. 7, the system according to the inventive concept may include all the contents described with reference to FIGS. 2 to 6, which are obvious to those skilled in the art.

(95) The system or apparatus described herein may be implemented with hardware components and software components and/or a combination of the hardware components and the software components. For example, the apparatus and components described in the embodiments may be implemented using one or more general-purpose or special purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPGA), a programmable logic unit (PLU), a microprocessor or any other device capable of executing and responding to instructions. The processing device may run an operating system (OS) and one or more software applications that run on the OS. The processing device also may access, store, manipulate, process, and create data in response to execution of the software. For convenience of understanding, one processing device is described as being used, but those skilled in the art will appreciate that the processing device includes a plurality of processing elements and/or multiple types of processing elements. For example, the processing device may include multiple processors or a single processor and a single controller. In addition, different processing configurations are possible, such a parallel processors.

(96) The software may include a computer program, a piece of code, an instruction, or some combination thereof, for independently or collectively instructing or configuring the processing device to operate as desired. Software and data may be embodied permanently or temporarily in any type of machine, component, physical or virtual equipment, computer storage medium or device, or in a propagated signal wave capable of providing instructions or data to or being interpreted by the processing device. The software also may be distributed over network coupled computer systems so that the software is stored and executed in a distributed fashion. In particular, the software and data may be stored by one or more computer readable recording mediums.

(97) The above-described methods may be embodied in the form of program instructions that can be executed by various computer means and recorded on a computer-readable medium. The computer readable medium may include program instructions, data files, data structures, and the like, alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the inventive concept, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks such as floppy disks, Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the inventive concept, and vice versa.

(98) Although the embodiments have been described by the limited embodiments and the drawings as described above, various modifications and variations are possible to those skilled in the art from the above description. For example, the described techniques may be performed in a different order than the described method, and/or components of the described systems, structures, devices, circuits, etc. may be combined or combined in a different form than the described method, or other components, or even when replaced or substituted by equivalents, an appropriate result can be achieved.

(99) Therefore, other implementations, other embodiments, and equivalents to the claims are within the scope of the following claims.