<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tors 11 feb. 2021 08:48cheater cheater <<a href="mailto:cheater00social@gmail.com">cheater00social@gmail.com</a>> skrev:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's one thing I've been wondering about. Is there a form of ADC<br>
where every sample represents the total charge that passed through a<br>
conductor since the last sample? Normally, an ADC will only sample<br>
voltage (or current) at the time of sampling, but we don't really know<br>
anything about what happened between sampling intervals. If we assume<br>
that the current was roughly constant during the sampling, that's<br>
fine. But if it changed during that time, then we have to do some sort<br>
of interpolation. Even if we do a linear interpolation, maybe the<br>
current going through the conductor was concave or convex. Being able<br>
to sample the total charge going through a cap would be much easier,<br>
since I'd be converting the input data into a charge amount anyways<br>
(to be added to the virtual capacitor).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is essentially what an anti-aliasing filter does for you.</div><div dir="auto"><br></div><div dir="auto">/mr</div><div dir="auto"><br></div></div>