CN113810053A - Bypass window switching method applied to successive approximation type analog-to-digital converter - Google Patents

Bypass window switching method applied to successive approximation type analog-to-digital converter Download PDF

Info

Publication number
CN113810053A
CN113810053A CN202111072372.1A CN202111072372A CN113810053A CN 113810053 A CN113810053 A CN 113810053A CN 202111072372 A CN202111072372 A CN 202111072372A CN 113810053 A CN113810053 A CN 113810053A
Authority
CN
China
Prior art keywords
ref
capacitor array
capacitor
bottom plate
reference voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111072372.1A
Other languages
Chinese (zh)
Other versions
CN113810053B (en
Inventor
吴建辉
周畅
黄琳琳
黄毅
罗斯婕
李红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN202111072372.1A priority Critical patent/CN113810053B/en
Publication of CN113810053A publication Critical patent/CN113810053A/en
Application granted granted Critical
Publication of CN113810053B publication Critical patent/CN113810053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/34Analogue value compared with reference values
    • H03M1/38Analogue value compared with reference values sequentially only, e.g. successive approximation type
    • H03M1/46Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter
    • H03M1/466Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors
    • H03M1/468Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors in which the input S/H circuit is merged with the feedback DAC array
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/002Provisions or arrangements for saving power, e.g. by allowing a sleep mode, using lower supply voltage for downstream stages, using multiple clock domains or by selectively turning on stages when needed

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The invention discloses a bypass window switching method applied to a successive approximation type analog-to-digital converter. The method comprises three stages of sampling, converting and splicing, wherein differential input voltages VIP and VIN are connected to a top plate of a capacitor array through a sampling switch, a comparator compares the voltage of the top plate of the capacitor array to obtain a corresponding digital code, and the connection of a bottom plate of the capacitor array is controlled according to the digital code; the invention switches to generate a bypass window on the top plate of the capacitor for the first time, and obtains N-digit digital codes after splicing the codes only by N-2 times of comparison in the window, and obtains the N-digit digital codes after splicing the codes by N +1 times of comparison outside the window. Compared with the traditional switching algorithm, the invention reduces the CDAC power consumption, reduces the DAC power consumption of the input voltage in the window, saves half of the capacitor area, and realizes the compromise of energy efficiency and area.

Description

Bypass window switching method applied to successive approximation type analog-to-digital converter
Technical Field
The invention relates to a bypass window switching method applied to a successive approximation type analog-to-digital converter, and belongs to the technical field of capacitance type digital-to-analog converters of successive approximation type analog-to-digital converters.
Background
Sensors that can work for a long time are needed in the fields of internet of things, wearable devices and the like, and the use of Analog-to-digital converters (ADCs) by sensor interfaces is extremely frequent. Due to the lifetime requirements, ADCs need to be low power consuming. Successive approximation register analog-to-digital converter (sar adc) is widely used at low voltage due to high digitization and energy efficiency. The commonly used SAR adc structure includes a sampling switch, a capacitive digital to analog converter (CDAC), a comparator, SAR logic and an output circuit, and at low speed, the switching power consumption consumed by the CDAC accounts for a large proportion of the overall power consumption.
In prior studies, various switching algorithms have been proposed to reduce the switching power consumption of CDACs. However, the method introduces an additional interstage error [1] and a plurality of comparators [2] while reducing the switching power consumption, and finally, the reduction of the power consumption of a Digital to analog converter (DAC) is not ideal or higher requirements are put on design indexes of other modules such as the comparators.
[1]H.-Y.Tai,Y.-S.Hu,H.-W.Chen,and H.-S.Chen,“A 0.85fJ/conversion step 10b 200kS/s subranging SAR ADC in 40nmCMOS,”in IEEE ISSCC Dig.Tech.Papers,Feb.2014,pp.196–197.
[2]G.-Y.Huang,S.-J.Chang,C.-C.Liu,and Y.-Z.Lin,“A1-μW 10-bit 200-kS/s SAR ADC with a bypass window for biomedical applications,”in IEEE J.Solid-State Circuits,vol.47,no.11,pp.2783–2795,Nov.2012.
Disclosure of Invention
The purpose of the invention is as follows: in order to solve the problem of low power consumption and additional error introduction in the design of SAR ADC compromise, the invention provides a bypass window applied to a successive approximation type analog-to-digital converterThe first switching can be performed by using the capacitance switching to generate +/-2 on the top plate of the capacitor-3The voltage change of the Vref judges whether the input voltage is in the window, and if the input voltage is in the window, the previous two times of high-order capacitance switching are skipped, so that the conversion period of the SAR ADC is reduced, and the power consumption is reduced; if the capacitor is outside the window, the capacitors are continuously compared and switched according to the digital codes, and continuous capacitors are prevented from being switched back through code splicing, so that the power consumption is reduced.
The technical scheme is as follows: in order to achieve the above object, the present invention provides a bypass window switching method applied to a successive approximation type analog-to-digital converter, wherein the analog-to-digital converter includes a sampling switch, a capacitor array, a comparator, a digital control logic circuit and a code spelling device, wherein the capacitor array includes an upper capacitor array and a lower capacitor array having the same structure; differential input voltages, namely positive end input voltage and negative end input voltage, are respectively connected to the top pole plates of the upper capacitor array and the lower capacitor array through the sampling switches; the top plate of the upper capacitor array is connected with the non-inverting input end of the comparator, and the top plate of the lower capacitor array is connected with the inverting input end of the comparator; the differential output end of the comparator is connected to the digital control logic circuit, the digital control logic circuit generates a control signal to control the bottom electrode plates of the upper capacitor array and the lower capacitor array to be connected to corresponding levels, and the code spelling device spells each digital code output by the digital control logic circuit to generate a converted digital code;
the upper capacitor array comprises a first upper sub capacitor array, a second first upper sub capacitor array and a second upper sub capacitor array; the lower capacitor array comprises a first lower sub capacitor array, a second lower sub capacitor array and a second lower sub capacitor array;
the bypass window switching method applied to the successive approximation type analog-to-digital converter comprises the following steps:
step A, a sampling stage:
all capacitor bottom plates of the first upper sub capacitor array and the second one upper sub capacitor array of the upper capacitor array are connected to the ground level, and all capacitor bottom plates of the second one upper sub capacitor array are connected to the reference voltage; all the capacitor bottom plates of the first lower sub capacitor array and the second lower sub capacitor array of the lower capacitor array are connected to the ground level, and all the capacitor bottom plates of the second lower sub capacitor array are connected to the reference voltage;
step B, a conversion stage:
step B1, the sampling switch is switched off, then the comparator directly compares the input voltage of the positive end and the input voltage of the negative end of the top polar plate of the upper capacitor array and the lower capacitor array to obtain the digital code DNWhere N represents the number of bits of the analog-to-digital converter and the digital control logic circuit is based on the digital code DNControlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array;
step B2, the comparator compares the voltage of the top electrode plate of the upper capacitor array and the voltage of the bottom electrode plate of the lower capacitor array obtained from the step B1 to obtain a digital code DWINAccording to digital code DNAnd DWINJudging whether the differential input voltage is in a bypass window or not so as to control the connection position of the bottom plates of the capacitors in the upper capacitor array and the lower capacitor array;
step B3, the comparator compares the top plate voltages of the upper capacitor array and the lower capacitor array obtained from step B2 to obtain a digital code D within the bypass windowN-4Within the bypass window according to the digital code DN、DWINAnd DN-4Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array; obtaining digital codes D outside of bypass windowsN-1Outside the bypass window according to the digital code DN、DWINAnd DN-1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array;
step B4, the comparator compares the top plate voltages of the upper capacitor array and the lower capacitor array obtained from step B3 to obtain a digital code D within the bypass windowN-5In the bypass window according to the digital code DN、DWIN、DN-4And DN-5Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array; deriving digital codes D outside the bypass windowN-2Outside the bypass window according to the digital code DN、DWIN、DN-1And DN-2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array;
step B5, the comparator compares the voltage of the top plate of the upper capacitor array and the voltage of the bottom plate of the lower capacitor array obtained from step B4 to obtain a digital code D in the bypass windowN-Kiw-1In which K isiwFor the number of switching steps in the window, K is not less than 5iwLess than or equal to N-3 according to the digital code DN-Kiw-1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array; and repeating the operation in the bypass window in the step B5 until the digital code D is obtained1(ii) a Outside the bypass window, two extreme cases are DNDWINDN-1DN-20000 or 1111, the digital code D is skippedN-Kow1+2To obtain a digital code DN-Kow1+1,Kow1For the number of steps of switching in the extreme case outside the bypass window, K is not less than 5ow1Less than or equal to N-1 according to the digital code DN-Kow1+1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array, and repeating the operation outside the bypass window in the step B5 until the digital code D is obtained1(ii) a Other non-limiting cases, to obtain digital code DN-Kow2+2,Kow2For the number of steps of switching in the non-limiting case outside the bypass window, K is not less than 5ow2Less than or equal to N according to the digital code DN-Kow2+2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array, and repeating the operation outside the bypass window in the step B5 until the digital code D is obtained1
Step C, code spelling:
the digital control logic circuit outputs the digital codes of the comparator to the code spelling device, and the code spelling device spells the codes of the digital codes to obtain the converted N-bit digital codes.
Wherein the content of the first and second substances,
the first upper sub capacitor array and the second upper sub capacitor array are split capacitor arrays of high four-bit capacitors, wherein the capacitance value of the highest bit capacitor on the first upper sub capacitor array is 2N-3C, the capacitance value of the first last-time high-order capacitor of the second capacitor is 2N- 4C, the capacitance value of the first last-time low-order capacitor of the second capacitor is 2N-5C, the capacitance value of the lowest bit capacitor on the second one is 2N-6C, wherein N represents the digit of the analog-to-digital converter, and C is a unit capacitance value; the first upper sub capacitor array is a low-order capacitor, wherein the first upper N-9-order capacitor is a virtual capacitor, the capacitance value is 1C, and the capacitance value of the first upper N-4-order capacitor is 2N-6C, the capacitance value of the first upper N-5 bit capacitor is 2N-7C, the capacitance value of the first upper N-6 bit capacitor is 2N-8C, the capacitance value of the first upper N-7 bit capacitor is 2N-9And C, the capacitance value of the first upper N-8 bit capacitor is 1C.
The digital control logic circuit in step B1 is based on the digital code DNControlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array specifically comprises:
the first condition is as follows: if D isN1, the second last lower capacitor bottom plate is connected to the ground level by the reference voltage, the second next lower capacitor bottom plate is connected to the reference voltage by the ground level, and the differential voltage on the top plate of the capacitor array is reduced by 2(-3)VrefForm a 0 to 2(-3)VrefBy-pass window of (2), wherein VrefIs a reference voltage;
case two: if D isN0, the bottom plate of the first last low-order capacitor is connected to the reference voltage by the ground level, the bottom plate of the second next low-order capacitor is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-3)VrefForm a value of 0 to-2(-3)VrefThe bypass window of (1).
According to the digital code D in the step B2NAnd DWINJudging whether the differential input voltage is in a bypass window or not so as to control the connection position of the bottom plates of the capacitors in the upper capacitor array and the lower capacitor array, wherein the method specifically comprises the following steps:
the first condition is as follows: if D isNDWINThe difference input voltage is explained in the bypass window 0-2 ═ 11(-3)VrefBesides, the bottom plate of the second upper highest-order capacitor is connected to the ground level by the reference voltage, the bottom plate of the second lower highest-order capacitor is connected to the reference voltage by the ground level,differential voltage reduction on top plate of capacitor array 2(-1)Vref
Case two: if D isNDWIN10, the differential input voltage is explained in the bypass window 0-2(-3)VrefWithin, skip digital code DN-1、DN-2The bottom plate of the capacitor at the lowest position on the second capacitor is connected to a reference voltage by a ground level, the bottom plate of the capacitor at the lowest position on the second capacitor is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-4)Vref
Case three: if D isNDWIN01, the differential input voltage is explained in the bypass windows 0 to-2(-3)VrefWithin, skip digital code DN-1、DN-2The bottom plate of the second capacitor with the lowest position on the two upper sides is connected to the ground level by the reference voltage, the bottom plate of the second capacitor with the lowest position on the two lower sides is connected to the reference voltage by the ground level, and the differential voltage on the top plate of the capacitor array is reduced by 2(-4)Vref
Case four: if D isNDWIN00, the differential input voltage is illustrated in the bypass windows 0 to-2(-3)VrefBesides, the bottom plate of the capacitor at the highest position on the first capacitor is connected to the reference voltage by the ground level, the bottom plate of the capacitor at the highest position on the second capacitor is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-1)Vref
Step B3, according to digital code D, within the bypass windowN、DWINAnd DN-4Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array, specifically:
the first condition is as follows: if D isNDWINDN-4101, the first lower N-4 bit capacitor bottom plate is connected to the reference voltage by ground level, and the differential voltage on the capacitor array top plate is reduced by 2(-5)Vref
Case two: if D isNDWINDN-4100, the first upper N-4 bit capacitor bottom plate is connected to the reference voltage by ground level, the difference on the capacitor array top platePartial voltage increase 2(-5)Vref
Case three: if D isNDWINDN-4011, the first lower N-4 bit capacitor bottom plate is connected to the reference voltage from ground level, the differential voltage on the capacitor array top plate is reduced by 2(-5)Vref
Case four: if D isNDWINDN-4010, the first upper N-4 bit capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the capacitor array top plate is increased by 2(-5)Vref
Step B3, according to the digital code D, outside the bypass windowN、DWINAnd DN-1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array, specifically:
case five: if D isNDWINDN-1111, the second last higher capacitor bottom plate is connected to ground by the reference voltage, the second next higher capacitor bottom plate is connected to the reference voltage by the ground, the differential voltage on the top plate of the capacitor array is decreased by 2(-2)Vref
Case six: if D isNDWINDN-1110, the second one of the last higher capacitor bottom plates is connected to the reference voltage by the ground level, the second two of the next higher capacitor bottom plates is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-2)Vref
Case seven: if D isNDWINDN-1001, the second last high-order capacitor bottom plate is connected to ground by a reference voltage, the second next high-order capacitor bottom plate is connected to the reference voltage by the ground, the differential voltage on the capacitor array top plate is reduced by 2(-2)Vref
Case eight: if D isNDWINDN-1000, the second one of the last higher capacitor bottom plates is connected to a reference voltage by a ground level, the second two of the next higher capacitor bottom plates is connected to a ground level by a reference voltage, and the difference on the top plate of the capacitor arrayIncrease in voltage 2(-2)Vref
Step B4 according to the digital code D in the bypass windowN、DWIN、DN-4And DN-5Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array specifically comprises:
the first condition is as follows: if D isNDWINDN-4DN-51011, the first bottom N-5 bit capacitor bottom plate is connected to the reference voltage from ground level, and the differential voltage on the capacitor array top plate is reduced by 2(-6)Vref
Case two: if D isNDWINDN-4DN-51010, the first upper N-5 bit capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the capacitor array top plate is increased by 2(-6)Vref
Case three: if D isNDWINDN-4DN-51001, the first lower N-5 bit capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the capacitor array top plate is reduced by 2(-6)Vref
Case four: if D isNDWINDN-4DN-51000, the first upper N-5 bit capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the capacitor array top plate is increased by 2(-6)Vref
Case five: if D isNDWINDN-4DN-50111, the first bottom N-5 bit capacitor bottom plate is connected to a reference voltage from ground, the differential voltage on the capacitor array top plate is reduced by 2(-6)Vref
Case six: if D isNDWINDN-4DN-50110, the first upper N-5 bit capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the capacitor array top plate is increased by 2(-6)Vref
Case seven: if D isNDWINDN-4DN-50101, the first lower N-5 bit capacitor bottom plate is connected to the reference electrode via ground levelDifferential voltage reduction on the top plate of the capacitor array 2(-6)Vref
Case eight: if D isNDWINDN-4DN-50100, the first upper N-5 bit capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the capacitor array top plate is increased by 2(-6)Vref
Step B4 said outside the bypass window according to the digital code DN、DWIN、DN-1And DN-2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array specifically comprises:
case nine: if D isNDWINDN-1DN-21111, skip DN-3The bottom plate of the second capacitor with the lowest position on the two upper sides is connected to the ground level by the reference voltage, the bottom plate of the second capacitor with the lowest position on the two lower sides is connected to the reference voltage by the ground level, and the differential voltage on the top plate of the capacitor array is reduced by 2(-4)Vref
Case ten: if D isNDWINDN-1DN-21110, the second last lower capacitor bottom plate is connected to the reference voltage by the ground level, the second next lower capacitor bottom plate is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-3)Vref
Case eleven: if D isNDWINDN-1DN-21101, the second next higher capacitor bottom plate is connected to the reference voltage from ground, and the differential voltage on the top plate of the capacitor array is reduced by 2(-3)Vref
Case twelve: if D isNDWINDN-1DN-21100, the second last lower capacitor bottom plate is connected to the reference voltage by the ground level, the second next lower capacitor bottom plate is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-3)Vref
Case thirteen: if D isNDWINDN-1DN-20011, the second one of the last lower capacitor bottom plates is connected to ground by a reference voltage, the second two of the next higher capacitor bottom plates is connected to the reference voltage by ground, and the differential voltage on the top plate of the capacitor array is reduced by 2(-3)Vref
A fourteenth situation: if D isNDWINDN-1DN-20010, the second and last higher capacitor bottom plate is connected from ground to a reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-3)Vref
Case fifteen: if D isNDWINDN-1DN-20001, connecting the bottom plate of the first last lower capacitor to ground level by reference voltage, connecting the bottom plate of the second next lower capacitor to ground level by reference voltage, and reducing the differential voltage on the top plate of the capacitor array by 2(-3)Vref
Case sixteen: if D isNDWINDN-1DN-20000, skip DN-3The bottom plate of the capacitor at the lowest position on the second capacitor is connected to a reference voltage by a ground level, the bottom plate of the capacitor at the lowest position on the second capacitor is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-4)Vref
According to the digital code D in the step B5N-Kiw-1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array, specifically:
the first condition is as follows: voltage within the bypass window, DN-Kiw-1When 1, the first is N-KiwThe bottom plate of the-1-bit capacitor is connected to a reference voltage by a ground level, and K is more than or equal to 5 ≦ KiwLess than or equal to N-3, and the differential voltage on the top plate of the capacitor array is reduced by 2(-Kiw-2)Vref(ii) a Otherwise, DN-Kiw-1When equal to 0, first go up N-Kiw1 bit capacitor bottom plate connected from ground level to reference voltage, differential voltage increase on capacitor array top plate 2(-Kiw-2)Vref
According to the digital code D in the step B5N-Kow1+1Controlling capacitors in upper and lower capacitor arraysThe connection position of the bottom polar plate specifically is as follows:
case two: voltages outside the bypass window, the limiting case including DNDWINDN-1DN-20000 or 1111, DN-Kow1+1When 1, the first is N-Kow1The +1 bit capacitor bottom plate is connected to a reference voltage by a ground level, and K is more than or equal to 5ow1Less than or equal to N-1, and the differential voltage on the top plate of the capacitor array is reduced by 2(-Kow1)Vref(ii) a Otherwise, DN-Kow1+1When equal to 0, first go up N-Kow1The +1 bit capacitor bottom plate is connected to the reference voltage by the ground level, the differential voltage on the capacitor array top plate is increased by 2(-Kow1)Vref
According to the digital code D in the step B5N-Kow2+2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array and the lower capacitor array, specifically:
case three: voltages outside the bypass window, not limiting, DN-Kow2+2When 1, Kow25, the bottom plate of the second capacitor with the lowest position on the second upper electrode is connected to the ground level by the reference voltage, the bottom plate of the second capacitor with the lowest position on the second lower electrode is connected to the reference voltage by the ground level, and the differential voltage on the top plate of the capacitor array is reduced by 2(-Kow2+1)Vref(ii) a When K is more than or equal to 6ow2Less than or equal to N, the first N-Kow2The bottom plate of the + 2-bit capacitor is connected to a reference voltage by a ground level, and the differential voltage on the top plate of the capacitor array is reduced by 2(-Kow2+1)Vref(ii) a Otherwise, DN-Kow2+2When equal to 0, Kow2When the voltage is 5, the bottom plate of the second capacitor with the lowest position on the second capacitor is connected to the reference voltage by the ground level, the bottom plate of the second capacitor with the lowest position on the second capacitor is connected to the ground level by the reference voltage, and the differential voltage on the top plate of the capacitor array is increased by 2(-Kow2+1)Vref(ii) a When K is more than or equal to 6ow2Less than or equal to N, first N-Kow2The +2 bit capacitor bottom plate is connected to the reference voltage by the ground level, the differential voltage on the capacitor array top plate is increased by 2(-Kow2+1)Vref
And C, the code spelling device is used for spelling the digital codes to obtain the converted N-bit digital codes, and the method specifically comprises the following steps:
the first condition is as follows: in-2(-3)Vref2~2(-3)VrefBypassing the window, instruction DN-1=DWIN、DN-2=DWINAnd DN-3=DWINThe code spelling device outputs the converted N-bit digital code;
case two: outside the bypass window, in the limiting case DNDWINDN-1DN-21111 or 0000, order DN-3=DWINThe code spelling device outputs the converted N-bit digital code;
case three: outside the bypass window, if not at all, DNWhen 1, corresponding digital code DN-3Where is required to add DWINThe value of (1) and carry calculation, the code spelling device outputs the converted N-bit digital code; dNWhen equal to 0, corresponding digital code DN-3To subtract DWINAnd with borrow calculation, the splicer outputs the converted N-digit digital code.
Has the advantages that: by adopting the technical scheme, the invention can produce the following beneficial effects:
the invention switches for the first time to generate +/-2 on the top plate of the capacitor-3Voltage variation of Vref, resulting in a value of + -2-3A Vref window is set, so that whether the differential input voltage is in the window or not is judged, the conversion steps of Most Significant Bit (MSB) and MSB-1 can be skipped in the window, and a large amount of power consumption is saved; compared with the traditional switching algorithm, the invention averagely reduces 87.29% of DAC power consumption, reduces 95.56% of DAC power consumption of input voltage in a window, saves 50% of capacitor area, and realizes compromise of energy efficiency and area.
Drawings
FIG. 1 is a schematic structural diagram of a SARADC employed for achieving 10-bit resolution by the method of the present invention;
FIG. 2 is a schematic diagram of the switching of the 6-bit SARADC according to the present invention, and FIG. 2(a) is a schematic diagram of the switching from step B1 to step B3 and D6DWIND5The switching from B4 to step B5 in 111 cases is shown as D in fig. 2(B)6DWIND5=110、D6DWIND2=101、D6DWIND2Switching signals from B4 to step B5 for 100 cases;
FIG. 3 is a diagram of MATLAB simulation results of the switching energy consumption of a 10-bit SARADC according to the present invention.
The figure shows that: the circuit comprises a sampling switch 1, a capacitor array 2, a comparator 3, a digital control logic circuit 4, a code spelling device 5, an upper capacitor array 2-1, a lower capacitor array 2-2 and a first upper sub capacitor array DACP1The second capacitor array DAC on one of the capacitorsP2aA second two upper sub-capacitor array DACP2b(ii) a First lower sub capacitor array DACN1A second lower sub-capacitor array DACN2aSecond two lower sub-capacitor array DACN2b
The highest capacitor C on the second oneN,paSecond one of the last high-order capacitors CN-1,paSecond one of the last low-order capacitors CN-2,paThe lowest bit capacitor C on the second oneN-3,pa(ii) a Second highest capacitor CN,pbSecond, third, fourth, and fourth capacitorsN-1,pbSecond, last, lower capacitor CN-2,pbSecond lowest two-level capacitor CN-3,pb
Second one of the lower highest bit capacitor CN,naSecond one next higher capacitor CN-1,naSecond, its next lower capacitor CN-2,naSecond one lower lowest bit capacitor CN-3,na(ii) a Second highest capacitor CN,nbSecond, second next higher capacitor CN-1,nbSecond, next lower capacitor CN-2,nbSecond lowest two-level capacitor CN-3,nb
First upper N-4 bit capacitor CN-4,pFirst upper N-5 bit capacitor CN-5,pFirst upper N-6 bit capacitor CN-6,pFirst upper N-7 bit capacitor CN-7,pFirst upper N-8 bit capacitor CN-8,pFirst upper N-9 th bit capacitor CN-9,p
First lower N-4 bit capacitor CN-4,nFirst lower N-5 bit capacitor CN-5,nFirst lower N-6 bit capacitor CN-6,nFirst lower N-7 bit capacitor CN-7,nFirst lower N-8 bit capacitor CN-8,nFirst lower N-9 bit capacitor CN-9,n
Detailed Description
The following describes embodiments of the present invention with reference to the drawings.
The invention relates to a bypass window switching method applied to a successive approximation type analog-to-digital converter, which comprises a sampling switch 1, a capacitor array 2, a comparator 3, a digital control logic circuit 4 and a code spelling device 5, wherein the capacitor array 2 comprises an upper capacitor array 2-1 and a lower capacitor array 2-2 which have the same structure; differential input voltage, namely positive end input voltage VIP and negative end input voltage VIN, is respectively connected to the top plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 through a sampling switch 1; the top plate of the upper capacitor array 2-1 is connected with the non-inverting input end of the comparator 3, and the top plate of the lower capacitor array 2-2 is connected with the inverting input end of the comparator 3; the differential output end of the comparator 3 is connected to the digital control logic circuit 4, the digital control logic circuit 4 generates control signals to control the bottom electrode plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 to be connected to corresponding electrical levels, and the code spelling device 5 spells each digital code output by the digital control logic circuit 4 to generate converted digital codes.
The upper capacitor array 2-1 comprises a first upper sub capacitor array DACP1The second capacitor array DAC on one of the capacitorsP2aAnd a second upper sub-capacitor array DACP2b(ii) a The lower capacitor array 2-2 comprises a first lower sub capacitor array DACN1A second lower sub-capacitor array DACN2aAnd a second lower sub-capacitor array DACN2b
Second one of which has sub-capacitor array DACP2aAnd a second upper sub-capacitor array DACP2bSplit capacitor array of high four-bit capacitors, the second one of which has the highest bit capacitor CN,paHas a capacitance value of 2N-3C, the second one of the last high-order capacitors CN-1,paHas a capacitance value of 2N-4C, the second one of which is the last low-order capacitor CN-2,paHas a capacitance value of 2N-5C, the lowest bit capacitor C on the second oneN-3,paHas a capacitance value of2N-6C, wherein N represents the digit of the analog-to-digital converter, and C is a unit capacitance value; first upper sub capacitor array DACP1Is a low-order capacitor, wherein the first upper N-9-order capacitor CN-9,pIs a dummy capacitor with a capacitance of 1C and a first upper N-4 bit capacitor CN-4,pHas a capacitance value of 2N-6C, a first upper N-5 bit capacitor CN-5,pHas a capacitance value of 2N-7C, the first upper N-6 bit capacitor CN-6,pA capacitance value of 2N-8C, the first upper N-7 bit capacitor CN-7,pHas a capacitance value of 2N-9C, a first upper N-8 bit capacitor CN-8,pThe capacitance value of (1C). The number N of the analog-to-digital converter bits is 10.
The bypass window switching method applied to the successive approximation type analog-to-digital converter comprises the following steps of:
step A, a sampling stage:
first upper sub capacitor array DAC of upper capacitor array 2-1P1And a second one of which has a sub-capacitor array DACP2aIs connected to ground level gnd, and a second one of its two upper sub-capacitor array DACsP2bAll capacitor bottom plates of (2) are connected to a reference voltage Vref(ii) a First lower sub-capacitor array DAC of lower capacitor array 2-2N1And a second lower sub-capacitor array DACN2aAll capacitor bottom plates of (1) are connected to ground level gnd, the second two lower sub-capacitor array DACN2bAll capacitor bottom plates of (2) are connected to a reference voltage Vref
Step B, a conversion stage:
step B1, the sampling switch 1 is switched off, then the comparator 3 directly carries out the most significant bit comparison of the positive terminal input voltage VIP and the negative terminal input voltage VIN of the top plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 to obtain the digital code DNWhere N denotes the number of bits of the analog-to-digital converter, the digital control logic 4 being based on the digital code DNControlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2; the method specifically comprises the following steps:
the first condition is as follows: if D isNSecond, last lower capacitor C ═ 1N-2,pbBottom plate is driven by reference voltage VrefIs connected to earth groundPlanar, second, its next lower capacitor CN-2,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-3)VrefForm a 0 to 2(-3)VrefBy-pass window of (2), wherein VrefIs a reference voltage;
case two: if D isN0, the second one of which has the last lower capacitance CN-2,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond, next lower capacitor CN-2,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-3)VrefForm a value of 0 to-2(-3)VrefThe bypass window of (1).
In step B2, the comparator 3 compares the voltages of the top electrode plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 obtained in step B1 to obtain a digital code DWINAccording to digital code DNAnd DWINJudging whether the differential input voltage is in a bypass window or not so as to control the connection position of the bottom electrode plates of the capacitors in the upper capacitor array 2-1 and the lower capacitor array 2-2; the method specifically comprises the following steps:
the first condition is as follows: if D isNDWINThe difference input voltage is explained in the bypass window 0-2 ═ 11(-3)VrefIn addition, the second highest-order capacitor CN,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, the second one of its next highest-order capacitors CN,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-1)Vref
Case two: if D isNDWIN10, the differential input voltage is explained in the bypass window 0-2(-3)VrefWithin, skip digital code DN-1、DN-2The lowest bit capacitor C on the second oneN-3,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond lowest two-level capacitor CN-3,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, capacitor array 2 topDifferential voltage increase on the plates 2(-4)Vref
Case three: if D isNDWIN01, the differential input voltage is explained in the bypass windows 0 to-2(-3)VrefWithin, skip digital code DN-1、DN-2Second lowest two-level capacitor CN-3,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, the second one of its lower lowest bit capacitance CN-3,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-4)Vref
Case four: if D isNDWIN00, the differential input voltage is illustrated in the bypass windows 0 to-2(-3)VrefBesides, the highest bit capacitance C on the second oneN,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond highest capacitor CN,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-1)Vref
In step B3, the comparator 3 compares the voltages of the top electrode plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 obtained in step B2 to obtain a digital code D within the bypass windowN-4Within the bypass window according to the digital code DN、DWINAnd DN-4Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2; the method specifically comprises the following steps:
the first condition is as follows: if D isNDWINDN-4101, first N-4 bit capacitance CN-4,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-5)Vref
Case two: if D isNDWINDN-4First upper N-4 bit capacitance C as 100N-4,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-5)Vref
Situation three: if D isNDWINDN-4011, first N-4 bit capacitance CN-4,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-5)Vref
Case four: if D isNDWINDN-4010, first upper N-4 bit capacitance CN-4,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-5)Vref
Obtaining digital codes D outside of bypass windowsN-1Outside the bypass window according to the digital code DN、DWINAnd DN-1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2; the method specifically comprises the following steps:
case five: if D isNDWINDN-1111, the second and last high-order capacitor CN-1,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, second of which is a next higher capacitance CN-1,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-2)Vref
Case six: if D isNDWINDN-1110, the second one of which has the last higher capacitance CN-1,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond, second next higher capacitor CN-1,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-2)Vref
Case seven: if D isNDWINDN-1001, the second and last high-order capacitor CN-1,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, second of which is a next higher capacitance CN-1,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-2)Vref
Situation(s)Eighthly: if D isNDWINDN-1000, the second one of which has the last higher capacitance CN-1,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond, second next higher capacitor CN-1,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-2)Vref
In step B4, the comparator 3 compares the voltages of the top plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 obtained in step B3 to obtain a digital code D within the bypass windowN-5In the bypass window according to the digital code DN、DWIN、DN-4And DN-5Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2; the method specifically comprises the following steps:
the first condition is as follows: if D isNDWINDN-4DN-51011, the first N-5 bit capacitance CN-5,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-6)Vref
Case two: if D isNDWINDN-4DN-51010, first upper N-5 bit capacitor CN-5,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-6)Vref
Case three: if D isNDWINDN-4DN-51001, first N-5 bit capacitance CN-5,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-6)Vref
Case four: if D isNDWINDN-4DN-51000, first upper N-5 bit capacitor CN-5,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-6)Vref
Case five: if D isNDWINDN-4DN-50111, first N-5 bit capacitance CN-5,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-6)Vref
Case six: if D isNDWINDN-4DN-50110, first N-5 bits of capacitance CN-5,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-6)Vref
Case seven: if D isNDWINDN-4DN-50101, first N-5 bit capacitance CN-5,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-6)Vref
Case eight: if D isNDWINDN-4DN-50100, first upper N-5 bit capacitance CN-5,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-6)Vref
Deriving digital codes D outside the bypass windowN-2Outside the bypass window according to the digital code DN、DWIN、DN-1And DN-2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2; the method specifically comprises the following steps:
case nine: if D isNDWINDN-1DN-21111, skip DN-3Second lowest two-level capacitor CN-3,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, the second one of its lower lowest bit capacitance CN-3,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-4)Vref
Case ten: if D isNDWINDN-1DN-21110, the second last lower capacitor CN-2,pbThe bottom plate being connected to a reference electrode by ground level gndPressure VrefSecond, its next lower capacitor CN-2,naBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-3)Vref
Case eleven: if D isNDWINDN-1DN-21101, the second next highest capacitor CN-1,nbThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-3)Vref
Case twelve: if D isNDWINDN-1DN-21100, the second last lower capacitor CN-2,pbThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond, its next lower capacitor CN-2,naBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-3)Vref
Case thirteen: if D isNDWINDN-1DN-20011, the second one of which has the last lower capacitance CN-2,paBottom plate is driven by reference voltage VrefConnected to ground gnd, second its second next higher capacitance CN-2,nbThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-3)Vref
A fourteenth situation: if D isNDWINDN-1DN-20010, second and last high-order capacitor CN-1,pbThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-3)Vref
Case fifteen: if D isNDWINDN-1DN-20001, the second one of which has the last lower capacitance CN-2,paBottom plate is driven by reference voltage VrefConnected to ground gnd, second its second next lower capacitor CN-2,nbThe bottom plate being connected from ground level gnd to a reference voltage Vref2 top pole of capacitor arrayDifferential voltage reduction on board 2(-3)Vref
Case sixteen: if D isNDWINDN-1DN-20000, skip DN-3The lowest bit capacitor C on the second oneN-3,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond lowest two-level capacitor CN-3,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-4)Vref
In step B5, the comparator 3 compares the voltages of the top plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 obtained in step B4 to obtain a digital code D in the bypass windowN-Kiw-1In which K isiwFor the number of switching steps in the window, K is not less than 5iwLess than or equal to N-3 according to the digital code DN-Kiw-1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2;
DN-Kiw-1when 1, the first is N-Kiw-1 bit capacitance CN-Kiw-1,nThe bottom plate being connected from ground level gnd to a reference voltage Vref,5≤KiwLess than or equal to N-3, and the differential voltage on the top plate of the capacitor array 2 is reduced by 2(-Kiw-2)Vref(ii) a Otherwise, DN-Kiw-1When equal to 0, first go up N-Kiw-1 bit capacitance CN-Kiw-1,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-Kiw-2)Vref
And repeating the operation in the bypass window in the step B5 until the digital code D is obtained1
Outside the bypass window, two extreme cases are DNDWINDN-1DN-20000 or 1111, the digital code D is skippedN-Kow1+2To obtain a digital code DN-Kow1+1,Kow1For the number of steps of switching in the extreme case outside the bypass window, K is not less than 5ow1Less than or equal to N-1 according to the digital code DN-Kow1+1Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2, which comprises the following steps:
DN-Kow1+1when 1, the first is N-Kow1+1 bit capacitor CN-Kow1+1,nThe bottom plate being connected from ground level gnd to a reference voltage Vref,5≤Kow1Less than or equal to N-1, and the differential voltage on the top plate of the capacitor array 2 is reduced by 2(-Kow1)Vref(ii) a Otherwise, DN-Kow1+1When equal to 0, first go up N-Kow1+1 bit capacitor CN-Kow1+1,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-Kow1)Vref
And repeating the operation outside the bypass window in the step B5 until the digital code D is obtained1
Other non-limiting cases, to obtain digital code DN-Kow2+2,Kow2For the number of steps of switching in the non-limiting case outside the bypass window, K is not less than 5ow2Less than or equal to N according to the digital code DN-Kow2+2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2, which comprises the following steps:
voltages outside the bypass window, not limiting, DN-Kow2+2When 1, Kow2Second lowest order capacitor C of 5N-3,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, the second one of its lower lowest bit capacitance CN-3,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-Kow2+1)Vref(ii) a When K is more than or equal to 6ow2Less than or equal to N, the first N-Kow2+2 bit capacitance CN-Kow2+2,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-Kow2+1)Vref(ii) a Otherwise, DN-Kow2+2When equal to 0, Kow2When it is 5, the lowest capacitor C is on the second oneN-3,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond lowest two-level capacitor CN-3,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-Kow2+1)Vref(ii) a When K is more than or equal to 6ow2Less than or equal to N, first N-Kow2+2 bit capacitance CN-Kow2+2,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-Kow2+1)Vref
And repeating the operation outside the bypass window in the step B5 until the digital code D is obtained1
Step C, code spelling:
the digital control logic circuit 4 outputs the digital codes of the comparator 3 to the code spelling device 5, and the code spelling device 5 spells the digital codes to obtain the converted N-bit digital codes. The method specifically comprises the following steps:
the first condition is as follows: in-2(-3)Vref2~2(-3)VrefBypassing the window, instruction DN-1=DWIN、DN-2=DWINAnd DN-3=DWINThe code spelling device 5 outputs the converted N-digit digital code;
case two: outside the bypass window, in the limiting case DNDWINDN-1DN-21111 or 0000, order DN-3=DWINThe code spelling device 5 outputs the converted N-digit digital code;
case three: outside the bypass window, if not at all, DNWhen 1, corresponding digital code DN-3Where is required to add DWINAnd carry calculation, the code spelling device 5 outputs the converted N-bit digital code; dNWhen equal to 0, corresponding digital code DN-3To subtract DWINAnd with a borrow calculation, the transcoder 5 outputs the converted N-bit digital code.
Therefore, the differential output end of the comparator 3 of the method of the invention generates a control signal to control the bottom plate switches of the upper capacitor array 2-1 and the lower capacitor array 2-2 through the digital control logic 4, the capacitors are switched for the first time to generate a bypass window, whether the differential input voltage is in the window is judged, if the differential input voltage falls in the window, the previous two high-order conversion cycles are skipped, the conversion times can be reduced, and the power consumption of the CDAC, the comparator and the control logic is reduced; if the current is outside the window, the capacitor generating the bypass window is not switched back to continue normal conversion, correct digital codes are output through code splicing, and power consumption of part of DAC switching is reduced.
The invention will now be described in more detail with reference to an example, since DN1 and DNIn both cases of 0, the process of quantizing the capacitance from the Most Significant Bit (MSB) to the Least Significant Bit (LSB) is completely symmetrical, and the sar adc conversion process after 6 bits is the same, and the embodiment herein describes a topology where N is 6, assuming that D is equal to 6NFig. 2 shows a schematic diagram of switching applied to a 6-bit SAR ADC according to the present invention.
Step A, sampling stage
The positive end input voltage VIP and the negative end input voltage VIN are respectively connected to the top plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 through the sampling switch 1, and the first upper sub capacitor array DAC of the upper capacitor array 2-1P1And a second one of which has a sub-capacitor array DACP2aIs connected to ground level gnd, and a second one of its two upper sub-capacitor array DACsP2bAll capacitor bottom plates of (2) are connected to a reference voltage Vref(ii) a First lower sub-capacitor array DAC of lower capacitor array 2-2N1And a second lower sub-capacitor array DACN2aAll capacitor bottom plates of (1) are connected to ground level gnd, the second two lower sub-capacitor array DACN2bAll capacitor bottom plates of (2) are connected to a reference voltage Vref
Step B, transition phase
Step B1, the sampling switch 1 of the analog-to-digital converter is turned off, then the comparator 3 directly compares the MSB bit of the positive terminal input voltage VIP and the negative terminal input voltage VIN of the top plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 to obtain the digital code D6According to digital code D6Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2;
due to D6Second, last lower capacitor C ═ 14,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, second of which is a next lower capacitor C4,naThe bottom plate being connected from ground level gnd to a reference voltage VrefCapacitor array 2 top plateDifferential voltage reduction of 2(-3)VrefForm a 0 to 2(-3)VrefThe bypass window of (1);
step B2, according to the digital code D6And DWINControlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2;
the first condition is as follows: if D is6DWINWhen the difference input voltage is equal to 11, the difference input voltage is explained in a window 0-2(-3)VrefIn addition, the second highest-order capacitor C6,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, the second one of its next highest-order capacitors C6,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-1)Vref
Case two: if D is6DWINWhen the difference input voltage is 10, the difference input voltage is explained in a window 0-2(-3)VrefWithin, skip digital code D5、D4At this time, DWINIs D3The lowest bit capacitor C on the second one3,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond lowest two-level capacitor C3,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-4)Vref
Step B3, outside the window, according to the digital code D6、DWINAnd D5Controlling the connection position of the bottom plates of the capacitors in the upper capacitor array 2-1 and the lower capacitor array 2-2 according to the digital code D in the window6、DWINAnd D2Controlling the connection position of the bottom plate of the capacitor in the upper capacitor array 2-1 and the lower capacitor array 2-2;
the first condition is as follows: if D is6DWIND5111, the second and last high-order capacitor C5,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, second of which is a next higher capacitance C5,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-2)Vref
Case two: if D is6DWIND5110, the second one of which has the last higher capacitance C5,paBottom plate connected to V by gndrefSecond, second next higher capacitor C5,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-2)Vref
Case three: if D is6DWIND2101, first lower 2-bit capacitance C2,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-5)VrefThe comparator compares the voltages of the top electrode plates of the upper capacitor array 2-1 and the lower capacitor array 2-2 at the moment to obtain a digital code D1And the conversion is finished;
case four: if D is6DWIND2First upper 2-bit capacitance C as 1002,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-5)Vref
Said step B4, outside the window, is based on the digital code D6、DWIN、D5And D4Controlling the connection position of the bottom plates of the capacitors in the upper capacitor array 2-1 and the lower capacitor array 2-2 according to the digital code D in the window2Controlling the connection position of the bottom plate of the capacitor, and comparing the voltages of the top plates in the upper capacitor array 2-1 and the lower capacitor array 2-2 by the comparator 3 to obtain a digital code D1;
the first condition is as follows: if D is6DWIND5D41111, skip D3Second lowest two-level capacitor C3,pbBottom plate is driven by reference voltage VrefConnected to ground gnd, the second one of its lower lowest bit capacitance C3,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-4)Vref
Case two: if D is6DWIND5D41110, the second last lower capacitor C4,pbThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond, its next lower capacitor C4,naBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-3)Vref
Case three: if D is6DWIND5D41101, the second next highest capacitor C5,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-3)Vref
Case four: if D is6DWIND5D41100, the second last lower capacitor C4,pbThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond, its next lower capacitor C4,naBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-3)Vref
Step B5, outside the window, according to the digital code D3Controlling the connection positions of the bottom plates of the capacitors in the upper capacitor array 2-1 and the lower capacitor array 2-2, and repeating the step B5 until a digital code D is obtained1(ii) a The method comprises the following conditions:
the first condition is as follows: at voltages outside the window, the limit case being D6DWIND5D4=1111,D2When 1, the first 2 lower capacitors C2,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-5)Vref(ii) a Otherwise, D2When equal to 0, the first upper 2-bit capacitance C2,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-5)Vref
Case two: at voltages outside the window, not extreme, DN-Kow2+2When 1, Kow2Second lowest order capacitor C of 53,pbBottom polar plateFrom a reference voltage VrefConnected to ground gnd, the second one of its lower lowest bit capacitance C3,naThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-K+1)Vref;6≤Kow2N +1 or less, first N-Kow2+2 bit capacitance CN-Kow2+2,nThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage reduction 2 on the top plate of capacitor array 2(-K+1)Vref. Otherwise, DN-Kow2+2When equal to 0, Kow2When it is 5, the lowest capacitor C is on the second one3,paThe bottom plate being connected from ground level gnd to a reference voltage VrefSecond lowest two-level capacitor C3,nbBottom plate is driven by reference voltage VrefConnected to ground level gnd, the differential voltage on the top plate of the capacitor array 2 is increased by 2(-Kow2+1)Vref;6≤Kow2Not more than N +1, the first N-Kow2+2 bit CN-Kow2+2,pThe bottom plate being connected from ground level gnd to a reference voltage VrefDifferential voltage on the top plate of capacitor array 2 is increased by 2(-Kow2+1)Vref
Step C, the code spelling device 5 spells the codes of different digital codes, which specifically comprises:
the first condition is as follows: in the range of 0 to 2(-3)VrefWithin the window, order D5=DWIN、D4=DWIN、D3=DWINThe correct output code is output by the splicer 5.
Case two: outside the window, in the limiting case D6DWIND5D41111, let D3=DWINThe code spelling device 5 outputs the correct output code.
Case three: outside the window, if not in the limit, the digital code D3To add DWINAnd with a carry calculation, the splicer 5 outputs the correct digital code.
As shown in fig. 3, which is a diagram of MATLAB simulation results of the power consumption of switching and resetting applied to 10-bit sar ADC varying with ADC input signals, for comparison, V in the diagram is the CDAC reference voltage of most switching algorithms including Vcm-based switching algorithm; according to the invention, the DAC power consumption is averagely reduced by 87.29%, the DAC power consumption of 95.56% of the input voltage in a window can be reduced, the capacitance area is saved by 50%, and the compromise of energy efficiency and area is realized.
In summary, the method of the present invention utilizes + -2 of the first handover-3The voltage change of Vref utilizes DAC electric capacity to produce the bypass window, avoids introducing extra error, and the voltage in the window can skip the electric capacity switching of high two, reduces the conversion cycle, and the voltage outside the window can improve partial nonlinearity, adopts the top plate sampling to save half electric capacity area, has realized the good compromise of energy efficiency and area saving.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (8)

1. A bypass window switching method applied to a successive approximation type analog-to-digital converter is characterized in that the analog-to-digital converter comprises a sampling switch (1), a capacitor array (2), a comparator (3), a digital control logic circuit (4) and a code splicing device (5), wherein the capacitor array (2) comprises an upper capacitor array (2-1) and a lower capacitor array (2-2) which have the same structure; the differential input voltage, namely a positive end input Voltage (VIP) and a negative end input Voltage (VIN), is respectively connected to the top plates of the upper capacitor array (2-1) and the lower capacitor array (2-2) through the sampling switch (1); the top polar plate of the upper capacitor array (2-1) is connected with the non-inverting input end of the comparator (3), and the top polar plate of the lower capacitor array (2-2) is connected with the inverting input end of the comparator (3); the differential output end of the comparator (3) is connected to the digital control logic circuit (4), the digital control logic circuit (4) generates a control signal to control the bottom pole plates of the upper capacitor array (2-1) and the lower capacitor array (2-2) to be connected to corresponding levels, and the code spelling device (5) spells each digital code output by the digital control logic circuit (4) to generate a converted digital code;
the upper capacitor array (2-1) comprises a first upper sub capacitor array(DACP1) A second one of which has a sub-capacitor array (DAC)P2a) And a second upper sub-capacitor array (DAC)P2b) (ii) a The lower capacitor array (2-2) comprises a first lower sub-capacitor array (DAC)N1) A second lower sub-capacitor array (DAC)N2a) And a second lower sub-capacitor array (DAC)N2b);
The bypass window switching method applied to the successive approximation type analog-to-digital converter comprises the following steps:
step A, a sampling stage:
first upper sub-capacitor array (DAC) of upper capacitor array (2-1)P1) And a second sub-capacitor array (DAC) thereonP2a) Is connected to ground (gnd), and a second, upper, sub-capacitor array (DAC)P2b) Is connected to a reference voltage (V)ref) (ii) a A first lower sub-capacitor array (DAC) of the lower capacitor array (2-2)N1) And a second lower sub-capacitor array (DAC)N2a) Is connected to ground level (gnd), and a second, lower sub-capacitor array (DAC)N2b) Is connected to a reference voltage (V)ref);
Step B, a conversion stage:
step B1, the sampling switch (1) is switched off, then the comparator (3) directly carries out the most significant bit comparison on the positive terminal input Voltage (VIP) and the negative terminal input Voltage (VIN) of the top polar plates of the upper capacitor array (2-1) and the lower capacitor array (2-2) to obtain the digital code DNWhere N represents the number of bits of the analog-to-digital converter, the digital control logic (4) being based on the digital code DNControlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2);
step B2, the comparator (3) compares the voltage of the top electrode plate of the upper capacitor array (2-1) and the lower capacitor array (2-2) obtained from the step B1 to obtain a digital code DWINAccording to digital code DNAnd DWINJudging whether the differential input voltage is in a bypass window or not, and controlling the connection position of the bottom plates of the capacitors in the upper capacitor array (2-1) and the lower capacitor array (2-2);
step B3, the comparator (3) compares the slave stepThe voltage of the top electrode plate of the upper capacitor array (2-1) and the lower capacitor array (2-2) obtained in the step B2 obtains a digital code D in a bypass windowN-4Within the bypass window according to the digital code DN、DWINAnd DN-4Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2); obtaining digital codes D outside of bypass windowsN-1Outside the bypass window according to the digital code DN、DWINAnd DN-1Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2);
step B4, the comparator (3) compares the voltage of the top plate of the upper capacitor array (2-1) and the lower capacitor array (2-2) obtained from step B3 to obtain a digital code D within the bypass windowN-5In the bypass window according to the digital code DN、DWIN、DN-4And DN-5Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2); deriving digital codes D outside the bypass windowN-2Outside the bypass window according to the digital code DN、DWIN、DN-1And DN-2Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2);
step B5, the comparator (3) compares the voltage of the top electrode plate of the upper capacitor array (2-1) and the lower capacitor array (2-2) obtained from the step B4 to obtain a digital code D in the bypass windowN-Kiw-1In which K isiwFor the number of switching steps in the window, K is not less than 5iwLess than or equal to N-3 according to the digital code DN-Kiw-1Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2); and repeating the operation in the bypass window in the step B5 until the digital code D is obtained1(ii) a Outside the bypass window, two extreme cases are DNDWINDN-1DN-20000 or 1111, the digital code D is skippedN-Kow1+2To obtain a digital code DN-Kow1+1,Kow1For the number of steps of switching in the extreme case outside the bypass window, K is not less than 5ow1Less than or equal to N-1 according to the digital code DN-Kow1+1Controlling the bottom plates of the capacitors in the upper capacitor array (2-1) and the lower capacitor array (2-2)Connecting the position, and repeating the operation outside the bypass window in the step B5 until the digital code D is obtained1(ii) a Other non-limiting cases, to obtain digital code DN-Kow2+2,Kow2For the number of steps of switching in the non-limiting case outside the bypass window, K is not less than 5ow2Less than or equal to N according to the digital code DN-Kow2+2Controlling the connection position of the bottom plates of the capacitors in the upper capacitor array (2-1) and the lower capacitor array (2-2), and repeating the operation outside the bypass window in the step B5 until a digital code D is obtained1
Step C, code spelling:
the digital control logic circuit (4) outputs the digital codes of the comparator (3) to the code spelling device (5), and the code spelling device (5) spells the digital codes to obtain the converted N-bit digital codes.
2. The method of claim 1, wherein the second sub-capacitor array on the first capacitor (DAC) is a digital-to-analog converter (ADC)P2a) And a second upper sub-capacitor array (DAC)P2b) Split capacitor array being a high four-bit capacitor, the second of which has the highest bit capacitance (C)N,pa) Has a capacitance value of 2N-3C, second one of the last high order capacitor (C)N-1,pa) Has a capacitance value of 2N-4C, second one of last low order capacitance (C)N-2,pa) Has a capacitance value of 2N-5C, the lowest bit capacitance on the second one (C)N-3,pa) Has a capacitance value of 2N-6C, wherein N represents the digit of the analog-to-digital converter, and C is a unit capacitance value; the first upper sub-capacitor array (DAC)P1) Is a low-order capacitor, wherein the first upper N-9-order capacitor (C)N-9,p) Is a dummy capacitor with a capacitance of 1C, a first upper N-4 bit capacitor (C)N-4,p) Has a capacitance value of 2N-6C, first upper N-5 bit capacitance (C)N-5,p) Has a capacitance value of 2N-7C, first upper N-6 bit capacitance (C)N-6,p) Has a capacitance value of 2N-8C, first upper N-7 bit capacitance (C)N-7,p) Has a capacitance value of 2N-9C, first upper N-8 bit capacitance (C)N-8,p) The capacitance value of (1C).
3. The method of claim 1, wherein the digital control logic circuit (4) in step B1 is based on a digital code DNThe method for controlling the connection position of the bottom plates of the capacitors in the upper capacitor array (2-1) and the lower capacitor array (2-2) specifically comprises the following steps:
the first condition is as follows: if D isNSecond two last lower capacitors (C) of 1N-2,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), second of which is the next lower capacitance (C)N-2,na) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-3)VrefForm a 0 to 2(-3)VrefBy-pass window of (2), wherein VrefIs a reference voltage;
case two: if D isN0, the second one of which has the last lower capacitance (C)N-2,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second two next lower capacitors (C)N-2,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-3)VrefForm a value of 0 to-2(-3)VrefThe bypass window of (1).
4. The method of claim 1, wherein the step B2 is performed according to a digital code DNAnd DWINJudging whether the differential input voltage is in a bypass window or not so as to control the connection position of a bottom plate of a capacitor in the upper capacitor array (2-1) and the lower capacitor array (2-2), and the method specifically comprises the following steps:
the first condition is as follows: if D isNDWINThe difference input voltage is explained in the bypass window 0-2 ═ 11(-3)VrefExcept that the second highest capacitance (C)N,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), the second one of its next highest bit capacitance (C)N,na) The bottom polar plate is grounded (gnd)Is connected to a reference voltage (V)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-1)Vref
Case two: if D isNDWIN10, the differential input voltage is explained in the bypass window 0-2(-3)VrefWithin, skip digital code DN-1、DN-2The lowest bit capacitance (C) of the second oneN-3,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second lowest two bit capacitance (C)N-3,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-4)Vref
Case three: if D isNDWIN01, the differential input voltage is explained in the bypass windows 0 to-2(-3)VrefWithin, skip digital code DN-1、DN-2Second lowest two-level capacitor (C)N-3,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), the second one of its lowest bit capacitance (C)N-3,na) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-4)Vref
Case four: if D isNDWIN00, the differential input voltage is illustrated in the bypass windows 0 to-2(-3)VrefBesides, the second one has the highest bit capacitance (C)N,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second highest capacitance (C) of two lower most significant bitsN,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-1)Vref
5. The method of claim 1, wherein the step B3 is performed within the bypass window according to a digital code DN、DWINAnd DN-4Controlling the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2)The connecting position of (a) is specifically:
the first condition is as follows: if D isNDWINDN-4First N-4 bit capacitance (C) of 101N-4,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-5)Vref
Case two: if D isNDWINDN-4First N-4 bit capacitance (C) of 100N-4,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-5)Vref
Case three: if D isNDWINDN-4011, first N-4 bit capacitance (C)N-4,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-5)Vref
Case four: if D isNDWINDN-4010, first upper N-4 bit capacitance (C)N-4,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-5)Vref
Step B3, according to the digital code D, outside the bypass windowN、DWINAnd DN-1Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2) specifically as follows:
case five: if D isNDWINDN-1111, the second two last higher order capacitors (C)N-1,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), second its next higher capacitance (C)N-1,na) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-2)Vref
Case six: if D isNDWINDN-1110, the second one of which has the last higher capacitance (C)N-1,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second two next higher capacitors (C)N-1,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-2)Vref
Case seven: if D isNDWINDN-1Second two last high order capacitors (C) 001N-1,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), second its next higher capacitance (C)N-1,na) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-2)Vref
Case eight: if D isNDWINDN-1000, the second one of which has the last higher capacitance (C)N-1,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second two next higher capacitors (C)N-1,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-2)Vref
6. The method of claim 1, wherein the step B4 is based on digital code D in the bypass windowN、DWIN、DN-4And DN-5The method for controlling the connection position of the bottom plates of the capacitors in the upper capacitor array (2-1) and the lower capacitor array (2-2) specifically comprises the following steps:
the first condition is as follows: if D isNDWINDN-4DN-51011, the first N-5 bit capacitance (C)N-5,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-6)Vref
Case two: if D isNDWINDN-4DN-51010, first upper N-5 bit capacitance (C)N-5,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-6)Vref
Case three: if D isNDWINDN-4DN-51001, first N-5 bit capacitance (C)N-5,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-6)Vref
Case four: if D isNDWINDN-4DN-51000, first N-5 bit capacitance (C)N-5,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-6)Vref
Case five: if D isNDWINDN-4DN-50111, first N-5 bit capacitance (C)N-5,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-6)Vref
Case six: if D isNDWINDN-4DN-50110, first N-5 bit capacitance (C)N-5,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-6)Vref
Case seven: if D isNDWINDN-4DN-50101, first N-5 bit capacitance (C)N-5,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-6)Vref
Case eight: if D isNDWINDN-4DN-50100, first upper N-5 bit capacitance (C)N-5,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-6)Vref
Step B4 said outside the bypass window according to the digital code DN、DWIN、DN-1And DN-2Controlling the upper capacitor array (2-1) and the lower capacitorThe connecting position of the capacitor bottom plate in the array (2-2) specifically comprises the following steps:
case nine: if D isNDWINDN-1DN-21111, skip DN-3Second lowest two-level capacitor (C)N-3,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), the second one of its lowest bit capacitance (C)N-3,na) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-4)Vref
Case ten: if D isNDWINDN-1DN-21110, the second two last lower capacitors (C)N-2,pb) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second one of its next lower capacitance (C)N-2,na) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-3)Vref
Case eleven: if D isNDWINDN-1DN-21101, the second next highest capacitance (C)N-1,nb) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-3)Vref
Case twelve: if D isNDWINDN-1DN-21100, the second two last lower capacitors (C)N-2,pb) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second one of its next lower capacitance (C)N-2,na) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-3)Vref
Case thirteen: if D isNDWINDN-1DN-20011, the second one of which has the last lower capacitance (C)N-2,pa) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), second its two next higher capacitors (C)N-2,nb) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-3)Vref
A fourteenth situation: if D isNDWINDN-1DN-20010, the second two last higher order capacitor (C)N-1,pb) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-3)Vref
Case fifteen: if D isNDWINDN-1DN-20001, the second one of which has the last lower capacitance (C)N-2,pa) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), second its two next lower capacitors (C)N-2,nb) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-3)Vref
Case sixteen: if D isNDWINDN-1DN-20000, skip DN-3The lowest bit capacitance (C) of the second oneN-3,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second lowest two bit capacitance (C)N-3,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-4)Vref
7. The method of claim 1, wherein the step B5 is performed according to a digital code DN-Kiw-1Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2) specifically as follows:
the first condition is as follows: voltage within the bypass window, DN-Kiw-1When 1, the first is N-Kiw-1 bit capacitance (C)N-Kiw-1,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref),5≤KiwLess than or equal to N-3, the differential voltage on the top plate of the capacitor array (2) is reduced by 2(-Kiw-2)Vref(ii) a Otherwise, DN-Kiw-1When the content is equal to 0, the content,first upper N-Kiw-1 bit capacitance (C)N-Kiw-1,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-Kiw-2)Vref
According to the digital code D in the step B5N-Kow1+1Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2) specifically as follows:
case two: voltages outside the bypass window, the limiting case including DNDWINDN-1DN-20000 or 1111, DN-Kow1+1When 1, the first is N-Kow1+1 bit capacitance (C)N-Kow1+1,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref),5≤Kow1Less than or equal to N-1, the differential voltage on the top plate of the capacitor array (2) is reduced by 2(-Kow1)Vref(ii) a Otherwise, DN-Kow1+1When equal to 0, first go up N-Kow1+1 bit capacitance (C)N-Kow1+1,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-Kow1)Vref
According to the digital code D in the step B5N-Kow2+2Controlling the connection position of the capacitor bottom plates in the upper capacitor array (2-1) and the lower capacitor array (2-2) specifically as follows:
case three: voltages outside the bypass window, not limiting, DN-Kow2+2When 1, Kow2Second, lowest order capacitor (C) of 5N-3,pb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground (gnd), the second one of its lowest bit capacitance (C)N-3,na) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-Kow2+1)Vref(ii) a When K is more than or equal to 6ow2Less than or equal to N, the first N-Kow2+2 bit capacitance (C)N-Kow2+2,n) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage reduction 2 on the top plate of the capacitor array 2(-Kow2+1)Vref(ii) a Otherwise, DN-Kow2+2When equal to 0, Kow2When equal to 5, the firstTwo of them has lowest bit capacitance (C)N-3,pa) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Second lowest two bit capacitance (C)N-3,nb) The bottom plate is driven by a reference voltage (V)ref) Connected to ground level (gnd), the differential voltage on the top plate of the capacitor array (2) is increased by 2(-Kow2+1)Vref(ii) a When K is more than or equal to 6ow2Less than or equal to N, first N-Kow2+2 bit capacitance (C)N-Kow2+2,p) The bottom plate is connected to a reference voltage (V) by a ground level (gnd)ref) Differential voltage on the top plate of the capacitor array (2) is increased by 2(-Kow2+1)Vref
8. The method of claim 1, wherein the code spelling device (5) performs code spelling on each digital code in step C to obtain a converted N-bit digital code, and specifically comprises:
the first condition is as follows: in-2(-3)Vref2~2(-3)VrefBypassing the window, instruction DN-1=DWIN、DN-2=DWINAnd DN-3=DWINThe code spelling device (5) outputs the converted N-bit digital code;
case two: outside the bypass window, in the limiting case DNDWINDN-1DN-21111 or 0000, order DN-3=DWINThe code spelling device (5) outputs the converted N-bit digital code;
case three: outside the bypass window, if not at all, DNWhen 1, corresponding digital code DN-3Where is required to add DWINAnd carry calculation, the code spelling device (5) outputs the converted N-bit digital code; dNWhen equal to 0, corresponding digital code DN-3To subtract DWINAnd with a borrow calculation, the transcoder (5) outputs the converted N-bit digital code.
CN202111072372.1A 2021-09-14 2021-09-14 Bypass window switching method applied to successive approximation type analog-to-digital converter Active CN113810053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111072372.1A CN113810053B (en) 2021-09-14 2021-09-14 Bypass window switching method applied to successive approximation type analog-to-digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111072372.1A CN113810053B (en) 2021-09-14 2021-09-14 Bypass window switching method applied to successive approximation type analog-to-digital converter

