ZHCSF09 May 2016 FDC2112-Q1 , FDC2114-Q1 , FDC2212-Q1 , FDC2214-Q1
PRODUCTION DATA.
NOTE
Information in the following applications sections is not part of the TI component specification, and TI does not warrant its accuracy or completeness. TI’s customers are responsible for determining suitability of components for their purposes. Customers should validate and test their design implementation to confirm system functionality.
The FDC supports two sensor configurations. Both configurations use an LC tank to set the frequency of oscillation. A typical choice is an 18-μH shielded SMD inductor in parallel with a 33-pF capacitor, which result in a 6.5-MHz oscillation frequency. In the single-ended configuration in Figure 54, a conductive plate is connected IN0A. Together with a target object, the conductive plate forms a variable capacitor.
In the differential sensor configuration in Figure 55, one conductive plate is connected to IN0A, and a second conductive plate is connected to IN0B. Together, they form a variable capacitor. When using an single-ended sensor configuration, set CHx_FIN_SEL to b10 (divide by 2).
The single-ended configuration allows higher sensing range than the differential configuration for a given total sensor plate area. In applications in which high sensitivity at close proximity is desired, the differential configuration performs better than the single-ended configuration.
in order to minimize interference from external objects, some applications require an additional plate which acts as a shield. The shield can either be:
For applications which do not require high sample rates or maximum conversion resolution, the total active conversion time of the FDC can be minimized to reduce power consumption. This can be done by either by using sleep mode or shutdown mode during times in which conversions are not required (see Device Functional Modes).
As an example, for an application which only needs 10 samples per second with a resolution of 16 bits can utilize the low-power modes. The sensor requires SETTLECOUNT = 16 and IDRIVE of 01111b (0.146 mA). Given FREF = 40 MHz and RCOUNT = 4096 will provide the resolution required. This corresponds to 4096 × 16 × 10 / 40 MHz → 16.4 ms of active conversion time per second. Start-up time and channel switch delay account for an additional 0.34 ms. For the remainder of the time, the device can be in sleep mode: Therefore, the average current is 19.4 ms * 3.6 mA active current + 980.6 ms of 35 µA of sleep current, which is approximately 104.6 µA of average supply current. Sleep mode retains register settings and therefore requires less I2C writes to wake up the FDC than shutdown mode.
Greater current savings can be realized by use of shutdown mode during inactive periods. In shutdown mode, device configuration is not retained, so the device must be configured for each sample. For this example, configuring each sample takes approximately 1.2 ms (13 registers × 92.5 µs per register). The total active time is 20.6 ms. The average current is 20 ms × 3.6 mA active current + 980 ms × 2 µA of shutdown current, which is approximately 75 µA of average supply current.
For further information on power-cycled applications, refer to Power Reduction Techniques for the FDC2214/2212/2114/2112 in Capacitive Sensing Applications.
Every inductor has a distributed parasitic capacitance, which is dependent on construction and geometry. At the self-resonant frequency (SRF), the reactance of the inductor cancels the reactance of the parasitic capacitance. Above the SRF, the inductor will electrically appear to be a capacitor. Because the parasitic capacitance is not well-controlled or stable, TI recommends: fSENSOR < 0.8 × fSR.
The example inductor in Figure 56, has a SRF at 6.38 MHz; therefore, the inductor must not be operated above 0.8 × 6.38 MHz, or 5.1 MHz.
Common test conditions (unless specified otherwise): Sensor capacitor: 1 layer, 20.9 × 13.9 mm, Bourns CMH322522-180KL sensor inductor with L=18 µH and 33 pF 1% COG/NP0 Target: Grounded aluminum plate (176 × 123 mm), Channel = Channel 0 (continuous mode) CLKIN = 40 MHz, CHx_FIN_SEL = b10, CHx_FREF_DIVIDER = b00 0000 0001 CH0_RCOUNT = 0xFFFF, SETTLECOUNT_CH0 = 0x0100, DRIVE_CURRENT_CH0 = 0x7800
The FDC can be used to measure liquid level in non-conductive containers. Due to its very high excitation rate capability, it is able to measure soapy water, ink, soap, and other conductive liquids. Capacitive sensors can be attached to the outside of the container or be located remotely from the container, allowing for contactless measurements.
The working principle is based on a ratiometric measurement; Figure 60 shows a possible system implementation which uses three electrodes. The level electrode provides a capacitance value proportional to the liquid level. The reference environmental electrode and the reference liquid electrode are used as references. The reference liquid electrode accounts for the liquid dielectric constant and its variation, while the reference environmental electrode is used to compensate for any other environmental variations that are not due to the liquid itself. Note that the reference environmental electrode and the reference liquid electrode are the same physical size (hREF).
For this application, single-ended measurements on the active channels are appropriate, as the tank is grounded. Use to determine the liquid level from the measured capacitances:
where
The ratio between the capacitance of the level and the reference electrodes allows simple calculation of the liquid level inside the container itself. Very high sensitivity values (that is, many LSB/mm) can be obtained due to the high resolution of the FDC2x1x, even when the sensors are located remotely from the container. Note that this approach assumes that the container has a uniform cross section from top to bottom, so that each incremental increase or decrease in the liquid represents a change in volume that is directly related to the height of the liquid.
The liquid level measurement should be independent of the liquid, which can be achieved using the 3-electrode design described above. Moreover, the sensor should be isolated from environmental interferers such as a human body, other objects, or EMI.
In capacitive sensing systems, the design of the sensor plays an important role in determining system performance and capabilities. In most cases the sensor is simply a metal plate that can be designed on the PCB.
The sensor used in this example is implemented with a two-layer PCB. On the top layer, which faces the tank, there are the 3 electrodes (reference environmental, reference liquid, and level) with a ground plane surrounding the electrodes.
Depending on the shape of the container, the FDC can be located on the sensor PCB to minimize the length of the traces between the input channels and the sensors. In case the shape of the container or other mechanical constraints do not allow having the sensors and the FDC on the same PCB, the traces which connect the channels to the sensor need to be shielded with the appropriate shield.
A liquid level sensor with 3 electrodes like the one shown in the schematic was connected to the EVM. The plot shows the capacitance measured by Level sensor at different levels of liquid in the tank. The capacitance of the Reference Liquid and Reference Environmental sensors have a steady value because they experience consistent exposure to liquid and air, while the capacitance of the level sensor (Level) increases linearly with the height of the liquid in the tank.
The application requires 100SPS (TSAMPLE = 10 ms). A sensor with an 18-µH inductor and a 33-pF capacitor is used. Additional pin, trace, and wire capacitance accounts for 20 pF, so the total capacitance is 53-pF.
Using L and C, fSENSOR = 1/2π√(LC) = 1/2π√(18 × 10-6 × 50 × 10-12) = 5.15 MHz. This represents the maximum sensor frequency. When the sensor capacitance is added, the frequency will decrease.
Using a system master clock of 40 MHz applied to the CLKIN pin allows flexibility for setting the internal clock frequencies. The sensor coils are connected to channel 0 (IN0A and IN0B pins), channel 1 (IN1A and IN1B pins), and channel 2 (IN2A and IN2B pins).
After powering on the FDC, it will be in Sleep Mode. Program the registers as follows (example sets registers for channel 0 only; channel 1 and channel 2 registers can use equivalent configuration):
We then read the conversion results for channel 0 to channel 2 every 10ms from register addresses 0x00 to 0x05.
Based on the example configuration above, TI recommends the following register write sequence
is recommended:
ADDRESS | VALUE | REGISTER NAME | COMMENTS |
---|---|---|---|
0x08 | 0x8329 | RCOUNT_CH0 | Reference count calculated from timing requirements (100 SPS) and resolution requirements |
0x09 | 0x8329 | RCOUNT_CH1 | Reference count calculated from timing requirements (100 SPS) and resolution requirements |
0x0A | 0x8329 | RCOUNT_CH2 | Reference count calculated from timing requirements (100 SPS) and resolution requirements |
0x10 | 0x000A | SETTLECOUNT_CH0 | Minimum settling time for chosen sensor |
0x11 | 0x000A | SETTLECOUNT_CH1 | Minimum settling time for chosen sensor |
0x12 | 0x000A | SETTLECOUNT_CH2 | Minimum settling time for chosen sensor |
0x14 | 0x2002 | CLOCK_DIVIDER_CH0 | CH0_FIN_DIVIDER = 1, CH0_FREF_DIVIDER = 2 |
0x15 | 0x2002 | CLOCK_DIVIDER_CH1 | CH1_FIN_DIVIDER = 1, CH1_FREF_DIVIDER = 2 |
0x16 | 0x2002 | CLOCK_DIVIDER_CH2 | CH1_FIN_DIVIDER = 1, CH1_FREF_DIVIDER = 2 |
0x19 | 0x0000 | ERROR_CONFIG | Can be changed from default to report status and error conditions |
0x1B | 0xC20D | MUX_CONFIG | Enable Ch 0 , Ch 1, and Ch 2 (sequential mode), set Input deglitch bandwidth to 10MHz |
0x1E | 0x7C00 | DRIVE_CURRENT_CH0 | Sets sensor drive current on ch 0 |
0x1F | 0x7C00 | DRIVE_CURRENT_CH1 | Sets sensor drive current on ch 1 |
0x20 | 0x7C00 | DRIVE_CURRENT_CH2 | Sets sensor drive current on ch 2 |
0x1A | 0x1601 | CONFIG | Enable full current drive during sensor activation, select external clock source, wake up device to start conversion. This register write must occur last because device configuration is not permitted while the FDC is in active mode. |