From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/DSP/html/group__SignalConvergence.html | 163 ++++++++++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 docs/DSP/html/group__SignalConvergence.html (limited to 'docs/DSP/html/group__SignalConvergence.html') diff --git a/docs/DSP/html/group__SignalConvergence.html b/docs/DSP/html/group__SignalConvergence.html new file mode 100644 index 0000000..656f882 --- /dev/null +++ b/docs/DSP/html/group__SignalConvergence.html @@ -0,0 +1,163 @@ + + + + + +Signal Convergence Example +CMSIS-DSP: Signal Convergence Example + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.5.2 +
+
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