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

Joeri Exelmans 10ff526217 Merge remote-tracking branch 'origin/master' il y a 2 ans
damper 605bb3817b Update CBD diagram: added annotations to signals and added mass parameter il y a 2 ans
docs 00708161b7 Add diagrams docs title il y a 2 ans
.editorconfig 05080826cc Fix editor config il y a 2 ans
.gitignore 4e0133a7ab Copy diagram files before building docs il y a 2 ans
.gitlab-ci.yml 15d435080f Bypass relative path error in ci il y a 2 ans
README.md 63887ae1ec Fix whitespace il y a 2 ans
pyproject.toml 47902d3618 Create project il y a 2 ans
requirements.txt 83a7d19be5 Update requirements il y a 2 ans
tasks.py 15d435080f Bypass relative path error in ci il y a 2 ans

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.