![](http://datasheet.mmic.net.cn/Microchip-Technology/MCP2036T-I-ML_datasheet_98941/MCP2036T-I-ML_10.png)
MCP2036
DS22186C-page 10
2009 Microchip Technology Inc.
Substituting in the equation for an RC network:
EQUATION 3-4:
The peak-to-peak amplitude of the resulting triangular
waveform, at the coil driver input, is shown in
EQUATION 3-5:
From the previous equation, the designer should
choose values for VPKPK and RIN. Using the equation
above, the value of CIN will be:
EQUATION 3-6:
The amplitude of the pulsed current applied to key
inductors will be:
EQUATION 3-7:
This current produces a pulsed voltage to key inductors
ends. The amplitude of this voltage will be:
EQUATION 3-8:
The total voltage across both the reference and sensor
coils would be double (two series inductors). For a
specific power supply voltage, half of this power supply,
relative to the voltage reference, is available for output
amplifier/detector. Assuming a 30% margin, the
desired gain for the detector should be about:
EQUATION 3-9:
The gain of the amplifier is user-settable, using an
external resistor, RGAIN. The value of that resistor will
be determined using the following equation:
EQUATION 3-10:
With a 10-bit ADC, using oversampling and averaging
techniques, the effective resolution is close to 11 bits.
As shown in AN1239, “Inductive Touch Sensor
Design
”, the typical shift in sensor impedance is typi-
cally 3-4%, so the actual number of counts per press is
typically between 20 and 40 counts. In this way, the
microcontroller firmware could easily detect press
event.
Note:
VPKPK should not exceed specified value
(600mV) for best performance.
Note:
Assuming a power supply of 5V and
VPKPK=500mV, for RIN=3.9KΩ, CIN should
have about 320pF. A 330pF capacitor will
be used.
ΔV
V
DD
2
-----------
1
t
–
R
INCIN
------------------
exp
–
1
t
–
R
INCIN
------------------
exp
+
-------------------------------------------
=
2
ΔVV
DD 2
ΔV
+
()
1
tRC
–
()
exp
–
[]
=
V
PK PK
2
ΔV
=
V
PKPK
V
DD
1
t
–
R
INCIN
------------------
exp
–
1
t
–
R
INCIN
------------------
exp
+
-------------------------------------------
=
C
IN
t
R
IN
ln
V
DD
V
PKPK
–
V
DD
V
PKPK
+
----------------------------------------
-------------------------------------------------------------------
1
2
FR
IN
V
DD
V
PKPK
–
V
DD
V
PKPK
+
----------------------------------------
ln
-------------------------------------------------------------------------------------
=
ΔIV
PK PK
G
DRV
=
G
DRV
- Gain of Coil Driver
Note:
For a PWM frequency of 2 MHz and
inductor value of 2.7H, the amplitude of
pulsed voltage will be:
Note:
For a power supply of 5V and
ΔU = 10mV,
the resulted gain is 81. To obtain this gain,
RGAIN = 820kOhm should be used.
ΔUL ΔI
Δt
------
LV
PK PK
G
DRV
2F
=
F
- PWM Frequency
L
- Inductance of Key Inductor
ΔU 10.8mV
=
Gain
70%
V
DD
2
-----------
2
ΔU
---------------------------------
=
Gain
R
GAIN/10kOhm