The disclosure of Japanese Patent Application No. 2023-174228 filed on Oct. 6, 2023, including the specification, drawings and abstract is incorporated herein by reference in its entirety.
The present invention relates to a semiconductor device such as a semiconductor device including an analog-digital converter.
There is disclosed a technique listed below.
[Non-Patent Document 1] “Single-Channel, 1.25-GS/s, 6-bit, Loop-Unrolled Asynchronous SAR-ADC in 40 nm-COM,” IEEE CICC 2010, Tao Jiang and other four.
The Non-Patent Document 1 describes an asynchronous “successive approximation register”-“analog to digital converter” (SAR-ADC) capable of high-speed operations. The SAR-ADC includes as many comparators as bits of a digital signal. A comparator closer to the most significant bit outputs an activation signal to a comparator closer to the least significant bit when a comparison operation is completed. As a result, each comparator successively performs the comparison (approximation) operation in an order from the most significant bit toward the least significant bit.
For example, a system of successively defining each bit of a digital signal while repeatedly using one comparator is known as a typical configuration of the SAR-ADC. However, the system needs to reset the comparator for each repetition, and therefore, it may be difficult to achieve the high speed operation. Thus, as described in, for example, the Non-Patent Document 1, use of the asynchronous SAR-ADC, specifically a Loop-Unrolled SAR-ADC that does not need the repetitive operation because of including as many comparators as bits of the digital signal is considerable.
However, the use of such an asynchronous SAR-ADC causes a risk that is long comparison time of the comparators due to influence of a common-mode differential input voltage. Consequently, there is a risk that is an insufficient speed of the analog-digital converter.
Embodiments described below have been made under such circumstances, and other objects and novel characteristics will be apparent from the description of the specification and the drawings.
A semiconductor device according to an embodiment includes: a voltage quantizer circuit converting differential input voltages into a digital signal with a plurality of bits for every sampling period, and asserting a conversion end signal when completing a conversion operation; a correction code decision circuit receiving the conversion end signal as its input output from the voltage quantizer circuit; and a common-mode voltage regulator circuit regulating a common-mode voltage of the differential input voltages. The voltage quantizer circuit includes: a first comparator including a first input transistor receiving the differential input voltages as its input, and defining a first bit value of the digital signal; and a second comparator including a second input transistor different from the first input transistor, and defining a second bit value of the digital signal. The correction code decision circuit decides a correction code for correcting the common-mode voltage of the differential input voltages on the basis of the conversion end signal output from the voltage quantizer circuit. The common-mode voltage regulator circuit regulates the common-mode voltage by adding or subtracting a corrected voltage based on the correction code to or from the differential input voltages.
By use of the semiconductor device according to an embodiment, a speed of an analog-digital converter can be increased.
In the embodiments described below, the invention will be described in a plurality of sections or embodiments when required as a matter of convenience. However, these sections or embodiments are not irrelevant to each other unless otherwise stated, and the one relates to the entire or a part of the other as a modification example, details, or a supplementary explanation thereof. Also, in the embodiments described below, when referring to the number of elements (including number of pieces, values, amount, range, and the like), the number of the elements is not limited to a specific number unless otherwise stated or except the case where the number is apparently limited to a specific number in principle. The number larger or smaller than the specified number is also applicable.
Further, in the embodiments described below, it goes without saying that the components (including element steps) are not always indispensable unless otherwise stated or except the case where the components are apparently indispensable in principle. Similarly, in the embodiments described below, when the shape of the components, positional relation thereof, and the like are mentioned, the substantially approximate and similar shapes and the like are included therein unless otherwise stated or except the case where it is conceivable that they are apparently excluded in principle. The same goes for the numerical value and the range described above.
Although not particularly circuit elements limited, configuring functional blocks according to the embodiments are formed on a semiconductor substrate made of single-crystal silicon or the like by an integrated circuit technique such as well-known complementary MOS (CMOS) transistors and the like. In the embodiments, note that a metal oxide semiconductor field effect transistor (MOSFET, also referred to as MOS transistor) is used as an exemplary metal insulator semiconductor field effect transistor (MISFET). However, a non-oxide film is not excluded as a gate insulative film. Further, in the embodiments, an n-channel MOS transistor is referred to as nMOS transistor while a p-channel MOS transistor is referred to as pMOS transistor.
Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that components having the same function are denoted by the same reference signs throughout all the drawings for describing the embodiments, and the repetitive description thereof will v be omitted. In addition, the description of the same or similar portions is not repeated in principle unless otherwise particularly required in the following embodiments.
The semiconductor device DEV illustrated in
The processor PRC is a central processing unit (CPU), a graphics processing unit (GPU), or the like. The memory MEM is made of a combination of a volatile memory such as static RAM (SRAM) and a nonvolatile memory such as flash memory or magnetoresistive RAM (MRAM). The peripheral circuit PERI includes various communication interfaces such as controller area network (CAN) interface or serial peripheral interface (SPI).
The UWB digital circuit UWB_D also serves as a baseband processing circuit in charge of processings in a baseband based on the UWB standards. The processings in the baseband include, for example, encoding/decoding, modulating/demodulating, encrypting/decrypting, and the like. The UWB analog circuit UWB_A also serves as a high-frequency circuit in charge of processings in a high-frequency band based on the UWB standards. The UWB analog circuit UWB_A includes a high-frequency transmission circuit RF_TX configured to process a transmission signal, a high-frequency reception circuit RF_RX configured to process a reception signal, and a clock generator circuit CKG.
The clock generator circuit CKG generates and supplies various clock signals used in a high-frequency band to the high-frequency transmission circuit RF_TX and the high-frequency reception circuit RF_RX. The high-frequency transmission circuit RF_TX includes a power amplifier and the like. The high-frequency transmission circuit RF_TX up-converts a transmission baseband signal output from the UWB digital circuit UWB_D into a high-frequency transmission signal made of short pulse by use of a clock signal output from the clock generator circuit CKG, and transmits the high-frequency transmission signal to an antenna not illustrated.
The high-frequency reception circuit RF_RX includes a low-noise amplifier LNA, a mixer unit MIXU, a filter unit FLTU, an analog-digital conversion unit ADCU, and the like. The low-noise amplifier LNA amplifies a high-frequency reception signal received by the antenna not illustrated. The mixer unit MIXU includes, for example, a plurality of mixer circuits, and down-converts an output signal from the low-noise amplifier LNA into a baseband reception signal by use of a clock signal output from the clock generator circuit CKG. The filter unit FLTU includes a plurality of filter circuits, and limits the baseband reception signal output from the mixer unit MIXU to a band of, for example, around 500 MHZ.
The analog-digital conversion unit ADCU includes a plurality of analog-digital converters ADC. The analog-digital converter ADC is, for example, the asynchronous SAR-ADC. The analog-digital converter ADC converts an analog input voltage VA output from the filter unit FLTU into a digital signal D of m-bit such as 6-bit. Then, the analog-digital converter ADC outputs the resultant digital signal D as digital data of the baseband reception signal to the UWB digital circuit UWB_D.
In this example, the analog-digital conversion unit ADCU includes two analog-digital converters ADC to perform conversion to a digital signal D of “2×m”-bit. To the analog-digital converter ADC, a master clock signal CKm is supplied from the clock generator circuit CKG. The analog-digital converter ADC generates, for example, a sampling clock signal of 1 GHz or 2 GHz based on the master clock signal CKm, and operates in synchronization with the sampling clock signal.
A voltage quantizer circuit QCT of
The comparators CMP[0] to CMP[5] define bit values of digital signals, in other words, values of positive-side digital signals Dp[0] to Dp[5] and values of negative-side digital signals Dn[0] to Dn[5] on the opposite side of the positive-side digital signals, respectively. The digital-analog converter CDAC adds or subtracts a predetermined voltage to or from the differential input voltages INp and INn of the differential input nodes NinP and NinN in accordance with the values of the digital signals Dp[0] to Dp[5] and Dn[0] to Dn[5]. As a result, the digital-analog converter CDAC updates the differential input voltages INp and INn.
The digital-analog converter CDAC is specifically, for example, of a capacitor type as illustrated in
One end of each of the five capacitors Cp[1] to Cp[5] and the dummy capacitor CpD is connected to the positive-side differential input node NinP. The positive-side digital signals Dp[1] to Dp[5] are applied to the other ends of the five capacitors Cp[1] to Cp[5], respectively. The other end of the dummy capacitor CpD is fixed at a ground power voltage GND.
Similarly, one end of each of the five capacitors Cn[1] to Cn[5] and the dummy capacitor CnD is connected to the negative-side differential input node NinN. The negative-side digital signals Dn[1] to Dn[5] are applied to the other ends of the five capacitors Cn[1] to Cn[5], respectively. The other end of the dummy capacitor CnD is fixed at the ground power voltage GND.
Each capacitor Cp[k] (k=1, 2, . . . , 5) has a capacitance value of, for example, “2k−1×Cu”. Similarly, each capacitor Cn[k] also has a capacitance value of “2k−1×Cu.” The capacitance values of the dummy capacitors CpD and CnD are defined to be the same value based on the ranges of the analog input voltages VAp and VAn or the like.
Each of the comparators CMP[0] to CMP[5] compares the zero voltage and a voltage difference “INp−INn” between the positive-side differential input voltage INp and the negative-side differential input voltage INn in terms of magnitude relationship. At this time, each comparator CMP[i] (i=5, 4, . . . , 0) starts the comparison operation in response to the assertion of the clock signal CK[i]. When completing the comparison operation, the comparator CMP[i] asserts a clock signal CK[i−1] for a next comparator CMP[i−1].
As a result, the comparison operation is successively performed in an order from the comparator CMP[5] to the comparator CMP[0]. As comparison results, each comparator CMP[i] outputs a positive-side digital signal Dp[i] and a negative-side digital signal Dn[i] on the opposite side of the positive-side digital signal. To the contrary, for every completion of the comparison operation of each comparator CMP[i], the digital-analog converter CDAC updates the differential input voltages INp and INn by adding or subtracting a predetermined voltage which is different by “½n” to or from the differential input voltages INp and INn on the basis of the comparison-resultant digital signals Dp[i] and Dn[i], respectively.
The next comparator r CMP[i−1] performs the comparison operation on the differential input voltages INp and INn updated as described above. Consequently, the analog-digital converter ADC can convert the analog input voltages VAp and VAn serving as the differential signal, in other words, “VAp−VAn” into the 6-bit digital signals Dp[0] to Dp[5].
As illustrated in
A comparator CMP[5] shifts one of the digital signals Dp[5] and Dn[5] from, for example, the level “L” to the level “H”, on the basis of the magnitude relationship between the zero voltage and the voltage difference “INp−INn” between the differential input voltages INp and INn in the comparison operation. When completing the comparison operation, the comparator CMP[5] asserts a clock signal CK[4].
To the contrary, in the digital-analog converter CDAC, the charge of the capacitor Cp[5] or Cn[5] is redistributed in response to the shift of one of the digital signals Dp[5] and Dn[5] to the level “H”. Specifically, for example, via a control logic not illustrated, one of the digital signals Dp[5] and Dn[5] shifts from the level “L” to the level “H” while the other thereof shifts from the level “H” to the level “L”. Consequently, one/the other of the differential input nodes NinP and NinN is electrically charged/discharged to add/subtract a predetermined voltage “Vref” to/from the differential input voltages INp and INn, in other words, the voltage difference “INp−INn”. Note that the magnitude of “Vref” is regulated by the capacitance values of the dummy capacitors CpD and CnD.
While the differential input voltages INp and INn are updated as described above, the comparator CMP[4] starts the comparison operation in response to the assertion of the clock signal CK[4]. The comparator CMP[4] shifts one of the digital signals Dp[4] and Dn[4] from the level “L” to the level “H” on the basis of the magnitude relationship between the zero voltage and the voltage difference “INp−INn” in the comparison operation. Then, when completing the comparison operation, the comparator CMP[4] asserts a clock signal CK[3].
To the contrary, in the digital-analog converter CDAC, charges in the capacitors Cp[4] and Cn[4] are redistributed in response to the shift of one of the digital signals Dp[4] and Dn[4] to the level “H.” Specifically, one of the digital signals Dp[4] and Dn[4] shifts from the level “L” to the level “H” while the other thereof shifts from the level “H” to the level “L”. Consequently, a predetermined voltage “Vref/2” is added/subtracted to/from the differential input voltages INp and INn, in other words, the voltage difference “INp−INn”.
Subsequently, the same processing is successively performed in the order to the comparator CMP[0] while the predetermined voltage is successively changed to “Vref/4,” “Vref/8,” . . . . The comparator CMP[0] outputs the digital signals Dp[0] and Dn[0] in the comparison operation, and asserts a clock signal CKfin when completing the comparison operation. Here, as illustrated in
The conversion end signal CED indicates whether the conversion operation has been successfully completed by the analog-digital converter ADC. That is, the conversion operation has been successfully completed when the conversion end signal CED is asserted, in other words, at the time of the shift to the level “H” in this example. The analog input voltages VAp and VAn are sampled again in response to the sampling clock signal CKs. Further, the clock signals CK[5] to CK[0] and CKfin are negated to the level “L”, and the digital signals Dp[1] to Dp[5] and Dn[1] to Dn[5] are returned to the initial values.
The comparator CMPn includes an amplifier circuit AMPn, a latch circuit unit LTUn, and an OR gate OR1. The amplifier circuit AMPn differentially amplifies the differential input voltages INp and INn. The latch circuit unit LTUn outputs a positive-side digital signal Dp[i] and a negative-side digital signal Dn[i] by latching an output signal from the amplifier circuit AMPn. The OR gate OR1 generates a next positive-side clock signal CKp[i−1] by performing an OR operation to the digital signals Dp[i] and Dn[i].
Specifically, the amplifier circuit AMPn includes nMOS transistors MN0a, MN0b, and MN1 and pMOS transistors MP0a and MP0b. The nMOS transistors MN0a and MN0b are initial input transistors (first and second input transistors) configuring a differential pair. The positive-side/negative-side differential input voltages INp/INn are input into the nMOS transistors MN0a/MN0b, respectively.
In a period in which the clock signal CKp[i] is at the level “L”, the pMOS transistors MP0a and MP0b pre-charge initial output nodes N0n and N0p serving as drains of the nMOS transistors MN0a and MN0b to a power voltage VDD. In a period in which the clock signal CKp[i] is at the level “H”, the nMOS transistor MN1 connects sources of the nMOS transistors MN0a and MN0b to a ground power voltage GND to activate the amplifier circuit AMPn.
The latch circuit unit LTUn includes nMOS transistors MN2a, MN3a, MN2b, and MN3b, pMOS transistors MP2a and MP2b, and a CMOS latch circuit CLT. The CMOS latch circuit CLT includes a CMOS inverter IVa made of a pMOS transistor MP4a and an nMOS transistor MN4a and a CMOS inverter IVb made of a pMOS transistor MP4b and an nMOS transistor MN4b.
The input of one of the CMOS inverters IVa and IVb is connected to the output of the other thereof. That is, a latch node N1p serving as the output node of the CMOS inverter IVa also serves as the input node of the CMOS inverter IVb. Similarly, a latch node N1n serving as the output node of the CMOS inverter IVb also serves as the input node of the CMOS inverter IVa. The positive-side digital signal Dp[i] is output to the latch node N1p, and the negative-side digital signal Dn[i] is output to the latch node N1n.
The pMOS transistor MP2a and the nMOS transistor MN2a configure a CMOS inverter. A negative-side output signal at the output node Non is input into the CMOS inverter, and a high-potential side power voltage of the CMOS inverter IVa in the CMOS latch circuit CLT is defined in accordance with the input level. Similarly, the pMOS transistor MP2b and the nMOS transistor MN2b configure a CMOS inverter. A positive-side output signal at the output node N0p is input into the CMOS inverter, and a high-potential side power voltage of the CMOS inverter IVb in the CMOS latch circuit CLT is defined in accordance with the input level.
A negative-side output signal at the output node N0n is input into the nMOS transistor MN3a while a positive-side output signal at the output node N0p is input into the nMOS transistor MN3b. The nMOS transistor MN3a connects the latch node N1p to the ground power voltage GND when receiving the level “H” as its input. Similarly, the nMOS transistor MN3b connects the latch node N1n to the ground power voltage GND when receiving the level “H” as its input.
The operations performed by the comparator CMPn as described above are classified into an operation in a reset period in which the clock signal CKp[i] is at the level “L” and an operation in a comparison period after the clock signal CKp[i] shifts from the level “L” to the level “H.” In the reset period, the nMOS transistor MN1 is turned OFF while the pMOS transistors MP0a and MP0b are turned ON, and therefore, both the output nodes N0n and N0p are pre-charged to the level “H.” Accordingly, the nMOS transistors MN3a and MN3b are turned ON, and therefore, both the digital signals Dp[i] and Dn[i] are at the level “L.” The clock signal CKp[i−1] output from the OR gate OR1 is also at the level “L.”
In the comparison period after that period, the nMOS transistor MN1 is turned ON while the pMOS transistors MP0a and MP0b are turned OFF. As a result, in the amplifier circuit AMPn, the differential amplification is performed by the input transistors (MN0a and MN0b) serving as the differential pair in accordance with the voltage difference “INp−INn” between the differential input voltages INp and INn. For example, in a case of “INp>INn,” the potential of the output node Non more rapidly decreases from the level “H” to the level “L” than the potential of the output node N0p.
Consequently, to the CMOS inverter IVa in the CMOS latch circuit CLT, the power voltage VDD is supplied as a high-potential side power voltage via the CMOS inverter made of the pMOS transistor MP2a and the nMOS transistor MN2a. To the contrary, to the CMOS inverter IVb in the CMOS latch circuit CLT, the ground power voltage GND is supplied as a high-potential side power voltage via the CMOS inverter made of the pMOS transistor MP2b and the nMOS transistor MN2b.
As a result, the pMOS transistor MP4a is turned ON, and the digital signal Dp[i] at the latch node N1p shifts from the level “L” to the level “H.” To the contrary, to the CMOS inverter IVb in the CMOS latch circuit CLT, the ground power voltage GND is supplied as a high-potential side power voltage, and thus, the digital signal Dn[i] at the latch node N1n is kept at the level “L.” The clock signal CKp[i−1] output from the OR gate OR1 is asserted to the level “H” when the digital signal Dp[i] shifts to the level “H”, in other words, at the time of the completion of the comparison operation.
The comparator CMPp includes an amplifier circuit AMPp, a latch circuit unit LTUp, and an AND gate AD1. The amplifier circuit AMPp and the latch circuit unit LTUp are configured as similar to
Specifically, the amplifier circuit AMPp and the latch circuit unit LTUp are configured such that the power voltage VDD and the ground power voltage GND are exchanged while the nMOS transistors and the pMOS transistors are exchanged in the configuration of
The nMOS transistors MN5a and MN5b pre-charge initial output nodes N5n and N5p to the ground power voltage GND in a period in which the clock signal CKn[i] is at the level “H”, in other words, a period in which the clock signal CKp[i] is at the level “L”. The pMOS transistor MP6 connects the sources of the pMOS transistors MP5a and MP5b to the power voltage VDD to activate the amplifier circuit AMPp in a period in which the clock signal CKn[i] is at the level “L”, in other words, a period in which the clock signal CKp[i] is at the level “H”.
The latch circuit unit LTUp includes pMOS transistors MP7a, MP8a, MP7b, and MP8b, nMOS transistors MN7a and MN7b, and a CMOS latch circuit CLT. The CMOS latch circuit CLT includes a CMOS inverter IVa made of a pMOS transistor MP9a and an nMOS transistor MN9a and a CMOS inverter IVb made of a pMOS transistor MP9b and an nMOS transistor MN9b.
A latch node N6p serving as the output node of the CMOS inverter IVa also serves as the input node of the CMOS inverter IVb. Similarly, a latch node N6n serving as the output node of the CMOS inverter IVb also serves as the input node of the CMOS inverter IVa. A positive-side digital signal Dp[i] is output to the latch node N6p while a negative-side digital signal Dn[i] is output to the latch node N6n.
The pMOS transistor MP7a and the nMOS transistor MN7a configure a CMOS inverter. A negative-side output signal at the output node Non is input into the CMOS inverter, and a low-potential side power voltage of the CMOS inverter IVa in the CMOS latch circuit CLT is defined in accordance with the input level. Similarly, the pMOS transistor MP7b and the nMOS transistor MN7b configure a CMOS inverter. A positive-side output signal at the output node N0p is input into the CMOS inverter, and a low-potential side power voltage of the CMOS inverter IVb in the CMOS latch circuit CLT is defined in accordance with the input level.
A negative-side output signal at the output node N5n is input into the pMOS transistor MP8a while a positive-side output signal at the output node N5p is input into the pMOS transistor Mp8b. The pMOS transistor MP8a connects the latch node N6p to the power voltage VDD when receiving the level “L” as its input. Similarly, the pMOS transistor MP8b connects the latch node N6n to the power voltage VDD when receiving the level “L” as its input.
The operations of the comparator CMPp of
For example, the UWB needs to process a signal with a frequency band of around 500 MHz. Thus, a high conversion speed that is, for example, 1 GS/s or more is required in the analog-digital converters ADC of
As illustrated in
To the contrary, as illustrated in
As a result, as illustrated in
The voltage quantizer circuit QCT of
As described above, even when the variation in the common-mode voltage of the differential input voltages is suppressed, if the initial value of the common-mode voltage is inadequate, there is a risk that is failure to sufficiently increase the speed of the analog-digital converter ADC. If only either one of two types of the comparators CMPp and CMPn is used, the adequate common-mode voltage can be easily made. That is, the common-mode voltage is to be low when only the p-channel comparators CMPp is used, and to be high when only the n-channel comparators CMPn is used. However, when both the two types of the comparators CMPp and CMPn are used as illustrated in
One of the causes for this is that the adequate range 11 of the common-mode voltage is narrow. Another one is that the common-mode voltage is basically defined by an external circuit of the analog-digital converter ADC such as the filter unit FLTU in the example of
The voltage quantizer circuit QCT converts the differential input voltages INp and INn to m-bit digital signals such as 6-bit digital signals Dp[5:0] and Dn[5:0] for every sampling period based on the sampling clock signal CKs. Then, the voltage quantizer circuit QCT asserts the conversion end signal CED when completing the conversion operation.
The correction code decision circuit CDCT is connected to the voltage quantizer circuit QCT, and receives the conversion end signal CED as its input from the voltage quantizer circuit QCT. Note that the term “connection” described in the specification means not only physical connection but also electric connection. On the basis of the conversion end signal CED, the correction code decision circuit CDCT decides a plurality of bits for correcting the common-mode voltage of the differential input voltages INp and INn, such as a 4-bit correction code CAL_CD[3:0] in this example.
Schematically, at this time, when detecting a sampling period in which the conversion end signal CED is not asserted, in other words, a sampling period in which the conversion operation is uncompleted, the correction code decision circuit CDCT changes the correction code CAL_CD[3:0]. Then, the correction code decision circuit CDCT successively changes the correction code CAL_CD[3:0] until the sampling period in which the conversion end signal CED is not asserted is not detected.
The common-mode voltage regulator circuit CMCT is connected to the correction code decision circuit CDCT and the voltage quantizer circuit QCT. The common-mode voltage regulator circuit CMCT regulates the common-mode voltage by adding or subtracting a corrected voltage based on the correction code CAL_CD[3:0] to or from the differential input voltages INp and INn.
As similar to the digital-analog converter CDAC, the common-mode voltage regulator circuit CMCT schematically redistributes the charges of the differential input nodes NinP and NinN by use of a correction capacitor decided based on the correction code CAL_CD[2:0] from among the plurality of correction capacitors. As a result, the common-mode voltage regulator circuit CMCT regulates the common-mode voltage of the differential input voltages INp and INn. Note that the common-mode voltage regulator circuit may be not of the capacitor type but of, for example, the resistor type. However, the capacitor type is desirably used in terms of the consumed power and the like.
One ends of the positive-side capacitors Ccp[0] to Ccp[2] are connected to the positive-side differential input node NinP. Comon shift signals CSF[0] to CSF[2] are applied to the other ends of the capacitors Ccp[0] to Ccp[2], respectively. Similarly, one ends of the negative-side capacitors Ccn[0] to Ccn[2] are connected to the negative-side differential input node NinN. The common shift signals CSF[0] to CSF[2] are applied also to the other ends of the capacitors Ccn[0] to Ccn[2], respectively.
The capacitance values of the capacitors Ccp[0] to Ccp[2] are different by, for example, 2k. That is, both the capacitors Ccp[0] and Ccn[0] have a capacitance value of “Cc.” In this case, both the capacitors Ccp[1] and Ccn[1] have a capacitance value of “2×Cc” and both the capacitors Ccp[2] and Ccn[2] have a capacitance value of “4×Cc.”
The control logic LGC includes, for example, an exclusive NOR gate ENR1 and an AND gate AD2. The exclusive NOR gate ENR1 receives an inverted sampling clock signal (/CKs) and a correction code CAL_CD[3] for defining a sign of the corrected voltage as its inputs, and outputs a trigger signal TG. The AND gate AD2 receives the correction code CAL_CD[2:0] and the trigger signal TG as its inputs, and outputs the common shift signals CSF[0] to CSF[2]. That is, the number of the AND gates AD2 is specifically as many as that for three bits.
As illustrated in
To the contrary, when the correction code CAL_CD[3] is “1”, the exclusive NOR gate ENR1 outputs a rise trigger signal TG in response to a rise of the inverted sampling clock signal (/CKs). When the correction code CAL_CD[0] is “1”, the AND gate AD2 shifts the common shift signal CSF[0] from the level “L” to the level “H” in response to a rise of the trigger signal TG. Consequently, charges of the capacitors Ccp[0] and Ccn[0] are redistributed, and the unit voltage “ΔV” is added to the common-mode voltage. Similarly, for example, when two common shift signals CSF[0] and CSF[1] are shifted to the level “H”, the “(1+2)×ΔV” is added to the common-mode voltage.
In
Next, the correction code decision circuit CDCT determines whether the information of the conversion end signal CED has been held preset “N” times (“N” is to be an integer of 2 or more) (step S104). When the number of times is less than N (step S104: No), the correction code decision circuit CDCT returns the processings to step S102, and repeatedly performs the processings in steps S102 and S103. To the contrary, when the number of times reaches N (step S104: Yes), the correction code decision circuit CDCT determines whether N pieces of the information of the conversion end signal CED includes one or more negation levels (step S105).
When the information includes no negation level (step S105: No), the correction code decision circuit CDCT fixes a current value as the value of the correction code CAL_CD[3:0]. To the contrary, when the information includes any negation level (step S105: Yes), the correction code decision circuit CDCT increments the correction code CAL_CD[3:0] (by +1) (step S106). Then, the correction code decision circuit CDCT returns the processings to step S102 to acquire the information of the conversion end signal CED N times again while reflecting the incremented correction code CAL_CD[3:0] on the common-mode voltage regulator circuit CMCT.
The value of the correction code CAL_CD[3:0], which has been fixed in the case of “No” in step S105, is applied in the subsequent normal operations. Specifically, as can be seen from
To the contrary, the flow of
Subsequently, the correction code decision circuit CDCT determines whether one or more negation level is included in the N pieces of the information of the conversion end signal CED (step S202). When no negation level is included (step S202: No), the correction code decision circuit CDCT keeps the current value as the value of the correction code CAL_CD[3:0], and terminates the processing. In this case, the flow of
To the contrary, when any negation level is included (step S202: Yes), the correction code decision circuit CDCT determines whether the correction code CAL_CD[3:0] has reached the maximum value such as “1111” (step S203). When the maximum value has been reached (step S203: Yes), the correction code decision circuit CDCT returns the value of the correction code CAL_CD[3:0] to the minimum value such as “0000”, and proceeds to the processing in step S201 (step S204).
When the maximum value has not been reached in step S203 (No), the correction code decision circuit CDCT increments the correction code CAL_CD[3:0] (by +1) (step S205). Then, the correction code decision circuit CDCT returns to step S201 to acquire the information of the conversion end signa CED N times again while reflecting the incremented correction code CAL_CD[3:0] on the common-mode voltage regulator circuit CMCT.
When the common-mode voltage is present within the adequate range 11, the conversion end signal CED is always asserted for each sampling period. To the contrary, when the common-mode voltage is not present within the adequate range 11, the conversion end signal CED may not be asserted for each sampling period. When the correction code CAL_CD[3:0] is successively changed until the conversion end signal CED is always asserted, once the common-mode voltage regulated value is present within the adequate range 11, the value of the correction code CAL_CD[3:0] is decided as illustrated in
As described above, by use of the flows of
Since this is the system of monitoring the conversion speed of the analog-digital converter ADC by use of the conversion end signal CED and regulating the common-mode voltage on the basis of the monitoring result, there is no need to additionally provide, for example, a common-mode voltage detector circuit and the like, and overhead of the circuit area or the like can be suppressed. Further, the common-mode voltage can be regulated in the analog-digital conversion unit ADCU, and thus, limitation of the common-mode voltage in the external circuits configured to output the analog input voltages VAp and VAn can be moderated. Consequently, the design of the semiconductor device DEV including the external circuits can be facilitated, and versality of the analog-digital converter ADC can be enhanced.
Note that the flow of
At a rise edge of the sampling clock signal CKs, the flip-flop circuit FFed latches the clock signal CKfin output from the comparator CMP[0], and outputs the conversion end signal CED. To the contrary, at the rise edge of the sampling clock signal CKs, the clock signal CKfin of the assertion level is negated. The flip-flop circuit FFed can latch and hold the clock signal CKfin of the assertion level as the conversion end signal CED before the negation.
The correction code decision circuit CDCT receives the conversion end signal CED which is held as described above, as its input. To the correction code decision circuit CDCT, the master clock signal CKm is supplied as illustrated in
As described above, by use of the system according to the first embodiment, the correction code CAL_CD[3:0] can be decided under use of the conversion end signal CED, and the common-mode voltage of the differential input voltages INp and INn can be regulated based on the decided correction code on the foreground or the background. Consequently, typically, the comparison time of each comparator can be reduced, and the speed of the analog-digital converter ADC can be increased. Particularly, even the change in the operational condition such as voltage or temperature can be immediately handled by the regulation on the background, and the high-speed operations of the analog-digital converter ADC can be maintained.
One of the two electrodes of the capacitor Csp is connected to the sampling switch SSW while the other of the two electrodes is connected to the positive-side differential input node NinP. Similarly, one of the two electrodes of the capacitor Csn is connected to the sampling switch SSW while the other of the two electrodes is connected to the negative-side differential input node NinN. The switch SW1 is connected to the differential input nodes NinP and NinN, and applies a predetermined power voltage VC to the differential input nodes NinP and NinN when being turned ON. The switch SW2 makes short-circuit between the electrodes of the two capacitors Csp and Csn, the electrodes being closer to the sampling switch SSW, when being turned ON.
The sampling switch SSW and the switch SW1 are controlled to be turned ON in the sampling period. Consequently, the analog input voltages VAp and VAn are sampled in the capacitors Csp and Csn, respectively. In the comparison period after the period, the sampling switch SSW and the switch SW1 are controlled to be turned OFF, and the switch SW2 is instead controlled to be turned ON. Consequently, the charges of the capacitors Csp and Csn are redistributed in the capacitors in the digital-analog converter CDAC.
As described in the first embodiment, the predetermined voltage “Vref” of the digital-analog converter CDAC is regulated by the capacitance values of the dummy capacitors CpD and CnD of
Further, in the system according to the second embodiment, as illustrated in
In such a state, for example, the sampling is performed in the top plates of the capacitors in the digital-analog converter CDAC of
To the contrary, sampling is performed in the bottom plates of the capacitors CsP and Csn, and thus, the voltage quantizer circuit QCTa of
Even by use of the system according to the second embodiment, the similar effects to various effects of the first embodiment, which is typically the high speed of the analog-digital converter ADC, can be achieved. As different from the system according to the first embodiment, the limitation on the capacitance values of the capacitors Ccp[0] to Ccp[2] and Ccn[0] to Ccn[2] in the common-mode voltage regulator circuit CMCT can be moderated, and thus, the design is facilitated. Additionally, the dynamic range of the analog-digital converter ADC can be easily secured.
Specifically, a gate width W1 of the nMOS transistors MN0a and MN0b serving as the input transistors in the comparators CMPn[5] to CMPn[3] is designed to be smaller than a gate width W2 of the nMOS transistors MN0a and MN0b serving as input transistors in the comparators CMPn[2] to CMPn[0]. Note that all the comparators CMP[0] to CMP[5] may be made of the p-channel comparators CMPp[0] to CMPp[5] instead of the n-channel comparators. Also in this case, the relationship between the gate widths is the same as in the n-channel comparators.
However, the common-mode voltage needs to be kept within the adequate range in order to balance the speed and the accuracy. Therefore, it is desirable to adequately define the initial value of the common-mode voltage. Specifically, it is desirable to adequately define the initial value of the common-mode voltage to have a property illustrated with a solid line in
In order to adequately define the initial value of the common-mode voltage, the correction code decision circuit CDCT and the common-mode voltage regulator circuit CMCT as similar to those of the first embodiment may be provided. As can be seen from
In the example
Even by use of the system according to the third embodiment, the similar effects to various effects of the first embodiment, which is typically the high speed of the analog-digital converter ADC, can be achieved. In addition to this, the system according to the third embodiment can suppress the excessive high speed and achieve the high accuracy of the analog-digital converter ADC by the degree of the suppression.
In the foregoing, the invention made by the inventors of the present application has been concretely described on the basis of the embodiments. However, it is needless to say that the present invention is not limited to the foregoing embodiments, and various modifications can be made within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2023-174228 | Oct 2023 | JP | national |