blockFilterFIR

Discrete finite impulse response low or high pass filter

Extends from Interfaces.PartialSISO_equality (Partial Single Input Single Output (continuous or discrete) control block of Controller library where usually y=u if continuous block).

Parameters

TypeNameDefaultDescription
Types.BlockTypeWithGlobalDefaultblockType (from PartialSISO_equality)Modelica_LinearSystems2.Controllers.Types.BlockTypeWithGlobalDefault.UseSampleClockOptionType of block
Booleancontinuous (from PartialSISO_equality)blockType == Types.BlockTypeWithGlobalDefault.Continuous or blockType == Types.BlockTypeWithGlobalDefault.UseSampleClockOption and sampleClock.blockType == Types.BlockType.ContinuousTrue, if continuous block, otherwise discrete block
Modelica_LinearSystems2.Controllers.Types.FIRspecspecTypeModelica_LinearSystems2.Controllers.Types.FIRspec.MeanValueSpecification type of FIR filter
Discrete block parameters
IntegersampleFactor (from PartialSISO_equality)1Sample factor for sample time (Ts = sampleFactor * sampleClock.sampleTime)
Mean value filter
IntegerL2Length of mean value filter
FIR filter design
Modelica_LinearSystems2.Utilities.Types.FilterTypefilterTypeModelica_LinearSystems2.Utilities.Types.FilterType.LowPassType of filter
Integerorder2Order of filter
Modelica.Units.SI.Frequencyf_cut1Cut-off frequency
Types.WindowwindowModelica_LinearSystems2.Controllers.Types.Window.RectangleType of window
Realbeta2.12Beta-Parameter for Kaiser-window
FIR filter defined by coefficient vector
Real[:]a{1, 1}FIR filter coefficients

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu (from PartialSISO_equality)Continuous or discrete input signal of block
Modelica.Blocks.Interfaces.RealOutputy (from PartialSISO_equality)Continuous or discrete output signal of block