US12136931B2 - Semiconductor device, analog-to-digital converter and analog-to-digital converting method - Google Patents
Semiconductor device, analog-to-digital converter and analog-to-digital converting method Download PDFInfo
- Publication number
- US12136931B2 US12136931B2 US17/983,576 US202217983576A US12136931B2 US 12136931 B2 US12136931 B2 US 12136931B2 US 202217983576 A US202217983576 A US 202217983576A US 12136931 B2 US12136931 B2 US 12136931B2
- Authority
- US
- United States
- Prior art keywords
- dac
- successive
- analog
- bit
- digital
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 239000004065 semiconductor Substances 0.000 title claims abstract description 13
- 238000006243 chemical reaction Methods 0.000 claims abstract description 101
- 238000012935 Averaging Methods 0.000 claims abstract description 40
- 230000008569 process Effects 0.000 claims abstract description 34
- 238000012937 correction Methods 0.000 claims abstract description 31
- 230000000052 comparative effect Effects 0.000 claims abstract description 29
- 238000005070 sampling Methods 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims description 7
- 239000003990 capacitor Substances 0.000 description 30
- 238000010586 diagram Methods 0.000 description 10
- 230000007704 transition Effects 0.000 description 8
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000000717 retained effect Effects 0.000 description 3
- 230000035508 accumulation Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
- H03M1/46—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter
- H03M1/462—Details of the control circuitry, e.g. of the successive approximation register
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
- H03M1/0634—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by averaging out the errors, e.g. using sliding scale
- H03M1/0636—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by averaging out the errors, e.g. using sliding scale in the amplitude domain
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
- H03M1/0675—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence using redundancy
- H03M1/069—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence using redundancy by range overlap between successive stages or steps
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/10—Calibration or testing
- H03M1/1009—Calibration
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/34—Analogue value compared with reference values
- H03M1/38—Analogue value compared with reference values sequentially only, e.g. successive approximation type
- H03M1/46—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter
- H03M1/466—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors
- H03M1/468—Analogue value compared with reference values sequentially only, e.g. successive approximation type with digital/analogue converter for supplying reference values to converter using switched capacitors in which the input S/H circuit is merged with the feedback DAC array
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/66—Digital/analogue converters
- H03M1/74—Simultaneous conversion
- H03M1/76—Simultaneous conversion using switching tree
- H03M1/765—Simultaneous conversion using switching tree using a single level of switches which are controlled by unary decoded digital signals
Definitions
- the present invention relates to a semiconductor device, and is applicable to a semiconductor device comprising, for example, a successive-approximation analog-to-digital (AD) converter.
- AD analog-to-digital
- a microcontroller, a system-on-a-chip (SoC) or the like comprises an AD converter configured to convert an analog signal input from an external device into a digital signal to be processed by an internal central processing unit (CPU).
- CPU central processing unit
- the successive-approximation AD converter mainly comprises a digital-to-analog converter (DAC), a comparator, a successive-approximation logic circuit and the like.
- the successive-approximation AD converter samples the input analog signal, and performs a successive-approximation process on a sampling value to output a digital signal as a result of the successive approximation.
- Patent Document 1 discloses a configuration in which a reference voltage is generated based on an expected value of an AD conversion process, and in which the reference voltage is supplied to the comparator configured to perform the successive-approximation process. A value obtained by averaging multiple AD conversion results is used as the expected value.
- AD conversion is successively performed multiple times on the same channel of a channel-selective analog input, and an average of the obtained conversion values is retained in a data register. Using the resulting average value may improve precision of the AD conversion depending of the noise component. However, sampling and successive-approximation processes are performed multiple times, causing an increase in processing time.
- the semiconductor device comprises a port to which an analog input signal is input, and a successive-approximation AD converter configured to perform a process of sampling the analog input signal and a successive-approximation process, execute an AD conversion process, and output a digital output signal.
- the AD converter comprises: an upper DAC; a redundant DAC; a lower DAC; a comparator configured to compare a comparative reference voltage and output voltages of the upper DAC, the redundant DAC and the lower DAC; a control circuit configured to control successive approximations by the upper DAC, the redundant DAC and the lower DAC based on the comparison result of the comparator and generate a digital output signal; and a correction circuit.
- the correction circuit comprises an error correction circuit configured to correct an error of an upper bit with a redundant bit, and an averaging circuit configured to calculate an average value of conversion values of a plurality of the lower bits supplied multiple times.
- FIG. 1 is a block diagram showing a configuration example of a microcontroller in an embodiment.
- FIG. 2 is a block diagram schematically showing a configuration of an AD converter in a comparative example.
- FIG. 3 is a block diagram showing a configuration example of an averaging circuit shown in FIG. 2 .
- FIG. 4 is a flowchart showing an overview of an operation of the AD converter shown in FIG. 2 .
- FIG. 5 is a drawing showing a configuration example of the AD converter in the embodiment.
- FIG. 6 is a block diagram showing a configuration example of a correction circuit shown in FIG. 5 .
- FIG. 7 is a block diagram showing a configuration example of an averaging circuit shown in FIG. 6 .
- FIG. 8 is a flowchart showing an overview of an operation of the AD converter shown in FIG. 5 .
- FIG. 9 is a drawing showing a digital code transition in a correct AD conversion in a case of the comparative example without a redundant DAC.
- FIG. 10 is a drawing showing a digital code transition in an incorrect AD conversion in a case of the comparative example without the redundant DAC.
- FIG. 11 is a drawing showing a digital code transition in an AD conversion in a case of the embodiment with the redundant DAC.
- FIG. 12 is a drawing describing conversion operation times in the comparative example and the embodiment.
- FIG. 1 is a block diagram showing a configuration example of a microcontroller in the present embodiment.
- the microcontroller is given as an example of a semiconductor device, and may be another semiconductor device including an AD converter of the present embodiment.
- a microcontroller 1 in the present embodiment comprises a central processing unit (CPU) 2 , a ROM 3 , a RAM 4 , an AD converter (ADU) 5 , other peripheral circuits (PRP) 6 , a bus 7 , and an analog port 8 .
- CPU central processing unit
- ROM 3 read-only memory
- RAM 4 random access memory
- ADU AD converter
- PRP peripheral circuits
- the CPU 2 , the ROM 3 , the RAM 4 , and the peripheral circuits 6 are connected to one another via the bus 7 .
- the AD converter 5 has an input terminal connected to the analog port 8 , and an output terminal connected to the bus 7 .
- the CPU 2 is an arithmetic processor configured to achieve functions necessary for the microcontroller 1 .
- the ROM 3 is a non-volatile memory such as a flash memory in which various programs to be executed by the CPU 2 are stored.
- the RAM 4 is a volatile memory such as an SRAM in which data handled by the CPU 2 are stored. The CPU 2 accesses the ROM 3 and the RAM 4 to execute the various programs, and executes an arithmetic process on AD conversion results obtained by the AD converter 5 and input/output signals of the peripheral circuits 6 .
- the AD converter 5 comprises a successive-approximation AD converter (ADC) 50 , an analog multiplexer (MUX) 51 , a control register (CR) 52 , a data register (DR) 53 , and a bus interface (BUS I/F).
- ADC successive-approximation AD converter
- MUX analog multiplexer
- CR control register
- DR data register
- BUS I/F bus interface
- the AD converter 50 performs the AD conversion on an analog input signal (AVin) input from the analog port 8 via the analog multiplexer 51 , and outputs a digital output signal which is an AD conversion result to the data register 53 .
- the analog multiplexer 51 selects one analog port among a plurality of analog ports, and inputs the analog signal to the AD converter 50 .
- the data register 53 retains the AD conversion result, and the CPU 2 can read contents of the data register 53 via the bus 7 and the bus interface 54 .
- the control register 52 retains control information of the AD converter 5 written from the CPU 20 , and the CPU 2 can write to the control register 52 and read the contents of the control register 52 via the bus 7 and the bus interface 54 .
- FIG. 2 is a block diagram schematically showing the configuration of the AD converter in the comparative example.
- FIG. 3 is a block diagram showing a configuration example of an averaging circuit shown in FIG. 2 .
- the AD converter 50 has a control circuit (CNTR) 501 , a local digital-to-analog converter (DAC) 502 , a sample-and-hold circuit (S/H) 503 , a comparator 504 , and an averaging circuit (AVRG) 520 .
- the AD converter 50 is configured as an (M+N) bit AD converter.
- M and N are integers of 2 or more.
- the analog signal (AVin) is input to the AD converter 50 .
- the AD converter 50 performs successive approximation (binary search) on the analog signal (AVin) to perform the AD conversion on the analog signal (AVin) and output a digital output signal (bout).
- the control circuit 501 controls operations of the local DAC 502 , the sample-and-hold circuit 503 and the averaging circuit 520 .
- the control circuit 501 outputs a digital code value (D[1:M+N]) to the local DAC 502 for performing the successive approximation (binary search) on the analog signal (AVin).
- the local DAC 502 performs a DA conversion separately on an upper N-bit and a lower M-bit.
- the control circuit 501 separates the digital code value (D[1:M+N]) into an upper bit D[M+1:N] and a lower bit D[1:M], and outputs them to the local DAC 502 .
- control circuit 501 stores the digital code value (D[1:M+N]) obtained by performing the successive approximation (binary search) in a successive-approximation register (SAR) 510 , and outputs it to the averaging circuit 520 .
- the local DAC 502 performs the DA conversion on the digital code value (D[1:M+N]) from the control circuit 501 into an analog signal, and outputs the converted signal to the comparator 504 .
- the local DAC 502 has a capacitive DAC (CDAC) as an upper DAC, and a resistive DAC (RDAC) as a lower DAC.
- the capacitive DAC converts the upper bit D[M+1:N] into an analog signal by a thermometer code control.
- the resistive DAC performs the DA conversion on the lower bit D[1:M].
- a first reference voltage (Vrh) and a second reference voltage (Vrl) are supplied to the local DAC 502 .
- An output of the local DAC 502 is connected to an inverting input terminal of the comparator 504 .
- the sample-and-hold circuit 503 is configured of a sampling capacitor and an analog switch.
- the sample-and-hold circuit 503 is a circuit configured to sample the analog signal (AVin) input from the analog multiplexer 51 and hold it during the AD conversion.
- the sample-and-hold circuit 503 outputs the sampled signal to the comparator 504 .
- the comparator 504 compares outputs of the local DAC 502 and the sample-and-hold circuit 503 , and outputs the comparison result to the control circuit 501 .
- the averaging circuit 520 is configured of an accumulator circuit (ACCM) 521 , a division circuit (1/n) 522 , and a register (RGST) 523 .
- the accumulator circuit 521 is configured of an adder and a register.
- the conversion value is repeatedly input multiple times (n number of times) from the successive-approximation register 510 of the control circuit 501 .
- n is any integer, and the larger the value given, the more an effect of random noise is reduced without requiring a longer time for correction.
- the accumulator circuit 521 accumulates the input n number of conversion values to obtain a total value, and outputs it to the division circuit 522 .
- the division circuit 522 divides the input total value by n to calculate the average value of the conversion values, and the average value is retained in the register 523 .
- the register 523 retains the final corrected conversion value.
- FIG. 4 is a flowchart showing an overview of the operation of the AD converter in the comparative example.
- the AD converter 50 samples the analog input signal (AVin) in the sample-and-hold circuit 503 .
- the AD converter 50 performs the successive approximation by the upper DAC of the local DAC 502 .
- This successive approximation is referred to as a primary successive approximation.
- the control circuit 501 sequentially controls a successive-approximation control signal such that a voltage of the upper DAC matches a voltage of the analog signal output from the sample-and-hold circuit 503 , and the comparator 504 performs a comparison N number of times.
- the control circuit 501 sequentially controls the successive-approximation control signal, and the comparator 504 performs a comparison M number of times. When the lower DAC is used to perform the comparison M number of times, the AD conversion result of an (N+M) bit is obtained.
- the control circuit 501 stores the AD conversion result in the successive-approximation register 510 . Then, the control circuit 501 outputs the contents of the successive-approximation register 510 to the accumulator circuit 521 of the averaging circuit 520 .
- the control circuit 501 repeats processes P 1 to P 3 a predetermined number of times (n number of times). As a result, the accumulator circuit 521 accumulates AD conversion values of the n number of times.
- the division circuit 522 of the averaging circuit 520 divides the AD conversion value accumulated by the accumulator circuit 521 by the number of accumulations (n) to calculate the average value, and stores the average value in the register 523 .
- the averaging circuit 520 outputs the corrected conversion value to the data register 53 .
- the AD converter 50 in the comparative example supplies the conversion value obtained by the AD conversion corresponding to a predetermined analog value to the averaging circuit 520 multiple times, and the averaging circuit 520 calculates the average value of the plurality of conversion values supplied multiple times to calculate the corrected conversion value.
- the AD conversion by the AD converter in the comparative example includes the sampling (process P 1 ), the primary successive approximation (process P 2 ), the secondary successive approximation (process P 3 ), and the averaging process (process P 4 ).
- a period of the primary successive approximation is a period in which the upper bit is determined
- a period of the secondary successive approximation is a period in which the lower bit is determined.
- a period of the averaging process is significantly shorter than the periods of the primary successive approximation and the secondary successive approximation.
- the processing time would be n times longer than that of the AD conversion in which the averaging process is not performed.
- the AD conversion is performed on the same input signal (same potential), whereby the second and subsequent sampling processes are unnecessary.
- precision (guaranteed specification) of the AD converter is generally determined by precision of the secondary successive approximation that determines the lower bit.
- the averaging process to obtain high precision is such that only the conversion in which the secondary successive approximation for determining the lower bits is repeated is performed, and the primary successive approximation for determining the upper bit is omitted.
- the AD converter in the present embodiment will be described in detail.
- FIG. 5 is a drawing showing a configuration example of the successive-approximation AD converter in the present embodiment.
- the successive-approximation AD converter 50 in the present embodiment comprises the control circuit (CNTR) 501 , the local DAC 502 , the comparator 504 , and a correction circuit (CRRC) 530 .
- the local DAC 502 is configured of a capacitive DAC 502 a and a resistive DAC 502 b .
- the capacitive DAC 502 a is configured of an upper DAC corresponding to the upper DAC in the comparative example, and a redundant DAC not present in the comparative example.
- the resistive DAC 502 b corresponds to the lower DAC in the comparative example.
- the capacitive DAC 502 a is a DAC configured to sample the analog input signal and redistribute the sampled charge.
- the capacitive DAC 502 a also serves as a sampling circuit.
- the capacitive DAC 502 a comprises a plurality of capacitors CN, . . . , C 0 , CR, and a plurality of switches SN, . . . , S 0 , SR.
- the plurality of capacitors CN, . . . , C 0 , CR are connected in parallel between a node NP and the plurality of switches SN, . . . , S 0 , SR.
- the node NP is a node connected to one of the input terminals of a pre-amplifier 504 a of the comparator 504 .
- the switches SN, . . . , S 1 are connected between the capacitors CN, . . . , C 1 and an input terminal 507 a of the analog input signal (AVin), a supply terminal 507 b of the first reference voltage (Vrh) and a supply terminal 507 c of the second reference voltage (Vrl).
- the switch S 0 is connected between the capacitor C 0 and the input terminal 507 a of the analog input signal (AVin), the supply terminal 507 b of the first reference voltage (Vrh) and an output terminal 507 d of the resistive DAC 502 b .
- the switch SR is connected between the capacitor CR and the input terminal 507 a of the analog input signal (AVin), the supply terminal 507 b of the first reference voltage (Vrh) and the supply terminal 507 c of the second reference voltage (Vrl).
- Switching of the switches SN, . . . , S 0 , SR are respectively controlled by a plurality of successive-approximation control signals that are outputs of the control circuit 501 .
- the switches SN, . . . , S 1 , SR switch the connections between the capacitors CN, . . . , C 1 , CR and the first reference voltage (Vrh), the second reference voltage (Vrl) and the analog input signal (AVin) according to the plurality of successive-approximation control signals.
- the switch S 0 switches the connection between the capacitor C 0 and the analog input signal (AVin), the first reference voltage (Vrh) and an output signal of the resistive DAC 502 b according to the successive-approximation control signal.
- the resistive DAC 502 b is an M-bit DAC configured to perform the DA conversions on the plurality of successive-approximation control signals that are outputs of the control circuit 501 , and supply the DA-converted analog signal to the capacitor C 0 via the switch S 0 .
- the resistive DAC 502 b (and the capacitor C 0 ) performs the DA conversion corresponding to the lower bit (M-bit) of the digital output signal.
- the capacitor (coupling capacitor) C 0 and the switch (coupling switch) S 0 may or may not be included in the resistive DAC 502 b .
- the capacitor C 0 is a reference capacitor and its capacitance is denoted by Ck. The capacitance is the same as that of the capacitor of the least significant bit of the upper DAC.
- the upper DAC is an N-bit DAC, and comprises the capacitors CN, . . . , C 1 (upper capacitor group) and the switches SN, . . . , S 1 (upper switch group).
- the capacitors CN, . . . , C 1 each have a capacitance weighted by the reference capacitor C 0 to the power of 2.
- the capacitance of the capacitor C 1 at a lowest bit position is Ck
- the capacitance of the capacitor CN at a highest bit position is 2 N-1 ⁇ Ck.
- the upper DAC samples the analog input signal (AVin) and performs the DA conversion corresponding to the upper bit (N-bit) of the digital output signal according to the successive-approximation control signal.
- the redundant DAC is a 1-bit DAC for providing redundancy to the least significant bit of the upper DAC, and comprises the capacitor (redundant capacitor) CR and the switch (redundant switch) SR.
- the capacitor CR corresponds to the least significant bit of the upper DAC and has the same capacitance as the capacitor C 1 . That is, the capacitance of the capacitor CR is set to Ck.
- the comparator 504 is configured of the pre-amplifier 504 a and a binarization circuit 504 b .
- the comparator 504 compares a reference voltage (Vcm) and output voltages of the capacitive DAC 502 a and the resistive DAC 502 b .
- the comparator 504 has one input terminal connected to the capacitors CN, . . . , C 0 , CR, the other input terminal connected to the reference voltage (Vcm), and the output terminal connected to the control circuit 501 .
- the pre-amplifier 504 a has a switch connected between one input terminal (node NP) and one output terminal, and a switch connected between the other input terminal (reference voltage (Vcm)) and the other output terminal.
- the switch of the pre-amplifier 504 a is turned on or off by the control circuit 501 .
- the switch of the pre-amplifier 504 a is turned on, whereby the comparator 504 does not perform any comparison.
- the switch is turned off, whereby the comparator 504 compares the charge redistributed by the capacitors CN, . . . , C 0 , CR and the reference voltage (Vcm), and outputs the comparison result to the control circuit 501 .
- the control circuit 501 controls the successive approximation by the successive-approximation control signal based on the comparison result of the comparator 504 .
- the control circuit 501 stores an N-bit AD conversion result which is a digital output signal in an upper register (SARU) 511 and outputs it to the correction circuit 530 according to the result of the successive approximation by the upper DAC.
- the control circuit 501 stores the 1-bit AD conversion result which is a digital output signal in a redundant register (SARR) 512 and outputs it to the correction circuit 530 according to the result of the successive approximation by the redundant DAC.
- the control circuit 501 outputs an M-bit AD conversion result which is a digital output signal to the correction circuit 530 according to the result of the successive approximation by the lower DAC.
- FIG. 6 is a block diagram showing a configuration example of the correction circuit shown in FIG. 5 .
- the correction circuit 530 comprises an error correction circuit (ECL) 531 , an averaging circuit (AVRG) 535 , and a successive-approximation register (SAR) 539 .
- ECL error correction circuit
- AVRG averaging circuit
- SAR successive-approximation register
- the error correction circuit (ECL) 531 is configured of an appearance-count determination circuit (ACDC) 532 , a correction circuit (CRRT) 533 , and a register (RGST) 534 .
- ACDC appearance-count determination circuit
- CRRT correction circuit
- RGST register
- the conversion value is repeatedly input multiple times (m number of times) from the redundant register 512 of the control circuit 501 .
- m is an odd number of 3 or more, and the larger the value given, the more the effect of random noise is reduced without requiring a longer time for correction.
- the appearance-count determination circuit 532 counts the number of times “1” and “0” representing the input m number of conversion values appeared, and outputs the value with the larger number of appearances.
- the correction circuit 533 corrects the least significant bit of the conversion value input from the upper register 511 of the control circuit 501 to the value output from the appearance-count determination circuit 532 .
- the averaging circuit 535 has a configuration similar to that of the averaging circuit 520 in the comparative example, and is configured of an accumulator circuit (ACCM) 536 , a division circuit (1/n) 537 , and a register (RGST) 538 .
- the accumulator circuit 536 is configured of an adder and a register.
- the conversion value is repeatedly input multiple times (n number of times) from a lower register (SARL) 513 of the control circuit 501 .
- SARL lower register
- the accumulator circuit 536 accumulates the input n number of conversion values to obtain a total value, and outputs it to the division circuit 537 .
- the division circuit 537 divides the input total value by n to calculate the average value of the conversion values, and the average value is retained in the register 538 .
- the register 538 retains the final corrected conversion value.
- FIG. 7 is a block diagram showing a configuration example of the averaging circuit.
- the averaging circuit 535 is configured of an adder (ADDR) 536 a , a bit shift circuit (SHFT) 537 a , and a register (RGST) 538 a .
- the accumulator circuit 536 is configured of the adder 536 a and the register 538 a .
- the register 538 a has a function to clear the contents.
- FIG. 8 is a flowchart showing an overview of an operation of the AD converter in the present embodiment.
- the AD converter 50 samples the analog input signal (AVin).
- the switches SN, . . . , S 0 all select an analog input side by control of the successive-approximation control signal.
- the switch of the pre-amplifier 504 a is turned on, whereby the node NP is connected to an output of the pre-amplifier 504 a .
- the capacitor CR of the redundant DAC selects the analog input side.
- the AD converter 50 performs the successive approximation operation.
- the switch of the pre-amplifier 504 a is turned off, whereby the node NP is disconnected from the output of the pre-amplifier 504 a .
- the AD converter 50 transitions to a successive-approximation state
- the control circuit 501 controls the successive-approximation control signal to an initial comparison code, and the switches SN, . . . , S 0 are switched according to the initial comparison code.
- the switch SN is set to the VrefH side, and the remaining switches SN ⁇ 1, . . . , S 0 are set to the VrefL side.
- the switch SR is set to the reference voltage (VrefL) side.
- the control circuit 501 sequentially controls the successive-approximation control signal such that the voltage of the node NP matches the reference voltage (Vcm), and the comparator 504 performs the comparison N number of times.
- the upper DAC is used in this manner to perform the comparison N number of times, the N-bit AD conversion result is obtained.
- This AD conversion result is stored in the upper register 511 .
- the control circuit 501 switches the successive-approximation control signal such that the setting of switch SR transitions from the second reference voltage (Vrl) to the first reference voltage (Vrh).
- the control circuit 501 maintains the setting of the switch SR at the second reference voltage (Vrl), and the successive approximation by the redundant DAC is performed m number of times.
- the relevant bit is determined by the number of appearances, and an error determination of the comparator at the upper bit level is corrected. Details will be described below.
- the successive-approximation control signal sets the output of the lower DAC 502 b to a value of (Vrh ⁇ Vrl)/2.
- the control circuit 501 sequentially controls the successive-approximation control signal, and the comparator 504 performs the comparison M number of times.
- the M-bit AD conversion result is obtained. This AD conversion result is stored in the lower register 513 .
- the control circuit 501 outputs the contents of the lower register 513 to an accumulator circuit 541 of an averaging circuit 540 .
- the control circuit 501 repeats the process P 3 n number of times.
- the accumulator circuit 521 accumulates the AD conversion values of the n number of times.
- the division circuit 537 of the averaging circuit 535 divides the AD conversion value accumulated by the accumulator circuit 536 by the number of accumulations (n) to calculate the average value, and stores the average value in the register 538 .
- the averaging circuit 535 merges the corrected conversion value into the lower bit of the successive-approximation register 539 .
- FIG. 9 is a drawing showing a digital code transition in the AD conversion for the comparative example with no redundant DAC and in a case where bit 3 of the least significant bit of the upper DAC is correct.
- FIG. 10 is a drawing showing the digital code transition in the AD conversion for the comparative example with no redundant DAC and in a case where bit 3 of the least significant bit of the upper DAC is incorrect. The following description is based on a case where the averaging process is performed four times in the secondary successive approximation (SC 2 ).
- bit 3 which is the least significant bit of upper DAC is “0” and is correct data.
- bit 2 is “1”, bit 1 is “1”, and bit 0 is “1”.
- bit 2 is “1”, bit 1 is “1”, and bit 0 is “0”.
- bit 2 is “1”, bit 1 is “0”, and bit 0 is “1”.
- bit 2 is “1”, bit 1 is “1”, and bit 0 is “1”. These are averaged to obtain an output potential (Vout). This ensures that the output potential (Vout) is equivalent to the analog input signal (AVin), and that an ideal input signal potential can be obtained.
- bit 3 which is the least significant bit of the upper DAC is “1” and is incorrect data.
- bit 2 In the first secondary successive approximation (SC 2 ), bit 2 is “0”, bit 1 is “0”, and bit 0 is “0”.
- bit 2 In the second secondary successive approximation (SC 2 ), bit 2 is “0”, bit 1 is “0”, and bit 0 is “1”.
- bit 2 In the third secondary successive approximation (SC 2 ), bit 2 is “0”, bit 1 is “0”, and bit 0 is “0”.
- bit 2 In the fourth secondary successive approximation (SC 2 ), bit 2 is “0”, bit 1 is “0”, bit 0 is “0”. These are averaged to obtain an input signal potential (Vavr). However, if the least significant bit of the DAC is incorrect, the output potential (Vout) would not be close to the analog input signal (AVin) even after the averaging is performed.
- FIG. 11 is a drawing showing the digital code transition in the AD conversion in a case of the present embodiment having the redundant DAC.
- Determination is performed on the least significant bit of the upper DAC in the primary successive approximation (SC 1 ) multiple times by the redundant DAC to retrieve the least significant bit.
- SC 1 primary successive approximation
- the first determination result is “1”
- the second determination result is “0”
- the third determination result is “1”
- the fourth determination result is “0”
- the fifth determination result is “0”.
- Determination of “0” is made three times, and determination of “1” is made twice.
- the data of bit 3 is determined according to which of “0” or “1” appeared more. In the present example, the data of bit 3 is set to “0” since the number of times “0” appeared is greater. In this manner, it is possible to reduce errors in the least significant bit of the upper DAC.
- the secondary successive approximation (SC 2 ) is performed in a similar manner as shown in FIG. 9 , the output potential (Vout) becomes equivalent to the analog input signal (AVin), and an ideal input signal potential can be obtained. Therefore, it is preferable to correct the least significant bit of the upper DAC by the redundant DAC.
- FIG. 12 is a drawing describing conversion operation times in the comparative example and the present embodiment.
- the sampling, the primary successive approximation and the secondary successive approximation are performed a predetermined number of times (n number of times), and then the averaging process is performed.
- n number of times the number of times
- the secondary successive approximation operation to determine the lower bit is repeatedly performed.
- the redundant bit successive approximation is executed m number of times, the relevant bit is determined by the number of appearances, and the error determination of the comparator at the upper bit level is corrected.
- the period of the sampling, the period of the primary successive approximation and the period of the redundant bit successive approximation are omitted in the second and subsequent AD conversions, whereby the AD conversion operation time of the averaging process can be significantly shortened.
- the averaging process is performed only for the lower bit side (secondary successive approximation), whereby sampling errors and systematic variations of the DAC remain, but a false determination of the comparator on the secondary successive approximation side and a false determination caused by voltage fluctuations in the power supply line can be suppressed as much as possible.
- a method which uses the AD converter capable of successively performing the AD conversions to perform the AD conversion four times and which obtains the average is given as an example.
- the present embodiment can have a shorter conversion operation time than the comparative example.
- the conversion operation time of the present embodiment is one-fourth of the conversion operation time of the comparative example.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
-
- [Patent Document 1] Japanese Unexamined Patent Application Publication No. 2017-17665
t=n*(t1+t2+t3) (1)
t=t1+t2+t4+n*t3 (2)
t=4*(period of P1(t1)+period of P2(t2)+period of P3(t3)).
t=period of P1(t1)+period of P2(t2)+period of P4 (t4)+4*(period of P3(t3)).
-
- from the above-described equation (1) for the comparative example, t=560 (cycles); and
- from the above-described equation (2) for the present embodiment, t=140 (cycles).
Claims (7)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021182896A JP2023070600A (en) | 2021-11-09 | 2021-11-09 | Semiconductor device, AD converter and AD conversion method |
JP2021-182896 | 2021-11-09 |
Publications (2)
Publication Number | Publication Date |
---|---|
US20230147156A1 US20230147156A1 (en) | 2023-05-11 |
US12136931B2 true US12136931B2 (en) | 2024-11-05 |
Family
ID=86228560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/983,576 Active 2043-05-11 US12136931B2 (en) | 2021-11-09 | 2022-11-09 | Semiconductor device, analog-to-digital converter and analog-to-digital converting method |
Country Status (3)
Country | Link |
---|---|
US (1) | US12136931B2 (en) |
JP (1) | JP2023070600A (en) |
CN (1) | CN116112019A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114944843A (en) * | 2022-05-16 | 2022-08-26 | 苏州芈图光电技术有限公司 | Signal digitization method and device based on ADC circuit |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7605741B2 (en) * | 2005-12-08 | 2009-10-20 | Analog Devices, Inc. | Digitally corrected SAR converter including a correction DAC |
US8164504B2 (en) * | 2010-03-16 | 2012-04-24 | Electronics And Telecommunications Research Institute | Successive approximation register analog-digital converter and method for operating the same |
JP2017017665A (en) | 2015-06-30 | 2017-01-19 | ルネサスエレクトロニクス株式会社 | AD converter, AD conversion method |
US9692441B2 (en) | 2015-06-30 | 2017-06-27 | Renesas Electronics Corporation | AD converter and AD conversion method |
-
2021
- 2021-11-09 JP JP2021182896A patent/JP2023070600A/en active Pending
-
2022
- 2022-11-08 CN CN202211394444.9A patent/CN116112019A/en active Pending
- 2022-11-09 US US17/983,576 patent/US12136931B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7605741B2 (en) * | 2005-12-08 | 2009-10-20 | Analog Devices, Inc. | Digitally corrected SAR converter including a correction DAC |
US8164504B2 (en) * | 2010-03-16 | 2012-04-24 | Electronics And Telecommunications Research Institute | Successive approximation register analog-digital converter and method for operating the same |
JP2017017665A (en) | 2015-06-30 | 2017-01-19 | ルネサスエレクトロニクス株式会社 | AD converter, AD conversion method |
US9692441B2 (en) | 2015-06-30 | 2017-06-27 | Renesas Electronics Corporation | AD converter and AD conversion method |
Also Published As
Publication number | Publication date |
---|---|
CN116112019A (en) | 2023-05-12 |
JP2023070600A (en) | 2023-05-19 |
US20230147156A1 (en) | 2023-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9559716B1 (en) | AD converter, AD convert apparatus, and AD convert method | |
US7605738B2 (en) | A-D converter and A-D convert method | |
US8599059B1 (en) | Successive approximation register analog-digital converter and method for operating the same | |
US9432046B1 (en) | Successive approximation analog-to-digital converter | |
US7986253B2 (en) | Method and apparatus for digital error correction for binary successive approximation ADC | |
US8441386B2 (en) | Method to reduce voltage swing at comparator input of successive-approximations-register analog-to-digital converters | |
US10069506B2 (en) | Calibration circuit and calibration method for DAC | |
US7924205B2 (en) | Successive approximation type analog/digital converter and operation method of successive approximation type analog/digital converter | |
US9071265B1 (en) | Successive approximation analog-to-digital converter with linearity error correction | |
US8902092B2 (en) | Analog-digital conversion circuit and method | |
US20100123611A1 (en) | Successive approximation register analog-digital converter and method of driving the same | |
US9496885B2 (en) | Analog-to-digital conversion circuit | |
US8362938B2 (en) | Analog digital converting device | |
KR101191054B1 (en) | Analog-to-digital converter with offset voltage calibration method | |
TWI556585B (en) | Analog-to-Digital Converting Device and Related Calibration Method and Calibration Module | |
US8749412B1 (en) | Anti-noise successive approximation analog to digital conversion method | |
US9509327B2 (en) | A/D converter and A/D converter calibrating method | |
US12136931B2 (en) | Semiconductor device, analog-to-digital converter and analog-to-digital converting method | |
US11206038B2 (en) | Successive approximation register analog-to-digital converter | |
JP2020065297A (en) | Analog-digital conversion circuit | |
CN113810052B (en) | Successive approximation analog-to-digital converter based on capacitance mismatch calibration circuit | |
CN113708763A (en) | Analog-to-digital conversion system and method with offset and bit weight correction mechanism | |
JP6387690B2 (en) | Successive comparison A / D converter | |
JP2024000179A (en) | AD converter | |
US20240413832A1 (en) | Analog-to-digital converter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: RENESAS ELECTRONICS CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FAJARMEGA, PRATAMA;NISHINO, TATSUO;SHIMIZU, TAKEHIRO;SIGNING DATES FROM 20220629 TO 20220706;REEL/FRAME:061704/0688 |
|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |