the last condition means that if you were to use the voltage to charge up a capacitor, you should trip the mcu at the same voltage.I have to divide AC Signal 0 to 180 Degree in to
40 equal parts for Making ZCD or Zero Crossing Detector
But Condition is that,All parts having Same Area?
that would give you 40 UNEQUAL parts.The signal frequency (F) gives the period by 1/F. One half of that period is the time for 180 degrees. Divide that by 40 and you have the time interval.
if it is perfect ac, and you know the frequency, all you need is to find delta, such thatSir,
Can u Guide me ,I want to do some paper work
How Mathematically I can divide AC Signal 0 to 180 Degree in to
40 equal parts.
Thanks ..
Karan
the op wrote:I guess the question is whether the goal is to divide the 0 to 180 degrees into equal angular intervals such as 180/40 degrees or are you interested in dividing the period/2 into 40 equal time slices.
My initial interpretation of the OP's request was that the goal was to divide the half-period into 40 equal time periods.
hgmjr
that means the "area" under the sine curve is the same. which means the first area will last longer than the middle area.But Condition is that,All parts having Same Area?
My error. Indeed, an integrating function is called for to achieve this end.But Condition is that,All parts having Same Area?
ideally, you can do that buy charging up the cap with a current source whose current output varies with the voltage of the ac signal.My error. Indeed, an integrating function is called for to achieve this end.
hgmjr
I have used both of these approaches to perform such an integration. I do tend to prefer the first approach for the accuracy it can bring to the integration.ideally, you can do that buy charging up the cap with a current source whose current output varies with the voltage of the ac signal.
alternatively, you can introduce "output impedance" to the ac source by putting a large resistor in serial with the capacitor. the higher the resistor, the smaller the error from this approach.
it is indeed more accurate but adds some complexity. a slight compromise is to use a current mirror to isolate the two and let the ac (current) run through one leg of the current mirror and charge up the cap on the other leg.I have used both of these approaches to perform such an integration. I do tend to prefer the first approach for the accuracy it can bring to the integration.
hgmjr
by Duane Benson
by Aaron Carman
by Jake Hertz