- #1
- 5
- 0
Hi,
I would like to implement voltage regulator based on microcontroller + triac.
I am able to calculate source RMS voltage by sampling signal using ADC, but don't know how to calculate triac angle to set desired RMS voltage.
For example i have 250v source RMS voltage and i need to calculate triac angle to set output RMS 100v. Desired voltage might be any thirefore i need some formula to make possible recalculate triac angle in runtime.
I have found formula to calculate RMS by using triac angle:
https://www.physicsforums.com/threa...e-from-triac-phase-angle.572668/#post-3737599
But i need to calculate angle by using desired RMS output voltage. The problem that i can not to deduce angle from this formula - angle in sinus argument and also it is outside sinus.
Could you help to make a formula to calculate triac angle by using desired RMS voltage?
Or probably some other method is better to calculate triac angle ?
I would like to implement voltage regulator based on microcontroller + triac.
I am able to calculate source RMS voltage by sampling signal using ADC, but don't know how to calculate triac angle to set desired RMS voltage.
For example i have 250v source RMS voltage and i need to calculate triac angle to set output RMS 100v. Desired voltage might be any thirefore i need some formula to make possible recalculate triac angle in runtime.
I have found formula to calculate RMS by using triac angle:
https://www.physicsforums.com/threa...e-from-triac-phase-angle.572668/#post-3737599
But i need to calculate angle by using desired RMS output voltage. The problem that i can not to deduce angle from this formula - angle in sinus argument and also it is outside sinus.
Could you help to make a formula to calculate triac angle by using desired RMS voltage?
Or probably some other method is better to calculate triac angle ?