Re: Precision Phase angle measurement




"psdayama" <psdayama@xxxxxxxxx> wrote in message
news:1164731111.822736.279550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for message. I am measuring our power frequency that is 50Hz
+/- 2.5Hz.
It may be that I will need to measure at 60Hz.

50Hz is 20mS
If one cycle is 360 degrees = 20mS then 5 mins is around 4.6uS
5uS is around 10 ticks of a 2MHz clock so that should be ok.

So the problem is probably with the zero crossing detector.
See the post by DaveM and use a faster comparator.

If you still have a problem check that any voltage hysterisis in the
comparator isn't giving an error. This size of this error would depend on
the source voltage, noise and the comparator thresholds.




.



Relevant Pages

  • Re: Problem with simple VHDL piece of code
    ... to use an explicit reset of some kind. ... behind "counter" by one clock cycle. ... comparator is now trivial, and involves no arithmetic. ... A smart synthesizer might do a reachability analysis on the counter, ...
    (comp.lang.vhdl)
  • Re: Problem with simple VHDL piece of code
    ... I'm sure the input signals are correct... ... to use an explicit reset of some kind. ... behind "counter" by one clock cycle. ... comparator is now trivial, and involves no arithmetic. ...
    (comp.lang.vhdl)
  • Re: How to count pulses per second ?
    ... transistors, or a few transistors and a comparator, or a single chip ... second (so you need another clock) and something to say that it's got enough ... You'll have hysteresis, if you don't want your comparator oscillating, ...
    (sci.electronics.design)
  • High Load
    ... I have made a clock divider using a counter connected to master clock and a ... The comparator has a clock enable to avoid "gating-clock". ... failed to route using a CLK template. ... What could I do to solve this trouble? ...
    (comp.arch.fpga)
  • Re: TOD Clock the same as the BIOS clock in PCs?
    ... The text that you quoted above, because some hardware platforms do not ... contain a hardware clock that can be set to either. ... comparator compares the value in the TOD clock. ...
    (bit.listserv.ibm-main)