1
$\begingroup$

I am sampling a sine wave of 50Hz(stepped down from 230V) at the rate of 500KHz. For identifying disturbances in the wave, i was thinking of comparing a cycle of incoming sine values with reference sine values(pure sine wave). But will the method be accurate? one of my friends told that there will be loss of synchronization and so number of samples in one cycle wont be the same every time we measure and comparison will give wrong answer. If so, could anyone suggest some method for doing the same? Also,how to detect the zero crossing point without using any hardware?

$\endgroup$
8
  • 1
    $\begingroup$ What about a frequency domain analysis ? If your signal is disturbed (=has parasitic components) the spectrum will show several frequency components other than 50 Hz. To find the zeros, it can be done with any numerical computation software (like matlab) $\endgroup$
    – MaximGi
    Feb 29, 2016 at 12:22
  • 1
    $\begingroup$ Your concern on the accurate phase-match of an ideal (mathematically generated) sine wave with an incoming real (physically generated) sine wave is quite correct and MaximGi already offerred an achievable solution to ease your more main concern of detecting distortions on it. Then be also aware that there are methods to lock those two sines as used in many communications equipment where an accurate enough phase-lock is necessary to demodulate the incoming message. So your otherwise solution could look into a digital pll implementation. But that name is already horrifying. $\endgroup$
    – Fat32
    Feb 29, 2016 at 14:13
  • $\begingroup$ i guess i will have to go with the digital pll then. Could you kindly detail on how it works and the problems (if any)associated with using it. And also where i can find example codes for it. $\endgroup$
    – vvv
    Mar 1, 2016 at 5:04
  • $\begingroup$ @Fat32 could you please tell me about the digital pll $\endgroup$
    – vvv
    Mar 3, 2016 at 9:20
  • $\begingroup$ @vvv I'm afraid it is quite detailed to discuss the design of a PLL. One book I can refer is: "Phase Locked Loops: Design Simulation and Applications_BEST_MCGRAW" also the book "Phase Lock basics_EGAN_WILEY" would provide complicated details... $\endgroup$
    – Fat32
    Mar 3, 2016 at 10:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.