modelBlinkSpringMass

Blink example driven by position sensor of continuous-time spring-mass system
Diagram of BlinkSpringMass

Extends from Modelica.Icons.Example.

Information

BlinkSpringMass

BlinkSpringMass is a variant of the Blink example in which the toggling signal is generated by monitoring the position of the mass in a continuous-time spring-mass system.

Components

TypeNameDefaultDescription
Modelica_DeviceDrivers.EmbeddedTargets.STM32F4.Blocks.Microcontrollermcu
Blocks.Ledled
Blocks.SynchronizeRealtimesynchronizeRealtime
Modelica.Mechanics.Translational.Components.Fixedfixed
Modelica.Mechanics.Translational.Sensors.PositionSensorpositionSensor
Modelica.Mechanics.Translational.Components.Springspring
Modelica.Mechanics.Translational.Components.Massmass
Modelica.Blocks.Logical.GreaterThresholdgreaterThreshold