Publications (2)

Publication Number Publication Date
CN113810053A true CN113810053A (en) 2021-12-17
CN113810053B CN113810053B (en) 2023-08-11

Family

ID=78941209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111072372.1A Active CN113810053B (en) 2021-09-14 2021-09-14 Bypass window switching method applied to successive approximation type analog-to-digital converter

Country Status (1)

Country Link
CN (1) CN113810053B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006075A (en) * 2010-12-23 2011-04-06 复旦大学 Successive approximation type analog-to-digital converter of energy-saving capacitor array
CN107306135A (en) * 2016-04-22 2017-10-31 瑞昱半导体股份有限公司 The correcting circuit of digital analog converter and bearing calibration
CN108233925A (en) * 2016-12-21 2018-06-29 电子科技大学 It is segmented pre-quantization bypass gradually-appoximant analog-digital converter
CN112583409A (en) * 2020-12-28 2021-03-30 东南大学 Successive approximation type analog-to-digital converter and three-level switching method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006075A (en) * 2010-12-23 2011-04-06 复旦大学 Successive approximation type analog-to-digital converter of energy-saving capacitor array
CN107306135A (en) * 2016-04-22 2017-10-31 瑞昱半导体股份有限公司 The correcting circuit of digital analog converter and bearing calibration
CN108233925A (en) * 2016-12-21 2018-06-29 电子科技大学 It is segmented pre-quantization bypass gradually-appoximant analog-digital converter
CN112583409A (en) * 2020-12-28 2021-03-30 东南大学 Successive approximation type analog-to-digital converter and three-level switching method thereof

