- If you can assume that the ball will not slip, you could connect the two using a Common Gear Constraint. Once the ball leaves the wheel, the system has failed (since the controller cannot recover), so this assumption is probably OK for the conditions you care about.
- If you want the ball to slip, you could use the Spatial Contact Force block, which will model the normal force and friction force bewteen the ball and the wheel. This would allow it to slip and fall off.
Is it possible to model a ball and wheel system using SimMechanics?
2 次查看(过去 30 天)
显示 更早的评论
I would like to model a Ball and Wheel system in order to allow my students to be able to design PID controllers to control such a system (control the wheel position/velocity in order for the ball to remain in the top of the wheel). In case the controller is not able to control the system correctly, then the ball should roll along the wheel until a position on which the ball will leave the wheel and fall to the ground.
My question is the following: is it possible to simulate this system using SimMechanics?
I have studied the SimMechanics documentation and I was considering modeling the wheel as a cylinder, the ball as a sphere and then define the contact among them as a SimMechanics “Point-Curve Constraint” block, on which the curve spline would represent the external surface of the wheel.
Can this be done? Is this the correct way simulating this type of contact among bodies?
Thanks for your help.
0 个评论
回答(1 个)
Steve Miller
2021-6-25
You can do this in Simscape Multibody in a couple of ways.
--Steve
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!