Skip to content

Integrated RF Signal Processing: Directional Kalman Filtering with 3D Voxel Mapping and Streaming API


Benjamin J. Gilbert
College of the Mainland – Robotic Process Automation
bgilbert2@com.edu


Abstract

We present an integrated RF processing stack that combines directional Kalman filtering with 3D voxel density mapping, exposed through a FastAPI WebSocket for real-time visualization. The pipeline benchmarks smoothing accuracy and voxel peak sharpness on synthetic trajectories. All figures and tables are auto-generated from logs, ensuring full reproducibility.


I. Introduction

We unify a classic state estimator (Kalman filter) for RF target tracking with a volumetric occupancy representation of RF energy. The processor is implemented in code/rf_integrated_processor.py. Scripts synthesize noisy paths, call the processor, and automatically emit figures (Figs. 1–2) and summary tables (Table II).

This design aligns with Guangdong pragmatism: minimal but complete kit, reproducible from one command, and practical for visualization dashboards.


II. Method

A. State Estimation

We track motion states x=[x,y,z,x˙,y˙,z˙]⊤x = [x, y, z, \dot{x}, \dot{y}, \dot{z}]^\top

using a constant-velocity Kalman filter [1][2]. Measurements are noisy positions; the filter smooths and interpolates trajectories.

B. Voxel Mapping

Smoothed trajectories are binned into a 3D voxel grid (Nx,Ny,Nz)(N_x, N_y, N_z). Gaussian smoothing produces a spatial density field. The voxel peak intensity serves as a unitless proxy for localization confidence.

C. API Exposure

The stack is served via FastAPI + Uvicorn, exposing live voxel slices over WebSocket. Optional hooks to DOMA (motion predictor) and neural beamforming are stubbed for offline reproducibility.

D. Metrics

  • Average Displacement Error (ADE, m): mean trajectory error.
  • Final Displacement Error (FDE, m): error at last step.
  • Signal Quality (u.): normalized voxel peak [0–1].
  • Gain: ADEraw−ADEKF\text{ADE}_{raw} – \text{ADE}_{KF}, positive indicates filter improvement.

III. Results

Synthetic trajectories are perturbed with Gaussian noise and injected outliers. The Kalman smoother recovers stable paths, and voxel peaks concentrate around true positions.

TABLE I – Baseline Integrated Processor Performance

Signal Quality (u.)Grid SizeADE Raw (m)ADE KF (m)FDE Raw (m)FDE KF (m)Gain (m)
0.86424³1.6761.2771.574+0.399

Figures:

  • Fig. 1: Trajectory tracking (XY/XZ projections). Ground truth (black), noisy input (gray), KF-smoothed path (blue).
  • Fig. 2: 3D voxel density slice showing localized RF energy.

Ablations:

  • Figs. 3–4: Grid resolution and noise-level sweeps.
  • Tables III–IV: Quantitative tradeoffs between voxel sharpness and runtime.

IV. Reproducibility

conda env create -f env_integrated.yml
conda activate rf_integrated_env
make -f Makefile_integrated all

One command regenerates all figures, tables, and metrics, keeping the pipeline reviewer-safe.


V. Conclusion

The integrated processor delivers smooth trajectories and an interpretable voxel map, well-suited for live dashboards or downstream RF control.

Future extensions: plug in the DOMA predictor and a beamforming optimizer to close the loop, enabling adaptive RF sensing in dynamic environments.


References

[1] R. E. Kalman, “A new approach to linear filtering and prediction problems,” Journal of Basic Engineering, vol. 82, no. 1, pp. 35–45, 1960.
[2] Standard Kalman implementations in RF tracking pipelines.


⚙️ Guangdong framing: small codebase, real-time visualization, one-command reproducibility, and practical extension hooks. A kit designed for lab-to-field transfer with minimal friction.


Leave a Reply

Your email address will not be published. Required fields are marked *