modelFREQ_CALC

Frequency calculator

Information

This model of frequency calculator is based on a washout filter followed by a first order filter that is meant to smooth the washout output. The model can have as input the angle value of the phasor, the output will be an estimate of the frequency based on the angle variation.

Parameters

TypeNameDefaultDescription
Types.TimeT_wSmoothing filter time constant
Types.TimeT_fDerivative filter time constant
Types.Anglefi_0Initial angle

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputANGLE
Modelica.Blocks.Interfaces.RealOutputd_FREQ

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Sources.Constantconst1
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Continuous.Derivativederivative
Modelica.Blocks.Continuous.FirstOrderfirstOrder