Abstract:
An analog-to-digital converter (ADC) and a battery operated electronic device comprising the ADC. The ADC comprising an input switch; an array of binary-weighted capacitors, the array of capacitors receiving the input voltage signal via the input switch in an on state of the input switch; a plurality of switches, each switch connected in series with a respective one of the capacitors at an opposite side compared to the input switch, wherein a VDD signal is applied to each switch in one switching state and ground in another switching state; a comparator having as one input a voltage from the input switch side of the array of capacitors and as another input a voltage of VDD/2; and a switch control unit coupled to an output of the comparator for controlling the switches based on the output from the comparator.

Description:
FIELD OF INVENTION 
       [0001]    The present invention relates broadly to an analog-to-digital converter (ADC) and a battery operated electronic device comprising the ADC. 
       BACKGROUND 
       [0002]    Battery operated devices are widely used. For example, many patients can benefit from wearable medical devices that provide real-time monitoring and possibly on-site treatment. It is desirable for such devices to operate under a single micro battery that is lightweight and low-volume. Therefore, such devices require operating at a low supply voltage (e.g. 1-1.5V) with ultra low power consumption for long battery lifetime. In addition, the devices also need to exhibit low input referred noise in order to pick up very weak biomedical signals. It is also desirable for such devices to have rail-rail input range. As such, a low voltage low power biomedical signal acquisition integrated circuit (IC) is required. 
         [0003]    The analog-to-digital converter (ADC) serves as the interface between real world parameters and digital circuits and is an important component in a mixed-signal IC. It is important that the ADC is of low voltage and low power. Successive approximation ADC based on charge redistribution has been widely used in low power applications. Its operation principle is the same binary-search algorithm used in all successive approximation ADCs. 
         [0004]      FIG. 1  shows a conventional successive approximation ADC  100  based on charge redistribution. The binary-weighted capacitor array  102  of the ADC  100  acts as both a digital-to-analog converter (DAC) and a sample capacitor. The conventional ADC  100  relies heavily on analog CMOS switches, which should pass analog signals of all levels to the capacitor array  102 . However, at low supply voltages, i.e. V DD &lt;V thn +V thp , the CMOS switches will exhibit very high impedance for signals near half of V DD . Thus, the conventional ADC  100  is not suitable for low-voltage operation. Several modifications have been proposed to reduce the supply voltage. 
         [0005]    For example, a structure of an ADC  200  where the input is directly fed to a comparator  202 , as shown in  FIG. 2 , has been proposed. The switches that control the capacitor array are only required to pass supply-rail-level signals since they are no longer connected to the input signal. However, noting the existence of a sample-and-hold (S/H) circuit  204  at the input of the comparator  202 , potential problems may still exist for the switches. The remedy here is to scale the DAC output to only half of V DD  or lower to allow the correct operation of the S/H circuit  204 . Although this structure  200  can work under low supply voltage (i.e. V DD &lt;V thn +V thp ), its input range is limited to the common-mode input range or half of V DD , whichever is the lower. Thus, it cannot handle rail-rail input signal. 
         [0006]    Further, a structure that does not require the comparator to have a wide common-mode input range has also been proposed. However, it needs an extra capacitor in addition to the capacitor array, which increases costs. 
         [0007]      FIG. 3  shows a structure of an ADC  300  where rail-rail input range is achieved by scaling down the input signal prior to conversion. The signal scaling is performed by using an extra capacitor, which increases cost. 
         [0008]    A S/H circuit usually precedes an ADC and consumes a non-negligible amount of power and chip area. Although it is possible to combine the S/H circuit and the comparator to save chip area, additional power consumption is still needed to provide the S/H function. 
         [0009]    Therefore, there is a need to provide an ADC for low voltage and low power operation with rail-rail input range to address at least one of the above-mentioned problems. 
       SUMMARY 
       [0010]    In accordance with a first aspect of the present invention, there is provided an analog-to-digital converter (ADC) comprising an input switch; an array of binary-weighted capacitors, the array of capacitors receiving the input voltage signal via the input switch in an on state of the input switch; a plurality of switches, each switch connected in series with a respective one of the capacitors at an opposite side compared to the input switch, wherein a V DD  signal is applied to each switch in one switching state and ground in another switching state; a comparator having as one input a voltage from the input switch side of the array of capacitors and as another input a voltage of V DD /2; and a successive approximation register (SAR) coupled to an output of the comparator for controlling the switches based on the output from the comparator. 
         [0011]    The input switch may be in an on state prior to analog-to-digital conversion to provide the input voltage to the array of binary-weighted capacitors and may be in an off state during the analog-to-digital conversion. 
         [0012]    At the beginning of the analog-to-digital conversion, the switch connected to a Most Significant Bit (MSB) one of the capacitors may be switched to the V DD  signal and all other switches may be switched to ground. 
         [0013]    The switch connected to the MSB capacitor may be switched to ground for subtracting about V DD /2 from the input voltage if the comparator determines that the voltage from the input switch side of the array of capacitors is greater than V DD /2 or to V DD  if the voltage from the input switch side of the array of capacitors is lower than or equal to V DD /2. 
         [0014]    When the MSB capacitor is switched to ground for subtracting about V DD /2 from the input voltage, the voltage at the input switch side of the array of capacitors may be reduced to within a range of about 0 to about V DD /2. 
         [0015]    In a register sequence, the switch connected to a next lower bit capacitor may then be switched to the V DD  signal and said next switch may be switched to ground if the comparator determines that the voltage from the input switch side of the array of capacitors is greater than V DD /2 or to V DD  if the voltage from the input switch side of the array of capacitors is lower than or equal to V DD /2. 
         [0016]    The register sequence may be sequentially applied to all switches. 
         [0017]    After the switch connected to a Least Significant Bit (LSB) capacitor has been subjected to the register sequence, the input switch may be closed to provide a new input signal to the array of capacitors. 
         [0018]    The input switch may be implemented as a sampling switch. 
         [0019]    The sampling switch may comprise an n- and p-transistor pair. 
         [0020]    The input switch may be implemented in an output stage of a Low Noise Operational Transconductance Amplifier (LN-OTA) coupled to the ADC. 
         [0021]    The input switch may be implemented by a pair of switch elements in the output stage of the LN-OTA coupled to the ADC. 
         [0022]    In accordance with a second aspect of the present invention, there is provided a battery operated electronic device comprising an ADC as described above. 
         [0023]    The device may be a medical device for electroencephalograms (EEG) and electrocardiograms (ECG). 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0024]    Embodiments of the invention will be better understood and readily apparent to one of ordinary skill in the art from the following written description, by way of example only, and in conjunction with the drawings, in which: 
           [0025]      FIG. 1  shows a schematic drawing of a conventional successive approximation analog-to-digital converter (ADC) based on charge redistribution. 
           [0026]      FIG. 2  shows a schematic drawing of a conventional ADC where the input is directly feed to the comparator. 
           [0027]      FIG. 3  shows a schematic drawing of a conventional ADC where rail-rail input range is achieved by scaling down the input signal prior to conversion. 
           [0028]      FIG. 4  shows a schematic drawing of a modified n-bit successive approximation ADC according to an embodiment. 
           [0029]      FIG. 5  shows a schematic diagram of a pseudo sample-and-hold circuit coupled to an ADC, according to an embodiment. 
           [0030]      FIG. 6   a  shows a plot of differential non-linearity versus code width. 
           [0031]      FIG. 6   b  shows a plot of integral non-linearity versus code width. 
           [0032]      FIG. 7  shows a plot of voltage versus time, illustrating the error caused by switching. 
           [0033]      FIG. 8  shows a schematic diagram of a battery operated electronic device. 
       
    
    
     DETAILED DESCRIPTION 
       [0034]    The embodiments described herein provide an ADC suitable for A/D conversion in low-voltage and low-power, such as remote sensor networks and micro medical devices. The embodiments provide a low voltage analog-to-digital (A/D) conversion without using an extra capacitor in addition to a binary capacitor array of an ADC. 
         [0035]      FIG. 4  shows a schematic diagram of a modified n-bit successive approximation ADC  402 . The actual value of n is arbitrary in practice and can be selected as desired. The ADC  402  comprises a binary-weighted capacitor array  404  and a plurality of switches S 1 -S n . In this implementation, CMOS switches are used. Each switch S 1 -S n  is connected in series with one corresponding capacitor and is only required to pass supply rail levels. The inventors have recognised that by modifying the topology of successive approximation ADC based on charge redistribution, the ADC  402  is able to achieve a rail-rail input range when the comparator common-mode input range encompasses the middle level between supply rails, i.e. includes V DD /2, when operating at low supply voltages. 
         [0036]    The ADC  402  further comprises a comparator  406 . A dynamic comparator  406  that does not consume any power when inactive is used to reduce power consumption. The comparator  406  is coupled to the capacitor array  404  of the ADC  402  at one end and has a reference voltage (V ref ) of V DD /2 at the other end. The reason the value V DD /2 is chosen as the reference voltage in the described implementation is that it gives the most significant bit (MSB) value, assuming that the full voltage range of V in  is V DD . The ADC  402  also comprises a successive approximation register (SAR)  408 . The SAR  408  controls both an input switch S 0 , as well as the switches S 1 -S n  of the ADC  402 . 
         [0037]    The ADC  402  starts the A/D conversion from the most significant bit (MSB) to the least significant bit (LSB). The MSB corresponds to the capacitor  2   n-1 C and the LSB corresponds to the capacitor C. As such, the A/D conversion begins with the switch S 1 , corresponding to the capacitor  2   n-1 C, being switched to Vref_ 1  (V DD ) while the remaining switches S 2 -S n  are switched to Vref_ 0  (GND). 
         [0038]    Prior to analog-to-digital (A/D) conversion, the input switch S 0  of the ADC  402  is switched on, the switch S 1  is switched to Vref_ 1  (V DD ) and the switches S 2 -S n  are switched to Vref_ 0  (GND). The voltage on node C is charged to V in . At the beginning of the A/D conversion, the input switch S 0  of the ADC  402  is turned off. The voltage V in  is held constant on the capacitor array  404  of the ADC  402  and A/D conversion is performed. 
         [0039]    The comparator  406  then determines if the voltage at node C is greater than Vref (V DD /2). If the voltage at node C is greater than Vref (V DD /2), the SAR switches the switch S 1  to Vref_ 0  (GND). Otherwise, the switch S 1  remains unchanged. With such an arrangement, if V in &gt;V DD /2, by switching the switch S 1  back to Vref_ 0  (GND), the voltage at node C is reduced to about V in −V DD /2, or is reduced to within a range of about 0 to about V DD /2. After this, the switch S 2  is switched to Vref_ 1  (V DD ), which is equivalent to adding about V DD /4 to the voltage at node C. The comparator  406  determines if the voltage on C is greater than Vref (V DD /2). If the voltage at node C is greater than Vref (V DD /2), the switch S 2  is switched to Vref_ 0  (GND) and the switch S 3  is switched to Vref_ 1  (V DD) , which is equivalent to adding about V DD /8 to the voltage at node C. Otherwise, the switch S 2  remains at Vref_ 1  (V DD ). The final states of the switches S 3 -S n  are determined in the same way as the switches S 1  and S 2 . During the A/D conversion, the voltage at node C successively approaches Vref (V DD /2). After the final states of all the switches are determined, the A/D conversion is completed. The SAR  408  resets all the switches S 1 -Sn to their original states prior to conversion and the input switch S 0  is switched on to charge node C to a new input voltage before performing the next A/D conversion. 
         [0040]    From the above description, it will be appreciated by a person skilled in the art that V in  is scaled down by switching the MSB capacitor  2   n-1 C to Vref_ 0  (GND) during the A/D conversion when V in &gt;V DD /2. This is advantageously achieved without having to use an extra capacitor in addition to the capacitor array  404 . 
         [0041]    To conserve power, the ADC  402  does not have a dedicated sample-and-hold (S/H) circuit. The S/H function is activated by switching on the input switch S 0  prior to the A/D conversion and switching off the input switch S 0  at the beginning of the A/D conversion. In this example, the input switch S 0  is implemented as a sampling switch. A person skilled in the art will appreciate that the sampling switch may e.g. comprise an n- and p-transistor pair to accommodate the assumed full input voltage range of V DD . Alternatively, the switch S 0  may represent an implementation of the switching function realized in a pseudo S/H circuit that is described in the following. 
         [0042]      FIG. 5  shows a schematic diagram of a pseudo S/H circuit coupled to an ADC  503 . The S/H function is performed through an output stage  502  of a low noise operational transconductance amplifier (LN-OTA), which can be considered as a pseudo S/H circuit. The output stage  502  of the LN-OTA is directly connected to the capacitor array  505  of the ADC  503 . In this implementation, the function of the input switch S 0  is provided by the two switches, SA and SB added in the output stage  502  of the LN-OTA to periodically switch off the output stage  502  of the LN-OTA for a short duration during A/D conversion. The two switches, SA and SB are controlled by an ADC clock and control circuit  504 . The ADC clock and control circuit  504  is coupled to a ring oscillator  506 . A start-up circuit  508  of the ring oscillator  506  is also shown in  FIG. 5 . Inlet  510  shows control and output signals for the ADC  503  in the example implementation. 
         [0043]    A person skilled in the art will appreciate that other S/H circuits can be used that operate at low rail-rail voltage. Using a pseudo S/H circuit advantageously provides sample-and-hold function without any extra power consumption and chip area. It will be appreciated by the person skilled in the art that the pseudo S/H circuit is suitable for applications where the requirement of data rate is much low than the sampling clock rate of the ADC, but has a stringent power consumption budget, such as surface biopotential measurement and various temperature and pressure sensors etc. 
         [0044]    Confidential experimental results show that the ADC  503  can obtain rail-rail input with a power supply of about 0.8V. The two accuracy parameters for ADCs are differential non-linearity (DNL) and integral non-linearity (INL).  FIGS. 6   a  and  6   b  show the plots of differential non-linearity (DNL) versus code width and integral non-linearity (INL) versus code width respectively. From  FIG. 6   a , plot  602  shows that the measured DNL is about 1.5 LSB. From  FIG. 6   b , plot  604  shows that the measured INL is about ±2 LSB. 
         [0045]    As appreciated by a person skilled in the art, the purpose of the pseudo sample-and-hold circuit invention is to switch off the output stage  502  of the LN-OTA only for a very brief time so that the effect of switching can be ignored. This is practicable in many applications, e.g. for low data rate processing in most medical devices, such as electroencephalograms (EEG) and electrocardiograms (ECG), in which the data rate is usually less than 1 kS/s. The conversion time for the ADC  503  can be made very short compared with the data period. To achieve this, the ADC  503  can have a sampling rate of about 500 kS/s and is able to complete an A/D conversion in about 2 μs. Thus, the ADC  503  is idle for most of the time. When the ADC  503  is idle, the switches SA and SB are turned on, and the LN-OTA is in normal operation mode. 
         [0046]    Periodically switching off the output stage  502  of the LN-OTA will introduce some error.  FIG. 7  shows a plot of voltage (V) versus time (t), illustrating the error caused by switching. Graph  702  shows a plot of voltage versus time for an ideal amplifier output. Graph  704  shows a plot of voltage versus time for a switched amplifier output. 
         [0047]    A first-order analysis shows that the error can be expressed as 
         [0000]    
       
         
           
             
               
                 
                   
                     error 
                     n 
                   
                   = 
                   
                     
                       ∑ 
                       
                         i 
                         = 
                         
                           - 
                           ∞ 
                         
                       
                       
                         n 
                         - 
                         1 
                       
                     
                      
                     
                         
                     
                      
                     
                       
                         - 
                         
                           
                             ( 
                             
                               
                                 ∂ 
                                 
                                   V 
                                   
                                     out 
                                     , 
                                     ideal 
                                   
                                 
                               
                               
                                 ∂ 
                                 t 
                               
                             
                             ) 
                           
                           i 
                         
                       
                       · 
                       
                         T 
                         ADC 
                       
                       · 
                       
                          
                         
                           
                             - 
                             
                               [ 
                               
                                 
                                   
                                     ( 
                                     
                                       n 
                                       - 
                                       i 
                                     
                                     ) 
                                   
                                   · 
                                   
                                     T 
                                     cycle 
                                   
                                 
                                 - 
                                 
                                   T 
                                   ADC 
                                 
                               
                               ] 
                             
                           
                           / 
                           τ 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
     
         [0000]    where V out,ideal  is the ideal output with no switching, τ is a constant determined by circuit parameters, T ADC  is the A/D conversion time and T cycle  is the sampling period. Using equation (1), it can be determined whether the error caused by switching is negligible. In practice, the allowable maximum error depends on each particular application, as appreciated by the person skilled in the art. 
         [0048]    Assuming that T ADC &lt;&lt;T cycle , (T cycle  can be considered as the reciprocal of the data rate) the worst case tracking error is 
         [0000]    
       
         
           
             
               
                 
                   
                     
                        
                       error 
                        
                     
                     max 
                   
                   = 
                   
                     
                       
                          
                         
                           
                             ∂ 
                             
                               V 
                               
                                 out 
                                 , 
                                 ideal 
                               
                             
                           
                           
                             ∂ 
                             t 
                           
                         
                          
                       
                       max 
                     
                     · 
                     
                       T 
                       ADC 
                     
                     · 
                     
                       
                          
                         
                           
                             - 
                             
                               T 
                               cycle 
                             
                           
                           / 
                           τ 
                         
                       
                       / 
                       
                         ( 
                         
                           1 
                           - 
                           
                              
                             
                               
                                 - 
                                 
                                   T 
                                   cycle 
                                 
                               
                               / 
                               τ 
                             
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
         [0049]    According to equation (2), if T cycle  is sufficiently long and T ADC  is sufficiently short, the error can be negligible. In an example design, τ≈850 μs, T ADC =2 μs, T cycle =1 ms. For a typical ECG signal, the maximum error is about 0.3 μV, which is well below the input-referred noise of the LN-OTA and can therefore be ignored. 
         [0050]      FIG. 8  shows a schematic diagram of a battery operated electronic device  800  such as a portable medical device for electroencephalogram (EEG) and electrocardiogram (ECG). The device  800  comprises an input unit  802 , a LN-OTA/ADC unit  804 , an output unit  806  and a battery unit  808 . The LN-OTA/ADC unit  804  is coupled to the input unit  802  and the output unit  806 . The battery unit is coupled to the LN-OTA/ADC unit  804 . The battery unit can also be coupled to active components of the input unit  802  and the output unit  806 . 
         [0051]    It will be appreciated by a person skilled in the art that numerous variations and/or modifications may be made to the present invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects to be illustrative and not restrictive.