1 Introduction

Due to its high energy efficiency, charge-redistribution successive approximation register (SAR) analogue-to-digital converters (ADCs) have been very popular in biomedical electronics [10, 11, 13]. With the feature size of MOSFETs downscaled to nanometer level, the supply voltage of System-on-Chip (SoC) has been decreased to <1 V [13]. This is good for low-power and miniaturized digital circuit design. However, in charge-redistribution SAR ADC, the area of capacitor array cannot dramatically decrease due to the linearity requirement. Moreover, the capacitor array has been the dominant source of power dissipation in SAR ADC [10], especially when the comparator can be designed with a low-power dynamic regenerative latch.

Recently, various switching schemes have been developed to reduce the switching energy of these capacitor arrays in SAR ADCs [2, 3, 5,6,7, 9, 12, 14]. In [6], highly energy-efficient switching was performed with obvious energy reduction during the first 3-bit cycles. Unfortunately, this advantage would be weakened by the energy-consuming parasitic capacitance in this architecture. By using down-switching instead of up-switching during the first several bit cycles, the scheme in [7] features better energy efficiency after taking the parasitic capacitance into consideration. However, any discussion of the SAR ADC switching schemes from energy consumption viewpoint would not be complete without considering its linearity performance. It is not easy to achieve good linearity performance by using these two schemes in [6, 7]. In this paper, an improved capacitive switching procedure is proposed for low-power SAR ADC. Besides its low power and small size advantages, its linearity performance is also better than that of previous architectures.

2 The Proposed Switching Procedure

2.1 Proposed Capacitive Switching Scheme

The proposed switching procedure is illustrated with Fig. 1. Taking advantage of top plate sampling method and thanks to the tri-level switching technique, 4-bit conversion can be realized with a 2-bit capacitor array, as shown in Fig. 1. During the sample step, \(V_{\mathrm{ip}}\) and \(V_{\mathrm{in} }\) are sampled onto the top plates of the capacitor arrays, while the bottom plates of the capacitors are initially loaded with ‘1/2 1 1.’ The bottom plate of the most significant bit (MSB) capacitor connects to \(V_{\mathrm{ref}}/2\) and the other bottom plates are set to \(V_{\mathrm{ref}}\). At the end of sample phase, the sampling switches are turned off. The comparator directly compares \(V_{\mathrm{ip} }\) and \(V_{\mathrm{in}}\), without any energy consumption of the capacitor array. During the second bit evaluation cycle, the voltage on the higher potential capacitor array will be decreased by \(V_{\mathrm{ref}}/2\), with all the bottom plates of this capacitor array connected to ‘0 1/2 1/2.’ This step generates the 2nd bit, and still does not consume any switching energy. The other capacitor array’s connection ‘1/2 1 1’ does not change during the first 2-bit evaluation cycles. Based on the result of the 2nd bit, there will be two different switching methods for generating the 3rd bit. The first one is up-switching the capacitor array that connected to ‘1/2 1 1’ to ‘1 1 1.’ The other one is down-switching from ‘1/2 1 1’ to ‘1/2 1/2 1/2.’ There is still no energy consumption no matter which switching happen. To generate the following bits, only monotonic down-transitions are required. Different from that in [3], the reference range has been halved (from ‘1’ to ‘1/2’ or from ‘1/2’ to ‘0’) during these down-switching steps, resulting in further energy saving.

Fig. 1
figure 1

Proposed SAR ADC switching procedure

The input-dependent dynamic offset of the comparator can degrade the ADC performance [7]. Reducing the output common-mode variation of the capacitor array is important for decreasing the comparator’s input-dependent offset. The output waveform of the capacitor array (the input waveform of the comparator) is shown in Fig. 2. It has two situations according to the decision of bit 2. If the ADC output is ‘1’ in the second bit evaluation cycle, the input common-mode voltage of the comparator will reach \(V_{\mathrm{cm}}/2\). Otherwise, if the ADC output of bit 2 is ‘0,’ the common-mode voltage will gradually approach the ground. Therefore, considering the low voltage level of these two input common-mode voltages, it would be more reasonable to use PMOS as input transistors of the comparator if the proposed switching procedure is utilized in a SAR ADC.

