In my application, I am using multiple triacs to switch on/off multiple solenoids. The solenoids are supplied by 24VAC. I need to accomplish two things: 1) Detect a fault condition with the solenoid, i.e. a short in the wiring; and 2) detect the presence of a solenoid on a port. The idea is to use a current sensing IC such as the INA170. A microcontroller would monitor the output of the IC. When a triac is activated and a solenoid is attached to the port, the IC would sense an increase in current of say 250mA. If no current is sensed, the MCU would then know that the port is open, no solenoid is attached. In the fault condition, the IC would sense a very large inrush of current and the MCU would shut down the triac.
Is the INA170 the type of part I'm looking for? Again, the solenoid is 24V AC so I'm trying to detect an AC current. Thank you for your help and suggestions.