Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 Slide 30 Slide 31 Slide 32 Slide 33 Slide 34 Slide 35 Slide 36 Slide 37 Slide 38 Slide 39 Slide 40 Slide 41 Slide 42 Slide 43 Slide 44 Product List
QuickSense C8051F990 Low Power MCU with Capacitive Sensing Slide 20
This presentation will now take a closer look at the successive approximation steps in determining the value of the ISENSOR source. The SAR will set the current source to mid-scale and drive the ramp until the timeout period expires as governed by the reference capacitor charge time. Mid-scale for the 16-bit current source is 0x8000. At this point the voltages are compared.  If the sensor capacitor has charged to a value that is greater than the reference, there was too much current and the MSB value is then set as a zero. Conversely, if the current did not reach the threshold, there was not enough current and the MSB is then set to a one. Since the previous bit was set low the next weighted bit is set to a value lower, half of the setting or 0x4000. The charge cycle is started again and the voltages are once again compared. In the example shown it can be seen that with this new value the voltage did not reach the threshold point, therefore it is necessary to supply more current to the sensor capacitor. This bit is then set as a one and the next value is again the halfway point to the mid-scale voltage or 0x6000. This process continues to the last bit, at which time the ramp rates of the two capacitors are equal.
PTM Published on: 2012-05-16