I've built a bunch of dimmer type circuits that use an H11AA1 for ZCD. It works fine. With a pullup on the output, it generates a pulse at each crossing. Because both diodes have a minimum forward voltage and current before they emit enough light to turn on the transistor, the pulse width depends on the supply voltage and resistors you are using to control the current. The pulse well be centered on the crossing, but of course, if you re triggering a uC interrupt or something, you'll get a positive edge slightly before the ZC and a negative edge slightly after. It doesn't seem to matter for dimming applications, but if you need to, you can use the uC timers to make an adjustment for the width.
I've also used this to build a line frequency monitor for fun. By timing/counting pulses, you can see the slight fluctuations in frequency that the power system generates. You need a good stable oscillator, as these fluctuations are usually small (10's of mHz) unless you live on an island or Something Major is happening to the grid.
Hi folks,
I've been looking at the application of H11AA1 optocouplers as zero crossing detectors and I can't see how they can possibly work. The data sheets are no help here at all.
...
Has anyone used this device for ZCD or is this application just an internet myth?