Measure phasor signal frequency
Simscape / Electrical / Specialized Power Systems / Sensors and Measurements
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.
Phase (rad) — Phase angle
Phase angle variation of the measured signal, in rad.
Freq (Hz) — Frequency
Frequency of the input signal, in Hz.
ΔPhi (rad) — Phase angle
Unwrapped phase angle without 2*pi discontinuities, in rad.
Nominal frequency (Hz) — Fundamental frequency
60 (default) | positive scalar
Nominal frequency of the input signal, in Hz.
Time constant T for derivative (s) — Filter time constant
0.1 (default) | scalar in the range [0.01,0.1]
The low-pass filter time constant, in seconds.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2018a