SNOA943 January   2016 FDC2112 , FDC2112-Q1 , FDC2114 , FDC2114-Q1 , FDC2212 , FDC2212-Q1 , FDC2214 , FDC2214-Q1

 

  1.   Power Reduction Techniques for the FDC2214/2212/2114/2112 in Capacitive Sensing Applications
    1.     Trademarks
    2. 1 Duty-Cycling
      1. 1.1 FDC2x1x Operational Parameters That Affect Duty Cycling
    3. 2 Clock Gating
    4. 3 Test Setup
    5. 4 Measurement Results
      1. 4.1 Measurements with Gated Clock
    6. 5 Current Consumption Measurements vs Data Conversion Time
      1. 5.1 Data Readback Overhead
    7. 6 Comparison of Measured and Estimated Current Consumption
      1. 6.1 Estimating Current Consumption
    8. 7 Results
    9. 8 Summary

FDC2x1x Operational Parameters That Affect Duty Cycling

The FDC family of devices are either 2 or 4 channel devices. When configured to sample on more than one channel, the FDC sequentially samples the channels. Figure 1 and Figure 2 show both single channel and multichannel mode sequencing in continuous conversion of the FDC2x1x, representing a non-duty cycled mode of operation. The normal sequence of tasks on each channel include sensor activation, conversion, channel switching (multi-mode only), and data readback.

single_channel_snoa943.gifFigure 1. Single Channel Mode Sequencing in Continuous Conversion
multi_channel_snoa943.gifFigure 2. Multi-Channel Mode Sequencing in Continuous Conversion

The sum of the times it takes for each task to complete is equivalent to a sample time, during which the device needs to be actively running. In the data sheet, this is referred to as normal mode, but throughout this application note this will be referred to as active mode. We will also distinguish between sampling period (TS) and sampling time (tN). The former is defined as the time between consecutive samples on the same channel, and the latter is defined as the time required to obtain a single sample. The latter is expressed in Equation 1.

Equation 1. tN = tS + tC + tSD + tRB

    where

  • tN is the time the device spends sampling in active mode
  • tS is the sensor activation time
  • tC is the sensor conversion time
  • tSD is the channel switch delay
  • tRB is the data readback time

In general, tSD < tS << tC. Consequently, tC has the most impact on sampling time and hence, duty cycle.

The sensor activation time, tS, refers to the amount of time needed for the sensor oscillation to startup and stabilize. This activation time (tS) is programmable through the SETTLECOUNT register for each channel and given by Equation 2 where fREF is the reference clock frequency.

Equation 2. eq01_snoa943.gif

The sensor conversion time, tC, is the largest part of this sequence. It represents the number of reference clock cycles (RCOUNT*16) used to perform a measurement conversion. As seen in Equation 3, the sensor conversion time can be set by the RCOUNT register value for each channel.

Equation 3. eq02_snoa943.gif

The choice of RCOUNT value is driven by the resolution required by the application. If the required resolution is N bits, then the following equation can be used to calculate an initial value for RCOUNT.

Equation 4. RCOUNT = 2(N-4)

See section 9.3.2 of the data sheet (SNOSCZ5) for more explanation of RCOUNT and sample resolution.

When the FDC2x1x is in multichannel mode, the channel switch delay needs to be included in the total sampling time. This is the delay time between the end of a sensor conversion on one channel and the beginning of sensor activation on a subsequent channel. This delay time is relatively minimal and is given by Equation 5.

Equation 5. eq03_snoa943.gif

In addition to the time required to complete the three tasks discussed above, the microprocessor takes some time to read back the channel measurement. This data readback time, tRB, is a function of the data resolution, the number of data registers being read, the number of clocking cycles to read or write to each register, and the I2C data rate.

The total time to complete this sequence is the total amount of time for which the FDC2x1x must be in active mode (Equation 1). If fS is the required sampling rate and TS is the sampling period (TS=1/fS), the idea behind the duty-cycling technique is that the device is put into sleep mode when it is not operating in this data conversion process (TSLEEP = TS – tN). Consequently, the percentage of time the FDC is in a low power sleep mode is given by Equation 6.

Equation 6. eq04_snoa943.gif

For more information on how to configure the FDC2x1x, refer to the data sheet (SNOSCZ5).

In summary, given a minimum sampling rate required by the application, the duty cycle only needs to be large enough to meet the minimum resolution requirements of the application. Figure 3 illustrates this graphically.

fdc_duty_cycle_snoa943.gifFigure 3. Duty Cycle as a Function of Settling Time, Conversion Time,
Switching Time, and Readback Time

To place the FDC in sleep mode, write the value 1 to the CONFIG.SLEEP_MODE_EN register field. While in sleep mode, the FDC retains its register contents except for that in the data registers, which must be read before the device is placed in sleep mode. To exit sleep mode, write the value 0 to the CONFIG.SLEEP_MODE_EN register field.