| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3248 bảng dữ liệu(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3248 bảng dữ liệu(HTML) 12 Page - STMicroelectronics |
|
12 / 17 page ![]() 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 – () = |
|
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |