1. I am using a pure resistive load & have to divide output power by using triac. Ckt has 220V ac
2. I have a zero crossing detector output signal at every zero so I get two signal in once complete cycle.
3. User can select 0.0 – 1.0 value & according to that I have to output the power .
e.g if user have selected 0.5 then I have to output half power during 0180 phase of ac signal.
4. I have some calculation on when to turn on triac which i have attached.
5. Plz check if I doing it right.
6. If I am doing it right, currently I am calculating angle by hit & trial. But I have to do it in MCU, I don't know how to calculate it otherwise because formula contain arithmetic & trigonometry function as in attached .
2. I have a zero crossing detector output signal at every zero so I get two signal in once complete cycle.
3. User can select 0.0 – 1.0 value & according to that I have to output the power .
e.g if user have selected 0.5 then I have to output half power during 0180 phase of ac signal.
4. I have some calculation on when to turn on triac which i have attached.
5. Plz check if I doing it right.
6. If I am doing it right, currently I am calculating angle by hit & trial. But I have to do it in MCU, I don't know how to calculate it otherwise because formula contain arithmetic & trigonometry function as in attached .
Attachments

30 KB Views: 49