필터 지우기
필터 지우기

ball falling down in simscape model

조회 수: 7 (최근 30일)
Michal Bogacki
Michal Bogacki 2023년 1월 6일
답변: Nehemiae 2023년 3월 8일
Hello, i have to model ball on beam in simscape, but i dont why ball is falling down. How can i fix that?

답변 (1개)

Nehemiae
Nehemiae 2023년 3월 8일
Hello,
To simulate the ball resting on the lever, the Spatial Contact Force block is required, which allows the geometries of both the beam and the ball to interact. Otherwise, the ball will fall through due to the set gravity. To get the geometries of both the solids, it is required to export the entire geometry in the block properties, that gives the port G. Also, the ball is configured with 6-DOF Joint so that it can move in any direction. With just the R1 transformation, the ball rests exactly in the middle of the beam and does not fall off. Uncommenting the R2 transformation, displaces the ball to the right slightly such that it falls off the beam.
The documentation on modelling contact forces (https://www.mathworks.com/help/sm/ug/modeling-contact-force-between-two-solids.html) and on the Spatial Contact Force block (https://www.mathworks.com/help/sm/ref/spatialcontactforce.html) can help in understanding the above model.

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by