Online SPM in FxLMS Testbed
- The paper demonstrates online secondary path modeling integrated with FxLMS to adaptively estimate S(z) without noise injection, ensuring stability amidst rapid environmental changes.
- It employs concurrent NLMS adaptation, mode-switching, and meta-learning strategies to reduce recovery time and improve estimation accuracy.
- Performance evaluations in real-time testbeds highlight significant gains in noise reduction, convergence speed, and computational efficiency.
Online secondary path modeling in the FxLMS testbed targets the concurrent identification of the secondary acoustic path within adaptive feedforward active noise control (ANC) systems utilizing the filtered-x least mean square (FxLMS) algorithm. Accurate, real-time modeling of the secondary path is critical, as is necessary to generate the filtered reference for the control filter adaptation. Modern methodologies enable this identification without destabilizing auxiliary noise injection, support time-varying scenarios, and are evaluated on rigorous testbeds under rapid environmental changes (Hu et al., 2018, Ji et al., 2023, Yang et al., 20 Jan 2026).
1. Problem Definition and Challenges
The key challenge in online secondary path modeling is to estimate the impulse response vector of adaptively and concurrently with controller operation, using only the usual reference and error signals, and—ideally—without explicit test noise injection. The secondary path estimate must adapt alongside the control filter while maintaining stability and high noise reduction. Environmental changes (e.g., movement of error microphone or loudspeaker, structural shifts) can cause to change abruptly, requiring rapid re-identification. Traditional identification approaches degrade ANC performance by requiring additive test noise; modern solutions circumvent this while preserving or enhancing stability and computational efficiency (Hu et al., 2018, Ji et al., 2023, Yang et al., 20 Jan 2026).
2. Mathematical Formalism
Let be the control filter of length and the secondary path estimate of length . The controller output is , with . The true filtered reference is . The adaptation dynamics center on the joint autocorrelation matrix
with in block form:
where typical definitions hold.
The identifiability of depends on the rank of . For static , is full rank if and only if (primary path length). When , is a linear combination of past , causing rank deficiency, hence non-unique solutions. However, when is time-varying, as in standard adaptive ANC, the continual update of decorrelates and over time, ensuring that is full rank on average and remains identifiable even if (Hu et al., 2018).
In the modified FxLMS paradigm, key update equations are:
- Controller update: , with
- Secondary path model: or, in computation-efficient LMS updating: , where is the inner error quantifying SPM mismatch (Ji et al., 2023).
3. Algorithmic Strategies and Testbed Realizations
Recent developments converge on algorithmic architectures that avoid explicit additive noise for identification, and/or implement mode-switching strategies to rapidly adapt after path changes. Three prominent methodologies are deployed in testbeds:
Method 1: Concurrent Adaptation Without Noise Injection
- ANC and secondary path estimates are jointly adapted using normalized LMS (NLMS) or recursive least squares (RLS), taking advantage of the time-variation in to ensure identifiability (Hu et al., 2018).
- Initialization: is a short impulse, .
- Step sizes and filter lengths are empirically chosen (e.g., , , , ).
- Monitoring: Real-time error power , tracking of .
Method 2: Computation-Efficient Mode-Switching SPM
- System alternates between adaptive ANC (Mode 1) and SPM (Mode 2).
- Divergence detector triggers SPM mode when reference-to-error power ratio drops below threshold; SPM mode is exited when model error slope stagnates (Ji et al., 2023).
- The SPM update cost per sample is multiplies (50% reduction compared to classical dual-filter approaches).
- Efficacy: After a secondary path change, converges in  s with steady-state ERLE  dB; zero ANC gap on switching. See Table 1.
| Method | Steady-State ERLE (dB) | SP Remodel Time (s) | ANC Gap (s) |
|---|---|---|---|
| Proposed | 41.8 ± 0.5 | 1.8 ± 0.2 | 0 |
| 5-stage (Pradhan) | 41.3 ± 0.7 | 2.0 ± 0.3 | 0.5 ± 0.1 |
| Akhtar VSS-LMS | 35.2 ± 1.1 | 1.2 ± 0.1 | 0 |
Method 3: Meta-Learned Co-Initialization
- Control filter and secondary path model are co-initialized via model-agnostic meta-learning (MAML) trained over a small set of measured paths (Yang et al., 20 Jan 2026).
- On detection of abrupt path/environment changes, parameters are reset to their learned initial values for rapid recovery.
- This yields lower early-stage MSE (by 5 dB), 30% faster time-to-target, ~20% less auxiliary-noise energy, and  s recovery time after path switch versus  s baseline.
4. Practical Implementation in ANC Testbeds
A typical ANC–FxLMS–OSPM testbed comprises:
- Microphone(s) (error/reference), control loudspeaker, ADCs/DACs, real-time DSP or low-latency real-time PC/FPGA.
- Sampling rates range from 1–48 kHz, with 13–16 kHz common for testbeds (Hu et al., 2018, Ji et al., 2023, Yang et al., 20 Jan 2026).
- Filter lengths: often 48–512 taps, selected based on measured path duration/spectral content.
- Software: MATLAB simulation, dSPACE/Simulink, or custom embedded code.
- Monitoring: Error power, impulse response convergence, real-time visualization of secondary path estimate.
Meta-learning-based initialization employs RWTH Aachen PANDAR database (for in-ear headphones) to meta-train initializations over diverse secondary path scenarios, optimizing for rapid adaptation (Yang et al., 20 Jan 2026).
5. Performance Evaluation and Representative Results
Testbed results consistently demonstrate that online secondary path modeling without noise injection outperforms additive-noise baselines. For instance (Hu et al., 2018):
- No-noise NLMS reaches $0.06$ RMSE on in  s with $17$ dB ANC attenuation, outperforming additive-noise NLMS (RMSE $0.15$, $16$ dB attenuation).
- Adaptive methods with time-varying can eliminate the traditional filter length restriction.
Mode-switching and meta-learned initializations reduce recovery time and error power:
- Mode-switching SPM achieves zero ANC downtime during secondary path reidentification (Ji et al., 2023).
- MAML-initialized FxLMS recovers target error rates faster using less auxiliary identification energy (Yang et al., 20 Jan 2026).
Figures in (Hu et al., 2018) and (Ji et al., 2023) further illustrate convergence curves, learning curves under path switching, and the evolution of error power.
6. Current Trends and Research Directions
Recent focus centers on improving early-stage adaptation and recovery speed after abrupt environmental changes, eliminating additive noise without degrading accuracy, and minimizing computational resources. Meta-learning approaches suggest that transfer of initialization knowledge across environments meaningfully reduces startup and adaptation times. Mode-switching control with computationally efficient SPM is now favored for practical, low-latency ANC devices (Ji et al., 2023, Yang et al., 20 Jan 2026). Investigations into the impact of secondary-path dispersion for meta-learned initializations indicate that task diversity in training promotes robust generalization in unseen acoustic scenarios (Yang et al., 20 Jan 2026).
A plausible implication is that future systems will increasingly integrate meta-learned priors and principled divergence detection, dynamically balancing ANC performance and online system identification in highly nonstationary environments.
7. Summary Table: Comparison of Approaches
| Approach | Noise Injection | ID Trigger/Mode Switch | Recovery/Adaptation |
|---|---|---|---|
| Classical Additive-Noise | Yes | N/A | Slower, steady plateau |
| Simultaneous NLMS (No Noise) | No | N/A | Rapid, optimal RMSE |
| Mode-Switching SPM | No | Reference-error ratio, slope | 1.8 s, zero ANC gap |
| MAML Co-Initialization | Optional | Error-jump detector | ~2 s, low startup MSE |
All methods above have been implemented in real-time testbeds and validated under both synthetic and measured environmental changes, confirming their applicability to embedded and consumer ANC deployments (Hu et al., 2018, Ji et al., 2023, Yang et al., 20 Jan 2026).