поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN3248 датащи(PDF) 12 Page - STMicroelectronics

номер детали AN3248
подробное описание детали  Using STM32L1 analog comparators in application cases
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3248 датащи(HTML) 12 Page - STMicroelectronics

Back Button AN3248 Datasheet HTML 8Page - STMicroelectronics AN3248 Datasheet HTML 9Page - STMicroelectronics AN3248 Datasheet HTML 10Page - STMicroelectronics AN3248 Datasheet HTML 11Page - STMicroelectronics AN3248 Datasheet HTML 12Page - STMicroelectronics AN3248 Datasheet HTML 13Page - STMicroelectronics AN3248 Datasheet HTML 14Page - STMicroelectronics AN3248 Datasheet HTML 15Page - STMicroelectronics AN3248 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 17 page
background image
Capacitance measurement
AN3248
12/17
Doc ID 17758 Rev 3
5
Capacitance measurement
The ability to connect the COMP2 output to the input capture channels of the timers allows
the capacitance value to be measured. The principle is based on measuring the charge time
of a resistor-capacitor (RC) network as follows:
●
the charge time is measured
●
the charge resistor (R) is already known
●
the unknown capacitance (C) can be computed
Figure 10 shows the hardware connection of the RC network to an STM32L1 device.
Figure 10.
RC network connection for capacitance measurement
The capacitance measurement procedure consists of charging and discharging the
capacitor through the resistor. The charge/discharge function follows an exponential curve.
The charge function is given by Example 1.
Example 1
where:
●
VDD is the positive supply voltage
●
t is the time
●
T is the RC constant
Charging and discharging the RC network is ensured by the timer output compare channel
(TIMx OC) configured in PWM mode. The timer channel is connected to the resistor.
The input voltage is connected to the COMP2 non-inverting input while the threshold is
connected to the COMP2 inverting input. When the input voltage crosses the threshold, the
COMP2 output switches to high level and a capture event occurs saving the counter value.
Figure 11 shows the capacitance measurement.
C
R
Threshold
TIMx OC
STM32L1 device
Input voltage
-
+
COMP2
TIMx IC
ai18709
Input voltage
V
DD 1t
T
⁄
–
()
exp
–
()
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com