How to initialize spring preload in SimScape?

3 visualizaciones (últimos 30 días)
Francois Dube
Francois Dube el 28 de Jul. de 2021
Comentada: Jun Yang el 3 de Nov. de 2022
I am trying to apply a preload to a simple spring.
The case is when a spring is mechanically installed between two snap rings thus has an initial deformation of x0. With a mass connected to the spring, the spring does not apply any force. When the mass overcomes the preloaded value (k*x0), the spring applies a force proportional to the spring rate + preload.
I have tried the deformation variable, but once the model is initialised, the mass accelerates since it is an initial deformation and not a preload. I've tried implementing a hard stop, but could not get the desired output.
  2 comentarios
Joe Cullen
Joe Cullen el 18 de Sept. de 2021
I am struggling with the same issue, and haven't found a soltuion I'm happy with. You can override the deformation value and select high priority and this seems to sort of work but sometimes it also causes my model to not initialize.
Jun Yang
Jun Yang el 3 de Nov. de 2022
I will try your idea, it seems brilliant!

Iniciar sesión para comentar.

Respuestas (1)

Andreas
Andreas el 4 de Jul. de 2022
Just add an ideal force source in parallel to the spring.

Categorías

Más información sobre Mechanical Models en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by