mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-02-26 17:34:15 +01:00
Implements CDS to reduce noise by taking multiple measurements at different source PLL phase offsets and combining with cosine weighting. Firmware changes (VNA.cpp, Protocol.hpp): - Add cdsPhases field to SweepSettings (0=disabled, 2-7=phase count) - Configure N internal sweep points per user point with phase offsets - Accumulate weighted samples: result = Σ(sample[k] × cos(2π×k/N)) - Per-stage accumulators for multi-stage measurements PC application changes: - Add "CDS" checkbox to VNA acquisition toolbar - When enabled, sets cdsPhases=2 for 180° differential measurement - Tooltip explains the feature With 180° CDS (2 samples): - Sample at 0°: weight = cos(0°) = 1 - Sample at 180°: weight = cos(180°) = -1 - Combined result = Sample₀ - Sample₁₈₀ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Communication | ||
| Drivers | ||
| App.cpp | ||
| App.h | ||
| Cal.cpp | ||
| Cal.hpp | ||
| Firmware.cpp | ||
| Firmware.hpp | ||
| Generator.cpp | ||
| Generator.hpp | ||
| Hardware.cpp | ||
| Hardware.hpp | ||
| HW_HAL.cpp | ||
| HW_HAL.hpp | ||
| Led.cpp | ||
| Led.hpp | ||
| Manual.cpp | ||
| Manual.hpp | ||
| SpectrumAnalyzer.cpp | ||
| SpectrumAnalyzer.hpp | ||
| Trigger.cpp | ||
| Trigger.hpp | ||
| Util.cpp | ||
| Util.hpp | ||
| VNA.cpp | ||
| VNA.hpp | ||