![]() |
|
|
AGCfxp.vi applies an adaptive gain to a point-by-point signal. The goal is to condition a signal that unpredictibly changes power (fades, or sees some other form of interference) such that further processing is done on a relatively consistently powered signal. This VI can be used directly after reading from an analog input. Below is a graph of a white noise signal (white) that abruptly decreases in average power, and the outpus from the AGCfxp.vi (ouput is red, gain is green). Notice that the gain parameter adapts to return the output signal to the same average power as it was before the change in the input signal. To see more specifically how the inputs and outputs work, run AGCstudy.vi on your PC. This VI shows statistically what is happening, as well as how the ds and mu input parameters effect the behavior of the output signal. Also see the contect help of AGCfxp.vi for more information on the inputs and outputs.
Note: The input "mu" effectively averages the gain parameter, which introduces a tradeoff. Higher "mu" values will allow the gain parameter to adapt more quickly, but will loose some stability in the output (more outliers). Lower "mu" values will have more stable outputs, but will adapt the gain parameter slower.
There are no comments on this document