Showing posts with label Capacitance. Show all posts
Showing posts with label Capacitance. Show all posts

Friday, August 26, 2011

Capacitive Touch Sensing Layout Guidelines --- > Part 1

Capacitive Sensing

Capacitive sensing is the art of measuring a relatively very small variation of capacitance in a noisy environment.

To illustrate the principle of capacitive sensing we will use the typical simplest button implementation below but the same basic laws apply to more complex capacitive structures like sliders or wheels.

Figure shows cut view and top view of a typical capacitive button implementation. The sensor connected is a simple round copper area on top layer of the PCB. It is usually surrounded by ground for noise immunity (see § 2.3). For obvious reasons (design, isolation, robustness …) the PCB is stacked behind an overlay which usually consists in the housing of the complete system (notebook, TV, monitor, cell phone, etc) .




When no conductive object, like a finger, is close the sensor only sees an inherent capacity value CEnv created by its electrical field’s interaction with the environment, especially with ground areas. When a conductive object, like a finger, approaches the sensor the electrical field around the sensor will be modified and the total capacitance seen by the sensor increased by the finger capacitance CFinger.


The challenge of capacitive sensing is to detect this relatively small variation of CSensor (CFinger usually contributes for a few percent only) and differentiate it from environmental noise.
For this purpose, Capacitive products integrate an auto offset compensation mechanism which dynamically removes the CEnv component to extract and process CFinger only. CFinger, like any capacitance can be expressed in the formula below :


A is the common area between the two electrodes hence the common area between the finger and the sensor, typically 1cm2 for an adult finger.

d is the distance between the two electrodes hence the overlay thickness, typically 1-3mm. Overlay thickness is a compromise between mechanical/ESD robustness (the thicker the better) and power consumption (if too thick the sensitivity may need to be increased to be able to sense CFinger properly).

εo is the free space permittivity and is equal to 8.85 10e-12 F/m (constant)

εr is the dielectric hence overlay permittivity when finger is touching. Typical permittivity of some common overlay materials is given in table below. Higher εr allows reducing power consumption and/or increasing overlay thickness.

General Guidelines

The Chip
  • Strong ground connection on bottom exposed pad and ground pin
  • VANA, VDIG, VDD decoupling capacitors must be placed as close as possible to their associated pin
  • Integration capacitor Cint (see Figure 1) must be placed as close as possible to the chip and as far as possible from noisy signals

Connections to CAPx Sensors
  • 0.2 mm trace width is recommended
  • Minimum 0.2mm clearance between CAPx traces, recommended 0.5mm or above. CAPx are sensed serially by the chip, non-sensed CAPx are internally tied to ground hence the clearance requirement.
  • Connections must be as short and direct as possible.
  • Preferably not to be routed on top layer to reduce potential finger coupling (must only be maximized on the CAP sensors, not on the traces)
  • Vias number must be reduced to the minimum.
  • CAPx signals should be routed as far as possible from noisy signals (LEDs, etc) and ideally on different layer or isolated by ground.
  • Noisy signals should not be routed below CAP sensors, if needed they must be isolated with ground layer.
Ground Considerations
  • 0.5 to 3mm recommended clearance with CAP sensors. Low values maximize noise immunity while high ones minimize power consumption.
  • Below 0.5mm clearance is possible but increases significantly ground coupling hence requiring higher sensitivity setting and higher consumption.
  • Above 3mm clearance is possible but doesn’t reduce significantly ground coupling while reducing noise immunity.
  • Both top and bottom layers should be filled with hatched ground (typ. 20 %) to improve noise immunity while keeping DC cap low.

Capacitive Touch Sensing Layout Guidelines --- > Part 2

Capacitive Touch Sensing Layout Guidelines --- > Part 2

Buttons

Introduction

Similarly to the mechanical buttons they intend to replace, touch buttons provide ON/OFF information i.e. respectively button touched or not touched by the finger. Each touch button is associated to its dedicated capacitive sensor.

Shape
  • Round is best while oval or square with round corners are also acceptable
  • Any other shape with acute angles is not recommended
  • Possibility to put a hole for reverse mount SMD LED in the middle (will reduce a little bit the sensor surface, can be compensated with higher sensitivity setting or bigger sensor)



Size
  • 1cm diameter is recommended
  • Above 1.5cm diameter is useless due to finger tip surface
  • Below 1cm is possible at the expense of higher sensitivity setting hence higher consumption
Pitch
  • 1.5cm is recommended as minimum
  • Below 1.5cm is possible but reduces user friendliness and improves the risk of side touch effects.
Examples



Slider

Introduction

Similarly to the mechanical sliders they intend to replace, touch sliders monitored by Semtech products provide of course the position information but also an ON/OFF state (i.e. respectively slider touched or not touched by the finger) as well as movement information (move-up or move-down).

Each touch slider is made by several capacitive sensors placed back to back on the PCB.
For good position resolution a slider usually requires interpolation (i.e. number of positions not limited to the number of sensors) which requires a layout ensuring that the finger always touches at least 2 sensors.

Shape

Slider
  • Straight shape is usually recommended for better user friendliness but other shapes are also possible
  • Mechanical guide on overlay improves user friendliness and robustness especially for exotic shapes

Sensors
  • Rectangular shape implies a lot of sensors to ensure interpolation (max half surface of finger per sensor)
  • Chevron shape is recommended as it provides good interpolation with relatively low number of sensors

Size

Slider
  • 1cm recommended width
  • Above 1.5cm width is useless due to finger tip surface
  • Below 1cm width is possible at the expense of higher sensitivity setting hence higher consumption
  • The number of sensors depends on the length required and resolution targeted
Sensors
  • The smaller the better, typically below 0.5cm2 recommended (half surface of finger)
  • Bigger is possible but requires more complex layout (more interpolation required to ensure good resolution)
Pitch
  • The smaller the better to maximize interpolation
  • Ground clearance recommendations apply (see §2.3)
Example

Wheel

Introduction

A wheel can be seen as a slider with round shape, as such it has similar layout constraints and also provides position, ON/OFF, and movement information.
Each touch slider is made by several capacitive sensors placed back to back on the PCB.
Similarly to a slider, a wheel usually also requires interpolation but because of its “infinite length” nature, the position precision requirement is usually not as critical as for a slider. (movement detection may be more important)

Shape

Wheel
  • Round is usually recommended for better user friendliness but other shapes are also possible
  • Mechanical guide on overlay improves user friendliness and robustness especially for exotic shapes

Sensors
  • Rectangular shape implies a lot of sensors to ensure interpolation (max half surface of finger per sensor)
  • Chevron shape is the best but may be complex to design inside a wheel
  • Whirl shape is recommended as it gives a good compromise between the number of sensors required and layout complexity

Size

Wheel
  • 1cm recommended width
  • Above 1.5cm width is useless due to finger tip surface
  • Below 1cm is possible at the expense of higher sensitivity setting hence higher consumption
  • The number of sensors depends on the wheel diameter required and the resolution targeted
Sensors
  • The smaller the better, typically 1cm2 recommended for whirl shape (see below)
  • Bigger is possible but requires more complex layout (more interpolation required)
Pitch
  • The smaller the better to maximize interpolation
  • Ground clearance recommendations apply (see §2.3)
Examples


Thursday, April 14, 2011

Touch Sensor PCB and Layout Guidelines Part 1

Introduction

This note provides guidelines for the construction and the layout of different types of printed circuit boards (PCBs) for the implementation of the Touch Sensor Controller (TSC) capacitive sensors on substrate materials such as FR4, flexible PCBs, or ITO panels. Various substrate materials are available for different PCB design construction. Among the substrate materials currently available on the market, the FR4 is the most common. FR4 is a glass fiber epoxy laminate and PCBs can have one or several layers. Given a limited size of the touch module, the one-layer PCB implementation is not always possible, whereas the fourlayer and the two-layer PCB are more common. For applications requiring a very compact form factor, a flexible PCB can be used. The capacitive touch module on top of the display unit requires a transparent sensor electrode and traces which can be implemented using an Indium Tin Oxide (ITO) layer on a glass/plastic panel.

