A PWM controllable zero-cross sensing opto-isolated triac based solid state relay