I want to detect the AC current level on the load driven by an existing device which has a built in sense resistor with externalized pins. I need to detect load status, which can be either 0 mA, 300 mA or 600 mA on 24VAC.
In addition, there will be a 1-wire serial line and a handful of input digital signals, all connected via FT232H/USB to a Raspberri Pi. I am counting with a layer of isolation between FTDI chip and device.
I have attached a simplified schematic. There is no DC readily available in the device. One of the two 24VAC legs is tied to ground; the modules in the device have hidden DC supplies drawing from the 24VAC. The digital signals expose DC levels related to ground.
I am struggling with how to deal with the AC current sense voltage on the 24VAC leg. The simplest solution I can think of is using a signal transformer, rectifier/filter and two voltage comparators. Are there micro size transformers for 60Hz? Will something like this work?
https://www.mouser.com/datasheet/2/281/kmp_da100-185018.pdf . (It shows up on a Mouser search for 50-60Hz, but obviously is rated higher frequency.)
What would be a common solution? As a last resort, I could put a current sense transformer on the 24VAC line for the whole device, but they are bulkier than I would like...
Are there any specialized ICs for AC current measurement with I2C interface, like INA219 but for AC. Is there such a thing?
Comments and suggestions appreciated.