Capacitive sensing: Difference between revisions
Madison Alex (talk | contribs) |
Re corrected it Tags: Manual revert Mobile edit Mobile web edit |
||
(413 intermediate revisions by more than 100 users not shown) | |||
Line 1: | Line 1: | ||
{{short description|Technology in electrical engineering}} |
|||
'''Capacitive sensing''' is a technology for detecting proximity, position, etc., based on [[capacitive coupling]] effects. Capacitive sensing as a human–device interface (HDI) technology, for example to replace the [[mouse (computer)|computer mouse]], is becoming increasingly popular.<ref> |
|||
In [[electrical engineering]], '''capacitive sensing''' (sometimes '''capacitance sensing''') is a technology, based on [[capacitive coupling]], that can detect and measure anything that is conductive or has a [[dielectric constant]] different from air. Many types of [[sensors]] use capacitive sensing, including sensors to detect and measure [[proximity sensor|proximity]], [[capacitive displacement sensor|pressure, position and displacement]], [[Force-sensing capacitor|force]], [[hygrometer|humidity]], [[level sensor|fluid level]], and [[accelerometer|acceleration]]. [[Human interface device]]s based on capacitive sensing, such as [[touchpad]]s,<ref>{{ cite book | title = Capacitive Sensors | author = Larry K. Baxter | publisher = John Wiley and Sons | year = 1996 | isbn = 978-0-7803-5351-0 | page = 138 | url = https://books.google.com/books?id=Tjd2laRnO4wC&dq=capacitive+sensors+mouse&pg=PA138 }}</ref> can replace the [[Mouse (computing)|computer mouse]]. [[Digital audio player]]s, [[mobile phone]]s, and [[tablet computer]]s will sometimes use capacitive sensing [[touchscreen]]s as input devices.<ref>{{ cite web | last = Wilson | first = Tracy | title = HowStuffWorks "Multi-touch Systems" | date = 20 June 2007 | url = http://electronics.howstuffworks.com/iphone2.htm | access-date = August 9, 2009}}</ref> Capacitive sensors can also replace mechanical buttons. |
|||
{{cite book |
|||
| title = Capacitive Sensors |
|||
| author = Larry K. Baxter |
|||
| publisher = John Wiley and Sons |
|||
| year = 1996 |
|||
| isbn = 9780780353510 |
|||
| page = 138 |
|||
| url = http://books.google.com/books?id=Tjd2laRnO4wC&pg=PA138&dq=capacitive+sensors+mouse&lr=&as_brr=3&as_pt=ALLTYPES&ei=sMOASeONJIHmyATKlLWzCw |
|||
}}</ref> |
|||
Capacitive sensors can be recognized in many popular [[Product (business)|consumer products]] such as laptop trackpads, MP3 players, [[Computer display|computer monitors]] and [[Mobile phone|cell phones]], but it is certainly not limited to these applications. More and more engineers choose capacitive sensors for their flexibility, unique human-device interface and cost reduction over mechanical switches. Capacitive touch sensors have become a predominant feature in a large number of mobile devices and [[Digital audio player|mp3 players]]. |
|||
A capacitive touchscreen typically consists of a capacitive touch [[sensor]] along with at least two complementary [[metal–oxide–semiconductor]] ([[CMOS]]) [[integrated circuit]] (IC) chips, an [[application-specific integrated circuit]] (ASIC) controller and a [[digital signal processor]] (DSP). Capacitive sensing is commonly used for mobile [[multi-touch]] displays, popularized by [[Apple Inc.|Apple]]'s [[iPhone]] in 2007.<ref>{{cite journal |last1=Kent |first1=Joel |title=Touchscreen technology basics & a new development |journal=CMOS Emerging Technologies Conference |date=May 2010 |volume=6 |pages=1–13 |url=https://books.google.com/books?id=ekdkWGqw29EC&pg=PA34 |publisher=CMOS Emerging Technologies Research|isbn=9781927500057 }}</ref><ref>{{cite magazine |last1=Ganapati |first1=Priya |title=Finger Fail: Why Most Touchscreens Miss the Point |url=https://www.wired.com/2010/03/touchscreens-smartphones/ |access-date=9 November 2019 |magazine=[[Wired (magazine)|Wired]] |date=5 March 2010 |archive-url=https://web.archive.org/web/20140511114207/http://www.wired.com/2010/03/touchscreens-smartphones/ |archive-date=2014-05-11 |url-status=live}}</ref> |
|||
While capacitive sensing applications can replace mechanical buttons with capacitive alternatives, other technologies such as [[multi-touch]] and gesture-based [[touchscreens]] are also premised on capacitive sensing.{{Fact|date=January 2009}} The Apple [[iPod]] click wheel is a well known implementation of capacitive sensing.{{Fact|date=January 2009}} |
|||
== Design == |
== Design == |
||
Capacitive sensors are constructed from many different media, such as copper, [[indium tin oxide]] (ITO) and printed ink. Copper capacitive sensors can be implemented on standard [[FR-4|FR4]] PCBs as well as on flexible material. ITO allows the capacitive sensor to be up to 90% transparent (for one layer solutions, such as touch phone screens). Size and spacing of the capacitive sensor are both very important to the sensor's performance. In addition to the size of the sensor, and its spacing relative to the [[ground plane]], the type of ground plane used is very important. Since the [[parasitic capacitance]] of the sensor is related to the [[electric field]]'s (E-field) path to ground, it is important to choose a ground plane that limits the concentration of E-field lines with no conductive object present. |
|||
Capacitive sensors can be constructed from many different media, such as copper,ITO and printed ink. Copper capacitive |
|||
sensors can be implemented on standard FR4 PCBs as well as on flexible material. ITO allows the capacitive sensor to be up |
|||
to 90% transparent (for single layer solutions). The size and spacing of the capacitive sensor are both very important to the sensor's performance.In addition to the size of the sensor, and its spacing relative to the [[ground plane]], the type of ground plane used is very important. Since the [[parasitic capacitance]] of the sensor is related to the E-Field's path to ground, it is important to choose a ground plane that limits the concentration of [[Electric field|E-Field]] lines without a conductive object present. |
|||
Designing a capacitance sensing system |
Designing a capacitance sensing system requires first picking the type of sensing material (FR4, Flex, ITO, etc.). One also needs to understand the environment the device will operate in, such as the full [[operating temperature]] range, what radio frequencies are present and how the user will interact with the interface. |
||
frequencies are present and how the user will interact with the interface. [[PSoC]] is a configurable device which includes a royalty-free [[source code]] for implementing a capacitive sensing solution. <ref>[http://download.cypress.com.edgesuite.net/design_resources/technical_articles/contents/capacitive_sensing_101_12.pdf Capacitive Sensing 101]</ref> |
|||
There are two types of capacitive sensing systems: |
|||
== CapSense == |
|||
# mutual capacitance,<ref>US Pat No 5,305,017 5,861,875</ref> where the object (finger, conductive stylus) alters the mutual coupling between row and column electrodes, which are scanned sequentially;<ref>e.g. U.S. Pat. No. 4,736,191</ref> and |
|||
CapSense is a capacitive sensing technique developed by [[Cypress Semiconductor]]. [[Touch switch#Capacitance touch switch|Capacitive touch switches]] replace mechanical buttons, membranes, and other moving parts with a proximity-sensitive interface. Two electrodes are covered by an insulating stratum—frequently plastic or glass—and, when a finger touches the surface, a capacitance is created. This change in capacitance then triggers the execution of a pre-programmed function. The process relies on proximity based sensing, where the maximum sensible proximity is set to the thickness of the stratum overlay and does not strictly require [[Touch|physical contact]] as seen in touch sensing applications. It provides a control mechanism not subject to dirt, dust, wear, moisture, and other factors that can affect the life of other control interface technologies. |
|||
# [[self-capacitance]], where the object (such as a finger) loads the sensor or increases the parasitic capacitance to ground. |
|||
In both cases, the difference of a preceding absolute position from the present absolute position yields the relative motion of the object or finger during that time. The technologies are elaborated in the following section. |
|||
CapSense is based on Cypress’s [[PSoC]], a fully programmable [[System-on-a-chip|system-on-chip]] that takes input from the capacitive sensor. It works with a variety of sensors, and can interpret the inputs from multiple buttons, [[touchpads]], and variable sliders simultaneously. Because of this flexibility, many [[consumer electronics]] manufacturers who make frequent changes late in the [[product design]] process have adopted CapSense. Cypress Semiconductor reports that interfaces based on CapSense have replaced over 2.5 billion mechanical buttons and sliders, and according to IMS Research, holds 70 to 80% market share for cellular handset capacitive sensing functionality. |
|||
=== Surface capacitance === |
|||
== References == |
|||
In this basic technology, only one side of the insulator is coated with conductive material. A small [[voltage]] is applied to this layer, resulting in a uniform electrostatic field.<ref>{{cite web | url = http://www.lionprecision.com/tech-library/technotes/cap-0020-sensor-theory.html | title = Capacitive Sensor Operation and Optimization | publisher = Lionprecision.com | date = | accessdate = 2012-06-15 | archive-date = 2015-12-02 | archive-url = https://web.archive.org/web/20151202093819/http://www.lionprecision.com/tech-library/technotes/cap-0020-sensor-theory.html | url-status = dead }}</ref> When a [[electrical conductor|conductor]], such as a human finger, touches the uncoated surface, a [[capacitor]] is dynamically formed. Because of the [[sheet resistance]] of the surface, each corner is measured to have a different effective capacitance. The sensor's [[Microcontroller|controller]] can determine the location of the touch indirectly from the change in the [[capacitance]] as measured from the four corners of the panel: the larger the change in capacitance, the closer the touch is to that corner. With no moving parts, it is moderately durable, but has low resolution, is prone to false signals from parasitic [[capacitive coupling]], and needs [[calibration]] during manufacture. Therefore, it is most often used in simple applications such as industrial controls and [[interactive kiosk]]s.<ref>{{ cite web|url=http://electronicdesign.com/Articles/Index.cfm?AD=1&ArticleID=18592 |title=Please Touch! Explore The Evolving World Of Touchscreen Technology |publisher=electronicdesign.com |access-date=2020-01-01 |url-status=dead |archive-url=https://web.archive.org/web/20090108062014/http://electronicdesign.com/Articles/Index.cfm?AD=1&ArticleID=18592 |archive-date=2009-01-08 }}</ref> |
|||
{{reflist}} |
|||
=== Projected capacitance === |
|||
[[File:TouchScreen projective capacitive.svg|thumb|Schema of projected-capacitive touchscreen]] |
|||
[[Projected capacitance]] touch (PCT) technology is a capacitive technology which allows more accurate and flexible operation, by [[etching (microfabrication)|etching]] the conductive layer. An [[Cartesian coordinate system|X-Y grid]] is formed either by etching one layer to form a grid pattern of [[electrode]]s, or by etching two separate, parallel layers of conductive material with perpendicular lines or tracks to form the grid; comparable to the [[pixel]] grid found in many [[liquid crystal display]]s (LCD).<ref>{{ cite web |url = http://www.touchadvance.com/2011/06/capacitive-touch-touch-sensing.html |title = Capacitive Touch (Touch Sensing Technologies — Part 2) |publisher = TouchAdvance.com |access-date = 2011-11-20 |archive-url=https://web.archive.org/web/20120311113017/http://www.touchadvance.com/2011/06/capacitive-touch-touch-sensing.html |archive-date=11 March 2012 |url-status=dead}}</ref> |
|||
The greater resolution of PCT allows operation with no direct contact, such that the conducting layers can be coated with further protective insulating layers, and operate even under screen protectors, or behind weather and vandal-proof glass. Because the top layer of a PCT is glass, PCT is a more robust solution versus resistive touch technology. Depending on the implementation, an active or passive stylus can be used instead of or in addition to a finger. This is common with [[point of sale]] devices that require signature capture. Gloved fingers may not be sensed, depending on the implementation and gain settings. Conductive smudges and similar interference on the panel surface can interfere with the performance. Such conductive smudges come mostly from sticky or sweaty finger tips, especially in high humidity environments. Collected dust, which adheres to the screen because of moisture from fingertips can also be a problem. |
|||
There are two types of PCT: self capacitance, and mutual capacitance. |
|||
''Mutual capacitive'' sensors have a [[capacitor]] at each intersection of each row and each column. A 12-by-16 array, for example, would have 192 independent capacitors. A [[voltage]] is applied to the rows or columns. Bringing a finger or conductive stylus near the surface of the sensor changes the local electric field which reduces the mutual capacitance. The capacitance change at every individual point on the grid can be measured to accurately determine the touch location by measuring the voltage in the other axis. Mutual capacitance allows [[multi-touch]] operation where multiple fingers, palms or styli can be accurately tracked at the same time.<ref>{{ Cite web| url = https://zenodo.org/record/61461 | last1=Wagner | first1=Armin | last2=Kaindl | first2=Georg | title = WireTouch: An Open Multi-Touch Tracker based on Mutual Capacitance Sensing | date = 2016 | access-date = 2020-05-23 | doi=10.5281/zenodo.61461| s2cid=63513043|publisher=Zenodo |doi-access= free }}</ref> |
|||
''Self-capacitance'' sensors can have the same X-Y grid as mutual capacitance sensors, but the columns and rows operate independently. With self-capacitance, current senses the capacitive load of a finger on each column or row. This produces a stronger signal than mutual capacitance sensing, but it is unable to resolve accurately more than one finger, which results in "ghosting", or misplaced location sensing.<ref>[http://developer.sonymobile.com/knowledge-base/technologies/floating-touch/ Self-Capacitive Touchscreens Explained] (Sony [[Xperia Sola]])</ref> |
|||
== Circuit design == |
|||
Capacitance is typically measured indirectly, by using it to control the frequency of an oscillator, or to vary the level of [[Coupling (electronics)|coupling]] (or attenuation) of an AC signal. Basically the technique works by charging the unknown capacitance with a known current, since rearranging the [[Capacitor#Current–voltage relation|current–voltage relation for a capacitor]], |
|||
<math display="block">I(t) = C\frac{\mathrm{d}V(t)}{\mathrm{d}t} \, ,</math> |
|||
allows determining the capacitance from the instantaneous current divided by the rate of change of voltage across the capacitor: |
|||
<math display="block">C = \frac{I(t)}{\frac{\mathrm{d}V(t)}{\mathrm{d}t}} \, .</math> |
|||
That can be integrated over a charging time period from <math>t_0</math> to <math>t_1</math> to be expressed in integral form as:<math display="block">C = \frac{\int_{t_0}^{t_1} I(t) \, \mathrm{d}t}{V(t_1)-V(t_0)} \, .</math> |
|||
=== Types === |
|||
==== Step response ==== |
|||
For a simple example of the above equation, if the charging current is constant and the starting voltage <math>V(t_0)</math> is 0 V, then the capacitance is simply the value of that constant current multiplied by the charging time duration <math>(t_1-t_0)</math> and divided by the final voltage <math>V(t_1) \, .</math> |
|||
Either this charging time or voltage can be a predetermined constant. For instance, if measuring after a constant amount of time, then the capacitance can be determined using only the final voltage. Alternatively if using a fixed threshold voltage, then instead only need to measure the charging time duration to reach that voltage threshold. |
|||
This [[step response]] measurement can be continually repeated (e.g. by using a [[square wave]]). |
|||
For an example capacitive sense IC, [[Texas Instruments]]'s FDC1004 applies a 25-kHz step waveform to charge up an electrode, and after a defined amount of time, converts the analog voltage representing that charge into a digital value of capacitance using a built-in [[analog-to-digital converter]] (ADC).<ref>{{Cite web |last=Wang |first=David |date=2021 |orig-date=2014 |title=FDC1004: Basics of Capacitive Sensing and Applications |url=https://www.ti.com/lit/an/snoa927a/snoa927a.pdf |url-status=live |archive-url=https://web.archive.org/web/20220127200936/https://www.ti.com/lit/an/snoa927a/snoa927a.pdf |archive-date=2022-01-27 |access-date=2023-05-09 |website=[[Texas Instruments]] |page=4}}</ref> |
|||
==== Relaxation oscillator ==== |
|||
The design of a simple capacitance meter is often based on a [[relaxation oscillator]]. The capacitance to be sensed forms a portion of the oscillator's [[RC circuit]] or [[LC circuit]]. The capacitance can be calculated by measuring the charging time required to reach the threshold voltage (of the relaxation oscillator), or equivalently, by measuring the oscillator's frequency. Both of these are proportional to the RC (or LC) [[time constant]] of the oscillator circuit. |
|||
==== Voltage divider ==== |
|||
Another measurement technique is to apply a fixed-frequency AC-voltage signal across a capacitive divider (a [[voltage divider]] that uses capacitors instead of resistors). This consists of two capacitors in series, one of a known value and the other of an unknown value. An output signal is then taken from across one of the capacitors. The value of the unknown capacitor can be found from the ratio of capacitances, which equals the ratio of the output/input signal amplitudes, as could be measured by an AC voltmeter. |
|||
==== Bridge configuration ==== |
|||
More accurate instruments may use a capacitance [[Bridge circuit|bridge configuration]], similar to a [[Wheatstone bridge]].<ref>{{cite web| url = http://newton.ex.ac.uk/teaching/CDHW/Sensors/#Capacitance | title = Basic impedance measurement techniques | publisher = Newton.ex.ac.uk | access-date = 2012-06-15 }}</ref> The capacitance bridge helps to compensate for any variability that may exist in the applied signal. |
|||
==== Charge transfer ==== |
|||
While not specific to capacitive sensing, charge transfer uses a [[switched capacitor]] network to accumulate charge onto an integrating capacitor over a series of discrete steps, to produce an accurate sum of all the individual charge contributors.<ref>{{Cite web |last=Seguine |first=Ryan |date=2007 |title=Semiconductor & System Solutions - Infineon Technologies |url=https://www.infineon.com/cms/en/ |url-status=live |archive-url=https://web.archive.org/web/20231005043955/https://www.infineon.com/dgdl/Infineon-TA1235-Whitepaper-v01_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0f8e3f3a7827&da=t |archive-date=2023-10-05 |access-date=2023-10-05 |website=[[Infineon Technologies]] |language=en}}</ref><ref>{{Cite web |date=2020 |title=Technology — CapTIvate Technology Guide 1.83.00.08 documentation |url=https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/CapTIvate_Design_Center/1_83_00_08/exports/docs/users_guide/html/CapTIvate_Technology_Guide_html/markdown/ch_technology.html |url-status=live |archive-url=https://web.archive.org/web/20231005043956/https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/CapTIvate_Design_Center/1_83_00_08/exports/docs/users_guide/html/CapTIvate_Technology_Guide_html/markdown/ch_technology.html |archive-date=2023-10-05 |access-date=2023-10-05 |website=software-dl.ti.com}}</ref> |
|||
==== Delta-sigma ==== |
|||
[[Delta-sigma modulation]] can also measure capacitance instead of voltage.<ref>{{Cite web |last=Brychta |first=Michal |date=2005-04-28 |title=Measure Capacitive Sensors With A Sigma-Delta Modulator |url=https://www.electronicdesign.com/technologies/analog/article/21765036/measure-capacitive-sensors-with-a-sigmadelta-modulator |access-date=2023-10-06 |website=Electronic Design}}</ref><ref>{{Cite conference |last=O'Dowd |first=J. |title=IEEE Sensors, 2005 |chapter=Capacitive Sensor Interfacing Using Sigma-Delta Techniques |date=2005 |chapter-url=https://ieeexplore.ieee.org/document/1597858 |conference=IEEE Sensors, 4th annual conference. 30 October 2005 – 03 November 2005. Irvine, CA |page=951 |doi=10.1109/ICSENS.2005.1597858 |isbn=0-7803-9056-3 |s2cid=9733039 }}</ref> |
|||
=== Errors === |
|||
The primary source of error in capacitance measurements is [[Parasitic capacitance|stray capacitance]], which if not guarded against, may fluctuate between roughly 10 pF and 10 nF. The stray capacitance can be held relatively constant by shielding the (high impedance) capacitance signal and then connecting the shield to (a low impedance) ground reference. Also, to minimize the unwanted effects of stray capacitance, it is good practice to locate the sensing electronics as near the sensor electrodes as possible. |
|||
== Comparison with other touchscreen technologies == |
|||
Capacitive touchscreens are more responsive than [[resistive touchscreen]]s (which react to any object since no capacitance is needed), but less accurate. However, projective capacitance improves a touchscreen's accuracy as it forms a triangulated grid around the point of touch.<ref>{{cite web|title=Technical Overview About Capacitive Sensing Vs. Other Touchscreen-Related Technologies|url=http://www.glidergloves.com/Touchscreen-Glove-Technology-a/274.htm|publisher=Glider Gloves|access-date=13 December 2015}}</ref> |
|||
A standard [[stylus]] cannot be used for capacitive sensing, but special capacitive styluses, which are conductive, exist for the purpose. One can even make a capacitive stylus by wrapping conductive material, such as anti-static conductive film, around a standard stylus or by rolling the film into a tube.<ref>{{ cite web| url = https://pocketnow.com/how-to-make-a-free-capacitive-stylus | title = How To Make A Free Capacitive Stylus | publisher = Pocketnow | date = 2010-02-24 | access-date = 2012-06-15 }}</ref> Until recently, capacitive touchscreens were more expensive to manufacture than [[resistive touchscreen]]s.{{citation needed|date=October 2013}} Not any more (see [[touchscreen#Construction]]). Some cannot be used with gloves and can fail to sense correctly with even a small amount of water on the screen. |
|||
Mutual capacitive sensors can provide a two-dimensional image of the changes in the electric field. Using this image, a range of applications have been proposed. Authenticating users,<ref>{{cite conference |url=http://www.christianholz.net/2015-chi15-holz_buthpitiya_knaust-bodyprint-biometric_user_identification_on_mobile_devices_using_the_capacitive_touchscreen_to_scan_body_parts.pdf|last1=Holz|first1=Christian|last2=Buthpitiya|first2=Senaka|last3=Knaust|first3=Marius|title=Bodyprint: Biometric User Identification on Mobile Devices Using the Capacitive Touchscreen to Scan Body Parts|book-title=Proceedings of the Conference on Human Factors in Computing Systems|date=2015|doi=10.1145/2702123.2702518|access-date=26 March 2018}}</ref><ref>{{cite conference |url=http://chrisharrison.net/projects/capauth/CapAuth.pdf|last1=Guo|first1=Anhong|last2=Xiao|first2=Robert|last3=Harrison|first3=Chris|title=CapAuth: Identifying and Differentiating User Handprints on Commodity Capacitive Touchscreens|book-title=Proceedings of the International Conference on Interactive Tabletops & Surfaces|date=2015|doi=10.1145/2817721.2817722|access-date=26 March 2018}}</ref> estimating the orientation of fingers touching the screen<ref>{{cite conference |url=http://chrisharrison.net/projects/3dfingerangle/Qeexo3DFingerAngle.pdf|last1=Xiao|first1=Robert|last2=Schwarz|first2=Julia|last3=Harrison|first3=Chris|title=Estimating 3D Finger Angle on Commodity Touchscreens|book-title=Proceedings of the International Conference on Interactive Tabletops & Surfaces|date=2015|doi=10.1145/2817721.2817737|access-date=26 March 2018}}</ref><ref>{{cite conference |url=http://sven-mayer.com/wp-content/uploads/2017/08/mayer2017orientation.pdf|last1=Mayer|first1=Sven|last2=Le|first2=Huy Viet|last3=Henze|first3=Niels|title=Estimating the Finger Orientation on Capacitive Touchscreens Using Convolutional Neural Networks|book-title=Proceedings of the International Conference on Interactive Tabletops & Surfaces|date=2017|doi=10.1145/3132272.3134130|access-date=26 March 2018}}</ref> and differentiating between fingers and palms<ref>{{cite conference |url=http://huyle.de/wp-content/papercite-data/pdf/le2018palmtouch.pdf |last1=Le |first1=Huy Viet |last2=Kosch |first2=Thomas |last3=Bader |first3=Patrick |last4=Mayer |first4=Sven |last5=Niels |first5=Henze |title=PalmTouch: Using the Palm as an Additional Input Modality on Commodity Smartphones |book-title=Proceedings of the Conference on Human Factors in Computing Systems |date=2017 |doi=10.1145/3173574.3173934 |access-date=26 March 2018 |archive-url=https://web.archive.org/web/20180831023707/http://huyle.de/wp-content/papercite-data/pdf/le2018palmtouch.pdf |archive-date=31 August 2018 |url-status=dead}}</ref> become possible. While capacitive sensors are used for the touchscreens of most smartphones, the capacitive image is typically not exposed to the application layer. |
|||
Power supplies with a high level of electronic [[noise (electronics)|noise]] can reduce accuracy. |
|||
== Pen computing == |
|||
{{Main|Pen computing}} |
|||
[[File:Capacitive Stylus.jpg|thumb|Capacitive stylus]] |
|||
Many [[stylus (computing)|stylus]] designs for resistive touchscreens will not register on capacitive sensors because they are not conductive. Styluses that work on capacitive touchscreens primarily designed for fingers are required to simulate the difference in dielectric offered by a human finger.<ref>{{ cite web | author = J.D. Biersdorfer | url = http://gadgetwise.blogs.nytimes.com/2009/08/19/qa-can-a-stylus-work-on-an-iphone/ | title = Q&A: Can a Stylus Work on an iPhone? | publisher = Gadgetwise.blogs.nytimes.com | date = 2009-08-19 | access-date = 2012-06-15 }}</ref> |
|||
== See also == |
|||
*[[List of touch-solution manufacturers]] |
|||
* [[Theremin]] |
|||
== References == |
|||
{{Reflist}} |
|||
== |
==External links== |
||
* [http://www.walkermobile.com/Touch_Technologies_Tutorial_Latest_Version.pdf Part 1: Fundamentals of Projected-Capacitive Touch Technology, Geoff Walker, June 2014] |
|||
* [http://www.cypress.com/capsense Cypress Capsense] |
|||
* [http://www.ruetersward.com/biblio.html Annotated Bibliography in Touch/Pen Computing and Handwriting Recognition, Rueters-Ward Services, 2016] |
|||
* [http://electronicdesign.com/Articles/Index.cfm?AD=1&ArticleID=19873 Build A Touch-Sensor Solution For Wet Environments] |
|||
* [http://www.emsnow.com/newsarchives/archivedetails.cfm?ID=10207 "iSuppli teardown reveals Apple's surprising choices for iPod nano" EMSnow] |
|||
* [http://www.slideshare.net/daniel_smith/capsense-programmable-capacitive-touch-sensing-design-in-minutes-presentation - Capacitive Touch Sensing Design] |
|||
* [http://www.cypress.com/design/TA1193 - The Art of Capacitive Touch Sensing] |
|||
* [http://app.cypress.com/portal/server.pt?space=CommunityPage&control=SetCommunity&CommunityID=285&PageID=552&drid=89091&shortlink=&r_folder=&r_title= Cypress CapSense Express(TM) Product Overview] |
|||
[[Category:Pointing devices]] |
[[Category:Pointing devices]] |
||
[[Category:User interface techniques]] |
|||
[[Category:Computing input devices]] |
Latest revision as of 20:38, 12 July 2024
In electrical engineering, capacitive sensing (sometimes capacitance sensing) is a technology, based on capacitive coupling, that can detect and measure anything that is conductive or has a dielectric constant different from air. Many types of sensors use capacitive sensing, including sensors to detect and measure proximity, pressure, position and displacement, force, humidity, fluid level, and acceleration. Human interface devices based on capacitive sensing, such as touchpads,[1] can replace the computer mouse. Digital audio players, mobile phones, and tablet computers will sometimes use capacitive sensing touchscreens as input devices.[2] Capacitive sensors can also replace mechanical buttons.
A capacitive touchscreen typically consists of a capacitive touch sensor along with at least two complementary metal–oxide–semiconductor (CMOS) integrated circuit (IC) chips, an application-specific integrated circuit (ASIC) controller and a digital signal processor (DSP). Capacitive sensing is commonly used for mobile multi-touch displays, popularized by Apple's iPhone in 2007.[3][4]
Design
[edit]Capacitive sensors are constructed from many different media, such as copper, indium tin oxide (ITO) and printed ink. Copper capacitive sensors can be implemented on standard FR4 PCBs as well as on flexible material. ITO allows the capacitive sensor to be up to 90% transparent (for one layer solutions, such as touch phone screens). Size and spacing of the capacitive sensor are both very important to the sensor's performance. In addition to the size of the sensor, and its spacing relative to the ground plane, the type of ground plane used is very important. Since the parasitic capacitance of the sensor is related to the electric field's (E-field) path to ground, it is important to choose a ground plane that limits the concentration of E-field lines with no conductive object present.
Designing a capacitance sensing system requires first picking the type of sensing material (FR4, Flex, ITO, etc.). One also needs to understand the environment the device will operate in, such as the full operating temperature range, what radio frequencies are present and how the user will interact with the interface.
There are two types of capacitive sensing systems:
- mutual capacitance,[5] where the object (finger, conductive stylus) alters the mutual coupling between row and column electrodes, which are scanned sequentially;[6] and
- self-capacitance, where the object (such as a finger) loads the sensor or increases the parasitic capacitance to ground.
In both cases, the difference of a preceding absolute position from the present absolute position yields the relative motion of the object or finger during that time. The technologies are elaborated in the following section.
Surface capacitance
[edit]In this basic technology, only one side of the insulator is coated with conductive material. A small voltage is applied to this layer, resulting in a uniform electrostatic field.[7] When a conductor, such as a human finger, touches the uncoated surface, a capacitor is dynamically formed. Because of the sheet resistance of the surface, each corner is measured to have a different effective capacitance. The sensor's controller can determine the location of the touch indirectly from the change in the capacitance as measured from the four corners of the panel: the larger the change in capacitance, the closer the touch is to that corner. With no moving parts, it is moderately durable, but has low resolution, is prone to false signals from parasitic capacitive coupling, and needs calibration during manufacture. Therefore, it is most often used in simple applications such as industrial controls and interactive kiosks.[8]
Projected capacitance
[edit]Projected capacitance touch (PCT) technology is a capacitive technology which allows more accurate and flexible operation, by etching the conductive layer. An X-Y grid is formed either by etching one layer to form a grid pattern of electrodes, or by etching two separate, parallel layers of conductive material with perpendicular lines or tracks to form the grid; comparable to the pixel grid found in many liquid crystal displays (LCD).[9]
The greater resolution of PCT allows operation with no direct contact, such that the conducting layers can be coated with further protective insulating layers, and operate even under screen protectors, or behind weather and vandal-proof glass. Because the top layer of a PCT is glass, PCT is a more robust solution versus resistive touch technology. Depending on the implementation, an active or passive stylus can be used instead of or in addition to a finger. This is common with point of sale devices that require signature capture. Gloved fingers may not be sensed, depending on the implementation and gain settings. Conductive smudges and similar interference on the panel surface can interfere with the performance. Such conductive smudges come mostly from sticky or sweaty finger tips, especially in high humidity environments. Collected dust, which adheres to the screen because of moisture from fingertips can also be a problem.
There are two types of PCT: self capacitance, and mutual capacitance.
Mutual capacitive sensors have a capacitor at each intersection of each row and each column. A 12-by-16 array, for example, would have 192 independent capacitors. A voltage is applied to the rows or columns. Bringing a finger or conductive stylus near the surface of the sensor changes the local electric field which reduces the mutual capacitance. The capacitance change at every individual point on the grid can be measured to accurately determine the touch location by measuring the voltage in the other axis. Mutual capacitance allows multi-touch operation where multiple fingers, palms or styli can be accurately tracked at the same time.[10]
Self-capacitance sensors can have the same X-Y grid as mutual capacitance sensors, but the columns and rows operate independently. With self-capacitance, current senses the capacitive load of a finger on each column or row. This produces a stronger signal than mutual capacitance sensing, but it is unable to resolve accurately more than one finger, which results in "ghosting", or misplaced location sensing.[11]
Circuit design
[edit]Capacitance is typically measured indirectly, by using it to control the frequency of an oscillator, or to vary the level of coupling (or attenuation) of an AC signal. Basically the technique works by charging the unknown capacitance with a known current, since rearranging the current–voltage relation for a capacitor,
allows determining the capacitance from the instantaneous current divided by the rate of change of voltage across the capacitor:
That can be integrated over a charging time period from to to be expressed in integral form as:
Types
[edit]Step response
[edit]For a simple example of the above equation, if the charging current is constant and the starting voltage is 0 V, then the capacitance is simply the value of that constant current multiplied by the charging time duration and divided by the final voltage
Either this charging time or voltage can be a predetermined constant. For instance, if measuring after a constant amount of time, then the capacitance can be determined using only the final voltage. Alternatively if using a fixed threshold voltage, then instead only need to measure the charging time duration to reach that voltage threshold.
This step response measurement can be continually repeated (e.g. by using a square wave).
For an example capacitive sense IC, Texas Instruments's FDC1004 applies a 25-kHz step waveform to charge up an electrode, and after a defined amount of time, converts the analog voltage representing that charge into a digital value of capacitance using a built-in analog-to-digital converter (ADC).[12]
Relaxation oscillator
[edit]The design of a simple capacitance meter is often based on a relaxation oscillator. The capacitance to be sensed forms a portion of the oscillator's RC circuit or LC circuit. The capacitance can be calculated by measuring the charging time required to reach the threshold voltage (of the relaxation oscillator), or equivalently, by measuring the oscillator's frequency. Both of these are proportional to the RC (or LC) time constant of the oscillator circuit.
Voltage divider
[edit]Another measurement technique is to apply a fixed-frequency AC-voltage signal across a capacitive divider (a voltage divider that uses capacitors instead of resistors). This consists of two capacitors in series, one of a known value and the other of an unknown value. An output signal is then taken from across one of the capacitors. The value of the unknown capacitor can be found from the ratio of capacitances, which equals the ratio of the output/input signal amplitudes, as could be measured by an AC voltmeter.
Bridge configuration
[edit]More accurate instruments may use a capacitance bridge configuration, similar to a Wheatstone bridge.[13] The capacitance bridge helps to compensate for any variability that may exist in the applied signal.
Charge transfer
[edit]While not specific to capacitive sensing, charge transfer uses a switched capacitor network to accumulate charge onto an integrating capacitor over a series of discrete steps, to produce an accurate sum of all the individual charge contributors.[14][15]
Delta-sigma
[edit]Delta-sigma modulation can also measure capacitance instead of voltage.[16][17]
Errors
[edit]The primary source of error in capacitance measurements is stray capacitance, which if not guarded against, may fluctuate between roughly 10 pF and 10 nF. The stray capacitance can be held relatively constant by shielding the (high impedance) capacitance signal and then connecting the shield to (a low impedance) ground reference. Also, to minimize the unwanted effects of stray capacitance, it is good practice to locate the sensing electronics as near the sensor electrodes as possible.
Comparison with other touchscreen technologies
[edit]Capacitive touchscreens are more responsive than resistive touchscreens (which react to any object since no capacitance is needed), but less accurate. However, projective capacitance improves a touchscreen's accuracy as it forms a triangulated grid around the point of touch.[18]
A standard stylus cannot be used for capacitive sensing, but special capacitive styluses, which are conductive, exist for the purpose. One can even make a capacitive stylus by wrapping conductive material, such as anti-static conductive film, around a standard stylus or by rolling the film into a tube.[19] Until recently, capacitive touchscreens were more expensive to manufacture than resistive touchscreens.[citation needed] Not any more (see touchscreen#Construction). Some cannot be used with gloves and can fail to sense correctly with even a small amount of water on the screen.
Mutual capacitive sensors can provide a two-dimensional image of the changes in the electric field. Using this image, a range of applications have been proposed. Authenticating users,[20][21] estimating the orientation of fingers touching the screen[22][23] and differentiating between fingers and palms[24] become possible. While capacitive sensors are used for the touchscreens of most smartphones, the capacitive image is typically not exposed to the application layer.
Power supplies with a high level of electronic noise can reduce accuracy.
Pen computing
[edit]Many stylus designs for resistive touchscreens will not register on capacitive sensors because they are not conductive. Styluses that work on capacitive touchscreens primarily designed for fingers are required to simulate the difference in dielectric offered by a human finger.[25]
See also
[edit]References
[edit]- ^ Larry K. Baxter (1996). Capacitive Sensors. John Wiley and Sons. p. 138. ISBN 978-0-7803-5351-0.
- ^ Wilson, Tracy (20 June 2007). "HowStuffWorks "Multi-touch Systems"". Retrieved August 9, 2009.
- ^ Kent, Joel (May 2010). "Touchscreen technology basics & a new development". CMOS Emerging Technologies Conference. 6. CMOS Emerging Technologies Research: 1–13. ISBN 9781927500057.
- ^ Ganapati, Priya (5 March 2010). "Finger Fail: Why Most Touchscreens Miss the Point". Wired. Archived from the original on 2014-05-11. Retrieved 9 November 2019.
- ^ US Pat No 5,305,017 5,861,875
- ^ e.g. U.S. Pat. No. 4,736,191
- ^ "Capacitive Sensor Operation and Optimization". Lionprecision.com. Archived from the original on 2015-12-02. Retrieved 2012-06-15.
- ^ "Please Touch! Explore The Evolving World Of Touchscreen Technology". electronicdesign.com. Archived from the original on 2009-01-08. Retrieved 2020-01-01.
- ^ "Capacitive Touch (Touch Sensing Technologies — Part 2)". TouchAdvance.com. Archived from the original on 11 March 2012. Retrieved 2011-11-20.
- ^ Wagner, Armin; Kaindl, Georg (2016). "WireTouch: An Open Multi-Touch Tracker based on Mutual Capacitance Sensing". Zenodo. doi:10.5281/zenodo.61461. S2CID 63513043. Retrieved 2020-05-23.
- ^ Self-Capacitive Touchscreens Explained (Sony Xperia Sola)
- ^ Wang, David (2021) [2014]. "FDC1004: Basics of Capacitive Sensing and Applications" (PDF). Texas Instruments. p. 4. Archived (PDF) from the original on 2022-01-27. Retrieved 2023-05-09.
- ^ "Basic impedance measurement techniques". Newton.ex.ac.uk. Retrieved 2012-06-15.
- ^ Seguine, Ryan (2007). "Semiconductor & System Solutions - Infineon Technologies". Infineon Technologies. Archived (PDF) from the original on 2023-10-05. Retrieved 2023-10-05.
- ^ "Technology — CapTIvate Technology Guide 1.83.00.08 documentation". software-dl.ti.com. 2020. Archived from the original on 2023-10-05. Retrieved 2023-10-05.
- ^ Brychta, Michal (2005-04-28). "Measure Capacitive Sensors With A Sigma-Delta Modulator". Electronic Design. Retrieved 2023-10-06.
- ^ O'Dowd, J. (2005). "Capacitive Sensor Interfacing Using Sigma-Delta Techniques". IEEE Sensors, 2005. IEEE Sensors, 4th annual conference. 30 October 2005 – 03 November 2005. Irvine, CA. p. 951. doi:10.1109/ICSENS.2005.1597858. ISBN 0-7803-9056-3. S2CID 9733039.
- ^ "Technical Overview About Capacitive Sensing Vs. Other Touchscreen-Related Technologies". Glider Gloves. Retrieved 13 December 2015.
- ^ "How To Make A Free Capacitive Stylus". Pocketnow. 2010-02-24. Retrieved 2012-06-15.
- ^ Holz, Christian; Buthpitiya, Senaka; Knaust, Marius (2015). "Bodyprint: Biometric User Identification on Mobile Devices Using the Capacitive Touchscreen to Scan Body Parts" (PDF). Proceedings of the Conference on Human Factors in Computing Systems. doi:10.1145/2702123.2702518. Retrieved 26 March 2018.
- ^ Guo, Anhong; Xiao, Robert; Harrison, Chris (2015). "CapAuth: Identifying and Differentiating User Handprints on Commodity Capacitive Touchscreens" (PDF). Proceedings of the International Conference on Interactive Tabletops & Surfaces. doi:10.1145/2817721.2817722. Retrieved 26 March 2018.
- ^ Xiao, Robert; Schwarz, Julia; Harrison, Chris (2015). "Estimating 3D Finger Angle on Commodity Touchscreens" (PDF). Proceedings of the International Conference on Interactive Tabletops & Surfaces. doi:10.1145/2817721.2817737. Retrieved 26 March 2018.
- ^ Mayer, Sven; Le, Huy Viet; Henze, Niels (2017). "Estimating the Finger Orientation on Capacitive Touchscreens Using Convolutional Neural Networks" (PDF). Proceedings of the International Conference on Interactive Tabletops & Surfaces. doi:10.1145/3132272.3134130. Retrieved 26 March 2018.
- ^ Le, Huy Viet; Kosch, Thomas; Bader, Patrick; Mayer, Sven; Niels, Henze (2017). "PalmTouch: Using the Palm as an Additional Input Modality on Commodity Smartphones" (PDF). Proceedings of the Conference on Human Factors in Computing Systems. doi:10.1145/3173574.3173934. Archived from the original (PDF) on 31 August 2018. Retrieved 26 March 2018.
- ^ J.D. Biersdorfer (2009-08-19). "Q&A: Can a Stylus Work on an iPhone?". Gadgetwise.blogs.nytimes.com. Retrieved 2012-06-15.