2.2 Switching Energy Analysis and Comparison

The behavioral simulation for 10-bit SAR ADCs with different switching schemes was performed in MATLAB. Figure 3 compares the proposed procedure with several other schemes. With novel sequence initialization and by reducing the up-switching steps during the A/D conversion, this proposed SAR ADC switching procedure features very high energy efficiency. The average switching energy is 15.8 \(CV_{\mathrm{ref}}^{2}\), which achieves over 98.8% switching energy reduction, compared with the conventional scheme. The detailed comparison with other switching schemes can be found in Table 1.

Fig. 2
figure 2

Output waveform of the capacitor array with this proposed switching method

Fig. 3
figure 3

Switching energy against input

Table 1 Benchmarking with previous works for 10-bit SAR ADC

2.3 Effect of Parasitic Capacitance on Switching Energy

In reality, parasitic capacitance exists between any capacitor plate and substrate. It would be incomplete to analyze the switching energy without discussing parasitic capacitance [6]. Since all the top plates in each capacitor array are connected together, the parasitic capacitors between top plates and substrate can be analyzed as an additional separate capacitor \(C_{\mathrm{pt}}\), which makes the total capacitance of each capacitor array larger than the ideal value, thereby attenuating the output value of each array during conversion. The existence of \(C_{\mathrm{pt}}\) can decrease the switching energy of a down-switching step, but will increase the energy of an up-switching one. Moreover, parasitic capacitance exists between the bottom plate of each capacitor and substrate. It will also consume energy to charge these bottom plate parasitic capacitors. As shown in Fig. 4, when the capacitor array switches its connection to ‘1 1 1’ from ‘1/2 1 1,’ though the energy consumption would ideally be 0, it would consume energy to charge the capacitor \(2C_{\mathrm{pb}}\) from ‘1/2’ to ‘1.’ In Fig. 4, \(C_{\mathrm{pb}}\) represents the parasitic capacitance of a unit capacitor between bottom plate and substrate, and \(2C_{\mathrm{pb}}\) is the parasitic capacitance of the capacitor 2C in the array. Obviously, there will be no energy consumption for each bottom plate parasitic capacitor during its monotonic down-switching because only discharge happens.

From the analysis in Sect. 2.1, the switching energy consumed in the first 3-bit cycles is ideally zero, which is similar as that in [6, 7]. To further reduce the switching energy caused by the parasitic capacitance, the number of up-switching steps is dramatically reduced during the conversion. According to the analysis in Sect. 2.3, monotonic down-switching is beneficial to energy reduction. For comparison with [6, 7], and to make the discussion fair, the parasitic capacitance is assumed to be \(C_{\mathrm{pt}}=10\%C_{{t}}\) and \(C_{\mathrm{pb}}=15\%C\). \(C_{{t}}\) is the total capacitance and C is the value of unit capacitor in the capacitor array. After taking the parasitic capacitance into consideration, Fig. 5 shows the comparison of the proposed switching scheme with previous architectures. The average switching energy of this proposed scheme is 21.3 \(CV_{\mathrm{ref}}^{2}\), which is just 1.3% of that in the conventional architecture. Moreover, compared with [6] \((43.7 CV_{\mathrm{ref}}^{2})\) and [7] \((26.2 CV_{\mathrm{ref}}^{2})\), this proposed switching procedure achieves 51.3 and 18.7% switching energy reduction, respectively. Table 1 compares the switching energy of several different schemes for 10-bit SAR ADCs, before and after taking the parasitic capacitance into consideration.

Fig. 4
figure 4

Analysis of parasitic capacitance in the proposed procedure

Fig. 5
figure 5

Switching energy against input (with parasitic capacitance)

3 Linearity Analysis and Comparison

