Author Topic: Divide power using triac ; formula ; calculation  (Read 2057 times)

0 Members and 1 Guest are viewing this topic.

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
Divide power using triac ; formula ; calculation
« on: December 15, 2014, 10:04:46 am »
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 0-180 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 .
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2084
Re: Divide power using triac ; formula ; calculation
« Reply #1 on: December 15, 2014, 03:52:05 pm »
Looks good. I would avoid the real-time calculation and use a look-up table.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19514
  • Country: gb
  • 0999
Re: Divide power using triac ; formula ; calculation
« Reply #2 on: December 16, 2014, 11:23:52 am »
Do you not have libraries for the trigonometry?

Yes, use a look up table. Pre-calculate x for the different fractions, using a spreadsheet and include them in an array in your program.
 

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
Re: Divide power using triac ; formula ; calculation
« Reply #3 on: December 17, 2014, 03:30:16 pm »
1. I have attached a file, in which it is explained how to do phase control.
2. First one is equal phase division. Which I have done correctly.
3. Second is equal power division. this is what I am trying to achieve, its calculation I had described in post#1.
I want to know if I am doing it correctly.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf