Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculate phase angle between sine waves?

  1. Feb 2, 2012 #1
    Hello,

    I am trying to work out how to determine the phase angle between two sine wave mathematically?

    I have setup a Matlab Simulink model and I would like to calculate the phase angle between my current and voltage (both at the same frequency) without using preprogrammed blocks, as i eventually want to calculate the power factor of the circuit.

    Is there a simple way to calculate the phase angle between two sinusodal waves?

    Thanks,
    Rob
     
  2. jcsd
  3. Feb 13, 2012 #2
    If the sines are of the same frequency, use their multiplication

    [tex]
    sin(ft+a)sin(ft+b)=0.5[sin(a-b)+sin(ft+(a+b)/2)]
    [/tex]
    Averaging over a complete cycle (1/f) will kill off the second sine, and will leave you with 0.5sin(a-b), which you can easilly derive the phase difference from
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook