Touch sensor solutions for wet environments

Description

Capacitive touch sensors are commonly found today in MP3 players and mobile phones. As this sensor technology expands into other product categories, new design challenges are encountered. With electric ranges, dishwashers and other products in the white goods category, one of these new challenges is operation in a wet environment.

Reviews
Touch sensor solutions for wet environments
Rated 6 out of 10

March 02, 2009 (9 months 27 days ago)
The switch will have to be not just water resistant but chemical resistant too in an industrial setting.

Touch sensor solutions for wet environments
Rated 6 out of 10

March 02, 2009 (9 months 28 days ago)
"Industries with wet work environments desperately need capacitive touch sensors! "

Touch Sensor Solutions for Wet Environments
Rated 7 out of 10

February 16, 2009 (11 months -17 days ago)
This is a very educative document

Shared by: Daniel Ethan
Stats
views:
573
rating:
6.5(4)
reviews:
3
posted:
2/5/2009
language:
pages:
0
Touch sensor solutions for wet environments By Mark Lee, Application Engineer, Cypress Semiconductor Corp. Executive Summary Capacitive touch sensors are commonly found today in MP3 players and mobile phones. As this sensor technology expands into other product categories, new design challenges are encountered. With electric ranges, dishwashers and other products in the white goods category, one of these new challenges is operation in a wet environment. This article shows how to design capacitive touch sensors that are water tolerant. Water tolerant versus waterproof A waterproof design implies system performance that is totally immune to the effects of water. For a water tolerant design, water levels encountered in normal operation do not interfere with sensor operation. Splatters and spills on the touch surface are tolerated, but total immersion is not. Water tolerance is a reasonable and cost effective solution for operation in a wet environment. In a water tolerant design, only the touch of a finger produces a signal large enough to register as a "touch". However, if a boiling pot overflows, and the touch surface is submerged in hot liquid, the water tolerant sensor will be challenged to operate normally. Through proper configuration of the sensor array, the submersion can be detected, and the system can be alerted that an abnormal event has occurred. The safest response to such an event is to turn off the burner until the spill can be cleaned up. In contrast, a waterproof design will continue normal operation after the spill. To turn off the burner, the user of a waterproof system needs to touch the sensor through a coating of hot liquid. If the liquid is too hot to touch, the burner stays on, and the pot keeps boiling, only making the situation worse. The water tolerant design leads to a system that turns itself off with a major spill. Comparing the two approaches for reacting to a spill of hot liquid, the water tolerant design is the safer and smarter choice. Classifying the degree of surface wetness In the following discussion, surface wetness is classified into three categories: Dry, Droplet, and Stream, as shown in Figure 1. When liquid is sprayed or splashed onto a dry surface, surface tension causes the liquid to bead up, forming droplets. A water tolerant design needs to operate normally when the surface is covered with droplets. For larger amounts of liquid, the droplets merge together and form a stream if set in motion, or a puddle if the surface is at a low point. Touch sensor solutions for wet environments Published in electronic design (http://electronicdesign.com) Page 1 of 10 October 2008 [+] Feedback Figure 1. Cross section view of the three categories of surface wetness : a) Dry, b) Droplet, c) Stream. Special electrodes help in wet environments Fingers are conductive, so they interact with the electric field that is set up around the touch sensors. Water is conductive, so it interacts with the same electric field when it is lands in the active sensing area. This can lead to a report of a finger touch when water splashes onto the sensing surface even when no finger is present. Figure 2 shows an example of drops of water producing the same signal level as a finger for a touch sensor that lacks any features for water tolerance. The Raw Count shown in the figure is the unfiltered output from the sensor. The Baseline is a continuously updated estimate of the average Raw Count level when a finger is not present. The Baseline provides a reference point for determining when a finger is present on the sensing surface. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 2 of 10 October 2008 [+] Feedback Figure 2. Example of a finger touch and drops of water both producing a signal that crosses the finger detection threshold for a sensor with no water tolerance. Fingers and water interact in a similar, but not identical, way with electric fields. There is enough difference between the two to make possible techniques for discriminating between a touch and a spill. On printed circuit boards and flex circuits, a practical level of water tolerance is achieved with the use of a shield electrode and guard sensor. These special electrodes add no material cost to the system since they are incorporated into the same circuit board layout as the touch sensors, as shown in Figure 3. The purpose of the shield electrode is to set up an electric field pattern around the touch sensors that helps attenuate the effects of water [1]. The purpose of the guard sensor is to detect abnormally high liquid levels so the system can react appropriately. Figure 3. The shield electrode and guard sensor are added to the printed circuit board layout to add water tolerance to standard touch sensors. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 3 of 10 October 2008 [+] Feedback The shield electrode The shield electrode works by mirroring the voltage of the touch sensor on the shield. In practice, the shield electrode waveform only needs to approximate the shape and timing of the waveform on the touch sensor to be effective. In the CSD sensing method that runs on the PSoC® chip from Cypress Semiconductor, the shield is driven by internally switching the shield pin between VDD and ground. This is shown in Figure 4. Figure 4. Schematic of the shield electrode circuit implemented with the CSD sensing method that runs on the PSoC® chip from Cypress Semiconductor. The switches in the shield circuit are driven by a two-phase clock. In the first phase, The sensor capacitor, Csensor, is charged up to VDD, and the terminals of the parasitic capacitance associated with the shield are shorted together by switches SW1 and SW3. In the second phase, Csensor discharges into the capacitors Cmod and Cshield, and into the modulator. The average current flowing through switch SW4 sets the duty cycle of the modulator, which in turn sets the counter value of the CSD output. Without the shield, switch SW1 and SW2 are not present, and the current flowing through switch SW4 is proportional to only to Csensor. Water and finger touches on the sensor increase the capacitance of Csensor. The result is that water and fingers both increase sensor counts without a shield, as demonstrated in Figure 1. With the shield in place, the average current in switch SW4 is reduced since some of the charge in Csensor now makes its way into Cshield when SW2 is closed. With less current flowing into the modulator, the baseline level for sensor counts will be reduced. Water increases the capacitance of Cshield, which results in an even lower average current into the modulator. It is interesting to note that with the shield in place, water and fingers produce opposite responses in the sensor output. Fingers cause an increase in counts. Water causes a decrease in counts. These effects are demonstrated in Figure 5. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 4 of 10 October 2008 [+] Feedback Figure 5. Example of a finger touch producing a signal that crosses the finger detection threshold, while drops of water do not for a sensor with a shield electrode. The guard sensor The purpose of the guard sensor is to indicate that an abnormally large amount of water is on the sensing surface. The guard sensor is a special touch sensor electrode that surrounds the other touch sensors. When touched with a finger, the guard sensor indicates the presence of the finger. What makes the guard sensor special is that it produces a much larger signal with stream than with a touch. To discriminate between a touch and a stream, the shield electrode is grounded when sensor counts are acquired from the guard sensor. The counts for all the other sensors are acquired with the shield voltage tracking the voltage on the sensor electrode, as described in the previous section. Figure 6 shows the result of using this technique. A stream of water in this example produces twice the signal than a finger does. When the signal from the guard sensor crosses the threshold, the system is alerted that too much water is on the surface for normal operation. The system designer can then decide the appropriate action in response to the spill. Figure 6. A finger touches the dry surface, and then a stream of water activates the guard sensor. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 5 of 10 October 2008 [+] Feedback Test circuit and Printed Circuit Board The schematic of a water tolerant touch sensing system based on the CY8C21434 PSoC® chip from Cypress Semiconductor is shown in Figure 7, [2]. This design includes three touch sensors that are labeled SENS1, SENS2, and SENS3. The design also includes a shield electrode and a guard sensor. The touch sensors, the shield and the guard sensor are all controlled by the PSoC®. This microcontroller is also configured in firmware to drive a set of LEDs that indicate when a finger touch occurs. The ISSP/I2C port supports the dual functions of programming and I2C communication with a host computer. The CY8C21434 can support 20 sensor inputs when water tolerant features are enabled. Unused sensor inputs can either be programmed for additional I/O functions, or left unassigned. Figure 8 shows the top view of the printed circuit board for this application. The board layout follows the guidelines for CapSense™ PCBs found in Application Note AN2292 from Cypress Semiconductor [3]. Figure 7. Schematic of a water tolerant touch sensing system based on the CY8C21434 PSoC® chip from Cypress Semiconductor that includes three touch sensors, a shield electrode and a guard sensor. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 6 of 10 October 2008 [+] Feedback Figure 8. The touch sensors, shield electrode and guard sensors are on the on the top layer of the printed circuit board, and all the components mounted on the bottom layer. Putting it all together The final step in system design is assembly of the PCB with the chassis, and joining the PCB to the protective overlay. The overlay material is a 2mm-thick acrylic sheet that is joined to the PCB with a thin layer of nonconductive adhesive film. Figures 9, 10 and 11 show the performance of the final assembly. Figure 9 shows that the touch sensor and guard sensor response to a finger touch when the surface is dry. Figure 10 shows what happens when the surface is covered with water droplets. With the shield in place, the finger response is around 10x the signal produced by water droplets. Setting the finger detection threshold above the signal produced by the droplets, only finger touches are seen by the system, while the droplet signal is lost in the noise. Figure 11 shows that when a stream of water covers the surface, both the touch sensors and guard sensor produce a large signal. The guard sensor produces a 6x increase in signal with the stream of water compared to the crosstalkinduced signal level seen with water droplets and with a dry surface. This big increase in the signal level of the guard sensor makes it possible for the system to detect a big spill and react in a predetermined way. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 7 of 10 October 2008 [+] Feedback Figure 9. Dry surface: As a finger touches briefly on each touch sensor location, the sensor counts indicate contact with the finger, and the guard sensor shows a small amount of crosstalk. Figure 10. Wet surface covered by water droplets: Water droplet effects are visible in the sensor counts, but the peak change in counts caused by water is only 10% of the change caused by a finger. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 8 of 10 October 2008 [+] Feedback Figure 11. Wet surface covered by water stream: With the surface is totally submerged in water, the guard sensor signal level is greater than each of the touch sensors, and 6x the level produced with droplets. References [1] Application Note AN42851, "Proximity Detection in the Presence of Metal Objects", Cypress Semiconductor [2] Application Note AN2398, " Capacitance Sensing - Waterproof Capacitance Sensing", Cypress Semiconductor [3] Application Note AN2292, "Capacitance Sensing - Layout Guidelines for PSoC® CapSense™", Cypress Semiconductor Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 9 of 10 October 2008 [+] Feedback Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone: 408-943-2600 Fax: 408-943-4730 http://www.cypress.com © Cypress Semiconductor Corporation, 2007. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. PSoC Designer™, Programmable System-on-Chip™, and PSoC Express™ are trademarks and PSoC® is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations. This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. Touch sensor solutions for wet environments Published in Electronic Design (http://electronicdesign.com) Page 10 of 10 October 2008 [+] Feedback

Related docs
Getting in Touch with Sensor Design
Views: 331  |  Downloads: 14
WET CLEANING MANUAL
Views: 3  |  Downloads: 0
STUDENT WORKSHEET TOUCH SENSOR BUMPER
Views: 1  |  Downloads: 0
TOUCH SCREEN – INTEGRAL SOLUTIONS
Views: 27  |  Downloads: 1
Touch Screen
Views: 831  |  Downloads: 42
Touch
Views: 11  |  Downloads: 0
EKG Sensor
Views: 13  |  Downloads: 2
Probe sensor types and failure modes
Views: 2  |  Downloads: 0
Introduction to Virtual Environments
Views: 105  |  Downloads: 14
P touch P touch P touch Create labels for
Views: 4  |  Downloads: 0
IN TOUCH
Views: 0  |  Downloads: 0
premium docs
Other docs by Daniel Ethan
PSoC 3 / PSoC 5 Introduction
Views: 40  |  Downloads: 1
Sensing - Universal PID-Thermoregulator
Views: 325  |  Downloads: 16