how to digitize a triac phase angle?

Discussion in 'General Electronics Chat' started by gardenyu, Oct 19, 2009.

  1. gardenyu

    Thread Starter New Member

    Aug 11, 2009
    I'm looking at TRIAC dimmer circuit as this:

    There is a phase angle difference between the original AC waveform and the dimmer output.

    If I have a microcontroller, I can detect this difference by sensing the zero crossing, and generate some output based on that.

    But is it possible to make a digitized fixed frequency waveform with different duty cycle based on the TRAIC phase angle difference?

    Thanks in advance.
  2. hardsoft

    New Member

    Sep 7, 2009
    Does your micro have a PWM peripheral?