Main Content

Frequency (Phasor)

(To be removed) Measure phasor signal frequency

The Specialized Power Systems library will be removed in R2026a. Use the Simscape™ Electrical™ blocks and functions instead. For more information on updating your models, see Upgrade Specialized Power System Models to use Simscape Electrical Blocks.

  • Frequency (Phasor) block

Libraries:
Simscape / Electrical / Specialized Power Systems / Sensors and Measurements

Description

The Frequency (Phasor) block measures the frequency of a phasor voltage or current by calculating the derivative of the phase angle variation of the signal, with respect to a synchronous phasor rotating at the specified nominal frequency. A low-pass filter is filtering out the high frequency components of the computed frequency. The unwrapped phase angle is computed and provided at the ΔPhi output.

This diagram shows an example of the Frequency (phasor) block measuring the frequency of a three-phase voltage phasor.

Use this block to measure the frequency of a phasor signal in a power system.

Ports

Input

expand all

Phase angle variation of the measured signal, in rad.

Data Types: single | double

Output

expand all

Frequency of the input signal, in Hz.

Data Types: single | double

Unwrapped phase angle without 2*pi discontinuities, in rad.

Data Types: single | double

Parameters

expand all

Nominal frequency of the input signal, in Hz.

The low-pass filter time constant, in seconds.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2018a