WOLFRAM SYSTEM MODELER
RotationalSampleSimple example of a rotational clock with variable trigger interval and switching rotation-direction. |
SystemModel["Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Simple example of a rotational clock with variable trigger interval and switching direction of rotation. The input rotation is just sinusoidal, switching direction every half second. The trigger interval is changed with the same pace; every half second it is doubled or halved respectively. The generated clocked signals are therefore:
.angle_input |
Type: Sine Description: Generate sine signal |
|
---|---|---|
trigger_interval_input |
Type: Pulse Description: Generate pulse signal of type Real |
|
rotationalClock |
Type: RotationalClock Description: Event clock generating a clock tick each time an observed input angle changed for a rotational-interval given as variable input |
|
sample_angle |
Type: SampleClocked Description: Sample the continuous-time, Real input signal and provide it as clocked output signal. The clock is provided as input signal |