|
From: | Fabian Schwartau |
Subject: | Re: Phase difference measurement under noise (How-to?) |
Date: | Tue, 12 Oct 2021 15:58:07 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi,one thing came to my mind: Don't average the phase, average the complex value instead. If you have a lot of noise, the phase will jump around and will also wrap around 2*pi, which will "confuse" the averaging. After averaging the complex value, convert it to the phase and you are done.
Fabian Am 12.10.21 um 15:53 schrieb mehtap özkan:
Dear All,I try to measure the phase difference between a delayed signal and a reference one. I use the following blocks:Multiply conjugate block (Inputs are the delayed and reference signals) Complex to Arg Moving AverageThe flowgraph works good when there is no noise. However when I add noise the variations are pretty wild.These blocks constitute the basic structure of a PLL's phase comparator which should work under noisy Input conditions.What am I doing wrong?
[Prev in Thread] | Current Thread | [Next in Thread] |