How to initialize spring preload in SimScape?
16 views (last 30 days)
Show older comments
Francois Dube on 28 Jul 2021
Commented: Jun Yang on 3 Nov 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.
Andreas on 4 Jul 2022
Just add an ideal force source in parallel to the spring.
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!