Zero crossing detector with direction detection
Description:
When the sine wave crosses 0V this circuit generates an impulse meaning that a zero crossing was detected.
The level of that impulse indicates when ever the sine wave crosses 0V from the negative half wave (output +15V impulse) or from the positive half wave (output -15V impulse).
Play with the RC construct to change the impulse duaration.