How can I use 4 parallel springs in Simmechanics 2nd Generation?

2 views (last 30 days)
HI, I want to connect two plane bodys via 4 parallel springs. As spring I use e.g. the Bearing Joint. How can I avoid the error:
  • ['Feder3']: Following errors were found in the model Feder3.
  • Caused by:
  • ['Feder3']: Targets are specified for every joint around a kinematic loop:Subsystem.Bearing_JointSubsystem1.Bearing_JointTargets for Bearing Joint Subsystem1.Bearing_Joint are ignored. You can configure this diagnostic in the SimMechanics 2G Configuration Parameters dialog.
  • ['Feder3']: * Model not assembled: position violation * Resolve this issue in order to simulate the model.For now, I disabled this error via Model Configuration Parameters. I hope you understand my question. I can't find any solutions.

Answers (1)

Sebastian Castro
Sebastian Castro on 28 May 2014
The issue here seems to be that you have 4 Bearing Joint blocks connected in parallel, and they all seem to have conflicting initial conditions prescribed in the "State Targets" section of the joint block. In other words, the initial conditions are overspecified and SimMechanics seems to be ignoring some of them. You can view what the actual initial conditions are by going to the Model Report.
Even in that situation, the model seems to have trouble assembling . You might want to check if modeling 4 separate joints is the correct approach for your system (I couldn't tell you since I don't know enough about your model).
You may be able to use 1 Joint block (maybe a 6-DOF or Planar, for example) to define the general motion between the 2 planes. Then, you can use 4 Spring and Damper Force blocks to apply equal and opposite forces at 4 different points on the plane.

Community Treasure Hunt

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

Start Hunting!