PCB Design Tips

The Noise Influence by Other Chips

In the touch module, it is recommended that only the Controller be mounted without any other chips because other chips can cause noise signals when controlling components such as LCD or Buzzer, etc.

Cross Coupling Capacitance

Noise signals can be generated between sensor input lines. If sensor lines are both very close to each other and placed in parallel, they can become noise sources to one another. In order to avoid this, it is recommended to design sensor input lines as shown in Figure 2. Enlarge line spacing and make parallel portions as short as possible.

Disposition of Data Lines and Sensor Input Lines

Figure 3 on the following page shows a problem caused by overlapping sensor input lines with data lines. For example, the capacitance generated by power lines with characteristics of consistent voltage output will not deeply affect sensor input lines. However, the capacitance generated by data lines fluctuating high and low voltage output will make sensor input lines unstable. Thus, the data lines in the front panel application should be placed closer to the connector in order to avoid undesirable influence on sensor input lines. Another important aspect in layout design is that sensor input lines should be placed on the opposite side of data output lines. Finally, since overlapping data lines with sensor touch pads will be worse than overlapping data lines with sensor input lines, it is recommended that sensor pads should be apart from data lines.
Several Controller Sensor Line Noise

If two Controller chips are mounted on the same PCB, they can be noise sources to each other. Therefore, in applications that are using two Controller chips, you need to design the touch pad area as shown in Figure 4.

LCD Control Signal Noise Issue

If the PCB, which includes LCD control lines, is located near a touch PCB, it could be a noise source even if it is not on the same PCB. Therefore, you need to design the PCB like Figure 5, which is less affected by LCD control signals. Any kind of pulse-type signals should be as far from the Controller as possible.



Charge Sharing

The sensitivity of the Controller will be decreased if the GND pattern is located close to the sensor input pads and lines because an electrical field generated by GND patterns will attenuate the strength of the capacitance generated by finger touch. This will decrease the sensitivity of the sensor input as shown in (a) of Figure 6 on the next page. Although the GND pattern is used to reduce the interference of the lines, make sure to keep the GND pattern a distance from the sensor input pads.



Mismatch in Each Sensor Input

For a normal AIC function, each sensor input capacitance of the system should be within 6pF.

Large Sensor Input Pad

If a touch pad is larger than 10 x 10mm, it will become very sensitive to external environmental change. As a result, input impedance during no-touch could be unstable. In order to avoid this situation, it is recommended to use a pad layout as shown in example (b) of Figure 7, which is exactly the same pad size as shown in example (a), but it eliminates the problem by reducing real surface area.



Touch Sensor PCB and Layout Guidelines Part 2

Wednesday, April 13, 2011

Touch Sensor PCB and Layout Guidelines Part 2

PCB Layout Tips
This section provides guidelines on the design and layout related to several types of PCBs. See Figure 8.
The important task in PCB design is to draw sensor lines to reduce influence from internal and/or external noise sources. The types of noise sources and suggested design guidelines are described next.

Single Layer PCB Construction

A capacitive touch module can be designed in a singlelayer FR4 PCB of standard thickness (1.6mm). See Figure 9. The electrode and all the components are on the same side of the PCB. The other side of the PCB is attached to the overlay panel. The field senses through the PCB, the adhesive layer and the overlay panel to the finger. A one-layer PCB provides a less-costly solution compared to touch modules using more than one layer. However, the touch module using a one-layer PCB can only be implemented if there is enough area on the PCB for the
routing of the signals. Since the sensor electrode is placed at the bottom of the PCB, the sense field passes through the PCB and overlay panel before reaching the finger. In this case, the maximum overlay panel thickness is reduced due to the additional thickness of the PCB. The distance between the sensor electrode and touch sensor controller should be less than 5 inches to avoid excessive parasitic capacitance.
Single Layer PCB Design Rules

Layer 1 – Top layer design Tips
  • Only the bottom layer is used and the top layer is empty. Non-conductive adhesive is to be applied on the top layer to attach the PCB to the overlay pane
