Ad converter
The AD converter maintains consistent full-scale output magnitude by employing a ΔΣ modulator with integrated circuits and digital filters to adjust gains, addressing OSR changes in incremental converters.
Patent Information
- Application Number
- JP2024143426
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2026-03-09
AI Technical Summary
Existing AD converters experience changes in full-scale magnitude when oversampling (OSR) is altered in second-order or higher incremental converters.
An AD converter design incorporating a ΔΣ modulator with specific integrating circuits, adders, and a digital filter that maintains full-scale magnitude by adjusting gains and integrating signals across multiple steps, allowing for a power of 2 full scale output regardless of OSR changes.
The design maintains consistent full-scale output magnitude despite changes in OSR, enabling efficient and precise digital signal conversion.
Smart Images

Figure 2026039757000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an AD converter. [Background technology]
[0002] The following Patent Document 1 discloses a technology that operates an ADC for one cycle after N cycles to generate a remainder value, shifts the remainder by 3 bits using a digital adder, and then adds the remainder value to the shifted bits, resulting in +3 bits and improving the resolution. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] U.S. Patent No. 9,866,238 Summary of the Invention [Problem to be solved by the invention]
[0004] However, the above document does not solve the problem that the full-scale magnitude changes when the oversampling (hereinafter sometimes referred to as "OSR") is changed in a second-order or higher incremental AD converter. [Means for solving the problem]
[0005] An AD converter according to one embodiment comprises an input terminal to which an input signal is input, a ΔΣ modulator having a first amplifying and integrating circuit, a second amplifying and integrating circuit, an adder, a quantizer, and a digital-to-analog converter, and a digital filter having a first digital integrating circuit that outputs a third digital signal generated by integrating the output signal of the ΔΣ modulator, and a second digital integrating circuit that outputs a fourth digital signal generated by integrating the third digital signal, wherein in a first step of the ΔΣ modulator, the digital-to-analog converter converts the first digital signal output from the quantizer into a feedback analog signal, the first amplifying and integrating circuit generates a first integrated signal by integrating a signal obtained by adding a signal obtained by amplifying the input signal with a predetermined gain and a signal obtained by amplifying the feedback analog signal with a predetermined gain, the second amplifying and integrating circuit generates a second integrated signal by integrating the signal obtained by amplified the first integrated signal with the first gain, and the adder adds the signal obtained by amplified the input signal with a predetermined gain and the first integrated signal with a predetermined gain. a quantizer converting the first signal output from the adder to generate a first digital signal; in a second step, the second amplifying and integrating circuit converts the first integrated signal to generate a fourth integrated signal; the first amplifying and integrating circuit converts the fourth integrated signal to generate a third integrated signal; the adder converts the fourth integrated signal to generate a second signal; the quantizer converts the second signal output from the adder to generate a second digital signal; the digital filter converts the second signal output from the adder to generate a fifth digital signal; [Effects of the Invention]
[0006] According to an AD converter according to one embodiment, the full scale of the output of the digital filter can be set to a power of 2, and even if the OSR is changed, the magnitude of the full scale can be kept the same. [Brief explanation of the drawings]
[0007] [Figure 1] FIG. 2 is a diagram illustrating an example of the configuration of an AD converter according to an embodiment. [Figure 2] A timing chart showing an example of the operation timing of each control signal in a ΔΣ modulator according to an embodiment. [Figure 3] FIG. 10 is a diagram illustrating an example of the effect of a digital filter according to an embodiment. [Figure 4] FIG. 1 is a diagram illustrating an example of signal processing by a digital filter according to an embodiment. [Figure 5] FIG. 1 is a diagram for explaining an example of a problem with an AD converter of a comparative example. [Figure 6] FIG. 1 is a diagram showing an example of a circuit configuration of a ΔΣ modulator according to an embodiment; [Figure 7] FIG. 1 is a diagram illustrating an example of a circuit state during a first operation Φ1 in a first step of a ΔΣ modulator according to an embodiment. [Figure 8] FIG. 10 is a diagram illustrating an example of a circuit state during the second operation Φ2 in the first step of a ΔΣ modulator according to an embodiment. [Figure 9] FIG. 10 is a diagram illustrating an example of a circuit state during a first operation Φ1 in a second step of a ΔΣ modulator according to an embodiment. [Figure 10] FIG. 10 is a diagram illustrating an example of a circuit state during a second operation Φ2 in a second step of a ΔΣ modulator according to an embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0008] Hereinafter, an embodiment will be described with reference to the drawings.
[0009] (Configuration of AD converter 1) 1 is a diagram showing an example of the configuration of an AD converter 1 according to an embodiment. As shown in FIG. 1, the AD converter 1 according to an embodiment includes a ΔΣ modulator 100 and a digital filter 200.
[0010] <Configuration of the ΔΣ modulator 100> The ΔΣ modulator 100 can convert an analog signal (e.g., an output signal from a current detection resistor, a sensor, etc.) into a digital signal. The ΔΣ modulator 100 has a configuration in which integration is performed with different orders in the first step and the second step.
[0011] As shown in FIG. 1, the ΔΣ modulator 100 includes switches 101 to 104, an input terminal Vin, an output terminal Q, a first adder 105, a first integrator circuit 110, a second integrator circuit 120, a second adder 130, a quantizer 140, and a digital-to-analog converter DAC.
[0012] The switch 101 is provided between the input terminal Vin and the input of the first adder 105. The switch 101 is switched on in the first step and switched off in the second step.
[0013] The switch 102 is provided between the output of the second integrator circuit 120 and the input of the first adder 105. The switch 102 is switched off in the first step and switched on in the second step.
[0014] The switch 103 is provided between the output of the first integrator circuit 110 and the input of the second integrator circuit 120. The switch 103 is switched on in the first step and switched off in the second step.
[0015] The switch 104 is provided between the input terminal Vin and the input of the quantizer 140. The switch 104 is switched on in the first step and switched off in the second step.
[0016] An analog signal U (for example, an output signal from a current detection resistor, a sensor, etc.) is input to the input terminal Vin.
[0017] The output terminal Q is connected to the output side of the quantizer 140. In the first step, the output terminal Q outputs the first digital signal V1 output from the quantizer 140, and in the second step, the output terminal Q outputs the second digital signal V2 output from the quantizer 140.
[0018] The digital-to-analog converter DAC is connected between the output side of the quantizer 140 and the output terminal Q. In a first step, the digital-to-analog converter DAC converts the first digital signal V1 output from the quantizer 140 into a first feedback analog signal UF1 and outputs the first feedback analog signal UF1. In a second step, the digital-to-analog converter DAC converts the second digital signal V2 output from the quantizer 140 into a second feedback analog signal UF2 and outputs the second feedback analog signal UF2.
[0019] The first adder 105 is provided on the input side of the first integrating circuit 110 .
[0020] In the first step, the first adder 105 generates a first sum signal X0 by adding a signal obtained by amplifying the analog signal U input from the input terminal Vin with a gain b1 and a signal obtained by amplifying the first feedback analog signal UF1 output from the digital-to-analog converter DAC with a gain c1, and outputs the first sum signal X0 to the first integration circuit 110.
[0021] In the second step, the first adder 105 generates a second sum signal X0' by adding a signal obtained by amplifying the second feedback analog signal UF2 output from the digital-to-analog converter DAC with a gain c1' and a signal obtained by amplifying the fourth integration signal X2' output from the second integration circuit 120 with a gain b1', and outputs the second sum signal X0' to the first integration circuit 110.
[0022] The first integrating circuit 110 is provided in the subsequent stage of the first adder 105. The first integrating circuit 110 is a so-called delay integrator.
[0023] In the first step, the first integration circuit 110 integrates the first sum signal X0 output from the first adder 105 to generate a first integration signal X1 and outputs the first integration signal X1.
[0024] In the second step, the first integration circuit 110 integrates the second sum signal X0′ output from the first adder 105 to generate a third integration signal X1′ and outputs the third integration signal X1′.
[0025] The second integrating circuit 120 is provided in the subsequent stage of the first integrating circuit 110. The second integrating circuit 120 is a so-called delay-free integrator.
[0026] In the first step, the second integration circuit 120 receives a signal obtained by amplifying the first integration signal X1 output from the first integration circuit 110 by a first gain c2, integrates the signal to generate a second integration signal X2, and outputs the second integration signal X2 to the second adder 130.
[0027] In the second step, the switch 103 is turned off, so that the second integration circuit 120 does not receive a signal from the first integration circuit 110 and functions as a hold amplifier that holds a signal proportional to the quantization error E of the first step (the error when the quantizer 40 converts the first signal S1 into the first digital signal V1 in the first step), generates a fourth integration signal X2' as the quantization error of the first step, and outputs the fourth integration signal X2' to the second adder 130. That is, in the second step, the fourth integration signal X2' output from the second integration circuit 120 is the same in all M2 cycles of the second step.
[0028] The second adder 130 is provided in the subsequent stage of the second integration circuit 120. The second adder 130 outputs to the quantizer 140 an output signal generated by adding together a plurality of signals.
[0029] In the first step, the second adder 130 generates a first signal S1 by adding the analog signal U amplified by the gain b3, the first integrated signal X1 amplified by the gain a1, and the second integrated signal X2 amplified by the gain a2, and outputs the first signal S1 to the quantizer 140.
[0030] In the second step, the second adder 130 generates a second signal S2 by adding the fourth integrated signal X2' amplified by the gain a2' and the third integrated signal X1' amplified by the gain a1', and outputs the second signal S2 to the quantizer 140.
[0031] The quantizer 140 is provided after the second adder 130 .
[0032] In the first step, the quantizer 140 converts the first signal S1 output from the second adder 130 into a first digital signal V1, for example, of three levels (-1, 0, +1), and outputs the first digital signal V1 to the output terminal Q.
[0033] In the second step, the quantizer 140 converts the second signal S2 output from the second adder 130 into a second digital signal V2, for example, of three levels (-1, 0, +1), and outputs the second digital signal V2 to the output terminal Q.
[0034] <Configuration of digital filter 200> The digital filter 200 includes a first digital integrator circuit 210 and a second digital integrator circuit 220 .
[0035] The first digital integration circuit 210 is a so-called delay-free integrator, which integrates the output signal of the ΔΣ modulator 100 to generate a third digital signal D3 and outputs the third digital signal D3.
[0036] The second digital integration circuit 220 is a so-called delay-free integrator, which generates a fourth digital signal D4 by integrating the third digital signal D3 output from the first digital integration circuit 210, and outputs the fourth digital signal D4.
[0037] Here, the digital filter 200 has a 1 / 2 output unit 230 in the subsequent stage of the first digital integration circuit 210. The digital filter 200 also has a third adder 240 in the subsequent stage of the second digital integration circuit 220.
[0038] The 1 / 2 output unit 230 outputs a seventh digital signal D5 which is 1 / 2 of the third digital signal D3 output from the first digital integration circuit 210.
[0039] In this embodiment, the 1 / 2 output unit 230 outputs a seventh digital signal D5, which is 1 / 2 of the third digital signal D3, by shifting the third digital signal D3 output from the first digital integration circuit 210 by one bit to the right. Here, the right bit shift means moving digital data by a predetermined number of bits toward the smaller digit, and the left bit shift means moving digital data by a predetermined number of bits toward the larger digit.
[0040] As a result, the AD converter 1 of one embodiment can output the seventh digital signal D5, which is half the third digital signal D3, by simply bit shifting without performing complex calculations, thereby enabling faster operation.
[0041] The third adder 240 generates a fifth digital signal D1 by subtracting the seventh digital signal D5 (i.e., 1 / 2 of the third digital signal D3 output from the first digital integration circuit 210) from the fourth digital signal D4 output from the second digital integration circuit 220, and outputs the fifth digital signal D1.
[0042] As a result, in the AD converter 1 according to one embodiment, as will be described later with reference to FIG. 3, the full scale of the output of the digital filter 200 can be calculated using equation (4) described later. Therefore, the full scale of the output of the digital filter 200 can be a power of 2, and the full scale can be kept the same even if the OSR is changed.
[0043] The digital filter 200 also includes a first downsampling circuit 250 (an example of a "first circuit") at the subsequent stage of the third adder 240. The first downsampling circuit 250 receives the fifth digital signal D1 output from the third adder 240, and outputs the result of the M1th cycle (i.e., the final cycle) of the first step.
[0044] The digital filter 200 also includes a second downsampling circuit 260 (an example of a "second circuit") in the subsequent stage of the first digital integration circuit 210. The second downsampling circuit 260 receives the third digital signal D3 output from the first digital integration circuit 210, and outputs the result of the M2-th cycle (i.e., the final cycle) of the second step.
[0045] The digital filter 200 also includes a fourth adder 270 that adds the output of the first downsampling circuit 250, which is amplified by a predetermined gain M2 (i.e., shifted left by log2(M2) bits), to the output of the second downsampling circuit 260 to generate an eighth digital signal D, and outputs the eighth digital signal D.
[0046] Although not shown, the AD converter 1 further includes a control unit. For example, the control unit is configured with a digital circuit (ASIC). The control unit switches the switches 101 to 104 on and off, resets the first integrating circuit 110, the second integrating circuit 120, the first digital integrating circuit 210, the second digital integrating circuit 220, the first downsampling circuit 250, and the second downsampling circuit 260. The control unit may be configured with a microcontroller (MCU).
[0047] (Circuit configuration of the ΔΣ modulator 100) FIG. 6 is a diagram showing an example of a circuit configuration of a ΔΣ modulator 100 according to an embodiment.
[0048] As shown in FIG. 6, in the ΔΣ modulator 100, the first amplifying and integrating circuit 10, the second amplifying and integrating circuit 20, the second adder 30, and the digital-to-analog converter DAC each include a plurality of switches.
[0049] Specifically, the first amplifying / integrating circuit 10 includes switches SW11 to SW16. The second amplifying / integrating circuit 20 includes switches SW21 to SW27. The second adder 30 includes switches SW31 to SW39. The digital-to-analog converter DAC includes switches SW41 to SW45.
[0050] In Fig. 6, the switch marked with "Φ1" is a switch that is turned on during a first operation Φ1 in Fig. 2, which will be described later. Also, in Fig. 6, the switch marked with "Φ2" is a switch that is turned on during a second operation Φ2 in Fig. 2, which will be described later.
[0051] In addition, in Fig. 6, the switch indicated by "S1·Φ1" is a switch that is switched on during a first operation Φ1 in the first step in Fig. 2, which will be described later. In addition, in Fig. 6, the switch indicated by "S1·Φ2" is a switch that is switched on during a second operation Φ2 in the first step in Fig. 2, which will be described later.
[0052] 6, the switch marked with "S2·Φ1" is a switch that is turned on during a first operation Φ1 in the second step of FIG. 2, which will be described later. Also, in FIG. 6, the switch marked with "S2·Φ2" is a switch that is turned on during a second operation Φ2 in the second step of FIG. 2, which will be described later. Here, switches SW21 and SW22 in FIG. 6 correspond to switch 103 in FIG. 1.
[0053] The first amplifying and integrating circuit 10 also has a first variable capacitor Cs1 and a third variable capacitor Cf1, and the digital-to-analog converter DAC also has a second variable capacitor Cdac.
[0054] The second amplifying and integrating circuit 20 also has a capacitor Cs2 and a capacitor Cf2. The capacitor Cs2 is composed of two capacitors Cs2 / 2 connected in parallel, each having half the capacitance of the capacitor Cs2.
[0055] The capacitor Cf2 is an example of a configuration that holds the charge of the eighth capacitance, and can continue to hold the fourth integrated signal output from the second amplifying and integrating circuit 20 in the second step.
[0056] The second adder 30 also has a capacitor Cb3 and a capacitor Ca1a2. The second adder 30 also has a threshold setting circuit 31, which has a capacitor Cth and switches SW36 and SW37. The second adder 30 also has an anti-kickback circuit 32, which has a capacitor Chold and switches SW38 and SW39.
[0057] To explain each circuit configuration in detail, the first amplifying / integrating circuit 10 has a capacitor Cs1, a switch SW13, a capacitor Cf1, and a switch SW14 provided in this order on the output side of a switch SW11 to which the output of the second amplifying / integrating circuit 20 is input, and a switch SW12 to which the input voltage Vin is input. A switch SW15 is provided between the switches SW11 and SW12 and the capacitor Cs1. A voltage V is connected between the capacitor Cs1 and the switch SW13. ICM is provided. The output of the digital-to-analog converter DAC and the input terminal of the operational amplifier OP are connected between the switch SW13 and the capacitor Cf1, and the output side of the switch SW14 is connected to the output terminal of the operational amplifier OP.
[0058] In the second amplifying / integrating circuit 20, a capacitor Cs2 / 2 is connected to the output side of the switch SW21, to which the output of the first amplifying / integrating circuit 10 is input. A switch SW24, to which a voltage Vcm is input, is provided between the switch SW21 and the capacitor Cs2 / 2. In addition, a capacitor Cs2 / 2 is connected to the output side of the switch SW22, to which the output of the first amplifying / integrating circuit 10 is input. A switch SW23, to which a voltage Vcm is input, is provided between the switch SW22 and the capacitor Cs2 / 2. In addition, a switch SW26, a capacitor Cf2, and a switch SW27 are provided in this order on the output sides of the two capacitors Cs2 / 2. A voltage Vcm is connected between the capacitor Cs2 and the switch SW26. ICM is provided. An input terminal of an operational amplifier OP is connected between the switch SW26 and the capacitor Cf2, and an output terminal of the operational amplifier OP is connected to the output side of the switch SW27.
[0059] The digital-to-analog converter DAC also uses a reference voltage V RA second variable capacitor Cdac is provided on the output side of the switches SW41 and SW42 to which a voltage V is input. Also, switches SW44 and SW45 are provided on the output side of the second variable capacitor Cdac. Also, a voltage V is applied between the second variable capacitor Cdac and the switches SW44 and SW45. ICM A switch SW43 is provided to which the signal is input.
[0060] The second adder 30 calculates the voltage V R A capacitor Cth is provided on the output side of switches SW36 and SW37 to which the input voltage Vin is input. A capacitor Cb3 is provided on the output side of switch SW31 to which input voltage Vin is input. A switch SW32 to which voltage Vcm is input is provided between switch SW31 and capacitor Cb3. A capacitor Ca1a2 is provided on the output side of switch SW33 to which the output of second amplifying / integrating circuit 20 is input and switch SW34 to which the output of first amplifying / integrating circuit 10 is input. A kickback prevention circuit 32 is connected to the output sides of capacitors Cth, Cb3, and Ca1a2. A switch SW35 to which voltage Vcm is input is provided between capacitors Cth, Cb3, and Ca1a2 and kickback prevention circuit 32.
[0061] 6, the delta-sigma modulator 100 has the same circuit configuration on the side where Vin+ is input (upper side in the figure) and the side where Vin- is input (lower side in the figure). That is, each of the side where Vin+ is input (upper side in the figure) and the side where Vin- is input (lower side in the figure) has the above-mentioned multiple switches and the above-mentioned multiple capacitors. Therefore, the delta-sigma modulator 100 performs the same signal processing at the same timing on the side where Vin+ is input (upper side in the figure) and the side where Vin- is input (lower side in the figure), except that the input voltage Vin is positive or negative.
[0062] As shown in FIG. 6, a ΔΣ modulator 100 according to one embodiment has an operational amplifier OP shared by the first amplifying and integrating circuit 10 and the second amplifying and integrating circuit 20.
[0063] Specifically, the first amplifying and integrating circuit 10 is made up of switches SW11 to SW16, a first variable capacitor Cs1, a third variable capacitor Cf1, and a shared operational amplifier OP.
[0064] The second amplifying and integrating circuit 20 is composed of switches SW21 to SW27, a capacitor Cs2, a capacitor Cf2, and a shared operational amplifier OP.
[0065] As a result, the delta-sigma modulator 100 according to one embodiment can reduce the number of operational amplifiers for the integrating circuits, which in conventional delta-sigma modulators must be provided for each integrating circuit, to just one. Therefore, the delta-sigma modulator 100 according to one embodiment can achieve reduced circuit area and power consumption in the delta-sigma modulator 100 that can operate as both a second-order incremental AD converter and a first-order incremental AD converter.
[0066] In particular, the ΔΣ modulator 100 of one embodiment can be applied to an incremental ADC in a configuration in which the number of operational amplifiers for the integration circuit is one, thereby achieving the advantages of an incremental ADC, such as simplified digital filters and reduced conversion time, and thus enabling further reduction in current consumption in such an incremental ADC.
[0067] Furthermore, the ΔΣ modulator 100 of one embodiment is provided with a first variable capacitor Cs1, a second variable capacitor Cdac, and a third variable capacitor Cf1 so as to satisfy the following mathematical formula (6), and the capacitance of each of these variable capacitors can be changed between a first step and a second step.
[0068] c1' / b1'=c1c2 (6)
[0069] Specifically, in the ΔΣ modulator 100 according to one embodiment, the capacitance of the first variable capacitor Cs1 is variable between a first capacitance Cs1 and a second capacitance Cs1′. The capacitance of the second variable capacitor Cdac is variable between a third capacitance Cdac and a fourth capacitance Cdac′. The capacitance of the third variable capacitor Cf1 is variable between a fifth capacitance Cf1 and a sixth capacitance Cf1′.
[0070] Furthermore, in the delta-sigma modulator 100 according to one embodiment, the second amplifying and integrating circuit 20 includes a seventh capacitor Cs2 and an eighth capacitor Cf2.
[0071] In the ΔΣ modulator 100 according to one embodiment, the gain c1 in the first step is proportional to the third capacitance Cdac / the fifth capacitance Cf1, as shown in Fig. 1. Also, the first gain c2 in the first step is proportional to the seventh capacitance Cs2 / the eighth capacitance Cf2, as shown in Fig. 1.
[0072] Furthermore, the gain c1' in the second step is proportional to the fourth capacitance Cdac' / sixth capacitance Cf1'. Furthermore, the gain b1' in the second step is proportional to the second capacitance Cs1' / sixth capacitance Cf1'.
[0073] Therefore, in the delta-sigma modulator 100 according to one embodiment, by appropriately setting each of the first capacitance Cs1, the second capacitance Cs1', the third capacitance Cdac, the fourth capacitance Cdac', the fifth capacitance Cf1, the sixth capacitance Cf1', the seventh capacitance Cs2, and the eighth capacitance Cf2, the above formula (6) can be satisfied, and therefore a conversion result with small error can be obtained. Note that the symbols of the capacitors in the calculation formulas for each gain shown in FIG. 1 are the same as those described above.
[0074] (Operation of the ΔΣ modulator 100) FIG. 2 is a timing chart showing the operation timing of each control signal in the ΔΣ modulator 100 according to one embodiment.
[0075] As shown in FIG. 2, in the first step in which the ΔΣ modulator 100 operates as a second-order incremental AD converter, M1 consecutive cycles (where M1 is a natural number) are performed, and each cycle includes a first operation Φ1 and a second operation Φ2.
[0076] In the first step, in the first operation Φ1, the first amplifying and integrating circuit 10 samples the input voltage Vin of the analog signal U, the second amplifying and integrating circuit 20 performs an integration operation, and the second adder 30 generates a first signal S1 by adding the input voltage Vin, the output of the first amplifying and integrating circuit 10, and the output of the second amplifying and integrating circuit 20, and outputs the first signal S1 to the quantizer 40.
[0077] In the first step, in the second operation Φ2, the first amplifying and integrating circuit 10 performs an integration operation, the second amplifying and integrating circuit 20 samples the output of the first amplifying and integrating circuit 10, and the second adder 30 samples the output of the first amplifying and integrating circuit 10.
[0078] As shown in FIG. 2, in the first step, the first amplifying and integrating circuit 10 and the second amplifying and integrating circuit 20 are reset by the first reset signal reset1 in the 0th cycle.
[0079] As described above, in the first step, in each of the M1 cycles, at the time of the first operation Φ1, the second adder 30 outputs the first signal S1 to the quantizer 40. Therefore, in the first step, M1 first digital signals V1 are obtained from the quantizer 40.
[0080] Also, as shown in Figure 2, in the second step in which the ΔΣ modulator 100 operates as a first-order incremental AD converter, it has M2 consecutive cycles (where M2 is a natural number), and each cycle includes a first operation Φ1 and a second operation Φ2.
[0081] In the second step, in the first operation Φ1, the first amplifying and integrating circuit 10 samples the output of the second amplifying and integrating circuit 20, the second amplifying and integrating circuit 20 performs a hold operation, and the second adder 30 generates a second signal S2 by adding the output of the first amplifying and integrating circuit 10 and the output of the second amplifying and integrating circuit 20, and outputs the second signal S2 to the quantizer 40.
[0082] In the second step, in the second operation Φ2, the first amplifying and integrating circuit 10 performs an integration operation, the second amplifying and integrating circuit 20 does not perform sampling, and the second adder 30 samples the output of the first amplifying and integrating circuit 10.
[0083] Also, as shown in FIG. 2, in the second step, the first amplifying and integrating circuit 10 is reset by the second reset signal reset2 in the 0th cycle.
[0084] As described above, in the second step, during the first operation Φ1, the second adder 30 outputs the second signal S2 to the quantizer 40 in each of the M2 cycles. Therefore, in the second step, M2 second digital signals V2 are obtained from the quantizer 40.
[0085] (Operation of the ΔΣ modulator 100) An example of the operation of the ΔΣ modulator 100 according to one embodiment will be described below with reference to FIGS.
[0086] <First operation Φ1 in the first step> FIG. 7 is a diagram showing an example of the circuit state during the first operation Φ1 in the first step of the ΔΣ modulator 100 according to one embodiment.
[0087] As shown in FIG. 7, during the first operation Φ1 in the first step operating as a second-order incremental AD converter, switches SW12, SW16, SW23, SW24, SW26, SW27, SW31, SW33, SW37, SW38, SW42, and SW43 are turned on.
[0088] At this time, in the first amplifying and integrating circuit 10, the switches SW12 and SW16 are turned on, and the analog signal U input from the input terminal Vin+ is sampled by the first variable capacitor Cs1.
[0089] At this time, in the second amplifying and integrating circuit 20, the switches SW23, SW24, SW26, and SW27 are turned on, so that the charge in the capacitor Cs2 is transferred to the capacitor Cf2 and an integration operation is performed.
[0090] <At the time of the second operation Φ2 in the first step> FIG. 8 is a diagram showing an example of the state of the circuit during the second operation Φ2 in the first step of the ΔΣ modulator 100 according to one embodiment.
[0091] As shown in Fig. 8, during the second operation Φ2 in the first step operating as a second-order incremental AD converter, switches SW13, SW14, SW15, SW21, SW22, SW25, SW32, SW34, SW35, SW36, SW39, and SW41 are switched on. Also, SW44 and SW45 are selectively switched on by the quantizer output Q. Specifically, as the calculation result of the quantizer output Q is shown by the calculation circuit 46, the result of the AND operation of Q[0] and Q[1] is shown as Q. +1 The result of AND operation of barQ[0] and barQ[1] is Q -1 Q +1 When is high level, SW44 turns on and Q -1 When is high level, SW45 turns on. Note that "bar" means negative logic.
[0092] At this time, in the first amplifying and integrating circuit 10, the switches SW15, SW13, and SW14 are turned on, so that the charge in the first variable capacitor Cs1 is transferred to the third variable capacitor Cf1, and an integration operation is performed.
[0093] Also, at this time, in the first amplifying and integrating circuit 10, switch SW14 is turned on, and in the second amplifying and integrating circuit 20, switches SW21, SW22, and SW25 are turned on, so that the output of the first amplifying and integrating circuit 10 is sampled by capacitor Cs2 of the second amplifying and integrating circuit 20.
[0094] Here, since the capacitor Cs2 of the second amplifying and integrating circuit 20 is configured to have two capacitors Cs2 / 2 connected in parallel (the part surrounded by dashed lines in the figure), half of the output of the first amplifying and integrating circuit 10 is sampled by each of the two capacitors Cs2 / 2 of the second amplifying and integrating circuit 20.
[0095] <First operation Φ1 in the second step> FIG. 9 is a diagram showing an example of the circuit state during the first operation Φ1 in the second step of the ΔΣ modulator 100 according to one embodiment.
[0096] As shown in FIG. 9, during the first operation Φ1 in the second step operating as a first-order incremental AD converter, switches SW11, SW16, SW23, SW26, SW27, SW33, SW37, SW38, SW42, and SW43 are turned on.
[0097] At this time, in the second amplifying and integrating circuit 20, the switch SW27 is turned on, and in the first amplifying and integrating circuit 10, the switches SW11 and SW16 are turned on, so that the output of the second amplifying and integrating circuit 20 is sampled by the first variable capacitor Cs1. Here, the output of the second amplifying and integrating circuit 20 (fourth integrated signal X2') is the result of the hold operation of the second amplifying and integrating circuit 20, and is therefore the same in all M2 cycles of the second step.
[0098] At this time, in the second amplifying and integrating circuit 20, switches SW23, SW26, and SW27 are turned on, so that the charge sampled in capacitor Cs2 is transferred to capacitor Cf2 and an integration operation is performed. However, as will be described later, during the second operation Φ2 in the second step, nothing is sampled in capacitor Cs2, so no charge is transferred to Cf2 and a hold operation is performed in which the charge on Cf2 is kept constant.
[0099] The second amplifying / integrating circuit 20 integrates the first integrated signal X1 output by the first amplifying / integrating circuit 10 in the second operation Φ2 of the M1th cycle of the first step, and the signal amplified by the second gain c2' in the first operation Φ1 of the second step, to generate and output a fourth integrated signal X2'. This signal is held in capacitor Cf2. Next, the first amplifying / integrating circuit 10 integrates the signal held in capacitor Cf2 (the fourth integrated signal X2') in the first operation Φ1 after cycle 1 of the second step, and the signal amplified by the fifth gain b1' in the second operation Φ2, to generate and output a third integrated signal X1'.
[0100] Here, of the two capacitors Cs2 / 2 (enclosed by dashed lines in the figure) that make up capacitor Cs2, the charge of one (upper in the figure) capacitor Cs2 / 2 is not transferred to capacitor Cf2 because switch SW24 is off, but the charge of the other (lower in the figure) capacitor Cs2 / 2 is transferred to capacitor Cf2, resulting in half of the charge output from first amplifying and integrating circuit 10 being transferred to capacitor Cf2. With this configuration, in the gain of the signal input from the output of first amplifying and integrating circuit 10 to second amplifying and integrating circuit 20, gain c2' in the second step can be set to half of gain c2 in the first step.
[0101] In the second step, the control unit changes the capacitance of each of the first variable capacitor Cs1, the second variable capacitor Cdac, and the third variable capacitor Cf1 (the area surrounded by the dotted line in the figure) so as to satisfy the above formula (6). As a result, according to the delta-sigma modulator 100 of one embodiment, the relationship between the gain c1' and gain b1' used in the second step and the gain c1 and first gain c2 used in the first step can satisfy the above formula (6), thereby making it possible to obtain a conversion result with a small error.
[0102] <At the second operation Φ2 in the second step> FIG. 10 is a diagram showing an example of the state of the circuit during the second operation Φ2 in the second step of the ΔΣ modulator 100 according to one embodiment.
[0103] As shown in Fig. 10, during the second operation Φ2 in the second step operating as a first-order incremental AD converter, switches SW13, SW14, SW15, SW25, SW34, SW35, SW36, SW39, and SW41 are switched on. Also, SW44 and SW45 are selectively switched on by the quantizer output Q. Specifically, as the calculation result of the quantizer output Q is shown by the calculation circuit 46, the result of the AND operation of Q[0] and Q[1] is shown as Q. +1 The result of AND operation of barQ[0] and barQ[1] is Q -1 Q +1 When is high level, SW44 turns on and Q -1 When is high level, SW45 turns on. Note that "bar" means negative logic.
[0104] At this time, in the first amplifying and integrating circuit 10, the switches SW15, SW13, and SW14 are turned on, so that the charge in the first variable capacitor Cs1 is transferred to the third variable capacitor Cf1, and an integration operation is performed.
[0105] At this time, in the second amplifying and integrating circuit 20, the switches SW21 and SW22 remain off, and nothing is sampled onto the capacitor Cs2. Therefore, in the second step, the capacitor Cf2 continues to hold the output (fourth integrated signal X2′) of the second amplifying and integrating circuit 20.
[0106] As shown in Figures 8 and 10, in both the first step and the second step, during the second operation Φ2, the second adder 30 samples the output of the first amplifying and integrating circuit 10 by switching on switches SW34 and SW35.
[0107] 7, during the first operation Φ1 in the first step, the second adder 30 receives the input voltage Vin as a result of the switch SW31 being turned on, and receives the output of the second amplifying and integrating circuit 20 as a result of the switch SW33 being turned on. The second adder 30 adds the output of the first amplifying and integrating circuit 10, the input voltage Vin, and the output of the second amplifying and integrating circuit 20, and outputs the result to the quantizer 40.
[0108] 9, during the first operation Φ1 in the second step, switch SW33 is turned on, and the output of second amplifying and integrating circuit 20 is input to second adder 30. Then, second adder 30 adds the output of first amplifying and integrating circuit 10 and the output of second amplifying and integrating circuit 20, and outputs the result to quantizer 40.
[0109] In the first step, the first gain c2 is used as the gain when amplifying the output of the first integrating circuit 110 (first integrated signal X1). Meanwhile, in the second step, the second integrating circuit 120 generates a fourth integrated signal by integrating the signal obtained by amplifying the output of the first integrating circuit 110 (first integrated signal X1) with the second gain c2' in the first cycle. That is, in the second step, the second gain c2' is used as the gain when amplifying the output of the first integrating circuit 110, instead of the first gain c2. The second gain c2' is half the first gain c2. As a result, the AD converter 1 according to one embodiment can solve the problem of the width of 1 LSB (Least Significant Bit) of the digital output becoming non-constant, which occurs when the full scale of the output of the digital filter 200 is raised to a power of 2, and can make the width of 1 LSB of the digital output uniform.
[0110] For example, the ΔΣ modulator 100 has two capacitors Cs2 / 2 that determine the gain when amplifying the output (first integrated signal X1) of the first amplifying and integrating circuit 10, and in a first step, transfers charge from both of the two capacitors Cs2 / 2, and in a second step, transfers charge from only one of the two capacitors Cs2 / 2, thereby changing the gain when amplifying the output (first integrated signal X1) of the first amplifying and integrating circuit 10 from the first gain c2 (= Cs2 / Cf2) to the second gain c2' (= Cs2 / 2 / Cf2).
[0111] It should be noted that the band limiting effect of the digital filter 200 is obtained only in the first step, and the second step is operated to make the full scale of the output of the digital filter 200 a power of two.
[0112] For this reason, in the AD converter 1 according to one embodiment, it is preferable that the number of cycles M2 in the second step is less than the number of cycles M1 in the first step. This allows the AD converter 1 according to one embodiment to enhance the band limiting effect of the digital filter 200.
[0113] Furthermore, in the AD converter 1 according to one embodiment, when the quantization level of the quantizer 140 is an even number, it is preferable that the number of cycles in the second step M2 = 1, and when the quantization level of the quantizer 140 is an odd number, it is preferable that the number of cycles in the second step M2 = 2. This allows the AD converter 1 according to one embodiment to minimize the number of cycles in the second step, thereby maximizing the band limiting effect of the digital filter 200.
[0114] Here, the problem of the AD converter of the comparative example will be described with reference to Fig. 5. Fig. 5 is a diagram for explaining an example of the problem of the AD converter of the comparative example. Note that the configuration of the conventional AD converter is the same as that of AD converter 1 shown in Fig. 1 except that 1 / 2 output unit 230 of digital filter 200 is removed.
[0115] In the AD converter of the comparative example, the full scale of the output of the digital filter is calculated by the following formula (1).
[0116] b1 / c1·M1(M1+1) / 2·M2···(1)
[0117] where b1 is the gain used when amplifying the input signal, c1 is the gain used when amplifying the first feedback analog signal output from the digital-to-analog converter, M1 is the number of cycles in the first step, and M2 is the number of cycles in the second step.
[0118] For this reason, with conventional digital filters, the full scale of the digital filter output cannot be a power of 2. This causes a problem where the full scale of the digital filter output changes when the OSR (Oversampling Ratio) is changed.
[0119] For example, as shown in FIG. 5(a), when b1 / c1=1, M1=64, and M2=32, the full scale of the output of the digital filter is -66566 to +66566 according to the above formula (1), and therefore cannot be expressed as a power of 2. In this case, if the value is shifted 2 bits to the right when stored in a 16-bit register, it becomes -16641 to +16641. Therefore, in this case, the formula for calculating the analog input voltage is the following formula (2).
[0120] Analog input voltage = digital value / 16641 × Vref (2)
[0121] Furthermore, for example, as shown in FIG. 5(b), when b1 / c1=1, M1=32, and M2=16, the full scale of the output of the digital filter is -8448 to +8448 according to the above formula (1), and cannot be expressed as a power of 2. In this case, if the value is shifted one bit to the left when stored in a 16-bit register, it becomes -16896 to +16896. Therefore, in this case, the formula for calculating the analog input voltage is the following formula (3).
[0122] Analog input voltage = digital value / 16896 × Vref (3)
[0123] As described above, in a conventional AD converter, when the OSR is changed, the full-scale output of the digital filter changes, and therefore the formula for calculating the analog input voltage also changes. Note that the technology of Patent Document 1 cannot solve this problem.
[0124] (Digital filter 200 effect) FIG. 3 is a diagram for explaining an example of the effect of the digital filter 200 according to an embodiment.
[0125] In the AD converter 1 according to one embodiment, as described above, by subtracting half of the output of the first digital integrator circuit 210 of the digital filter 200 from the output of the second digital integrator circuit 220, the full scale of the output of the digital filter 200 is calculated by the following equation (4), and is therefore a power of 2.
[0126] b1 / c1·M1 2 / 2·M2···(4)
[0127] For example, as shown in FIG. 3(a), when b1 / c1=1, M1=64, and M2=32, the full scale of the output of the digital filter 200 according to one embodiment is −65536 to +65536, and can therefore be expressed as a power of 2. In this case, when the value is shifted one bit to the right when stored in a 16-bit register, it becomes −32768 to +32768. Therefore, in this case, the formula for calculating the analog input voltage is the following formula (5).
[0128] Analog input voltage = digital value / 32768 × Vref (5)
[0129] 3(b), for example, when b1 / c1=1, M1=32, and M2=16, the full scale of the output of the digital filter 200 according to one embodiment is −8192 to +−8192, which can be expressed as a power of 2. In this case, when the value is shifted left by 2 bits when stored in a 16-bit register, it becomes −32768 to +32768. Therefore, in this case, the formula for calculating the analog input voltage is the above formula (5).
[0130] In this way, in the AD converter 1 according to one embodiment, when the OSR is changed, the full-scale magnitude of the output of the digital filter can be made equal, and therefore the formula for calculating the analog input voltage can be made the same.
[0131] (Signal processing by digital filter 200) Fig. 4 is a diagram for explaining an example of signal processing by the digital filter 200 according to an embodiment. Fig. 4 illustrates signal processing by the digital filter 200 when b1 / c1=1, M1=64, and M2=32.
[0132] In FIG. 4, the signal processing in the first to fourth stages from the top is performed in the first step.
[0133] The first row from the top shows an example of the output range of the third digital signal D3 output from the first digital integration circuit 210. In this example, M1=64, and the third digital signal D3 is any value from −64 to +64.
[0134] The second row from the top shows an example of the output range of the seventh digital signal D5, which is half the third digital signal D3 and is generated by shifting the third digital signal D3 right by one bit using the 1 / 2 output unit 230. In this example, the seventh digital signal D5 is any value between -32 and +32, with the minimum resolution being 0.5.
[0135] The third row from the top shows an example of the output range of the fourth digital signal D4 output from the second digital integration circuit 220. In this example, the fourth digital signal D4 is M1×(M1+1) / 2=2080, which is either −2080 to +2080.
[0136] The fourth row from the top shows an example of the output range of the fifth digital signal D1 generated by subtracting half the third digital signal D3 from the fourth digital signal D4. In this example, the fifth digital signal D1 is 2080-32=2048, which is either -2048 or +2048. However, the minimum resolution is 0.5. Here, the full scale of the fifth digital signal is 2048*2=2^12, which is a power of 2.
[0137] In FIG. 4, the fifth signal processing step from the top is the signal processing performed in the second step. In this example, M2=32, and the fifth digital signal D1 is shifted left by 5 bits (log2(M2) bits) to generate the ninth digital signal D6. This processing adds the sixth digital signal D2 obtained in the second step to the fifth digital signal D1 obtained in the first step. Note that the lower 7 bits where the ninth digital signal D6 and the sixth digital signal D2 overlap are input as the result of adding the lower 3 bits of the fifth digital signal D1 and the upper 3 bits of the sixth digital signal D2. As a result, the quantization error of the first step is corrected with the result of further integration in the second step, thereby reducing the final quantization error. Here, the ninth digital signal D6 is any value between -2048*2^5 and +2048*2^5. However, the minimum resolution is 2^4.
[0138] The sixth row from the top shows an example of the output range of the sixth digital signal D2 output from the first digital integration circuit 210 in the second step. In this example, M2=32, and the sixth digital signal D2 is any one of −32 to +32.
[0139] The seventh row from the top shows the eighth digital signal D generated by adding the fifth digital signal D1 obtained in the first step to the sixth digital signal D2 obtained in the second step. Here, the sixth digital signal D2 is -32 to +32 (7 bits), and the ninth digital signal D6 is the fifth digital signal D1 shifted left by 5 bits, resulting in a three-bit overlap between the sixth digital signal D2 and the ninth digital signal D6. This portion is where the digital signal obtained in the first step is corrected with the digital signal obtained in the second step. In this example, the full scale of the eighth digital signal D is 65536*2=2^17, which is a power of 2.
[0140] The eighth and ninth rows from the top show the process for storing the eighth digital signal D in a 16-bit register. A bit shift circuit (not shown) included in the digital filter 200 shifts the sixth digital signal D2 to the right by one bit, and then truncates the most significant bit by overflow processing before storing it in the 16-bit register. In this example, the eighth digital signal D stored in the register is any one of −32768 to +32767 (16 bits).
[0141] In this way, the AD converter 1 according to one embodiment can store the eighth digital signal D, whose full scale is a power of 2, in a register by simply performing simple calculations using bit shifts and addition / subtraction, without performing complex calculations.
[0142] Although one embodiment of the present invention has been described in detail above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0143] 1 AD converter 100 ΔΣ modulator 101~104 Switches Vin input terminal U Analog signal Q output terminal 105 First Adder 110 first integrator circuit 120 Second integrator circuit 130 Second Adder 140 Quantizer DAC Digital to Analog Converter VF1 First digital signal UF1 First feedback analog signal VF2 Second digital signal UF2 Second feedback analog signal S1 First signal S2 Second signal X0 First sum signal X0' Second sum signal X1 First integrated signal X2 Second integrated signal X1' Third integrated signal X2' Fourth integrated signal a1,a1',a2,a2',b1,c1,c1',b3 Gain c2 First gain c2' Second gain 200 Digital Filter 210 first digital integrator circuit 220 Second Digital Integrator 230 1 / 2 output device 240 Third Adder 250 First downsampling circuit (first circuit) 260 Second downsampling circuit (second circuit) 270 Fourth Adder M1, M2 cycle number D 8th digital signal D1 5th digital signal D2 6th digital signal D3 Third digital signal D4 Fourth digital signal D5 7th digital signal D6 9th digital signal
Claims
1. a delta-sigma modulator having an input terminal to which an input signal is input, a first amplifying and integrating circuit, a second amplifying and integrating circuit, an adder, a quantizer, and a digital-to-analog converter; a digital filter including a first digital integrating circuit that outputs a third digital signal generated by integrating the output signal of the ΔΣ modulator, and a second digital integrating circuit that outputs a fourth digital signal generated by integrating the third digital signal; Equipped with The ΔΣ modulator is In the first step, the digital-to-analog converter converts the first digital signal output from the quantizer into a first feedback analog signal; the first amplifying and integrating circuit generates a first integrated signal by integrating a signal obtained by adding together a signal obtained by amplifying the input signal with a predetermined gain and a signal obtained by amplifying the first feedback analog signal with a predetermined gain; the second amplifying and integrating circuit generates a second integrated signal by integrating a signal obtained by amplifying the first integrated signal by a first gain; the adder outputs a first signal generated by adding together a signal obtained by amplifying the input signal by a predetermined gain, a signal obtained by amplifying the first integrated signal by a predetermined gain, and a signal obtained by amplifying the second integrated signal by a predetermined gain; the quantizer outputs a first digital signal generated by converting the first signal output from the adder; In the second step, the digital-to-analog converter converts the second digital signal output from the quantizer into a second feedback analog signal; the second amplifying and integrating circuit amplifies the first integrated signal by a second gain and integrates the amplified signal to generate a fourth integrated signal; the first amplifying and integrating circuit generates a third integrated signal by integrating a signal obtained by adding together a signal obtained by amplifying the fourth integrated signal with a predetermined gain and a signal obtained by amplifying the second feedback analog signal with a predetermined gain; the adder adds a signal obtained by amplifying the third integrated signal by a predetermined gain and a signal obtained by amplifying the fourth integrated signal by a predetermined gain, the quantizer outputs a second digital signal generated by converting the signal output from the adder; The digital filter is outputting a fifth digital signal generated by subtracting half of the third digital signal from the fourth digital signal; 1. An AD converter comprising:
2. The digital filter is The third digital signal is shifted right by one bit, and the third digital signal after the one-bit shift is subtracted from the fourth digital signal to generate the fifth digital signal.
2. The AD converter according to claim 1, wherein:
3. The first step is cycled M1 times (M1 is a natural number) in succession, The second step is performed in cycles M2 times (M2 is a natural number) in succession, the second amplifying and integrating circuit generates the fourth integrated signal in the second step; The second gain is half the first gain.
2. The AD converter according to claim 1, wherein:
4. The first step is cycled M1 times (M1 is a natural number) in succession, The second step is performed in cycles M2 times (M2 is a natural number) in succession, The digital filter is further comprising a first circuit to which the fifth digital signal is input; The first circuit outputs the result of the M1th cycle of the first step.
2. The AD converter according to claim 1, wherein:
5. The digital filter is a second circuit to which the third digital signal is input; the second circuit outputs a result of the M2th cycle of the second step; 5. The AD converter according to claim 4.
6. The digital filter is an adder that generates an eighth digital signal by adding a signal obtained by shifting the output of the first circuit left by log2 (M2) bits to the output of the second circuit and outputs the eighth digital signal; 6. The AD converter according to claim 5.
7. The digital filter is a bit shift circuit that bit-shifts the eighth digital signal and stores the bit-shifted eighth digital signal in a register; 7. The AD converter according to claim 6.
8. The first step is cycled M1 times (M1 is a natural number) in succession, The second step is performed in cycles M2 times (M2 is a natural number) in succession, The M2 is less than the M1 2. The AD converter according to claim 1, wherein:
9. When the quantization level of the quantizer is even, M2=1; If the quantization level of the quantizer is odd, M2=2.
9. The AD converter according to claim 8.
Citation Information
Patent Citations
Incremental analog to digital converter with efficient residue conversion
US9866238B1