WOLFRAM SYSTEM MODELER

Interpolator

Super-sample the clocked Real input signal and provide it linearly interpolated and optionally filterd as clocked output signal

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.WorkInProgress.Interpolator"]
Out[1]:=

Parameters (3)

inferFactor

Value: true

Type: Boolean

Description: = true, if super-sampling factor is inferred

factor

Value: 1

Type: Integer

Description: Super-sampling factor >= 1 (if inferFactor=false)

movingAverageFilter

Value: true

Type: Boolean

Description: = true, linearly interpolated signal is filtered by moving average filter (current restriction: inferFactor and movingAverageFilter cannot be both true)

Connectors (3)

u

Type: RealInput

Description: Connector of clocked, Real input signal

y

Type: RealOutput

Description: Connector of clocked, Real output signal (clock of y is faster als clock of u)

y_aux

Type: RealOutput

Description: Dummy port, if no filtering desired

Components (2)

superSampleIpo

Type: SuperSampleInterpolated

Description: Super-sample the clocked Real input signal and provide it linearly interpolated as clocked output signal (this is also called an Interpolator)

movingAverage

Type: MovingAverage

Description: Moving average filter (= FIR filter with coefficients a = fill(1/n,n), but implemented recursively)

Used in Examples (1)

TestInterpolator

Modelica_Synchronous.WorkInProgress.Tests