Tuning the CVD Waveform - Optimizing Performance

CVD Waveform Steps

CVD :: Capacitive Voltage Divider
DAC :: Digital-to-Analog Converter
ADC :: Analog-to-Digital Converter
TAD :: Time required for the ADC to complete one bit conversion.

The ADC conversion completes while math is being performed on the previous mTouch scan result.

The ADC conversion completes. When finished, the first scan is subtracted from the second. The second scan is offset by 1024 to make sure this subtract never goes negative.

CVD Waveform Steps

Below is a picture of what the CVD waveform should look like on a scope. Note that sensor lines are used both for scanning themselves and the other sensors. You may notice the sensor being pulled high and low during other sensor's scans.

cvdWaveform.jpg

The mTouch framework provides the ability to tune the timing of CVD waveform for specific hardware designs. The amount of parasitic capacitance, the size of the sensor, the size of the sensor's series resistor, and VDD all play a role in determining the amount of time required to charge/discharge during each step of the scan.

cvdWaveformDelay.jpg

CVD Waveform Delay Configuration Options