zero crossing detector (zcd)
karan123,
In your July 19 reply to snd_lover, you stated that you wanted an equal proportion of energy at every step. having the same area under the voltage curve for each segment does not provide equal energy for each segment. To provide equal energy for each segment, the calculation is more complex: You need to compute the angles that will provide equal RMS voltage values for each segment. Let me know if this is what you want.
Regards,
Kral