Successive-approximation type a / d conversion circuit

The AD conversion circuit addresses the challenge of improving linearity and accuracy by incorporating voltage correction during the binary search process, enhancing precision through a first and second voltage generation circuit and a correction circuit.

JP2024165802AInactive Publication Date: 2024-11-28ROHM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023082300
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Improving the accuracy of AD conversion, particularly in terms of linearity, in successive approximation type AD conversion circuits is a key challenge.

Method used

A successive approximation type AD conversion circuit that includes a first voltage generation circuit, a second voltage generation circuit, a correction circuit, and a comparator, which performs voltage correction during the binary search process to enhance precision by adjusting the comparison input voltages and determining the digital output signal bit by bit.

Benefits of technology

The proposed solution enhances the precision of AD conversion by correcting voltages in the successive approximation period, thereby improving linearity and overall accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024165802000001_ABST
    Figure 2024165802000001_ABST
Patent Text Reader

Abstract

To improve accuracy of A / D conversion.SOLUTION: A successive-approximation type A / D conversion circuit (1A) includes: a correction circuit (30) configured to correct a first voltage (V1) corresponding to an analog input signal or a second voltage (V2) to be compared with the first voltage; a comparator (40) configured to generate a comparison result signal by comparing two comparison input voltages obtained through the correction; and a control circuit (50) configured to determine a value of a digital output signal for each bit by binary search from a most significant bit to a least significant bit of the digital output signal on the basis of the comparison result signal. The control circuit sets a correction amount in the correction circuit for each bit of the digital output signal during a successive approximation period.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a successive approximation type AD conversion circuit. [Background technology]

[0002] One type of AD conversion circuit is a successive approximation type AD conversion circuit that performs AD conversion using a binary search. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-80292 A Summary of the Invention [Problem to be solved by the invention]

[0004] It is important to improve the accuracy of AD conversion in successive approximation type AD conversion circuits.

[0005] An object of the present disclosure is to provide a successive approximation type AD conversion circuit that contributes to improving the accuracy (for example, improving linearity) of AD conversion. [Means for solving the problem]

[0006] A successive approximation type AD conversion circuit according to the present disclosure is a successive approximation type AD conversion circuit configured to convert an analog input signal into a digital output signal, the successive approximation type AD conversion circuit including: a first voltage generation circuit configured to generate a first voltage corresponding to the analog input signal; a second voltage generation circuit configured to generate a second voltage to be compared with the first voltage; a correction circuit configured to correct the first voltage or the second voltage during a successive approximation period in which a binary search is performed; a comparator configured to receive two comparison input voltages obtained through correction in the correction circuit and generate a comparison result signal by comparing the two comparison input voltages; and a control circuit configured to determine a value of the digital output signal for each bit by binary search from the most significant bit to the least significant bit of the digital output signal based on the comparison result signal, and the control circuit sets an amount of correction in the correction circuit for each bit of the digital output signal during the successive approximation period. Effect of the Invention

[0007] According to the present disclosure, it is possible to provide a successive approximation type AD conversion circuit that contributes to improving the accuracy of AD conversion (for example, improving linearity). [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is an overall configuration diagram of an AD converter according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram showing the internal configuration and peripheral circuits of one switch in a switch array according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a diagram showing four states of one switch in a switch array according to the first embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram showing the relationship between the capacitance values ​​of a plurality of capacitors in a capacitor array according to the first embodiment of the present disclosure. [Diagram 5] FIG. 5 is a flowchart of an AD conversion operation according to the first embodiment of the present disclosure. [Figure 6]FIG. 6 is a diagram showing a state of the AD converter when a sampling operation is performed according to the first embodiment of the present disclosure. [Figure 7] FIG. 7 is a flowchart of a state transition operation according to the first embodiment of the present disclosure. [Figure 8] FIG. 8 is a diagram showing states of the AD converter related to a state transition operation according to the first embodiment of the present disclosure. [Figure 9] FIG. 9 is a flowchart of a successive approximation operation according to the first embodiment of the present disclosure. [Figure 10] FIG. 10 is a configuration diagram of a register in a control circuit according to the first embodiment of the present disclosure. [Figure 11] FIG. 11 is a diagram showing a state of the AD converter when a successive approximation operation is performed according to the first embodiment of the present disclosure. [Figure 12] FIG. 12 is a diagram illustrating a configuration example of a voltage generating circuit according to the first embodiment of the present disclosure. [Figure 13] FIG. 13 is a diagram illustrating another configuration example of the voltage generating circuit according to the first embodiment of the present disclosure. [Figure 14] FIG. 14 is a diagram showing how the voltage generated by the voltage generating circuit deviates from the ideal voltage according to the first embodiment of the present disclosure. [Figure 15] FIG. 15 is a diagram illustrating the correction amount for each bit according to the first embodiment of the present disclosure. [Figure 16] FIG. 16 is a circuit diagram of a correction circuit and its periphery according to an example EX1_1 belonging to the first embodiment of the present disclosure. [Figure 17] FIG. 17 is a circuit diagram of a correction circuit and its periphery according to an example EX1_2 belonging to the first embodiment of the present disclosure. [Figure 18] FIG. 18 is a circuit diagram of a correction circuit and its periphery according to an example EX1_3 belonging to the first embodiment of the present disclosure. [Figure 19] FIG. 19 relates to an example EX1_3 belonging to the first embodiment of the present disclosure and is a circuit diagram of a correction circuit in a non-correction state and its surroundings. [Figure 20]FIG. 20 is an overall configuration diagram of an AD converter according to the second embodiment of the present disclosure. [Figure 21] FIG. 21 is a diagram showing a state of the AD converter when a sampling operation is performed according to the second embodiment of the present disclosure. [Figure 22] FIG. 22 is a circuit diagram of a correction circuit and its periphery according to an example EX2_1 belonging to the second embodiment of the present disclosure. [Diagram 23] FIG. 23 is a circuit diagram of a correction circuit and its periphery according to an example EX2_2 belonging to the second embodiment of the present disclosure. [Figure 24] FIG. 24 is a circuit diagram of a correction circuit and its periphery according to an example EX2_3 belonging to the second embodiment of the present disclosure. [Diagram 25] FIG. 25 is a circuit diagram of a correction circuit and its periphery according to an example EX2_4 belonging to the second embodiment of the present disclosure. [Figure 26] FIG. 26 is an overall configuration diagram of an AD converter according to the third embodiment of the present disclosure. [Figure 27] FIG. 27 is a flowchart of a successive approximation operation according to the third embodiment of the present disclosure. [Figure 28] FIG. 28 relates to an example EX3_1 belonging to the third embodiment of the present disclosure and is a circuit diagram of a correction circuit and its periphery. [Figure 29] FIG. 29 is a circuit diagram of a correction circuit and its periphery according to an example EX3_2 belonging to the third embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, examples of the embodiments of the present disclosure will be specifically described with reference to the drawings. In each of the drawings to be referred to, the same parts are given the same reference numerals, and duplicated descriptions of the same parts are omitted as a rule. In this specification, for the sake of simplicity of description, a symbol or code referring to information, signal, physical quantity, functional part, circuit, element or part, etc. may be written, and the name of the information, signal, physical quantity, functional part, circuit, element or part, etc. corresponding to the symbol or code may be omitted or abbreviated. For example, the comparison wiring referred to by "WR1" described later (see FIG. 1) may be written as the comparison wiring WR1 or may be abbreviated as the wiring WR1, but they all refer to the same thing. In this specification, the connection between multiple parts forming a circuit, such as any circuit element, wiring, node, etc., may be understood to refer to an electrical connection unless otherwise specified.

[0010] <<First embodiment>> A first embodiment of the present disclosure will be described. Fig. 1 shows an overall configuration of an AD converter 1A according to the first embodiment of the present disclosure. The AD converter 1A is a successive approximation type A / D conversion circuit. An analog input signal Ain is input to the AD converter 1A. The AD converter 1A performs an AD conversion operation on the analog input signal Ain. In the AD conversion operation on the analog input signal Ain, the analog input signal Ain is converted into a digital signal by a binary search, and the obtained digital signal is output as a digital output signal Dout.

[0011] The digital output signal Dout is an N-bit digital signal. That is, the digital output signal Dout has a total of N bits from the 1st bit to the Nth bit. N is any integer equal to or greater than 2, for example, 8, 10, 12, 14, or 16. Here, the (i+1)th bit is considered to be the most significant bit as viewed from the ith bit. Therefore, of the 1st to Nth bits, the 1st bit is the least significant bit, and the Nth bit is the most significant bit. i represents any integer, and may be understood to represent a natural number equal to or less than N.

[0012] The AD converter 1A includes a DAC 10, a voltage generating circuit 20, a correction circuit 30, a comparator 40, a control circuit 50, and a switch S G The wiring WR_Ain is an analog input wiring to which an analog input signal Ain is applied. The wiring WR_VDD is a power supply wiring to which a predetermined power supply voltage VDD is applied. The wiring WR_GND is connected to ground. Ground refers to a reference conductive part having a reference potential of 0V (zero volts) or refers to the potential of 0V itself. The reference conductive part may be formed using a conductor such as metal. The wiring WR_GND is a ground wiring to which a ground voltage is applied. The wiring WR_GND itself may be considered as ground. The ground voltage has the potential of ground and is therefore 0V. The power supply voltage VDD has a positive DC voltage value (for example, 5V). The analog input signal Ain has a voltage value of 0V or more and less than the power supply voltage VDD.

[0013] DAC10 is an example of a first voltage generating circuit. DAC10 is a capacitor-type DAC (capacitor-type digital-to-analog converter). Capacitor-type DACs are also generally called capacitive DACs. DAC10 includes a capacitor array 11 and a switch array 12. Capacitor array 11 includes capacitors C[1] to C[N], and switch array 12 includes switches S[1] to S[N].

[0014] Each of the capacitors C[1] to C[N] has a first end and a second end, and accumulates electric charge between the first end and the second end. In the configuration of FIG. 1, the first ends of the capacitors C[1] to C[N] are all connected to the comparison wiring WR1. Switches S[1] to S[N] are provided corresponding to the capacitors C[1] to C[N], respectively. That is, a switch S[i] is provided corresponding to the capacitor C[i]. The capacitor C[i] corresponds to the i-th bit of the digital output signal Dout. The analog input signal Ain, the power supply voltage VDD, or the ground voltage may be applied to the second ends of the capacitors C[1] to C[N] via the switches S[1] to C[N]. The voltage on the comparison wiring WR1 is referred to as voltage V1. The DAC10 generates a voltage V1 according to the analog input signal Ain, and outputs the voltage V1 to the comparison wiring WR1.

[0015] FIG. 2 shows the connection relationship between the capacitor C[i], the switch S[i], and the wiring WR_Ain, WR_VDD, and WR_GND. The switches S[1] to S[N] each have a common terminal T COM and switching terminals Ta, Tb, and Tc. COM are connected to the second terminals of the capacitors C[1] to C[N], respectively. That is, for example, the common terminal T COM is connected to the second end of the capacitor C[1] and the common terminal T of the switch S[2] COM is connected to the second end of the capacitor C[2]. The same is true for switches S[3], etc. The switching terminal Ta of each of the switches S[1] to S[N] is connected to a wiring WR_Ain and receives an analog input signal Ain. The switching terminal Tb of each of the switches S[1] to S[N] is connected to a wiring WR_VDD and receives a power supply voltage VDD. The switching terminal Tc of each of the switches S[1] to S[N] is connected to a wiring WR_GND and receives a ground voltage.

[0016] Under the control of the control circuit 50, in each of the switches S[1] to S[N], a common terminal T COM is selectively connected to one of the switching terminals Ta, Tb, and Tc. COM may be connected to none of the switching terminals Ta, Tb, and Tc.

[0017] Referring to FIG. 3, in the following, in any switch S[i], the common terminal T COM The states in which the common terminal T is connected to the switching terminals Ta, Tb, and Tc are called the signal input state, the power supply connection state, and the ground connection state, respectively. COM is not connected to any of the switching terminals Ta, Tb, and Tc is called the open state. In the signal input state, power supply connection state, and ground state of the switch S[i], the analog input signal Ain, the power supply voltage VDD, and the ground voltage are respectively applied to the second end of the capacitor C[i]. Note that, as an example, FIG. 1 shows a state in which all of the switches S[1] to S[N] are in the signal input state.

[0018] Referring again to Figure 1, switch S G The first end of the switch S is connected to the comparison line WR1. G The second terminal of the REF The reference voltage V REF has a fixed potential. The reference voltage V REF The voltage V2 generated by the voltage generating circuit 20 may have a positive DC voltage value. REF The reference voltage V REF can be 0 V. The control circuit 50 controls the switch S G is controlled to be in an on state or an off state. Hereinafter, the on state and the off state may be simply expressed as on and off, respectively. G When is on, switch S G When the first and second terminals of the comparison wiring WR1 are electrically connected, the voltage V1 of the comparison wiring WR1 becomes the reference voltage V REF Switch S G When is off, switch S G The first terminal and the second terminal of the switch S are cut off (non-conductive). G is shown being turned off.

[0019] Switches S[1]~[N] and S G Each of the switches S[1] to S[N] may be configured with any switching element such as a MOSFET. MOSFET is an abbreviation for "metal-oxide-semiconductor field-effect transistor." The switches S[1] to S[N] may be multiplexers. Note that, with respect to any switch, the control circuit 50 controlling the switch to a certain focused state is synonymous with the control circuit 50 setting the state of the switch to the focused state.

[0020] The voltage generating circuit 20 is an example of a second voltage generating circuit. The voltage generating circuit 20 generates a voltage V2 to be compared with the voltage V1, and outputs the generated voltage V2 to a comparison wiring WR2.

[0021] The correction circuit 30 can execute voltage correction processing under the control of the control circuit 50. In the voltage correction processing, the correction circuit 30 corrects the voltage V1 generated by the DAC 10 or corrects the voltage V2 generated by the voltage generation circuit 20. Hereinafter, for the sake of concreteness of the description, the voltage V1 without correction by the correction circuit 30 is referred to as the original voltage V1, and the voltage V1 after correction by the correction circuit 30 is referred to as the corrected voltage V1. Similarly, the voltage V2 without correction by the correction circuit 30 is referred to as the original voltage V2, and the voltage V2 after correction by the correction circuit 30 is referred to as the corrected voltage V2.

[0022] The comparator 40 has an inverting input terminal, a non-inverting input terminal, and an output terminal. A voltage Vin1, which is a first comparison input voltage, is supplied to the inverting input terminal of the comparator 40, and a voltage Vin2, which is a second comparison input voltage, is supplied to the non-inverting input terminal of the comparator 40. The voltage Vin1 is the original voltage V1 or the corrected voltage V1. The voltage Vin2 is the original voltage V2 or the corrected voltage V2.

[0023] The comparator 40 compares the voltages Vin1 and Vin2 and generates and outputs a comparison result signal S CMP indicating the comparison result (high / low relationship) of the voltages Vin1 and Vin2. The comparison result signal S CMP is a binary signal having a value of "0" or "1". Note that it is also possible to supply the voltage Vin1 to the non-inverting input terminal of the comparator 40 and supply the voltage Vin2 to the inverting input terminal of the comparator 40.

[0024] The comparator 40 outputs, from its output terminal, a comparison result signal S having a value of "1" when "Vin1 < Vin2" holds, and outputs, from its output terminal, a comparison result signal S having a value of "0" when "Vin1 > Vin2" holds. When "Vin1 = Vin2" holds, the comparison result signal S CMP When "Vin1 = Vin2" holds, the comparison result signal S CMP When "Vin1 = Vin2" holds, the comparison result signal S CMPhas a value of "0" or "1". "Vin1>Vin2" represents that the voltage Vin1 is higher than the voltage Vin2, and "Vin1<Vin2" represents that the voltage Vin1 is lower than the voltage Vin2. The same applies to other expressions including physical quantities such as voltage.

[0025] The control circuit 50 receives the comparison result signal S CMP . The control circuit 50 overall controls the AD conversion operation and outputs the digital output signal Dout obtained by the AD conversion operation. A register 51 is provided in the control circuit 50, and the value of the digital output signal Dout can be stored in the register 51. The control circuit 50 supplies the control signal CNT DAC (DAC input signal) to individually control the states of the switches S[1]~S[N]. The control circuit 50 supplies the control signal CNT G to the switch S G to control the state of the switch S G . A correction control unit 52 is further provided in the control circuit 50. The correction control unit 52 performs execution control of the voltage correction process by the correction circuit 30 (details will be described later).

[0026] In the DAC10 of FIG. 1, for any integer i, the capacitance value of the capacitor C[i + 1] is larger than the capacitance value of the capacitor C[i]. Here, as shown in FIG. 4, the capacitor C[i] in the DAC10 is assumed to have a capacitance value of "2 i-1 ·C UNT ". Therefore, in the DAC10 of FIG. 1, for any integer i, the capacitance value of the capacitor C[i + 1] is twice the capacitance value of the capacitor C[i]. C UNT represents a predetermined unit capacitance value.

[0027] FIG. 5 shows a flowchart of the AD conversion operation. In the AD conversion operation, first, a sampling operation is performed in step S1, then a state transition operation is performed in step S2, and then a successive approximation operation is performed in step S3, and finally, a result output operation is performed in step S4. Hereinafter, a period during which a sampling operation is performed is referred to as a sampling period, and a period during which a successive approximation operation is performed is referred to as a successive approximation period. The voltage correction process functions effectively when the successive approximation operation is performed, and therefore the correction control unit 52 causes the correction circuit 30 to perform the voltage correction process in the successive approximation period. In steps S1, S2, and S4, the correction control unit 52 does not cause the correction circuit 30 to perform the voltage correction process (however, the correction control unit 52 may cause the correction circuit 30 to perform the voltage correction process).

[0028] 6 shows the state of the AD converter 1A during a sampling period. The sampling period has a predetermined length of time. During the sampling period, the control circuit 50 controls all the switches S[1] to S[N] in the DAC 10 to a signal input state, and the switch S G Turn on the control.

[0029] During the sampling period, the wiring WR_Ain is connected to the capacitor array 11 via the switch array 12, so that charges corresponding to the analog input signal Ain are accumulated in each capacitor (C[1] to C[N]) in the capacitor array 11. G is controlled to be on, so that each capacitor in the capacitor array 11 is connected to the reference voltage V REF The analog input signal Ain is used as a reference for charging the analog input signal Ain. Note that the operations of the voltage generating circuit 20 and the comparator 40 may be stopped during the sampling period.

[0030] An example of the flow of the state transition operation in step S2 is shown in FIG. 7. In the example of FIG. 7, the operations of steps S21, S22, and S23 are executed in this order in the state transition operation. However, the operations of steps S21 and S22 may be executed simultaneously. In step S21, the states of all the switches S[1] to S[N] of the DAC 10 are switched from a signal input state to an open state. In step S22, the switches SG After step S22, the state of switch S is switched from ON to OFF until the successive approximation operation of step S3 is completed. G are maintained in the off state. In step S23, the states of the switches S[1] to S[N] of the DAC 10 are switched to the power supply connection state or the ground connection state.

[0031] Fig. 8 shows the state of the AD converter 1A after the operations of steps S21 to S23. In the example of Fig. 8, it is assumed that the states of the switches S[1] to S[N] of the DAC 10 are all switched to the ground connection state in step S23. Note that the operation of step S23 may be omitted.

[0032] Fig. 9 shows a flowchart of the successive approximation operation in step S3. Fig. 10 shows the structure of the register 51 (see Fig. 1). The register 51 has a storage capacity of N bits, and stores values ​​Rg[1] to Rg[N]. Each of the values ​​Rg[1] to Rg[N] is "0" or "1". For any integer i, the value Rg[i+1] is the value of the most significant bit of the value Rg[i]. In the successive approximation operation, the values ​​Rg[1] to Rg[N] are determined bit by bit from the most significant bit side, and the determined value Rg[i] becomes the value of the i-th bit in the digital output signal Dout.

[0033] During the successive approximation period, the switches S[1] to S[N] are individually set to a power supply connection state or a ground connection state. The charge stored in the capacitor array 11 during the sampling period is distributed to the capacitors C[1] to C[N] during the successive approximation period. The state of distribution depends on the state of the switches S[1] to S[N] during the successive approximation period, and therefore the voltage V1 changes depending on the state of the switches S[1] to S[N] during the successive approximation period. The control circuit 50 outputs the comparison result signal S CMP While sequentially switching the state of the switch array 12 by binary search based on this, the values ​​Rg[1] to Rg[N] (that is, the value of the digital output signal Dout) are determined for each bit.

[0034] 9, first, in step S30, the value of N is substituted for the variable j managed by the control circuit 50. Then, the process proceeds to step S31. In step S31, the correction control unit 52 causes the correction circuit 30 to execute a voltage correction process. At this time, the correction control unit 52 calculates the correction amount ΔV C Set the correction amount ΔV C is the voltage amount. The correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is, in particular, the correction amount ΔV C In the first step S31, since “j=N”, the correction amount ΔV C Voltage correction processing is performed according to [N].

[0035] Correction amount ΔV C [j] may have a positive voltage value or a negative voltage value. The correction amount ΔV C [N]~ΔV C [1] may differ from each other, and the correction amount ΔV C [N]~ΔV C [1] Some of the correction values ​​may be the same. However, at least the correction value ΔV C [N]~ΔV C [1] contains two or more correction amounts with different values.

[0036] When the voltage V1 is corrected in the voltage correction process, the correction amount ΔV C [j] is added to generate the correction voltage V1 (i.e., the original voltage V1 and the correction amount ΔV C [j] is added to generate a correction voltage V1, and the correction voltage V1 is supplied to the inverting input terminal of the comparator 40 as a voltage Vin1, and the source voltage V2 is supplied to the non-inverting input terminal of the comparator 40 as a voltage Vin2. When the voltage V2 is corrected in the voltage correction process, a correction amount ΔV C [j] is added to generate the correction voltage V2 (i.e., the original voltage V2 and the correction amount ΔV CThe sum of [j] and the original voltage V1 is generated as a correction voltage V2, and the correction voltage V2 is supplied to the non-inverting input terminal of the comparator 40 as a voltage Vin2, and the original voltage V1 is supplied to the inverting input terminal of the comparator 40 as a voltage Vin1.

[0037] After step S31, the process proceeds to step S32. In step S32, the control circuit 50 controls the switch S[j] to be in a power supply connected state and the switches S[1] to S[j-1] to be all in a ground connected state. However, when the process of step S32 is executed in a state of "j=1", the switches S[1] to S[j-1] do not exist, so in step S32, the switch S[1] is simply controlled to be in a power supply connected state. As an example, FIG. 11 shows the state of each switch in step S32 when "j=N".

[0038] In step S33 following step S32, the control circuit 50 outputs the current comparison result signal S CMP (i.e., the comparison result signal S output from the comparator 40 in the state of the most recent step S32) CMP If the acquired value is "1" (Y in step S33), the process proceeds to step S34, where the control circuit 50 performs the processes of steps S34 and S35, whereas if the acquired value is "0" (N in step S33), the process proceeds to step S36, where the control circuit 50 performs the processes of steps S36 and S37.

[0039] In step S34, the control circuit 50 determines the value Rg[j] to be "1". In the following step S35, the control circuit 50 maintains the switch S[j] in a power supply connected state. Thereafter, the switch S[j] is maintained in a power supply connected state until the successive approximation operation in FIG. 9 is completed. That is, for example, when step S35 is reached in a state where "j=N" holds, the switch S[N] is maintained in a power supply connected state until the successive approximation operation in FIG. 9 is completed. The same applies when step S35 is reached in a state where "j=N-1" holds. After step S35, the process proceeds to step S38. Since nothing is actually executed in step S35, step S35 may be omitted.

[0040] In step S36, the control circuit 50 determines the value Rg[j] to be "0". In the following step S37, the control circuit 50 switches the state of the switch S[j] from the power supply connected state to the ground connected state. Thereafter, the switch S[j] is maintained in the ground connected state until the successive approximation operation of FIG. 9 is completed. That is, for example, when the step S37 is reached in a state where "j=N" holds, the switch S[N] is maintained in the ground connected state until the successive approximation operation of FIG. 9 is completed. The same applies when the step S37 is reached in a state where "j=N-1" holds. After step S37, the process proceeds to step S38.

[0041] In step S38, the control circuit 50 checks whether the variable j is 1. If the variable j is not 1 (N in step S38), the process proceeds to step S39, where 1 is subtracted from the variable j, and the process returns to step S31 to repeat the process from step S31 onward. For example, in the second process of step S31, the correction amount used in the voltage correction process is the correction amount ΔV C [N] to correction amount ΔV C [N-1], and in the third processing of step S31, the correction amount used in the voltage correction processing is the correction amount ΔV C [N-1] to correction amount ΔV C The fourth and subsequent steps S31 are similar. For example, in the second step S32, the switch S[N-1] is set to the power supply connected state and the switches S[1] to S[N-1] are set to the ground connected state. In this case, in the first step S33, "S CMP If "S[N] is connected to the power supply in step S32 for the second time, then "S CMP If the result is "0", the switch S[N] is brought into a ground connection state in step S32 for the second time. The same applies to steps S32 for the third time and thereafter.

[0042] The process consisting of steps S31 to S37 is referred to as a unit comparison operation. Thus, the successive comparison operation includes the first to Nth unit comparison operations. The unit comparison operation executed when "j=N" is the Nth unit comparison operation, the unit comparison operation executed when "j=N-1" is the (N-1)th unit comparison operation, ..., the unit comparison operation executed when "j=1" is the first unit comparison operation. In the jth unit comparison operation, the value Rg[j] is determined, that is, the value of the jth bit of the digital output signal Dout is determined.

[0043] If "j=1" in step S38 (Y in step S38), the successive approximation operation in Fig. 9 ends. At this stage, all of the values ​​Rg[1] to Rg[N] have been determined.

[0044] In the result output operation of step S4 (see FIG. 5), the control circuit 50 outputs a digital signal having values ​​Rg[1] to Rg[N] determined in the successive approximation operation of step S3 as a digital output signal Dout. The digital output signal Dout is output to an arbitrary circuit (not shown) that uses the digital output signal Dout. The result output operation of step S4 may be started during the execution of the successive approximation operation of step S3. That is, as soon as the value Rg[N] is determined in the successive approximation operation, the control circuit 50 may output the value Rg[N] in the digital output signal Dout. Similarly, as soon as the value Rg[N-1] is determined in the successive approximation operation, the control circuit 50 may output the value Rg[N-1] in the digital output signal Dout. The same applies to the values ​​Rg[N-2] to Rg[1].

[0045] 12, the voltage generating circuit 20 may be a reference voltage source 20_1 that generates and outputs a predetermined reference voltage as a voltage V2. In this case, the output terminal of the reference voltage source 20_1 is connected to the comparison wiring WR2, and the reference voltage source 20_1 outputs the voltage V2 to the comparison wiring WR2. The voltage V2 output from the reference voltage source 20_1 is the source voltage V2. The voltage V2 output from the reference voltage source 20_1 is the reference voltage V REF It may be used as.

[0046] Alternatively, as shown in FIG. 13, the voltage generating circuit 20 may be a DAC20_2 that is a DA conversion circuit (digital-analog converter). In this case, a digital signal Din is input to the DAC20_2. The DAC20_2 converts the digital signal Din into an analog signal, and outputs the obtained analog signal (analog voltage signal) to the comparison wiring WR2 as a voltage V2. The DAC20_2 may be, for example, an R-2R ladder type DA conversion circuit. The voltage V2 output from the DAC20_2 is the source voltage V2. The digital signal Din is supplied to the DAC20_2 from the control circuit 50, or is supplied to the DAC20_2 from an external circuit (not shown) of the AD converter 1A. Basically, the digital signal Din is constant. However, the digital signal Din can be changed. The voltage V2 output from the DAC20_2 is the reference voltage V REF It may be used as.

[0047] During the successive approximation period, the voltage V2 (source voltage V2) output from the voltage generating circuit 20 varies depending on various fluctuation factors, such as the generation of current due to switching of each switch and changes in the drive current of the AD converter 1A. IDEAL The ideal voltage V IDEAL The value of the ideal voltage V corresponds to the design value of the voltage V2 (source voltage V2) output from the voltage generating circuit 20. IDEAL Fluctuations from this are a cause of deterioration in accuracy (deterioration in linearity) in AD conversion. The direction and magnitude of the fluctuations change in various ways even during the successive approximation period. Specifically, the direction and magnitude of the fluctuations differ between the execution period of a certain unit comparison operation and the execution period of another unit comparison operation among the first to Nth unit comparison operations. For example, during the execution period of the Nth unit comparison operation, when the source voltage V2 is equal to the ideal voltage V IDEAL During the execution period of the (N-1)th unit comparison operation, the source voltage V2 is higher than the ideal voltage V IDEAL For example, the input voltage may be 2 mV lower than the reference voltage.

[0048] The solid polygonal line 610 in FIG. 14 indicates the ideal voltage V IDEAL This shows that the direction and magnitude of the fluctuation of the source voltage V2 seen from the outside changes in various ways.

[0049] On the other hand, the ideal voltage V IDEAL The direction and magnitude of the fluctuation from the ideal voltage V has a roughly constant tendency depending on the circuit pattern of the AD converter 1A. Therefore, it is possible to evaluate them through experiments, etc., and to determine an appropriate correction amount in advance based on the evaluation results. That is, for example, when the source voltage V2 is smaller than the ideal voltage V during the execution period of the Nth unit comparison operation, IDEAL More positive offset voltage ΔV OFFSET If it is known that the offset voltage ΔV from the source voltage V2 will be higher when “j=N” during the successive approximation operation in FIG. OFFSET Voltage correction processing to subtract the offset voltage ΔV from the source voltage V1 OFFSET The same applies to the (N-1)th to the first unit comparison operations.

[0050] In practice, it is preferable to provide a non-volatile memory (not shown) in which correction amount information is stored in the correction control unit 52. The correction amount information is the correction amount ΔV C [N]~ΔV C The correction control unit 52 realizes the process of step S31 by controlling the correction circuit 30 based on the correction amount information. OFFSET It is sufficient to evaluate the above and determine the correction amount information based on the evaluation result.

[0051] The solid broken line 620 in FIG. 15 represents the correction amount ΔV C Here, the correction amount ΔV according to the solid broken line 620 is Cis a correction amount to be added to the real voltage V2 represented by the solid line polygonal line 610 in Fig. 14. In other words, the correction amount ΔV C By adding IDEAL A correction voltage V2 that coincides with the solid broken line 620 is obtained. C In any case, the offset voltage ΔV OFFSET The effects of

[0052] The first embodiment includes the following Examples EX1_1 to EX1_3. The matters described above in the first embodiment are applied to the following Examples EX1_1 to EX1_3 unless otherwise specified and unless there is a contradiction. However, in each example, the description in each example may take precedence over the matters that contradict the matters described above in the first embodiment.

[0053] [Example EX1_1] Example EX1_1 will be described. FIG. 16 is a partial configuration diagram of an AD converter 1A according to example EX1_1. In example EX1_1, a correction circuit 30A_1 is used as the correction circuit 30. In the voltage correction process, the correction circuit 30A_1 corrects the voltage V1 generated by the DAC 10. Therefore, in the successive approximation period in example EX1_1, the voltage Vin1 is the correction voltage V1, and the voltage Vin2 is the source voltage V2.

[0054] The correction circuit 30A_1 may be an adder inserted in series between the wiring WR1 and the inverting input terminal of the comparator 40. In this case, during the execution period of the j-th unit comparison operation (see FIG. 9), the correction circuit 30A_1 adds a correction amount ΔV C [j] is added to generate the correction voltage V1 (i.e., the original voltage V1 and the correction amount ΔV C During the execution period of the jth unit comparison operation, the sum of “ΔV C If [j]>0”, the correction amount ΔV CThe correction voltage V1 is higher than the original voltage V1 by the magnitude of [j], and "ΔV C If [j]<0”, the correction amount ΔV C The correction voltage V1 is lower than the original voltage V1 by the magnitude of [j]. The correction control unit 52 controls the correction circuit 30A_1 during the execution period of the j-th unit comparison operation to obtain the correction amount ΔV C Set [j] as desired.

[0055] [Example EX1_2] Example EX1_2 will be described. Fig. 17 is a partial configuration diagram of an AD converter 1A according to example EX1_2. In example EX1_2, a correction circuit 30A_2 is used as the correction circuit 30. The correction circuit 30A_2 corrects the voltage V2 generated by the voltage generating circuit 20 in the voltage correction process. Therefore, in example EX1_2, in the successive approximation period, the voltage Vin1 is the source voltage V1, and the voltage Vin2 is the correction voltage V2.

[0056] The correction circuit 30A_2 may be an adder inserted in series between the wiring WR2 and the non-inverting input terminal of the comparator 40. In this case, during the execution period of the j-th unit comparison operation (see FIG. 9), the correction circuit 30A_2 adds a correction amount ΔV C [j] is added to generate the correction voltage V2 (i.e., the original voltage V2 and the correction amount ΔV C During the execution period of the jth unit comparison operation, the sum of “ΔV C If [j]>0”, the correction amount ΔV C The correction voltage V2 is higher than the original voltage V2 by the magnitude of [j], and "ΔV C If [j]<0”, the correction amount ΔV C The correction voltage V2 is lower than the original voltage V2 by the magnitude of [j]. The correction control unit 52 controls the correction circuit 30A_2 during the execution period of the j-th unit comparison operation to obtain the correction amount ΔV C Set [j] as desired.

[0057] [Example EX1_3] Example EX1_3 will be described. Fig. 18 is a partial configuration diagram of an AD converter 1A according to example EX1_3. In example EX1_3, a correction circuit 30A_3 is used as the correction circuit 30. In the voltage correction process, the correction circuit 30A_3 corrects the voltage V1 generated by the DAC 10. Therefore, in the successive approximation period in example EX1_3, the voltage Vin1 is the correction voltage V1, and the voltage Vin2 is the source voltage V2.

[0058] The correction circuit 30A_3 includes M correction unit circuits U C Each correction unit circuit U C is the compensation capacitor C C and correction switch S C M represents an arbitrary integer of 2 or more. Usually, M has an integer value of 3 or more, or M has an integer value of 4 or more. M correction unit circuits U C is the correction unit circuit U C [1]~U C [M]. Correction unit circuit U C Correction capacitor C in [i] C and correction switch S C , respectively, the correction capacitor C C [i] and correction switch S C [i]. Correction unit circuit U C [1]~U C [M] have the same configuration. However, the correction capacitor C C [1]~C C [M] may include two or more capacitors with different capacitance values, and the correction capacitor C C [1]~C C The capacitance values ​​of [M] may all be different from each other.

[0059] In the correction circuit 30A_3, the correction capacitor C C [1]~C C The first end of each of the correction switches S C [i] is connected to the power supply wiring WR_VDD and the ground wiring WR_GND, and is also connected to the correction capacitor C C[i] is connected to the second end of the power supply voltage VDD or the ground voltage, C [i] to the second terminal of the compensation switch S C The state [i] is the control signal CNT supplied from the correction control unit 52 to the correction circuit 30A_3. C Depending on the C A state in which the power supply voltage VDD is applied to the second terminal of [i] (hereinafter referred to as the high side state), and a correction capacitor C C [i] is switched between a state in which ground voltage is applied to the second terminal of the transistor [i] (hereinafter referred to as the low-side state).

[0060] The correction control unit 52 outputs a control signal CNT C By applying C [1]~S C [M] is individually set to the high side state or the low side state, and the correction capacitor C C For each, a correction capacitor C C In FIG. 18, the correction capacitor C C [1]~C C The figure shows that a power supply voltage VDD is supplied to each second end of [M].

[0061] During the sampling period, the correction control unit 52 sets the correction circuit 30A_3 to a non-correction state, which is a reference state. Setting the correction circuit 30A_3 to a non-correction state means turning on the correction switch S C [1]~S C This means that the state of [M] is set to the non-correction state. As shown in FIG. 19, in the non-correction state, the correction switch S C [1]~S C [M] Correction switch S C [1]~S C [M HF ] is set to the low side state and the correction switch S C [M HF +1]~S C [M] is set to the high side state. M HFrepresents a natural number smaller than M. When M is an even number, "M HF =M / 2”. When M is an odd number, “M HF =(M+1) / 2” or “M HF =(M-1) / 2”. Note that during the sampling period, the switch S G is turned on, the compensation capacitor C C [1]~C C [M HF ] is the reference voltage V REF A charge corresponding to the difference between the ground voltage and the ground voltage is stored in the compensation capacitor C C [M HF +1]~C C [M] is the reference voltage V REF and the power supply voltage VDD are accumulated (how these charges are accumulated is not shown).

[0062] Switch S G When is off, “1≦i≦M HF For an integer i that satisfies ", the correction switch S C If [i] is switched from the low side state to the high side state (i.e., the correction capacitor C C If the voltage supplied to the second end of [i] is switched from the ground voltage to the power supply voltage VDD, the voltage V1 in the comparison line WR1 rises, and the magnitude of this rise is C It depends on the capacitance value of switch S G When is off, “M HF +1≦i≦M” for an integer i, the correction switch S C If [i] is switched from the high side state to the low side state (i.e., the correction capacitor C C If the voltage supplied to the second terminal of [i] is switched from the power supply voltage VDD to the ground voltage, the voltage V1 in the comparison line WR1 drops, and the magnitude of this drop is reduced by the compensation capacitor C C Depends on the capacitance value of [i].

[0063] The state in which the correction circuit 30A_3 is in the non-correction state corresponds to a state in which the voltage correction process by the correction circuit 30A_3 is not being executed. During the successive approximation period, the correction control unit 52 changes the state of the correction circuit 30A_3 from the non-correction state to realize the voltage correction process for the voltage V1.

[0064] That is, in the j-th unit comparison operation (see FIG. 9), “ΔV C When [j]>0″, the potential of the comparison wiring WR1 is corrected by a correction amount ΔV C The correction control unit 52 controls the correction switch S C [1]~S C [M] is individually set to the low side or high side state. For example, in the jth unit comparison operation, “ΔV C When [j]>0″, the correction control unit 52 calculates the correction amount ΔV C Depending on the size of [j], the correction switch S C [1]~S C [M HF ] is switched from a low state to a high state.

[0065] Conversely, in the j-th unit comparison operation (see FIG. 9), “ΔV C When [j]<0″, the potential of the comparison wiring WR1 is corrected by a correction amount ΔV C The correction control unit 52 controls the correction switch S C [1]~S C [M] is individually set to the low side state or the high side state. For example, in the jth unit comparison operation, “ΔV C When [j]<0″, the correction control unit 52 calculates the correction amount ΔV C Depending on the size of [j], the correction switch S C [M HF +1]~S C Switch one or more of [M] from the high state to the low state.

[0066] <<Second embodiment>> The second embodiment of the present disclosure will be described. The second embodiment and the third embodiment described later are based on the first embodiment, and for matters not specifically described in the second and third embodiments, the description of the first embodiment also applies to the second and third embodiments unless there is a contradiction. However, when interpreting the description of the second embodiment, the description of the second embodiment may take precedence over any matters that contradict each other between the first and second embodiments (the same applies to the third embodiment described later).

[0067] The configuration and operation of the AD converter 1A shown in the first embodiment may be applied to an AD converter having a differential input configuration. The overall configuration of an AD converter 1B to which this application is applied is shown in FIG. 20. The AD converter 1B is a successive approximation type A / D conversion circuit, like the AD converter 1A. Analog input signals AinP and AinN are input to the AD converter 1B. The AD converter 1B performs AD conversion operation on a difference signal ADif between the analog input signals AinP and AinN. The difference signal ADif is an analog signal having the potential of the analog input signal AinP as viewed from the potential of the analog input signal AinN.

[0068] In the AD conversion operation for the difference signal Adif, the difference signal Adif is converted into a digital signal by a binary search, and the obtained digital signal is output as a digital output signal Dout. The digital output signal Dout is an N-bit digital signal as in the first embodiment. The voltage of the analog input signal AinN may be a ground voltage, in which case the difference voltage Adif is equivalent to the analog input signal AinP. Alternatively, the analog input signal AinN may have another fixed potential different from 0V.

[0069] Alternatively, the analog input signal AinN may be a signal that varies both on the high potential side and on the low potential side with respect to the potential of the analog input signal AinP. In this case, the digital output signal Dout has a predetermined intermediate value when “AinP = AinN”, and the value of the digital output signal Dout increases from the intermediate value as the magnitude of the difference signal Adif increases when “AinP > AinN”, and the value of the digital output signal Dout decreases from the intermediate value as the magnitude of the difference signal Adif increases when “AinP < AinN”.

[0070] The AD converter 1B includes two voltage generation blocks. Each voltage generation block in the AD converter 1B includes the DAC10 and the switch S described in the first embodiment G and is provided. The DAC10 and the switch S G in each voltage generation block have the same configuration as the DAC10 and the switch S G described in the first embodiment. Therefore, in each voltage generation block, the DAC10 includes a capacitor array 11 composed of capacitors C[1] to C[N] and a switch array 12 composed of switches S[1] to S[N]. The connection relationship between the capacitors C[1] to C[N] and the switches S[1] to S[N] in each voltage generation block is the same as the connection relationship between the capacitors C[1] to C[N] and the switches S[1] to S[N] in the first embodiment.

[0071] Hereinafter, among the two voltage generation blocks provided in the AD converter 1B, the DAC10 and the switch S G provided in one voltage generation block are respectively referred to as DAC10P and switch S GP and the DAC10 and the switch S G provided in the other voltage generation block are respectively referred to as DAC10N and switch S GN and are called. In addition to the above two voltage generation blocks, the AD converter 1B is provided with a correction circuit 30, a comparator 40, and a control circuit 50.

[0072] In the AD converter 1B, the wiring WR_AinP is an analog input wiring to which an analog input signal AinP is applied, and the wiring WR_AinN is an analog input wiring to which an analog input signal AinN is applied. As in the first embodiment, the wiring WR_VDD is a power supply wiring to which a predetermined power supply voltage VDD is applied, and the wiring WR_GND is a ground wiring to which a ground voltage is applied. The analog input signals AinP and AinN correspond to the analog input signals Ain for the DACs 10P and 10N, respectively.

[0073] In the configuration of Fig. 20, the first terminals of the capacitors C[1] to C[N] of the DAC 10P are all connected to the comparison wiring WR1, and the first terminals of the capacitors C[1] to C[N] of the DAC 10N are all connected to the comparison wiring WR2. As in the first embodiment, the voltage on the comparison wiring WR1 is voltage V1 and the voltage on the comparison wiring WR2 is voltage V2. In each of the DACs 10P and 10N, a switch S[i] is provided corresponding to the capacitor C[i]. In each of the DACs 10P and 10N, the capacitor C[i] corresponds to the i-th bit in the digital output signal Dout.

[0074] Switches S[1] to S[N] each have a common terminal T COM and switching terminals Ta, Tb, and Tc (see FIG. 2). In each of the DACs 10P and 10N, the common terminal T COMis connected to the second end of the capacitor C[i]. The switching terminals Ta of the switches S[1] to S[N] in the DAC 10P are connected to the wiring WR_AinP and receive the analog input signal AinP. Therefore, in the DAC 10P, in the signal input state of the switch S[i], the analog input signal AinP is applied to the second end of the capacitor C[i]. The switching terminals Ta of the switches S[1] to S[N] in the DAC 10N are connected to the wiring WR_AinN and receive the analog input signal AinN. Therefore, in the DAC 10N, in the signal input state of the switch S[i], the analog input signal AinN is applied to the second end of the capacitor C[i]. In each of the DACs 10P and 10N, the switching terminals Tb of the switches S[1] to S[N] are connected to the wiring WR_VDD and receive the power supply voltage VDD. In each of the DACs 10P and 10N, the switching terminals Tc of the switches S[1] to S[N] are connected to the wiring WR_GND and receive the ground voltage.

[0075] In the DAC 10P, in the signal input state, power supply connection state, and ground state of the switch S[i], the analog input signal AinP, the power supply voltage VDD, and the ground voltage are respectively applied to the second end of the capacitor C[i] (see FIG. 3). In the DAC 10N, in the signal input state, power supply connection state, and ground state of the switch S[i], the analog input signal AinN, the power supply voltage VDD, and the ground voltage are respectively applied to the second end of the capacitor C[i] (see FIG. 3). Note that FIG. 20 shows, as an example, a state in which the switches S[1] to S[N] in the DACs 10P and 10N are all in the signal input state.

[0076] Switch S GP The first end of the switch S is connected to the comparison line WR1. GP The second terminal of the REF is applied to the switch S GN The first end of the switch S is connected to the comparison line WR2. GN The second terminal of the REF The reference voltage V REF is as described in the first embodiment. The control circuit 50 controls the switch S GP and S GNis controlled to be in the on or off state. GP When is on, switch S GP When the first and second terminals of the comparison wiring WR1 are electrically connected, the voltage V1 of the comparison wiring WR1 becomes the reference voltage V REF Switch S GP When is off, switch S GP The first terminal and the second terminal of the switch S are cut off (non-conductive). GN When is on, switch S GN When the first and second terminals of the comparison wiring WR2 are electrically connected, the voltage V2 of the comparison wiring WR2 becomes the reference voltage V REF Switch S GN When is off, switch S GN The first terminal and the second terminal of the switch S are cut off (non-conductive). GP and S GN is shown being turned off.

[0077] As in the first embodiment, the correction circuit 30 can execute a voltage correction process under the control of the control circuit 50. In the voltage correction process, the correction circuit 30 corrects the voltage V1 generated by the DAC 10P or corrects the voltage V2 generated by the DAC 10N. As in the first embodiment, the voltage V1 not corrected by the correction circuit 30 is referred to as the original voltage V1, and the voltage V1 after correction by the correction circuit 30 is referred to as the corrected voltage V1. As in the first embodiment, the voltage V2 not corrected by the correction circuit 30 is referred to as the original voltage V2, and the voltage V2 after correction by the correction circuit 30 is referred to as the corrected voltage V2.

[0078] As in the first embodiment, a voltage Vin1, which is a first comparison input voltage, is supplied to the inverting input terminal of the comparator 40, and a voltage Vin2, which is a second comparison input voltage, is supplied to the non-inverting input terminal of the comparator 40. The voltage Vin1 is a source voltage V1 or a correction voltage V1. The voltage Vin2 is a source voltage V2 or a correction voltage V2. The comparator 40 compares the voltages Vin1 and Vin2, and outputs a comparison result signal S which indicates the comparison result (high-low relationship) of the voltages Vin1 and Vin2. CMPA comparison result signal S according to the level relationship between the voltages Vin1 and Vin2 is generated and output. CMP The method of generating is as described in the first embodiment.

[0079] The control circuit 50 outputs a comparison result signal S CMP The control circuit 50 controls the overall AD conversion operation and outputs a digital output signal Dout obtained by the AD conversion operation. As in the first embodiment, the control circuit 50 is provided with a register 51 and a correction control section 52. The value of the digital output signal Dout can be stored in the register 51. The control circuit 50 outputs a control signal CNT DAC (DAC input signal) is supplied to the control circuit 50, which controls the states of the switches S[1] to S[N] individually. GP and S GN For each of the control signals CNT G By supplying GP and S GN Controls the state of.

[0080] In each of the DACs 10P and 10N, the capacitance values ​​of the capacitors C[1] to C[n] are set in the same manner as in the first embodiment (see FIG. 4).

[0081] In the AD conversion operation in the AD converter 1B, the operations of steps S1 to S4 are executed in sequence, similarly to the first embodiment (see FIG. 5).

[0082] 21 shows the state of the AD converter 1B during a sampling period. The sampling period has a predetermined length of time. During the sampling period, the control circuit 30 controls all the switches S[1] to S[N] in the DACs 10P and 10N to a signal input state, and the switches S GP and S GN Turn on the control.

[0083] During the sampling period, the wiring WR_AinP is connected to the capacitor array 11 via the switch array 12 in the DAC 10P, and thus charges corresponding to the analog input signal AinP are accumulated in each capacitor (C[1] to C[N]) in the capacitor array 11 of the DAC 10P. At this time, each capacitor (C[1] to C[N]) in the capacitor array 11 in the DAC 10P is connected to the reference voltage V REF Similarly, during the sampling period, the wiring WR_AinN is connected to the capacitor array 11 via the switch array 12 in the DAC 10N, and thus a charge corresponding to the analog input signal AinN is accumulated in each of the capacitors (C[1] to C[N]) in the capacitor array 11 of the DAC 10N. At this time, each of the capacitors (C[1] to C[N]) in the capacitor array 11 in the DAC 10N is charged with the reference voltage V REF It is charged by the analog input signal AinN with respect to

[0084] In the state transition operation in step S2, the same operation as the state transition operation shown in the first embodiment is executed for each of the two voltage generation blocks. In the state transition operation, the operations of steps S21, S22, and S23 may be executed in this order (see FIG. 7). In the state transition operation for the voltage generation block including the DAC 10P, the switch S GP In the state transition operation for the voltage generation block including the DAC10N, the state of the switch S GN After step S22, the state of the switch S is switched from ON to OFF until the successive approximation operation is completed. GP and S GN is maintained in the off state.

[0085] In the successive approximation operation in step S3, the values ​​Rg[1] to Rg[N] of the register 31 are determined bit by bit from the most significant bit side, and the determined value Rg[i] becomes the value of the i-th bit in the digital output signal Dout. In the successive approximation operation (in other words, in the successive approximation period), the control circuit 30 outputs the comparison result signal SCMP While sequentially switching the states of the switch arrays 12 of the DACs 10P and 10N by binary search based on the above, the values ​​Rg[1] to Rg[N] (that is, the value of the digital output signal Dout) are determined for each bit.

[0086] In the AD converter 1B, the flowchart of the successive approximation operation in step S3 is the same as that in Fig. 9, and the successive approximation operation in the first embodiment is also applied to this embodiment. However, when the state of the switch S[j] is controlled, set, maintained, or switched to the power supply connection state in the first embodiment, it is understood that the state of the switch S[j] in each of the DAC10P and DAC10N is controlled, set, maintained, or switched to the power supply connection state in the second embodiment. Similarly, when the state of the switch S[j] is controlled, set, maintained, or switched to the ground connection state in the first embodiment, it is understood that the state of the switch S[j] in each of the DAC10P and DAC10N is controlled, set, maintained, or switched to the ground connection state in the second embodiment.

[0087] In the result output operation of step S4 (see FIG. 7), the control circuit 30 outputs a digital signal having the values ​​Rg[1] to Rg[N] determined in the successive approximation operation of step S3 as a digital output signal Dout.

[0088] The AD converter 1B can be considered as a circuit in which the voltage generating circuit 20 in the AD converter 1A of FIG. 1 is configured with a DAC 10N. In the AD converter 1B, the DACs 10P and 10N are examples of the first and second voltage generating circuits, respectively. In the AD converter 1B, the voltages V1 and V2 are compared in a successive approximation period using the voltage V2 according to the analog input signal AinN. However, even in this case, similar to the first embodiment, the voltage V2 varies from the ideal due to various fluctuation factors, and the direction and magnitude of the fluctuation differ between the execution period of a certain unit comparison operation and the execution period of another unit comparison operation among the first to Nth unit comparison operations. For this reason, similar to the AD converter 1A of the first embodiment, a correction amount V C Set.

[0089] The second embodiment includes the following Examples EX2_1 to EX2_4. The matters described above in the second embodiment are applied to the following Examples EX2_1 to EX2_4 unless otherwise specified and unless there is a contradiction. However, in each example, the description in each example may take precedence over the matters described above in the second embodiment.

[0090] [Example EX2_1] Example EX2_1 will be described. FIG. 22 is a partial configuration diagram of an AD converter 1B according to example EX2_1. In example EX2_1, a correction circuit 30B_1 is used as the correction circuit 30. In the voltage correction process, the correction circuit 30B_1 corrects the voltage V1 generated by the DAC 10P. Therefore, in the successive approximation period in example EX2_1, the voltage Vin1 is the correction voltage V1, and the voltage Vin2 is the source voltage V2.

[0091] The correction circuit 30B_1 may be an adder inserted in series between the wiring WR1 and the inverting input terminal of the comparator 40. In this case, during the execution period of the j-th unit comparison operation (see FIG. 9), the correction circuit 30B_1 adds a correction amount ΔV C [j] is added to generate the correction voltage V1 (i.e., the original voltage V1 and the correction amount ΔV C During the execution period of the jth unit comparison operation, the sum of “ΔV C If [j]>0”, the correction amount ΔV C The correction voltage V1 is higher than the original voltage V1 by the magnitude of [j], and "ΔV C If [j]<0”, the correction amount ΔV C The correction voltage V1 is lower than the original voltage V1 by the magnitude of [j]. The correction control unit 52 controls the correction circuit 30B_1 during the execution period of the j-th unit comparison operation to obtain the correction amount ΔV C Set [j] as desired.

[0092] [Example EX2_2] Example EX2_2 will be described. FIG. 23 is a partial configuration diagram of an AD converter 1B according to example EX2_2. In example EX2_2, a correction circuit 30B_2 is used as the correction circuit 30. In the voltage correction process, the correction circuit 30B_2 corrects the voltage V2 generated by the DAC 10N. Therefore, in the successive approximation period in example EX2_2, the voltage Vin1 is the source voltage V1, and the voltage Vin2 is the correction voltage V2.

[0093] The correction circuit 30B_2 may be an adder inserted in series between the wiring WR2 and the non-inverting input terminal of the comparator 40. In this case, during the execution period of the j-th unit comparison operation (see FIG. 9), the correction circuit 30B_2 adds a correction amount ΔV C [j] is added to generate the correction voltage V2 (i.e., the original voltage V2 and the correction amount ΔV C During the execution period of the jth unit comparison operation, the sum of “ΔV C If [j]>0”, the correction amount ΔV C The correction voltage V2 is higher than the original voltage V2 by the magnitude of [j], and "ΔV C If [j]<0”, the correction amount ΔV C The correction voltage V2 is lower than the original voltage V2 by the magnitude of [j]. The correction control unit 52 controls the correction circuit 30B_2 during the execution period of the j-th unit comparison operation to obtain the correction amount ΔV C Set [j] as desired.

[0094] [Example EX2_3] Example EX2_3 will be described. FIG. 24 is a partial configuration diagram of an AD converter 1B according to Example EX2_3. In Example EX2_3, a correction circuit 30B_3 is used as the correction circuit 30. In the voltage correction process, the correction circuit 30B_3 corrects the voltage V1 generated by the DAC 10P. Therefore, in Example EX2_3, in the successive approximation period, the voltage Vin1 is the correction voltage V1, and the voltage Vin2 is the source voltage V2.

[0095] The correction circuit 30B_3 has a configuration similar to that of the correction circuit 30A_3 (see FIG. 18) according to the embodiment EX1_3, and the description of the embodiment EX1_3 is also applied to the embodiment EX2_3. In this application, the correction circuit 30A_3 and the switch S G In the embodiment EX2_3, the correction circuit 30B_3 and the switch S GP It can be read as:

[0096] Similarly to the correction circuit 30A_3, each correction capacitor C C In the sampling period, the correction control unit 52 controls the correction circuit 30B_3 (in other words, the correction switch S C [1]~S C The state of the correction circuit 30B_3 (state [M]) is set to the non-correction state, which is the reference state. The meaning of the non-correction state is as described above (see FIG. 19). The state in which the correction circuit 30B_3 is in the non-correction state corresponds to a state in which the voltage correction process by the correction circuit 30B_3 is not being executed. Note that, during the sampling period, the switch S GP is turned on, the correction capacitor C C [1]~C C [M HF ] is the reference voltage V REF A charge corresponding to the difference between the ground voltage and the ground voltage is stored in the compensation capacitor C C [M HF +1]~C C [M] is the reference voltage V REF and the power supply voltage VDD are accumulated (how these charges are accumulated is not shown).

[0097] In the successive approximation period, the correction control unit 52 changes the state of the correction circuit 30B_3 from the non-correction state, thereby achieving voltage correction processing for the voltage V1.

[0098] That is, in the j-th unit comparison operation (see FIG. 9), “ΔV C When [j]>0″, the potential of the comparison wiring WR1 is corrected by a correction amount ΔV CThe correction control unit 52 controls the correction switch S in the correction circuit 30B_3 so that the value of [j] increases by the magnitude of C [1]~S C [M] is individually set to the low side state or the high side state. For example, in the jth unit comparison operation, “ΔV C When [j]>0″, the correction control unit 52 calculates the correction amount ΔV C According to the magnitude of [j], the correction switch S C [1]~S C [M HF ] is switched from a low state to a high state.

[0099] Conversely, in the j-th unit comparison operation (see FIG. 9), “ΔV C When [j]<0″, the potential of the comparison wiring WR1 is corrected by a correction amount ΔV C The correction control unit 52 controls the correction switch S in the correction circuit 30B_3 so that the magnitude of [j] is reduced. C [1]~S C [M] is individually set to the low side state or the high side state. For example, in the jth unit comparison operation, “ΔV C When [j]<0″, the correction control unit 52 calculates the correction amount ΔV C According to the magnitude of [j], the correction switch S C [M HF +1]~S C Switch one or more of [M] from the high state to the low state.

[0100] [Example EX2_4] Example EX2_4 will be described. FIG. 25 is a partial configuration diagram of an AD converter 1B according to example EX2_4. In example EX2_4, a correction circuit 30B_4 is used as the correction circuit 30. In the voltage correction process, the correction circuit 30B_4 corrects the voltage V2 generated by the DAC 10N. Therefore, in the successive approximation period in example EX2_4, the voltage Vin1 is the source voltage V1, and the voltage Vin2 is the correction voltage V2.

[0101] The correction circuit 30B_4 has a configuration similar to that of the correction circuit 30A_3 (see FIG. 18) according to the embodiment EX1_3, and the description of the embodiment EX1_3 is also applied to the embodiment EX2_4. In this application, the correction circuit 30A_3 and the switch S G In the embodiment EX2_4, the correction circuit 30B_4 and the switch S GN It can be read as:

[0102] However, unlike the correction circuit 30A_3, each correction capacitor C C The first end of the correction circuit 30B_4 (in other words, the correction switch S C [1]~S C The state of the correction circuit 30B_4 (state [M]) is set to the non-correction state, which is the reference state. The meaning of the non-correction state is as described above (see FIG. 19). The state in which the correction circuit 30B_4 is in the non-correction state corresponds to a state in which the voltage correction process by the correction circuit 30B_4 is not being executed. Note that, during the sampling period, the switch S GN is turned on, the correction capacitor C C [1]~C C [M HF ] is the reference voltage V REF A charge corresponding to the difference between the ground voltage and the ground voltage is stored in the compensation capacitor C C [M HF +1]~C C [M] is the reference voltage V REF and the power supply voltage VDD are accumulated (how these charges are accumulated is not shown).

[0103] In the successive approximation period, the correction control unit 52 changes the state of the correction circuit 30B_4 from the non-correction state, thereby achieving voltage correction processing for the voltage V2.

[0104] That is, in the j-th unit comparison operation (see FIG. 9), “ΔV C When [j]>0″, the potential of the comparison wiring WR2 is corrected by a correction amount ΔVC The correction control unit 52 controls the correction switch S in the correction circuit 30B_4 so that the value of [j] increases by the magnitude of C [1]~S C [M] is individually set to the low side or high side state. For example, in the jth unit comparison operation, “ΔV C When [j]>0″, the correction control unit 52 calculates the correction amount ΔV C According to the magnitude of [j], the correction switch S C [1]~S C [M HF ] is switched from a low state to a high state.

[0105] Conversely, in the j-th unit comparison operation (see FIG. 9), “ΔV C When [j]<0″, the potential of the comparison wiring WR2 is corrected by a correction amount ΔV C The correction control unit 52 controls the correction switch S in the correction circuit 30B_4 so that the magnitude of [j] is reduced. C [1]~S C [M] is individually set to the low side or high side state. For example, in the jth unit comparison operation, “ΔV C When [j]<0″, the correction control unit 52 calculates the correction amount ΔV C According to the magnitude of [j], the correction switch S C [M HF +1]~S C Switch one or more of [M] from the high state to the low state.

[0106] <<Third embodiment>> A third embodiment of the present disclosure will be described. The voltage correction processing shown in the first and second embodiments can also be applied to a successive approximation type A / D conversion circuit that does not use a capacitor-type DAC. This will be described in the third embodiment.

[0107] 26 shows the overall configuration of an AD converter 1C according to a third embodiment of the present disclosure. The AD converter 1C is a successive approximation type A / D conversion circuit that does not use a capacitor-type DAC. An analog input signal Ain is input to the AD converter 1C. The AD converter 1C performs an AD conversion operation on the analog input signal Ain. In the AD conversion operation on the analog input signal Ain, the analog input signal Ain is converted into a digital signal by a binary search, and the obtained digital signal is output as a digital output signal Dout.

[0108] Although the common symbols "Ain" and "Dout" are used in all of the first to third embodiments, the analog input signal Ain and the digital output signal Dout described in the third embodiment refer to the analog input signal Ain to the AD converter 1C and the digital output signal Dout from the AD converter 1C. The structure of the digital output signal Dout is the same as in the first embodiment. That is, the digital output signal Dout is an N-bit digital signal.

[0109] The AD converter 1C includes an S / H circuit 110, a DAC 120, a correction circuit 130, a comparator 140, and a control circuit 150. The analog input signal Ain has a voltage value within a predetermined dynamic range. The dynamic range is defined by a predetermined lower limit voltage V MIN to a given upper limit voltage V MAX The voltage range is up to “V MAX >V MIN " is established. The lower limit voltage V MIN can be other than 0V, but here we use the lower limit voltage V MIN is assumed to be 0V.

[0110] The S / H circuit 110 is a sample-and-hold circuit, and is an example of a first voltage generating circuit. An analog input signal Ain is input to the S / H circuit 110. The S / H circuit 110 samples the analog input signal Ain and generates a voltage Va by holding the analog input signal Ain at the timing when the hold designation signal is received. The voltage Va has the voltage value of the analog input signal Ain at the timing when the hold designation signal is received. The S / H circuit 110 is connected to the comparison wiring WRa, and outputs the voltage Va to the comparison wiring WRa. The hold designation signal is supplied to the S / H circuit 110 from the control circuit 150 or from an external circuit (not shown) of the AD converter 1C.

[0111] The DAC120 is an example of a second voltage generating circuit. The DAC120 generates a voltage Vb to be compared with the voltage Va, and outputs the generated voltage Vb to the comparison wiring WRb. The DAC120 is a DA conversion circuit (digital-analog converter). For example, the DAC120 may be an R-2R ladder type DA conversion circuit. The DAC120 receives a digital control signal DAC supplied from the control circuit 150. IN is converted to an analog signal by DA conversion, and the obtained analog signal (analog voltage signal) is output to the comparison wiring WRb as a voltage Vb. MAX and lower limit voltage V MIN (Here, 0V) is input as the power supply voltage, and the DAC120 outputs the lower limit voltage V MIN to upper limit voltage V MAX It is possible to generate and output a voltage up to Vb.

[0112] The correction circuit 130 can execute voltage correction processing under the control of the control circuit 150. In the voltage correction processing, the correction circuit 130 corrects the voltage Va generated by the S / H circuit 110 or corrects the voltage Vb generated by the DAC 120. Hereinafter, for the sake of concreteness of the description, the voltage Va without correction by the correction circuit 130 is referred to as the original voltage Va, and the voltage Va after correction by the correction circuit 130 is referred to as the corrected voltage Va. Similarly, the voltage Vb without correction by the correction circuit 130 is referred to as the original voltage Vb, and the voltage Vb after correction by the correction circuit 130 is referred to as the corrected voltage Vb.

[0113] The comparator 140 has an inverting input terminal, a non-inverting input terminal, and an output terminal. A voltage Vina, which is a first comparison input voltage, is supplied to the inverting input terminal of the comparator 140, and a voltage Vinb, which is a second comparison input voltage, is supplied to the non-inverting input terminal of the comparator 140. The voltage Vina is the original voltage Va or the corrected voltage Va. The voltage Vinb is the original voltage Vb or the corrected voltage Vb.

[0114] The comparator 140 compares the voltages Vina and Vinb and generates and outputs a comparison result signal S CMP indicating the comparison result (high / low relationship) between the voltages Vina and Vinb. The comparison result signal S CMP is a binary signal having a value of "0" or "1". Incidentally, it is also possible to supply the voltage Vina to the non-inverting input terminal of the comparator 140 and supply the voltage Vinb to the inverting input terminal of the comparator 140. The comparison result signal S CMP described in the third embodiment is a signal output from the comparator 140.

[0115] The comparator 140 outputs a comparison result signal S CMP having a value of "1" from its output terminal when "Vina < Vinb" holds, and outputs a comparison result signal S CMP having a value of "0" from its output terminal when "Vina > Vinb" holds. When "Vina = Vinb" holds, the comparison result signal S CMP has a value of "0" or "1".

[0116] The control circuit 150 outputs a comparison result signal S CMP The control circuit 150 controls the overall AD conversion operation, and outputs a digital output signal Dout obtained by the AD conversion operation. The control circuit 150 is provided with a register 151, and the value of the digital output signal Dout can be stored in the register 151. The control circuit 150 outputs a digital control signal DAC to the S / H circuit 110. IN (DAC input signal) to control the control signal DAC IN A voltage Vb corresponding to the voltage Vb is output from the DAC 120. The control circuit 150 is further provided with a correction control unit 152. The correction control unit 152 controls the execution of the voltage correction process by the correction circuit 130 (details will be described later).

[0117] In the AD conversion operation in the AD converter 1C, first, the S / H circuit 110 generates and outputs a voltage Va in response to an input of a hold designation signal to the S / H circuit 110. Thereafter, a successive approximation operation is performed in a state in which the voltage on the comparison wiring WRa is maintained at the voltage Va.

[0118] FIG. 27 shows a flowchart of the successive approximation operation in the AD converter 1C. It is assumed that the register 151 is the same as the register 51 shown in FIG. 10. The values ​​Rg[1] to Rg[N] in the third embodiment are N-bit values ​​stored in the register 151. As in the AD converter 1A or 1B, in the AD converter 1C, the values ​​Rg[1] to Rg[N] are determined bit by bit from the most significant bit side by the successive approximation operation, and the determined value Rg[i] becomes the value of the i-th bit in the digital output signal Dout. The period during which the successive approximation operation is performed is called a successive approximation period. In the successive approximation operation (in other words, in the successive approximation period), the control circuit 150 outputs a comparison result signal S CMP Based on the binary search, the control signal DAC IN By changing the voltage Vb in sequence through the above, the values ​​Rg[1] to Rg[N] (i.e., the value of the digital output signal Dout) are determined for each bit.

[0119] In the sequential comparison operation of FIG. 27, first, in step S130, the value of N is assigned to the variable j managed by the control circuit 150. Then, the process proceeds to step S131. In step S131, the control circuit 150 supplies the control signal DAC for the j-th bit to the DAC 120 and controls the DAC 120 to perform DA conversion on the control signal DAC for the j-th bit. As a result, the voltage Vb for determining the value of the j-th bit (i.e., the value R[j]) in the digital output signal Dout is generated by the DAC 120 and output to the comparison wiring WRb. IN to the DAC 120 and controls the DAC 120 to perform DA conversion on the control signal DAC for the j-th bit. As a result, the voltage Vb for determining the value of the j-th bit (i.e., the value R[j]) in the digital output signal Dout is generated by the DAC 120 and output to the comparison wiring WRb. IN to the DAC 120 and controls the DAC 120 to perform DA conversion on the control signal DAC for the j-th bit. As a result, the voltage Vb for determining the value of the j-th bit (i.e., the value R[j]) in the digital output signal Dout is generated by the DAC 120 and output to the comparison wiring WRb.

[0120] The voltage Vb generated here is an appropriate voltage based on the binary search method. The digital value of the control signal DAC when "j = N" is constant, but the digital value of the control signal DAC when "j < N" is determined based on the binary search method and depends on the comparison result signal S obtained in the past. After step S131, the process proceeds to step S132. IN The digital value of the control signal DAC when "j = N" is constant, but the digital value of the control signal DAC when "j < N" is determined based on the binary search method and depends on the comparison result signal S obtained in the past. After step S131, the process proceeds to step S132. IN The digital value of the control signal DAC when "j = N" is constant, but the digital value of the control signal DAC when "j < N" is determined based on the binary search method and depends on the comparison result signal S obtained in the past. After step S131, the process proceeds to step S132. CMP The digital value of the control signal DAC when "j = N" is constant, but the digital value of the control signal DAC when "j < N" is determined based on the binary search method and depends on the comparison result signal S obtained in the past. After step S131, the process proceeds to step S132.

[0121] In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C In step S132, the correction control unit 152 causes the correction circuit 130 to execute a voltage correction process. At this time, the correction control unit 152 sets the correction amount ΔV in the correction circuit 130 for each bit of the digital output signal Dout. The correction amount ΔV is a voltage amount. Similar to the first and second embodiments, the correction amount used in the voltage correction process when determining the value of the j-th bit in the digital output signal Dout is particularly referred to as the correction amount ΔV[j]. In the first step S132, since "j = N", the voltage correction process using the correction amount ΔV[N] is executed. The correction amount ΔV[j] may have a positive voltage value or a negative voltage value. The correction amounts ΔV[N] to ΔV[1] may be different from each other, and the correction amounts ΔV[N] to ΔV[1] may be different from each other. C[1] Some of the correction values ​​may be the same. However, at least the correction value ΔV C [N]~ΔV C [1] contains two or more correction amounts with different values.

[0122] When the voltage Va is corrected in the voltage correction process, the correction amount ΔV C [j] is added to generate the correction voltage Va (i.e., the original voltage Va and the correction amount ΔV C [j] is generated as a correction voltage Va, and the correction voltage Va is supplied as a voltage Vina to the inverting input terminal of the comparator 140, and the original voltage Vb is supplied as a voltage Vinb to the non-inverting input terminal of the comparator 140. When the voltage Vb is corrected in the voltage correction process, a correction amount ΔV C [j] is added to generate the correction voltage Vb (i.e., the original voltage Vb and the correction amount ΔV C The sum of [j] and the original voltage Va is generated as a correction voltage Vb), and the correction voltage Vb is supplied to the non-inverting input terminal of the comparator 140 as a voltage Vinb, and the original voltage Va is supplied to the inverting input terminal of the comparator 140 as a voltage Vina.

[0123] In step S133 following step S132, the control circuit 150 outputs the current comparison result signal S CMP (i.e., the comparison result signal S output from the comparator 140 in the state of the most recent step S132) CMP If the acquired value is "1" (Y in step S133), the process proceeds to step S134, whereas if the acquired value is "0" (N in step S133), the process proceeds to step S135.

[0124] In step S134, the control circuit 150 determines the value Rg[j] to be “0.” In step S135, the control circuit 150 determines the value Rg[j] to be “1.” After step S134 or S135, the process proceeds to step S136.

[0125] In step S136, the control circuit 150 checks whether the variable j is 1. If the variable j is not 1 (N in step S136), the process proceeds to step S137, where 1 is subtracted from the variable j, and the process returns to step S131 to repeat the process from step S131 onward. For example, in the first process of step S131, the control circuit 150 checks whether “Vb=V MAX / 2” control signal DAC IN is given to the DAC 120 (however, the actual voltage Vb may include an error). After that, if the value R[N] is determined to be “0”, the control circuit 150 performs the binary search in the second process of step S131 to obtain “Vb=V MAX / 4” control signal DAC IN is given to the DAC 120 (however, the actual voltage Vb may include an error). Conversely, if the value R[N] is determined to be “1”, then in the second processing of step S131, the control circuit 150 determines “Vb=3·V MAX / 4” control signal DAC IN is provided to the DAC 120 (however, the actual voltage Vb may include an error). In step S131 from the third time onwards, the voltage Vb is similarly adjusted based on the binary search method.

[0126] In addition, in the second processing of step S132, the correction amount used in the voltage correction processing is the correction amount ΔV C [N] to correction amount ΔV C [N-1], and in the third processing of step S132, the correction amount used in the voltage correction processing is the correction amount ΔV C [N-1] to correction amount ΔV C The same applies to step S132 from the fourth time onwards.

[0127] In the third embodiment, the process consisting of steps S131 to S135 is called a unit comparison operation. In this case, the successive comparison operation includes the first to Nth unit comparison operations. The unit comparison operation executed when "j=N" is the Nth unit comparison operation, the unit comparison operation executed when "j=N-1" is the (N-1)th unit comparison operation, ..., the unit comparison operation executed when "j=1" is the first unit comparison operation. In the jth unit comparison operation, a value Rg[j] is determined, that is, the value of the jth bit of the digital output signal Dout is determined.

[0128] If "j=1" in step S136 (Y in step S136), the successive approximation operation in Fig. 27 ends. At this stage, all of the values ​​Rg[1] to Rg[N] have been determined.

[0129] When the successive approximation operation is completed, the control circuit 150 performs a result output operation. In the result output operation, the control circuit 150 outputs a digital signal having values ​​Rg[1] to Rg[N] determined by the successive approximation operation as a digital output signal Dout. The digital output signal Dout is output to an arbitrary circuit (not shown) that uses the digital output signal Dout. The result output operation may be started during the execution of the successive approximation operation. That is, as soon as the value Rg[N] is determined by the successive approximation operation, the control circuit 150 may output the value Rg[N] in the digital output signal Dout. Similarly, as soon as the value Rg[N-1] is determined by the successive approximation operation, the control circuit 150 may output the value Rg[N-1] in the digital output signal Dout. The same applies to the values ​​Rg[N-2] to Rg[1].

[0130] In the AD converter 1C, similarly to the first embodiment, the voltage Vb fluctuates from the ideal due to various fluctuation factors, and the direction and magnitude of the fluctuation differs between the execution period of a certain unit comparison operation and the execution period of another unit comparison operation among the first to Nth unit comparison operations. For this reason, similarly to the first embodiment, a correction amount V C Set.

[0131] The third embodiment includes the following Examples EX3_1 and EX3_2. The matters described above in the third embodiment are applied to the following Examples EX3_1 and EX3_2 unless otherwise specified and unless there is a contradiction. However, in each example, the description in each example may take precedence over the matters that contradict the matters described above in the third embodiment.

[0132] [Example EX3_1] Example EX3_1 will be described. Fig. 28 is a partial configuration diagram of an AD converter 1C according to example EX3_1. In example EX3_1, a correction circuit 130_1 is used as the correction circuit 130. The correction circuit 130_1 corrects the voltage Va generated by the S / H circuit 110 in the voltage correction process. Therefore, in example EX3_1, in the successive approximation period, the voltage Vina is the correction voltage Va, and the voltage Vinb is the source voltage Vb.

[0133] The correction circuit 130_1 may be an adder inserted in series between the wiring WRa and the inverting input terminal of the comparator 140. In this case, during the execution period of the j-th unit comparison operation (see FIG. 27), the correction circuit 130_1 applies a correction amount ΔV C [j] is added to generate the correction voltage Va (i.e., the source voltage Va and the correction amount ΔV C During the execution period of the jth unit comparison operation, the sum of “ΔV C If [j]>0”, the correction amount ΔV C The correction voltage Va becomes higher than the original voltage Va by the magnitude of [j], and "ΔV C If [j]<0”, the correction amount ΔV C The correction voltage Va becomes lower than the original voltage Va by the magnitude of [j]. The correction control unit 152 controls the correction circuit 130_1 during the execution period of the j-th unit comparison operation to obtain a correction amount ΔV C Set [j] as desired.

[0134] [Example EX3_2] Example EX3_2 will be described. Fig. 29 is a partial configuration diagram of an AD converter 1C according to example EX3_2. In example EX3_2, a correction circuit 130_2 is used as the correction circuit 130. The correction circuit 130_2 corrects the voltage Vb generated by the DAC 120 in the voltage correction process. Therefore, in example EX3_2, in the successive approximation period, the voltage Vina is the source voltage Va, and the voltage Vinb is the correction voltage Vb.

[0135] The correction circuit 130_2 may be an adder inserted in series between the wiring WRb and the non-inverting input terminal of the comparator 140. In this case, during the execution period of the j-th unit comparison operation (see FIG. 27), the correction circuit 130_2 applies a correction amount ΔV C [j] is added to generate the correction voltage Vb (i.e., the source voltage Vb and the correction amount ΔV C During the execution period of the jth unit comparison operation, the sum of “ΔV C If [j]>0”, the correction amount ΔV C The correction voltage Vb becomes higher than the original voltage Vb by the magnitude of [j], and "ΔV C If [j]<0”, the correction amount ΔV C The correction voltage Vb is lower than the original voltage Vb by the magnitude of [j]. The correction control unit 152 controls the correction circuit 130_2 during the execution period of the j-th unit comparison operation to obtain the correction amount ΔV C Set [j] as desired.

[0136] <<Appendix 1>> The configuration of the DAC10 shown in Fig. 1 and the configurations of the DAC10P and 10N shown in Fig. 20 are merely examples. There are various forms of capacitor-type DACs, and as long as the DAC10, 10P, and 10N are capacitor-type DACs, their internal configurations can be modified in various ways. Therefore, for example, the DAC10 may be provided with one or more scaling capacitors (which may also be referred to as series capacitances). The same applies to the DAC10P and 10N.

[0137] The embodiments of the present disclosure can be modified in various ways as appropriate within the scope of the technical ideas set forth in the claims. The above embodiments are merely examples of the embodiments of the present disclosure, and the meanings of the terms of the present disclosure or each component are not limited to those described in the above embodiments. The specific numerical values ​​shown in the above description are merely examples, and can be changed to various numerical values ​​as a matter of course.

[0138] <<Appendix 2>> Regarding the present disclosure, specific configuration examples of which have been shown in the above-mentioned embodiments, additional notes will be provided.

[0139] A successive approximation type AD conversion circuit according to one aspect of the present disclosure is a successive approximation type AD conversion circuit (1A, 1B, 1C) configured to convert an analog input signal into a digital output signal, the successive approximation type AD conversion circuit (10, 10P, 110) configured to generate a first voltage (V1, Va) corresponding to the analog input signal, a second voltage generation circuit (20, 10N, 120) configured to generate a second voltage (V2, Vb) to be compared with the first voltage, a correction circuit (30, 130) configured to correct the first voltage or the second voltage in a successive approximation period in which a binary search is performed, and a comparison result signal (S CMP ), and a control circuit (50, 150) configured to determine a value of the digital output signal for each bit by binary search from the most significant bit to the least significant bit of the digital output signal based on the comparison result signal, wherein the control circuit determines a correction amount (ΔV C ) is set (first configuration).

[0140] This is expected to improve the accuracy of AD conversion (improved linearity, etc.).

[0141] In the successive approximation type AD conversion circuit according to the first configuration (see FIG. 1 ), the first voltage generation circuit (10) may have a capacitor array (11) and a switch array (12) connected to the capacitor array, and accumulates charge corresponding to the analog input signal in each capacitor in the capacitor array by connecting a wiring (WR_Ain) to which the analog input signal is applied to the capacitor array via the switch array during a sampling period, and generates the first voltage based on the accumulated charge in the capacitor array in a state in which a predetermined power supply voltage or ground voltage is supplied to each capacitor in the capacitor array via the switch array during the successive approximation period after the sampling period, and the control circuit may be configured to determine the value of the digital output signal for each bit based on the comparison result signal while controlling a state of the switch array in response to the comparison result signal during the successive approximation period (second configuration).

[0142] In the successive approximation type AD conversion circuit according to the second configuration (see FIG. 12), the second voltage generation circuit (20) may be a reference voltage source (20_1) configured to generate a predetermined reference voltage as the second voltage (third configuration).

[0143] In the successive approximation type AD conversion circuit according to the second configuration (see FIG. 13), the second voltage generation circuit (20) may be a DA conversion circuit (20_2) configured to generate the second voltage by converting a supplied digital signal into an analog signal (fourth configuration).

[0144] In the successive approximation type AD conversion circuit according to the first configuration (see FIG. 20), the analog input signal is a difference signal (Adif) between a first analog input signal (AinP) and a second analog input signal (AinN), the first voltage generation circuit (10P) has a first capacitor array (11) and a first switch array (12) connected to the first capacitor array, and accumulates charges corresponding to the first analog input signal in each capacitor in the first capacitor array by connecting a wiring (WR_AinP) to which the first analog input signal is applied to the first capacitor array via the first switch array during a sampling period, and generates the first voltage based on the accumulated charges in the first capacitor array in a state in which a predetermined power supply voltage or ground voltage is supplied to each capacitor in the first capacitor array via the first switch array during the successive approximation period after the sampling period, and The circuit (10N) may have a second capacitor array (11) and a second switch array (12) connected to the second capacitor array, and during the sampling period, a wiring (WR_AinN) to which the second analog input signal is applied is connected to the second capacitor array via the second switch array to accumulate charge corresponding to the second analog input signal in each capacitor in the second capacitor array, and during the successive approximation period, the second voltage is generated based on the accumulated charge in the second capacitor array while the power supply voltage or the ground voltage is supplied to each capacitor in the second capacitor array via the second switch array, and the control circuit may be configured to determine the value of the digital output signal for each bit based on the comparison result signal while controlling each state of the first switch array and the second switch array in accordance with the comparison result signal during the successive approximation period (fifth configuration).

[0145] In the successive approximation type AD conversion circuit according to the first configuration (see FIG. 26), the first voltage generation circuit (110) generates the first voltage by sampling and holding the analog input signal, the second voltage generation circuit (120) generates the second voltage by converting a digital control signal from the control circuit into an analog signal, and the control circuit (150) may be configured to determine the value of the digital output signal for each bit based on the comparison result signal while outputting the control signal corresponding to the comparison result signal to the second voltage generation circuit during the successive approximation period (sixth configuration).

[0146] In the successive approximation type AD conversion circuit according to any of the above first to sixth configurations (see, for example, FIG. 16), the two comparison input voltages may be the first voltage corrected by the correction circuit and the second voltage generated by the second voltage generation circuit (seventh configuration).

[0147] In the successive approximation type AD conversion circuit according to any of the above first to sixth configurations (see, for example, FIG. 17), the two comparison input voltages may be the first voltage generated by the first voltage generation circuit and the second voltage corrected by the correction circuit (eighth configuration).

[0148] In the successive approximation type AD conversion circuit according to the second configuration (see FIG. 18), the first voltage generation circuit generates the first voltage on a comparison line (WR1), and the correction circuit (30A_3) includes a correction capacitor (C C ) and a correction switch (S C ) having a correction unit circuit (U C ) and the first voltage may be corrected for each bit of the digital output signal using a plurality of correction unit circuits during the successive approximation period (ninth configuration).

[0149] This makes it possible to realize a correction circuit for the first voltage with a simple circuit that is adapted to the configuration of the first voltage generating circuit.

[0150] In the successive approximation type AD conversion circuit according to the ninth configuration, the correction circuit may be configured (tenth configuration) to set states of a plurality of correction switches to a reference state (see FIG. 19) during the sampling period, and then correct the first voltage by changing states of the plurality of correction switches from the reference state during the successive approximation period.

[0151] In the successive approximation type AD conversion circuit according to the fifth configuration (see FIG. 24), the first voltage generation circuit generates the first voltage on a comparison line (WR1), and the correction circuit (30B_3) includes a correction capacitor (C C ) and a correction switch (S C ) having a correction unit circuit (U C ) and the first voltage may be corrected for each bit of the digital output signal using a plurality of correction unit circuits during the successive approximation period (eleventh configuration).

[0152] This makes it possible to realize a correction circuit for the first voltage with a simple circuit that is adapted to the configuration of the first voltage generating circuit.

[0153] In the successive approximation type AD conversion circuit according to the eleventh configuration, the correction circuit may be configured to set states of a plurality of correction switches to a reference state during the sampling period, and then correct the first voltage by changing states of the plurality of correction switches from the reference state during the successive approximation period (twelfth configuration).

[0154] In the successive approximation type AD conversion circuit according to the fifth configuration (see FIG. 25), the second voltage generation circuit generates the second voltage on a comparison line (WR2), and the correction circuit (30B_4) includes a correction capacitor (C C ) and a correction switch (SC ) having a correction unit circuit (U C ) and the second voltage may be corrected for each bit of the digital output signal using a plurality of correction unit circuits during the successive approximation period (thirteenth configuration).

[0155] This makes it possible to realize a correction circuit for the second voltage with a simple circuit that is adapted to the configuration of the second voltage generating circuit.

[0156] In the successive approximation type AD conversion circuit according to the thirteenth configuration, the correction circuit may be configured to set states of a plurality of correction switches to a reference state during the sampling period, and then correct the second voltage by changing states of the plurality of correction switches from the reference state during the successive approximation period (fourteenth configuration). [Explanation of symbols]

[0157] 1A, 1B A / D Converter 10, 10P, 10N DAC 11 Capacitor Array 12 Switch Array S[1]~S[N] Switch C[1]~C[N] Capacitors 20 Voltage Generation Circuit 20_1 Reference voltage source 20_2 DAC 30, 30A_1 to 30A_3, 30B_1 to 30B_4 correction circuit 40 Comparator 50 Control circuit 51 Register 52 Correction control section S G , S GP , S GN switch WR1, WR2 comparison wiring VDD Power supply voltage V REF Reference Voltage V1, V2, Vin1, Vin2 voltages Ain, AinP, AinN Analog input signal Dout Digital output signal S CMP Comparison result signal Adif difference signal WR_Ain, WR_AinP, WR_AinN, WR_VDD, WR_GND wiring Ta, Tb, Tc switching terminal T COM Common Terminal 1C AD converter 110 S / H circuit 120DAC 130, 130_1, 130_2 Correction circuit 140 Comparator 150 Control circuit 151 Registers 152 Correction control section Va, Vb, Vina, Vinb voltages WRa, WRb comparison wiring

Claims

1. 1. A successive approximation type analog-to-digital converter circuit configured to convert an analog input signal into a digital output signal, comprising: a first voltage generating circuit configured to generate a first voltage responsive to the analog input signal; a second voltage generating circuit configured to generate a second voltage to be compared with the first voltage; a correction circuit configured to correct the first voltage or the second voltage during a successive approximation period in which a binary search is performed; a comparator configured to receive two comparison input voltages obtained through the correction in the correction circuit and generate a comparison result signal by comparing the two comparison input voltages; a control circuit configured to determine a value of the digital output signal for each bit by performing a binary search from a most significant bit to a least significant bit of the digital output signal based on the comparison result signal; The control circuit sets a correction amount in the correction circuit for each bit of the digital output signal during the successive approximation period. , a successive approximation type AD conversion circuit.

2. the first voltage generation circuit has a capacitor array and a switch array connected to the capacitor array, and accumulates charge corresponding to the analog input signal in each capacitor in the capacitor array by connecting a wiring to which the analog input signal is applied to the capacitor array via the switch array during a sampling period, and generates the first voltage based on the accumulated charge in the capacitor array in a state in which a predetermined power supply voltage or ground voltage is supplied to each capacitor in the capacitor array via the switch array during the successive approximation period after the sampling period, The control circuit controls a state of the switch array in response to the comparison result signal during the successive approximation period and determines a value of the digital output signal for each bit based on the comparison result signal.

2. The successive approximation type AD converter circuit according to claim 1.

3. The second voltage generating circuit is a reference voltage source configured to generate a predetermined reference voltage as the second voltage.

3. The successive approximation type AD converter circuit according to claim 2.

4. The second voltage generating circuit is a DA conversion circuit configured to generate the second voltage by converting a supplied digital signal into an analog signal.

3. The successive approximation type AD converter circuit according to claim 2.

5. the analog input signal is a difference signal between a first analog input signal and a second analog input signal; the first voltage generation circuit has a first capacitor array and a first switch array connected to the first capacitor array, and accumulates charge corresponding to the first analog input signal in each capacitor in the first capacitor array by connecting a wiring to which the first analog input signal is applied to the first capacitor array via the first switch array during a sampling period, and generates the first voltage based on the accumulated charge in the first capacitor array in a state in which a predetermined power supply voltage or a ground voltage is supplied to each capacitor in the first capacitor array via the first switch array during the successive approximation period after the sampling period, the second voltage generation circuit has a second capacitor array and a second switch array connected to the second capacitor array, and accumulates charge corresponding to the second analog input signal in each capacitor in the second capacitor array by connecting a wiring to which the second analog input signal is applied to the second capacitor array via the second switch array during the sampling period, and generates the second voltage based on the accumulated charge in the second capacitor array in a state in which the power supply voltage or the ground voltage is supplied to each capacitor in the second capacitor array via the second switch array during the successive approximation period; The control circuit controls each state of the first switch array and the second switch array in response to the comparison result signal during the successive approximation period, and determines a value of the digital output signal for each bit based on the comparison result signal.

2. The successive approximation type AD converter circuit according to claim 1.

6. the first voltage generating circuit generates the first voltage by sampling and holding the analog input signal; the second voltage generating circuit generates the second voltage by converting a digital control signal from the control circuit into an analog signal; The control circuit determines a value of the digital output signal for each bit based on the comparison result signal while outputting the control signal corresponding to the comparison result signal to the second voltage generating circuit during the successive approximation period.

2. The successive approximation type AD converter circuit according to claim 1.

7. The two comparison input voltages are the first voltage corrected by the correction circuit and the second voltage generated by the second voltage generation circuit.

7. The successive approximation type AD converter circuit according to claim 1.

8. The two comparison input voltages are the first voltage generated by the first voltage generating circuit and the second voltage corrected by the correction circuit.

7. The successive approximation type AD converter circuit according to claim 1.

9. the first voltage generating circuit generates the first voltage on a comparison line; The correction circuit includes a plurality of correction unit circuits each including a correction capacitor having a first end connected to the comparison wiring and a correction switch for applying the power supply voltage or the ground voltage to a second end of the correction capacitor, and corrects the first voltage for each bit of the digital output signal using the plurality of correction unit circuits during the successive approximation period.

3. The successive approximation type AD converter circuit according to claim 2.

10. The correction circuit sets states of the correction switches to a reference state during the sampling period, and then corrects the first voltage by changing states of the correction switches from the reference state during the successive approximation period.

10. The successive approximation type AD converter circuit according to claim 9.

11. the first voltage generating circuit generates the first voltage on a comparison line; The correction circuit includes a plurality of correction unit circuits each including a correction capacitor having a first end connected to the comparison wiring and a correction switch for applying the power supply voltage or the ground voltage to a second end of the correction capacitor, and corrects the first voltage for each bit of the digital output signal using the plurality of correction unit circuits during the successive approximation period.

6. The successive approximation type AD converter circuit according to claim 5.

12. The correction circuit sets states of the correction switches to a reference state during the sampling period, and then corrects the first voltage by changing states of the correction switches from the reference state during the successive approximation period.

12. The successive approximation type AD converter circuit according to claim 11.

13. the second voltage generating circuit generates the second voltage on a comparison line; The correction circuit includes a plurality of correction unit circuits, each of which includes a correction capacitor having a first end connected to the comparison wiring and a correction switch that applies the power supply voltage or the ground voltage to a second end of the correction capacitor, and corrects the second voltage for each bit of the digital output signal using the plurality of correction unit circuits during the successive approximation period.

6. The successive approximation type AD converter circuit according to claim 5.

14. The correction circuit sets states of the correction switches to a reference state during the sampling period, and then corrects the second voltage by changing states of the correction switches from the reference state during the successive approximation period.

14. The successive approximation type AD converter circuit according to claim 13.

Citation Information

Patent Citations

  • Successive approximation register type analog-digital converter and operation method thereof

    JP2019080292A