A causal block diagram representation of a spring mass damper system.

Joeri Exelmans 605bb3817b Update CBD diagram: added annotations to signals and added mass parameter 2 lat temu
damper 605bb3817b Update CBD diagram: added annotations to signals and added mass parameter 2 lat temu
docs e63ee068fe Upload files to 'docs' 2 lat temu
.editorconfig 05080826cc Fix editor config 2 lat temu
.gitignore 47902d3618 Create project 2 lat temu
.gitlab-ci.yml 47902d3618 Create project 2 lat temu
README.md 63887ae1ec Fix whitespace 2 lat temu
pyproject.toml 47902d3618 Create project 2 lat temu
requirements.txt b06bdf3f56 Create initial experiment stop condition 2 lat temu
tasks.py b06bdf3f56 Create initial experiment stop condition 2 lat temu

README.md

Spring Mass Damper

A causal block diagram representation of a spring mass damper system. Simulated using a causal block simulator.

The formula we follow to achieve this is: 0 = 100 - 2y' - 100y - y". Here, the friction coefficient is 0.02 Ns/m and the spring constant is 1 N/m with the block weighing in at 0.01 kg.

The simulated position (distance) of the spring is described by the following graph.

execution-trace

In the example we are interested in the spring constant k which results in almost zero oscillation (equilibrium) in the time frame of [5, 7] seconds after impulse release.