Also Published As

Publication number Publication date
CN113810053B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN109039332B (en) Successive approximation type analog-to-digital converter and low-power-consumption switching algorithm thereof
CN105391451B (en) Switching method when a kind of gradual approaching A/D converter and its analog-to-digital conversion
CN111371457B (en) Analog-to-digital converter and three-level switching method applied to SAR ADC
CN112583409B (en) Successive approximation type analog-to-digital converter and three-level switching method thereof
CN111641413B (en) Capacitor array switching method of high-energy-efficiency SAR ADC
CN110198169B (en) Self-adaptive predictive low-power-consumption switching method suitable for SAR ADC
CN110380730B (en) Capacitor array switching method applied to low-voltage SAR ADC
CN111130550B (en) Successive approximation register type analog-to-digital converter and signal conversion method thereof
CN108631778B (en) Successive approximation analog-to-digital converter and conversion method
CN111585577A (en) Capacitor array switching method for successive approximation type analog-to-digital converter
CN112272027A (en) Successive approximation analog-digital converter and capacitance switch switching method
CN108880553B (en) Low-power-consumption self-adaptive alternative successive approximation type analog-to-digital converter and control method
KR20190071536A (en) Successive approximation register analog digital converter and operating method thereof
CN111786675B (en) Charge sharing type analog-to-digital converter quantization method based on dynamic tracking
CN110971236B (en) Successive approximation type analog-to-digital converter and analog-to-digital conversion method
CN110912558B (en) Two-step asymmetric alternating monotonic switching successive approximation type analog-to-digital converter
CN112332847B (en) Two-level switching method applied to successive approximation type analog-to-digital converter
WO2020228467A1 (en) Error shaping circuit of analog-to-digital converter, and successive-approximation analog-to-digital converter
CN113810053B (en) Bypass window switching method applied to successive approximation type analog-to-digital converter
CN109936370B (en) Low-power-consumption switching algorithm applied to SAR ADC
CN109039338B (en) Differential capacitor array and switch switching method thereof
CN112968704B (en) Successive approximation type analog-to-digital converter quantization method based on transient capacitance switching mode
CN101800549B (en) Analog-to-digital converter capable of switching bit resolution and control method thereof
CN109245771B (en) Successive approximation type digital-to-analog converter
CN113676184B (en) Successive approximation analog-digital converter switching method based on semi-dormant structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant