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.

Frequency Measurement

Block

Block

Mask

Mask

Description

This block measure the duration of one period of a periodic signal. The input signal can be provided using any fixed-point numerical format.

Parameters

This block has no parameter.

Inputs

SignalShould be fed with the input signal, on which the frequency measurement is to be applied.
RMSShould be connected to the input signal RMS value. It is used to position the trigger for the frequency measurement.
AverageShould be connected to the input signal average value. It is used to position the trigger for the frequency measurement.

Outputs

PeriodThe period of the input periodic signal expressed in the number of 10-ns clock cycles.

Characteristics and Limitations

This block calculates the period of most periodic signals. To compute the frequency, it measures the number of clock cycles between two consecutive threshold crossing, after a hysteresis loop.

Periodic signals with many local extrema, such as the hysteresis loop cycles more than once in a period, may mot give correct period values. Good input waveforms include sinusoidal, square, triangular and saw-toothed waveforms. A modulated sine wave is not an appropriate waveform.

The tresholds of the hysteresis loop corresponds to (s(t) - Average > RMS - Average) and (s(t) - Average < -(RMS - Average)).

Direct FeedthroughN/A
Discrete sample timeN/A
XHP supportN/A
Work offlineYES

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323