Offset Calibration Control Method for Successive Approximation Analog-to-Digital Converters
By adding an offset correction phase after sampling phase in successive approximation analog-to-digital converter, the capacitance switch of the capacitor array is controlled, and the calibration of the offset voltage is solved, which solves the increase in area and power consumption caused by additional calibration of the capacitor array in the prior art. Problem, efficient offset calibration is achieved.
Patent Information
- Application Number
- CN202210752181.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-06-29
Smart Images

Figure CN115118281B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of semiconductor technology, and in particular to an offset calibration control method for a successive approximation analog-to-digital converter. Background Art
[0002] The successive approximation analog-to-digital converter (SAR ADC) is a commonly used circuit in chips. Due to process deviations in the circuit production process, the device mismatch in the SAR ADC occurs, generating an offset voltage that affects the dynamic range of the ADC. Therefore, the offset voltage needs to be calibrated during the use of the circuit to reduce the impact of the offset voltage on the circuit.
[0003] In the prior art, when SAR ADC is offset calibrated, an additional calibration capacitor array can be added to the main capacitor array to perform the offset calibration. However, this structure increases the layout area and the power consumption of the pre-stage driving circuit due to the addition of the additional calibration capacitor array. Summary of the invention
[0004] In view of the problems in the prior art, the present invention provides an offset calibration control method for a successive approximation analog-to-digital converter, which can at least partially solve the problems in the prior art.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] In a first aspect, a method for offset calibration control of a successive approximation analog-to-digital converter is provided, wherein an offset correction phase is added after a sampling phase, and a capacitor control switch of a capacitor array of the successive approximation analog-to-digital converter is controlled in the sampling phase and the offset correction phase, so that the upper plate voltage of the capacitor array changes to offset the offset voltage.
[0007] Further, the offset calibration control method for the successive approximation analog-to-digital converter includes:
[0008] In the sampling phase, the sampling switch of the successive approximation analog-to-digital converter is controlled to be closed, and the control switches of some or all of the capacitors on the capacitor array are controlled to be connected to the ground voltage according to the offset calibration capacitor control strategy, and the control switches of the remaining capacitors on the capacitor array are controlled to be connected to the reference voltage;
[0009] In the offset correction phase, the sampling switch is controlled to be disconnected, and the control switch connected to the ground voltage is connected to the reference voltage, so that the upper plate voltage of the capacitor array changes to offset the offset voltage.
[0010] Furthermore, the offset calibration capacitor control strategy includes:
[0011] The control switches of the capacitor array are controlled according to the pre-acquired offset correction code and the calibration mode offset quantization value.
[0012] Furthermore, the offset calibration control method for the successive approximation analog-to-digital converter also includes:
[0013] An offset correction code is obtained according to the non-offset quantization value and the pre-acquired calibration mode offset quantization value.
[0014] Furthermore, the offset calibration control method for the successive approximation analog-to-digital converter also includes:
[0015] After shorting both ends of the differential input of the ADC to the common mode voltage, the code value quantized by the successive approximation analog-to-digital converter is obtained as the calibration mode offset quantization value.
[0016] Furthermore, the process of obtaining the calibration mode offset quantization value is repeated multiple times and the final calibration mode offset quantization value is obtained by averaging.
[0017] Further, obtaining the offset correction code according to the non-offset quantization value and the calibration mode offset quantization value includes:
[0018] If the highest bit of the calibration mode offset quantization value is 0, subtracting the calibration mode offset quantization value from the non-offset quantization value to obtain the offset correction code;
[0019] If the highest bit of the calibration mode offset quantization value is 1, the offset correction code is obtained by subtracting the non-offset quantization value from the calibration mode offset quantization value.
[0020] Further, the control switch of the capacitor array is controlled according to the pre-acquired offset correction code and the calibration mode offset quantization value, including:
[0021] For an x-bit successive approximation analog-to-digital converter, assuming the offset correction code is: D cal =D c0 D c1 D c2 …D c(x-1) , calibration mode offset quantization value B out-off It is B o1 B o2 B o3 …B ox ;
[0022] B o1 = 0, D cy (y=1~(x-1)) one-to-one correspondence control switch S yp (y=1~(x-1)); if D cy =0, switch S yp Connected to the reference voltage; if D cy=1, switch S yp Connected to ground voltage;
[0023] B o1 =1, D cy (y=1~(x-1)) one-to-one correspondence control switch S yn (y=1~(x-1)); if D cy =0, switch S yn Connected to the reference voltage; if D cy =1, switch S yn Connect to ground voltage.
[0024] The offset calibration control method for a successive approximation analog-to-digital converter provided in an embodiment of the present invention adds an offset correction phase after a sampling phase, and controls a capacitor control switch of a capacitor array of a successive approximation analog-to-digital converter in the sampling phase and the offset correction phase, so that the upper plate voltage of the capacitor array changes to offset the offset voltage. Therefore, on the basis of realizing the offset voltage calibration, it is not necessary to add an additional calibration capacitor array to perform the offset calibration, thereby avoiding an increase in the layout area and an increase in the power consumption of the front-stage driving circuit.
[0025] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0027] Figure 1 A SARADC circuit with a monotonic switching strategy for upper plate sampling in the prior art is shown;
[0028] Figure 2 Shows Figure 1 Middle capacitor upper plate V dacp and V dacn The voltage waveform;
[0029] Figure 3 Shows Figure 1 The switching strategy of SARADC in the
[0030] Figure 4 An existing calibration scheme for a successive approximation analog-to-digital converter is shown;
[0031] Figure 5Another existing calibration scheme for a successive approximation analog-to-digital converter is shown;
[0032] Figure 6 The upper plate V of the capacitor in the embodiment of the present invention is shown. dacp and V dacn The voltage waveform;
[0033] Figure 7 The flow chart of the offset calibration control method for a successive approximation analog-to-digital converter in an embodiment of the present invention is shown. Figure 1 ;
[0034] Figure 8 A circuit diagram for a successive approximation analog-to-digital converter in an embodiment of the present invention is shown;
[0035] Fig. 9 The flow chart of the offset calibration control method for a successive approximation analog-to-digital converter in an embodiment of the present invention is shown. Figure 2 ;
[0036] Fig.10 The specific steps of step S300 in the embodiment of the present invention are shown;
[0037] Fig.11 The upper plate V of the capacitor in the calibration mode in the embodiment of the present invention is shown. dacp and V dacn The voltage waveform;
[0038] Fig.12 The upper plate V of the capacitor when the SARADC in the embodiment of the present invention is working normally is shown. dacp and V dacn The voltage waveform;
[0039] Fig.13 The upper plate V of the capacitor of the SAR ADC with the upper plate sampling of the 5-bit monotonic switching strategy exemplified in the embodiment of the present invention is shown. dacp and V dacn The voltage waveform;
[0040] Fig.14 The switching strategy of the SAR ADC with upper plate sampling using a 5-bit monotonic switching strategy exemplified in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0042] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0043] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatuses.
[0044] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0045] Figure 1 FIG. 4 shows a SARADC circuit of a 5-bit monotonic switching strategy for upper plate sampling in the prior art; Figure 1 As shown, the SARADC circuit includes: a sampling switch S S , main capacitor array (including capacitor C 1p ~C 5p , C 1n ~C 5n ) and the matching control switch (S 1p ~S 4p , S 1n ~S 4n ), comparator and logic control circuit (SARLogic); capacitor upper plate V dacp and V dacn The voltage waveform is as follows Figure 2 As shown, assuming that V ip -V in =ΔV1=0.68Vref , the first phase, sampling switch S S Close, other switches S 1p ~S 4p and S 1n ~S 4n Connected to the reference voltage V ref On, the ADC is sampling, V dacp-phase1 =V ip ,V dacn-phase1 =V in ; Next phase phase1, sampling switch S S disconnected, the comparator starts to work because V dacp -V dacn =V ip -V in =0.68V ref >0, comparator output B1 is 1; in phase2, according to the result of phase1 comparator, SARlogical circuit controls switch S 1p Switch to the ground voltage gnd. According to the law of charge conservation, the total charge before and after the switch remains unchanged. phase1 =Q phase2 , then (V dacp-phase1 -V ref )*(C 1p +C 2p +C 3p +C 4p +C 5p )=(V dacp-phase2 -V ref )*(C 2p +C 3p +C 4p +C 5p )+(V dacp-phase2 -0)*C 1p , by C ip =2C (i+1)p ,i=1~4,C 4p =C 5p Solving, V dacp-phase2 =V ip -V ref / 2, so V dacp-phase2 -V dacn-phase2 =V ip -V ref / 2-V in =0.18V ref >0, comparator output B2 is 1; in phase3, according to the result of phase2 comparator, SARlogical circuit controls switch S 2p Switch to gnd, according to the charge conservation law, V dacp-phase3 -V dacn-phase3=V ip -V in -V ref / 2-V ref / 4=-0.07V ref <0, comparator output B3 is 0; in phase 4, according to the result of phase 3 comparator, SAR logic circuit controls switch S 3n Switch to gnd, according to the charge conservation law, V dacp-phase4 -V dacn-phase4 =V ip -V in -V ref / 2-V ref / 4+V ref / 8 = 0.055 V ref >0, comparator output B4 is 1; in phase5, according to the result of phase4 comparator, SAR logic circuit controls switch S 4p Switch to gnd, according to the charge conservation law, V dacp-phase5 -V dacn-phase5 =V ip -V in -V ref / 2-V ref / 4+V ref / 8-V ref / 16 = -0.0075 V ref <0, comparator output B5 is 0; ADC quantization is completed, ADC quantization result B out =B1B2B3B4B5=11010. The above switch switching strategy is simplified as follows Figure 3 shown.
[0046] Figure 4 An existing calibration scheme for a successive approximation analog-to-digital converter is shown; the successive approximation analog-to-digital converter is a 5-bit monotonic switching strategy SARADC with upper plate sampling, and the SARADC has a matching calibration circuit, which includes: a calibration capacitor array (including capacitors: C cp , C cn , C cp1 , C cp2 , C cp3 , C cn1 , C cn2 , C cn3 ) and the matching control switch (including S cp1 ~S cp3 , S cn1 ~S cn3 ), the SARADC is calibrated by the calibration circuit; in the sampling phase, S sClose, and other switches are connected to Vref as shown in the figure; after sampling is completed, S s Disconnect, by controlling the switch S cp1 ~S cp3 and switch S cn1 ~S cn3 Connect to gnd to compensate the offset. The offset compensation range can be changed by changing the calibration bridge capacitor C c The size of the capacitor array can be adjusted by calibrating the number of capacitors in the design stage. This structure increases the layout area due to the addition of an additional calibration circuit, and also increases the power consumption of the pre-stage driver circuit.
[0047] Figure 5 Another existing calibration scheme for a successive approximation analog-to-digital converter is shown; the calibration process and Figure 4 The calibration process is similar to that shown in the figure, except that the offset is compensated by adjusting the calibration reference voltage V cal The size of V cal generated by additional analog circuitry, and V ref Same V cal The setup time needs to be less than the quantization time of the ADC, so in high-speed SAR ADC, V cal The circuit will consume greater power.
[0048] The offset calibration control method for a successive approximation analog-to-digital converter provided by an embodiment of the present invention adds an offset correction phase after a sampling phase, controls a capacitor control switch of a capacitor array of a successive approximation analog-to-digital converter in the sampling phase and the offset correction phase, so that the upper plate voltage of the capacitor array changes to offset the offset voltage, and performs offset calibration on a SARADC with lower power consumption and smaller area cost.
[0049] Due to the process deviation of the chip production process, the chip has an offset voltage ΔV off , assuming V ip -V in =ΔV1, then the ADC sampling voltage V dacp-phase1 -V dacn-phase1 =V ip -V in +ΔV off , an offset voltage is added. If an offset calibration phase is inserted before phase 1, such as Figure 6 In this phase, V dacp or V dacn The voltage produces a ΔV cal changes, and makes ΔV cal The value is equal to -ΔVoff value, so that the offset of SARADC will be completely offset.
[0050] Specifically, see Figure 7 , the offset calibration control method for a successive approximation analog-to-digital converter may include the following contents:
[0051] Step S100: in a sampling phase, controlling the sampling switch of the successive approximation analog-to-digital converter to be closed, controlling the control switches of some or all of the capacitors on the capacitor array to be connected to a ground voltage according to an offset calibration capacitor control strategy, and controlling the control switches of the remaining capacitors on the capacitor array to be connected to a reference voltage;
[0052] Specifically, combined Figure 6 and Figure 8 In the sampling phase, the sampling switch S S Closed, according to the offset calibration capacitor control strategy, the control switches of some or all capacitors are controlled to be connected to the ground voltage. If the control switches of some capacitors are connected to the ground voltage, the control switches of the remaining capacitors in the capacitor array are connected to the reference voltage. It is worth noting that in the prior art, in the Sample stage, the control switches of all capacitors in the main capacitor array are connected to the reference voltage.
[0053] Step S200: In the offset correction phase, the sampling switch is controlled to be disconnected, and the control switch connected to the ground voltage is connected to the reference voltage, so that the upper plate voltage of the capacitor array changes to offset the offset voltage.
[0054] Specifically, in the offset calibration phase, the sampling switch S S Disconnect, connect the control switch connected to the ground voltage to the reference voltage, and keep the control switch connected to the reference voltage in the Sample phase, so that V dacp or V dacn The pressure produces a -ΔV off The change in , offsets the offset voltage of SARADC.
[0055] In addition, it is worth pointing out that Figure 8 The Offset calibration control logic in is used to implement the offset calibration control process provided by the embodiment of the present invention.
[0056] By adopting the above technical solution, it is only necessary to insert an offset calibration phase after the SARADC sampling phase ends, and then use the original capacitor array control to complete the offset calibration function, and the calibration accuracy can reach 1LSB. Since there is no additional capacitor array and analog circuit, the power consumption and area of the circuit can be greatly saved, and the calibration logic is simple, and the digital logic circuit is also easy to design accordingly, which can achieve a calibration accuracy of 1LSB.
[0057] In an optional embodiment, the offset calibration capacitor control strategy includes: controlling a control switch of the capacitor array according to a pre-acquired offset correction code and a calibration mode offset quantization value.
[0058] In an alternative embodiment, see Fig. 9 , the offset calibration control method for a successive approximation analog-to-digital converter provided by the present invention further includes:
[0059] Step S300: Obtaining an offset correction code according to the non-offset quantization value and the pre-acquired calibration mode offset quantization value;
[0060] Specifically, the non-detuned quantization value is an ideal quantization state of the involved stage, and the non-detuned quantization value can be acquired in advance.
[0061] In a further embodiment, see Fig.10 , the offset calibration control method for a successive approximation analog-to-digital converter may also include:
[0062] Step S400: Short-circuiting the two ends of the differential input of the ADC to a common mode voltage to obtain a code value quantized by the successive approximation analog-to-digital converter as the calibration mode offset quantization value.
[0063] Specifically, see Fig.11 , configure the ADC to enter offset correction mode. In this mode, V ip and V in Shorted to the common mode voltage V cm Due to the process deviation in the chip production process, the ADC has an offset voltage, V dacp and V dacn The difference is not 0, but ΔV off , this ΔV off This is the offset voltage of the ADC, and then V ip -V in Perform normal ADC quantization, and the quantized code value B out-off This is the calibration mode offset quantification value.
[0064] It is worth noting that the process of obtaining the calibration mode offset quantization value is repeated multiple times and the final calibration mode offset quantization value is obtained by averaging.
[0065] In addition, the calibration mode offset quantization value is sent to the digital logic circuit to provide a basis for the subsequent calculation of the offset correction code. The calculated offset correction code is stored in the digital correction register, and the calibration mode ends. Fig.12 As shown, when the ADC is working normally, the offset correction code is directly read from the digital correction register in the offset calibration phase, and the control switch of the capacitor array is controlled according to the offset correction code and the calibration mode offset quantization value, so that V dacp or V dacn The pressure produces a -ΔV off The change in , offsets the offset voltage of SARADC.
[0066] It is worth noting that the calibration mode offset quantization value or the highest bit (also called flag bit) of the calibration mode offset quantization value is also stored in the digital correction register, which is used to subsequently determine the control switch (i.e., S) corresponding to the capacitor at the non-inverting input terminal of the control comparator based on the highest bit of the calibration mode offset quantization value. yp ) or the control switch corresponding to the capacitor at the inverting input of the comparator (i.e. S yn ).
[0067] In an optional embodiment, obtaining the offset correction code according to the non-offset quantization value and the pre-acquired calibration mode offset quantization value includes:
[0068] If the highest bit of the calibration mode offset quantization value is 0, subtracting the calibration mode offset quantization value from the non-offset quantization value to obtain the offset correction code;
[0069] If the highest bit of the calibration mode offset quantization value is 1, the offset correction code is obtained by subtracting the non-offset quantization value from the calibration mode offset quantization value.
[0070] In an optional embodiment, controlling the control switch of the capacitor array according to the pre-acquired offset correction code and the calibration mode offset quantization value includes:
[0071] For the SARADC with x bit monotonic switching strategy and upper plate sampling, assuming no offset quantization value B out-ideal The value is 100...0 (x bit binary), and the calibration mode gets the quantized value B out-off It is B o1 B o2 B o3 …B ox .
[0072] B o1 = 0, calibration code D cal =D c0 D c1 Dc2 …D c(x-1) =B out-ideal -B out-off =100…0-B o1 B o2 B o3 …B ox , in the sample phase, D cy (y=1~(x-1)) one-to-one correspondence control switch S yp (y=1~(x-1)), D cy =0, switch S yp Connect to vref; D cy =1, switch S yp Received from gnd.
[0073] B o1 =1, calibration code D cal =D c0 D c1 D c2 …D c(x-1) =B out-off -B out-ideal =B o1 B o2 B o3 …B ox -100…0, in sample phase, D cy (y=1~(x-1)) one-to-one correspondence control switch S yn (y=1~(x-1)), D cy =0, switch S yn Connect to vref; D cy =1, switch S yn Received from gnd.
[0074] It is worth noting that among the capacitors connected to the non-inverting input of the comparator in the SARADC, the capacitors are sorted in order from the highest bit to the lowest bit, and the control switch corresponding to the highest bit capacitor is S 1p The control switch corresponding to the second highest capacitor is S 2p , and so on, the control switch corresponding to the lowest capacitor is S (x-1)p ; Among the capacitors connected to the inverting input of the comparator in SARADC, the capacitors are sorted in order from the highest bit to the lowest bit, and the control switch corresponding to the highest bit capacitor is S 1n The control switch corresponding to the second highest capacitor is S 2n , and so on, the control switch corresponding to the lowest capacitor is S (x-1)n .
[0075] In order to enable those skilled in the art to better understand this application, see Figure 8, assuming there is a 5-bit monotonic switching strategy upper plate sampling SARADC, after the SARADC is packaged, first configure the SARADC to enter the offset correction mode, in this mode, V ip and V in Short to V cm , due to system imbalance, V ip and V in The difference is not 0, but ΔV off , this ΔV off It is the offset voltage value of the ADC, and then the ADC is quantized normally, and the quantized code value B out-off The offset calibration control logic circuit is sent to calculate and store the offset calibration control logic circuit, and the calibration mode ends. out-off The value is 10101, the ideal quantization value B without offset out-ideal The value is 10000, then the calculated offset correction code D cal =B out-off -B out-ideal =101, the process of offset calibration can be repeated multiple times to obtain the average value, thereby increasing the accuracy of calibration.
[0076] It is worth noting that the non-offset quantization value is a fixed value, and the non-offset quantization value is pre-stored in the chip, or the non-offset quantization value is directly designed in the logic circuit.
[0077] like Fig.13 As shown, when the ADC is working normally, in the sample phase, according to the offset correction code 101 read, the switch S is controlled. 2n and S 4n Connect to gnd, other switches to V ref , assuming that V ip -V in =ΔV x , then V dacp and V dacn The difference between V dacp -V dacn =V ip -V in +ΔV off =ΔV x +ΔV off ; Then in the offset calibration phase, the sampling switch is disconnected, and the control switch S 2n and S 4n Connect to V ref On, at this time V dacp and V dacn The difference between V dacp -Vdacn =ΔV x +ΔV off +ΔV cal , due to ΔV off =-ΔV cal , then V dacp and V dacn The difference between V dacp -V dacn =ΔV x , which offsets the effect of the offset voltage. The simplified diagram of the above switching strategy is shown in Fig.14 shown.
[0078] Those skilled in the art can understand that the above embodiment takes the SAR ADC with the top plate sampling structure as an example, and the SAR ADC with the bottom plate sampling structure can also be applied to the offset calibration method provided in the embodiment of the present invention. In addition, in addition to the 5-bit SAR ADC, the offset calibration method provided in the embodiment of the present invention can be extended to any bit SAR ADC.
[0079] The offset calibration method provided in the embodiment of the present invention can be used in a SAR ADC circuit in an electronic device. Specifically, the electronic device can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0080] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0081] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0082] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0084] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0085] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0086] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0087] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0088] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. An offset calibration control method for a successive approximation analog-to-digital converter, It is characterized in that An offset correction phase is added after the sampling phase, and a capacitor control switch of a capacitor array of a successive approximation analog-to-digital converter is controlled in the sampling phase and the offset correction phase, so that in the offset correction phase, the upper plate voltage of the capacitor array changes to offset the offset voltage; The method comprises: In the sampling phase, the sampling switch of the successive approximation analog-to-digital converter is controlled to be closed, and the control switches of some or all of the capacitors on the capacitor array are controlled to be connected to the ground voltage according to the offset calibration capacitor control strategy, and the control switches of the remaining capacitors on the capacitor array are controlled to be connected to the reference voltage; In the offset correction phase, the sampling switch is controlled to be disconnected, and the control switch connected to the ground voltage is connected to the reference voltage, so that the upper plate voltage of the capacitor array changes to offset the offset voltage; Wherein, the offset calibration capacitor control strategy includes: Control switches of the capacitor array according to the offset correction code and the calibration mode offset quantization value; The method further comprises: Obtain an offset correction code according to a non-offset quantization value and a calibration mode offset quantization value; Short-circuiting the two ends of the differential input of the ADC to the common mode voltage obtains the code value quantized by the successive approximation analog-to-digital converter as the calibration mode offset quantization value; The step of obtaining the offset correction code according to the non-offset quantization value and the calibration mode offset quantization value comprises: If the highest bit of the calibration mode offset quantization value is 0, subtracting the calibration mode offset quantization value from the non-offset quantization value to obtain the offset correction code; If the highest bit of the calibration mode offset quantization value is 1, the offset correction code is obtained by subtracting the non-offset quantization value from the calibration mode offset quantization value.
2. The offset calibration control method for a successive approximation analog-to-digital converter according to claim 1, It is characterized in that The process of obtaining the calibration mode offset quantization value is repeated multiple times and the final calibration mode offset quantization value is obtained by averaging.
Citation Information
Patent Citations
Dynamic comparator offset voltage calibration method
CN109120268A
Successive approximation type analog-to-digital converter and offset compensation method thereof
CN112636757A