Layer 2 – Bottom Layer design Tips
  • Maximize the distance between one sensor electrode/ trace to the others in order to minimize crosstalk.
  • For good sensitivity it is recommended to have a 6 x 6mm sensor area. It is still possible to utilize a sensor area smaller than this, but with reduced sensitivity. However, it is recommended that the sensor size is not larger than 10 x 10mm. If the sensor size is increased beyond this size, sensitivity will not increase as much as expected but the susceptibility to noise will increase substantially.
  • The sensor signal traces do not need to be the same length. Input tuning capacitors are used to balance input capacitance between channels. However, if there is enough space on the PCB, balancing between the sensor input traces length can be done (sensor electrode size is uniform). In the latter case, only a reference tuning capacitor should be added in order to adjust all of the sensors’ impedance values to be in the center of the dynamic range.
  • Any clock, data or periodic signal should not be routed side by side with the sensor signal traces. As much as possible these signals should be routed perpendicular with respect to the sensor signals. If they have to run in parallel, route them on a different cross section area of the PCB.
Two Layer PCB construction

In the 2-layer PCB construction, the touch sensor controller and other components are placed at the bottom layer of the PCB. See Figure 10 on the next page. The touch sensor electrodes are placed on the top layer. The distance between sensor electrodes and the controller
should be less than 5 inches to avoid excessive parasitic capacitance.
The tuning capacitor of each sensor channel can be placed directly underneath the sensor electrode itself. However, it is recommended to place the touch sensor controller at the bottom layer area where there is no touch sensor electrode on top.

Two Layer PCB Design Tips Layer 1 – Top Layer

The sensor electrodes are on the top layer of the PCB (top side of the PCB is to be attached to the overlay panel). For good sensitivity it is recommended to have 6 x 6mm sensor area. It is still possible to utilize a sensor area smaller than this, but with reduced sensitivity. However, it is recommended that the sensor size is not larger than 10 x 10mm. If the sensor size is increased beyond this size, sensitivity will not increase as much as expected but susceptibility to noise will increase substantially.
  • The top layer can be used to route signal traces with the exception of sensor signal traces. As much as possible, sensor signal traces are to be routed at the bottom layer.
Layer 2 – Bottom Layer
  • The touch sensor controller and passive components are to be placed at the bottom layer.
  • Controller sensor signal traces are to be routed on the bottom layer. Sensor signal traces of a particular channel should not be routed underneath the sensor electrode of other channels.
  • Maximize the distance between one sensor electrode/trace to the other in order to minimize crosstalk.
  • Sensor signal traces do not need to be the same length. Input tuning capacitors are used to balance input capacitance between channels. However if space on the PCB allows, balancing sensor input traces length can be done (sensor electrodes size is uniform). In the latter case, only the reference tuning capacitor should be added in order to adjust all sensor impedance values to be in the center of the dynamic range.
  • Any clock, data or periodic signal should not be routed side by side with the sensor signal traces. As much as possible these signals should be routed perpendicular with respect to the sensor signals or they should be routed on different area of the PCB.
  • If clock, data, or any periodic signal traces should run in parallel proximity to sensor signal traces, they should be routed in a different layer and should not overlap. Keep the section where the signals run in parallel as short as possible.


Touch Sensor PCB and Layout Guidelines Part 1

Sunday, September 14, 2008

Stray Capacitance

Having stray capacitance is a requirement to create a characteristic impedance for a transmission line. But, a transmission line is not always required – in fact it is often not required within the system but only for external interfacing.

If a transmission line is not required, then this capacitance can be detrimental to the system. It can slow the signals significantly down and also cause zeroes to occur in an amplifier which can lead to oscillations.




To minimize stray capacitance, it is as easy as separating the ground plane away from the signal trace. This can involve increasing th distance on the top layer, and/or removing the ground plane below the signal trace.

Remember, power planes are considered AC grounds and behave exactly
the same as a ground plane. So removing the power planes is as important as removing the ground planes in sensitive areas. This is often referred to as moating.