SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Cypress’ CapSense Sigma-Delta Algorithm

Cypress Semiconductor
White Paper
By Aaron GL Podbelski



                                          What is Capacitive Sensing?
Executive Summary
                                          A capacitive sensor is a pair of adjacent electrodes (Figure 1). When a
CapSense Sigma Delta algorithm
                                          conductive object is placed in proximity of the two electrodes, the capacitance
(CSD) is Cypress’ latest capacitive
                                          changes sending a signal from the sensor to the microcontroller, allowing the
sensing algorithm for the CY8C21x34
                       ®
                                          planned action to occur. The base capacitance is often referred to as the
and CY8C24x94 PSoC device family.
                                          parasitic capacitance (CP). The physical sensor itself is typically a copper
CSD enables the implementation of an      trace constructed on a PCB, although sensors can be any conductive
array of capacitive sensors through       material. For example, one could use the transparent conductor indium tin
switched capacitor circuitry, an analog   oxide (ITO) and print the pattern on a transparent substrate.
multiplexer, digital counting, and PWM
functions.                                                          Figure 1: Capacitive Sensor

The hardware configuration works in
conjunction with high level software
routines from the CSD User Module
found in PSoC Designer™ to
compensate for environmental and
physical sensor variations




                                          Each sensor is a capacitor with one contact grounded, and the other contact
                                          connected to the PSoC’s analog global bus. The result is an active variable
                                          capacitor, CX (CX = CP + CF). The presence of a conductive object (such as a
                                          finger) increases the capacitance of the sensor with reference to ground.
                                          Determining sensor activation is then a matter of measuring the change in
                                          capacitance.




Document No. 001-41925 Rev. **                 November 13, 2007                                              Page 1 of 6



                                                                                                                            [+] Feedback
Cypress’ CapSense Sigma-Delta Algorithm




What is Sigma-Delta?
The CSD algorithm, developed by Cypress, uses the switched capacitor circuitry to convert the sensor capacitance into a
voltage, which is compared to a reference voltage. When the capacitor voltage reaches the reference voltage, the comparator
triggers a bleed resistor discharging the capacitor. After the capacitor voltage discharges below the reference voltage, the
bleed resistor is left floating to allow the capacitor to continue charging. The comparator output becomes a bit-stream as it
toggles the bleed resistor and manipulates its input voltage. This bit stream is ANDed with a PWM to provide consistent
stream framing. The number of counts in each frame is analyzed to determine if the capacitive sensor was activated.

CSD requires the use of an external modulation capacitor (CMod) and bleed resistor (RB) in addition to the sensor capacitor
(CX). Figure 2 shows the input stage for CSD.

                                           Figure 2: CSD Input Stage Block Diagram




Input Stage (Sigma Delta Modulation)
The input stage of the CSD algorithm starts with a switch capacitor network. The network starts with a switch capacitor block
connected to VDD. The sensor capacitor (CX) is connected to the bus and in parallel with the required external modulation
capacitor (CMod). The switch capacitor block is controlled by a 16-bit Pseudo Random Sequencer (PRS). A PRS is used
instead of fixed clock source to attenuate emitted noise on CX by reducing the amount of EMI created by a fixed frequency
source and to increase EMI immunity from other sources and their harmonics.




Document No. 001-41925 Rev. **                       November 13, 2007                                            Page 2 of 6



                                                                                                                                [+] Feedback
Cypress’ CapSense Sigma-Delta Algorithm




                                                                            Figure 4: Timing Diagram for Switch Capacitor
              Figure 3: Close Up of CMod Waveform




The voltage on the external modulation capacitor CMod is continually charged in small increments due to continuous operation
of the switch capacitor as shown by Figure 3. The switch capacitor causes these small voltage increments instead of a smooth
increase due to its functional nature. As Figure 4 shows, phase 1 (Ф1) and phase 2 (Ф2) of the switch capacitor are never
closed at the same time. Therefore, as phase 1 of the switch capacitor closes, it charges CX. As phase 1 opens, the charge on
CX is held until phase 2 closes, sharing charge from CX with CMod. Because the switch capacitor is controlled by the PRS, each
incremental step is not uniform in voltage or duration. These minute inconsistencies do not affect CSD algorithm the
performance.

When the voltage reaches VREF the comparator trips, but the latch does not toggle until two clock cycles later. This is due to
the latching being clocked at half the speed of the oscillator, which also clocks the PRS. It is known that the latch toggles two
cycles after the comparator trips since phase 2 of the switch capacitor and the checking of the latch start on the same cycle.
Therefore, the latch waits two cycles before checking again after the comparator trips. This allows for a known time between
the tripping point and the latch toggle. This two cycle delay is illustrated in Figure 5.


                                          Figure 5: Comparator Input vs. Latch Output




Document No. 001-41925 Rev. **                         November 13, 2007                                              Page 3 of 6



                                                                                                                                    [+] Feedback
Cypress’ CapSense Sigma-Delta Algorithm



When the latch output goes high, the switch is closed, connecting the bleed resistor (RB) to ground which discharges CMod.
Note that the waveform in Figure 3 shows that CMod is actually charged for several short moments during the discharge phase.
This happens because the switch capacitor continues to operate and is dumping charge on CMod as it is being discharged.
Once again, this does not adversely affect operation. After CMod discharges beyond VREF, the latch does not toggle until after
two clock cycles. Therefore, two known times exist: two clock cycles after CMod increases over VREF and two clock cycles after
CMod decreases beneath VREF; the difference between these two times allows the user to know of a finger's presence. This
charging and discharging with a comparator and latch is a form of Sigma-Delta modulation and is where CSD derives its
name.

                                 Figure 6: CSD Input Stage Effective Resistance Block Diagram




The switch capacitor block, when running, functions as a resistor as shown in Figure 6. The equivalent resistance is calculated
by:

                   1
R Equivalent =             (1)
                 fS CX
         ƒS is the switching frequency of phases 1 and 2
         CX is the sensor capacitance
When a finger is present on CX, the equivalent resistance decreases. This decreased resistance causes an increase in the
current flowing through RCx. To maintain the voltage on CMod near VREF, the switch connecting the bleed resistor (RB) to
ground is closed with a higher duty cycle. Discharging takes longer because the voltage is still applied as it is discharging.




Document No. 001-41925 Rev. **                        November 13, 2007                                             Page 4 of 6



                                                                                                                                  [+] Feedback
Cypress’ CapSense Sigma-Delta Algorithm



Bit Stream Filter
The opening and closing of the latch by the output of the comparator creates a variable duty cycle bit stream used to
determine the presence of a finger on CX. Figure 7 shows a block diagram of a bit stream filter that takes the output from the
latch and processes it.

                                                Figure 7: CSD Bit Stream Filter




The bit stream is first ANDed with a PWM, which is clocked at the same frequency as the latch, to create measurement
windows as shown in Figure 8. These measurement windows are fed directly into the enable input in a counter, which is also
clocked at the same frequency as the latch. As each bit from a measurement goes into the enable input, the counter records
the number of clock cycles that occur during its length. Since the duty cycle of the bit stream increases with higher
capacitance, more counts are measured when a finger is present, as shown in Figure 9. The counter only records the number
of clock cycles for one measurement window at a time as the PWM resets the counters by setting an interrupt when
transitioning from high to low.

                             Figure 8: Counts Window as Created by ANDing Bit Stream with PWM




                    Figure 9: Finger Present Counts vs. No Finger Present Counts as Recorded by the Counter




Document No. 001-41925 Rev. **                        November 13, 2007                                            Page 5 of 6



                                                                                                                                 [+] Feedback
Cypress’ CapSense Sigma-Delta Algorithm



The raw number of clock cycles (referred to as 'counts') from the counter are updated to a register used by the CSD algorithm
for determining a finger's presence, as well as setting the baseline and adapting to environmental conditions. The CSD
algorithm looks at several measurement windows for each sensor depending on user settings.

                                                      Figure 10: Complete Schematic for CSD




Summary
The PSoC Mixed Signal Array is a configurable array of digital and analog resources, flash memory, RAM, an 8-bit
microcontroller and several other features. These features allow PSoC to implement innovative capacitive sensing techniques
in its CapSense portfolio. PSoC’s intuitive development environment can be used to configure and reconfigure the device to
meet design specifications and specification changes. CapSense Sigma Delta exhibits exceptional sensitivity and noise
immunity, low power consumption and a fast update rate, along with the flexible design process inherent to the PSoC.




                                                                                                                                 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.
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.


Document No. 001-41925 Rev. **                                     November 13, 2007                                                           Page 6 of 6



                                                                                                                                                               [+] Feedback

Weitere ähnliche Inhalte

Was ist angesagt?

Closed loop control of converter fed motor
Closed loop control of converter fed motorClosed loop control of converter fed motor
Closed loop control of converter fed motorRishabh Dutt Shukla
 
Embedded system design process_models
Embedded system design process_modelsEmbedded system design process_models
Embedded system design process_modelsRavi Selvaraj
 
MOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTOR
MOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTORMOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTOR
MOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTORManmohan Dash
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysisVanshVarshney
 
Chep 02 Power Frequency Disturbance
Chep 02 Power Frequency DisturbanceChep 02 Power Frequency Disturbance
Chep 02 Power Frequency DisturbancePiyush Tandel
 
Design of optimum self cascode low voltage current mirror
Design of optimum self cascode low voltage current mirrorDesign of optimum self cascode low voltage current mirror
Design of optimum self cascode low voltage current mirrorUshaswini Chowdary
 
Gcsc gto thyristor controlled series capacitor
Gcsc   gto thyristor controlled series capacitorGcsc   gto thyristor controlled series capacitor
Gcsc gto thyristor controlled series capacitorLEOPAUL23
 
FPGA Architecture Presentation
FPGA Architecture PresentationFPGA Architecture Presentation
FPGA Architecture Presentationomutukuda
 
PF correction using SEPIC
PF correction using SEPICPF correction using SEPIC
PF correction using SEPICSoumya Dash
 
l6-dc to ac converter.ppt
l6-dc to ac converter.pptl6-dc to ac converter.ppt
l6-dc to ac converter.pptantexnebyu
 
Load / Frequency balancing Control systems study
Load / Frequency balancing Control systems studyLoad / Frequency balancing Control systems study
Load / Frequency balancing Control systems studyCAL
 
Drives lec 11_12_Braking of DC Motors
Drives lec 11_12_Braking of DC MotorsDrives lec 11_12_Braking of DC Motors
Drives lec 11_12_Braking of DC MotorsMohammad Umar Rehman
 

Was ist angesagt? (20)

Compensators
CompensatorsCompensators
Compensators
 
Closed loop control of converter fed motor
Closed loop control of converter fed motorClosed loop control of converter fed motor
Closed loop control of converter fed motor
 
Embedded system design process_models
Embedded system design process_modelsEmbedded system design process_models
Embedded system design process_models
 
pid controller
 pid controller pid controller
pid controller
 
MOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTOR
MOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTORMOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTOR
MOSFET: METAL–OXIDE–SEMICONDUCTOR FIELD-EFFECT TRANSISTOR
 
Bi cmos technology
Bi cmos technologyBi cmos technology
Bi cmos technology
 
dc ac inverters
  dc ac inverters  dc ac inverters
dc ac inverters
 
I_P Converter final
I_P Converter finalI_P Converter final
I_P Converter final
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysis
 
Chep 02 Power Frequency Disturbance
Chep 02 Power Frequency DisturbanceChep 02 Power Frequency Disturbance
Chep 02 Power Frequency Disturbance
 
Design of optimum self cascode low voltage current mirror
Design of optimum self cascode low voltage current mirrorDesign of optimum self cascode low voltage current mirror
Design of optimum self cascode low voltage current mirror
 
Gcsc gto thyristor controlled series capacitor
Gcsc   gto thyristor controlled series capacitorGcsc   gto thyristor controlled series capacitor
Gcsc gto thyristor controlled series capacitor
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 
FPGA Architecture Presentation
FPGA Architecture PresentationFPGA Architecture Presentation
FPGA Architecture Presentation
 
PF correction using SEPIC
PF correction using SEPICPF correction using SEPIC
PF correction using SEPIC
 
H bridge
H bridgeH bridge
H bridge
 
l6-dc to ac converter.ppt
l6-dc to ac converter.pptl6-dc to ac converter.ppt
l6-dc to ac converter.ppt
 
Load / Frequency balancing Control systems study
Load / Frequency balancing Control systems studyLoad / Frequency balancing Control systems study
Load / Frequency balancing Control systems study
 
aec lab question Bank
aec lab question Bankaec lab question Bank
aec lab question Bank
 
Drives lec 11_12_Braking of DC Motors
Drives lec 11_12_Braking of DC MotorsDrives lec 11_12_Braking of DC Motors
Drives lec 11_12_Braking of DC Motors
 

Andere mochten auch (14)

Necola Avery Human Resources Resume updated
Necola Avery Human Resources Resume updatedNecola Avery Human Resources Resume updated
Necola Avery Human Resources Resume updated
 
Managing projects
Managing projectsManaging projects
Managing projects
 
Aerolíneas Argentinas
Aerolíneas ArgentinasAerolíneas Argentinas
Aerolíneas Argentinas
 
Sistema turístico
Sistema turísticoSistema turístico
Sistema turístico
 
PETER
PETERPETER
PETER
 
Xi concurso de carteles 2015
Xi concurso de carteles 2015Xi concurso de carteles 2015
Xi concurso de carteles 2015
 
Concurso de postales navideñas
Concurso de postales navideñasConcurso de postales navideñas
Concurso de postales navideñas
 
Presentacion institucional de la CAT 2016
Presentacion institucional de la CAT 2016Presentacion institucional de la CAT 2016
Presentacion institucional de la CAT 2016
 
Pengantar manajemen ~ stmik insan pembangunan heartline = slide
Pengantar manajemen ~ stmik insan pembangunan heartline = slide  Pengantar manajemen ~ stmik insan pembangunan heartline = slide
Pengantar manajemen ~ stmik insan pembangunan heartline = slide
 
Es lo mismo la nada que el vacío
Es lo mismo la nada que el vacíoEs lo mismo la nada que el vacío
Es lo mismo la nada que el vacío
 
Coca cola in china
Coca cola in chinaCoca cola in china
Coca cola in china
 
Financial viability
Financial viabilityFinancial viability
Financial viability
 
CONCRETE ADMIXTURES
CONCRETE ADMIXTURESCONCRETE ADMIXTURES
CONCRETE ADMIXTURES
 
Cuestionario con base a la pelicula de wall e
Cuestionario con base a la pelicula de wall eCuestionario con base a la pelicula de wall e
Cuestionario con base a la pelicula de wall e
 

Ähnlich wie Cypress' CSD Algorithm Explained

CapSense Capacitive Sensing Successive Approximation Algorithm
CapSense Capacitive Sensing Successive Approximation AlgorithmCapSense Capacitive Sensing Successive Approximation Algorithm
CapSense Capacitive Sensing Successive Approximation Algorithmemilyjoseph444
 
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGYDESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGYVLSICS Design
 
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGYDESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGYVLSICS Design
 
Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...
Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...
Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...iosrjce
 
CapSense Capacitive Sensing Best Practices
CapSense Capacitive Sensing Best PracticesCapSense Capacitive Sensing Best Practices
CapSense Capacitive Sensing Best PracticesRuth Moore
 
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING  ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING csijjournal
 
Analog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose MonitoringAnalog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose Monitoringcsijjournal
 
A Simulation Based Analysis of Lowering Dynamic Power in a CMOS Inverter
A Simulation Based Analysis of Lowering Dynamic Power in a CMOS InverterA Simulation Based Analysis of Lowering Dynamic Power in a CMOS Inverter
A Simulation Based Analysis of Lowering Dynamic Power in a CMOS Inverteridescitation
 
Capacitance Sensing - Migrating from CSR to CSA
Capacitance Sensing - Migrating from CSR to CSACapacitance Sensing - Migrating from CSR to CSA
Capacitance Sensing - Migrating from CSR to CSAemilyjoseph444
 
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...IOSR Journals
 
Lect2 up380 (100329)
Lect2 up380 (100329)Lect2 up380 (100329)
Lect2 up380 (100329)aicdesign
 
Mixed Signal Verification of a Voltage Regulator using a State Space approach...
Mixed Signal Verification of a Voltage Regulator using a State Space approach...Mixed Signal Verification of a Voltage Regulator using a State Space approach...
Mixed Signal Verification of a Voltage Regulator using a State Space approach...Raj Mitra
 
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...VLSICS Design
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Scienceresearchinventy
 
IRJET- Design and Simulation of 12-Bit Current Steering DAC
IRJET-  	  Design and Simulation of 12-Bit Current Steering DACIRJET-  	  Design and Simulation of 12-Bit Current Steering DAC
IRJET- Design and Simulation of 12-Bit Current Steering DACIRJET Journal
 
DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...
DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...
DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...VLSICS Design
 
Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...
Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...
Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...IRJET Journal
 
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...ijsrd.com
 

Ähnlich wie Cypress' CSD Algorithm Explained (20)

CapSense Capacitive Sensing Successive Approximation Algorithm
CapSense Capacitive Sensing Successive Approximation AlgorithmCapSense Capacitive Sensing Successive Approximation Algorithm
CapSense Capacitive Sensing Successive Approximation Algorithm
 
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGYDESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
 
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGYDESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
DESIGN OF LOW POWER SAR ADC FOR ECG USING 45nm CMOS TECHNOLOGY
 
Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...
Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...
Modelling and Simulation of a SAR ADC with Internally Generated Conversion Si...
 
CapSense Capacitive Sensing Best Practices
CapSense Capacitive Sensing Best PracticesCapSense Capacitive Sensing Best Practices
CapSense Capacitive Sensing Best Practices
 
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING  ANALOG TO DIGITALCONVERTOR FOR  BLOOD-GLUCOSE MONITORING
ANALOG TO DIGITALCONVERTOR FOR BLOOD-GLUCOSE MONITORING
 
Analog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose MonitoringAnalog to Digitalconvertor for Blood-Glucose Monitoring
Analog to Digitalconvertor for Blood-Glucose Monitoring
 
A Simulation Based Analysis of Lowering Dynamic Power in a CMOS Inverter
A Simulation Based Analysis of Lowering Dynamic Power in a CMOS InverterA Simulation Based Analysis of Lowering Dynamic Power in a CMOS Inverter
A Simulation Based Analysis of Lowering Dynamic Power in a CMOS Inverter
 
Capacitance Sensing - Migrating from CSR to CSA
Capacitance Sensing - Migrating from CSR to CSACapacitance Sensing - Migrating from CSR to CSA
Capacitance Sensing - Migrating from CSR to CSA
 
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
 
Lect2 up380 (100329)
Lect2 up380 (100329)Lect2 up380 (100329)
Lect2 up380 (100329)
 
Mixed Signal Verification of a Voltage Regulator using a State Space approach...
Mixed Signal Verification of a Voltage Regulator using a State Space approach...Mixed Signal Verification of a Voltage Regulator using a State Space approach...
Mixed Signal Verification of a Voltage Regulator using a State Space approach...
 
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
DESIGN AND IMPLEMENTATION OF 10 BIT, 2MS/s SPLIT SAR ADC USING 0.18um CMOS TE...
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
 
3BITFLASHADC
3BITFLASHADC3BITFLASHADC
3BITFLASHADC
 
IRJET- Design and Simulation of 12-Bit Current Steering DAC
IRJET-  	  Design and Simulation of 12-Bit Current Steering DACIRJET-  	  Design and Simulation of 12-Bit Current Steering DAC
IRJET- Design and Simulation of 12-Bit Current Steering DAC
 
DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...
DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...
DESIGN OF IMPROVED RESISTOR LESS 45NM SWITCHED INVERTER SCHEME (SIS) ANALOG T...
 
Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...
Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...
Series Voltage Compensator Modeling and Design for Reduction of Grid-Tie Sola...
 
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...
 

Mehr von Ruth Moore

Capacitance Sensing Migrating From Csr To Csd An2408 12
Capacitance Sensing   Migrating From Csr To Csd   An2408 12Capacitance Sensing   Migrating From Csr To Csd   An2408 12
Capacitance Sensing Migrating From Csr To Csd An2408 12Ruth Moore
 
Capacitance Sensing - PC-Compatible USB
Capacitance Sensing - PC-Compatible USBCapacitance Sensing - PC-Compatible USB
Capacitance Sensing - PC-Compatible USBRuth Moore
 
Capacitance Sensing - PC-Compatible USB CapSense Matrix Keyboard
Capacitance Sensing - PC-Compatible USB CapSense Matrix KeyboardCapacitance Sensing - PC-Compatible USB CapSense Matrix Keyboard
Capacitance Sensing - PC-Compatible USB CapSense Matrix KeyboardRuth Moore
 
Capacitive Sensing - Power and Sleep Considerations
Capacitive Sensing - Power and Sleep ConsiderationsCapacitive Sensing - Power and Sleep Considerations
Capacitive Sensing - Power and Sleep ConsiderationsRuth Moore
 
Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...
Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...
Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...Ruth Moore
 
Capacitance Sensing - Layout Guidelines for PSoC CapSense
Capacitance Sensing - Layout Guidelines for PSoC CapSenseCapacitance Sensing - Layout Guidelines for PSoC CapSense
Capacitance Sensing - Layout Guidelines for PSoC CapSenseRuth Moore
 

Mehr von Ruth Moore (6)

Capacitance Sensing Migrating From Csr To Csd An2408 12
Capacitance Sensing   Migrating From Csr To Csd   An2408 12Capacitance Sensing   Migrating From Csr To Csd   An2408 12
Capacitance Sensing Migrating From Csr To Csd An2408 12
 
Capacitance Sensing - PC-Compatible USB
Capacitance Sensing - PC-Compatible USBCapacitance Sensing - PC-Compatible USB
Capacitance Sensing - PC-Compatible USB
 
Capacitance Sensing - PC-Compatible USB CapSense Matrix Keyboard
Capacitance Sensing - PC-Compatible USB CapSense Matrix KeyboardCapacitance Sensing - PC-Compatible USB CapSense Matrix Keyboard
Capacitance Sensing - PC-Compatible USB CapSense Matrix Keyboard
 
Capacitive Sensing - Power and Sleep Considerations
Capacitive Sensing - Power and Sleep ConsiderationsCapacitive Sensing - Power and Sleep Considerations
Capacitive Sensing - Power and Sleep Considerations
 
Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...
Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...
Capacitance Sensing - Signal-to-Noise Ratio Requirement for CapSense Applicat...
 
Capacitance Sensing - Layout Guidelines for PSoC CapSense
Capacitance Sensing - Layout Guidelines for PSoC CapSenseCapacitance Sensing - Layout Guidelines for PSoC CapSense
Capacitance Sensing - Layout Guidelines for PSoC CapSense
 

Kürzlich hochgeladen

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Kürzlich hochgeladen (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Cypress' CSD Algorithm Explained

  • 1. Cypress’ CapSense Sigma-Delta Algorithm Cypress Semiconductor White Paper By Aaron GL Podbelski What is Capacitive Sensing? Executive Summary A capacitive sensor is a pair of adjacent electrodes (Figure 1). When a CapSense Sigma Delta algorithm conductive object is placed in proximity of the two electrodes, the capacitance (CSD) is Cypress’ latest capacitive changes sending a signal from the sensor to the microcontroller, allowing the sensing algorithm for the CY8C21x34 ® planned action to occur. The base capacitance is often referred to as the and CY8C24x94 PSoC device family. parasitic capacitance (CP). The physical sensor itself is typically a copper CSD enables the implementation of an trace constructed on a PCB, although sensors can be any conductive array of capacitive sensors through material. For example, one could use the transparent conductor indium tin switched capacitor circuitry, an analog oxide (ITO) and print the pattern on a transparent substrate. multiplexer, digital counting, and PWM functions. Figure 1: Capacitive Sensor The hardware configuration works in conjunction with high level software routines from the CSD User Module found in PSoC Designer™ to compensate for environmental and physical sensor variations Each sensor is a capacitor with one contact grounded, and the other contact connected to the PSoC’s analog global bus. The result is an active variable capacitor, CX (CX = CP + CF). The presence of a conductive object (such as a finger) increases the capacitance of the sensor with reference to ground. Determining sensor activation is then a matter of measuring the change in capacitance. Document No. 001-41925 Rev. ** November 13, 2007 Page 1 of 6 [+] Feedback
  • 2. Cypress’ CapSense Sigma-Delta Algorithm What is Sigma-Delta? The CSD algorithm, developed by Cypress, uses the switched capacitor circuitry to convert the sensor capacitance into a voltage, which is compared to a reference voltage. When the capacitor voltage reaches the reference voltage, the comparator triggers a bleed resistor discharging the capacitor. After the capacitor voltage discharges below the reference voltage, the bleed resistor is left floating to allow the capacitor to continue charging. The comparator output becomes a bit-stream as it toggles the bleed resistor and manipulates its input voltage. This bit stream is ANDed with a PWM to provide consistent stream framing. The number of counts in each frame is analyzed to determine if the capacitive sensor was activated. CSD requires the use of an external modulation capacitor (CMod) and bleed resistor (RB) in addition to the sensor capacitor (CX). Figure 2 shows the input stage for CSD. Figure 2: CSD Input Stage Block Diagram Input Stage (Sigma Delta Modulation) The input stage of the CSD algorithm starts with a switch capacitor network. The network starts with a switch capacitor block connected to VDD. The sensor capacitor (CX) is connected to the bus and in parallel with the required external modulation capacitor (CMod). The switch capacitor block is controlled by a 16-bit Pseudo Random Sequencer (PRS). A PRS is used instead of fixed clock source to attenuate emitted noise on CX by reducing the amount of EMI created by a fixed frequency source and to increase EMI immunity from other sources and their harmonics. Document No. 001-41925 Rev. ** November 13, 2007 Page 2 of 6 [+] Feedback
  • 3. Cypress’ CapSense Sigma-Delta Algorithm Figure 4: Timing Diagram for Switch Capacitor Figure 3: Close Up of CMod Waveform The voltage on the external modulation capacitor CMod is continually charged in small increments due to continuous operation of the switch capacitor as shown by Figure 3. The switch capacitor causes these small voltage increments instead of a smooth increase due to its functional nature. As Figure 4 shows, phase 1 (Ф1) and phase 2 (Ф2) of the switch capacitor are never closed at the same time. Therefore, as phase 1 of the switch capacitor closes, it charges CX. As phase 1 opens, the charge on CX is held until phase 2 closes, sharing charge from CX with CMod. Because the switch capacitor is controlled by the PRS, each incremental step is not uniform in voltage or duration. These minute inconsistencies do not affect CSD algorithm the performance. When the voltage reaches VREF the comparator trips, but the latch does not toggle until two clock cycles later. This is due to the latching being clocked at half the speed of the oscillator, which also clocks the PRS. It is known that the latch toggles two cycles after the comparator trips since phase 2 of the switch capacitor and the checking of the latch start on the same cycle. Therefore, the latch waits two cycles before checking again after the comparator trips. This allows for a known time between the tripping point and the latch toggle. This two cycle delay is illustrated in Figure 5. Figure 5: Comparator Input vs. Latch Output Document No. 001-41925 Rev. ** November 13, 2007 Page 3 of 6 [+] Feedback
  • 4. Cypress’ CapSense Sigma-Delta Algorithm When the latch output goes high, the switch is closed, connecting the bleed resistor (RB) to ground which discharges CMod. Note that the waveform in Figure 3 shows that CMod is actually charged for several short moments during the discharge phase. This happens because the switch capacitor continues to operate and is dumping charge on CMod as it is being discharged. Once again, this does not adversely affect operation. After CMod discharges beyond VREF, the latch does not toggle until after two clock cycles. Therefore, two known times exist: two clock cycles after CMod increases over VREF and two clock cycles after CMod decreases beneath VREF; the difference between these two times allows the user to know of a finger's presence. This charging and discharging with a comparator and latch is a form of Sigma-Delta modulation and is where CSD derives its name. Figure 6: CSD Input Stage Effective Resistance Block Diagram The switch capacitor block, when running, functions as a resistor as shown in Figure 6. The equivalent resistance is calculated by: 1 R Equivalent = (1) fS CX ƒS is the switching frequency of phases 1 and 2 CX is the sensor capacitance When a finger is present on CX, the equivalent resistance decreases. This decreased resistance causes an increase in the current flowing through RCx. To maintain the voltage on CMod near VREF, the switch connecting the bleed resistor (RB) to ground is closed with a higher duty cycle. Discharging takes longer because the voltage is still applied as it is discharging. Document No. 001-41925 Rev. ** November 13, 2007 Page 4 of 6 [+] Feedback
  • 5. Cypress’ CapSense Sigma-Delta Algorithm Bit Stream Filter The opening and closing of the latch by the output of the comparator creates a variable duty cycle bit stream used to determine the presence of a finger on CX. Figure 7 shows a block diagram of a bit stream filter that takes the output from the latch and processes it. Figure 7: CSD Bit Stream Filter The bit stream is first ANDed with a PWM, which is clocked at the same frequency as the latch, to create measurement windows as shown in Figure 8. These measurement windows are fed directly into the enable input in a counter, which is also clocked at the same frequency as the latch. As each bit from a measurement goes into the enable input, the counter records the number of clock cycles that occur during its length. Since the duty cycle of the bit stream increases with higher capacitance, more counts are measured when a finger is present, as shown in Figure 9. The counter only records the number of clock cycles for one measurement window at a time as the PWM resets the counters by setting an interrupt when transitioning from high to low. Figure 8: Counts Window as Created by ANDing Bit Stream with PWM Figure 9: Finger Present Counts vs. No Finger Present Counts as Recorded by the Counter Document No. 001-41925 Rev. ** November 13, 2007 Page 5 of 6 [+] Feedback
  • 6. Cypress’ CapSense Sigma-Delta Algorithm The raw number of clock cycles (referred to as 'counts') from the counter are updated to a register used by the CSD algorithm for determining a finger's presence, as well as setting the baseline and adapting to environmental conditions. The CSD algorithm looks at several measurement windows for each sensor depending on user settings. Figure 10: Complete Schematic for CSD Summary The PSoC Mixed Signal Array is a configurable array of digital and analog resources, flash memory, RAM, an 8-bit microcontroller and several other features. These features allow PSoC to implement innovative capacitive sensing techniques in its CapSense portfolio. PSoC’s intuitive development environment can be used to configure and reconfigure the device to meet design specifications and specification changes. CapSense Sigma Delta exhibits exceptional sensitivity and noise immunity, low power consumption and a fast update rate, along with the flexible design process inherent to the PSoC. 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. 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. Document No. 001-41925 Rev. ** November 13, 2007 Page 6 of 6 [+] Feedback