Sphere to Plane Contact Force : problem with an impact

6 visualizaciones (últimos 30 días)
I'm modelling a ball ,rolling on a plane, that hurts a wall . I modelled the contact between sphere and the wall with the block Sphere to Plane Contact Force , but i have a problem : the wall doesnt stop the ball, it passes through it and then it's thrown away because of some force .. do u know how can i find block parameters( such as Stiffness and Damping ) that would allow the wall to block the ball ? thanks

Respuesta aceptada

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 1 de Ag. de 2021
You should use in this case "ODE event location" opts while building your model.
See: https://www.mathworks.com/help/matlab/math/ode-event-location.html
  1 comentario
Alessandro Loiacono
Alessandro Loiacono el 2 de Ag. de 2021
Editada: Alessandro Loiacono el 2 de Ag. de 2021
Thanks for the answer , now i'm building up a parameter that indicates the distance between the ball and the wall' s frames( with a transform sensor and a ps-simulink converter, storing the variable to the workspace using also the simout block)so i can control it when it comes to 0 (no distance between wall and ball ---> collision). With a Ode as you suggest i hope to achieve it

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