From 76177aa280494bb36d7a0bcbda1078d4db717020 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Mon, 9 Dec 2019 11:25:19 +0100 Subject: Official ARM version: v4.5 --- .../DSP/html/group___signal_convergence.html | 163 +++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 Documentation/DSP/html/group___signal_convergence.html (limited to 'Documentation/DSP/html/group___signal_convergence.html') diff --git a/Documentation/DSP/html/group___signal_convergence.html b/Documentation/DSP/html/group___signal_convergence.html new file mode 100644 index 0000000..5efb226 --- /dev/null +++ b/Documentation/DSP/html/group___signal_convergence.html @@ -0,0 +1,163 @@ + + + + + +Signal Convergence Example +CMSIS-DSP: Signal Convergence Example + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.4.7 +
+
CMSIS DSP Software Library
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Signal Convergence Example
+
+
+
Description:
+
Demonstrates the ability of an adaptive filter to "learn" the transfer function of a FIR lowpass filter using the Normalized LMS Filter, Finite Impulse Response (FIR) Filter, and Basic Math Functions.
+
Algorithm:
+
The figure below illustrates the signal flow in this example. Uniformly distributed white noise is passed through an FIR lowpass filter. The output of the FIR filter serves as the reference input of the adaptive filter (normalized LMS filter). The white noise is input to the adaptive filter. The adaptive filter learns the transfer function of the FIR filter. The filter outputs two signals: (1) the output of the internal adaptive FIR filter, and (2) the error signal which is the difference between the adaptive filter and the reference output of the FIR filter. Over time as the adaptive filter learns the transfer function of the FIR filter, the first output approaches the reference output of the FIR filter, and the error signal approaches zero.
+
The adaptive filter converges properly even if the input signal has a large dynamic range (i.e., varies from small to large values). The coefficients of the adaptive filter are initially zero, and then converge over 1536 samples. The internal function test_signal_converge() implements the stopping condition. The function checks if all of the values of the error signal have a magnitude below a threshold DELTA.
+
Block Diagram:
+
+SignalFlow.gif +
+
+
Variables Description:
+
    +
  • testInput_f32 points to the input data
  • +
  • firStateF32 points to FIR state buffer
  • +
  • lmsStateF32 points to Normalised Least mean square FIR filter state buffer
  • +
  • FIRCoeff_f32 points to coefficient buffer
  • +
  • lmsNormCoeff_f32 points to Normalised Least mean square FIR filter coefficient buffer
  • +
  • wire1, wir2, wire3 temporary buffers
  • +
  • errOutput, err_signal temporary error buffers
  • +
+
+
CMSIS DSP Software Library Functions Used:
+
+
+

Refer arm_signal_converge_example_f32.c

+
+
+ + + + -- cgit