Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phase waveform instability (AEGHB-733) #44

Closed
zhy102 opened this issue Mar 22, 2022 · 6 comments
Closed

phase waveform instability (AEGHB-733) #44

zhy102 opened this issue Mar 22, 2022 · 6 comments

Comments

@zhy102
Copy link

zhy102 commented Mar 22, 2022

Hi, I managed to get the CSI matrix of 256 bytes and then I plotted the amplitude and phase of these 128 subcarriers.
However, the amplitude waveform is working well, but the phase waveform feels strange: even the phase waveform of the CSI acquired by the unmanned environment has a large variation in amplitude.
Here is my matlab code to extract the phase information: phase=unwrap(angle(CSI_complex));
Can you tell me the reason for the phase instability?

@gxhen
Copy link

gxhen commented Mar 22, 2022

signal phase is prone to be affected by phase noise and the wireless channel. It is reasonable to have unstable phases in the collected CSI.

@zhy102
Copy link
Author

zhy102 commented Mar 22, 2022 via email

@gxhen
Copy link

gxhen commented Mar 22, 2022

yes, the amplitude is much more stable than the phase. The phase is also affected by the residual carrier frequency offset (CFO), which makes it a function of time. In my mind, you should first do some signal processing before using the phase information.

@zhanzhaocheng
Copy link
Collaborator

Hello, @zhy102

Closing this issue, feel free to reopen with more updates. Thanks.

@ThETyMaNp
Copy link

ThETyMaNp commented Jul 9, 2024

Hello,

I've encountered a similar issue: I anticipated stable CSI amplitude in a static environment for activity detection. However, I've noticed significant fluctuations, including:

(1)A noticeable mutation in the ESP32's received CSI amplitude, which doesn't follow a Gaussian distribution, as seen in Figures 1 and 2.
fig1
fig2
(2)Variations in the signal's overall amplitude over time, even without people present, as shown in Figure 3.
fig3

I used one esp32 as AP and another as STA, with the example "get-started".
I'm uncertain if this is due to AGC effects or underestimating environmental changes.

Your assistance is greatly appreciated.
Thank you.

@github-actions github-actions bot changed the title phase waveform instability phase waveform instability (AEGHB-733) Jul 9, 2024
@MacChu0315-Espressif
Copy link

  1. Due to the characteristics of electromagnetic waves, the perception range may be larger than you anticipated, and a shielding box would be a more ideal testing environment.
  2. Regarding your doubts about AGC, Call for hep about automatic gain control (AGC) (AEGHB-719) #185 might be helpful to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants