-
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
- ładowarka zmarła
- Podstawa bezpiecznikowa jako rozłącznik DC
- Napięcie akumulatora wyłączające UPS / jakie nowe akumulatory do UPS?
- nawigacja satelitarna
- SmartLife/Tuya i osuszanie -- mordowanie z zimną krwią...
- Głośnik piezoelektryczny
- Mala autonomiczna kamera monitoringu
- czas na emeryturę i EB
- Generowanie sumy kontrolnej z fragmentu pliku bin
- Re: Mala autonomiczna kamera monitoringu
- HDMI
- Re: Mala autonomiczna kamera monitoringu
- Kamera monitoringu z kartą SIM
- Re: Kamera monitoringu z kartą SIM
- Re: Kamera monitoringu z kartą SIM
Najnowsze wątki
- 2024-07-01 W-wa naklejki wjazd do centrum
- 2024-07-01 ładowarka zmarła
- 2024-07-01 Koder szuka pracy. Koduję w j.: Asembler, C, C++ (z Qt) i D.
- 2024-07-01 Kraków => Kierownik Działu Spedycji Międzynarodowej <=
- 2024-07-01 Białystok => Full Stack Web Developer (.Net Core, Angular6+) <=
- 2024-07-01 Berlin => Technical Rollouter (Radio Systems Software Installation and
- 2024-07-01 Warszawa => Key Account Manager <=
- 2024-07-01 Gdańsk => Programista Full Stack .Net <=
- 2024-07-01 Zabrze => Junior HelpDesk <=
- 2024-07-01 Warszawa => Key Account Manager <=
- 2024-07-01 Bielsko-Biała => Expert Migration Architect (Azure) <=
- 2024-07-01 Mini Netykieta polskich grup dyskusyjnych
- 2024-07-01 Re: Jak wypełnić polecenie francuskiego sądu blokowania niektórych zapytań DNS? Blokując Francję
- 2024-07-01 Re: Powtórne wezwanie na PO-komisję uzdrowi Ziobrę już w 10 dni
- 2024-07-01 CA -- problem z logowaniem