Forget the PWM that will not help you.
You need to detect the zero crossing point of the AC and then delay after that to give you a phase angle.
Forget the PWM that will not help you.
You need to detect the zero crossing point of the AC and then delay after that to give you a phase angle.