Calculate phase angle between sine waves?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 15K views
rjsalmon
Messages
3
Reaction score
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
 
Engineering news on Phys.org
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