Simple SSR has zero-cross on/off switching
This Design Idea is a solid state relay (SSR) which uses a triac to switch AC loads at high current. There are plenty of simple SSR circuits available, but this may be the simplest circuit that achieves turn-on and turn-off only when the AC line voltage is near zero.
Transistor Q2 acts as a clamp to disable the SCR gate drive voltage when the AC line is above about 15V. When the line voltage is below that value, the optocoupler controls the gate of the SCR. A positive current into the optocoupler’s LED allows current to flow from the rectified AC line to the SCR gate, turning it on. Once the SCR is turned on, enough current flows through the bridge rectifier to turn on the triac.
The circuit displays similar behavior when the optocoupler is turned off: the SCR will continue to conduct for the duration of the half-cycle, but with the optocoupler turned off, the SCR will not conduct once the AC voltage begins to increase on the next half-cycle.
Figure 2 is a scope shot showing the control voltage on the LED side of the optocoupler, and the switched AC output.
For More Details: Simple SSR has zero-cross on/off switching