HowI can do phase detection of a sine wave in psoc cypress?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello Everyone,

   

I have two signals, signal_a and signal_b, coming into my PSoC chip.

   

Now, I want to compare their phase and adjust the signal_b phase accordingly.

   

Does anybody have an idea? or any example project?

   

Looking forward for your reply

   

Awais

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Sounds like a PLL. After comparator with a specific level (making a digital signal) just feed the 2 signals with an XOR followed by an external low pass filter (simple R-C).

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Sounds like a PLL. After comparator with a specific level (making a digital signal) just feed the 2 signals with an XOR followed by an external low pass filter (simple R-C).

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Yea, you are right,

   

I was also thinking the same way but without a low pass. But I think it's better to put a low pass.

0 Likes