K
K
Kalombyr2019-05-10 19:57:53
Arduino
Kalombyr, 2019-05-10 19:57:53

How to measure cooler current?

Good evening!
Let's say there is a regular 5 volt computer cooler that is powered by cell phone charging. I need to measure the current, for this purpose I use my favorite INA219 (voltmeter and ammeter with I²C protocol).
Of course, the problem is that the current readings jump very strongly within two adjacent measurements. The RC filter cannot be selected.
What would be the best way to do it? What algorithm to filter?
PS I tried the moving average - it doesn't fit, it still floats.
True RMS seems to be not the best solution for direct current?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Gusev, 2019-05-10
@Kalombyr

Why can't you pick up RC? What is the problem?
You can generally hang containers near the cooler (electrolytes + ceramics / tantalum / film) and measure between the source and the cooler with containers - this will smooth out current ripples in the source - load section.
Well, to work with the signal it would be nice to see it. Here are examples of waveforms from the cooler power supply (from 5V without additional capacitances) and waveforms from a 0.33 Ohm shunt.
5cd5bacb33ce7851449731.png5cd5bad2412d5641580296.png

A
Andrey Bondarenko, 2019-05-16
@pt200

If you don’t like averaging with a capacitor: you can take the analog INA138 (for example), then to the ADC with a sampling frequency of 10 kHz and software averaging (“strobe” with a signal from the tachometer).
PS Judging by the documentation, 219yu can be overclocked to the desired speed if the bit depth of the conversion is reduced

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question