Calculate phase angle between sine waves?

Click For Summary
SUMMARY

To calculate the phase angle between two sine waves in a Matlab Simulink model, one can utilize the mathematical identity for the product of sine functions. Specifically, for sine waves of the same frequency, the formula sin(ft+a)sin(ft+b) simplifies to 0.5[sin(a-b)+sin(ft+(a+b)/2)]. By averaging this expression over one complete cycle, the second sine term cancels out, leaving 0.5sin(a-b), which allows for straightforward derivation of the phase difference.

PREREQUISITES
  • Understanding of sine wave properties and phase angles
  • Familiarity with Matlab Simulink environment
  • Basic knowledge of trigonometric identities
  • Concept of averaging functions over a cycle
NEXT STEPS
  • Research the implementation of trigonometric identities in Matlab
  • Learn about phase angle calculations in electrical circuits
  • Explore methods for calculating power factor in AC circuits
  • Study the use of Fourier analysis for waveforms
USEFUL FOR

Electrical engineers, control system designers, and anyone involved in analyzing AC circuits and waveforms will benefit from this discussion.

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

<br /> sin(ft+a)sin(ft+b)=0.5[sin(a-b)+sin(ft+(a+b)/2)]<br />
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
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
6K
  • · Replies 77 ·
3
Replies
77
Views
8K
Replies
8
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 39 ·
2
Replies
39
Views
3K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 46 ·
2
Replies
46
Views
5K
  • · Replies 20 ·
Replies
20
Views
3K