As discussed in Sect. 2, switching energy of a capacitor array in SAR ADC is directly proportional to the value of unit capacitance. Generally, the minimum possible value of a unit capacitor can be determined by KT/C noise, the capacitor matching performance, design rules and parasitic capacitance [4]. To make a fair discussion and comparison, it is assumed that the design rules and parasitic capacitances are not specific to any switching schemes. For medium- and high-resolution SAR ADCs, the reliable minimum unit capacitance is primarily determined by the capacitor matching performance [8]. The mismatch between any two capacitors in the capacitor array can directly affect the linearity performance of SAR ADCs, such as differential nonlinearity (DNL) and integral nonlinearity (INL). Therefore, it would not be fair to compare different SAR ADC switching schemes from switching energy perspective without having a discussion on linearity.

3.1 Linearity Analysis

Linearity of charge-redistribution SAR ADCs is related to the capacitor switching scheme and is mainly determined by the capacitor mismatch [8]. Ideally, the capacitors in each capacitor array are binary weighted with

$$\begin{aligned} C_{i} = 2^{i}C,\quad i = 0, \ldots , N-2. \end{aligned}$$
(1)

The capacitance variation associated with unit capacitor is assumed to be Gaussian distributed, with the normal variance \(\sigma _{0}^{2}\), where \(\sigma _{0}\) is the standard deviation of unit capacitor. It is easy to verify that the variation of the error associated with capacitor \(C_{i}\) can be expressed as \(2^{i}\sigma _{0}^{2}\).

To analyze the linearity caused by the capacitor variation, we assume that each capacitor is composed of its nominal value and its error term. Then, the output voltage, \(V_{\mathrm{DAC}}\), of the capacitor array for a given code d would have a deviation caused by the capacitance variation. As a result, DNL and INL can be derived theoretically to measure this deviation. DNL, by definition, can be expressed as follows:

$$\begin{aligned} \hbox {DNL}(d)= [V_{\mathrm{DAC}}(d)-V_{\mathrm{DAC}}(d-1)] - 1\hbox {LSB} \end{aligned}$$
(2)

To determine INL, a best-fit curve, \(V_\mathrm{{DAC },\mathrm{fit}}\) is introduced that passes through the end points of the \(V_{\mathrm{DAC}}\) curve. Then, INL at the given code d can be defined as the difference between \(V_{\mathrm{DAC}}(d)\) and \(V_{\mathrm{DAC },\mathrm{fit}}(d)\).

$$\begin{aligned} \hbox {INL}(d)=V_{\mathrm{DAC}}(d)-V_{\mathrm{DAC, fit}}(d) \end{aligned}$$
(3)

According to (2) and (3), we can further get the variance of DNL and INL.

$$\begin{aligned} \hbox {Var(DNL)}= & {} \hbox {E(DNL}^{2}) - \hbox {E}^{2}(DNL)\nonumber \\ \hbox {Var(INL)}= & {} \hbox {E(INL}^{2}) - \hbox {E}^{2}(INL) \end{aligned}$$
(4)

For the proposed switching scheme, according to the analysis in Sect. 2.1, the maximum INL is expected to occur at the 1/2, 1/4, or 3/4 of the full input range. At the middle of the input range, both these two capacitor arrays are connected to [1/2, 1, 1, ..., 1]. The output voltage of the capacitor array \(V_{\mathrm{DAC}}\) can be expressed as follows:

$$\begin{aligned} V_{\mathrm{DAC}}= & {} \frac{\left[ {\mathop \sum \nolimits _{i=1}^{k-2} \left( {2^{i-1}C+\delta _{p,i} } \right) +C+\delta _{p,0} } \right] B_p^T }{2^{k-2}C+\mathop \sum \nolimits _{i=0}^{k-2} \delta _{p,i} }\nonumber \\&-\frac{\left[ {\mathop \sum \nolimits _{i=1}^{k-2} \left( {2^{i-1}C+\delta _{n,i} } \right) +C+\delta _{n,0} } \right] B_n^T }{2^{k-2}C+\mathop \sum \nolimits _{i=0}^{k-2} \delta _{n,i} } \end{aligned}$$
(5)

The vectors \(B_{\mathrm{p}}\) and \(B_{\mathrm{n}}\) are used to represent the input of the capacitor array. At the middle of the input range, \(B_{\mathrm{p}}=B_{\mathrm{n}}\) = [1/2, 1, 1, ..., 1]. Since the mean of the error term, \(\mathop \sum \nolimits _{i=0}^{k-2} \delta _i \), in the denominator should statistically equal to 0, it will be neglected during the calculation. k represents the ADC resolution. Similarly, the maximum DNL that occurs at the middle of the input range can be derived with \(B_{\mathrm{p, d}}=B_{\mathrm{n, d}} = [1/2, 1, 1, \ldots , 1]\), \(B_{\mathrm{p, d-1}} = [1/2, 0, 0, \ldots , 1/2]\), and \(B_{\mathrm{n, d-1}} = [0, 1/2, 1/2, \ldots , 1/2]\). The maximum standard deviation values for the INL and DNL of the proposed scheme can be calculated as follows:

$$\begin{aligned} E\left[ {\delta _\mathrm{{max,INL}}^2 } \right]\approx & {} \frac{9}{4}\frac{2^{k-4}\sigma _0^2 }{C^{2}} \end{aligned}$$
(6)
$$\begin{aligned} E\left[ {\delta _\mathrm{{max,DNL}}^2 } \right]\approx & {} \frac{2^{k-1}\sigma _0^2 }{C^{2}} \end{aligned}$$
(7)

3.2 Linearity Simulation

In order to analyze the statistical linearity metrics of this proposed switching procedure, according to the analysis in Sect. 3.1, a theoretical model is constructed mathematically with MATLAB. About this theoretical model, we take the unit capacitor error of \(\sigma _{0}/{C} = 3\%\) into consideration, and calculate INL and DNL theoretically at each output code. To make the simulation results more convincing, we also constructed behavioral model with Monte Carlo concept. The principle of the behavioral model is similar as that in [1]. The capacitance variation associated with unit capacitor C is assumed to be Gaussian distributed. Then, the capacitance of each capacitor can be composed with its normal value and its variance. 2048 Monte Carlo runs were performed with a unit capacitor error of \(\sigma _{0}/{C} = 3\%\). The simulation results for 10-bit capacitor array with proposed switching procedure from theoretical model and Monte Carlo model matched very well. It can be shown from Fig. 6 that the maximum standard deviations of DNL and INL in this proposed switching procedure were smaller than that in the conventional scheme. This means that the proposed switching scheme is less sensitive to the capacitor mismatch, compared with the conventional switching method.

Simulation for 10-bit models with several other switching schemes was also performed for comparison, which can be found in Table 2. Modeling with both theoretical method and Monte Carlo concept were performed for 10-bit SAR ADCs, with unit capacitor error of \(\sigma _{0}/{C} = 3\%\). According to the simulation results in Table 2, this proposed switching scheme has the least standard deviations for both DNL and INL. The linearity advantage of this proposed switching procedure is due to the fact that only voltage shifts occur in the first two conversion steps, so there is no relative difference of the capacitor bottom plate switching in the capacitor arrays.

Fig. 6
figure 6

Standard deviation of DNL and INL a for the conventional switching scheme and b for the proposed switching procedure

Table 2 Linearity comparison for 10-bit SAR ADC With \(\sigma _{0}/C= 3\%\)

4 Conclusion

An energy-efficient and high-linearity capacitor switching scheme had been proposed for charge-redistribution SAR ADC. Thanks to the novel sequence initialization, reduction of up-switching steps and tri-level switching method, the average switching energy is reduced by 98.7% after taking parasitic capacitance into consideration, compared with the conventional architecture. The number of unit capacitors in the proposed capacitor array is also reduced to 1/4 of that in the conventional scheme. Moreover, linearity analysis has also performed by MATLAB modeling with both theoretical and Monte Carlo methods. It has been shown that this proposed switching procedure is less sensitive to capacitor mismatch, making it more suitable in biomedical applications.