Display device, chip, analog-to-digital converter and control method thereof
By adopting a four-input structure comparison circuit and parallel operation amplifier in the analog-to-digital converter, the nonlinear offset problem of serial DAC is solved, the conversion accuracy and speed are improved, and it is suitable for rail-to-rail input occasions, achieving more efficient Digital signal processing.
Patent Information
- Application Number
- CN202411345786.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-11-12
AI Technical Summary
In existing analog-to-digital converters, the nonlinear offset error of serial DAC is relatively large, especially in the case of single-ended rail-to-rail input, the offset of the comparator has nonlinear offset, affecting the conversion accuracy and speed.
The comparison circuit with a four-input structure is adopted. The operational amplifier connected in parallel is used as the first-stage amplifier circuit of the comparison circuit, which reduces the capacitance mismatch in the digital-to-analog converter, and the voltages of the four input terminals of the comparison circuit are made in the sampling stage. Equal, the offset voltage is successively approximate and calibrate the offset voltage through the logic control circuit to generate the corresponding digital signal.
It effectively improves the error of serial DAC, improves the conversion accuracy and speed of analog-to-digital converters, is suitable for rail-to-rail input occasions, reduces nonlinear offsets, and improves overall performance.
Smart Images

Figure CN118944670A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to a display device, a chip, an analog-to-digital converter and a control method thereof. Background Art
[0002] Analog to Digital Converter (ADC) is a device that can convert continuous analog signals into discrete digital signals that can be processed by computers. It is a key component of the interface between analog and digital systems and has long been widely used in radar, communications, measurement and control, medical treatment, instrumentation, imaging and audio. The rapid development of digital signal processing technology and the communications industry has driven ADC to develop towards high speed, high precision and low power consumption.
[0003] Successive Approximation Register Analog to Digital Converter
[0004] SAR ADC) uses a binary search method to continuously generate new analog voltages to approximate the original input analog signal through the internal integrated digital to analog converter (DAC), and finally uses the digital input corresponding to the DAC as the output of the ADC. Compared with other types of ADCs, SAR ADC has the advantages of medium speed, medium accuracy, low power consumption and low cost, so it has a wide range of applications.
[0005] SAR ADC is mainly composed of DAC, comparator, and SAR logic control circuit. SAR ADC is divided into single-ended input and differential input according to the type of its input signal. According to the structure of the DAC inside the SAR ADC, it can be divided into resistor voltage divider type, current superposition type, charge redistribution type, etc. Among them, the most commonly used structure is the charge redistribution type, which can be divided into serial DAC and parallel DAC according to the conversion process. Parallel DAC is usually constructed by capacitors, resistors or MOS current sources with binary weight distribution, and can convert all bits at the same time. Serial DAC can only convert 1 bit of analog output at a time, so the required conversion time is NT, where N is the number of bits and T is the time it takes to convert 1 bit of output. The offset error of SAR ADC with single-ended input and serial DAC mainly comes from the offset voltage of the comparator. The input common mode of the comparator will change with the change of the input signal, which causes the offset of the comparator to be related to the input signal, making the offset of the comparator nonlinear.
[0006] Therefore, a new analog-to-digital converter is yet to be proposed to improve its nonlinear offset. Summary of the invention
[0007] In view of the above problems, an object of the present invention is to provide a display device, a chip, an analog-to-digital converter and a control method thereof, so as to improve the nonlinear offset of the analog-to-digital converter.
[0008] According to one aspect of the present invention, there is provided an analog-to-digital converter, the operation of which includes a sampling phase and a subsequent conversion phase, wherein the analog-to-digital converter includes a sampling and holding circuit for sampling and holding an input analog signal to obtain a voltage sampling signal; a digital-to-analog converter for generating a first analog voltage and a second analog voltage; a comparison circuit for comparing the first analog voltage and the second analog voltage with the voltage sampling signal, respectively, to obtain a comparison signal; and a logic control circuit for performing successive approximation control on the digital-to-analog converter according to the comparison signal during the conversion phase, so that the comparison circuit successively outputs comparison signals, and outputs digital signals corresponding to the input analog signal according to a plurality of comparison signals, wherein the logic control circuit is further used to control the first analog voltage and the second analog voltage to be equal to the input analog signal during the sampling phase, and to calibrate the offset voltage of the comparison circuit.
[0009] Optionally, the digital-to-analog converter is a serial digital-to-analog converter.
[0010] Optionally, the digital-to-analog converter includes a first reference voltage switch, connected between a first reference voltage and the first analog voltage; a second reference voltage switch, connected between a second reference voltage and the second analog voltage; a first sampling switch, connected between the input analog signal and the first analog voltage; a second sampling switch, connected between the input analog signal and the second analog voltage; a charge redistribution switch, connected between the first analog voltage and the second analog voltage; a first storage capacitor, connected between the first analog voltage and the ground terminal; and a second storage capacitor, connected between the second analog voltage and the ground terminal.
[0011] Optionally, in the sampling phase, the first sampling switch and the second sampling switch are turned on, and the first reference voltage switch, the second reference voltage switch and the charge redistribution switch are turned off; in the conversion phase, the first sampling switch and the second sampling switch are turned off, and one or two of the first reference voltage switch, the second reference voltage switch and the charge redistribution switch are selectively turned on.
[0012] Optionally, the comparison circuit includes a first operational amplifier, a positive input terminal receiving the first analog voltage, and a negative input terminal receiving the voltage sampling signal; a second operational amplifier, a positive input terminal receiving the second analog voltage, a negative input terminal receiving the voltage sampling signal, a positive output terminal connected to the positive output terminal of the first operational amplifier, and a negative output terminal connected to the negative output terminal of the first operational amplifier; a first offset storage capacitor, a first end connected to the positive output terminal of the first operational amplifier; a second offset storage capacitor, a first end connected to the negative output terminal of the first operational amplifier; a third operational amplifier, a positive input terminal connected to the second end of the first offset storage capacitor, and a negative input terminal connected to the second end of the second offset storage capacitor; a first offset cancellation switch connected between the positive input terminal and the negative output terminal of the third operational amplifier; a second offset cancellation switch connected between the negative input terminal and the positive output terminal of the third operational amplifier; a latch, a positive input terminal connected to the negative output terminal of the third operational amplifier, a negative input terminal connected to the positive output terminal of the third operational amplifier, and an output terminal providing a first comparison signal and a second comparison signal, wherein the comparison signal is a differential signal of the first comparison signal and the second comparison signal.
[0013] Optionally, the latch selectively operates in a reset state or a latched state according to a state control signal provided by the logic control circuit.
[0014] Optionally, the first operational amplifier selectively short-circuits its two output terminals according to the state of the latch; the second operational amplifier selectively short-circuits its two output terminals according to the state of the latch; the third operational amplifier selectively short-circuits its two output terminals according to the state of the latch, wherein, when the latch is in a latched state, the two output terminals of each of the first to third operational amplifiers are short-circuited, and when the latch is in a reset state, the connection between the two output terminals of each of the first to third operational amplifiers is disconnected.
[0015] Optionally, the comparison circuit further includes an XNOR gate, two input terminals of which receive the first comparison signal and the second comparison signal respectively, and an output terminal of which provides a feedback signal to the first to third operational amplifiers, wherein the feedback signal represents the state of the latch.
[0016] Optionally, the first operational amplifier and the second operational amplifier have the same structure, both including a first operational amplifier unit and a second operational amplifier unit, the structure of the third operational amplifier is the same as that of the first operational amplifier unit, the first operational amplifier unit includes a first transistor, connected between the first output terminal and the second output terminal, and its control terminal is connected to receive the feedback signal; a second transistor, a third transistor and a fourth transistor, connected between the power supply voltage and the ground terminal in sequence, the control terminal of the second transistor is connected to the second output terminal, the control terminal of the third transistor is connected to the first input terminal, the control terminal of the fourth transistor is connected to the first bias terminal, and the middle node between the second transistor and the third transistor is the first output terminal; a fifth transistor and a sixth transistor, connected between the power supply voltage and the middle node between the third transistor and the fourth transistor in sequence, the control terminal of the fifth transistor is connected to the first output terminal, the control terminal of the sixth transistor is connected to the second input terminal, and the middle node between the fifth transistor and the sixth transistor is the second output terminal; a seventh transistor, connected between the power supply voltage and the first output terminal, The control end of the seventh transistor is connected to the first output end; the eighth transistor is connected between the power supply voltage and the second output end, and the control end of the eighth transistor is connected to the second output end; the second operational amplifier unit includes a ninth transistor, a tenth transistor and an eleventh transistor, which are connected between the power supply voltage and the ground end in sequence; the control end of the ninth transistor is connected to the second bias end, the control end of the tenth transistor is connected to the second input end, and the control end of the eleventh transistor is connected to the middle node between the tenth transistor and the eleventh transistor; the twelfth transistor and the thirteenth transistor are connected between the middle node of the ninth transistor and the tenth transistor and the ground end in sequence, the control end of the twelfth transistor is connected to the first input end, and the control end of the thirteenth transistor is connected to the middle node of the twelfth transistor and the thirteenth transistor; the fourteenth transistor is connected between the first output end and the ground end, and the control end is connected to the control end of the eleventh transistor; the fifteenth transistor is connected between the second output end and the ground end, and the control end is connected to the control end of the thirteenth transistor.
[0017] Optionally, the latch includes a sixteenth transistor, a seventeenth transistor, an eighteenth transistor and a nineteenth transistor, which are sequentially connected between the power supply voltage and the ground terminal, the control terminals of the sixteenth transistor and the seventeenth transistor are connected to the second output terminal, the control terminal of the eighteenth transistor is connected to the first input terminal, the control terminal of the nineteenth transistor receives a clock signal, and the middle node between the sixteenth transistor and the seventeenth transistor is the first output terminal; the twentieth transistor, the twenty-first transistor and the twenty-second transistor are sequentially connected between the power supply voltage and the middle node between the eighteenth transistor and the nineteenth transistor, and the control terminals of the twentieth transistor and the twenty-first transistor are connected to the first input terminal. The control end of the twenty-second transistor is connected to the second input end, and the middle node between the twentieth transistor and the twenty-first transistor is the second output end; the twenty-third transistor is connected between the power supply voltage and the first output end, and the control end receives the clock signal; the twenty-fourth transistor is connected between the power supply voltage and the second output end, and the control end receives the clock signal; the twenty-fifth transistor is connected between the power supply voltage and the middle node between the seventeenth transistor and the eighteenth transistor, and the control end receives the clock signal; the twenty-sixth transistor is connected between the power supply voltage and the middle node between the twenty-first transistor and the twenty-second transistor, and the control end receives the clock signal.
[0018] According to a second aspect of the present invention, there is provided a control method for an analog-to-digital converter as described above, wherein the operation of the analog-to-digital converter includes a sampling phase and a subsequent conversion phase, wherein the control method includes using a sample-and-hold circuit to sample and hold an input analog signal to obtain a voltage sampling signal; using a digital-to-analog converter to generate a first analog voltage and a second analog voltage; using a comparison circuit to compare the voltage sampling signal with the first analog voltage and the second analog voltage to generate a comparison signal; and using a logic control circuit to perform successive approximation control on the digital-to-analog converter according to the comparison signal during the conversion phase, so that the comparison circuit successively outputs comparison signals, and outputs digital signals corresponding to the input analog signal according to multiple comparison signals, wherein the control method also includes causing the logic control circuit to control the first analog voltage and the second analog voltage to be equal to the input analog signal during the sampling phase, and calibrating the offset voltage of the comparison circuit.
[0019] According to a third aspect of the present invention, there is provided a chip comprising the analog-to-digital converter as described above.
[0020] According to a fourth aspect of the present invention, there is provided a display device, comprising a display panel for displaying an image; a driving circuit for controlling the display state of the display panel; an analog-to-digital converter as described above, for converting a received analog signal into a digital signal; and a processing unit for processing the digital signal and providing it to the driving circuit.
[0021] The display device, chip, analog-to-digital converter and control method thereof provided by the present invention enable the SAR ADC using a serial DAC to be applied to rail-to-rail (full swing) input applications through a comparison circuit with a four-input structure. By using the first to second operational amplifiers connected in parallel as the first-stage amplification circuit of the comparison circuit, the parasitic capacitance mismatch of the two capacitors in the digital-to-analog converter is reduced, thereby improving the error of the analog-to-digital converter when using a serial DAC. The serial DAC can both generate the required analog voltage and participate in the sampling process, so that the voltages at the four input terminals of the comparison circuit are equal during the sampling phase, thereby providing conditions for offset elimination of the comparison circuit. After each sampling and offset elimination of the ADC, the offset eliminated is the offset when the input signal of the comparison circuit is an analog input signal, thereby improving the nonlinear offset of the comparison circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0023] Figure 1 A schematic diagram of the structure of a SAR ADC is shown;
[0024] Figure 2 A circuit diagram of a serial DAC is shown;
[0025] Figure 3 Shows the use of Figure 2 A schematic diagram of the structure of the SAR DAC of the serial DAC shown;
[0026] Figure 4 Shows Figure 2 The conversion sequence of the serial DAC shown;
[0027] Figure 5 A schematic diagram of the structure of an analog-to-digital converter according to an embodiment of the present invention is shown;
[0028] Figure 6 A schematic diagram of the structure of a sample-and-hold circuit according to an embodiment of the present invention is shown;
[0029] Figure 7 A schematic diagram of the structure of a digital-to-analog converter according to an embodiment of the present invention is shown;
[0030] Figure 8 A schematic diagram of the structure of a comparison circuit according to an embodiment of the present invention is shown;
[0031] Fig. 9 A circuit diagram of an operational amplifier AMP1 / AMP2 according to an embodiment of the present invention is shown;
[0032] Fig.10 shows a circuit schematic diagram of an operational amplifier AMP3 according to an embodiment of the present invention;
[0033] Fig.11 A circuit diagram of a latch according to an embodiment of the present invention is shown;
[0034] Fig.12 A timing diagram of an analog-to-digital converter according to an embodiment of the present invention is shown;
[0035] Fig.13 A flow chart of a control method for an analog-to-digital converter according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0036] Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements or modules are represented by the same or similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale.
[0037] It should be understood that in the following description, a "circuit" may include a single or multiple combined hardware circuits, programmable circuits, state machine circuits, and / or elements capable of storing instructions executed by programmable circuits. When an element or circuit is said to be "connected to" another element or an element or circuit is said to be "connected between" two nodes, it may be directly coupled or connected to another element or there may be an intermediate element, and the connection between the elements may be physical, logical, or a combination thereof. Conversely, when an element is said to be "directly coupled to" or "directly connected to" another element, it means that there is no intermediate element between the two.
[0038] At the same time, certain words are used in this patent specification and claims to refer to specific components. It should be understood by those skilled in the art that hardware manufacturers may use different terms to refer to the same component. This patent specification and claims do not use differences in names as a way to distinguish components, but rather use differences in components' functions as the criteria for distinction.
[0039] In addition, it should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the statement "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.
[0040] Figure 1 A schematic diagram of the structure of a SAR ADC is shown. Figure 1 SAR ADC 100 is a single-ended input SAR ADC, which includes a digital-to-analog converter (DAC) 110, a sampling and holding circuit 120, a comparator COMP, and a SAR logic control circuit 130. The sampling and holding circuit 120 samples the input analog signal Vin and holds it, and its output terminal is connected to the positive input terminal of the comparator COMP. The negative input terminal of the comparator COMP receives the analog voltage provided by the digital-to-analog converter 110, and the comparator COMP compares the input analog signal Vin with the analog voltage, and provides the comparison result to the SAR logic control circuit 130. The SAR logic control circuit 130 generates a logic control signal according to the comparison result of the comparator COMP, and the logic control signal is an N-bit binary digit. The digital-to-analog converter 110 receives the reference voltage VREF and the logic control signal provided by the SAR logic control circuit 130, and generates an analog voltage according to the reference voltage VREF and the logic control signal to approximate the input analog signal Vin, until the input analog signal Vin is approximately equal to the analog voltage, and the logic control signal corresponding to the analog voltage is used as the output signal of the SAR DAC 100.
[0041] The working principle of the SAR ADC 100 is as follows: the highest bit MSB of the N-bit binary digital number initially output by the SAR logic control circuit 130 is 1, and the remaining bits are 0. The digital-to-analog converter 110 obtains an analog voltage of 0.5VREF according to the initial digital number. The comparator COMP compares the analog voltage of 0.5VREF with the input analog signal Vin. If the comparator COMP outputs a high level, the highest bit MSB of the N-bit binary digital number finally outputted to the SAR DAC 100 is 1, otherwise it is 0. Then, the second most significant bit MSB-1 of the N-bit binary digital number outputted to the digital-to-analog converter 110 next time is set to 1, and the remaining bits are 0. The digital code is formed with the known MSB bit and inputted to the digital-to-analog converter 110 again. The comparator COMP then compares the input analog signal Vin with the analog voltage of the digital-to-analog converter 110. If the comparator COMP outputs a high level, the second most significant bit MSB-1 of the N-bit binary digital number finally outputted to the SAR DAC 100 is 1, otherwise it is set to 0, until the final output of the SAR DAC All the digits of the N-digit binary number 100 are determined.
[0042] Figure 2 A schematic diagram of a serial DAC circuit is shown. Figure 2 , the serial DAC includes a reference voltage source that provides a reference voltage VREF, capacitors C1-C2, and switches S1-S4. After switch S1 is turned on, capacitors C1 and C2 are connected in parallel, and the charges on capacitors C1 and C2 are redistributed so that the voltage on capacitor C1 is equal to the voltage on capacitor C2. If the i-th binary digit of the logic control signal it receives is 1, switch S2 is turned on to charge capacitor C1 to the reference voltage VREF. If the i-th binary digit of the logic control signal it receives is 0, switch S3 is turned on to discharge capacitor C1 to 0. Switch S4 discharges capacitor C2 at the beginning of digital-to-analog conversion. The conversion of bits generally starts from the least significant bit LSB to the most significant bit MSB. Taking C1=C2, and the binary digits to be converted are b0=1, b1=1, b2=0, and b3=1 as an example, the conversion process is to first turn on switch S4 to make Vc2=0, then perform the conversion of b3, that is, turn on switch S2 to make Vc1=VREF, turn on switch S1 to make Vc1=Vc2=0.5VREF, then perform the conversion of b2, that is, turn on switch S3 to make Vc1=0, turn on switch S1 to make Vc1=Vc2=0.25VREF, then perform the conversion of b1, that is, turn on switch S2 to make Vc1=VREF, turn on switch S1 to make Vc1=Vc2=5 / 8VREF, and finally perform the conversion of b0, that is, turn on switch S2 to make Vc1=VREF, turn on switch S1 to make Vc1=Vc2=5 / 16VREF. The whole process requires turning on 9 switches in sequence to complete the conversion.
[0043] Although the structure of serial DAC is simple and the area requirement is small, the performance of serial DAC is significantly affected by various error sources, which limits its wide promotion in practical applications. Taking the parasitic capacitance of capacitors as an example, when key capacitors such as C1 and C2 need to be matched within the accuracy of the least significant bit (LSB), the presence of parasitic capacitance will greatly increase the difficulty of matching, thereby affecting the overall performance of DAC. Taking the parasitic capacitance of switches as an example, during the charge redistribution process, the on and off of the switches will introduce additional charge transfer. This charge injection effect caused by the parasitic capacitance of the switches will directly affect the output voltage of the DAC. In addition, the on-resistance and switching speed of the switches will also limit the conversion rate and accuracy of the DAC. Taking the clock feedthrough error as an example, when the error source is driven by a high-speed clock signal, the clock signal may be coupled to the capacitor array through the parasitic capacitance of the switch, causing unnecessary charge disturbances, thereby generating clock feedthrough errors. This error will destroy the linearity of the DAC and reduce its output accuracy.
[0044] Figure 3 Shows the use of Figure 2 The structural diagram of the SAR ADC of the serial DAC shown; Figure 4 Shows Figure 2 The conversion sequence of the serial DAC is shown.
[0045] See also Figure 3 The data storage register, the DAC control register, and the timing and control logic circuit of the SAR ADC 200 together constitute the SAR logic control circuit of the SAR ADC 200 .
[0046] See also Figure 4 SAR ADC 200 first determines the value of the highest bit aN-1 of the binary digit it finally outputs, and then determines the values of the middle bits aN-2-a1 in sequence, until the value of the lowest bit a0 is determined. Taking the value of the i-th (i>1) bit of the binary digit finally output by SAR DAC 200 as an example, the i-1 binary digits that have been determined in the data storage register are added by 1, and 1 is used as the i-th binary digit, thereby forming a digital code with i binary digits in the DAC control register, and then the digital code is converted into an analog voltage through a digital-to-analog converter, and the analog voltage is compared with the input analog signal Vin to determine the value of the i-th bit, and then stored in the data storage register. Figure 4 It can be seen that the N-bit SAR ADC200 needs at least N(N+1) clock cycles in total to complete one conversion.
[0047] Since the input common mode of the comparator COMP changes with the input signal, it may cause nonlinear error in the offset of the comparator COMP. Figure 1 and Figure 3 The offset error of the single-ended input SAR ADC shown in Figure 1 is mainly from the offset voltage of the comparator COMP. Therefore, Figure 1 and Figure 3 The offset error of the single-ended input SAR ADC shown in the figure also has nonlinear errors. The prior art uses different solutions to eliminate the offset error of the SAR ADC. One of the solutions is to use chopping technology, that is, to quantize the same input signal twice by switching the two inputs of the comparison circuit, and finally output the average value of the two results. This solution requires twice the conversion time, which will further reduce the conversion speed of the SAR ADC. Another solution is to use a comparison circuit with a cascade of output offset storage (OOS) and input offset storage (IOS). This solution is generally suitable for occasions where the input common mode of the comparator is independent of the size of the sampling signal and does not change during the comparison process, such as some SAR ADCs with fully differential inputs.
[0048] If Figure 3 When the SAR ADC 200 shown is applied to a single-ended rail-to-rail (full-swing) input, the comparator must be optimized so that it can work normally under the rail-to-rail input. When the existing comparator structure with rail-to-rail input is applied to a SAR ADC using a parallel DAC, as the input signal range increases, the input common mode of the comparator is also expanded to the rail-to-rail range, thereby aggravating the nonlinear error of the offset voltage.
[0049] Therefore, a new analog-to-digital converter is needed to solve the above problems.
[0050] Figure 5 A schematic structural diagram of an analog-to-digital converter according to an embodiment of the present invention is shown.
[0051] See also Figure 5 The analog-to-digital converter 300 is a SAR ADC with a single-ended input. The analog-to-digital converter 300 includes a sampling and holding circuit 310, a digital-to-analog converter 320, a comparison circuit 330, and a logic control circuit 340. The sampling and holding circuit 310, the digital-to-analog converter 320, and the comparison circuit 330 are controlled by the logic control circuit 340.
[0052] The operation of the analog-to-digital converter 300 includes a sampling phase and a subsequent conversion phase. The sample-and-hold circuit 310 is used to sample and hold the input analog signal VIN to obtain a voltage sampling signal VIN_SAH. The voltage value of the voltage sampling signal VIN_SAH is equal to the voltage value of the input analog signal VIN.
[0053] The digital-to-analog converter 320 is, for example, a serial DAC. The digital-to-analog converter 320 is used to generate an analog voltage DA1_VRH and an analog voltage DA2_VRL. In the sampling phase, the digital-to-analog converter 320 samples the input analog signal VIN and outputs an analog voltage DA1_VRH and an analog voltage DA2_VRL equal to the voltage value of the input analog signal VIN; and in the conversion phase, the digital-to-analog converter 320 is controlled by the logic control circuit 340 to perform a successive approximation operation to successively generate the analog voltage DA1_VRH and the analog voltage DA2_VRL, wherein the voltage values of the analog voltage DA1_VRH and the analog voltage DA2_VRL are equal.
[0054] The comparison circuit 330 has first to fourth input terminals, receiving the analog voltage DA2_VRL, the analog voltage DA1_VRH, the voltage sampling signal VIN_SAH, and the voltage sampling signal VIN_SAH, respectively, and outputs a comparison signal ADC_OUT. The comparison circuit 330 compares the analog voltage DA1_VRH and the analog voltage DA2_VRL successively generated by the digital-to-analog converter 320 with the voltage sampling signal VIN_SAH, respectively, to successively output a comparison signal ADC_OUT.
[0055] The logic control circuit 340 is used to perform a successive approximation operation on the digital-to-analog converter 320 according to the comparison signal ADC_OUT during the conversion phase, and output a digital signal DATA[N-1,0] corresponding to the input analog signal VIN according to a plurality of comparison signals ADC_OUT; and to control the digital-to-analog converter 320 to generate an analog voltage DA1_VRH and an analog voltage DA2_VRL equal to the voltage value of the input analog signal VIN during the sampling phase, and calibrate the offset voltage of the comparison circuit 330. The phase in which the logic control circuit 340 calibrates the offset voltage of the comparison circuit 330 is within a cycle from the beginning to the end of the sampling phase.
[0056] Specifically, the logic control circuit 340 receives the start signal and the clock signal CLK, and generates a valid offset cancellation signal OFFSET in a cycle from the beginning to the end of the sampling phase according to the start signal and the clock signal CLK, and generates a valid sampling control signal EN_SAM and a state control signal CMPCTR that controls the comparison circuit 330 to be in a reset state during the sampling phase.
[0057] The logic control circuit 340 also receives the comparison signal ADC_OUT during the conversion phase, and generates intermediate digital signals corresponding to each bit of the digital signal DATA[N-1,0] one by one, and outputs a logic control signal based on the intermediate digital signal to control the digital-to-analog converter 320 to generate the corresponding analog voltage DA1_VRH and analog voltage DA2_VRL one by one, and outputs a state control signal CMPCTR to control the comparison circuit 330 to generate the comparison signal ADC_OUT one by one.
[0058] The order of generating the intermediate digital signals corresponding to each bit of the digital signal DATA[N-1,0] is from the highest bit to the lowest bit. Specifically, the logic control circuit 340 first generates the intermediate digital signal 1 corresponding to the highest bit MSB of the digital signal DATA[N-1,0] in the conversion stage, and then controls the digital-to-analog converter 320 to generate the corresponding analog voltage DA1_VRH and analog voltage DA2_VRL, and then the comparison circuit 330 compares them with the voltage sampling signal VIN_SAH to obtain the comparison signal ADC_OUT, and then determines the value corresponding to the highest bit MSB according to the comparison signal ADC_OUT. For example, if the comparison signal ADC_OUT is high, then the MSB It is 1, otherwise it is 0. Then the logic control circuit 340 generates an intermediate digital signal corresponding to the second highest bit MSB-1. Assuming that the previously determined MSB is 1, the intermediate digital signal corresponding to MSB-1 is 11. Assuming that the previously determined MSB is 0, the intermediate digital signal corresponding to MSB-1 is 01. Then the value of the second highest bit MSB-1 is determined by the digital-to-analog converter 320 and the comparison circuit 330, and then the intermediate digital signal corresponding to the second highest bit MSB-2 is generated, until each bit of the digital signal DATA[N-1,0] output by the analog-to-digital converter 300 is determined.
[0059] Figure 6 A schematic structural diagram of a sample-and-hold circuit according to an embodiment of the present invention is shown.
[0060] See also Figure 6 The sampling and holding circuit 310 includes a sampling switch S11 and a storage capacitor C11. The sampling switch S11 is connected between the input analog signal VIN and the voltage sampling signal VIN_SAH, and the storage capacitor C11 is connected between the voltage sampling signal VIN_SAH and the ground terminal, wherein the on and off of the sampling switch S11 is controlled by the sampling control signal EN_SAM. In the sampling phase, the sampling switch S11 is turned on, and the sampling and holding circuit 310 samples the input analog signal VIN and stores it in the storage capacitor C11, and in the conversion phase, the sampling switch S11 is turned off, and the voltage sampling signal VIN_SAH maintains the voltage value of the sampling phase through the storage capacitor C11.
[0061] Figure 7 A structural schematic diagram of a digital-to-analog converter according to an embodiment of the present invention is shown.
[0062] See also Figure 7 , the digital-to-analog converter 320 includes a conversion circuit 321. The conversion circuit 321 includes a reference voltage switch SL, a reference voltage switch SH, sampling switches S12-S13, a charge redistribution switch SR, and storage capacitors C12-C13. The reference voltage switch SL is connected between the reference voltage VRL and the analog voltage DA2_VRL, the reference voltage switch SH is connected between the reference voltage VRH and the analog voltage DA1_VRH, the sampling switch S12 is connected between the input analog signal VIN and the analog voltage DA2_VRL, the sampling switch S13 is connected between the input analog signal VIN and the analog voltage DA1_VRH, the charge redistribution switch SR is connected between the analog voltage DA2_VRL and the analog voltage DA1_VRH, the storage capacitor C12 is connected between the analog voltage DA2_VRL and the ground terminal, and the storage capacitor C13 is connected between the analog voltage DA1_VRH and the ground terminal. Among them, the reference voltage VRH is greater than the reference voltage VRL. The on and off of the sampling switches S12 and S13 are controlled by the sampling control signal EN_SAM.
[0063] In the sampling phase, the reference voltage switch SL and the reference voltage switch SH are turned off, the charge redistribution switch SR and the sampling switches S12-S13 are turned on, the storage capacitors C12-C13 store the sampled input analog signal VIN, and the analog voltage DA1_VRH and the analog voltage DA2_VRL are both equal to the input analog signal VIN. In the conversion phase, the sampling switches S12-S13 are turned off, and one or two of the reference voltage switch SL, the reference voltage switch SH and the charge redistribution switch SR are turned on.
[0064] The reference voltage switch SL, the reference voltage switch SH and the charge redistribution switch SR are turned on and off by logic control signals. The logic control signals include control signals RDIST, VRCTR and PRECHG. The digital-to-analog converter 320 also includes a decoding circuit 322 for decoding the control signals RDIST, PRECHG and VRCTR into switch control signals RST, CHGVH and CHGVL to control the charge redistribution switch SR, the reference voltage switches SH and SL to be turned on and off respectively.
[0065] Among them, the control signal RDIST is used to control the on and off of the charge redistribution switch SR (for example, when RDIST=1, the charge redistribution switch SR is off, and when RDIST=0, the charge redistribution switch SR is off). The control signal PRECHG is used to control the reference voltage switches SH and SL to change simultaneously according to the control signal RDIST (for example, when RDIST=1, if PRECHG=1, the reference voltage switches SH and SL are turned on at the same time, and when RDIST=0, if PRECHG=0, the reference voltage switches SH and SL are turned off at the same time). The control signal VRCTR is used to sequentially output the values of the highest bit MSB to the second lowest bit LSB-1 of the intermediate digital signal to control one of the reference voltage switches SH and SL to be turned on according to the control signals RDIST and PRECHG (for example, when VRCTR=1, if RDIST=1, PRECHG=0, the reference voltage switch SH is turned on, and when VRCTR=0, if RDIST=1, PRECHG=0, the reference voltage switch SL is turned on).
[0066] Figure 8 A schematic structural diagram of a comparison circuit according to an embodiment of the present invention is shown.
[0067] See also Figure 8 The comparison circuit 330 includes an operational amplifier AMP1-AMP3, an offset storage capacitor C14-C15, an offset elimination switch S14-S15, a latch 331, a NOT gate 332 and an XOR gate 333. The first stage amplification circuit of the comparison circuit 330 is composed of operational amplifiers AMP1-AMP2, and the operational amplifiers AMP1 and AMP2 are connected in parallel. The second stage amplification circuit of the comparison circuit 330 is composed of an operational amplifier AMP3. The latch 331 adopts a strong arm structure. By setting the operational amplifiers AMP1 and AMP2 connected in parallel, the parasitic capacitances of the storage capacitors C12 and C13 are matched, the error of the digital-to-analog converter 320 is reduced, and thus the error of the analog-to-digital converter 300 is reduced.
[0068] The positive and negative input terminals of the operational amplifier AMP1 receive the analog voltage DA1_VRH and the voltage sampling signal VIN_SAH respectively, the positive and negative input terminals of the operational amplifier AMP2 receive the analog voltage DA2_VRL and the voltage sampling signal VIN_SAH respectively, the positive output terminals of the operational amplifiers AMP1 and AMP2 are connected and provide the analog signal VIP at their common node, and the negative output terminals of the operational amplifiers AMP1 and AMP2 are connected and provide the analog signal VIN at their common node. The offset storage capacitor C14 is connected between the positive output terminal of the operational amplifier AMP1 and the positive input terminal of the operational amplifier AMP3, and the offset storage capacitor C15 is connected between the negative output terminal of the operational amplifier AMP1 and the negative input terminal of the operational amplifier AMP3. The offset cancellation switch S14 is connected between the positive input terminal and the negative output terminal of the operational amplifier AMP3, and the offset cancellation switch S15 is connected between the negative input terminal and the positive output terminal of the operational amplifier AMP3, wherein the conduction and shutoff of the offset cancellation switches S14 and S15 are controlled by the offset cancellation signal OFFSET. The positive input terminal of the latch 331 is connected to the negative output terminal of the operational amplifier AMP3, and the negative input terminal of the latch 331 is connected to the positive output terminal of the operational amplifier AMP3. The latch 331 also receives the state control signal CMPCTR through the NOT gate 332, and outputs the comparison signal ADC_OUTP and the comparison signal ADC_OUTN, where the comparison signal ADC_OUT is a differential signal of the comparison signal ADC_OUTP and the comparison signal ADC_OUTN. The two input terminals of the XOR gate 333 receive the comparison signal ADC_OUTP and the comparison signal ADC_OUTN respectively, and the output terminal provides a feedback signal KICKBACK, which represents the working state of the latch 331. The feedback signal KICKBACK controls the selective short-circuiting of the two output terminals of the operational amplifiers AMP1-AMP3. When the latch 331 is in the latched state, the feedback signal KICKBACK controls the two output terminals of the operational amplifiers AMP1-AMP3 to be short-circuited. When the latch 331 is in the reset state, the feedback signal KICKBACK controls the connection between the two output terminals of the operational amplifiers AMP1-AMP3 to be disconnected.
[0069] In the offset voltage calibration phase of the comparison circuit 330, the voltages of the two input terminals of the operational amplifier AMP1 are equal to the input analog signal VIN, and the voltages of the two input terminals of the operational amplifier AMP2 are equal to the input analog signal VIN, so that the offset voltages of the operational amplifiers AMP1 and AMP2 are amplified and stored in the offset storage capacitors C14 and C15, so that the offset voltages generated by the operational amplifiers AMP1 and AMP2 and the voltages stored on the offset storage capacitors C14 and C15 are offset against each other in the conversion phase, so as to achieve offset elimination of the operational amplifiers AMP1 and AMP2; the offset elimination switches S14 and S15 are turned on to connect the operational amplifier AMP3 to a unit gain negative feedback structure, so that the offset voltage of the operational amplifier AMP3 is reversely amplified to its input terminal, so as to eliminate the offset voltage of the operational amplifier AMP3. The offset voltage of the latch 331 is negligible by setting the gain of the operational amplifiers AMP1-AMP3 to be attenuated to 0.5LSB. At this time, the latch 331 is controlled by the state control signal CMPCTR to be in a reset state, and outputs a high-level comparison signal ADC_OUTP and a comparison signal ADC_OUTN, so that the feedback signal KICKBACK output by the XOR gate 333 is high, so that the connection between the two output terminals of each of the operational amplifiers AMP1-AMP3 is disconnected. Compared with the comparison circuit in which the output offset storage (OOS) and the input offset storage (IOS) are cascaded, the comparison circuit 330 does not need to set an extra reference voltage and perform switching operations related to the reference voltage during the offset voltage calibration process.
[0070] In the conversion phase, the comparison circuit 330 compares the analog voltage DA1_VRH and the analog voltage DA2_VRL successively generated by the digital-to-analog converter 320 with the voltage sampling signal VIN_SAH respectively, so as to successively output a comparison signal ADC_OUTP and a comparison signal ADC_OUTN.
[0071] Specifically, in any comparison of the comparison circuit 330, after the first two stages of the amplifier circuits of the comparison circuit 330 amplify the difference between the analog voltage DA1_VRH / analog voltage DA2_VRL and the input analog signal VIN, the latch 331 is controlled by the state control signal CMPCTR to switch from the reset state to the latch state, so as to output the comparison signal ADC_OUTP and the comparison signal ADC_OUTN according to the difference between its positive and negative input terminals, and generate a low-level feedback signal KICKBACK according to the comparison signal ADC_OUTP and the comparison signal ADC_OUTN, so that the two output terminals of each of the operational amplifiers AMP1-AMP3 are short-circuited, thereby reducing the feedback noise from the output to the input.
[0072] Fig. 9 FIG. 4 is a circuit diagram of operational amplifiers AMP1 - AMP2 according to an embodiment of the present invention.
[0073] See also Fig. 9 The operational amplifier AMP1 / AMP2 is a fully differential operational amplifier structure shared by a PMOS differential pair and an NMOS differential pair. The operational amplifier AMP1 / AMP2 includes a first operational amplifier unit 330_1 and a second operational amplifier unit 330_2.
[0074] The first operational amplifier unit 330_1 includes transistors MN1-MN3 and MP1-MP5. Among them, the transistor MP1 is connected between the output terminals VON1 and VOP1, and its control terminal receives the feedback signal KICKBACK. When the feedback signal KICKBACK is at a low level, the transistor MP1 is turned on to short-circuit the two output terminals of the operational amplifier AMP1 / AMP2, and when the feedback signal KICKBACK is at a high level, the transistor MP1 is turned off to control the connection between the two output terminals of the operational amplifier AMP1 / AMP2 to be disconnected; the transistors MP3, MN1 and MN3 are connected between the power supply voltage AVDD and the ground terminal AVSS in sequence, and the transistor MP4 is connected to the transistor MN2 in sequence. between the power supply voltage AVDD and the middle node of the transistors MN1 and MN3, the transistor MP2 is connected between the power supply voltage AVDD and the middle node of the transistors MP3 and MN1, i.e., the output terminal VON1, the transistor MP5 is connected between the power supply voltage AVDD and the middle node of the transistors MP4 and MN2, i.e., the output terminal VOP1, the control ends of the transistors MP2 and MP4 are connected to the output terminal VON1, the control ends of the transistors MP3 and MP5 are connected to the output terminal VOP1, the control ends of the transistors MN1 and MN2 are connected to the input terminals VIP1 and VIN1, respectively, and the control end of the transistor MN3 is connected to the bias terminal VBN.
[0075] The second operational amplifier unit 330_2 includes transistors MN4-MN7 and MP6-MP8. Among them, transistors MP6, MP7 and MN5 are connected between the power supply voltage AVDD and the ground terminal AVSS in sequence, transistor MP8 and transistor MN6 are connected between the middle node of transistors MP6 and MP7 and the ground terminal AVSS in sequence, transistor MN4 is connected between the output terminal VON1 and the ground terminal AVSS, transistor MN7 is connected between the output terminal VOP1 and the ground terminal AVSS, the control terminals of transistors MN4 and MN5 are connected to the middle node of transistors MP7 and transistor MN5, the control terminals of transistors MN6 and MN7 are connected to the middle node of transistors MP8 and transistor MN6, the control terminals of transistors MP7 and MP8 are connected to the input terminals VIN1 and VIP1 respectively, and the control terminal of transistor MP6 is connected to the bias terminal VBP. After transistors MN3 and MP6 are turned on, operational amplifiers AMP1 / AMP2 are started.
[0076] Fig.10FIG. 4 shows a circuit diagram of an operational amplifier AMP3 according to an embodiment of the present invention.
[0077] See also Fig.10 , operational amplifier AMP3 is a fully differential operational amplifier structure using an NMOS differential pair. Fig.10 The structure of the operational amplifier AMP3 shown is similar to Fig. 9 The structures of the first operational amplifier units 330_1 of the operational amplifiers AMP1 / AMP2 are the same and will not be described in detail herein.
[0078] Fig.11 FIG. 4 is a circuit diagram of a latch according to an embodiment of the present invention.
[0079] See also Fig.11 The latch 311 includes transistors MP14, MN14, MN11 and MN13 connected in sequence between the power supply voltage AVDD and the ground terminal AVSS, transistors MP15, MN15 and MN12 connected in sequence between the power supply voltage AVDD and the middle node of the transistors MN11 and MN13, transistor MP13 connected between the power supply voltage AVDD and the output terminal VON2, transistor MP11 connected between the power supply voltage AVDD and the middle node of MN14 and MN11, transistor MP16 connected between the power supply voltage AVDD and the output terminal VOP2, and transistor MP12 connected between the power supply voltage AVDD and the middle node of the transistors MN15 and MN12, wherein control ends of the transistors MP14 and MN14 are connected to the output terminal VOP2, control ends of the transistors MP15 and MN15 are connected to the output terminal VON2, control ends of the transistors MP11-MP13, MP16 and MN13 receive the clock signal CLK1, and control ends of the transistors MN11 and MN12 are connected to the input terminals VIP2 and VIN2, respectively.
[0080] The latch 311 is controlled by the state control signal CMPCTR to switch between the reset state and the latch state. Specifically, when the state control signal CMPCTR is at a high level, the latch 311 enters the reset state, so that VON2 and VOP2 become high levels. When the state control signal CMPCTR is at a low level, the latch 311 enters the latch state, so that VON2 and VOP2 become high levels. The clock signal CLK1 is an inverted signal of the state control signal CMPCTR.
[0081] Fig.12 A timing diagram of an analog-to-digital converter according to an embodiment of the present invention is shown.
[0082] See also Fig.12, the period from the beginning to the end of the sampling phase is the offset voltage calibration phase of the comparison circuit 330. In the sampling phase, the sampling control signal EN_SAM is at a high level, the sample-and-hold circuit 310 samples the input analog signal VIN and holds it, the digital-to-analog converter 320 samples the input analog signal VIN, and outputs an analog voltage DA1_VRH and an analog voltage DA2_VRL equal to the voltage value of the input analog signal VIN. In the offset voltage calibration phase, the voltages of the four input terminals of the comparison circuit 330 are all equal to the input analog signal VIN, the offset cancellation signal OFFSET is in a valid state (high level), and the state control signal CMPCTR is also at a high level to control the comparison circuit 330 to enter a reset state, so that the comparison circuit 330 can perform offset cancellation.
[0083] After switching from the sampling phase to the conversion phase, the offset cancellation signal OFFSET and the sampling control signal EN_SAM are both in an invalid state (low level), and the state control signal CMPCTR remains at a high level. After the conversion phase begins, the highest bit MSB is converted first. Specifically, the logic control circuit 340 first generates an intermediate digital signal 1 corresponding to the highest bit MSB of the digital signal DATA[N-1,0]. In the first clock cycle, it outputs high-level control signals RDIST and PRECHG and a low-level control signal VRCTR, so that the charge redistribution switch SR is turned off, the reference voltage switches SH and SL are turned on, and the storage capacitors C12 and C13 are charged to the reference voltages VRL and VRH respectively; in the second clock cycle, the logic control circuit 340 outputs low-level control signals RDIST, PRECHG and VRCTR, so that the charge redistribution switch SR is turned on, and the reference voltage switches SH and SL are turned off, and the result is equal to ( VRH+VRL) / 2, and the first two stages of amplifier circuits of the comparison circuit 330 amplify the difference between the analog voltage DA1_VRH / analog voltage DA2_VRL and the voltage sampling signal VIN_SAH; in the third clock cycle, the state control signal CMPCTR is switched from the high level of the first two clock cycles to the low level, so that the latch 331 enters the latching state, that is, the comparison signal ADC_OUT is obtained according to the difference of its input signals, and at the same time, the XOR gate 333 outputs a low-level feedback signal KICKBACK according to the comparison signal ADC_OUT, and the two output terminals of the operational amplifiers AMP1-AMP3 are short-circuited, thereby reducing the feedback noise from the output to the input.
[0084] Then, the conversion of the second highest bit MSB-1 is performed. Specifically, the logic control circuit 340 obtains the value of MSB after receiving the comparison signal ADC_OUT, and generates an intermediate digital signal i1 corresponding to the second highest bit MSB-1. Taking MSB as 1 as an example, the intermediate digital signal corresponding to the second highest bit MSB-1 is 11. In the fourth clock cycle, it outputs high-level control signals RDIST and PRECHG and low-level control signal VRCTR, so that the charge redistribution switch SR is turned off, and the reference voltage switches SH and SL are turned on at the same time, and the storage capacitors C12 and C13 are charged to the reference voltages VRL and V RH; in the fifth clock cycle, the logic control circuit 340 outputs low-level control signals RDIST, PRECHG and VRCTR, so that the charge redistribution switch SR is turned on, and the reference voltage switches SH and SL are turned off at the same time, and the analog voltage DA1_VRH and the analog voltage DA2_VRL equal to (VRH+VRL) / 2 are obtained; in the sixth clock cycle, the logic control circuit 340 outputs high-level control signals RDIST and VRCTR (if the previous MSB is 0, VRCTR is low here), and a low-level control signal PRECHG, so that the charge redistribution switch S R is turned off, the reference voltage switch SH is turned on, and the reference voltage switch SL is turned off (if the previous MSB is 0, the reference voltage switch SH is turned off and the reference voltage switch SL is turned on); in the seventh clock cycle, the logic control circuit 340 outputs the low-level control signals RDIST, VRCTR, and PRECHG, so that the charge redistribution switch SR is turned on, and the reference voltage switches SH and SL are turned off at the same time, and the analog voltage DA1_VRH and the analog voltage DA2_VRL equal to (2*VRH+VRL) / 4 are obtained (if the previous MSB is 0, the analog voltage DA1_VRH and the analog voltage DA2_VRL obtained here are The voltage DA2_VRL is equal to (VRH+2*VRL) / 4). At the same time, the state control signal CMPCTR is switched from a low level to a high level, so that the latch 331 enters a reset state, that is, outputs high-level comparison signals ADC_OUTP and ADC_OUTN, and the exclusive OR gate 333 outputs a high-level feedback signal KICKBACK, disconnecting the connection between the two output terminals of the operational amplifiers AMP1-AMP3, and the first two stages of the amplifier circuits of the comparison circuit 330 amplify the difference between the analog voltage DA1_VRH and the analog voltage DA2_VRL and the voltage sampling signal VIN_SAH. In the eighth clock cycle, the state control signal CMPCTR is switched from a high level to a low level, so that the latch 331 enters a latching state, that is, obtains the comparison signal ADC_OUT according to the difference of the input signal, and at the same time, the exclusive OR gate 333 outputs a low-level feedback signal KICKBACK according to the comparison signal ADC_OUT, and shorts the two output terminals of the operational amplifiers AMP1-AMP3, thereby reducing the feedback noise from the output to the input.Then, the MSB-2-LSB conversion is completed successively until the digital signal DATA[N-1,0] corresponding to the input analog signal VIN is obtained.
[0085] From the timing diagram, it can be seen that starting from the conversion of the second most significant bit MSB-1, the latch 311 is in the reset state only during the cycle when the DAC 320 performs the last charge redistribution, and is in the latched state at the rest of the time.
[0086] In addition, the present invention also provides a control method for an analog-to-digital converter 300, wherein the operation of the analog-to-digital converter 300 includes a sampling phase and a subsequent conversion phase, wherein Fig.13 , the control method comprises the following steps:
[0087] Step S1: using a sample-and-hold circuit to sample and hold an input analog signal to obtain a voltage sampling signal;
[0088] Step S2: using a digital-to-analog converter to generate a first analog voltage and a second analog voltage;
[0089] Step S3: using a comparison circuit to compare the voltage sampling signal with the first analog voltage and the second analog voltage to generate a comparison signal; and
[0090] Step S4: using a logic control circuit to perform successive approximation control on the digital-to-analog converter according to the comparison signal during the conversion phase, so that the comparison circuit outputs comparison signals one by one, and outputs a digital signal corresponding to the input analog signal according to a plurality of comparison signals,
[0091] Wherein, the control method further includes:
[0092] Step S5: in the sampling phase, the logic control circuit controls the first analog voltage and the second analog voltage to be equal to the input analog signal, and calibrates the offset voltage of the comparison circuit.
[0093] The analog-to-digital converter provided by the present invention enables the SARADC using a serial DAC to be applied to rail-to-rail (full swing) input applications through a comparison circuit with a four-input structure. By using the first to second operational amplifiers connected in parallel as the first-stage amplification circuit of the comparison circuit, the parasitic capacitance mismatch of the two capacitors in the digital-to-analog converter is reduced, thereby improving the error of the analog-to-digital converter when the serial DAC is used. The serial DAC can both generate the required analog voltage and participate in the sampling process, so that the voltages at the four input terminals of the comparison circuit are equal during the sampling phase, thereby providing conditions for offset elimination of the comparison circuit. After each sampling and offset elimination of the ADC, the offset eliminated is the offset when the input signal of the comparison circuit is an analog input signal, thereby improving the nonlinear offset of the comparison circuit.
[0094] Furthermore, the present invention also provides a chip, comprising the analog-to-digital converter as described above.
[0095] Furthermore, the present invention also provides a display device, which includes: a display panel for displaying an image; a driving circuit for controlling a display state of the display panel; and
[0096] The analog-to-digital converter is used to convert the received analog signal into a digital signal; the processing unit is used to provide the digital signal provided by the analog-to-digital converter to the driving circuit.
[0097] According to the embodiments of the present invention, as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to specific embodiments. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The scope of protection of the present invention shall be based on the scope defined by the claims of the present invention and their equivalents.
Claims
1. An analog-to-digital converter, the operation of which comprises a sampling phase and a subsequent conversion phase, in, The analog-to-digital converter comprises: A sampling and holding circuit is used to sample and hold the input analog signal to obtain a voltage sampling signal; A digital-to-analog converter, configured to generate a first analog voltage and a second analog voltage; a comparison circuit, used for comparing the first analog voltage and the second analog voltage with the voltage sampling signal respectively to obtain a comparison signal; and a logic control circuit, configured to perform successive approximation control on the digital-to-analog converter according to the comparison signal during the conversion phase, so that the comparison circuit outputs comparison signals one by one, and outputs a digital signal corresponding to the input analog signal according to a plurality of comparison signals, The logic control circuit is further used to control the first analog voltage and the second analog voltage to be equal to the input analog signal during the sampling phase, and to calibrate the offset voltage of the comparison circuit.
2. The analog-to-digital converter according to claim 1, in, The digital-to-analog converter is a serial digital-to-analog converter.
3. The analog-to-digital converter according to claim 2, in, The digital-to-analog converter comprises: A first reference voltage switch connected between a first reference voltage and the first analog voltage; A second reference voltage switch connected between a second reference voltage and the second analog voltage; A first sampling switch connected between the input analog signal and the first analog voltage; A second sampling switch connected between the input analog signal and the second analog voltage; a charge redistribution switch connected between the first analog voltage and the second analog voltage; A first storage capacitor connected between the first analog voltage and a ground terminal; The second storage capacitor is connected between the second analog voltage and the ground terminal.
4. The analog-to-digital converter according to claim 3, in, In the sampling phase, the first sampling switch and the second sampling switch are turned on, and the first reference voltage switch, the second reference voltage switch and the charge redistribution switch are turned off; In the conversion phase, the first sampling switch and the second sampling switch are turned off, and one or two of the first reference voltage switch, the second reference voltage switch and the charge redistribution switch are selectively turned on.
5. The analog-to-digital converter according to claim 1, in, The comparison circuit comprises: A first operational amplifier, wherein a positive input terminal receives the first analog voltage, and a negative input terminal receives the voltage sampling signal; A second operational amplifier, having a positive input terminal receiving the second analog voltage, a negative input terminal receiving the voltage sampling signal, a positive output terminal connected to the positive output terminal of the first operational amplifier, and a negative output terminal connected to the negative output terminal of the first operational amplifier; A first offset storage capacitor, a first end of which is connected to a positive output end of the first operational amplifier; A second offset storage capacitor, a first end of which is connected to the negative output end of the first operational amplifier; a third operational amplifier, a positive input terminal connected to the second terminal of the first offset storage capacitor, and a negative input terminal connected to the second terminal of the second offset storage capacitor; A first offset cancellation switch connected between the positive input terminal and the negative output terminal of the third operational amplifier; A second offset cancellation switch connected between the negative input terminal and the positive output terminal of the third operational amplifier; A latch, wherein the positive input terminal is connected to the negative output terminal of the third operational amplifier, the negative input terminal is connected to the positive output terminal of the third operational amplifier, and the output terminal provides a first comparison signal and a second comparison signal, wherein the comparison signal is a differential signal of the first comparison signal and the second comparison signal.
6. The analog-to-digital converter according to claim 5, in, The latch selectively operates in a reset state or a latched state according to a state control signal provided by the logic control circuit.
7. The analog-to-digital converter according to claim 6, in, The first operational amplifier selectively short-circuits two output terminals according to the state of the latch; The second operational amplifier selectively short-circuits two output terminals according to the state of the latch; The third operational amplifier selectively short-circuits its two output terminals according to the state of the latch, Wherein, when the latch is in a latched state, the two output ends of each of the first to third operational amplifiers are short-circuited, and when the latch is in a reset state, the connection between the two output ends of each of the first to third operational amplifiers is disconnected.
8. The analog-to-digital converter according to claim 7, in, The comparison circuit further comprises: The XNOR gate has two input terminals respectively receiving a first comparison signal and a second comparison signal, and an output terminal providing a feedback signal to the first to third operational amplifiers, wherein the feedback signal represents the state of the latch.
9. The analog-to-digital converter according to claim 8, in, The first operational amplifier and the second operational amplifier have the same structure, both including a first operational amplifier unit and a second operational amplifier unit. The structure of the third operational amplifier is the same as that of the first operational amplifier unit. The first operational amplifier unit includes: A first transistor, connected between the first output terminal and the second output terminal, and a control terminal thereof is connected to receive the feedback signal; A second transistor, a third transistor and a fourth transistor are connected between a power supply voltage and a ground terminal in sequence, a control terminal of the second transistor is connected to the second output terminal, a control terminal of the third transistor is connected to the first input terminal, a control terminal of the fourth transistor is connected to the first bias terminal, and an intermediate node between the second transistor and the third transistor is the first output terminal; a fifth transistor and a sixth transistor, connected in sequence between a power supply voltage and an intermediate node between the third transistor and the fourth transistor, a control terminal of the fifth transistor connected to the first output terminal, a control terminal of the sixth transistor connected to the second input terminal, and an intermediate node between the fifth transistor and the sixth transistor being the second output terminal; a seventh transistor, connected between a power supply voltage and the first output terminal, and having a control terminal connected to the first output terminal; an eighth transistor, connected between the power supply voltage and the second output terminal, with a control terminal connected to the second output terminal, The second operational amplifier unit comprises: A ninth transistor, a tenth transistor and an eleventh transistor are connected between a power supply voltage and a ground terminal in sequence, a control terminal of the ninth transistor is connected to a second bias terminal, a control terminal of the tenth transistor is connected to the second input terminal, and a control terminal of the eleventh transistor is connected to an intermediate node between the tenth transistor and the eleventh transistor; A twelfth transistor and a thirteenth transistor are connected between the middle node of the ninth transistor and the tenth transistor and the ground terminal in sequence, the control terminal of the twelfth transistor is connected to the first input terminal, and the control terminal of the thirteenth transistor is connected to the middle node of the twelfth transistor and the thirteenth transistor; a fourteenth transistor, connected between the first output terminal and the ground terminal, and having a control terminal connected to the control terminal of the eleventh transistor; The fifteenth transistor is connected between the second output terminal and the ground terminal, and has a control terminal connected to the control terminal of the thirteenth transistor.
10. The analog-to-digital converter according to claim 6, in, The latch comprises: A sixteenth transistor, a seventeenth transistor, an eighteenth transistor and a nineteenth transistor are sequentially connected between a power supply voltage and a ground terminal, control terminals of the sixteenth transistor and the seventeenth transistor are connected to a second output terminal, a control terminal of the eighteenth transistor is connected to a first input terminal, a control terminal of the nineteenth transistor receives a clock signal, and an intermediate node between the sixteenth transistor and the seventeenth transistor is a first output terminal; a twentieth transistor, a twenty-first transistor, and a twenty-second transistor, which are sequentially connected between a power supply voltage and an intermediate node between the eighteenth transistor and the nineteenth transistor, wherein control terminals of the twentieth transistor and the twenty-first transistor are connected to the first output terminal, a control terminal of the twenty-second transistor is connected to the second input terminal, and an intermediate node between the twentieth transistor and the twenty-first transistor is the second output terminal; A twenty-third transistor, connected between a power supply voltage and the first output terminal, a control terminal of which receives the clock signal; A twenty-fourth transistor, connected between a power supply voltage and the second output terminal, and having a control terminal receiving the clock signal; A twenty-fifth transistor is connected between a power supply voltage and an intermediate node between the seventeenth transistor and the eighteenth transistor, and a control terminal receives the clock signal; The twenty-sixth transistor is connected between a power supply voltage and an intermediate node between the twenty-first transistor and the twenty-second transistor, and a control end receives the clock signal.
11. A control method for an analog-to-digital converter according to any one of claims 1 to 10, wherein the operation of the analog-to-digital converter comprises a sampling phase and a subsequent conversion phase, in, The control method comprises: The input analog signal is sampled and held using a sample-and-hold circuit to obtain a voltage sampling signal; generating a first analog voltage and a second analog voltage using a digital-to-analog converter; using a comparison circuit to compare the voltage sampling signal with the first analog voltage and the second analog voltage to generate a comparison signal; and Using a logic control circuit to perform successive approximation control on the digital-to-analog converter according to the comparison signal during the conversion phase, so that the comparison circuit outputs comparison signals one by one, and outputs a digital signal corresponding to the input analog signal according to a plurality of comparison signals, Wherein, the control method further includes: In the sampling phase, the logic control circuit controls the first analog voltage and the second analog voltage to be equal to the input analog signal, and calibrates the offset voltage of the comparison circuit.
12. A chip comprising the analog-to-digital converter according to any one of claims 1 to 10.
13. A display device, include: A display panel, used for displaying images; A driving circuit, used for controlling the display state of the display panel; The analog-to-digital converter according to any one of claims 1 to 10, used to convert a received analog signal into a digital signal; A processing unit is used for processing the digital signal and providing the processed digital signal to the driving circuit.
