HI all,
I am wanting to check a AC line (15VAC) using a opto isolator, basically just having it trigger a logic output so I can detect if the AC line is there or not. I think a AC opto would do it, though I am not sure if the AC ripple would cause the opto to give false outputs unless it was designed to work in that way.
My second option is to use a normal DC opto, convert the AC to DC, though the same problem is there with ripple, I could smooth that out with a small value capacitor, my only concern is that when the AC line fails, that the smoothing capacitor will keep the opto on for a fraction of a second after the AC fails.
The problem with that, I could probably time it correctly with a small value capacitor around 10UF, which should supply enough smoothing to keep the optos running stable and the value is small enough that when the AC fails it discharges pretty fast. The only thing which worries me about doing that is when the capacitor starts to "get old" and drift in value or temperature causes it to drift, that it could cause the circuit to malfunction. I could use a much larger value so its back tot he problem that the opto may not turn off fast enough after the AC line fails.
At the moment that's the only way I can think of monitoring the AC line, will probably work fine though thought I would ask and see if anyone else has any ideas on this type of thing ?
Cheers, Chris