MATLAB Answers

Sphere to Plane Contact Force : problem with an impact

10 views (last 30 days)
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

Accepted Answer

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 1 Aug 2021
You should use in this case "ODE event location" opts while building your model.
  1 Comment
Alessandro Loiacono
Alessandro Loiacono on 2 Aug 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

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by