WOLFRAM SYSTEM MODELER

UpSample

Example of an UpSample block for Boolean signals

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample"]
Out[1]:=

Information

Elementary example for the documentation of block Modelica_Synchronous.BooleanSignals.Sampler.Utilities.UpSample.

Components (6)

periodicClock

Type: PeriodicExactClock

Description: Generates a periodic clock signal with a period defined by an Integer number with resolution

sample

Type: SampleClocked

Description: Sample the continuous-time, Boolean input signal and provide it as clocked output signal. The clock is provided as input signal

upSample1

Type: UpSample

Description: Upsample the clocked Boolean input signal and provide it as clocked output signal

upSample2

Type: UpSample

Description: Upsample the clocked Boolean input signal and provide it as clocked output signal

table1

Type: BooleanTable

Description: Generate a Boolean output signal based on a vector of time instants

and1

Type: And

Description: Logical 'and': y = u1 and u2