I need to calculate the time a thyristor/triac needs to be on for a desired percentage of full power of each half cycle of the AC line input.
On for the full half cycle will give me 100%. On for 1/2 half the cycle will give me 50%. (sounds easy so far) But being on for 25% of the time does not give 25% of the power. And this is where I need someone with more brain cells than I still have. I have done some Google searching but have been unable to find the answer. Google doesn't understand what I really need.
Trying to think this through is stressing the remaining cells I have. And if I was confident I would get it right then it would be worth it. But I was never great at this kind of math even when I had cells to lose.
What I need is a an input variable, desired power percentage, and an output of the percentage of the half period of the sine wave.