Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Calculate Phaseshift on DSP ?

Status
Not open for further replies.

minoss

Junior Member level 1
Junior Member level 1
Joined
May 15, 2003
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
germany
Visit site
Activity points
147
Hello to all

Is it possible to calculate the Phase Shift between 2 sine waves with different amplitudes on a DSP ??

Greetings Michael
 

Hi minoss

There are several possibilities:
1.) Look for zero-crossing on both channels. Measure the frequency (time from zero-cross to zero-cross multiplied by 2) of one channel. Measure the difference between the zero-crosses (identical edge) of both channels. So you can calculate the phase shift.

2.) Transform the input-signal to a logical signal (only '1' and '0') XOR both channels and do a lowpass-filtering. The output-voltage is proportional to the phase (works only from 0° .. 180°)

Bye
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top