RotationalSample

Simple example of a rotational clock with variable trigger interval and switching rotation-direction.

Diagram

Information

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:

RotationalSample_Result.png
.

Components (4)

angle_input

Type: Sine

trigger_interval_input

Type: Pulse

rotationalClock

Type: RotationalClock

sample_angle

Type: SampleClocked