The present invention provides a signal converting apparatus with built-in self test, including a first signal converting circuit, a second signal converting circuit, a comparing apparatus, a control logic apparatus and a voltage divider. The first and the second signal converting circuit take a first and a second reference voltage and are respectively controlled by a first and second set of control signals from the control logic apparatus for the comparing apparatus to generate a comparing result.
|
1. A signal converting apparatus with built-in self test, comprising:
a comparing device, for comparing signals inputted to a first input terminal and a second input terminal to generate a comparing result;
a first signal converting circuit, coupled to the first input terminal of the comparing device, for receiving a first reference voltage and a second reference voltage under a self test mode, and generating a first comparing signal to the first input terminal of the comparing device according to a first set of control signals;
a second signal converting circuit, coupled to the second input terminal of the comparing device, for receiving the first reference voltage and the second reference voltage under the self test mode, and generating a second comparing signal to the second input terminal of the comparing device according to the first set of control signals;
a voltage dividing device, coupled to the first and the second signal converting circuits, for generating at least an analog signal according to a second set of control signals to the first and the second signal converting circuits under the self test mode; and
a control logic device, coupled to the comparing device, the first and the second signal converting circuits and the voltage dividing device, for generating the first and the second set of control signals.
2. The signal converting apparatus of
a first set of switching devices, having a first terminal coupled to the first reference voltage under the self test mode, and having a second terminal coupled to the second reference voltage under the self test mode, the first set of switching devices comprising a plurality of first switching elements coupled to the first set of control signals; and
a first set of capacitor devices, having a first terminal coupled to the first set of switching devices, and having a second terminal selectively coupled to a third reference voltage, the first set of capacitor devices comprising a plurality of first capacitors and a first terminal capacitor, the plurality of first capacitors coupled to the plurality of first switching elements respectively, each of the first switching element utilized for controlling the first capacitor corresponding to the first switching element to couple to the first reference voltage or the second reference voltage.
3. The signal converting apparatus of
a second set of switching devices, having a first terminal coupled to the first reference voltage under the self test mode, and having a second terminal coupled to the second reference voltage under the self test mode, the second set of switching devices comprising a plurality of second switching elements coupled to the second set of control signals; and
a second set of capacitor devices, having a first terminal coupled to the second set of switching devices, and having a second terminal selectively coupled to the third reference voltage, the second set of capacitor devices comprising a plurality of second capacitors and a second terminal capacitor, the plurality of second capacitors coupled to the plurality of second switching elements respectively, each of the second switching elements utilized for controlling the second capacitor corresponding to the second switching element to couple to the first reference voltage or the second reference voltage.
4. The signal converting apparatus of
a voltage divider, coupled between the first and the second reference voltages, for providing a plurality of voltage levels;
a third set of switching devices, coupled between the voltage divider and the first terminal capacitor, for selectively outputting an output voltage level from the plurality of voltage levels to the first terminal capacitor according to a specific set of control signals of the second set of control signals under the self test mode, the third set of switching devices comprising a plurality of third switching elements coupled to the second set of control signals; and
a fourth set of switching devices, coupled between the voltage divider and the second terminal capacitor, for selectively outputting an output voltage level from the plurality of voltage levels to the second terminal capacitor according to another specific set of control signals of the second set of control signals under the self test mode, the fourth set of switching devices comprising a plurality of fourth switching elements coupled to the second set of control signals.
5. The signal converting apparatus of
a fifth set of switching devices, coupled to the third reference voltage, the second terminal of the first set of capacitor devices and the second terminal of the second set of capacitor devices;
wherein the fifth set of switching devices comprises a plurality of fifth switching elements utilized for controlling whether the second terminal of the first set of capacitor devices and the second terminal of the second set of capacitor devices are coupled to the third reference voltage; the first set and the second set of control signals outputted by the control logic device control the on/off status of the plurality of the first, the second, the third, the fourth, and the fifth switching elements for determining if an error between the first set of capacitor devices and the second set of capacitor devices conforms to a predetermined requirement according to a plurality of comparing results.
6. The signal converting apparatus of
7. The signal converting apparatus of
8. The signal converting apparatus of
9. The signal converting apparatus of
10. The signal converting apparatus of
11. The signal converting apparatus of
12. The signal converting apparatus of
|
1. Field of the Invention
The present invention relates to an analog-to-digital converter with built-in self test, and more particularly, to an analog-to-digital converter performs a mutual test between capacitor arrays to detect if the capacitor array and related circuitry conform to the desired resolution requirement, and then utilizes the capacitor array, which has been completely tested, to detect if a resistor string conforms to another resolution requirement of the analog-to-digital converter.
2. Description of the Prior Art
Regarding the test of integrated linearity error (INL) of a conventional n-bit successive approximation register analog-to-digital converter (SAR ADC), an additional ramp generator is required for the built-in self test purposes, which increases the chip area greatly. However, if an external analog testing station is alternatively employed, the test cost is increased inevitably and the test is very time-consuming.
Regarding an n-bit analog-to-digital converter, the present invention uses a binary weighted capacitor array to realize m bits corresponding to most significant bits (MSBs) of the analog-to-digital converter, and uses a resistor string to determine remaining (n−m) bits corresponding to least significant bits (LSBs) of the analog-to-digital converter. In order to meet the integrated linearity error (INL) requirement of −1LSB≦INL≦1LSB, the relative capacitor error within the capacitor array must satisfy at least n-bit resolution requirement, and the resistor error in the resistor string must satisfy at least (n−m)-bit resolution requirement. As to the INL test of such an analog-to-digital converter architecture having capacitor arrays and resistor string included therein, the present invention performs a mutual test between capacitor arrays under a self test mode for monitoring relative error within the capacitor network. Due to the fact that peripheral circuits operated in a normal mode, such as a comparing device, switching devices, etc., are also used during the built-in self test, the resultant detected error includes error caused by the peripheral circuits. Next, the capacitor array, which has been completely tested, is used to monitor the relative error within the resistor string. In this way, the objective of estimating INL of an analog-to-digital converter is achieved.
According to an exemplary embodiment of the present invention, a signal converting apparatus with built-in self test is disclosed. The signal converting apparatus comprises a comparing device, a first signal converting circuit, a second signal converting circuit, a voltage dividing device, and a control logic device. The comparing device compares signals inputted to a first input terminal and a second input terminal to generate a comparing result. The first signal converting circuit is coupled to the first input terminal of the comparing device for receiving a first reference voltage under a normal mode or a self test mode, and generating a first comparing signal to the first input terminal of the comparing device according to a first set of control signals. The second signal converting circuit is coupled to the second input terminal of the comparing device for receiving a second reference voltage under the normal mode or the self test mode, and generating a second comparing signal to the second input terminal of the comparing device according to the first set of control signals. The voltage dividing device is coupled to the first and the second signal converting circuits for generating at least an analog signal according to a second set of control signals to the first and the second signal converting circuits under the normal mode or the self test mode. The control logic device is coupled to the comparing device, the first and the second signal converting circuits, and the voltage dividing device for generating the first set of control signals and the second set of control signals.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
Please refer to
A positive (+) input terminal and a negative (−) input terminal of the comparing device 103 are coupled to the first and the second signal converting circuits 101, 102 respectively, for comparing an output at the second terminal N4 of the first set of capacitor devices 1012 and an output at the second terminal N8 of the second set of capacitor devices 1022 under a bit-cycling phase of the self test mode to thereby generate a comparing result Dout[11:0]. The control logic device 104 is coupled to the comparing device 103 for generating a set of switching control signals C[5:0], CT[5:0], C[11:6], CB[11:6], wherein the switching control signals CB[11:6] are an inverse version of the counterpart switching control signals C[11:6]. The switching control signals C[11:6], CB[11:6], C[5:0], CT[5:0] are used to control first and second switching elements S6-S11, SB6-SB11, S6′-S11′, SB6′-SB11′ and the voltage dividing device 105.
The voltage dividing device 105 includes a voltage divider 1051 coupled between the first and the second reference voltages VRT and VRB for providing a plurality of voltage levels (please note that the voltage divider 1051 of this embodiment is implemented using 64 serially-connected resistors R1-R64); a third set of switching devices 1052 including a plurality of third switching elements SR1-SR64 and coupled between the voltage divider 1051 and the first terminal capacitor CT for selecting one of the voltage levels and coupling a selected output voltage level to the first terminal capacitor CT under the bit-cycling phase of the self test mode; a fourth set of switching devices 1053 including a plurality of fourth switching elements SR1′-SR64′ and coupled between the voltage divider 1051 and the second terminal capacitor CT′ for selecting one of the voltage levels and coupling a selected output voltage level to the second terminal capacitor CT′ under the bit-cycling phase of the self test mode; and a fifth set of switching devices 106 coupled to the third reference voltage AGND1, the second terminal N4 of the first set of capacitor devices 1012, and the second terminal N8 of the second set of capacitor devices 1022, wherein the fifth set of switching devices 106 includes a plurality of fifth switching elements implemented for controlling whether the second terminal N4 of the first set of capacitor devices 1012 and the second terminal N8 of the second set of capacitor devices 1022 are coupled to the third reference voltage AGND1.
According to the embodiment of the present invention, the control logic device 104 outputs switching control signals C[11:6], CB[11:6], C[5:0], CT[5:0] to control the on/off status of switching elements included in the first, the second, the third, and the fourth sets of switching devices 1011, 1021, 1052, 1053 respectively, for determining if an error between the first set of capacitor devices 1012 and the second set of capacitor devices 1022 conforms to a predetermined requirement according to a plurality of comparing results. It should be noted that the switching control signals C[5:0] and CT[5:0] select and turn on a switching element via two 6-to-64 decoders 125a, 125b respectively. Additionally, the control logic device 104 further controls fifth switching elements included in the fifth set of switching devices 106. Moreover, the signal converting apparatus 100 with built-in self test further includes a plurality of switching elements 107-109 and the related connection configuration thereof is shown in
The signal converting apparatus 100 of the present invention enters a normal mode in response to a set of mode switching control signals TEST[1:0]=00. Because operation of the signal converting apparatus under the normal mode is well known to those skilled in the pertinent art, a brief description is given as follows for simplicity. The normal mode operation includes a process of a sampling phase and a process of a bit-cycling phase. Referring to
Next, the signal converting apparatus 100 enters the bit-cycling phase of the normal mode. In this exemplary embodiment, the bit-cycling phase includes 12 bit cycles. During the 1st-6th bit cycles of the bitocycling phase, the switching element 108 couples the first terminal N1 and the second terminal N2 to the first reference voltage VRT and the second reference voltage VRB respectively, and the first switching elements SH and SHB couple the first terminal capacitor CT to an output of the third set of switching devices 1052. At this moment, the first terminal capacitor CT is coupled to the second reference voltage VRB due to a third switching element SR1 in the third set of switching devices 1052. In addition, the switching element 107 remains coupled to AGND2. The decoding of MSBs (i.e., Dout[i 1:6]) is accomplished through using the switching control signals C[11:6] and CB[11:6] to control on/off status of the first switching elements S6-S11, SB6-SB11, and then using the comparing device 103 to compare voltage levels at second terminals N4 and N8. During the 7th-12th bit cycles of the bit-cycling phase, the on/off status of the third switching elements SR1-SR64 are controlled by the switching control signals C[5:0] instead, and then a voltage level is coupled to one end of the first terminal capacitor CT in the first set of capacitor devices 1012. The decoding of LSBs (i.e., Dout[5:0]) is accomplished through using the comparing device 103 to compare voltage levels at second terminals N4 and N8. In the end, the control logic device 104 outputs Dout[11:0] to complete the analog-to-digital conversion under the normal mode.
After the operation under the normal mode has been briefly described in above paragraphs, the operation under the self test mode of the present invention is detailed now.
Due to the control signal TEST [1:0]=01, the signal converting apparatus 100 is controlled to enter a first self test mode for performing a mutual test between one capacitor array and the other capacitor array. The operation under the self test mode also includes a process of a sampling phase and a process of a bit-cycling phase. Please refer to
According to the embodiment of the present invention, when the process in the sampling phase of the self test mode completes testing 6 most significant bits, the signal converting apparatus 100 will enter the bit-cycling phase. Please refer to
In order to describe the spirit of the present invention more clearly, the following paragraph takes an n-bit analog-to-digital converter as an example, where the capacitor devices determine m bits corresponding to MSBs, while the voltage dividing device determines (n−m) bits corresponding to LSBs. Due to the fact that the capacitor devices determine MSBs, the total number of capacitor units is equal to 2m. Under the sampling phase of the self test mode, the switching control signals (e.g., C[11:6] and CB[11:6] of above exemplary embodiment) control that each of L capacitor units has two ends coupled to the first reference voltage VRT and the third reference voltage VGND1, each of K capacitor units has two ends coupled to the second reference voltage VRB and the third reference voltage VGND1, and a terminal capacitor unit (e.g., the first terminal capacitor CT and the second terminal capacitor CT′ of above exemplary embodiment) has two ends coupled to the second reference voltage VRB and the third reference voltage AGND1. The relationship of 2m, L, and K can be described by the following equation:
2m=L+K+1 (1)
The capacitance of the capacitor units might be different due to process variation. Suppose that the capacitance values of the first and second terminal capacitors CT and CT′ are CTP and CTN respectively, and L capacitor units, each coupled between the first reference voltage VRT and the third reference voltage AGND1 and included in the first set of capacitor devices, have a total capacitance amount equal to CLP. Therefore, the relative error between CTP and CLP can be represented by following equation.
Similarly, provided that K capacitor units, each coupled between the second reference voltage VRB and the third reference voltage AGND1, have a total capacitance amount equal to CKP, the relative error between CTP and CKP can be represented by following equation:
Regarding errors of the second set of capacitor devices, the following equations can be easily derived according to above equations (2) and (3).
During the sampling phase of the self test mode, the total electric charge amounts QP and QN in the first set of capacitor devices 1012 and the second set of capacitor devices 1022 can be represented using equations listed below. Please note that the voltage level Vp at the second terminal N4 of the first set of capacitor devices 1012 and the voltage level Vn at the second terminal N8 of the second set of capacitor devices 1022 are both AGND1, i.e., Vn=Vp=AGND1.
Qp=(L+ΔP1)×CTP×(AGND1−VRT)+(K+ΔP2)×CTP×(AGND1−VRB)+CTP×(AGND1−VRB) (6)
Qn=(L+ΔN1)×CTN×(AGND1−VRT)+(K+ΔN1)×CCN×(AGND1−VRB)+CTN×(AGND1−VRB) (7)
After the process of the sampling phase is accomplished, the first bit cycle of the bit-cycling phase is started. At this moment, the switching control signals SG1 and SG2 control the fifth switching element 106 to disconnect the third reference voltage AGND1 from the second terminals N4 and N8. The other end of the first terminal capacitor CT of the first set of capacitor devices 1012 is coupled to AGND3+VRLSB, where VRLSB represents a voltage difference between two adjacent voltage levels provided by the resistor string, and is equal to
In addition, the other end of each remaining capacitor is coupled to a common voltage AGND2. In addition, the other end of the second terminal capacitor CT′ of the second set of capacitor devices 1022 is coupled to AGND3, and the other end of each remaining capacitor is coupled to the common voltage AGND2. After the process of the first bit cycle of the bit-cycling phase is accomplished, the voltage levels at second terminals N4 and N8 are Vn′ and Vp′ respectively, and the total electric charge amounts QP′ and QN′ in the first set of capacitor devices 1012 and the second set of capacitor devices 1022 can be represented by following equations.
Qp′=(L+ΔP1+K+ΔP2)×CTP×(Vp′−AGND2)+CTP×(Vp′−(AGND3+VRLSB)) (8)
Qn′=(L+ΔN1+K+ΔN2)×CTN×(Vn′−AGND2)+CTN×(Vn′−AGND3) (9)
Due to charge conservation law, QP′=QP and QN′=QN. Therefore, the values of Vn′ and Vp′ can be derived through following computation, in which AGND2 and AGND3 could be
Next, VP′ is compared with VN′. When Vp′−Vn′>0, the following inequalities can be derived:
After substituting
into above equation (17), equation (17) can be re-formulated to derive the final result of the first bit cycle of the bit-cycling phase. It should be noted that εR represents an error of the voltage dividing device, and L+K+1=2m. The re-formulated inequality is as follows:
After the first bit cycle of the bit-cycling phase is accomplished, the second bit cycle of the bit-cycling phase is started. During the second bit cycle, the connection configuration of the second set of capacitor devices 1022 remains the same; however, the first terminal capacitor CT with capacitance value CTP is coupled to AGND3−VRLSB instead of AGND3+VRLSB. The total electric charge amount QP″ in the first set of capacitor devices 1012 can be represented by the equations listed below. Please note that the voltage levels at second terminals N4 and N8 are Vp″ and Vn″ now, and AGND2 and AGND3 are set to
presented in the first bit cycle of the bit-cycling phase.
Qp″=(L+ΔP1+K+ΔP2)×CTP×(Vp″−AGND 2)+CTP×(Vp″−(AGND 3−VRLSB)) (19)
Due to charge conservation law, QP″=QP′=QP. Therefore, the value of Vp″ can be derived through following computation.
As mentioned above, the connection configuration of the second set of capacitor devices 1022 remains the same, which implies that Vn″=Vn′. Therefore, after the computation result of Vp″ is substituted into the inequality Vp″−Vn″<0, the following inequality is derived accordingly:
Additionally, after substituting
into above inequality (22), inequality (22) can be re-formulated as below. It should be noted that εR represents an error of the voltage dividing device, and L+K+1=2m.
In conclusion, using the inequality Vp′−Vn′>0 for the first bit cycle of the bit-cycling phase and the inequality Vp″−Vn″<0 for the second bit cycle of the bit-cycling phase, two inequalities (18) and (23) mentioned above are finally obtained. For clarity, both of the inequalities (18) and (23) are listed again, as below:
In an n-bit analog-to-digital converter, a capacitor network is implemented to determine m bits corresponding to MSBs. To meet the requirement of −1LSB<INL<1LSB, the relative error within the capacitor network and error caused by the peripheral circuits must be less than
That is, for each value of L (L=1˜63), the error must meet the requirements
As one can see, the second term presented in the left side of the inequality should be
ideally; however, this term in the present invention is actually realized by
which is more strict than the ideal value
and might result in a greater error after the second term is subtracted from the first term in the left side of the inequality. Please note that when implemented on the chip, the first set of capacitor devices and the second set of capacitor devices are prevented from having identical tendency to errors, thereby making the detected error smaller than the actual one. This can be easily realized by placement and layout techniques employed in the physical design of the first and second sets of capacitor devices. In addition, the single term in the right side of the inequality should be
ideally; however, this term in the present invention is actually realized by
which can be re-formulated as below:
Because of the advance of semiconductor process technique, a conservative estimate of εR is less than ±4%. Additionally, in a case where ΔP1,ΔP2≦±1% and m≧3, the error between the ideal value and the single term present in the right side of the inequality approximates to εR (εR≦±4%). The detection precision of the first self test mode is assumed to be −1LSB<INL<1LSB. The actual detection precision of the present invention, however, is −0.096LSB<INL<1.004LSB. Therefore, the present invention can achieve a very small detection error. Furthermore, the detection precision can be improved by adjusting the bit resolution of the resistor string. For example, when the resistor string has one-bit resolution increment (i.e., the difference between adjacent voltage levels provided by the resistor string is adjusted to
the detection precision is improved to
Moreover, the precision under test can be determined by adjusting the voltage levels of the second and third reference voltages Vb and Vc mentioned above.
In a case where the inequalities Vp′−Vn′>0 and Vp″−Vn″<0 are both true, the comparator output corresponding to the first bit cycle of the bit-cycling phase is 1, and the comparator output corresponding to the second bit cycle of the bit-cycling phase is 0. As a result, Dout[1:0] is 10 under the self test mode, which means that the relative error between the first and second sets of capacitor devices is within the configured precision range. Therefore, the detection procedure mentioned above is finished. For different values of L (L=1-63 and C[11:6]=000001-111111), the above self test procedure is repeated. In the end, the mutual test between capacitor arrays is completed.
The operation directed to the mutual test between capacitor arrays has been detailed in above paragraphs. In the following, an example of testing the most significant bit, 000001, is given for illustrative purposes. According to the above-mentioned disclosure, when the signal converting apparatus 100 operates under the sampling phase of the self test mode, the control logic device 104 outputs the set of switching control signals C[11:6]=000001. Meanwhile, both of the first capacitor C1 and the second capacitor C1′ are couple to the first reference voltage VRT, and the remaining first capacitors C2-C6 and the second capacitors C2′-C6′ are all coupled to the second reference voltage VRB. The connection configuration of other switching devices is shown in
Qp=(L+ΔP1)×CTP×(AGND1−VRT)+(K+ΔP2)×CTP×(AGND1−VRB)+CTP×(AGND1−VRB) (25)
Qn=(L+ΔN1)×CTN×(AGND1−VRT)+(K+ΔN2)×CTN×(AGND1−VRB)+CTN×(AGND1−VRB) (26)
In above equations (25) and (26), Vp and Vn represent the voltage levels at the positive (+) and negative (−) input terminals of the comparing device 103 respectively. As shown in
Then, the exemplary signal converting apparatus 100 of the present invention proceeds with the process of the bit-cycling phase. In the first bit cycle, the control logic device 104 keeps the set of switching control signals C[11:6] and CT[5:0] invariant, but switches the set of the switching control signals C[5:0] to 100001 and switches the set of the switching control signals CT[5:0] to 100000. The first terminal capacitor CT is coupled to the second voltage level Vb via the third set of switching devices 1052, and the second terminal capacitor CT′ is coupled to the first voltage level Va via the fourth set of switching devices 1053. The magnitude of the first voltage level Va is
and the magnitude of the second voltage level Vb is
The related connection configuration is shown in
Qp′=(L+ΔP1+K+ΔP2)×CTP×(Vp′−AGND 2)+CTP×(Vp′−(AGND 3+VRLSB)) (27)
Qn′=(L+ΔN1+K+ΔN2)×CTN×(Vn′−AGND 2)+CTN×(Vn′−AGND 3) (28)
In above equations (27) and (28), Vp′ and Vn′ represent the voltage levels at the positive (+) and negative (−) input terminals of the comparing device 103 under the first bit cycle. In addition, according to the charge conservation law, QP′=Qp and QN′=QN. Therefore, the values of Vp′ and Vn′ can be derived through computation, as below.
If Vp′−Vn′>0, the comparing result of the comparing device 103 is 1; otherwise, the comparing result is 0.
Then, the exemplary signal converting apparatus 100 of the present invention proceeds with the process of the second bit cycle of the bit-cycling phase. In the second bit cycle, the control logic device 104 keeps the set of switching control signals C[11:6] and CT[5:0] invariant, but switches the set of the switching control signals C[5:0] from 100001 to 011111. Thus, the first terminal capacitor CT is coupled to the third voltage level Vc via the third set of switching devices 1052. Meanwhile, the magnitude of the third voltage level Vc is
As the set of switching control signals CT [5:0] is kept invariant, the first voltage level Va coupled to the second terminal capacitor CT is held at
The related connection configuration is shown in
Qp″=(L+ΔP1+K+ΔP2)×CP×(Vp″−AGND2)+CTP×(Vp″−(AGND3−VRLSB)) (31)
According to the charge conservation law, Qp″=Qp′ and Qn″=Qn′. Thus, the value of Vp″ can be derived by computation, as below:
Because the switching control signals CT[5:0] are kept invariant during the second bit cycle of the bit-cycling phase, Vn″ is equal to Vn′. If Vp″−Vn″<0, the comparing result of the comparing device 103 is 0; otherwise, the comparing result is 1.
When the second bit cycle of the signal converting device 100 is accomplished and the comparing result Dout[1:0] is 10, this represents that the error is less than one least significant bit and the mutual test between the first set of the capacitor devices 1012 and the second set of capacitor devices 1022 therefore meets the precision requirement under C[11:6]=000001; on the contrary, when the comparing result Dout[1:0] is not 10, this represents that the matching error of the capacitor arrays exceeds one least significant bit and the mutual test between the first set of the capacitor devices 1012 and the second set of capacitor devices 1022 fails to meet the precision requirement. Similarly, the above-disclosed method is utilized to mutually test the first set of capacitor devices 1012 and the second set of capacitor devices 1022 from the switching control signals C[11:6]=000010 to C[11:6]=111111 (i.e., the remaining most significant bits 000010-111111). Accordingly, if each of the comparing results Dout that are tested from the switching control signals C[11:6]=000010 to C[11:6]=111111 is 10, then error between the first set of capacitor devices 1012 and the second set of capacitor devices 1022 of the exemplary signal converting apparatus 100 meets the precision requirement of at least one least significant bit. In other words, the error of corresponding capacitors in the capacitor network is confirmed by the mutual test to achieve the 12-bit resolution requirement.
The tested precision setting can be controlled by the aforementioned switching control signals C[5:0]. That is, the capacitor error amount to be monitored can be adjusted by changing the difference between two adjacent voltage levels provided by the resistor string, i.e.,
mentioned above. In above exemplary embodiment, the tested precision is one least significant bit. Therefore, when the difference between two adjacent voltage levels provided by the resistor string is increased to
the tested precision becomes 4LSB. This can be easily realized by using C[5:0]=100100 in the first bit cycle of the bit-cycling phase and using C[5:0]=011100 in the second bit cycle of the bit-cycling phase. In other words, the tested precision can be adjusted depending upon desired resolution requirement.
After the mutual test between the first set of capacitor devices 1012 and the second set of capacitor devices 1022 is completed, and the precision requirement for the first set of capacitor devices is met, the signal converting apparatus enters a second self test mode under the control of the control signal TEST[1:0]=10, and then uses the tested capacitor devices to test the voltage dividing device implemented using a resistor string for checking if the voltage dividing device under test can meet another resolution requirement. As the detailed description directed to operations under second self test mode can be found in many references, a brief description is given as follows for simplicity. Please refer to
Qn=2(n−m)×CTN×(AGND1−AGND2), where n=12 and m=6 (33)
Qp=2(n−m)×CTP×(AGND1−VDA), where n=12 and m=6 (34)
The first set of capacitor devices is equivalent to an analog-to-digital converter with 6-bit resolution. After the analog input VDA from the voltage dividing device is received by the first set of capacitor devices under the sampling phase, the signal converting apparatus 100 enters the bit-cycling phase. The pertinent operation is detailed in many prior art references. Briefly summarized, the operation under the bit-cycling phase of the second self test mode is similar to that under the normal mode, and decodes the analog input VDA from MSBs to LSBs for obtaining a corresponding digital output code. In the end, C[5:0] is compared with Dout[5:0]. If C[5:0] is identical to Dout[5:0], this indicates that the voltage dividing device implemented using a resistor string meets the 6-bit resolution requirement.
If each obtained Dout[1:0] is 10 during the process under the first self test mode, and each obtained Dout[5:0] is equal to C[5:0] during the process under the second self test mode, this implies that the designed analog-to-digital converter can meet the required precision requirements. Then, the complete built-in self test of the analog-to-digital converter is finished.
In above-mentioned exemplary embodiments of the present invention, the illustrated analog-to-digital converter has a single-ended input; however, this is for illustrative purposes only. For example, in an actual implementation, using an analog-to-digital converter with a different input is also feasible. A simplified diagram of this alternative implementation is shown in
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Patent | Priority | Assignee | Title |
10840931, | Nov 26 2018 | NXP B.V. | Digital to analog and analog to digital converter |
7982471, | Mar 16 2009 | Texas Instruments Incorporated | Capacitance measurement system and method |
8018238, | Mar 27 2009 | Intel Corporation | Embedded sar based active gain capacitance measurement system and method |
8368409, | Mar 16 2009 | Texas Instruments Incorporated | Capacitance measurement system and method |
8441386, | Apr 13 2011 | Maxim Integrated Products, Inc. | Method to reduce voltage swing at comparator input of successive-approximations-register analog-to-digital converters |
8514123, | Sep 28 2010 | STMICROELECTRONICS FRANCE | Compact SAR ADC |
8854059, | Jul 29 2011 | Intel Corporation | Embedded SAR based active gain capacitance measurement system and method |
9059734, | Sep 10 2013 | Maxim Integrated Products, Inc. | Systems and methods for capacitive digital to analog converters |
9124288, | Dec 27 2013 | Renesas Electronics Corporation | Semiconductor device |
9312877, | Sep 10 2013 | Maxim Integrated Products, Inc | Systems and methods for capacitive digital to analog converters |
9322863, | Mar 27 2009 | Intel Corporation | Embedded SAR based active gain capacitance measurement system and method |
9553599, | Feb 08 2016 | Analog Devices, Inc | Techniques for reducing offsets in an analog to digital converter |
9716513, | Aug 03 2016 | Analog Devices, Inc | Systems and methods for generating a common mode compensation voltage in a SAR ADC |
9935648, | Nov 04 2016 | Analog Devices International Unlimited Company | Reducing reference charge consumption in analog-to-digital converters |
Patent | Priority | Assignee | Title |
5984487, | May 14 1997 | Bicycle visibility enhancement device | |
6144331, | Apr 08 1998 | Texas Instruments Incorporated | Analog to digital converter with a differential output resistor-digital-to-analog-converter for improved noise reduction |
6433727, | Jan 08 1999 | Renesas Electronics Corporation | AD converter with a power saving circuit and its control method |
6674386, | May 10 2002 | Analog Devices, Inc. | Dual channel analog to digital converter |
7038609, | Nov 22 2002 | Analog Devices, Inc | Successive approximation analog-to-digital converter with pre-loaded SAR registers |
7081841, | Apr 28 2005 | AVAGO TECHNOLOGIES GENERAL IP SINGAPORE PTE LTD | Analog to digital converter built in self test |
7158070, | Dec 21 2005 | Elan Microelectronics Corporation | Analog-to-digital converter capable of performing self-test |
7161512, | Jun 16 2005 | Qualcomm Incorporated | Gain error correction in an analog-to-digital converter |
20060066464, | |||
20060284750, | |||
20070182612, | |||
20080198056, | |||
20090109079, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Dec 12 2007 | YANG, CHAO-CHI | Elan Microelectronics Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020296 | /0007 | |
Dec 12 2007 | FAN, YAO-REN | Elan Microelectronics Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020296 | /0007 | |
Dec 28 2007 | Elan Microelectronics Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jul 30 2013 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Dec 11 2017 | REM: Maintenance Fee Reminder Mailed. |
May 28 2018 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Apr 27 2013 | 4 years fee payment window open |
Oct 27 2013 | 6 months grace period start (w surcharge) |
Apr 27 2014 | patent expiry (for year 4) |
Apr 27 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Apr 27 2017 | 8 years fee payment window open |
Oct 27 2017 | 6 months grace period start (w surcharge) |
Apr 27 2018 | patent expiry (for year 8) |
Apr 27 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Apr 27 2021 | 12 years fee payment window open |
Oct 27 2021 | 6 months grace period start (w surcharge) |
Apr 27 2022 | patent expiry (for year 12) |
Apr 27 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |