-
Data: 2016-01-23 02:15:21
Temat: Re: Miernik pojemności - jak działa
Od: AlexY <a...@i...pl> szukaj wiadomości tego autora
[ pokaż wszystkie nagłówki ]Sebastian Biały pisze:
> Cześć.
>
> Jest taki projekt:
>
> http://www.jyetech.com/Products/CapMeter/e060.php
>
> i schemat:
>
> http://www.jyetech.com/Products/CapMeter/105-06000-0
0b.pdf
>
> Autor twierdzi że miernik ten posiada 2% lub lepszą dokładność.
>
> Ok.
>
> Mam dwa pytania:
> a) jak to osiągnięto przy 5% rezystorach?
> b) jak to w zasadzie działa? Mamy tam ekstremalnie trywialny układ.
> Całość sprawadza się do R11, R12 i R10. O ile przez R10 kondensator
> podpiety jest do komparatora w cpu a druga noga do polowy napięcia
> zasilania - i to wydaje się zrozumiałe, to nie do końca jasne jest dla
> mnie wpięcie wyjścia SPI przez R12 do kondensatora. Tak jak gdyby
> podawano tam falę prostokatną i wymagane było do tego MOSI.
>
> Czy ktoś móglby rzucić okiem i postawić jakąs hipotezę jak to działa?
> Autor twierdzi że wynik stabilizuje sie po 2sek. Bez wątpienia
> wykorzystuje detekcję osiągnięcia przez kondensator napięcia progowego
> po zliczanym czasie, ale... no chyba że wpięcie w MOSI jest tylko
> przypadkiem braku wolnych pinów.
Myślę że jest to klon projektu:
http://www.mikrocontroller.net/articles/AVR_Transist
ortester
a tam pomiar C jest robiony tak:
ReadCapacity tries to find the value of a capacitor by measuring the
load time.
first of all the capacitor is discharged. Then a series of up to 500
load pulses with 10ms duration each is done across the R_L (680Ohm)
resistor. After each load pulse the voltage of the capacitor is measured
without any load current. If voltage reaches a value of more than 300mV
and is below 1.3V, the capacity can be computed from load time and
voltage by a interpolating a build in table. If the voltage reaches a
value of more than 1.3V with only one load pulse, another measurement
methode is used:
The build in 16bit counter can save the counter value at external
events. One of these events can be the output change of a build in
comparator. The comparator can compare the voltage of any of the ADC
input pins with the voltage of the internal reference (1.3V or 1.1V).
After setting up the comparator and counter properly, the load of
capacitor is started with connecting the positive pin with the R_H
resistor (470kOhm) to VCC and immediately the counter is started. By
counting the overflow Events of the 16bit counter and watching
the counter event flag the total load time of the capacitor until
reaching the internal reference voltage can be measured.
--
AlexY
http://faq.enter.net.pl/simple-polish.html
http://www.pg.gda.pl/~agatek/netq.html
Następne wpisy z tego wątku
- 23.01.16 10:05 Piotr Gałka
- 23.01.16 11:59 b...@g...com
- 23.01.16 12:10 b...@g...com
- 23.01.16 13:43 Sebastian Biały
- 23.01.16 14:30 b...@g...com
- 25.01.16 14:04 Waldemar
- 25.01.16 14:47 Piotr Gałka
- 25.01.16 15:22 AlexY
- 25.01.16 16:25 Waldemar
- 25.01.16 19:02 AlexY
- 26.01.16 11:12 Czarek Grądys
- 27.01.16 10:08 J.F.
- 27.01.16 11:45 Waldemar
- 27.01.16 11:57 AlexY
- 27.01.16 13:22 Czarek Grądys
Najnowsze wątki z tej grupy
- Najgorszy język programowania
- Kol. sukces po polsku: firma Szumisie sp. z o.o.
- Chińska Telefonia 6G - Chcą Nas Sterować Elektrycznie - Jak Kukiełki w Teatrze Lalek!!!
- RS-485 ale automatycznie dwukierunkowy
- Leżakujące SSD gubią po roku dane
- kolorowy e-paper
- Sterownik kotła CO praca PWM
- Jakie baterie A23 i LR44?
- OLED SSD1306 - degradacja?
- Który symulator AVR jest ,,prawilny"?
- Disk on Module, czym to odczytać?
- Pasta ochronna? Lutownicza?
- zagadka pneumatyczna
- Klip testowy, jak sie to używa
- Jak sie smazy elektronike z odleglosci kilkuset metrów?
Najnowsze wątki
- 2025-12-07 Chińczycy już ZAREAGOWALI!!!! Klamki zewnętrzne w samochodzie MAJĄ BYĆ KLAMKAMI
- 2025-12-07 Giełdy samochodowe
- 2025-12-07 Proces Brauna rusza 2025-12-08. Jak zostanie uzasadnione wyłączenie jawności procesu Największego Gaśnicowego?
- 2025-12-07 Re: Najgorszy język programowania
- 2025-12-07 Najgorszy język programowania
- 2025-12-07 #Motodziennik 358 - Czy ELEKTRYKI są jak AZBEST? Wyniki badań
- 2025-12-06 weto do ustawy o kryptowalutach
- 2025-12-06 Od nowego roku GOTÓWKA będzie jeszcze bardziej ATRAKCYJNA
- 2025-12-06 Ukraina jest bogata
- 2025-12-06 [OT] Kup!
- 2025-12-06 Laptop z miejscem na dwa dyski i 32 GiB DDR4
- 2025-12-05 podatek od marzeń
- 2025-12-05 Jewgienij Tkaczew czyli dobre imię Piłsudczykowskiej Sanacji trafi na wokandę? [Polska była państwem nazistowskim]
- 2025-12-05 Warszawa => Architekt rozwiązań (Workday) - Legal Systems <=
- 2025-12-05 Warszawa => Konsultant Microsoft Dynamics AX/365 SCM Consultant - Serv




Ile kosztują tanie mieszkania w polskich metropoliach?