Author Topic: Read PWM current signal  (Read 6758 times)

Offline sverreo

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +1/-0
Read PWM current signal
« on: May 04, 2021, 08:43:54 PM »
Hi,

Does anybody know how to read a PWM current signal on an MC050-110?

There is an external ECU running a coil with a current output, and i want to know what the output is in percent in my software.
I'm an electric novice, but i think i need a RC filter before the MC50 input and read the signal as voltage? Anybody know how to calculate this or to get a stable signal?

I found out that the PWM signal is 1kHz, and from 600mA -> 2000mA.

When i now read the voltage or duty on the input it is not stable at all, and i tried filtering it in Guide using low-pass filter, but i can't get a stable signal...

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: Read PWM current signal
« Reply #1 on: May 05, 2021, 07:43:00 PM »
There's no way for you to read this accurately by connecting the PLUS1 controller directly.  Even if you splice into the signal to read the PWM duty cycle you're then just siphoning off some of the current to the valve and potentially disrupting operation.  You'll need to look into a current measuring device that can go in series (so that it's not splicing out some of the current) that has a voltage or other type of output.  There's probably something out that that'll convert a 0 - 2A or 0 - 3A signal into 0 - 10V, but you might be hard pressed to find one that just goes in series and allows the current to pass through to the valve.
Controls Engineer
Hydra-Power Systems

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: Read PWM current signal
« Reply #2 on: May 05, 2021, 07:44:32 PM »
For just temporary monitoring you'd just want to put a multimeter in series with the valve coil and read the current that way.
Controls Engineer
Hydra-Power Systems