WOLFRAM

Mechanical Engineering

Use System Modeler to model and simulate dynamics problems including mechanisms and machinery with kinematic, dynamic, and thermal behaviors. Study and solve vibration problems.

Spring-Mass System: Calibrate Parameters

Understand the dynamics of a spring-mass system. This example uses a cellphone, attached vertically to a spring, to record accelerations. The experimental data is then used to calibrate the model parameters.

To run this example, you'll need

The latest versions of System Modeler and Mathematica.

Please make a selection:

Get a
free trial
Continue
with download

Get Measurements

Carry out an experiment where you suspend a cellphone vertically connected to a spring.

The phone starts from rest, with its initial position 30 mm below the equilibrium. When the phone is released, it oscillates a few times before coming to a standstill.

Create a Model

Create a model of the spring-mass system.

The model is created using components from the MultiBody library.

Calibrate Parameters

Use the SystemModelCalibrate function to calibrate model parameters.

The measurement data is passed to the SystemModelCalibrate function as a reference.

Automatically Calibrate Model Parameters

Automatically calibrate model parameters using measured data in Wolfram Language.