
+VDC is 24 VDC. A solenoid is connected to COIL_VOLTAGE and COIL_SWITCH. COIL_CURRENT_SENSE goes to an A/D converter in a microcontroller. SOLENOID_DRIVE is from the PWM output of the microcontroller. The PWM algorithm is working very well but the output of the current sense amplifier VOUT is 5V regardless of the current in R13. What am I doing wrong?