veerubiji
Full Member level 2
I two sinewave signals with same frequency. I want to measure phase shift between two signals. There will be a small phase difference between two signals. I am using ATmega32-A micro controller and external ADC AD7798 to read the voltage of both signal. I am able to read both signal voltages using SPI communication. How to find Phase difference between two sine signals. I am using CodeVisionAVR compiler.
I know that phase shift between two signals can be find out using the fallowing formula.
I know only amplitude(Am) and w =2*pi*f. But How to calculate phase difference between two sinewave signals with knowing amplitude and frequency. Any suggestions please.
I know that phase shift between two signals can be find out using the fallowing formula.
Code:
A(t)= Am sin(Wt+/-theta).