K
K
Kalombyr2019-04-07 14:37:26
Arduino
Kalombyr, 2019-04-07 14:37:26

How to measure the current strength if the control is via PWM?

Good afternoon.
There is a Chinese CO2 laser engraver with a 30W tube, it is controlled by PWM, constant voltage, the input is about 15kV.
I need to figure out the current strength roughly speaking. If you use an analog milliammeter (yes, the maximum can be 30mA), then, of course, everything is fine.
But I need to connect to Arduino, for this I use INA219 but the problem is that the readings "float" due to PWM. Frequency 20-25kHz.
Tell me, please, how can I solve the problem?
PS The multimeter with TRUERMS seems to be measuring correctly, but I have an Arduino and I can't find an algorithm for how to filter the value and I don't know if the Arduino will have time to calculate.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2019-04-07
@Kalombyr

put a value integrator.
in the simplest case resistor + capacitance. select/calculate resistance and capacitance to smooth out pulses of values. you get the average value of the current.
There is an example of a simple filter in the pdf at your link.
5ca9e76536eb0033618507.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question