Sampler - MapleSim Help

Home : Support : Online Help : MapleSim : MapleSim Component Library : Signal Blocks : Discrete : componentLibrary/signalBlocks/discrete/Sampler

Sampler

Ideal sampling of continuous signals

Description

The Sampler component samples the continuous input signal with a sampling rate defined by the parameter . The equation of this component is

 $y=\left\{\begin{array}{cc}u& \frac{t-{T}_{0}}{\mathrm{samplePeriod}}=0\\ 0& \mathrm{otherwise}\end{array}\right\$   The Signal Size parameter allows the block to operate on a vector of signals rather than a single signal.

Connections

 Name Description $u$ Continuous input signal connection $y$ Continuous output signal connection

Parameters

 Symbol Default Units Description Modelica ID Sample Period $0.1$ $s$ Sample period of the component samplePeriod ${T}_{0}$ $0$ $s$ First sample time instant startTime Signal Size $1$ - Dimension of input and output signals signalSize

 See Also The components described in this topic are from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.