What are the differences between "Spatial Contact Force" block in Simulink/Simscape Multibody Library and "Simscape Multibody Contact Forces Library", if any?

5 visualizaciones (últimos 30 días)
Hello,
Is there any difference between "spatial contact force block" in Simulink/Simscape Multibody Library and "Simscape Multibody Contact Forces Library"?
As far as I see, both of them works in the same manner however Spatial Contact Force block is a plug-and-play block whereas Simscape Multibody Contact Forces Library requires to determine the possible contact types in advance and requires to use related contact-type blocks accordingly.
Are there any advantages or disadvantages of one over the other?
Let me kindly mention you please @Steve Miller.
Thanks in advance.
Best regards,
Hakan

Respuesta aceptada

Steve Miller
Steve Miller el 25 de Mzo. de 2021
Both are intended to help users model contact forces in Simscape Multibody models. If the Spatial Contact Force meets your needs, I highly recommend you use that block.
The Simscape Multibody Contact Forces Library was created long before the Spatial Contact Force block was added to Simscape Multibody. We created that library to examine use cases and prioritize features for the Spatial Contact Force block. We are maintaining that library on the File Exchange because it is an example of how you could create your own custom contact force law and custom friction law. If you are stuck in a release prior to when the feature you need was added to the Spatial Contact Force block, you could use that library.
Users of the Simscape Multibody Contact Forces Library should be able to (relatively) easy upgrade their models to the Spatial Contact Force block. There are a few contact types that are not (yet) direcly supported by the Spatial Contact Force block (inner surfaces of cylinders, cones, and spheres) but there are new options being added reach release so keep checking.
--Steve
  3 comentarios
Steve Miller
Steve Miller el 25 de Mzo. de 2021
This looks good to me! Depending on the degrees of freedom involved (if the peg, for example, cannot rotate), you might even be able to get away with just Joint Limits along some degrees of freedom. The option you have chosen is the most general and should work fine.
Hakan Ertugrul
Hakan Ertugrul el 25 de Mzo. de 2021
Perfect. Thanks for your encouragement :-)
I will start with no rotation degree of freedom to be simple as you mentioned but I plan to generalize with 6-DOF.
I think I should actuate the peg with force, leave the automatic calculation for motion, otherwise peg can penetrate the solids of holes, right?
I also plan to measure force/torque values at the tip during contact. Can I do it with 6-DOF Joint or Bushing Joint because there is obviously no force/torque measurement sensor like "Transform Sensor"? Or do you have any suggestion for measuring the reaction force/torques in vectoral form?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simscape Multibody 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