-
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
- Jak sie smazy elektronike z odleglosci kilkuset metrów?
- William Shockley, co-inventor of the transistor
- Gazowy kocioł CO regulacja cyklingu i regulacja pogodowa
- Zamek elektroniczny
- szablon do pasty DIY
- Głośnik potrzebny
- Silikonowy przewód ekranowany
- Wtyk bananowy ekranowany
- Co może być gorsze od pożaru elektryka?
- daltonizm
- Mały Linux
- Superkondensator. Czy to się uda?
- Stare filmy o technice
- Zasilanie własnych konstrukcji przez PoE
- Jak działa domofon?
Najnowsze wątki
- 2025-11-08 Warszawa => Programista Microsoft Dynamics 365 Finance & Operations (D
- 2025-11-07 Warszawa => International Freight Forwarder <=
- 2025-11-07 Warszawa => C Programmer <=
- 2025-11-07 Warszawa => Starszy Programista C <=
- 2025-11-07 Warszawa => Senior Programmer C <=
- 2025-11-07 Warszawa => Developer Microsoft Dynamics 365 Finance & Operations (D36
- 2025-11-07 Warszawa => Programista C <=
- 2025-11-07 Warszawa => Asystent ds. Sprzedaży i Rozwoju Klienta <=
- 2025-11-07 Wrocław => Programista React ze znajomością C++ <=
- 2025-11-07 Lublin => Programista Delphi <=
- 2025-11-07 OBD2 napięcie akumulatora
- 2025-11-06 citek i GP.
- 2025-11-06 envelo - list polecony
- 2025-11-06 Ostrów Wielkopolski => Specjalista ds. Marketingu Online (PPC) <=
- 2025-11-06 Warszawa => Strategic Account Manager <=




Elektromobilność dojrzewa. Auta elektryczne kupujemy z rozsądku, nie dla idei