Documentation Home Page ◇ RT-XSG Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Mean Square and Average Measurement 2 Channels
Block
Mask
Description
This block computes the average of a normalized input signal, along with the average of its square. The input signal must be within the range -1 to 1. This block shares FPGA resources to apply the computation to two input channels.
Parameters
This block has no parameter.
Inputs
Ain_0 | This port should be fed with the first input signal, on which the mean-square and average measurement will be applied. |
---|---|
Ain_1 | This port should be fed with the second input signal, on which the mean-square and average measurement will be applied. |
RMSAvgGain | This can be used to provide a gain to apply to both input signals to enhance their dynamic range/resolution to fill optimally the [-1, +1] range. |
Sync | This synchronization signal triggers the measurement of new values for the mean-square and average outputs. Seven clock cycles are necessary to output the new values. The new values arrival is notified by the 33rd bit of the outputs being active for a one-cycle pulse. |
Outputs
MeanSquare_Ch1_Ch0 | The output gives the average square value of both input signals. RMS value can be obtained by applying the square-root of these values. Bit assignations are the following:
|
---|---|
Average_Ch1_Ch0 | The output gives the average value of both input signals. Bit assignations are the following:
|
Characteristics and Limitations
This block has no special characteristics.
Direct Feedthrough | N/A |
---|---|
Discrete sample time | N/A |
XHP support | N/A |
Work offline | YES |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter